From 2e686bfd06fe134aca3f4af3ac3fed10175219f0 Mon Sep 17 00:00:00 2001 From: 3w36zj6 <3w36zj6@users.noreply.github.com> Date: Fri, 1 Mar 2024 02:13:47 +0900 Subject: [PATCH] deploy: fd13779aa2ef26c6b33e55a3da69c39760b497c4 --- bundle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle.js b/bundle.js index da33e72..adc2a8c 100644 --- a/bundle.js +++ b/bundle.js @@ -467,4 +467,4 @@ void main (void) { gl_FragColor = color; } -`},9694:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return n}});var n=class t{constructor(t,e){this.postFXPipeline=t,this.shader=e}getAnotherFrame(t){var e=this.postFXPipeline,i=e.fullFrame1,n=e.fullFrame2;return t===i?n:i}init(t,e){var i=this.postFXPipeline;return void 0===e&&(e=i.fullFrame1),i.copyFrame(t,e),e}draw(t,e){}}},8023:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return r}});var n=function(t){return null==t||""===t||0===t.length},s=function(t,e,i){var s=t;if(n(e));else{"string"==typeof e&&(e=e.split("."));for(var r,o,a=0,h=e.length;a=0;r--){var o=s[r];o instanceof e&&(o.destroy(),n(s,r))}}else{for(var s=t.postPipelines,r=0,a=s.length;r1)for(var i=1;i4294967295||h(e)!==e)throw new a("`length` must be a positive 32-bit integer");var i=arguments.length>2&&!!arguments[2],n=!0,l=!0;if("length"in t&&o){var u=o(t,"length");u&&!u.configurable&&(n=!1),u&&!u.writable&&(l=!1)}return(n||l||!i)&&(r?s(t,"length",e,!0,!0):s(t,"length",e)),t}},384:function(t,e,i){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},5955:function(t,e,i){"use strict";var n=i("2584"),s=i("8662"),r=i("6430"),o=i("5692");function a(t){return t.call.bind(t)}var h="undefined"!=typeof BigInt,l="undefined"!=typeof Symbol,u=a(Object.prototype.toString),c=a(Number.prototype.valueOf),d=a(String.prototype.valueOf),f=a(Boolean.prototype.valueOf);if(h)var p=a(BigInt.prototype.valueOf);if(l)var g=a(Symbol.prototype.valueOf);function v(t,e){if("object"!=typeof t)return!1;try{return e(t),!0}catch(t){return!1}}e.isArgumentsObject=n,e.isGeneratorFunction=s,e.isTypedArray=o;e.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch};e.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):o(t)||E(t)};e.isUint8Array=function(t){return"Uint8Array"===r(t)};e.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===r(t)};e.isUint16Array=function(t){return"Uint16Array"===r(t)};e.isUint32Array=function(t){return"Uint32Array"===r(t)};e.isInt8Array=function(t){return"Int8Array"===r(t)};e.isInt16Array=function(t){return"Int16Array"===r(t)};e.isInt32Array=function(t){return"Int32Array"===r(t)};e.isFloat32Array=function(t){return"Float32Array"===r(t)};e.isFloat64Array=function(t){return"Float64Array"===r(t)};e.isBigInt64Array=function(t){return"BigInt64Array"===r(t)};function m(t){return"[object Map]"===u(t)}e.isBigUint64Array=function(t){return"BigUint64Array"===r(t)},m.working="undefined"!=typeof Map&&m(new Map);function y(t){return"[object Set]"===u(t)}e.isMap=function(t){return"undefined"!=typeof Map&&(m.working?m(t):t instanceof Map)},y.working="undefined"!=typeof Set&&y(new Set);function x(t){return"[object WeakMap]"===u(t)}e.isSet=function(t){return"undefined"!=typeof Set&&(y.working?y(t):t instanceof Set)},x.working="undefined"!=typeof WeakMap&&x(new WeakMap);function b(t){return"[object WeakSet]"===u(t)}e.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(x.working?x(t):t instanceof WeakMap)},b.working="undefined"!=typeof WeakSet&&b(new WeakSet);function w(t){return"[object ArrayBuffer]"===u(t)}function T(t){return"undefined"!=typeof ArrayBuffer&&(w.working?w(t):t instanceof ArrayBuffer)}function S(t){return"[object DataView]"===u(t)}function E(t){return"undefined"!=typeof DataView&&(S.working?S(t):t instanceof DataView)}e.isWeakSet=function(t){return b(t)},w.working="undefined"!=typeof ArrayBuffer&&w(new ArrayBuffer),e.isArrayBuffer=T,S.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&S(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=E;var A="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function _(t){return"[object SharedArrayBuffer]"===u(t)}function C(t){return void 0!==A&&(void 0===_.working&&(_.working=_(new A)),_.working?_(t):t instanceof A)}e.isSharedArrayBuffer=C;e.isAsyncFunction=function(t){return"[object AsyncFunction]"===u(t)};e.isMapIterator=function(t){return"[object Map Iterator]"===u(t)};e.isSetIterator=function(t){return"[object Set Iterator]"===u(t)};e.isGeneratorObject=function(t){return"[object Generator]"===u(t)};function P(t){return v(t,c)}function O(t){return v(t,d)}function M(t){return v(t,f)}function R(t){return h&&v(t,p)}function L(t){return l&&v(t,g)}e.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===u(t)},e.isNumberObject=P,e.isStringObject=O,e.isBooleanObject=M,e.isBigIntObject=R,e.isSymbolObject=L;e.isBoxedPrimitive=function(t){return P(t)||O(t)||M(t)||R(t)||L(t)};e.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(T(t)||C(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw Error(t+" is not supported in userland")}})})},9539:function(t,e,i){var n=i("4155"),s=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),i={},n=0;n=s)return t;switch(t){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch(t){return"[Circular]"}default:return t}}),a=n[i];i=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),v(i)?n.showHidden=i:i&&e._extend(n,i),b(n.showHidden)&&(n.showHidden=!1),b(n.depth)&&(n.depth=2),b(n.colors)&&(n.colors=!1),b(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=u),d(n,t,n.depth)}function u(t,e){var i=l.styles[e];return i?"\x1b["+l.colors[i][0]+"m"+t+"\x1b["+l.colors[i][1]+"m":t}function c(t,e){return t}e.debuglog=function(t){if(!o[t=t.toUpperCase()]){if(a.test(t)){var i=n.pid;o[t]=function(){var n=e.format.apply(e,arguments);console.error("%s %d: %s",t,i,n)}}else o[t]=function(){}}return o[t]},e.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function d(t,i,n){if(t.customInspect&&i&&A(i.inspect)&&i.inspect!==e.inspect&&!(i.constructor&&i.constructor.prototype===i)){var s,r,o=i.inspect(n,t);return!x(o)&&(o=d(t,o,n)),o}var a=function(t,e){if(b(e))return t.stylize("undefined","undefined");if(x(e)){var i="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(i,"string")}return y(e)?t.stylize(""+e,"number"):v(e)?t.stylize(""+e,"boolean"):m(e)?t.stylize("null","null"):void 0}(t,i);if(a)return a;var h=Object.keys(i);var l=(s={},h.forEach(function(t,e){s[t]=!0}),s);if(t.showHidden&&(h=Object.getOwnPropertyNames(i)),E(i)&&(h.indexOf("message")>=0||h.indexOf("description")>=0))return f(i);if(0===h.length){if(A(i)){var u=i.name?": "+i.name:"";return t.stylize("[Function"+u+"]","special")}if(w(i))return t.stylize(RegExp.prototype.toString.call(i),"regexp");if(S(i))return t.stylize(Date.prototype.toString.call(i),"date");if(E(i))return f(i)}var c="",T=!1,_=["{","}"];if(g(i)&&(T=!0,_=["[","]"]),A(i)&&(c=" [Function"+(i.name?": "+i.name:"")+"]"),w(i)&&(c=" "+RegExp.prototype.toString.call(i)),S(i)&&(c=" "+Date.prototype.toUTCString.call(i)),E(i)&&(c=" "+f(i)),0===h.length&&(!T||0==i.length))return _[0]+c+_[1];if(n<0)return w(i)?t.stylize(RegExp.prototype.toString.call(i),"regexp"):t.stylize("[Object]","special");return t.seen.push(i),r=T?function(t,e,i,n,s){for(var r=[],o=0,a=e.length;o=0&&n++,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?i[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+i[1]:i[0]+e+" "+t.join(", ")+" "+i[1]}(r,c,_)}function f(t){return"["+Error.prototype.toString.call(t)+"]"}function p(t,e,i,n,s,r){var o,a,h;if((h=Object.getOwnPropertyDescriptor(e,s)||{value:e[s]}).get?a=h.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):h.set&&(a=t.stylize("[Setter]","special")),!O(n,s)&&(o="["+s+"]"),!a&&(0>t.seen.indexOf(h.value)?(a=m(i)?d(t,h.value,null):d(t,h.value,i-1)).indexOf("\n")>-1&&(a=r?a.split("\n").map(function(t){return" "+t}).join("\n").slice(2):"\n"+a.split("\n").map(function(t){return" "+t}).join("\n")):a=t.stylize("[Circular]","special")),b(o)){if(r&&s.match(/^\d+$/))return a;(o=JSON.stringify(""+s)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.slice(1,-1),o=t.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=t.stylize(o,"string"))}return o+": "+a}function g(t){return Array.isArray(t)}function v(t){return"boolean"==typeof t}function m(t){return null===t}e.types=i("5955"),e.isArray=g,e.isBoolean=v,e.isNull=m;function y(t){return"number"==typeof t}function x(t){return"string"==typeof t}e.isNullOrUndefined=function(t){return null==t},e.isNumber=y,e.isString=x;function b(t){return void 0===t}function w(t){return T(t)&&"[object RegExp]"===_(t)}function T(t){return"object"==typeof t&&null!==t}function S(t){return T(t)&&"[object Date]"===_(t)}function E(t){return T(t)&&("[object Error]"===_(t)||t instanceof Error)}function A(t){return"function"==typeof t}e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=b,e.isRegExp=w,e.types.isRegExp=w,e.isObject=T,e.isDate=S,e.types.isDate=S,e.isError=E,e.types.isNativeError=E,e.isFunction=A;function _(t){return Object.prototype.toString.call(t)}function C(t){return t<10?"0"+t.toString(10):t.toString(10)}e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=i("384");var P=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){var t,i;console.log("%s - %s",(i=[C((t=new Date).getHours()),C(t.getMinutes()),C(t.getSeconds())].join(":"),[t.getDate(),P[t.getMonth()],i].join(" ")),e.format.apply(e,arguments))},e.inherits=i("5717"),e._extend=function(t,e){if(!e||!T(e))return t;for(var i=Object.keys(e),n=i.length;n--;)t[i[n]]=e[i[n]];return t};var M="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function R(t,e){if(!t){var i=Error("Promise was rejected with a falsy value");i.reason=t,t=i}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw TypeError('The "original" argument must be of type Function');if(M&&t[M]){var e=t[M];if("function"!=typeof e)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,M,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,i,n=new Promise(function(t,n){e=t,i=n}),s=[],r=0;r=e.f?r():t.fonts.load(T(a=e.a)+" "+a.f+"00 300px "+b(a.c),e.h).then(function(t){1<=t.length?n():setTimeout(o,25)},function(){r()})}()}),r=null;Promise.race([new Promise(function(t,i){r=setTimeout(i,e.f)}),n]).then(function(){r&&(clearTimeout(r),r=null),e.g(e.a)},function(){e.j(e.a)})};var L={D:"serif",C:"sans-serif"},F=null;function k(){if(null===F){var t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);F=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))}return F}function D(t,e,i){for(var n in L)if(L.hasOwnProperty(n)&&e===t.f[L[n]]&&i===t.f[L[n]])return!0;return!1}function I(t){var e,i=t.g.a.offsetWidth,r=t.h.a.offsetWidth;(e=i===t.f.serif&&r===t.f["sans-serif"])||(e=k()&&D(t,i,r)),e?s()-t.A>=t.w?k()&&D(t,i,r)&&(null===t.u||t.u.hasOwnProperty(t.a.c))?B(t,t.v):B(t,t.B):function(t){setTimeout(n(function(){I(this)},t),50)}(t):B(t,t.v)}R.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=s(),I(this)};function B(t,e){setTimeout(n(function(){l(this.g.a),l(this.h.a),l(this.j.a),l(this.m.a),e(this.a)},t),0)}function N(t,e,i){this.c=t,this.a=e,this.f=0,this.m=this.j=!1,this.s=i}var U=null;function z(t){0==--t.f&&t.j&&(t.m?((t=t.a).g&&u(t.f,[t.a.c("wf","active")],[t.a.c("wf","loading"),t.a.c("wf","inactive")]),A(t,"active")):E(t.a))}function X(t){this.j=t,this.a=new _,this.h=0,this.f=this.g=!0}N.prototype.g=function(t){var e=this.a;e.g&&u(e.f,[e.a.c("wf",t.c,w(t).toString(),"active")],[e.a.c("wf",t.c,w(t).toString(),"loading"),e.a.c("wf",t.c,w(t).toString(),"inactive")]),A(e,"fontactive",t),this.m=!0,z(this)},N.prototype.h=function(t){var e=this.a;if(e.g){var i=c(e.f,e.a.c("wf",t.c,w(t).toString(),"active")),n=[],s=[e.a.c("wf",t.c,w(t).toString(),"loading")];i||n.push(e.a.c("wf",t.c,w(t).toString(),"inactive")),u(e.f,n,s)}A(e,"fontinactive",t),z(this)},X.prototype.load=function(t){this.c=new r(this.j,t.context||this.j),this.g=!1!==t.events,this.f=!1!==t.classes,function(t,e,i){var s,r=[],o=i.timeout;(s=e).g&&u(s.f,[s.a.c("wf","loading")]),A(s,"loading");var r=function(t,e,i){var n,s=[];for(n in e)if(e.hasOwnProperty(n)){var r=t.c[n];r&&s.push(r(e[n],i))}return s}(t.a,i,t.c),a=new N(t.c,e,o);for(t.h=r.length,e=0,i=r.length;e-1?e:"Object"===e&&m(t)}return a?v(t):null}},3898:function(t,e,i){"use strict";i.r(e);var n=i("2260"),s=i("6222"),r=i("1577"),o={type:n.AUTO,scale:{mode:n.Scale.FIT,parent:"game-app",width:1280,height:720},dom:{createContainer:!0},parent:"game-app",plugins:{global:[{key:"rexKawaseBlurPipeline",plugin:r.default,start:!0}]},scene:s.Scenes};new n.Game(o)},5554:function(t,e,i){"use strict";i.r(e),i.d(e,{Band:function(){return s}});function n(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var s=function t(e,i,s){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,t),n(this,"startBeat",void 0),n(this,"endBeat",void 0),n(this,"image",void 0),this.startBeat=e,this.endBeat=i,this.image=s}},7885:function(t,e,i){"use strict";i.r(e),i.d(e,{Chart:function(){return o}});var n=i("4076");function s(t,e){for(var i=0;it.length)&&(e=t.length);for(var i=0,n=Array(e);i=1&&R<=2?G=361+186*(R-1):R>=4&&R<=5&&(G=361+186*(R-2)):5===i?R>=1&&R<=5&&(G=343+148.5*(R-1)):6===i?R<=2?G=330+124*R:R>=4&&(G=330+124*(R-1)):7===i&&(G=322+106*R),"rectangle"===u.noteType?(B="note-rectangle-1",U="longnote-1",z=({4:214,5:170,6:139,7:119})[i],X=40,Y=z,1===R||5===R?(B="note-rectangle-2",U="longnote-2"):3===R?(B="note-rectangle-3",U="longnote-3"):(B="note-rectangle-1",U="longnote-1"),V=!k):"circle"===u.noteType?(B=k||F?"note-circle-3":"note-circle-1",U="longnote-circle",z=100,X=100,Y=100,V=!0):"line"===u.noteType&&(k||F?(B="note-line-3",N="note-line-light-3"):(B="note-line-1",N="note-line-light-1"),U="longnote-line",z=({4:246,5:195,6:160,7:137})[i],X=60,Y=({4:185,5:147,6:120,7:103})[i]),k&&T[R]&&S[R]!==I){T[R]=!1;var j=new n.Band(S[R],I,t.add.image(G,-100,U).setDisplaySize(Y,0).setOrigin(.5,0).setDepth(-1).setAlpha(1));this.longNoteBands[R].push(j),S[R]=-1}var W=new a.Note(I,h.Timing.fromBMSChart(e.bmsChart).beatToSeconds(I),L,t.add.image(G,-100,B).setDisplaySize(z,X).setDepth(1).setVisible(V),null!==N?t.add.image(G,-100,N).setDisplaySize(z,X).setDepth(2):null,D,!1,F,k);D?this.bgmLane.push(W):R>=0&&R<=7&&(this.lanes[R].push(W),this.lastBeat=Math.max(this.lastBeat,I)),R>=0&&R<=7&&(!Object.prototype.hasOwnProperty.call(E,I)&&(E[I]=[G,G]),E[I][0]=Math.min(E[I][0],G),E[I][1]=Math.max(E[I][1],G))}}catch(t){_=!0,C=t}finally{try{!A&&null!=O.return&&O.return()}finally{if(_)throw C}}var H=!0,K=!1,q=void 0;try{for(var J,Z=Object.entries(E)[Symbol.iterator]();!(H=(J=Z.next()).done);H=!0){var $=d(J.value,2),Q=$[0],tt=d($[1],2),te=tt[0],ti=tt[1];if(ti!==te){var tn=new s.EachLine(parseFloat(Q),t.add.image(te,-100,"each-line").setDisplaySize(ti-te,10).setOrigin(0,.5).setDepth(-2).setVisible("rectangle"!==u.noteType));this.eachLines.push(tn)}}}catch(t){K=!0,q=t}finally{try{!H&&null!=Z.return&&Z.return()}finally{if(K)throw q}}var ts=!0,tr=!1,to=void 0;try{for(var ta,th=Array(7).keys()[Symbol.iterator]();!(ts=(ta=th.next()).done);ts=!0){var tl=ta.value;this.lanes[tl].sort(function(t,e){return t.beat-e.beat})}}catch(t){tr=!0,to=t}finally{try{!ts&&null!=th.return&&th.return()}finally{if(tr)throw to}}this.bgmLane.sort(function(t,e){return t.beat-e.beat}),this.lastBeat+=.1;var tu=!0,tc=!1,td=void 0;try{for(var tf,tp=Array(1e3).keys()[Symbol.iterator]();!(tu=(tf=tp.next()).done);tu=!0){var tg=tf.value;this.measures.push(new o.Measure(e.bmsChart.timeSignatures.measureToBeat(tg,0),t.add.rectangle(640,-10,747,2,10066329).setDepth(-3)))}}catch(t){tc=!0,td=t}finally{try{!tu&&null!=tp.return&&tp.return()}finally{if(tc)throw td}}this.judgeMeters=[]}return t=l,e=[{key:"update",value:function(t,e,i,n,s){var r=!0,o=!1,a=void 0;try{for(var h,l=this.bgmLane[Symbol.iterator]();!(r=(h=l.next()).done);r=!0){var u=h.value;if(u.sec=640&&m.rectangle.setVisible(!1)}}catch(t){f=!0,p=t}finally{try{!c&&null!=v.return&&v.return()}finally{if(f)throw p}}var y=!0,x=!1,b=void 0;try{for(var w,T=this.eachLines[Symbol.iterator]();!(y=(w=T.next()).done);y=!0){var S=w.value;S.rectangle.y=640+(e-S.beat)*n,S.rectangle.y>=640&&S.rectangle.setVisible(!1)}}catch(t){x=!0,b=t}finally{try{!y&&null!=T.return&&T.return()}finally{if(x)throw b}}var E=!0,A=!1,_=void 0;try{for(var C,P=Array(7).keys()[Symbol.iterator]();!(E=(C=P.next()).done);E=!0){var O=C.value,M=!0,R=!1,L=void 0;try{for(var F,k=this.longNoteBands[O][Symbol.iterator]();!(M=(F=k.next()).done);M=!0){var D=F.value;D.image.displayHeight=Math.max((D.endBeat-D.startBeat+Math.min(D.startBeat-e,0))*n,0),D.image.y=640+Math.min((e-D.endBeat)*n,0)}}catch(t){R=!0,L=t}finally{try{!M&&null!=k.return&&k.return()}finally{if(R)throw L}}var I=!0,B=!1,N=void 0;try{for(var U,z=this.lanes[O].entries()[Symbol.iterator]();!(I=(U=z.next()).done);I=!0){var X=d(U.value,2),Y=X[0],G=X[1];if(G.image.y=640+Math.min((e-G.beat)*n,0),!G.isJudged&&(!G.isLongEnd&&G.sec+this.judgeRanges.slice(-1)[0]/1e3this.lastBeat}},{key:"score",get:function(){var t=0,e=0,i=!0,n=!1,s=void 0;try{for(var r,o=[,,,,,].keys()[Symbol.iterator]();!(i=(r=o.next()).done);i=!0){var a=r.value;e+=this.judges[a]}}catch(t){n=!0,s=t}finally{try{!i&&null!=o.return&&o.return()}finally{if(n)throw s}}var h=!0,l=!1,u=void 0;try{for(var c,d=[,,,,,].keys()[Symbol.iterator]();!(h=(c=d.next()).done);h=!0){var f=c.value;t+=this.judges[f]*this.scoreCoefficients[f]}}catch(t){l=!0,u=t}finally{try{!h&&null!=d.return&&d.return()}finally{if(l)throw u}}return 0===e&&(e=1),t/e*100}}],u(t.prototype,e),i&&u(t,i),l}()},4019:function(t,e,i){"use strict";i.r(e),i.d(e,{DebugGUI:function(){return o}});var n=i("7637");function s(t,e){for(var i=0;i=18?i=3137506:1e3*e<=-18&&(i=15020261),this.rectangle=t.add.rectangle(640-1200*e,360,1,30,i).setDepth(20)}return t=r,e=[{key:"update",value:function(){this.rectangle.setAlpha(1-(new Date().getTime()-this.judgedTime)/5e3)}}],n(t.prototype,e),i&&n(t,i),r}()},6361:function(t,e,i){"use strict";i.r(e),i.d(e,{KeySoundPlayer:function(){return o}});var n=i("4076");function s(t,e){for(var i=0;i=11&&e<=13)return"".concat(this.rank,"th");if(1===t)return"".concat(this.rank,"st");if(2===t)return"".concat(this.rank,"nd");else if(3===t)return"".concat(this.rank,"rd");else return"".concat(this.rank,"th")}}],n(t.prototype,e),i&&n(t,i),r}()},4263:function(t,e,i){"use strict";function n(t,e,i,n,s,r,o){try{var a=t[r](o),h=a.value}catch(t){i(t);return}a.done?e(h):Promise.resolve(h).then(n,s)}i.r(e),i.d(e,{retryFetch:function(){return o}});var s,r,o=(r=(s=function(t){var e,i,n,s=arguments;return function(t,e){var i,n,s,r,o={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(i)throw TypeError("Generator is already executing.");for(;o;)try{if(i=1,n&&(s=2&r[0]?n.return:r[0]?n.throw||((s=n.return)&&s.call(n),0):n.next)&&!(s=s.call(n,r[1])).done)return s;switch(n=0,s&&(r=[2&r[0],s.value]),r[0]){case 0:case 1:s=r;break;case 4:return o.label++,{value:r[1],done:!1};case 5:o.label++,n=r[1],r=[0];continue;case 7:r=o.ops.pop(),o.trys.pop();continue;default:if(!(s=(s=o.trys).length>0&&s[s.length-1])&&(6===r[0]||2===r[0])){o=0;continue}if(3===r[0]&&(!s||r[1]>s[0]&&r[1]1&&void 0!==s[1]?s[1]:void 0,i=s.length>2&&void 0!==s[2]?s[2]:2,r.label=1;case 1:return r.trys.push([1,3,,5]),[4,fetch(t,e)];case 2:case 4:return[2,r.sent()];case 3:if(n=r.sent(),1===i)throw n;return[4,o(t,e,i-1)];case 5:return[2]}})},function(){var t=this,e=arguments;return new Promise(function(i,r){var o=s.apply(t,e);function a(t){n(o,i,r,a,h,"next",t)}function h(t){n(o,i,r,a,h,"throw",t)}a(void 0)})}),function(t){return r.apply(this,arguments)})},5158:function(t,e,i){"use strict";i.r(e),i.d(e,{ConfigScene:function(){return l}});var n=i("9010");function s(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r(t,e){for(var i=0;i0&&s[s.length-1])&&(6===r[0]||2===r[0])){o=0;continue}if(3===r[0]&&(!s||r[1]>s[0]&&r[1]0&&t<=1?1-t:0},duration:100,paused:!1,onComplete:function(){t.comboText.setY(180)}}),this.scoreText=this.add.text(640,100,"0.00%",{fontFamily:"Bungee",fontSize:"80px",color:"#888888",align:"center"}).setOrigin(.5).setDepth(0).setAlpha(.5).setScale(.5),this.startText=this.add.text(640,380,"GET READY...",{fontFamily:"Bungee",fontSize:"120px",color:"#fafafa",align:"center"}).setShadow(0,0,"#111111",20,!0,!0).setOrigin(.5).setDepth(10).setAlpha(1).setScale(.5),this.keyFlashImages=[],this.keyFlashTweens=[],this.holdParticleEmitters=[],this.inputZones=[],this.keyLabels=[];var u=!0,c=!1,d=void 0;try{for(var f,p=this,g=Array(7).keys()[Symbol.iterator]();!(u=(f=g.next()).done);u=!0)!function(){var e=f.value,i=-1280,n={4:186,5:148.5,6:124,7:106};4===p.playConfig.key?e>=1&&e<=2?i=361+186*(e-1):e>=4&&e<=5&&(i=361+186*(e-2)):5===p.playConfig.key?e>=1&&e<=5&&(i=343+148.5*(e-1)):6===p.playConfig.key?e<=2?i=330+124*e:e>=4&&(i=330+124*(e-1)):7===p.playConfig.key&&(i=322+106*e),p.keyFlashImages.push(p.add.image(i,720,"key-flash").setOrigin(.5,1).setDisplaySize(900/p.playConfig.key*.81,720).setVisible(!1).setDepth(-2)),p.keyFlashTweens.push(p.tweens.add({persist:!0,targets:p.add.image(i,720,"key-flash").setOrigin(.5,1).setDisplaySize(900/p.playConfig.key*.81,720).setDepth(-2),scaleX:{value:0,duration:80,ease:"Linear"},ease:"Quintic.Out",paused:!1})),p.holdParticleEmitters.push(p.add.particles(i-n[p.playConfig.key]/2,640,"particle-yellow",{x:0,y:0,angle:{min:265,max:275},speed:400,emitZone:{type:"random",source:new Phaser.Geom.Rectangle(0,0,n[p.playConfig.key],1),quantity:48,yoyo:!1},gravityY:-200,scale:{start:.2,end:0},lifespan:{min:100,max:350},quantity:1.5,blendMode:"ADD",emitting:!1})),p.inputZones.push(p.add.zone(i,720,n[p.playConfig.key],720).setInteractive().setOrigin(.5,1).on("pointerover",function(){!t.isTouching[e]&&(t.isTouching[e]=!0,t.judgeKeyDown(e))}).on("pointerout",function(){t.isTouching[e]=!1,t.keyFlashTweens[e].restart()})),p.keyLabels.push(p.add.text(i,680,["S","D","F","SPACE","J","K","L"][e],{fontFamily:"Bungee",fontSize:"50px",color:"#fafafa",align:"center"}).setOrigin(.5).setDepth(0).setAlpha(.6).setScale(.5))}()}catch(t){c=!0,d=t}finally{try{!u&&null!=g.return&&g.return()}finally{if(c)throw d}}this.debugText=this.add.text(0,450,"").setVisible(!1),this.musicFrame=this.add.image(100,80,"frame-vertical").setOrigin(.5,0).setScale(0,.67).setDepth(1),this.musicFrameLabelText=this.add.text(100,110,"MUSIC INFO",{fontFamily:"Oswald",fontSize:"36px",color:"#dddddd"}).setOrigin(.5,.5).setDepth(4).setScale(.5).setAlpha(0),this.titleText=this.add.text(30,300,"",{fontFamily:"Noto Sans JP",fontSize:"26px",color:"#f0f0f0"}).setShadow(0,0,"#080808",4,!1,!0).setOrigin(0,.5).setDepth(10).setScale(.5).setAlpha(0),this.artistText=this.add.text(30,320,"",{fontFamily:"Noto Sans JP",fontSize:"20px",color:"#f0f0f0"}).setShadow(0,0,"#080808",4,!1,!0).setOrigin(0,.5).setDepth(10).setScale(.5).setAlpha(0),this.jacketImage=this.add.image(100,210,"jacket-no-image").setDepth(9).setDisplaySize(142,142).setAlpha(0),void 0!==this.music.jacket&&this.jacketImage.setTexture("jacket-".concat(this.music.folder,"/").concat(this.music.jacket)).setDisplaySize(142,142),this.keyIcon=this.add.image(100,380,"key-icon-".concat(this.playConfig.key)).setOrigin(.5,.5).setDepth(10).setScale(.7).setAlpha(0),this.diffIcon=this.add.image(100,410,"diff-icon-".concat(this.playConfig.difficulty)).setOrigin(.5,.5).setDepth(10).setScale(.7).setAlpha(0),this.backButton=this.add.image(10,10,"icon-back").setOrigin(0,0).setDepth(10).setScale(.6).setAlpha(.5).setInteractive({useHandCursor:!0}).once("pointerdown",function(){t.sound.play("cancel"),t.cameras.main.fadeOut(500),t.hasRetired=!0}).on("pointerover",function(){t.backButton.setAlpha(1)}).on("pointerout",function(){t.backButton.setAlpha(.5)}),this.cameras.main.once(Phaser.Cameras.Scene2D.Events.FADE_OUT_COMPLETE,function(){void 0!==t.chartPlayer&&t.chartPlayer.hasFinished(t.beat)&&void 0!==t.chartPlayer?t.scene.start("result",{playResult:new l.PlayResult({music:t.music,playConfig:t.playConfig,judges:t.chartPlayer.judges,score:t.chartPlayer.score,maxCombo:Math.max(t.chartPlayer.maxCombo,t.chartPlayer.combo)})}):t.hasRetired&&t.scene.start("select",{playConfig:t.playConfig})}),this.normalTapSounds=[];var v=!0,m=!1,y=void 0;try{for(var x,b=[,,,,,].keys()[Symbol.iterator]();!(v=(x=b.next()).done);v=!0){var w=x.value;this.normalTapSounds.push(this.sound.add("normal-tap-".concat(w+1)))}}catch(t){m=!0,y=t}finally{try{!v&&null!=b.return&&b.return()}finally{if(m)throw y}}this.load.on("progress",function(e){t.debugText.setText("".concat(e))}),this.load.on("complete",function(){t.isLoading&&!t.hasLoaded&&(t.hasLoaded=!0,t.loadEndTime=new Date,t.cameras.main.fadeIn(500),t.tweens.add({targets:[t.laneMainFrame,t.laneMainFrameLight,t.laneBackground,t.laneBackgroundLight],delay:100,scaleX:{value:.67,duration:600,ease:Phaser.Math.Easing.Cubic.Out},onComplete:function(){t.tweens.add({targets:[t.judgeBar,t.judgeBarLight],alpha:{value:1,duration:400}}),t.tweens.add({targets:t.musicFrame,scaleX:{value:.67,duration:400,ease:Phaser.Math.Easing.Cubic.Out},onComplete:function(){t.tweens.add({targets:[t.musicFrameLabelText,t.jacketImage,t.titleText,t.artistText,t.keyIcon,t.diffIcon],alpha:{value:1,duration:400}})}})}}),t.tweens.add({targets:[t.backgroundMask],delay:100,scaleX:{value:1,duration:600,ease:Phaser.Math.Easing.Cubic.Out}}))})}},{key:"update",value:function(t,e){if(this.laneMainFrameLight.setAlpha(1-this.beat%1%1*.6),this.laneBackgroundLight.setAlpha(.5+.125*(Math.sin(1*Math.PI*this.beat)+1)),this.judgeBarLight.setAlpha(this.beat>=0?.2+.3*(Math.cos(1*Math.PI*this.beat)+1):0),this.judgeBar.setTint(12303291),this.hasLoaded&&void 0!==this.loadEndTime&&void 0!==this.chartPlayer){if(this.screenMask.setVisible(!1),this.latestJudgeSec!==this.chartPlayer.latestJudgeSec&&void 0!==this.chartPlayer.latestJudgeSec&&(this.scoreText.setText("".concat(this.chartPlayer.score.toFixed(2),"%")),this.comboText.setText("".concat(this.chartPlayer.combo)),this.comboTween.restart(),this.latestJudgeSec=this.chartPlayer.latestJudgeSec,this.judgeText.setTexture("judge-".concat(this.chartPlayer.latestJudgeIndex)),this.judgeText.setVisible(!0),this.judgeTween.restart(),this.normalTapSounds[this.chartPlayer.latestJudgeIndex].play(),0!==this.chartPlayer.latestJudgeIndex?(this.judgeFSText.setTexture("judge-".concat(this.chartPlayer.latestJudgeDiff>0?"fast":"slow")),this.judgeFSText.setVisible(!0)):this.judgeFSText.setVisible(!1)),this.playingSec=(new Date().getTime()-this.loadEndTime.getTime()-3e3)/1e3,this.beat=this.chart.secondsToBeat(this.playingSec),this.chartPlayer.update(this,this.beat,this.playingSec,this.noteSpeed,this.keySoundPlayer),null!==this.keys){var i=!0,n=!1,s=void 0;try{for(var r,o=Array(7).keys()[Symbol.iterator]();!(i=(r=o.next()).done);i=!0){var a=r.value;this.keys[a].isDown||this.isTouching[a]?this.keyFlashImages[a].setVisible(!0):this.keyFlashImages[a].setVisible(!1)}}catch(t){n=!0,s=t}finally{try{!i&&null!=o.return&&o.return()}finally{if(n)throw s}}}if(0===this.chartPlayer.judges[3]&&0===this.chartPlayer.judges[4]?0===this.chartPlayer.judges[1]&&0===this.chartPlayer.judges[2]?this.laneBackgroundLight.setTexture("frame-back-light-yellow"):this.laneBackgroundLight.setTexture("frame-back-light-blue"):this.laneBackgroundLight.setTexture("frame-back-light-green"),this.chartPlayer.hasFinished(this.beat)&&!this.hasFadedOut&&(this.cameras.main.fadeOut(500),this.hasFadedOut=!0),null!==this.keys){var h=!0,l=!1,u=void 0;try{for(var c,d=Array(7).keys()[Symbol.iterator]();!(h=(c=d.next()).done);h=!0){var f=c.value;Phaser.Input.Keyboard.JustDown(this.keys[f])&&this.judgeKeyDown(f),Phaser.Input.Keyboard.JustUp(this.keys[f])&&this.keyFlashTweens[f].restart()}}catch(t){l=!0,u=t}finally{try{!h&&null!=d.return&&d.return()}finally{if(l)throw u}}}var p=!0,g=!1,v=void 0;try{for(var m,y=Array(7).keys()[Symbol.iterator]();!(p=(m=y.next()).done);p=!0){var x=m.value;this.chartPlayer.isHolds[x]&&(null===this.keys||null!==this.keys&&!this.keys[x].isDown)&&!this.isTouching[x]&&this.chartPlayer.judgeKeyHold(this.playingSec,x),this.holdParticleEmitters[x].emitting=this.chartPlayer.isHolds[x],this.chartPlayer.isHolds[x]&&t%130<=17&&this.addBomb(x)}}catch(t){g=!0,v=t}finally{try{!p&&null!=y.return&&y.return()}finally{if(g)throw v}}this.beat>-1&&(this.tweens.add({targets:this.startText,y:460,ease:"Linear",alpha:{value:0,duration:300,ease:"Linear"},duration:300,paused:!1}),this.tweens.add({targets:this.keyLabels,ease:"Linear",alpha:{value:0,duration:300,ease:"Linear"},duration:300,paused:!1})),this.debugText.setText("".concat(t,"\n\nFPS:").concat((1e3/e).toFixed(2)))}else this.screenMask.setVisible(!0)}},{key:"judgeKeyDown",value:function(t){void 0!==this.chartPlayer&&this.chartPlayer.judgeKeyDown(this,this.playingSec,t,this.keySoundPlayer)&&this.chartPlayer.latestJudgeIndex<=2&&this.addBomb(t)}},{key:"addBomb",value:function(t){var e=-1200;4===this.playConfig.key?t>=1&&t<=2?e=361+186*(t-1):t>=4&&t<=5&&(e=361+186*(t-2)):5===this.playConfig.key?t>=1&&t<=5&&(e=343+148.5*(t-1)):6===this.playConfig.key?t<=2?e=330+124*t:t>=4&&(e=330+124*(t-1)):7===this.playConfig.key&&(e=322+106*t),this.tweens.add({targets:this.add.image(e,640,"bomb-2").setDisplaySize(256,256).setAlpha(.5),alpha:{value:0,duration:280,ease:"Linear"},scale:{value:.9,duration:280,ease:"Linear"},angle:{value:30,duration:280,ease:"Linear"},paused:!1}),this.tweens.add({targets:this.add.image(e,640,"bomb-3").setDisplaySize(180,180),alpha:{value:0,duration:140,ease:"Linear"},scale:{value:.4,duration:110,ease:"Quintic.Out"},paused:!1}),this.tweens.add({targets:this.add.image(e,640,"bomb-1").setDisplaySize(196,196),alpha:{value:0,duration:120,ease:"Linear"},scale:{value:.7,duration:120,ease:"Linear"},paused:!1})}}],c(n.prototype,g),v&&c(n,v),y}(Phaser.Scene)},8242:function(t,e,i){"use strict";i.r(e),i.d(e,{ResultScene:function(){return v}});var n=i("4019"),s=i("6668"),r=i("4263");function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i0&&s[s.length-1])&&(6===r[0]||2===r[0])){o=0;continue}if(3===r[0]&&(!s||r[1]>s[0]&&r[1]=0?"+":"").concat(s.toFixed(2)," %"),{fontFamily:"Oswald",fontSize:"30px",color:s>=0?"#fafa00":"#fa0000",align:"center"}).setOrigin(1,.5).setAlpha(0),this.rankLabelText=this.add.text(550,545,"RANKING",{fontFamily:"Oswald",fontSize:"18px",color:"#888888",align:"center"}).setOrigin(0,.5).setAlpha(0),this.rankText=this.add.text(680,580,"Pending...",{fontFamily:"Oswald",fontSize:"30px",color:"#fafafa",align:"center"}).setOrigin(1,.5).setAlpha(0),this.rankingFrame=this.add.rectangle(1280,0,340,720,0).setAlpha(.3).setOrigin(1,0).setDepth(-2).setScale(1,0),this.tweens.add({targets:[this.rankingFrame],delay:250,scaleY:{value:1,duration:400,ease:Phaser.Math.Easing.Cubic.Out}}),this.rankingLine=this.add.rectangle(1110,50,340,2,4473924).setAlpha(1).setDepth(-1).setOrigin(.5,0).setScale(0,1),this.tweens.add({targets:[this.rankingLine],delay:450,scaleX:{value:1,duration:300,ease:Phaser.Math.Easing.Cubic.Out}}),this.rankingIndexTexts=[],this.rankingScoreTexts=[],this.rankingScreenNameTexts=[];var r="24px";this.rankingScoreLabelText=this.add.text(1080,10,"SCORE",{fontFamily:"Oswald",fontSize:r,color:"#bbbbbb",align:"right"}).setOrigin(1,0).setAlpha(0),this.rankingPlayerLabelText=this.add.text(1100,10,"PLAYER",{fontFamily:"Oswald",fontSize:r,color:"#bbbbbb",align:"left"}).setOrigin(0,0).setAlpha(0);var o=!0,a=!1,h=void 0;try{for(var u,c=Array(25).keys()[Symbol.iterator]();!(o=(u=c.next()).done);o=!0){var d=u.value,f=60+30*d;this.rankingIndexTexts.push(this.add.text(1010,f,"",{fontFamily:"Oswald",fontSize:r,color:"#888888",align:"left"}).setOrigin(0,0)),this.rankingScoreTexts.push(this.add.text(1140,f,"",{fontFamily:"Oswald",fontSize:r,color:"#fafafa",align:"right"}).setOrigin(1,0)),this.rankingScreenNameTexts.push(this.add.text(1160,f,"",{fontFamily:"Noto Sans JP",fontSize:r,color:"#fafafa",align:"left"}).setOrigin(0,0))}}catch(t){a=!0,h=t}finally{try{!o&&null!=c.return&&c.return()}finally{if(a)throw h}}this.line1=this.add.rectangle(300,385,320,2,4473924,30).setDepth(-1).setScale(0,1),this.line2=this.add.rectangle(300,605,320,2,4473924,30).setDepth(-1).setScale(0,1),this.tweens.add({targets:[this.line1,this.line2],delay:450,scaleX:{value:1,duration:300,ease:Phaser.Math.Easing.Cubic.Out}}),this.judgeTexts=[],this.judgeLabelTexts=[];var p=!0,v=!1,m=void 0;try{for(var y,x=[,,,,,].keys()[Symbol.iterator]();!(p=(y=x.next()).done);p=!0){var b=y.value;this.add.image(830,430+35*b,"judge-".concat(b)).setScale(.4).setOrigin(0===b?.03:0,.5).setAlpha(0),this.judgeLabelTexts.push(this.add.text(200,424+35*b,["PERFECT","GREAT","GOOD","BAD","MISS"][b],{fontFamily:"Oswald",fontSize:"20px",color:["#e530e5","#d8a10a","#3cc43c","#2f9ec6","#880aaa"][b],align:"center"}).setOrigin(0,.5).setAlpha(0)),this.judgeTexts.push(this.add.text(400,424+35*b,"".concat(this.playResult.judges[b]),{fontFamily:"Oswald",fontSize:"28px",color:"#fafafa",align:"center"}).setOrigin(1,.5).setAlpha(0))}}catch(t){v=!0,m=t}finally{try{!p&&null!=x.return&&x.return()}finally{if(v)throw m}}this.comboText=this.add.text(430,640,"".concat(this.playResult.maxCombo),{fontFamily:"Oswald",fontSize:"28px",color:"#fafafa",align:"center"}).setOrigin(1,.5).setAlpha(0),this.comboLabelText=this.add.text(170,640,"MAX COMBO",{fontFamily:"Oswald",fontSize:"20px",color:"#888888",align:"center"}).setOrigin(0,.5).setAlpha(0),this.tweens.add({targets:[this.titleFrame,this.detailFrame,this.subDetailFrame],delay:200,scaleY:{value:.67,duration:400,ease:Phaser.Math.Easing.Cubic.Out}}),this.tweens.add({targets:[this.titleText,this.artistText,this.noterText,this.keyIcon,this.diffIcon,this.musicIcon,this.artistIcon,this.noterIcon,void 0!==this.playResult.music.jacket?this.jacketImage:null,this.scoreText,this.scoreLabelText,this.oldScoreText,this.oldScoreDiffText,this.oldScoreLabelText,this.comboText,this.comboLabelText,this.rankText,this.rankLabelText,this.judgeTexts[0],this.judgeTexts[1],this.judgeTexts[2],this.judgeTexts[3],this.judgeTexts[4],this.judgeLabelTexts[0],this.judgeLabelTexts[1],this.judgeLabelTexts[2],this.judgeLabelTexts[3],this.judgeLabelTexts[4],this.rankingScoreLabelText,this.rankingPlayerLabelText],delay:700,alpha:{value:1,duration:150}}),this.backButton=this.add.image(10,10,"icon-back").setOrigin(0,0).setDepth(10).setScale(.6).setAlpha(.5).setInteractive({useHandCursor:!0}).once("pointerdown",function(){t.sound.play("cancel"),t.cameras.main.fadeOut(500)}).on("pointerover",function(){t.backButton.setAlpha(1)}).on("pointerout",function(){t.backButton.setAlpha(.5)}),this.tweetButton=this.add.image(790,500,"icon-twitter").setOrigin(0,0).setDepth(10).setScale(.8).setAlpha(.5).setInteractive({useHandCursor:!0}).on("pointerdown",function(){l(function(){var e;return g(this,function(i){switch(i.label){case 0:return t.sound.play("decide"),t.tweetButton.setAlpha(.5),t.copySnapshot(),[4,new Promise(function(t){return setTimeout(t,1e3)})];case 1:return i.sent(),e="https://twitter.com/intent/tweet?text="+encodeURIComponent("".concat(t.playResult.music.title," (").concat(t.playResult.playConfig.key,"KEYS - ").concat({1:"BEGINNER",2:"STANDARD",3:"ADVANCED",4:"EXTRA"}[t.playResult.playConfig.difficulty],") ").concat(t.playResult.score.toFixed(2),"%\n(画像は自動で挿入されません。スクリーンショットをクリップボードからペーストし、この文章は消してください。)\n#RICORA_Beats\nhttps://beats-ir.tus-ricora.com/")),null==window.open(e,"_blank")&&(location.href=e),[2]}})})()}).on("pointerover",function(){t.tweetButton.setAlpha(1)}).on("pointerout",function(){t.tweetButton.setAlpha(.5)}),this.snapButton=this.add.image(790,600,"icon-camera").setOrigin(0,0).setDepth(10).setScale(.8).setAlpha(.5).setInteractive({useHandCursor:!0}).on("pointerdown",function(){t.sound.play("decide"),t.snapButton.setAlpha(.5),t.copySnapshot()}).on("pointerover",function(){t.snapButton.setAlpha(1)}).on("pointerout",function(){t.snapButton.setAlpha(.5)}),this.cameras.main.once(Phaser.Cameras.Scene2D.Events.FADE_OUT_COMPLETE,function(){t.scene.start("select",{playConfig:t.playResult.playConfig})}),this.cameras.main.fadeIn(500)}},{key:"update",value:function(t,e){switch(this.particleEmitter.particleX=this.input.x,this.particleEmitter.particleY=this.input.y,Math.floor(t/40)%4){case 0:this.judgeLabelTexts[0].setColor("#e530e5");break;case 1:this.judgeLabelTexts[0].setColor("#ffffff");break;case 2:this.judgeLabelTexts[0].setColor("#2fdfe2");break;case 3:this.judgeLabelTexts[0].setColor("#ffffff")}}},{key:"copySnapshot",value:function(){this.renderer.snapshot(function(t){var e,i;if(e=t,null!=(i=HTMLImageElement)&&"undefined"!=typeof Symbol&&i[Symbol.hasInstance]?!!i[Symbol.hasInstance](e):e instanceof i)navigator.clipboard.write([new ClipboardItem({"image/png":function(t){for(var e=atob(t),i=[],n=0;nt.length)&&(e=t.length);for(var i=0,n=Array(e);i0&&s[s.length-1])&&(6===r[0]||2===r[0])){o=0;continue}if(3===r[0]&&(!s||r[1]>s[0]&&r[1]0&&s[s.length-1])&&(6===r[0]||2===r[0])){o=0;continue}if(3===r[0]&&(!s||r[1]>s[0]&&r[1]=0;r--){var o=s[r];o instanceof e&&(o.destroy(),n(s,r))}}else{for(var s=t.postPipelines,r=0,a=s.length;r1)for(var i=1;i4294967295||h(e)!==e)throw new a("`length` must be a positive 32-bit integer");var i=arguments.length>2&&!!arguments[2],n=!0,l=!0;if("length"in t&&o){var u=o(t,"length");u&&!u.configurable&&(n=!1),u&&!u.writable&&(l=!1)}return(n||l||!i)&&(r?s(t,"length",e,!0,!0):s(t,"length",e)),t}},384:function(t,e,i){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},5955:function(t,e,i){"use strict";var n=i("2584"),s=i("8662"),r=i("6430"),o=i("5692");function a(t){return t.call.bind(t)}var h="undefined"!=typeof BigInt,l="undefined"!=typeof Symbol,u=a(Object.prototype.toString),c=a(Number.prototype.valueOf),d=a(String.prototype.valueOf),f=a(Boolean.prototype.valueOf);if(h)var p=a(BigInt.prototype.valueOf);if(l)var g=a(Symbol.prototype.valueOf);function v(t,e){if("object"!=typeof t)return!1;try{return e(t),!0}catch(t){return!1}}e.isArgumentsObject=n,e.isGeneratorFunction=s,e.isTypedArray=o;e.isPromise=function(t){return"undefined"!=typeof Promise&&t instanceof Promise||null!==t&&"object"==typeof t&&"function"==typeof t.then&&"function"==typeof t.catch};e.isArrayBufferView=function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):o(t)||E(t)};e.isUint8Array=function(t){return"Uint8Array"===r(t)};e.isUint8ClampedArray=function(t){return"Uint8ClampedArray"===r(t)};e.isUint16Array=function(t){return"Uint16Array"===r(t)};e.isUint32Array=function(t){return"Uint32Array"===r(t)};e.isInt8Array=function(t){return"Int8Array"===r(t)};e.isInt16Array=function(t){return"Int16Array"===r(t)};e.isInt32Array=function(t){return"Int32Array"===r(t)};e.isFloat32Array=function(t){return"Float32Array"===r(t)};e.isFloat64Array=function(t){return"Float64Array"===r(t)};e.isBigInt64Array=function(t){return"BigInt64Array"===r(t)};function m(t){return"[object Map]"===u(t)}e.isBigUint64Array=function(t){return"BigUint64Array"===r(t)},m.working="undefined"!=typeof Map&&m(new Map);function y(t){return"[object Set]"===u(t)}e.isMap=function(t){return"undefined"!=typeof Map&&(m.working?m(t):t instanceof Map)},y.working="undefined"!=typeof Set&&y(new Set);function x(t){return"[object WeakMap]"===u(t)}e.isSet=function(t){return"undefined"!=typeof Set&&(y.working?y(t):t instanceof Set)},x.working="undefined"!=typeof WeakMap&&x(new WeakMap);function b(t){return"[object WeakSet]"===u(t)}e.isWeakMap=function(t){return"undefined"!=typeof WeakMap&&(x.working?x(t):t instanceof WeakMap)},b.working="undefined"!=typeof WeakSet&&b(new WeakSet);function w(t){return"[object ArrayBuffer]"===u(t)}function T(t){return"undefined"!=typeof ArrayBuffer&&(w.working?w(t):t instanceof ArrayBuffer)}function S(t){return"[object DataView]"===u(t)}function E(t){return"undefined"!=typeof DataView&&(S.working?S(t):t instanceof DataView)}e.isWeakSet=function(t){return b(t)},w.working="undefined"!=typeof ArrayBuffer&&w(new ArrayBuffer),e.isArrayBuffer=T,S.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&S(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=E;var A="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function _(t){return"[object SharedArrayBuffer]"===u(t)}function C(t){return void 0!==A&&(void 0===_.working&&(_.working=_(new A)),_.working?_(t):t instanceof A)}e.isSharedArrayBuffer=C;e.isAsyncFunction=function(t){return"[object AsyncFunction]"===u(t)};e.isMapIterator=function(t){return"[object Map Iterator]"===u(t)};e.isSetIterator=function(t){return"[object Set Iterator]"===u(t)};e.isGeneratorObject=function(t){return"[object Generator]"===u(t)};function P(t){return v(t,c)}function O(t){return v(t,d)}function M(t){return v(t,f)}function R(t){return h&&v(t,p)}function L(t){return l&&v(t,g)}e.isWebAssemblyCompiledModule=function(t){return"[object WebAssembly.Module]"===u(t)},e.isNumberObject=P,e.isStringObject=O,e.isBooleanObject=M,e.isBigIntObject=R,e.isSymbolObject=L;e.isBoxedPrimitive=function(t){return P(t)||O(t)||M(t)||R(t)||L(t)};e.isAnyArrayBuffer=function(t){return"undefined"!=typeof Uint8Array&&(T(t)||C(t))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw Error(t+" is not supported in userland")}})})},9539:function(t,e,i){var n=i("4155"),s=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),i={},n=0;n=s)return t;switch(t){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch(t){return"[Circular]"}default:return t}}),a=n[i];i=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),v(i)?n.showHidden=i:i&&e._extend(n,i),b(n.showHidden)&&(n.showHidden=!1),b(n.depth)&&(n.depth=2),b(n.colors)&&(n.colors=!1),b(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=u),d(n,t,n.depth)}function u(t,e){var i=l.styles[e];return i?"\x1b["+l.colors[i][0]+"m"+t+"\x1b["+l.colors[i][1]+"m":t}function c(t,e){return t}e.debuglog=function(t){if(!o[t=t.toUpperCase()]){if(a.test(t)){var i=n.pid;o[t]=function(){var n=e.format.apply(e,arguments);console.error("%s %d: %s",t,i,n)}}else o[t]=function(){}}return o[t]},e.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function d(t,i,n){if(t.customInspect&&i&&A(i.inspect)&&i.inspect!==e.inspect&&!(i.constructor&&i.constructor.prototype===i)){var s,r,o=i.inspect(n,t);return!x(o)&&(o=d(t,o,n)),o}var a=function(t,e){if(b(e))return t.stylize("undefined","undefined");if(x(e)){var i="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(i,"string")}return y(e)?t.stylize(""+e,"number"):v(e)?t.stylize(""+e,"boolean"):m(e)?t.stylize("null","null"):void 0}(t,i);if(a)return a;var h=Object.keys(i);var l=(s={},h.forEach(function(t,e){s[t]=!0}),s);if(t.showHidden&&(h=Object.getOwnPropertyNames(i)),E(i)&&(h.indexOf("message")>=0||h.indexOf("description")>=0))return f(i);if(0===h.length){if(A(i)){var u=i.name?": "+i.name:"";return t.stylize("[Function"+u+"]","special")}if(w(i))return t.stylize(RegExp.prototype.toString.call(i),"regexp");if(S(i))return t.stylize(Date.prototype.toString.call(i),"date");if(E(i))return f(i)}var c="",T=!1,_=["{","}"];if(g(i)&&(T=!0,_=["[","]"]),A(i)&&(c=" [Function"+(i.name?": "+i.name:"")+"]"),w(i)&&(c=" "+RegExp.prototype.toString.call(i)),S(i)&&(c=" "+Date.prototype.toUTCString.call(i)),E(i)&&(c=" "+f(i)),0===h.length&&(!T||0==i.length))return _[0]+c+_[1];if(n<0)return w(i)?t.stylize(RegExp.prototype.toString.call(i),"regexp"):t.stylize("[Object]","special");return t.seen.push(i),r=T?function(t,e,i,n,s){for(var r=[],o=0,a=e.length;o=0&&n++,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?i[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+i[1]:i[0]+e+" "+t.join(", ")+" "+i[1]}(r,c,_)}function f(t){return"["+Error.prototype.toString.call(t)+"]"}function p(t,e,i,n,s,r){var o,a,h;if((h=Object.getOwnPropertyDescriptor(e,s)||{value:e[s]}).get?a=h.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):h.set&&(a=t.stylize("[Setter]","special")),!O(n,s)&&(o="["+s+"]"),!a&&(0>t.seen.indexOf(h.value)?(a=m(i)?d(t,h.value,null):d(t,h.value,i-1)).indexOf("\n")>-1&&(a=r?a.split("\n").map(function(t){return" "+t}).join("\n").slice(2):"\n"+a.split("\n").map(function(t){return" "+t}).join("\n")):a=t.stylize("[Circular]","special")),b(o)){if(r&&s.match(/^\d+$/))return a;(o=JSON.stringify(""+s)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.slice(1,-1),o=t.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=t.stylize(o,"string"))}return o+": "+a}function g(t){return Array.isArray(t)}function v(t){return"boolean"==typeof t}function m(t){return null===t}e.types=i("5955"),e.isArray=g,e.isBoolean=v,e.isNull=m;function y(t){return"number"==typeof t}function x(t){return"string"==typeof t}e.isNullOrUndefined=function(t){return null==t},e.isNumber=y,e.isString=x;function b(t){return void 0===t}function w(t){return T(t)&&"[object RegExp]"===_(t)}function T(t){return"object"==typeof t&&null!==t}function S(t){return T(t)&&"[object Date]"===_(t)}function E(t){return T(t)&&("[object Error]"===_(t)||t instanceof Error)}function A(t){return"function"==typeof t}e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=b,e.isRegExp=w,e.types.isRegExp=w,e.isObject=T,e.isDate=S,e.types.isDate=S,e.isError=E,e.types.isNativeError=E,e.isFunction=A;function _(t){return Object.prototype.toString.call(t)}function C(t){return t<10?"0"+t.toString(10):t.toString(10)}e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=i("384");var P=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){var t,i;console.log("%s - %s",(i=[C((t=new Date).getHours()),C(t.getMinutes()),C(t.getSeconds())].join(":"),[t.getDate(),P[t.getMonth()],i].join(" ")),e.format.apply(e,arguments))},e.inherits=i("5717"),e._extend=function(t,e){if(!e||!T(e))return t;for(var i=Object.keys(e),n=i.length;n--;)t[i[n]]=e[i[n]];return t};var M="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function R(t,e){if(!t){var i=Error("Promise was rejected with a falsy value");i.reason=t,t=i}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw TypeError('The "original" argument must be of type Function');if(M&&t[M]){var e=t[M];if("function"!=typeof e)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,M,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,i,n=new Promise(function(t,n){e=t,i=n}),s=[],r=0;r=e.f?r():t.fonts.load(T(a=e.a)+" "+a.f+"00 300px "+b(a.c),e.h).then(function(t){1<=t.length?n():setTimeout(o,25)},function(){r()})}()}),r=null;Promise.race([new Promise(function(t,i){r=setTimeout(i,e.f)}),n]).then(function(){r&&(clearTimeout(r),r=null),e.g(e.a)},function(){e.j(e.a)})};var L={D:"serif",C:"sans-serif"},F=null;function k(){if(null===F){var t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent);F=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))}return F}function D(t,e,i){for(var n in L)if(L.hasOwnProperty(n)&&e===t.f[L[n]]&&i===t.f[L[n]])return!0;return!1}function I(t){var e,i=t.g.a.offsetWidth,r=t.h.a.offsetWidth;(e=i===t.f.serif&&r===t.f["sans-serif"])||(e=k()&&D(t,i,r)),e?s()-t.A>=t.w?k()&&D(t,i,r)&&(null===t.u||t.u.hasOwnProperty(t.a.c))?B(t,t.v):B(t,t.B):function(t){setTimeout(n(function(){I(this)},t),50)}(t):B(t,t.v)}R.prototype.start=function(){this.f.serif=this.j.a.offsetWidth,this.f["sans-serif"]=this.m.a.offsetWidth,this.A=s(),I(this)};function B(t,e){setTimeout(n(function(){l(this.g.a),l(this.h.a),l(this.j.a),l(this.m.a),e(this.a)},t),0)}function N(t,e,i){this.c=t,this.a=e,this.f=0,this.m=this.j=!1,this.s=i}var U=null;function z(t){0==--t.f&&t.j&&(t.m?((t=t.a).g&&u(t.f,[t.a.c("wf","active")],[t.a.c("wf","loading"),t.a.c("wf","inactive")]),A(t,"active")):E(t.a))}function X(t){this.j=t,this.a=new _,this.h=0,this.f=this.g=!0}N.prototype.g=function(t){var e=this.a;e.g&&u(e.f,[e.a.c("wf",t.c,w(t).toString(),"active")],[e.a.c("wf",t.c,w(t).toString(),"loading"),e.a.c("wf",t.c,w(t).toString(),"inactive")]),A(e,"fontactive",t),this.m=!0,z(this)},N.prototype.h=function(t){var e=this.a;if(e.g){var i=c(e.f,e.a.c("wf",t.c,w(t).toString(),"active")),n=[],s=[e.a.c("wf",t.c,w(t).toString(),"loading")];i||n.push(e.a.c("wf",t.c,w(t).toString(),"inactive")),u(e.f,n,s)}A(e,"fontinactive",t),z(this)},X.prototype.load=function(t){this.c=new r(this.j,t.context||this.j),this.g=!1!==t.events,this.f=!1!==t.classes,function(t,e,i){var s,r=[],o=i.timeout;(s=e).g&&u(s.f,[s.a.c("wf","loading")]),A(s,"loading");var r=function(t,e,i){var n,s=[];for(n in e)if(e.hasOwnProperty(n)){var r=t.c[n];r&&s.push(r(e[n],i))}return s}(t.a,i,t.c),a=new N(t.c,e,o);for(t.h=r.length,e=0,i=r.length;e-1?e:"Object"===e&&m(t)}return a?v(t):null}},3898:function(t,e,i){"use strict";i.r(e);var n=i("2260"),s=i("6222"),r=i("1577"),o={type:n.AUTO,scale:{mode:n.Scale.FIT,parent:"game-app",width:1280,height:720},dom:{createContainer:!0},parent:"game-app",plugins:{global:[{key:"rexKawaseBlurPipeline",plugin:r.default,start:!0}]},scene:s.Scenes};new n.Game(o)},5554:function(t,e,i){"use strict";i.r(e),i.d(e,{Band:function(){return s}});function n(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var s=function t(e,i,s){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,t),n(this,"startBeat",void 0),n(this,"endBeat",void 0),n(this,"image",void 0),this.startBeat=e,this.endBeat=i,this.image=s}},7885:function(t,e,i){"use strict";i.r(e),i.d(e,{Chart:function(){return o}});var n=i("4076");function s(t,e){for(var i=0;it.length)&&(e=t.length);for(var i=0,n=Array(e);i=1&&R<=2?G=361+186*(R-1):R>=4&&R<=5&&(G=361+186*(R-2)):5===i?R>=1&&R<=5&&(G=343+148.5*(R-1)):6===i?R<=2?G=330+124*R:R>=4&&(G=330+124*(R-1)):7===i&&(G=322+106*R),"rectangle"===u.noteType?(B="note-rectangle-1",U="longnote-1",z=({4:214,5:170,6:139,7:119})[i],X=40,Y=z,1===R||5===R?(B="note-rectangle-2",U="longnote-2"):3===R?(B="note-rectangle-3",U="longnote-3"):(B="note-rectangle-1",U="longnote-1"),V=!k):"circle"===u.noteType?(B=k||F?"note-circle-3":"note-circle-1",U="longnote-circle",z=100,X=100,Y=100,V=!0):"line"===u.noteType&&(k||F?(B="note-line-3",N="note-line-light-3"):(B="note-line-1",N="note-line-light-1"),U="longnote-line",z=({4:246,5:195,6:160,7:137})[i],X=60,Y=({4:185,5:147,6:120,7:103})[i]),k&&T[R]&&S[R]!==I){T[R]=!1;var j=new n.Band(S[R],I,t.add.image(G,-100,U).setDisplaySize(Y,0).setOrigin(.5,0).setDepth(-1).setAlpha(1));this.longNoteBands[R].push(j),S[R]=-1}var W=new a.Note(I,h.Timing.fromBMSChart(e.bmsChart).beatToSeconds(I),L,t.add.image(G,-100,B).setDisplaySize(z,X).setDepth(1).setVisible(V),null!==N?t.add.image(G,-100,N).setDisplaySize(z,X).setDepth(2):null,D,!1,F,k);D?this.bgmLane.push(W):R>=0&&R<=7&&(this.lanes[R].push(W),this.lastBeat=Math.max(this.lastBeat,I)),R>=0&&R<=7&&(!Object.prototype.hasOwnProperty.call(E,I)&&(E[I]=[G,G]),E[I][0]=Math.min(E[I][0],G),E[I][1]=Math.max(E[I][1],G))}}catch(t){_=!0,C=t}finally{try{!A&&null!=O.return&&O.return()}finally{if(_)throw C}}var H=!0,K=!1,q=void 0;try{for(var J,Z=Object.entries(E)[Symbol.iterator]();!(H=(J=Z.next()).done);H=!0){var $=d(J.value,2),Q=$[0],tt=d($[1],2),te=tt[0],ti=tt[1];if(ti!==te){var tn=new s.EachLine(parseFloat(Q),t.add.image(te,-100,"each-line").setDisplaySize(ti-te,10).setOrigin(0,.5).setDepth(-2).setVisible("rectangle"!==u.noteType));this.eachLines.push(tn)}}}catch(t){K=!0,q=t}finally{try{!H&&null!=Z.return&&Z.return()}finally{if(K)throw q}}var ts=!0,tr=!1,to=void 0;try{for(var ta,th=Array(7).keys()[Symbol.iterator]();!(ts=(ta=th.next()).done);ts=!0){var tl=ta.value;this.lanes[tl].sort(function(t,e){return t.beat-e.beat})}}catch(t){tr=!0,to=t}finally{try{!ts&&null!=th.return&&th.return()}finally{if(tr)throw to}}this.bgmLane.sort(function(t,e){return t.beat-e.beat}),this.lastBeat+=.1;var tu=!0,tc=!1,td=void 0;try{for(var tf,tp=Array(1e3).keys()[Symbol.iterator]();!(tu=(tf=tp.next()).done);tu=!0){var tg=tf.value;this.measures.push(new o.Measure(e.bmsChart.timeSignatures.measureToBeat(tg,0),t.add.rectangle(640,-10,747,2,10066329).setDepth(-3)))}}catch(t){tc=!0,td=t}finally{try{!tu&&null!=tp.return&&tp.return()}finally{if(tc)throw td}}this.judgeMeters=[]}return t=l,e=[{key:"update",value:function(t,e,i,n,s){var r=!0,o=!1,a=void 0;try{for(var h,l=this.bgmLane[Symbol.iterator]();!(r=(h=l.next()).done);r=!0){var u=h.value;if(u.sec=640&&m.rectangle.setVisible(!1)}}catch(t){f=!0,p=t}finally{try{!c&&null!=v.return&&v.return()}finally{if(f)throw p}}var y=!0,x=!1,b=void 0;try{for(var w,T=this.eachLines[Symbol.iterator]();!(y=(w=T.next()).done);y=!0){var S=w.value;S.rectangle.y=640+(e-S.beat)*n,S.rectangle.y>=640&&S.rectangle.setVisible(!1)}}catch(t){x=!0,b=t}finally{try{!y&&null!=T.return&&T.return()}finally{if(x)throw b}}var E=!0,A=!1,_=void 0;try{for(var C,P=Array(7).keys()[Symbol.iterator]();!(E=(C=P.next()).done);E=!0){var O=C.value,M=!0,R=!1,L=void 0;try{for(var F,k=this.longNoteBands[O][Symbol.iterator]();!(M=(F=k.next()).done);M=!0){var D=F.value;D.image.displayHeight=Math.max((D.endBeat-D.startBeat+Math.min(D.startBeat-e,0))*n,0),D.image.y=640+Math.min((e-D.endBeat)*n,0)}}catch(t){R=!0,L=t}finally{try{!M&&null!=k.return&&k.return()}finally{if(R)throw L}}var I=!0,B=!1,N=void 0;try{for(var U,z=this.lanes[O].entries()[Symbol.iterator]();!(I=(U=z.next()).done);I=!0){var X=d(U.value,2),Y=X[0],G=X[1];if(G.image.y=640+Math.min((e-G.beat)*n,0),!G.isJudged&&(!G.isLongEnd&&G.sec+this.judgeRanges.slice(-1)[0]/1e3this.lastBeat}},{key:"score",get:function(){var t=0,e=0,i=!0,n=!1,s=void 0;try{for(var r,o=[,,,,,].keys()[Symbol.iterator]();!(i=(r=o.next()).done);i=!0){var a=r.value;e+=this.judges[a]}}catch(t){n=!0,s=t}finally{try{!i&&null!=o.return&&o.return()}finally{if(n)throw s}}var h=!0,l=!1,u=void 0;try{for(var c,d=[,,,,,].keys()[Symbol.iterator]();!(h=(c=d.next()).done);h=!0){var f=c.value;t+=this.judges[f]*this.scoreCoefficients[f]}}catch(t){l=!0,u=t}finally{try{!h&&null!=d.return&&d.return()}finally{if(l)throw u}}return 0===e&&(e=1),t/e*100}}],u(t.prototype,e),i&&u(t,i),l}()},4019:function(t,e,i){"use strict";i.r(e),i.d(e,{DebugGUI:function(){return o}});var n=i("7637");function s(t,e){for(var i=0;i=18?i=3137506:1e3*e<=-18&&(i=15020261),this.rectangle=t.add.rectangle(640-1200*e,360,1,30,i).setDepth(20)}return t=r,e=[{key:"update",value:function(){this.rectangle.setAlpha(1-(new Date().getTime()-this.judgedTime)/5e3)}}],n(t.prototype,e),i&&n(t,i),r}()},6361:function(t,e,i){"use strict";i.r(e),i.d(e,{KeySoundPlayer:function(){return o}});var n=i("4076");function s(t,e){for(var i=0;i=11&&e<=13)return"".concat(this.rank,"th");if(1===t)return"".concat(this.rank,"st");if(2===t)return"".concat(this.rank,"nd");else if(3===t)return"".concat(this.rank,"rd");else return"".concat(this.rank,"th")}}],n(t.prototype,e),i&&n(t,i),r}()},4141:function(t,e,i){"use strict";i.r(e),i.d(e,{isExhibitionMode:function(){return n}});var n=function(){return null!==new URLSearchParams(window.location.search).get("exhibition")}},4263:function(t,e,i){"use strict";function n(t,e,i,n,s,r,o){try{var a=t[r](o),h=a.value}catch(t){i(t);return}a.done?e(h):Promise.resolve(h).then(n,s)}i.r(e),i.d(e,{retryFetch:function(){return o}});var s,r,o=(r=(s=function(t){var e,i,n,s=arguments;return function(t,e){var i,n,s,r,o={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(i)throw TypeError("Generator is already executing.");for(;o;)try{if(i=1,n&&(s=2&r[0]?n.return:r[0]?n.throw||((s=n.return)&&s.call(n),0):n.next)&&!(s=s.call(n,r[1])).done)return s;switch(n=0,s&&(r=[2&r[0],s.value]),r[0]){case 0:case 1:s=r;break;case 4:return o.label++,{value:r[1],done:!1};case 5:o.label++,n=r[1],r=[0];continue;case 7:r=o.ops.pop(),o.trys.pop();continue;default:if(!(s=(s=o.trys).length>0&&s[s.length-1])&&(6===r[0]||2===r[0])){o=0;continue}if(3===r[0]&&(!s||r[1]>s[0]&&r[1]1&&void 0!==s[1]?s[1]:void 0,i=s.length>2&&void 0!==s[2]?s[2]:2,r.label=1;case 1:return r.trys.push([1,3,,5]),[4,fetch(t,e)];case 2:case 4:return[2,r.sent()];case 3:if(n=r.sent(),1===i)throw n;return[4,o(t,e,i-1)];case 5:return[2]}})},function(){var t=this,e=arguments;return new Promise(function(i,r){var o=s.apply(t,e);function a(t){n(o,i,r,a,h,"next",t)}function h(t){n(o,i,r,a,h,"throw",t)}a(void 0)})}),function(t){return r.apply(this,arguments)})},5158:function(t,e,i){"use strict";i.r(e),i.d(e,{ConfigScene:function(){return l}});var n=i("9010");function s(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r(t,e){for(var i=0;i0&&s[s.length-1])&&(6===r[0]||2===r[0])){o=0;continue}if(3===r[0]&&(!s||r[1]>s[0]&&r[1]0&&t<=1?1-t:0},duration:100,paused:!1,onComplete:function(){t.comboText.setY(180)}}),this.scoreText=this.add.text(640,100,"0.00%",{fontFamily:"Bungee",fontSize:"80px",color:"#888888",align:"center"}).setOrigin(.5).setDepth(0).setAlpha(.5).setScale(.5),this.startText=this.add.text(640,380,"GET READY...",{fontFamily:"Bungee",fontSize:"120px",color:"#fafafa",align:"center"}).setShadow(0,0,"#111111",20,!0,!0).setOrigin(.5).setDepth(10).setAlpha(1).setScale(.5),this.keyFlashImages=[],this.keyFlashTweens=[],this.holdParticleEmitters=[],this.inputZones=[],this.keyLabels=[];var u=!0,c=!1,d=void 0;try{for(var f,p=this,g=Array(7).keys()[Symbol.iterator]();!(u=(f=g.next()).done);u=!0)!function(){var e=f.value,i=-1280,n={4:186,5:148.5,6:124,7:106};4===p.playConfig.key?e>=1&&e<=2?i=361+186*(e-1):e>=4&&e<=5&&(i=361+186*(e-2)):5===p.playConfig.key?e>=1&&e<=5&&(i=343+148.5*(e-1)):6===p.playConfig.key?e<=2?i=330+124*e:e>=4&&(i=330+124*(e-1)):7===p.playConfig.key&&(i=322+106*e),p.keyFlashImages.push(p.add.image(i,720,"key-flash").setOrigin(.5,1).setDisplaySize(900/p.playConfig.key*.81,720).setVisible(!1).setDepth(-2)),p.keyFlashTweens.push(p.tweens.add({persist:!0,targets:p.add.image(i,720,"key-flash").setOrigin(.5,1).setDisplaySize(900/p.playConfig.key*.81,720).setDepth(-2),scaleX:{value:0,duration:80,ease:"Linear"},ease:"Quintic.Out",paused:!1})),p.holdParticleEmitters.push(p.add.particles(i-n[p.playConfig.key]/2,640,"particle-yellow",{x:0,y:0,angle:{min:265,max:275},speed:400,emitZone:{type:"random",source:new Phaser.Geom.Rectangle(0,0,n[p.playConfig.key],1),quantity:48,yoyo:!1},gravityY:-200,scale:{start:.2,end:0},lifespan:{min:100,max:350},quantity:1.5,blendMode:"ADD",emitting:!1})),p.inputZones.push(p.add.zone(i,720,n[p.playConfig.key],720).setInteractive().setOrigin(.5,1).on("pointerover",function(){!t.isTouching[e]&&(t.isTouching[e]=!0,t.judgeKeyDown(e))}).on("pointerout",function(){t.isTouching[e]=!1,t.keyFlashTweens[e].restart()})),p.keyLabels.push(p.add.text(i,680,["S","D","F","SPACE","J","K","L"][e],{fontFamily:"Bungee",fontSize:"50px",color:"#fafafa",align:"center"}).setOrigin(.5).setDepth(0).setAlpha(.6).setScale(.5))}()}catch(t){c=!0,d=t}finally{try{!u&&null!=g.return&&g.return()}finally{if(c)throw d}}this.debugText=this.add.text(0,450,"").setVisible(!1),this.musicFrame=this.add.image(100,80,"frame-vertical").setOrigin(.5,0).setScale(0,.67).setDepth(1),this.musicFrameLabelText=this.add.text(100,110,"MUSIC INFO",{fontFamily:"Oswald",fontSize:"36px",color:"#dddddd"}).setOrigin(.5,.5).setDepth(4).setScale(.5).setAlpha(0),this.titleText=this.add.text(30,300,"",{fontFamily:"Noto Sans JP",fontSize:"26px",color:"#f0f0f0"}).setShadow(0,0,"#080808",4,!1,!0).setOrigin(0,.5).setDepth(10).setScale(.5).setAlpha(0),this.artistText=this.add.text(30,320,"",{fontFamily:"Noto Sans JP",fontSize:"20px",color:"#f0f0f0"}).setShadow(0,0,"#080808",4,!1,!0).setOrigin(0,.5).setDepth(10).setScale(.5).setAlpha(0),this.jacketImage=this.add.image(100,210,"jacket-no-image").setDepth(9).setDisplaySize(142,142).setAlpha(0),void 0!==this.music.jacket&&this.jacketImage.setTexture("jacket-".concat(this.music.folder,"/").concat(this.music.jacket)).setDisplaySize(142,142),this.keyIcon=this.add.image(100,380,"key-icon-".concat(this.playConfig.key)).setOrigin(.5,.5).setDepth(10).setScale(.7).setAlpha(0),this.diffIcon=this.add.image(100,410,"diff-icon-".concat(this.playConfig.difficulty)).setOrigin(.5,.5).setDepth(10).setScale(.7).setAlpha(0),this.backButton=this.add.image(10,10,"icon-back").setOrigin(0,0).setDepth(10).setScale(.6).setAlpha(.5).setInteractive({useHandCursor:!0}).once("pointerdown",function(){t.sound.play("cancel"),t.cameras.main.fadeOut(500),t.hasRetired=!0}).on("pointerover",function(){t.backButton.setAlpha(1)}).on("pointerout",function(){t.backButton.setAlpha(.5)}),this.cameras.main.once(Phaser.Cameras.Scene2D.Events.FADE_OUT_COMPLETE,function(){void 0!==t.chartPlayer&&t.chartPlayer.hasFinished(t.beat)&&void 0!==t.chartPlayer?t.scene.start("result",{playResult:new l.PlayResult({music:t.music,playConfig:t.playConfig,judges:t.chartPlayer.judges,score:t.chartPlayer.score,maxCombo:Math.max(t.chartPlayer.maxCombo,t.chartPlayer.combo)})}):t.hasRetired&&t.scene.start("select",{playConfig:t.playConfig})}),this.normalTapSounds=[];var v=!0,m=!1,y=void 0;try{for(var x,b=[,,,,,].keys()[Symbol.iterator]();!(v=(x=b.next()).done);v=!0){var w=x.value;this.normalTapSounds.push(this.sound.add("normal-tap-".concat(w+1)))}}catch(t){m=!0,y=t}finally{try{!v&&null!=b.return&&b.return()}finally{if(m)throw y}}this.load.on("progress",function(e){t.debugText.setText("".concat(e))}),this.load.on("complete",function(){t.isLoading&&!t.hasLoaded&&(t.hasLoaded=!0,t.loadEndTime=new Date,t.cameras.main.fadeIn(500),t.tweens.add({targets:[t.laneMainFrame,t.laneMainFrameLight,t.laneBackground,t.laneBackgroundLight],delay:100,scaleX:{value:.67,duration:600,ease:Phaser.Math.Easing.Cubic.Out},onComplete:function(){t.tweens.add({targets:[t.judgeBar,t.judgeBarLight],alpha:{value:1,duration:400}}),t.tweens.add({targets:t.musicFrame,scaleX:{value:.67,duration:400,ease:Phaser.Math.Easing.Cubic.Out},onComplete:function(){t.tweens.add({targets:[t.musicFrameLabelText,t.jacketImage,t.titleText,t.artistText,t.keyIcon,t.diffIcon],alpha:{value:1,duration:400}})}})}}),t.tweens.add({targets:[t.backgroundMask],delay:100,scaleX:{value:1,duration:600,ease:Phaser.Math.Easing.Cubic.Out}}))})}},{key:"update",value:function(t,e){if(this.laneMainFrameLight.setAlpha(1-this.beat%1%1*.6),this.laneBackgroundLight.setAlpha(.5+.125*(Math.sin(1*Math.PI*this.beat)+1)),this.judgeBarLight.setAlpha(this.beat>=0?.2+.3*(Math.cos(1*Math.PI*this.beat)+1):0),this.judgeBar.setTint(12303291),this.hasLoaded&&void 0!==this.loadEndTime&&void 0!==this.chartPlayer){if(this.screenMask.setVisible(!1),this.latestJudgeSec!==this.chartPlayer.latestJudgeSec&&void 0!==this.chartPlayer.latestJudgeSec&&(this.scoreText.setText("".concat(this.chartPlayer.score.toFixed(2),"%")),this.comboText.setText("".concat(this.chartPlayer.combo)),this.comboTween.restart(),this.latestJudgeSec=this.chartPlayer.latestJudgeSec,this.judgeText.setTexture("judge-".concat(this.chartPlayer.latestJudgeIndex)),this.judgeText.setVisible(!0),this.judgeTween.restart(),this.normalTapSounds[this.chartPlayer.latestJudgeIndex].play(),0!==this.chartPlayer.latestJudgeIndex?(this.judgeFSText.setTexture("judge-".concat(this.chartPlayer.latestJudgeDiff>0?"fast":"slow")),this.judgeFSText.setVisible(!0)):this.judgeFSText.setVisible(!1)),this.playingSec=(new Date().getTime()-this.loadEndTime.getTime()-3e3)/1e3,this.beat=this.chart.secondsToBeat(this.playingSec),this.chartPlayer.update(this,this.beat,this.playingSec,this.noteSpeed,this.keySoundPlayer),null!==this.keys){var i=!0,n=!1,s=void 0;try{for(var r,o=Array(7).keys()[Symbol.iterator]();!(i=(r=o.next()).done);i=!0){var a=r.value;this.keys[a].isDown||this.isTouching[a]?this.keyFlashImages[a].setVisible(!0):this.keyFlashImages[a].setVisible(!1)}}catch(t){n=!0,s=t}finally{try{!i&&null!=o.return&&o.return()}finally{if(n)throw s}}}if(0===this.chartPlayer.judges[3]&&0===this.chartPlayer.judges[4]?0===this.chartPlayer.judges[1]&&0===this.chartPlayer.judges[2]?this.laneBackgroundLight.setTexture("frame-back-light-yellow"):this.laneBackgroundLight.setTexture("frame-back-light-blue"):this.laneBackgroundLight.setTexture("frame-back-light-green"),this.chartPlayer.hasFinished(this.beat)&&!this.hasFadedOut&&(this.cameras.main.fadeOut(500),this.hasFadedOut=!0),null!==this.keys){var h=!0,l=!1,u=void 0;try{for(var c,d=Array(7).keys()[Symbol.iterator]();!(h=(c=d.next()).done);h=!0){var f=c.value;Phaser.Input.Keyboard.JustDown(this.keys[f])&&this.judgeKeyDown(f),Phaser.Input.Keyboard.JustUp(this.keys[f])&&this.keyFlashTweens[f].restart()}}catch(t){l=!0,u=t}finally{try{!h&&null!=d.return&&d.return()}finally{if(l)throw u}}}var p=!0,g=!1,v=void 0;try{for(var m,y=Array(7).keys()[Symbol.iterator]();!(p=(m=y.next()).done);p=!0){var x=m.value;this.chartPlayer.isHolds[x]&&(null===this.keys||null!==this.keys&&!this.keys[x].isDown)&&!this.isTouching[x]&&this.chartPlayer.judgeKeyHold(this.playingSec,x),this.holdParticleEmitters[x].emitting=this.chartPlayer.isHolds[x],this.chartPlayer.isHolds[x]&&t%130<=17&&this.addBomb(x)}}catch(t){g=!0,v=t}finally{try{!p&&null!=y.return&&y.return()}finally{if(g)throw v}}this.beat>-1&&(this.tweens.add({targets:this.startText,y:460,ease:"Linear",alpha:{value:0,duration:300,ease:"Linear"},duration:300,paused:!1}),this.tweens.add({targets:this.keyLabels,ease:"Linear",alpha:{value:0,duration:300,ease:"Linear"},duration:300,paused:!1})),this.debugText.setText("".concat(t,"\n\nFPS:").concat((1e3/e).toFixed(2)))}else this.screenMask.setVisible(!0)}},{key:"judgeKeyDown",value:function(t){void 0!==this.chartPlayer&&this.chartPlayer.judgeKeyDown(this,this.playingSec,t,this.keySoundPlayer)&&this.chartPlayer.latestJudgeIndex<=2&&this.addBomb(t)}},{key:"addBomb",value:function(t){var e=-1200;4===this.playConfig.key?t>=1&&t<=2?e=361+186*(t-1):t>=4&&t<=5&&(e=361+186*(t-2)):5===this.playConfig.key?t>=1&&t<=5&&(e=343+148.5*(t-1)):6===this.playConfig.key?t<=2?e=330+124*t:t>=4&&(e=330+124*(t-1)):7===this.playConfig.key&&(e=322+106*t),this.tweens.add({targets:this.add.image(e,640,"bomb-2").setDisplaySize(256,256).setAlpha(.5),alpha:{value:0,duration:280,ease:"Linear"},scale:{value:.9,duration:280,ease:"Linear"},angle:{value:30,duration:280,ease:"Linear"},paused:!1}),this.tweens.add({targets:this.add.image(e,640,"bomb-3").setDisplaySize(180,180),alpha:{value:0,duration:140,ease:"Linear"},scale:{value:.4,duration:110,ease:"Quintic.Out"},paused:!1}),this.tweens.add({targets:this.add.image(e,640,"bomb-1").setDisplaySize(196,196),alpha:{value:0,duration:120,ease:"Linear"},scale:{value:.7,duration:120,ease:"Linear"},paused:!1})}}],c(n.prototype,g),v&&c(n,v),y}(Phaser.Scene)},8242:function(t,e,i){"use strict";i.r(e),i.d(e,{ResultScene:function(){return m}});var n=i("4019"),s=i("6668"),r=i("4141"),o=i("4263");function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=Array(e);i0&&s[s.length-1])&&(6===r[0]||2===r[0])){o=0;continue}if(3===r[0]&&(!s||r[1]>s[0]&&r[1]=0?"+":"").concat(s.toFixed(2)," %"),{fontFamily:"Oswald",fontSize:"30px",color:s>=0?"#fafa00":"#fa0000",align:"center"}).setOrigin(1,.5).setAlpha(0),this.rankLabelText=this.add.text(550,545,"RANKING",{fontFamily:"Oswald",fontSize:"18px",color:"#888888",align:"center"}).setOrigin(0,.5).setAlpha(0),this.rankText=this.add.text(680,580,"Pending...",{fontFamily:"Oswald",fontSize:"30px",color:"#fafafa",align:"center"}).setOrigin(1,.5).setAlpha(0),this.rankingFrame=this.add.rectangle(1280,0,340,720,0).setAlpha(.3).setOrigin(1,0).setDepth(-2).setScale(1,0),this.tweens.add({targets:[this.rankingFrame],delay:250,scaleY:{value:1,duration:400,ease:Phaser.Math.Easing.Cubic.Out}}),this.rankingLine=this.add.rectangle(1110,50,340,2,4473924).setAlpha(1).setDepth(-1).setOrigin(.5,0).setScale(0,1),this.tweens.add({targets:[this.rankingLine],delay:450,scaleX:{value:1,duration:300,ease:Phaser.Math.Easing.Cubic.Out}}),this.rankingIndexTexts=[],this.rankingScoreTexts=[],this.rankingScreenNameTexts=[];var o="24px";this.rankingScoreLabelText=this.add.text(1080,10,"SCORE",{fontFamily:"Oswald",fontSize:o,color:"#bbbbbb",align:"right"}).setOrigin(1,0).setAlpha(0),this.rankingPlayerLabelText=this.add.text(1100,10,"PLAYER",{fontFamily:"Oswald",fontSize:o,color:"#bbbbbb",align:"left"}).setOrigin(0,0).setAlpha(0);var a=!0,h=!1,l=void 0;try{for(var c,d=Array(25).keys()[Symbol.iterator]();!(a=(c=d.next()).done);a=!0){var f=c.value,p=60+30*f;this.rankingIndexTexts.push(this.add.text(1010,p,"",{fontFamily:"Oswald",fontSize:o,color:"#888888",align:"left"}).setOrigin(0,0)),this.rankingScoreTexts.push(this.add.text(1140,p,"",{fontFamily:"Oswald",fontSize:o,color:"#fafafa",align:"right"}).setOrigin(1,0)),this.rankingScreenNameTexts.push(this.add.text(1160,p,"",{fontFamily:"Noto Sans JP",fontSize:o,color:"#fafafa",align:"left"}).setOrigin(0,0))}}catch(t){h=!0,l=t}finally{try{!a&&null!=d.return&&d.return()}finally{if(h)throw l}}this.line1=this.add.rectangle(300,385,320,2,4473924,30).setDepth(-1).setScale(0,1),this.line2=this.add.rectangle(300,605,320,2,4473924,30).setDepth(-1).setScale(0,1),this.tweens.add({targets:[this.line1,this.line2],delay:450,scaleX:{value:1,duration:300,ease:Phaser.Math.Easing.Cubic.Out}}),this.judgeTexts=[],this.judgeLabelTexts=[];var g=!0,m=!1,y=void 0;try{for(var x,b=[,,,,,].keys()[Symbol.iterator]();!(g=(x=b.next()).done);g=!0){var w=x.value;this.add.image(830,430+35*w,"judge-".concat(w)).setScale(.4).setOrigin(0===w?.03:0,.5).setAlpha(0),this.judgeLabelTexts.push(this.add.text(200,424+35*w,["PERFECT","GREAT","GOOD","BAD","MISS"][w],{fontFamily:"Oswald",fontSize:"20px",color:["#e530e5","#d8a10a","#3cc43c","#2f9ec6","#880aaa"][w],align:"center"}).setOrigin(0,.5).setAlpha(0)),this.judgeTexts.push(this.add.text(400,424+35*w,"".concat(this.playResult.judges[w]),{fontFamily:"Oswald",fontSize:"28px",color:"#fafafa",align:"center"}).setOrigin(1,.5).setAlpha(0))}}catch(t){m=!0,y=t}finally{try{!g&&null!=b.return&&b.return()}finally{if(m)throw y}}this.comboText=this.add.text(430,640,"".concat(this.playResult.maxCombo),{fontFamily:"Oswald",fontSize:"28px",color:"#fafafa",align:"center"}).setOrigin(1,.5).setAlpha(0),this.comboLabelText=this.add.text(170,640,"MAX COMBO",{fontFamily:"Oswald",fontSize:"20px",color:"#888888",align:"center"}).setOrigin(0,.5).setAlpha(0),this.tweens.add({targets:[this.titleFrame,this.detailFrame,this.subDetailFrame],delay:200,scaleY:{value:.67,duration:400,ease:Phaser.Math.Easing.Cubic.Out}}),this.tweens.add({targets:[this.titleText,this.artistText,this.noterText,this.keyIcon,this.diffIcon,this.musicIcon,this.artistIcon,this.noterIcon,void 0!==this.playResult.music.jacket?this.jacketImage:null,this.scoreText,this.scoreLabelText,this.oldScoreText,this.oldScoreDiffText,this.oldScoreLabelText,this.comboText,this.comboLabelText,this.rankText,this.rankLabelText,this.judgeTexts[0],this.judgeTexts[1],this.judgeTexts[2],this.judgeTexts[3],this.judgeTexts[4],this.judgeLabelTexts[0],this.judgeLabelTexts[1],this.judgeLabelTexts[2],this.judgeLabelTexts[3],this.judgeLabelTexts[4],this.rankingScoreLabelText,this.rankingPlayerLabelText],delay:700,alpha:{value:1,duration:150}}),this.backButton=this.add.image(10,10,"icon-back").setOrigin(0,0).setDepth(10).setScale(.6).setAlpha(.5).setInteractive({useHandCursor:!0}).once("pointerdown",function(){t.sound.play("cancel"),t.cameras.main.fadeOut(500)}).on("pointerover",function(){t.backButton.setAlpha(1)}).on("pointerout",function(){t.backButton.setAlpha(.5)}),this.tweetButton=this.add.image(790,500,"icon-twitter").setOrigin(0,0).setDepth(10).setScale(.8).setAlpha(.5).setVisible(!(0,r.isExhibitionMode)()).setInteractive({useHandCursor:!0}).on("pointerdown",function(){u(function(){var e;return v(this,function(i){switch(i.label){case 0:return t.sound.play("decide"),t.tweetButton.setAlpha(.5),t.copySnapshot(),[4,new Promise(function(t){return setTimeout(t,1e3)})];case 1:return i.sent(),e="https://twitter.com/intent/tweet?text="+encodeURIComponent("".concat(t.playResult.music.title," (").concat(t.playResult.playConfig.key,"KEYS - ").concat({1:"BEGINNER",2:"STANDARD",3:"ADVANCED",4:"EXTRA"}[t.playResult.playConfig.difficulty],") ").concat(t.playResult.score.toFixed(2),"%\n(画像は自動で挿入されません。スクリーンショットをクリップボードからペーストし、この文章は消してください。)\n#RICORA_Beats\nhttps://beats-ir.tus-ricora.com/")),null==window.open(e,"_blank")&&(location.href=e),[2]}})})()}).on("pointerover",function(){t.tweetButton.setAlpha(1)}).on("pointerout",function(){t.tweetButton.setAlpha(.5)}),this.snapButton=this.add.image(790,600,"icon-camera").setOrigin(0,0).setDepth(10).setScale(.8).setAlpha(.5).setVisible(!(0,r.isExhibitionMode)()).setInteractive({useHandCursor:!0}).on("pointerdown",function(){t.sound.play("decide"),t.snapButton.setAlpha(.5),t.copySnapshot()}).on("pointerover",function(){t.snapButton.setAlpha(1)}).on("pointerout",function(){t.snapButton.setAlpha(.5)}),this.cameras.main.once(Phaser.Cameras.Scene2D.Events.FADE_OUT_COMPLETE,function(){t.scene.start("select",{playConfig:t.playResult.playConfig})}),this.cameras.main.fadeIn(500)}},{key:"update",value:function(t,e){switch(this.particleEmitter.particleX=this.input.x,this.particleEmitter.particleY=this.input.y,Math.floor(t/40)%4){case 0:this.judgeLabelTexts[0].setColor("#e530e5");break;case 1:this.judgeLabelTexts[0].setColor("#ffffff");break;case 2:this.judgeLabelTexts[0].setColor("#2fdfe2");break;case 3:this.judgeLabelTexts[0].setColor("#ffffff")}}},{key:"copySnapshot",value:function(){this.renderer.snapshot(function(t){var e,i;if(e=t,null!=(i=HTMLImageElement)&&"undefined"!=typeof Symbol&&i[Symbol.hasInstance]?!!i[Symbol.hasInstance](e):e instanceof i)navigator.clipboard.write([new ClipboardItem({"image/png":function(t){for(var e=atob(t),i=[],n=0;nt.length)&&(e=t.length);for(var i=0,n=Array(e);i0&&s[s.length-1])&&(6===r[0]||2===r[0])){o=0;continue}if(3===r[0]&&(!s||r[1]>s[0]&&r[1]0&&s[s.length-1])&&(6===r[0]||2===r[0])){o=0;continue}if(3===r[0]&&(!s||r[1]>s[0]&&r[1]