From 2a997f53e7e4c17c89d6d544d13058bc3e249f3f Mon Sep 17 00:00:00 2001 From: Jefferson Dantas Date: Sat, 28 Dec 2024 13:37:06 -0300 Subject: [PATCH] =?UTF-8?q?chore:=20Atualiza=20vers=C3=A3o=20para=201.0.0-?= =?UTF-8?q?beta?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bun.lockb | Bin 42281 -> 42281 bytes dist/js/joystick/index.js | 4 +- package.json | 2 +- server/src/helpers.py | 4 +- yarn.lock | 742 -------------------------------------- 5 files changed, 5 insertions(+), 747 deletions(-) delete mode 100644 yarn.lock diff --git a/bun.lockb b/bun.lockb index ec0be5a99f2e88c6460dd512aa21a68bdeb35706..f0c3291b1baa402c69b58a1ced08fdc9c07dc762 100644 GIT binary patch delta 22 ecmZ2^ifQF3rVSU%*%{-^^-T3FHs2@@)CB--dI-q? delta 22 acmZ2^ifQF3rVSU%*_jx?VDpXgKwSV~eg|v- diff --git a/dist/js/joystick/index.js b/dist/js/joystick/index.js index 3df7dbb..d91b17a 100644 --- a/dist/js/joystick/index.js +++ b/dist/js/joystick/index.js @@ -1,6 +1,6 @@ -import{a as w,b as Ot,e as xt,f as J,h as ie,i as p,j as $t,k as S}from"../chunk-ZXTOKSAU.js";var ue=w((ra,St)=>{var Zn="2.0.0",Qn=Number.MAX_SAFE_INTEGER||9007199254740991,ei=16,ti=250,ri=["major","premajor","minor","preminor","patch","prepatch","prerelease"];St.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:ei,MAX_SAFE_BUILD_LENGTH:ti,MAX_SAFE_INTEGER:Qn,RELEASE_TYPES:ri,SEMVER_SPEC_VERSION:Zn,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var de=w((na,Tt)=>{var ni=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...r)=>console.error("SEMVER",...r):()=>{};Tt.exports=ni});var oe=w((U,Rt)=>{var{MAX_SAFE_COMPONENT_LENGTH:Je,MAX_SAFE_BUILD_LENGTH:ii,MAX_LENGTH:oi}=ue(),si=de();U=Rt.exports={};var ai=U.re=[],ci=U.safeRe=[],h=U.src=[],m=U.t={},li=0,Ke="[a-zA-Z0-9-]",ui=[["\\s",1],["\\d",oi],[Ke,ii]],di=r=>{for(let[e,t]of ui)r=r.split(`${e}*`).join(`${e}{0,${t}}`).split(`${e}+`).join(`${e}{1,${t}}`);return r},L=(r,e,t)=>{let n=di(e),s=li++;si(r,s,e),m[r]=s,h[s]=e,ai[s]=new RegExp(e,t?"g":void 0),ci[s]=new RegExp(n,t?"g":void 0)};L("NUMERICIDENTIFIER","0|[1-9]\\d*");L("NUMERICIDENTIFIERLOOSE","\\d+");L("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Ke}*`);L("MAINVERSION",`(${h[m.NUMERICIDENTIFIER]})\\.(${h[m.NUMERICIDENTIFIER]})\\.(${h[m.NUMERICIDENTIFIER]})`);L("MAINVERSIONLOOSE",`(${h[m.NUMERICIDENTIFIERLOOSE]})\\.(${h[m.NUMERICIDENTIFIERLOOSE]})\\.(${h[m.NUMERICIDENTIFIERLOOSE]})`);L("PRERELEASEIDENTIFIER",`(?:${h[m.NUMERICIDENTIFIER]}|${h[m.NONNUMERICIDENTIFIER]})`);L("PRERELEASEIDENTIFIERLOOSE",`(?:${h[m.NUMERICIDENTIFIERLOOSE]}|${h[m.NONNUMERICIDENTIFIER]})`);L("PRERELEASE",`(?:-(${h[m.PRERELEASEIDENTIFIER]}(?:\\.${h[m.PRERELEASEIDENTIFIER]})*))`);L("PRERELEASELOOSE",`(?:-?(${h[m.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${h[m.PRERELEASEIDENTIFIERLOOSE]})*))`);L("BUILDIDENTIFIER",`${Ke}+`);L("BUILD",`(?:\\+(${h[m.BUILDIDENTIFIER]}(?:\\.${h[m.BUILDIDENTIFIER]})*))`);L("FULLPLAIN",`v?${h[m.MAINVERSION]}${h[m.PRERELEASE]}?${h[m.BUILD]}?`);L("FULL",`^${h[m.FULLPLAIN]}$`);L("LOOSEPLAIN",`[v=\\s]*${h[m.MAINVERSIONLOOSE]}${h[m.PRERELEASELOOSE]}?${h[m.BUILD]}?`);L("LOOSE",`^${h[m.LOOSEPLAIN]}$`);L("GTLT","((?:<|>)?=?)");L("XRANGEIDENTIFIERLOOSE",`${h[m.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);L("XRANGEIDENTIFIER",`${h[m.NUMERICIDENTIFIER]}|x|X|\\*`);L("XRANGEPLAIN",`[v=\\s]*(${h[m.XRANGEIDENTIFIER]})(?:\\.(${h[m.XRANGEIDENTIFIER]})(?:\\.(${h[m.XRANGEIDENTIFIER]})(?:${h[m.PRERELEASE]})?${h[m.BUILD]}?)?)?`);L("XRANGEPLAINLOOSE",`[v=\\s]*(${h[m.XRANGEIDENTIFIERLOOSE]})(?:\\.(${h[m.XRANGEIDENTIFIERLOOSE]})(?:\\.(${h[m.XRANGEIDENTIFIERLOOSE]})(?:${h[m.PRERELEASELOOSE]})?${h[m.BUILD]}?)?)?`);L("XRANGE",`^${h[m.GTLT]}\\s*${h[m.XRANGEPLAIN]}$`);L("XRANGELOOSE",`^${h[m.GTLT]}\\s*${h[m.XRANGEPLAINLOOSE]}$`);L("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Je}})(?:\\.(\\d{1,${Je}}))?(?:\\.(\\d{1,${Je}}))?`);L("COERCE",`${h[m.COERCEPLAIN]}(?:$|[^\\d])`);L("COERCEFULL",h[m.COERCEPLAIN]+`(?:${h[m.PRERELEASE]})?(?:${h[m.BUILD]})?(?:$|[^\\d])`);L("COERCERTL",h[m.COERCE],!0);L("COERCERTLFULL",h[m.COERCEFULL],!0);L("LONETILDE","(?:~>?)");L("TILDETRIM",`(\\s*)${h[m.LONETILDE]}\\s+`,!0);U.tildeTrimReplace="$1~";L("TILDE",`^${h[m.LONETILDE]}${h[m.XRANGEPLAIN]}$`);L("TILDELOOSE",`^${h[m.LONETILDE]}${h[m.XRANGEPLAINLOOSE]}$`);L("LONECARET","(?:\\^)");L("CARETTRIM",`(\\s*)${h[m.LONECARET]}\\s+`,!0);U.caretTrimReplace="$1^";L("CARET",`^${h[m.LONECARET]}${h[m.XRANGEPLAIN]}$`);L("CARETLOOSE",`^${h[m.LONECARET]}${h[m.XRANGEPLAINLOOSE]}$`);L("COMPARATORLOOSE",`^${h[m.GTLT]}\\s*(${h[m.LOOSEPLAIN]})$|^$`);L("COMPARATOR",`^${h[m.GTLT]}\\s*(${h[m.FULLPLAIN]})$|^$`);L("COMPARATORTRIM",`(\\s*)${h[m.GTLT]}\\s*(${h[m.LOOSEPLAIN]}|${h[m.XRANGEPLAIN]})`,!0);U.comparatorTrimReplace="$1$2$3";L("HYPHENRANGE",`^\\s*(${h[m.XRANGEPLAIN]})\\s+-\\s+(${h[m.XRANGEPLAIN]})\\s*$`);L("HYPHENRANGELOOSE",`^\\s*(${h[m.XRANGEPLAINLOOSE]})\\s+-\\s+(${h[m.XRANGEPLAINLOOSE]})\\s*$`);L("STAR","(<|>)?=?\\s*\\*");L("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");L("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var $e=w((ia,kt)=>{var pi=Object.freeze({loose:!0}),fi=Object.freeze({}),hi=r=>r?typeof r!="object"?pi:r:fi;kt.exports=hi});var Xe=w((oa,Nt)=>{var Ct=/^[0-9]+$/,At=(r,e)=>{let t=Ct.test(r),n=Ct.test(e);return t&&n&&(r=+r,e=+e),r===e?0:t&&!n?-1:n&&!t?1:rAt(e,r);Nt.exports={compareIdentifiers:At,rcompareIdentifiers:mi}});var _=w((sa,qt)=>{var Se=de(),{MAX_LENGTH:Pt,MAX_SAFE_INTEGER:Te}=ue(),{safeRe:_t,t:Dt}=oe(),yi=$e(),{compareIdentifiers:se}=Xe(),Be=class r{constructor(e,t){if(t=yi(t),e instanceof r){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>Pt)throw new TypeError(`version is longer than ${Pt} characters`);Se("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let n=e.trim().match(t.loose?_t[Dt.LOOSE]:_t[Dt.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Te||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Te||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Te||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(s=>{if(/^[0-9]+$/.test(s)){let a=+s;if(a>=0&&a=0;)typeof this.prerelease[a]=="number"&&(this.prerelease[a]++,a=-2);if(a===-1){if(t===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(s)}}if(t){let a=[t,s];n===!1&&(a=[t]),se(this.prerelease[0],t)===0?isNaN(this.prerelease[1])&&(this.prerelease=a):this.prerelease=a}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};qt.exports=Be});var Q=w((aa,Gt)=>{var Mt=_(),gi=(r,e,t=!1)=>{if(r instanceof Mt)return r;try{return new Mt(r,e)}catch(n){if(!t)return null;throw n}};Gt.exports=gi});var Ht=w((ca,Ft)=>{var Ei=Q(),vi=(r,e)=>{let t=Ei(r,e);return t?t.version:null};Ft.exports=vi});var zt=w((la,jt)=>{var bi=Q(),Ii=(r,e)=>{let t=bi(r.trim().replace(/^[=v]+/,""),e);return t?t.version:null};jt.exports=Ii});var Xt=w((ua,Kt)=>{var Jt=_(),wi=(r,e,t,n,s)=>{typeof t=="string"&&(s=n,n=t,t=void 0);try{return new Jt(r instanceof Jt?r.version:r,t).inc(e,n,s).version}catch{return null}};Kt.exports=wi});var Vt=w((da,Ut)=>{var Bt=Q(),Li=(r,e)=>{let t=Bt(r,null,!0),n=Bt(e,null,!0),s=t.compare(n);if(s===0)return null;let a=s>0,d=a?t:n,f=a?n:t,y=!!d.prerelease.length;if(!!f.prerelease.length&&!y)return!f.patch&&!f.minor?"major":d.patch?"patch":d.minor?"minor":"major";let O=y?"pre":"";return t.major!==n.major?O+"major":t.minor!==n.minor?O+"minor":t.patch!==n.patch?O+"patch":"prerelease"};Ut.exports=Li});var Wt=w((pa,Yt)=>{var Oi=_(),xi=(r,e)=>new Oi(r,e).major;Yt.exports=xi});var Qt=w((fa,Zt)=>{var $i=_(),Si=(r,e)=>new $i(r,e).minor;Zt.exports=Si});var tr=w((ha,er)=>{var Ti=_(),Ri=(r,e)=>new Ti(r,e).patch;er.exports=Ri});var nr=w((ma,rr)=>{var ki=Q(),Ci=(r,e)=>{let t=ki(r,e);return t&&t.prerelease.length?t.prerelease:null};rr.exports=Ci});var F=w((ya,or)=>{var ir=_(),Ai=(r,e,t)=>new ir(r,t).compare(new ir(e,t));or.exports=Ai});var ar=w((ga,sr)=>{var Ni=F(),Pi=(r,e,t)=>Ni(e,r,t);sr.exports=Pi});var lr=w((Ea,cr)=>{var _i=F(),Di=(r,e)=>_i(r,e,!0);cr.exports=Di});var Re=w((va,dr)=>{var ur=_(),qi=(r,e,t)=>{let n=new ur(r,t),s=new ur(e,t);return n.compare(s)||n.compareBuild(s)};dr.exports=qi});var fr=w((ba,pr)=>{var Mi=Re(),Gi=(r,e)=>r.sort((t,n)=>Mi(t,n,e));pr.exports=Gi});var mr=w((Ia,hr)=>{var Fi=Re(),Hi=(r,e)=>r.sort((t,n)=>Fi(n,t,e));hr.exports=Hi});var pe=w((wa,yr)=>{var ji=F(),zi=(r,e,t)=>ji(r,e,t)>0;yr.exports=zi});var ke=w((La,gr)=>{var Ji=F(),Ki=(r,e,t)=>Ji(r,e,t)<0;gr.exports=Ki});var Ue=w((Oa,Er)=>{var Xi=F(),Bi=(r,e,t)=>Xi(r,e,t)===0;Er.exports=Bi});var Ve=w((xa,vr)=>{var Ui=F(),Vi=(r,e,t)=>Ui(r,e,t)!==0;vr.exports=Vi});var Ce=w(($a,br)=>{var Yi=F(),Wi=(r,e,t)=>Yi(r,e,t)>=0;br.exports=Wi});var Ae=w((Sa,Ir)=>{var Zi=F(),Qi=(r,e,t)=>Zi(r,e,t)<=0;Ir.exports=Qi});var Ye=w((Ta,wr)=>{var eo=Ue(),to=Ve(),ro=pe(),no=Ce(),io=ke(),oo=Ae(),so=(r,e,t,n)=>{switch(e){case"===":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r===t;case"!==":return typeof r=="object"&&(r=r.version),typeof t=="object"&&(t=t.version),r!==t;case"":case"=":case"==":return eo(r,t,n);case"!=":return to(r,t,n);case">":return ro(r,t,n);case">=":return no(r,t,n);case"<":return io(r,t,n);case"<=":return oo(r,t,n);default:throw new TypeError(`Invalid operator: ${e}`)}};wr.exports=so});var Or=w((Ra,Lr)=>{var ao=_(),co=Q(),{safeRe:Ne,t:Pe}=oe(),lo=(r,e)=>{if(r instanceof ao)return r;if(typeof r=="number"&&(r=String(r)),typeof r!="string")return null;e=e||{};let t=null;if(!e.rtl)t=r.match(e.includePrerelease?Ne[Pe.COERCEFULL]:Ne[Pe.COERCE]);else{let y=e.includePrerelease?Ne[Pe.COERCERTLFULL]:Ne[Pe.COERCERTL],I;for(;(I=y.exec(r))&&(!t||t.index+t[0].length!==r.length);)(!t||I.index+I[0].length!==t.index+t[0].length)&&(t=I),y.lastIndex=I.index+I[1].length+I[2].length;y.lastIndex=-1}if(t===null)return null;let n=t[2],s=t[3]||"0",a=t[4]||"0",d=e.includePrerelease&&t[5]?`-${t[5]}`:"",f=e.includePrerelease&&t[6]?`+${t[6]}`:"";return co(`${n}.${s}.${a}${d}${f}`,e)};Lr.exports=lo});var $r=w((ka,xr)=>{var We=class{constructor(){this.max=1e3,this.map=new Map}get(e){let t=this.map.get(e);if(t!==void 0)return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&t!==void 0){if(this.map.size>=this.max){let s=this.map.keys().next().value;this.delete(s)}this.map.set(e,t)}return this}};xr.exports=We});var H=w((Ca,kr)=>{var uo=/\s+/g,Ze=class r{constructor(e,t){if(t=fo(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof Qe)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(uo," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(s=>!Tr(s[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let s of this.set)if(s.length===1&&bo(s[0])){this.set=[s];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let e=0;e0&&(this.formatted+="||");let t=this.set[e];for(let n=0;n0&&(this.formatted+=" "),this.formatted+=t[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){let n=((this.options.includePrerelease&&Eo)|(this.options.loose&&vo))+":"+e,s=Sr.get(n);if(s)return s;let a=this.options.loose,d=a?M[D.HYPHENRANGELOOSE]:M[D.HYPHENRANGE];e=e.replace(d,ko(this.options.includePrerelease)),R("hyphen replace",e),e=e.replace(M[D.COMPARATORTRIM],mo),R("comparator trim",e),e=e.replace(M[D.TILDETRIM],yo),R("tilde trim",e),e=e.replace(M[D.CARETTRIM],go),R("caret trim",e);let f=e.split(" ").map(v=>Io(v,this.options)).join(" ").split(/\s+/).map(v=>Ro(v,this.options));a&&(f=f.filter(v=>(R("loose invalid filter",v,this.options),!!v.match(M[D.COMPARATORLOOSE])))),R("range list",f);let y=new Map,I=f.map(v=>new Qe(v,this.options));for(let v of I){if(Tr(v))return[v];y.set(v.value,v)}y.size>1&&y.has("")&&y.delete("");let O=[...y.values()];return Sr.set(n,O),O}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some(n=>Rr(n,t)&&e.set.some(s=>Rr(s,t)&&n.every(a=>s.every(d=>a.intersects(d,t)))))}test(e){if(!e)return!1;if(typeof e=="string")try{e=new ho(e,this.options)}catch{return!1}for(let t=0;tr.value==="<0.0.0-0",bo=r=>r.value==="",Rr=(r,e)=>{let t=!0,n=r.slice(),s=n.pop();for(;t&&n.length;)t=n.every(a=>s.intersects(a,e)),s=n.pop();return t},Io=(r,e)=>(R("comp",r,e),r=Oo(r,e),R("caret",r),r=wo(r,e),R("tildes",r),r=$o(r,e),R("xrange",r),r=To(r,e),R("stars",r),r),q=r=>!r||r.toLowerCase()==="x"||r==="*",wo=(r,e)=>r.trim().split(/\s+/).map(t=>Lo(t,e)).join(" "),Lo=(r,e)=>{let t=e.loose?M[D.TILDELOOSE]:M[D.TILDE];return r.replace(t,(n,s,a,d,f)=>{R("tilde",r,n,s,a,d,f);let y;return q(s)?y="":q(a)?y=`>=${s}.0.0 <${+s+1}.0.0-0`:q(d)?y=`>=${s}.${a}.0 <${s}.${+a+1}.0-0`:f?(R("replaceTilde pr",f),y=`>=${s}.${a}.${d}-${f} <${s}.${+a+1}.0-0`):y=`>=${s}.${a}.${d} <${s}.${+a+1}.0-0`,R("tilde return",y),y})},Oo=(r,e)=>r.trim().split(/\s+/).map(t=>xo(t,e)).join(" "),xo=(r,e)=>{R("caret",r,e);let t=e.loose?M[D.CARETLOOSE]:M[D.CARET],n=e.includePrerelease?"-0":"";return r.replace(t,(s,a,d,f,y)=>{R("caret",r,s,a,d,f,y);let I;return q(a)?I="":q(d)?I=`>=${a}.0.0${n} <${+a+1}.0.0-0`:q(f)?a==="0"?I=`>=${a}.${d}.0${n} <${a}.${+d+1}.0-0`:I=`>=${a}.${d}.0${n} <${+a+1}.0.0-0`:y?(R("replaceCaret pr",y),a==="0"?d==="0"?I=`>=${a}.${d}.${f}-${y} <${a}.${d}.${+f+1}-0`:I=`>=${a}.${d}.${f}-${y} <${a}.${+d+1}.0-0`:I=`>=${a}.${d}.${f}-${y} <${+a+1}.0.0-0`):(R("no pr"),a==="0"?d==="0"?I=`>=${a}.${d}.${f}${n} <${a}.${d}.${+f+1}-0`:I=`>=${a}.${d}.${f}${n} <${a}.${+d+1}.0-0`:I=`>=${a}.${d}.${f} <${+a+1}.0.0-0`),R("caret return",I),I})},$o=(r,e)=>(R("replaceXRanges",r,e),r.split(/\s+/).map(t=>So(t,e)).join(" ")),So=(r,e)=>{r=r.trim();let t=e.loose?M[D.XRANGELOOSE]:M[D.XRANGE];return r.replace(t,(n,s,a,d,f,y)=>{R("xRange",r,n,s,a,d,f,y);let I=q(a),O=I||q(d),v=O||q(f),x=v;return s==="="&&x&&(s=""),y=e.includePrerelease?"-0":"",I?s===">"||s==="<"?n="<0.0.0-0":n="*":s&&x?(O&&(d=0),f=0,s===">"?(s=">=",O?(a=+a+1,d=0,f=0):(d=+d+1,f=0)):s==="<="&&(s="<",O?a=+a+1:d=+d+1),s==="<"&&(y="-0"),n=`${s+a}.${d}.${f}${y}`):O?n=`>=${a}.0.0${y} <${+a+1}.0.0-0`:v&&(n=`>=${a}.${d}.0${y} <${a}.${+d+1}.0-0`),R("xRange return",n),n})},To=(r,e)=>(R("replaceStars",r,e),r.trim().replace(M[D.STAR],"")),Ro=(r,e)=>(R("replaceGTE0",r,e),r.trim().replace(M[e.includePrerelease?D.GTE0PRE:D.GTE0],"")),ko=r=>(e,t,n,s,a,d,f,y,I,O,v,x)=>(q(n)?t="":q(s)?t=`>=${n}.0.0${r?"-0":""}`:q(a)?t=`>=${n}.${s}.0${r?"-0":""}`:d?t=`>=${t}`:t=`>=${t}${r?"-0":""}`,q(I)?y="":q(O)?y=`<${+I+1}.0.0-0`:q(v)?y=`<${I}.${+O+1}.0-0`:x?y=`<=${I}.${O}.${v}-${x}`:r?y=`<${I}.${O}.${+v+1}-0`:y=`<=${y}`,`${t} ${y}`.trim()),Co=(r,e,t)=>{for(let n=0;n0){let s=r[n].semver;if(s.major===e.major&&s.minor===e.minor&&s.patch===e.patch)return!0}return!1}return!0}});var fe=w((Aa,Dr)=>{var he=Symbol("SemVer ANY"),rt=class r{static get ANY(){return he}constructor(e,t){if(t=Cr(t),e instanceof r){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),tt("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===he?this.value="":this.value=this.operator+this.semver.version,tt("comp",this)}parse(e){let t=this.options.loose?Ar[Nr.COMPARATORLOOSE]:Ar[Nr.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new Pr(n[2],this.options.loose):this.semver=he}toString(){return this.value}test(e){if(tt("Comparator.test",e,this.options.loose),this.semver===he||e===he)return!0;if(typeof e=="string")try{e=new Pr(e,this.options)}catch{return!1}return et(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new _r(e.value,t).test(this.value):e.operator===""?e.value===""?!0:new _r(this.value,t).test(e.semver):(t=Cr(t),t.includePrerelease&&(this.value==="<0.0.0-0"||e.value==="<0.0.0-0")||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||et(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||et(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}};Dr.exports=rt;var Cr=$e(),{safeRe:Ar,t:Nr}=oe(),et=Ye(),tt=de(),Pr=_(),_r=H()});var me=w((Na,qr)=>{var Ao=H(),No=(r,e,t)=>{try{e=new Ao(e,t)}catch{return!1}return e.test(r)};qr.exports=No});var Gr=w((Pa,Mr)=>{var Po=H(),_o=(r,e)=>new Po(r,e).set.map(t=>t.map(n=>n.value).join(" ").trim().split(" "));Mr.exports=_o});var Hr=w((_a,Fr)=>{var Do=_(),qo=H(),Mo=(r,e,t)=>{let n=null,s=null,a=null;try{a=new qo(e,t)}catch{return null}return r.forEach(d=>{a.test(d)&&(!n||s.compare(d)===-1)&&(n=d,s=new Do(n,t))}),n};Fr.exports=Mo});var zr=w((Da,jr)=>{var Go=_(),Fo=H(),Ho=(r,e,t)=>{let n=null,s=null,a=null;try{a=new Fo(e,t)}catch{return null}return r.forEach(d=>{a.test(d)&&(!n||s.compare(d)===1)&&(n=d,s=new Go(n,t))}),n};jr.exports=Ho});var Xr=w((qa,Kr)=>{var nt=_(),jo=H(),Jr=pe(),zo=(r,e)=>{r=new jo(r,e);let t=new nt("0.0.0");if(r.test(t)||(t=new nt("0.0.0-0"),r.test(t)))return t;t=null;for(let n=0;n{let f=new nt(d.semver.version);switch(d.operator){case">":f.prerelease.length===0?f.patch++:f.prerelease.push(0),f.raw=f.format();case"":case">=":(!a||Jr(f,a))&&(a=f);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${d.operator}`)}}),a&&(!t||Jr(t,a))&&(t=a)}return t&&r.test(t)?t:null};Kr.exports=zo});var Ur=w((Ma,Br)=>{var Jo=H(),Ko=(r,e)=>{try{return new Jo(r,e).range||"*"}catch{return null}};Br.exports=Ko});var _e=w((Ga,Zr)=>{var Xo=_(),Wr=fe(),{ANY:Bo}=Wr,Uo=H(),Vo=me(),Vr=pe(),Yr=ke(),Yo=Ae(),Wo=Ce(),Zo=(r,e,t,n)=>{r=new Xo(r,n),e=new Uo(e,n);let s,a,d,f,y;switch(t){case">":s=Vr,a=Yo,d=Yr,f=">",y=">=";break;case"<":s=Yr,a=Wo,d=Vr,f="<",y="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Vo(r,e,n))return!1;for(let I=0;I{g.semver===Bo&&(g=new Wr(">=0.0.0")),v=v||g,x=x||g,s(g.semver,v.semver,n)?v=g:d(g.semver,x.semver,n)&&(x=g)}),v.operator===f||v.operator===y||(!x.operator||x.operator===f)&&a(r,x.semver))return!1;if(x.operator===y&&d(r,x.semver))return!1}return!0};Zr.exports=Zo});var en=w((Fa,Qr)=>{var Qo=_e(),es=(r,e,t)=>Qo(r,e,">",t);Qr.exports=es});var rn=w((Ha,tn)=>{var ts=_e(),rs=(r,e,t)=>ts(r,e,"<",t);tn.exports=rs});var sn=w((ja,on)=>{var nn=H(),ns=(r,e,t)=>(r=new nn(r,t),e=new nn(e,t),r.intersects(e,t));on.exports=ns});var cn=w((za,an)=>{var is=me(),os=F();an.exports=(r,e,t)=>{let n=[],s=null,a=null,d=r.sort((O,v)=>os(O,v,t));for(let O of d)is(O,e,t)?(a=O,s||(s=O)):(a&&n.push([s,a]),a=null,s=null);s&&n.push([s,null]);let f=[];for(let[O,v]of n)O===v?f.push(O):!v&&O===d[0]?f.push("*"):v?O===d[0]?f.push(`<=${v}`):f.push(`${O} - ${v}`):f.push(`>=${O}`);let y=f.join(" || "),I=typeof e.raw=="string"?e.raw:String(e);return y.length{var ln=H(),ot=fe(),{ANY:it}=ot,ye=me(),st=F(),ss=(r,e,t={})=>{if(r===e)return!0;r=new ln(r,t),e=new ln(e,t);let n=!1;e:for(let s of r.set){for(let a of e.set){let d=cs(s,a,t);if(n=n||d!==null,d)continue e}if(n)return!1}return!0},as=[new ot(">=0.0.0-0")],un=[new ot(">=0.0.0")],cs=(r,e,t)=>{if(r===e)return!0;if(r.length===1&&r[0].semver===it){if(e.length===1&&e[0].semver===it)return!0;t.includePrerelease?r=as:r=un}if(e.length===1&&e[0].semver===it){if(t.includePrerelease)return!0;e=un}let n=new Set,s,a;for(let g of r)g.operator===">"||g.operator===">="?s=dn(s,g,t):g.operator==="<"||g.operator==="<="?a=pn(a,g,t):n.add(g.semver);if(n.size>1)return null;let d;if(s&&a){if(d=st(s.semver,a.semver,t),d>0)return null;if(d===0&&(s.operator!==">="||a.operator!=="<="))return null}for(let g of n){if(s&&!ye(g,String(s),t)||a&&!ye(g,String(a),t))return null;for(let Y of e)if(!ye(g,String(Y),t))return!1;return!0}let f,y,I,O,v=a&&!t.includePrerelease&&a.semver.prerelease.length?a.semver:!1,x=s&&!t.includePrerelease&&s.semver.prerelease.length?s.semver:!1;v&&v.prerelease.length===1&&a.operator==="<"&&v.prerelease[0]===0&&(v=!1);for(let g of e){if(O=O||g.operator===">"||g.operator===">=",I=I||g.operator==="<"||g.operator==="<=",s){if(x&&g.semver.prerelease&&g.semver.prerelease.length&&g.semver.major===x.major&&g.semver.minor===x.minor&&g.semver.patch===x.patch&&(x=!1),g.operator===">"||g.operator===">="){if(f=dn(s,g,t),f===g&&f!==s)return!1}else if(s.operator===">="&&!ye(s.semver,String(g),t))return!1}if(a){if(v&&g.semver.prerelease&&g.semver.prerelease.length&&g.semver.major===v.major&&g.semver.minor===v.minor&&g.semver.patch===v.patch&&(v=!1),g.operator==="<"||g.operator==="<="){if(y=pn(a,g,t),y===g&&y!==a)return!1}else if(a.operator==="<="&&!ye(a.semver,String(g),t))return!1}if(!g.operator&&(a||s)&&d!==0)return!1}return!(s&&I&&!a&&d!==0||a&&O&&!s&&d!==0||x||v)},dn=(r,e,t)=>{if(!r)return e;let n=st(r.semver,e.semver,t);return n>0?r:n<0||e.operator===">"&&r.operator===">="?e:r},pn=(r,e,t)=>{if(!r)return e;let n=st(r.semver,e.semver,t);return n<0?r:n>0||e.operator==="<"&&r.operator==="<="?e:r};fn.exports=ss});var En=w((Ka,gn)=>{var at=oe(),mn=ue(),ls=_(),yn=Xe(),us=Q(),ds=Ht(),ps=zt(),fs=Xt(),hs=Vt(),ms=Wt(),ys=Qt(),gs=tr(),Es=nr(),vs=F(),bs=ar(),Is=lr(),ws=Re(),Ls=fr(),Os=mr(),xs=pe(),$s=ke(),Ss=Ue(),Ts=Ve(),Rs=Ce(),ks=Ae(),Cs=Ye(),As=Or(),Ns=fe(),Ps=H(),_s=me(),Ds=Gr(),qs=Hr(),Ms=zr(),Gs=Xr(),Fs=Ur(),Hs=_e(),js=en(),zs=rn(),Js=sn(),Ks=cn(),Xs=hn();gn.exports={parse:us,valid:ds,clean:ps,inc:fs,diff:hs,major:ms,minor:ys,patch:gs,prerelease:Es,compare:vs,rcompare:bs,compareLoose:Is,compareBuild:ws,sort:Ls,rsort:Os,gt:xs,lt:$s,eq:Ss,neq:Ts,gte:Rs,lte:ks,cmp:Cs,coerce:As,Comparator:Ns,Range:Ps,satisfies:_s,toComparators:Ds,maxSatisfying:qs,minSatisfying:Ms,minVersion:Gs,validRange:Fs,outside:Hs,gtr:js,ltr:zs,intersects:Js,simplifyRange:Ks,subset:Xs,SemVer:ls,re:at.re,src:at.src,tokens:at.t,SEMVER_SPEC_VERSION:mn.SEMVER_SPEC_VERSION,RELEASE_TYPES:mn.RELEASE_TYPES,compareIdentifiers:yn.compareIdentifiers,rcompareIdentifiers:yn.rcompareIdentifiers}});var Nn=w((Ge,mt)=>{(function(r,e){typeof Ge=="object"&&typeof mt=="object"?mt.exports=e():typeof define=="function"&&define.amd?define("nipplejs",[],e):typeof Ge=="object"?Ge.nipplejs=e():r.nipplejs=e()})(window,function(){return function(r){var e={};function t(n){if(e[n])return e[n].exports;var s=e[n]={i:n,l:!1,exports:{}};return r[n].call(s.exports,s,s.exports,t),s.l=!0,s.exports}return t.m=r,t.c=e,t.d=function(n,s,a){t.o(n,s)||Object.defineProperty(n,s,{enumerable:!0,get:a})},t.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,s){if(1&s&&(n=t(n)),8&s||4&s&&typeof n=="object"&&n&&n.__esModule)return n;var a=Object.create(null);if(t.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:n}),2&s&&typeof n!="string")for(var d in n)t.d(a,d,function(f){return n[f]}.bind(null,d));return a},t.n=function(n){var s=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(s,"a",s),s},t.o=function(n,s){return Object.prototype.hasOwnProperty.call(n,s)},t.p="",t(t.s=0)}([function(r,e,t){"use strict";t.r(e);var n,s=function(o,i){var c=i.x-o.x,l=i.y-o.y;return Math.sqrt(c*c+l*l)},a=function(o){return o*(Math.PI/180)},d=function(o){return o*(180/Math.PI)},f=new Map,y=function(o){f.has(o)&&clearTimeout(f.get(o)),f.set(o,setTimeout(o,100))},I=function(o,i,c){for(var l,u=i.split(/[ ,]+/g),E=0;E=0&&this._handlers_[o].splice(this._handlers_[o].indexOf(i),1),this},W.prototype.trigger=function(o,i){var c,l=this,u=o.split(/[ ,]+/g);l._handlers_=l._handlers_||{};for(var E=0;EE&&u<3*E&&!o.lockX?i="up":u>-E&&u<=E&&!o.lockY?i="left":u>3*-E&&u<=-E&&!o.lockX?i="down":o.lockY||(i="right"),o.lockY||(c=u>-$&&u<$?"left":"right"),o.lockX||(l=u>0?"up":"down"),o.force>this.options.threshold){var b,P={};for(b in this.direction)this.direction.hasOwnProperty(b)&&(P[b]=this.direction[b]);var T={};for(b in this.direction={x:c,y:l,angle:i},o.direction=this.direction,P)P[b]===this.direction[b]&&(T[b]=!0);if(T.x&&T.y&&T.angle)return o;T.x&&T.y||this.trigger("plain",o),T.x||this.trigger("plain:"+c,o),T.y||this.trigger("plain:"+l,o),T.angle||this.trigger("dir dir:"+i,o)}else this.resetDirection();return o};var Kn=A;function C(o,i){this.nipples=[],this.idles=[],this.actives=[],this.ids=[],this.pressureIntervals={},this.manager=o,this.id=C.id,C.id+=1,this.defaults={zone:document.body,multitouch:!1,maxNumberOfNipples:10,mode:"dynamic",position:{top:0,left:0},catchDistance:200,size:100,threshold:.1,color:"white",fadeTime:250,dataOnly:!1,restJoystick:!0,restOpacity:.5,lockX:!1,lockY:!1,shape:"circle",dynamicPage:!1,follow:!1},this.config(i),this.options.mode!=="static"&&this.options.mode!=="semi"||(this.options.multitouch=!1),this.options.multitouch||(this.options.maxNumberOfNipples=1);var c=getComputedStyle(this.options.zone.parentElement);return c&&c.display==="flex"&&(this.parentIsFlex=!0),this.updateBox(),this.prepareNipples(),this.bindings(),this.begin(),this.nipples}C.prototype=new He,C.constructor=C,C.id=0,C.prototype.prepareNipples=function(){var o=this.nipples;o.on=this.on.bind(this),o.off=this.off.bind(this),o.options=this.options,o.destroy=this.destroy.bind(this),o.ids=this.ids,o.id=this.id,o.processOnMove=this.processOnMove.bind(this),o.processOnEnd=this.processOnEnd.bind(this),o.get=function(i){if(i===void 0)return o[0];for(var c=0,l=o.length;c