fix build
This commit is contained in:
1 parent
76e6711755
commit
497a24ebd9
118 files changed
+150523
-6
No files matched your search
Vendored
+1
@@ -0,0 +1 @@
|
||||
#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50;margin-top:60px}
|
||||
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="favicon.svg?v2" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<script src="ogvjs-1.8.6/ogv.js"></script>
|
||||
<script src="./yuv-canvas-1.2.6.js"></script>
|
||||
<title>Vite App</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
var Ei=Object.defineProperty;var ki=(e,u,r)=>u in e?Ei(e,u,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[u]=r;var v=(e,u,r)=>(ki(e,typeof u!="symbol"?u+"":u,r),r);import{m as o,l as Bu,s as hi,Q as Fi,a as Di,b as Pu,P as yi}from"./vendor.js";const xi=function(){const u=document.createElement("link").relList;if(u&&u.supports&&u.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const t of i)if(t.type==="childList")for(const s of t.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(i){const t={};return i.integrity&&(t.integrity=i.integrity),i.referrerpolicy&&(t.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?t.credentials="include":i.crossorigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function n(i){if(i.ep)return;i.ep=!0;const t=r(i);fetch(i.href,t)}};xi();var B=(e=>(e[e.Unknown=0]="Unknown",e[e.Alt=1]="Alt",e[e.Backspace=2]="Backspace",e[e.CapsLock=3]="CapsLock",e[e.Control=4]="Control",e[e.Delete=5]="Delete",e[e.DownArrow=6]="DownArrow",e[e.End=7]="End",e[e.Escape=8]="Escape",e[e.F1=9]="F1",e[e.F10=10]="F10",e[e.F11=11]="F11",e[e.F12=12]="F12",e[e.F2=13]="F2",e[e.F3=14]="F3",e[e.F4=15]="F4",e[e.F5=16]="F5",e[e.F6=17]="F6",e[e.F7=18]="F7",e[e.F8=19]="F8",e[e.F9=20]="F9",e[e.Home=21]="Home",e[e.LeftArrow=22]="LeftArrow",e[e.Meta=23]="Meta",e[e.Option=24]="Option",e[e.PageDown=25]="PageDown",e[e.PageUp=26]="PageUp",e[e.Return=27]="Return",e[e.RightArrow=28]="RightArrow",e[e.Shift=29]="Shift",e[e.Space=30]="Space",e[e.Tab=31]="Tab",e[e.UpArrow=32]="UpArrow",e[e.Numpad0=33]="Numpad0",e[e.Numpad1=34]="Numpad1",e[e.Numpad2=35]="Numpad2",e[e.Numpad3=36]="Numpad3",e[e.Numpad4=37]="Numpad4",e[e.Numpad5=38]="Numpad5",e[e.Numpad6=39]="Numpad6",e[e.Numpad7=40]="Numpad7",e[e.Numpad8=41]="Numpad8",e[e.Numpad9=42]="Numpad9",e[e.Cancel=43]="Cancel",e[e.Clear=44]="Clear",e[e.Menu=45]="Menu",e[e.Pause=46]="Pause",e[e.Kana=47]="Kana",e[e.Hangul=48]="Hangul",e[e.Junja=49]="Junja",e[e.Final=50]="Final",e[e.Hanja=51]="Hanja",e[e.Kanji=52]="Kanji",e[e.Convert=53]="Convert",e[e.Select=54]="Select",e[e.Print=55]="Print",e[e.Execute=56]="Execute",e[e.Snapshot=57]="Snapshot",e[e.Insert=58]="Insert",e[e.Help=59]="Help",e[e.Sleep=60]="Sleep",e[e.Separator=61]="Separator",e[e.Scroll=62]="Scroll",e[e.NumLock=63]="NumLock",e[e.RWin=64]="RWin",e[e.Apps=65]="Apps",e[e.Multiply=66]="Multiply",e[e.Add=67]="Add",e[e.Subtract=68]="Subtract",e[e.Decimal=69]="Decimal",e[e.Divide=70]="Divide",e[e.Equals=71]="Equals",e[e.NumpadEnter=72]="NumpadEnter",e[e.RShift=73]="RShift",e[e.RControl=74]="RControl",e[e.RAlt=75]="RAlt",e[e.CtrlAltDel=100]="CtrlAltDel",e[e.LockScreen=101]="LockScreen",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED",e))(B||{});function ru(e){switch(e){case 0:case"Unknown":return 0;case 1:case"Alt":return 1;case 2:case"Backspace":return 2;case 3:case"CapsLock":return 3;case 4:case"Control":return 4;case 5:case"Delete":return 5;case 6:case"DownArrow":return 6;case 7:case"End":return 7;case 8:case"Escape":return 8;case 9:case"F1":return 9;case 10:case"F10":return 10;case 11:case"F11":return 11;case 12:case"F12":return 12;case 13:case"F2":return 13;case 14:case"F3":return 14;case 15:case"F4":return 15;case 16:case"F5":return 16;case 17:case"F6":return 17;case 18:case"F7":return 18;case 19:case"F8":return 19;case 20:case"F9":return 20;case 21:case"Home":return 21;case 22:case"LeftArrow":return 22;case 23:case"Meta":return 23;case 24:case"Option":return 24;case 25:case"PageDown":return 25;case 26:case"PageUp":return 26;case 27:case"Return":return 27;case 28:case"RightArrow":return 28;case 29:case"Shift":return 29;case 30:case"Space":return 30;case 31:case"Tab":return 31;case 32:case"UpArrow":return 32;case 33:case"Numpad0":return 33;case 34:case"Numpad1":return 34;case 35:case"Numpad2":return 35;case 36:case"Numpad3":return 36;case 37:case"Numpad4":return 37;case 38:case"Numpad5":return 38;case 39:case"Numpad6":return 39;case 40:case"Numpad7":return 40;case 41:case"Numpad8":return 41;case 42:case"Numpad9":return 42;case 43:case"Cancel":return 43;case 44:case"Clear":return 44;case 45:case"Menu":return 45;case 46:case"Pause":return 46;case 47:case"Kana":return 47;case 48:case"Hangul":return 48;case 49:case"Junja":return 49;case 50:case"Final":return 50;case 51:case"Hanja":return 51;case 52:case"Kanji":return 52;case 53:case"Convert":return 53;case 54:case"Select":return 54;case 55:case"Print":return 55;case 56:case"Execute":return 56;case 57:case"Snapshot":return 57;case 58:case"Insert":return 58;case 59:case"Help":return 59;case 60:case"Sleep":return 60;case 61:case"Separator":return 61;case 62:case"Scroll":return 62;case 63:case"NumLock":return 63;case 64:case"RWin":return 64;case 65:case"Apps":return 65;case 66:case"Multiply":return 66;case 67:case"Add":return 67;case 68:case"Subtract":return 68;case 69:case"Decimal":return 69;case 70:case"DividLine truncated
|
||||
<div id="connect" style="text-align: center"><table style="display: inline-block">
|
||||
<tr><td><span>Host: </span></td><td><input id="host" /></td></tr>
|
||||
<tr><td><span>Key: </span></td><td><input id="key" /></td></tr>
|
||||
<tr><td><span>Id: </span></td><td><input id="id" /></td></tr>
|
||||
<tr><td></td><td><button onclick="connect();">Connect</button></td></tr>
|
||||
</table></div>
|
||||
<div id="password" style="display: none;">
|
||||
<input type="password" id="password" />
|
||||
<button id="confirm" onclick="confirm()">Confirm</button>
|
||||
<button id="cancel" onclick="cancel();">Cancel</button>
|
||||
</div>
|
||||
<div id="status" style="display: none;">
|
||||
<div id="text" style="line-height: 2em"></div>
|
||||
<button id="cancel" onclick="cancel();">Cancel</button>
|
||||
</div>
|
||||
<div id="canvas" style="display: none;">
|
||||
<button id="cancel" onclick="cancel();">Cancel</button>
|
||||
<canvas id="player"></canvas>
|
||||
<canvas id="test-yuv-decoder-canvas"></canvas>
|
||||
</div>
|
||||
`;let e;window.init(),document.body.onload=()=>{const r=document.querySelector("#host");r.value=localStorage.getItem("custom-rendezvous-server");const n=document.querySelector("#id");n.value=localStorage.getItem("id");const i=document.querySelector("#key");i.value=localStorage.getItem("key"),e=YUVCanvas.attach(document.getElementById("player"))},window.connect=()=>{const r=document.querySelector("#host");localStorage.setItem("custom-rendezvous-server",r.value);const n=document.querySelector("#id");localStorage.setItem("id",n.value);const i=document.querySelector("#key");localStorage.setItem("key",i.value),(async()=>{const s=fi();s.setMsgbox(u),s.setDraw(l=>{mu(l),e.drawFrame(l)}),document.querySelector("div#status").style.display="block",document.querySelector("div#connect").style.display="none",document.querySelector("div#text").innerHTML="Connecting ...",await s.start(n.value)})()},window.cancel=()=>{vi(),document.querySelector("div#connect").style.display="block",document.querySelector("div#password").style.display="none",document.querySelector("div#status").style.display="none",document.querySelector("div#canvas").style.display="none"},window.confirm=()=>{const r=document.querySelector("input#password").value;r&&(document.querySelector("div#password").style.display="none",Eu().login(r))}}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
var commonjsGlobal=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function getAugmentedNamespace(nA){if(nA.__esModule)return nA;var H=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(nA).forEach(function(QA){var GA=Object.getOwnPropertyDescriptor(nA,QA);Object.defineProperty(H,QA,GA.get?GA:{enumerable:!0,get:function(){return nA[QA]}})}),H}var long=Long,wasm=null;try{wasm=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch{}function Long(nA,H,QA){this.low=nA|0,this.high=H|0,this.unsigned=!!QA}Long.prototype.__isLong__;Object.defineProperty(Long.prototype,"__isLong__",{value:!0});function isLong(nA){return(nA&&nA.__isLong__)===!0}Long.isLong=isLong;var INT_CACHE={},UINT_CACHE={};function fromInt(nA,H){var QA,GA,fA;return H?(nA>>>=0,(fA=0<=nA&&nA<256)&&(GA=UINT_CACHE[nA],GA)?GA:(QA=fromBits(nA,(nA|0)<0?-1:0,!0),fA&&(UINT_CACHE[nA]=QA),QA)):(nA|=0,(fA=-128<=nA&&nA<128)&&(GA=INT_CACHE[nA],GA)?GA:(QA=fromBits(nA,nA<0?-1:0,!1),fA&&(INT_CACHE[nA]=QA),QA))}Long.fromInt=fromInt;function fromNumber(nA,H){if(isNaN(nA))return H?UZERO:ZERO;if(H){if(nA<0)return UZERO;if(nA>=TWO_PWR_64_DBL)return MAX_UNSIGNED_VALUE}else{if(nA<=-TWO_PWR_63_DBL)return MIN_VALUE;if(nA+1>=TWO_PWR_63_DBL)return MAX_VALUE}return nA<0?fromNumber(-nA,H).neg():fromBits(nA%TWO_PWR_32_DBL|0,nA/TWO_PWR_32_DBL|0,H)}Long.fromNumber=fromNumber;function fromBits(nA,H,QA){return new Long(nA,H,QA)}Long.fromBits=fromBits;var pow_dbl=Math.pow;function fromString(nA,H,QA){if(nA.length===0)throw Error("empty string");if(nA==="NaN"||nA==="Infinity"||nA==="+Infinity"||nA==="-Infinity")return ZERO;if(typeof H=="number"?(QA=H,H=!1):H=!!H,QA=QA||10,QA<2||36<QA)throw RangeError("radix");var GA;if((GA=nA.indexOf("-"))>0)throw Error("interior hyphen");if(GA===0)return fromString(nA.substring(1),H,QA).neg();for(var fA=fromNumber(pow_dbl(QA,8)),SA=ZERO,N=0;N<nA.length;N+=8){var TA=Math.min(8,nA.length-N),JA=parseInt(nA.substring(N,N+TA),QA);if(TA<8){var MA=fromNumber(pow_dbl(QA,TA));SA=SA.mul(MA).add(fromNumber(JA))}else SA=SA.mul(fA),SA=SA.add(fromNumber(JA))}return SA.unsigned=H,SA}Long.fromString=fromString;function fromValue(nA,H){return typeof nA=="number"?fromNumber(nA,H):typeof nA=="string"?fromString(nA,H):fromBits(nA.low,nA.high,typeof H=="boolean"?H:nA.unsigned)}Long.fromValue=fromValue;var TWO_PWR_16_DBL=1<<16,TWO_PWR_24_DBL=1<<24,TWO_PWR_32_DBL=TWO_PWR_16_DBL*TWO_PWR_16_DBL,TWO_PWR_64_DBL=TWO_PWR_32_DBL*TWO_PWR_32_DBL,TWO_PWR_63_DBL=TWO_PWR_64_DBL/2,TWO_PWR_24=fromInt(TWO_PWR_24_DBL),ZERO=fromInt(0);Long.ZERO=ZERO;var UZERO=fromInt(0,!0);Long.UZERO=UZERO;var ONE=fromInt(1);Long.ONE=ONE;var UONE=fromInt(1,!0);Long.UONE=UONE;var NEG_ONE=fromInt(-1);Long.NEG_ONE=NEG_ONE;var MAX_VALUE=fromBits(-1,2147483647,!1);Long.MAX_VALUE=MAX_VALUE;var MAX_UNSIGNED_VALUE=fromBits(-1,-1,!0);Long.MAX_UNSIGNED_VALUE=MAX_UNSIGNED_VALUE;var MIN_VALUE=fromBits(0,-2147483648,!1);Long.MIN_VALUE=MIN_VALUE;var LongPrototype=Long.prototype;LongPrototype.toInt=function(){return this.unsigned?this.low>>>0:this.low};LongPrototype.toNumber=function(){return this.unsigned?(this.high>>>0)*TWO_PWR_32_DBL+(this.low>>>0):this.high*TWO_PWR_32_DBL+(this.low>>>0)};LongPrototype.toString=function(H){if(H=H||10,H<2||36<H)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative())if(this.eq(MIN_VALUE)){var QA=fromNumber(H),GA=this.div(QA),fA=GA.mul(QA).sub(this);return GA.toString(H)+fA.toInt().toString(H)}else return"-"+this.neg().toString(H);for(var SA=fromNumber(pow_dbl(H,6),this.unsigned),N=this,TA="";;){var JA=N.div(SA),MA=N.sub(JA.mul(SA)).toInt()>>>0,t0=MA.toString(H);if(N=JA,N.isZero())return t0+TA;for(;t0.length<6;)t0="0"+t0;TA=""+t0+TA}};LongPrototype.getHighBits=function(){return this.high};LongPrototype.getHighBitsUnsigned=function(){return this.high>>>0};LongPrototype.getLowBits=function(){return this.low};LongPrototype.getLowBitsUnsigned=function(){return this.low>>>0};LongPrototype.getNumBitsAbs=function(){if(this.isNegative())return this.eq(MIN_VALUE)?64:this.neg().getNumBitsLine truncated
|
||||
Reference in new issue
Block a user