Commit
·
13987c5
1
Parent(s):
0e9f56a
release: build 97d829df7a75076f5233a11c7de46c7cf9babfa2
Browse files- assets/{Stage.vue_vue_type_style_index_0_scoped_0f1c2eb6_lang-ZJ7Jq9AK.js → Stage.vue_vue_type_style_index_0_scoped_0f1c2eb6_lang-pX-yGk3M.js} +2 -2
- assets/{_...all_-CbqtHXpC.js → _...all_-D2FSBVDa.js} +1 -1
- assets/{audio-BIiIGAj0.js → audio-MRQK08-g.js} +1 -1
- assets/{default-W5K3oM23.js → default-DWYZkKsj.js} +1 -1
- assets/{delays-C9xhIx61.js → delays-BxDRASBY.js} +1 -1
- assets/{emotions-vGy6FhC7.js → emotions-DT089aKK.js} +1 -1
- assets/{filter-message-DRLYH5h6.js → filter-message-C9p-1PUH.js} +1 -1
- assets/{image-DDnfuLIR.js → image-DDoQ4wuT.js} +1 -1
- assets/{index-Bt4XhQ82.js → index-CdImWwpC.js} +1 -1
- assets/{index-BRAl2tv-.js → index-DWxkGnJi.js} +3 -3
- assets/{index-B2_pIh1j.js → index-DsObsDkZ.js} +1 -1
- assets/{messages-DKAdGvpb.js → messages-vNn7aWGF.js} +1 -1
- assets/{queue-DFs1yKwI.js → queue-BdL-zJ6z.js} +1 -1
- assets/{queue-BarHeT-y.js → queue-Br8iBl13.js} +1 -1
- assets/{route-block-CQW9rUut.js → route-block-Itj55K8h.js} +0 -0
- assets/{v2-DpJ51q5l.js → v2-DBGdIARJ.js} +1 -1
- index.html +1 -1
assets/{Stage.vue_vue_type_style_index_0_scoped_0f1c2eb6_lang-ZJ7Jq9AK.js → Stage.vue_vue_type_style_index_0_scoped_0f1c2eb6_lang-pX-yGk3M.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
import{d as qh,D as Yh,E as Zh,f as Oo,h as Qh,H as Kh,bP as Jh,o as tc,c as ec,n as rc,bG as nc,br as Lu,b$ as De,b_ as ic,b7 as oc,a4 as sc,ad as Ft,V as nt,Q as gt,a7 as fr,bf as Nr,az as aa,ak as la,ao as ua,b8 as hi,bb as Fs,c0 as ac,a3 as lc,c1 as uc,a5 as hc,c2 as Hr,c3 as ye,$ as se,a8 as Me,b3 as hn,aw as Gt,c4 as cc,a0 as ze,bc as fc,ba as dc,c5 as ha,bg as Ls,c6 as pc,an as Qn,R as Rr,bh as mc,bk as vc,bl as gc}from"./index-
|
2 |
${r.value.substring(v)}`,o.value.height="0",nc().then(()=>{i.value&&(i.value.selectionStart=i.value.selectionEnd=d+1,o.value.height=`${i.value.scrollHeight}px`)})}else l.code==="Enter"&&(l.preventDefault(),e("submit",r.value))}return Qh(()=>{i.value&&(o.value.height=`${i.value.scrollHeight}px`)}),(l,u)=>Kh((tc(),ec("textarea",{ref_key:"textareaRef",ref:i,"onUpdate:modelValue":u[0]||(u[0]=h=>r.value=h),style:rc(o.value),onInput:s,onKeydown:a},null,36)),[[Jh,r.value]])}});/*!
|
3 |
* @pixi/constants - v6.5.10
|
4 |
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
@@ -11,7 +11,7 @@ ${r.value.substring(v)}`,o.value.height="0",nc().then(()=>{i.value&&(i.value.sel
|
|
11 |
*
|
12 |
* @pixi/settings is licensed under the MIT License.
|
13 |
* http://www.opensource.org/licenses/mit-license
|
14 |
-
*/var _c={createCanvas:function(n,t){var e=document.createElement("canvas");return e.width=n,e.height=t,e},getWebGLRenderingContext:function(){return WebGLRenderingContext},getNavigator:function(){return navigator},getBaseUrl:function(){var n;return(n=document.baseURI)!==null&&n!==void 0?n:window.location.href},fetch:function(n,t){return fetch(n,t)}},gi=/iPhone/i,fa=/iPod/i,da=/iPad/i,pa=/\biOS-universal(?:.+)Mac\b/i,_i=/\bAndroid(?:.+)Mobile\b/i,ma=/Android/i,br=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,Mn=/Silk/i,Pe=/Windows Phone/i,va=/\bWindows(?:.+)ARM\b/i,ga=/BlackBerry/i,_a=/BB10/i,ya=/Opera Mini/i,xa=/\b(CriOS|Chrome)(?:.+)Mobile/i,ba=/Mobile(?:.+)Firefox\b/i,wa=function(n){return typeof n<"u"&&n.platform==="MacIntel"&&typeof n.maxTouchPoints=="number"&&n.maxTouchPoints>1&&typeof MSStream>"u"};function yc(n){return function(t){return t.test(n)}}function xc(n){var t={userAgent:"",platform:"",maxTouchPoints:0};!n&&typeof navigator<"u"?t={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0}:typeof n=="string"?t.userAgent=n:n&&n.userAgent&&(t={userAgent:n.userAgent,platform:n.platform,maxTouchPoints:n.maxTouchPoints||0});var e=t.userAgent,r=e.split("[FBAN");typeof r[1]<"u"&&(e=r[0]),r=e.split("Twitter"),typeof r[1]<"u"&&(e=r[0]);var i=yc(e),o={apple:{phone:i(gi)&&!i(Pe),ipod:i(fa),tablet:!i(gi)&&(i(da)||wa(t))&&!i(Pe),universal:i(pa),device:(i(gi)||i(fa)||i(da)||i(pa)||wa(t))&&!i(Pe)},amazon:{phone:i(br),tablet:!i(br)&&i(Mn),device:i(br)||i(Mn)},android:{phone:!i(Pe)&&i(br)||!i(Pe)&&i(_i),tablet:!i(Pe)&&!i(br)&&!i(_i)&&(i(Mn)||i(ma)),device:!i(Pe)&&(i(br)||i(Mn)||i(_i)||i(ma))||i(/\bokhttp\b/i)},windows:{phone:i(Pe),tablet:i(va),device:i(Pe)||i(va)},other:{blackberry:i(ga),blackberry10:i(_a),opera:i(ya),firefox:i(ba),chrome:i(xa),device:i(ga)||i(_a)||i(ya)||i(ba)||i(xa)},any:!1,phone:!1,tablet:!1};return o.any=o.apple.device||o.android.device||o.windows.device||o.other.device,o.phone=o.apple.phone||o.android.phone||o.windows.phone,o.tablet=o.apple.tablet||o.android.tablet||o.windows.tablet,o}var sr=xc(globalThis.navigator);function bc(){return!sr.apple.device}function wc(n){var t=!0;if(sr.tablet||sr.phone){if(sr.apple.device){var e=navigator.userAgent.match(/OS (\d+)_(\d+)?/);if(e){var r=parseInt(e[1],10);r<11&&(t=!1)}}if(sr.android.device){var e=navigator.userAgent.match(/Android\s([0-9.]*)/);if(e){var r=parseInt(e[1],10);r<7&&(t=!1)}}}return t?n:4}var ht={ADAPTER:_c,MIPMAP_TEXTURES:Ee.POW2,ANISOTROPIC_LEVEL:0,RESOLUTION:1,FILTER_RESOLUTION:1,FILTER_MULTISAMPLE:Dt.NONE,SPRITE_MAX_TEXTURES:wc(32),SPRITE_BATCH_SIZE:4096,RENDER_OPTIONS:{view:null,width:800,height:600,autoDensity:!1,backgroundColor:0,backgroundAlpha:1,useContextAlpha:!0,clearBeforeRender:!0,antialias:!1,preserveDrawingBuffer:!1},GC_MODE:ei.AUTO,GC_MAX_IDLE:60*60,GC_MAX_CHECK_COUNT:60*10,WRAP_MODE:ti.CLAMP,SCALE_MODE:ee.LINEAR,PRECISION_VERTEX:re.HIGH,PRECISION_FRAGMENT:sr.apple.device?re.HIGH:re.MEDIUM,CAN_UPLOAD_SAME_BUFFER:bc(),CREATE_IMAGE_BITMAP:!1},yi={exports:{}},Ta;function Tc(){return Ta||(Ta=1,function(n){var t=Object.prototype.hasOwnProperty,e="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(e=!1));function i(l,u,h){this.fn=l,this.context=u,this.once=h||!1}function o(l,u,h,d,v){if(typeof h!="function")throw new TypeError("The listener must be a function");var c=new i(h,d||l,v),g=e?e+u:u;return l._events[g]?l._events[g].fn?l._events[g]=[l._events[g],c]:l._events[g].push(c):(l._events[g]=c,l._eventsCount++),l}function s(l,u){--l._eventsCount===0?l._events=new r:delete l._events[u]}function a(){this._events=new r,this._eventsCount=0}a.prototype.eventNames=function(){var u=[],h,d;if(this._eventsCount===0)return u;for(d in h=this._events)t.call(h,d)&&u.push(e?d.slice(1):d);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(h)):u},a.prototype.listeners=function(u){var h=e?e+u:u,d=this._events[h];if(!d)return[];if(d.fn)return[d.fn];for(var v=0,c=d.length,g=new Array(c);v<c;v++)g[v]=d[v].fn;return g},a.prototype.listenerCount=function(u){var h=e?e+u:u,d=this._events[h];return d?d.fn?1:d.length:0},a.prototype.emit=function(u,h,d,v,c,g){var p=e?e+u:u;if(!this._events[p])return!1;var f=this._events[p],m=arguments.length,_,b;if(f.fn){switch(f.once&&this.removeListener(u,f.fn,void 0,!0),m){case 1:return f.fn.call(f.context),!0;case 2:return f.fn.call(f.context,h),!0;case 3:return f.fn.call(f.context,h,d),!0;case 4:return f.fn.call(f.context,h,d,v),!0;case 5:return f.fn.call(f.context,h,d,v,c),!0;case 6:return f.fn.call(f.context,h,d,v,c,g),!0}for(b=1,_=new Array(m-1);b<m;b++)_[b-1]=arguments[b];f.fn.apply(f.context,_)}else{var S=f.length,x;for(b=0;b<S;b++)switch(f[b].once&&this.removeListener(u,f[b].fn,void 0,!0),m){case 1:f[b].fn.call(f[b].context);break;case 2:f[b].fn.call(f[b].context,h);break;case 3:f[b].fn.call(f[b].context,h,d);break;case 4:f[b].fn.call(f[b].context,h,d,v);break;default:if(!_)for(x=1,_=new Array(m-1);x<m;x++)_[x-1]=arguments[x];f[b].fn.apply(f[b].context,_)}}return!0},a.prototype.on=function(u,h,d){return o(this,u,h,d,!1)},a.prototype.once=function(u,h,d){return o(this,u,h,d,!0)},a.prototype.removeListener=function(u,h,d,v){var c=e?e+u:u;if(!this._events[c])return this;if(!h)return s(this,c),this;var g=this._events[c];if(g.fn)g.fn===h&&(!v||g.once)&&(!d||g.context===d)&&s(this,c);else{for(var p=0,f=[],m=g.length;p<m;p++)(g[p].fn!==h||v&&!g[p].once||d&&g[p].context!==d)&&f.push(g[p]);f.length?this._events[c]=f.length===1?f[0]:f:s(this,c)}return this},a.prototype.removeAllListeners=function(u){var h;return u?(h=e?e+u:u,this._events[h]&&s(this,h)):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=e,a.EventEmitter=a,n.exports=a}(yi)),yi.exports}var Sc=Tc();const je=Lu(Sc);var Pn={exports:{}},Sa;function Ec(){if(Sa)return Pn.exports;Sa=1,Pn.exports=n,Pn.exports.default=n;function n(I,A,P){P=P||2;var k=A&&A.length,F=k?A[0]*P:I.length,M=t(I,0,F,P,!0),R=[];if(!M||M.next===M.prev)return R;var N,z,G,et,st,J,it;if(k&&(M=l(I,A,M,P)),I.length>80*P){N=G=I[0],z=et=I[1];for(var ot=P;ot<F;ot+=P)st=I[ot],J=I[ot+1],st<N&&(N=st),J<z&&(z=J),st>G&&(G=st),J>et&&(et=J);it=Math.max(G-N,et-z),it=it!==0?32767/it:0}return r(M,R,P,N,z,it,0),R}function t(I,A,P,k,F){var M,R;if(F===$(I,A,P,k)>0)for(M=A;M<P;M+=k)R=E(M,I[M],I[M+1],R);else for(M=P-k;M>=A;M-=k)R=E(M,I[M],I[M+1],R);return R&&S(R,R.next)&&(W(R),R=R.next),R}function e(I,A){if(!I)return I;A||(A=I);var P=I,k;do if(k=!1,!P.steiner&&(S(P,P.next)||b(P.prev,P,P.next)===0)){if(W(P),P=A=P.prev,P===P.next)break;k=!0}else P=P.next;while(k||P!==A);return A}function r(I,A,P,k,F,M,R){if(I){!R&&M&&c(I,k,F,M);for(var N=I,z,G;I.prev!==I.next;){if(z=I.prev,G=I.next,M?o(I,k,F,M):i(I)){A.push(z.i/P|0),A.push(I.i/P|0),A.push(G.i/P|0),W(I),I=G.next,N=G.next;continue}if(I=G,I===N){R?R===1?(I=s(e(I),A,P),r(I,A,P,k,F,M,2)):R===2&&a(I,A,P,k,F,M):r(e(I),A,P,k,F,M,1);break}}}}function i(I){var A=I.prev,P=I,k=I.next;if(b(A,P,k)>=0)return!1;for(var F=A.x,M=P.x,R=k.x,N=A.y,z=P.y,G=k.y,et=F<M?F<R?F:R:M<R?M:R,st=N<z?N<G?N:G:z<G?z:G,J=F>M?F>R?F:R:M>R?M:R,it=N>z?N>G?N:G:z>G?z:G,ot=k.next;ot!==A;){if(ot.x>=et&&ot.x<=J&&ot.y>=st&&ot.y<=it&&m(F,N,M,z,R,G,ot.x,ot.y)&&b(ot.prev,ot,ot.next)>=0)return!1;ot=ot.next}return!0}function o(I,A,P,k){var F=I.prev,M=I,R=I.next;if(b(F,M,R)>=0)return!1;for(var N=F.x,z=M.x,G=R.x,et=F.y,st=M.y,J=R.y,it=N<z?N<G?N:G:z<G?z:G,ot=et<st?et<J?et:J:st<J?st:J,ut=N>z?N>G?N:G:z>G?z:G,dt=et>st?et>J?et:J:st>J?st:J,yt=p(it,ot,A,P,k),y=p(ut,dt,A,P,k),H=I.prevZ,B=I.nextZ;H&&H.z>=yt&&B&&B.z<=y;){if(H.x>=it&&H.x<=ut&&H.y>=ot&&H.y<=dt&&H!==F&&H!==R&&m(N,et,z,st,G,J,H.x,H.y)&&b(H.prev,H,H.next)>=0||(H=H.prevZ,B.x>=it&&B.x<=ut&&B.y>=ot&&B.y<=dt&&B!==F&&B!==R&&m(N,et,z,st,G,J,B.x,B.y)&&b(B.prev,B,B.next)>=0))return!1;B=B.nextZ}for(;H&&H.z>=yt;){if(H.x>=it&&H.x<=ut&&H.y>=ot&&H.y<=dt&&H!==F&&H!==R&&m(N,et,z,st,G,J,H.x,H.y)&&b(H.prev,H,H.next)>=0)return!1;H=H.prevZ}for(;B&&B.z<=y;){if(B.x>=it&&B.x<=ut&&B.y>=ot&&B.y<=dt&&B!==F&&B!==R&&m(N,et,z,st,G,J,B.x,B.y)&&b(B.prev,B,B.next)>=0)return!1;B=B.nextZ}return!0}function s(I,A,P){var k=I;do{var F=k.prev,M=k.next.next;!S(F,M)&&x(F,k,k.next,M)&&D(F,M)&&D(M,F)&&(A.push(F.i/P|0),A.push(k.i/P|0),A.push(M.i/P|0),W(k),W(k.next),k=I=M),k=k.next}while(k!==I);return e(k)}function a(I,A,P,k,F,M){var R=I;do{for(var N=R.next.next;N!==R.prev;){if(R.i!==N.i&&_(R,N)){var z=Z(R,N);R=e(R,R.next),z=e(z,z.next),r(R,A,P,k,F,M,0),r(z,A,P,k,F,M,0);return}N=N.next}R=R.next}while(R!==I)}function l(I,A,P,k){var F=[],M,R,N,z,G;for(M=0,R=A.length;M<R;M++)N=A[M]*k,z=M<R-1?A[M+1]*k:I.length,G=t(I,N,z,k,!1),G===G.next&&(G.steiner=!0),F.push(f(G));for(F.sort(u),M=0;M<F.length;M++)P=h(F[M],P);return P}function u(I,A){return I.x-A.x}function h(I,A){var P=d(I,A);if(!P)return A;var k=Z(P,I);return e(k,k.next),e(P,P.next)}function d(I,A){var P=A,k=I.x,F=I.y,M=-1/0,R;do{if(F<=P.y&&F>=P.next.y&&P.next.y!==P.y){var N=P.x+(F-P.y)*(P.next.x-P.x)/(P.next.y-P.y);if(N<=k&&N>M&&(M=N,R=P.x<P.next.x?P:P.next,N===k))return R}P=P.next}while(P!==A);if(!R)return null;var z=R,G=R.x,et=R.y,st=1/0,J;P=R;do k>=P.x&&P.x>=G&&k!==P.x&&m(F<et?k:M,F,G,et,F<et?M:k,F,P.x,P.y)&&(J=Math.abs(F-P.y)/(k-P.x),D(P,I)&&(J<st||J===st&&(P.x>R.x||P.x===R.x&&v(R,P)))&&(R=P,st=J)),P=P.next;while(P!==z);return R}function v(I,A){return b(I.prev,I,A.prev)<0&&b(A.next,I,I.next)<0}function c(I,A,P,k){var F=I;do F.z===0&&(F.z=p(F.x,F.y,A,P,k)),F.prevZ=F.prev,F.nextZ=F.next,F=F.next;while(F!==I);F.prevZ.nextZ=null,F.prevZ=null,g(F)}function g(I){var A,P,k,F,M,R,N,z,G=1;do{for(P=I,I=null,M=null,R=0;P;){for(R++,k=P,N=0,A=0;A<G&&(N++,k=k.nextZ,!!k);A++);for(z=G;N>0||z>0&&k;)N!==0&&(z===0||!k||P.z<=k.z)?(F=P,P=P.nextZ,N--):(F=k,k=k.nextZ,z--),M?M.nextZ=F:I=F,F.prevZ=M,M=F;P=k}M.nextZ=null,G*=2}while(R>1);return I}function p(I,A,P,k,F){return I=(I-P)*F|0,A=(A-k)*F|0,I=(I|I<<8)&16711935,I=(I|I<<4)&252645135,I=(I|I<<2)&858993459,I=(I|I<<1)&1431655765,A=(A|A<<8)&16711935,A=(A|A<<4)&252645135,A=(A|A<<2)&858993459,A=(A|A<<1)&1431655765,I|A<<1}function f(I){var A=I,P=I;do(A.x<P.x||A.x===P.x&&A.y<P.y)&&(P=A),A=A.next;while(A!==I);return P}function m(I,A,P,k,F,M,R,N){return(F-R)*(A-N)>=(I-R)*(M-N)&&(I-R)*(k-N)>=(P-R)*(A-N)&&(P-R)*(M-N)>=(F-R)*(k-N)}function _(I,A){return I.next.i!==A.i&&I.prev.i!==A.i&&!U(I,A)&&(D(I,A)&&D(A,I)&&j(I,A)&&(b(I.prev,I,A.prev)||b(I,A.prev,A))||S(I,A)&&b(I.prev,I,I.next)>0&&b(A.prev,A,A.next)>0)}function b(I,A,P){return(A.y-I.y)*(P.x-A.x)-(A.x-I.x)*(P.y-A.y)}function S(I,A){return I.x===A.x&&I.y===A.y}function x(I,A,P,k){var F=T(b(I,A,P)),M=T(b(I,A,k)),R=T(b(P,k,I)),N=T(b(P,k,A));return!!(F!==M&&R!==N||F===0&&C(I,P,A)||M===0&&C(I,k,A)||R===0&&C(P,I,k)||N===0&&C(P,A,k))}function C(I,A,P){return A.x<=Math.max(I.x,P.x)&&A.x>=Math.min(I.x,P.x)&&A.y<=Math.max(I.y,P.y)&&A.y>=Math.min(I.y,P.y)}function T(I){return I>0?1:I<0?-1:0}function U(I,A){var P=I;do{if(P.i!==I.i&&P.next.i!==I.i&&P.i!==A.i&&P.next.i!==A.i&&x(P,P.next,I,A))return!0;P=P.next}while(P!==I);return!1}function D(I,A){return b(I.prev,I,I.next)<0?b(I,A,I.next)>=0&&b(I,I.prev,A)>=0:b(I,A,I.prev)<0||b(I,I.next,A)<0}function j(I,A){var P=I,k=!1,F=(I.x+A.x)/2,M=(I.y+A.y)/2;do P.y>M!=P.next.y>M&&P.next.y!==P.y&&F<(P.next.x-P.x)*(M-P.y)/(P.next.y-P.y)+P.x&&(k=!k),P=P.next;while(P!==I);return k}function Z(I,A){var P=new w(I.i,I.x,I.y),k=new w(A.i,A.x,A.y),F=I.next,M=A.prev;return I.next=A,A.prev=I,P.next=F,F.prev=P,k.next=P,P.prev=k,M.next=k,k.prev=M,k}function E(I,A,P,k){var F=new w(I,A,P);return k?(F.next=k.next,F.prev=k,k.next.prev=F,k.next=F):(F.prev=F,F.next=F),F}function W(I){I.next.prev=I.prev,I.prev.next=I.next,I.prevZ&&(I.prevZ.nextZ=I.nextZ),I.nextZ&&(I.nextZ.prevZ=I.prevZ)}function w(I,A,P){this.i=I,this.x=A,this.y=P,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}n.deviation=function(I,A,P,k){var F=A&&A.length,M=F?A[0]*P:I.length,R=Math.abs($(I,0,M,P));if(F)for(var N=0,z=A.length;N<z;N++){var G=A[N]*P,et=N<z-1?A[N+1]*P:I.length;R-=Math.abs($(I,G,et,P))}var st=0;for(N=0;N<k.length;N+=3){var J=k[N]*P,it=k[N+1]*P,ot=k[N+2]*P;st+=Math.abs((I[J]-I[ot])*(I[it+1]-I[J+1])-(I[J]-I[it])*(I[ot+1]-I[J+1]))}return R===0&&st===0?0:Math.abs((st-R)/R)};function $(I,A,P,k){for(var F=0,M=A,R=P-k;M<P;M+=k)F+=(I[R]-I[M])*(I[M+1]+I[R+1]),R=M;return F}return n.flatten=function(I){for(var A=I[0][0].length,P={vertices:[],holes:[],dimensions:A},k=0,F=0;F<I.length;F++){for(var M=0;M<I[F].length;M++)for(var R=0;R<A;R++)P.vertices.push(I[F][M][R]);F>0&&(k+=I[F-1].length,P.holes.push(k))}return P},Pn.exports}Ec();var He={},rn={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */var Mc=rn.exports,Ea;function Pc(){return Ea||(Ea=1,function(n,t){(function(e){var r=t&&!t.nodeType&&t,i=n&&!n.nodeType&&n,o=typeof De=="object"&&De;(o.global===o||o.window===o||o.self===o)&&(e=o);var s,a=2147483647,l=36,u=1,h=26,d=38,v=700,c=72,g=128,p="-",f=/^xn--/,m=/[^\x20-\x7E]/,_=/[\x2E\u3002\uFF0E\uFF61]/g,b={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},S=l-u,x=Math.floor,C=String.fromCharCode,T;function U(F){throw new RangeError(b[F])}function D(F,M){for(var R=F.length,N=[];R--;)N[R]=M(F[R]);return N}function j(F,M){var R=F.split("@"),N="";R.length>1&&(N=R[0]+"@",F=R[1]),F=F.replace(_,".");var z=F.split("."),G=D(z,M).join(".");return N+G}function Z(F){for(var M=[],R=0,N=F.length,z,G;R<N;)z=F.charCodeAt(R++),z>=55296&&z<=56319&&R<N?(G=F.charCodeAt(R++),(G&64512)==56320?M.push(((z&1023)<<10)+(G&1023)+65536):(M.push(z),R--)):M.push(z);return M}function E(F){return D(F,function(M){var R="";return M>65535&&(M-=65536,R+=C(M>>>10&1023|55296),M=56320|M&1023),R+=C(M),R}).join("")}function W(F){return F-48<10?F-22:F-65<26?F-65:F-97<26?F-97:l}function w(F,M){return F+22+75*(F<26)-((M!=0)<<5)}function $(F,M,R){var N=0;for(F=R?x(F/v):F>>1,F+=x(F/M);F>S*h>>1;N+=l)F=x(F/S);return x(N+(S+1)*F/(F+d))}function I(F){var M=[],R=F.length,N,z=0,G=g,et=c,st,J,it,ot,ut,dt,yt,y,H;for(st=F.lastIndexOf(p),st<0&&(st=0),J=0;J<st;++J)F.charCodeAt(J)>=128&&U("not-basic"),M.push(F.charCodeAt(J));for(it=st>0?st+1:0;it<R;){for(ot=z,ut=1,dt=l;it>=R&&U("invalid-input"),yt=W(F.charCodeAt(it++)),(yt>=l||yt>x((a-z)/ut))&&U("overflow"),z+=yt*ut,y=dt<=et?u:dt>=et+h?h:dt-et,!(yt<y);dt+=l)H=l-y,ut>x(a/H)&&U("overflow"),ut*=H;N=M.length+1,et=$(z-ot,N,ot==0),x(z/N)>a-G&&U("overflow"),G+=x(z/N),z%=N,M.splice(z++,0,G)}return E(M)}function A(F){var M,R,N,z,G,et,st,J,it,ot,ut,dt=[],yt,y,H,B;for(F=Z(F),yt=F.length,M=g,R=0,G=c,et=0;et<yt;++et)ut=F[et],ut<128&&dt.push(C(ut));for(N=z=dt.length,z&&dt.push(p);N<yt;){for(st=a,et=0;et<yt;++et)ut=F[et],ut>=M&&ut<st&&(st=ut);for(y=N+1,st-M>x((a-R)/y)&&U("overflow"),R+=(st-M)*y,M=st,et=0;et<yt;++et)if(ut=F[et],ut<M&&++R>a&&U("overflow"),ut==M){for(J=R,it=l;ot=it<=G?u:it>=G+h?h:it-G,!(J<ot);it+=l)B=J-ot,H=l-ot,dt.push(C(w(ot+B%H,0))),J=x(B/H);dt.push(C(w(J,0))),G=$(R,y,N==z),R=0,++N}++R,++M}return dt.join("")}function P(F){return j(F,function(M){return f.test(M)?I(M.slice(4).toLowerCase()):M})}function k(F){return j(F,function(M){return m.test(M)?"xn--"+A(M):M})}if(s={version:"1.4.1",ucs2:{decode:Z,encode:E},decode:I,encode:A,toASCII:k,toUnicode:P},r&&i)if(n.exports==r)i.exports=s;else for(T in s)s.hasOwnProperty(T)&&(r[T]=s[T]);else e.punycode=s})(Mc)}(rn,rn.exports)),rn.exports}var xi,Ma;function Cc(){return Ma||(Ma=1,xi=Error),xi}var bi,Pa;function Ac(){return Pa||(Pa=1,bi=EvalError),bi}var wi,Ca;function Rc(){return Ca||(Ca=1,wi=RangeError),wi}var Ti,Aa;function Ic(){return Aa||(Aa=1,Ti=ReferenceError),Ti}var Si,Ra;function ku(){return Ra||(Ra=1,Si=SyntaxError),Si}var Ei,Ia;function _n(){return Ia||(Ia=1,Ei=TypeError),Ei}var Mi,Oa;function Oc(){return Oa||(Oa=1,Mi=URIError),Mi}var Pi,Fa;function Fc(){return Fa||(Fa=1,Pi=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},e=Symbol("test"),r=Object(e);if(typeof e=="string"||Object.prototype.toString.call(e)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var i=42;t[e]=i;for(e in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==e||!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,e);if(s.value!==i||s.enumerable!==!0)return!1}return!0}),Pi}var Ci,La;function Lc(){if(La)return Ci;La=1;var n=typeof Symbol<"u"&&Symbol,t=Fc();return Ci=function(){return typeof n!="function"||typeof Symbol!="function"||typeof n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},Ci}var Ai,ka;function kc(){if(ka)return Ai;ka=1;var n={foo:{}},t=Object;return Ai=function(){return{__proto__:n}.foo===n.foo&&!({__proto__:null}instanceof t)},Ai}var Ri,Da;function Dc(){if(Da)return Ri;Da=1;var n="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,e=Math.max,r="[object Function]",i=function(l,u){for(var h=[],d=0;d<l.length;d+=1)h[d]=l[d];for(var v=0;v<u.length;v+=1)h[v+l.length]=u[v];return h},o=function(l,u){for(var h=[],d=u,v=0;d<l.length;d+=1,v+=1)h[v]=l[d];return h},s=function(a,l){for(var u="",h=0;h<a.length;h+=1)u+=a[h],h+1<a.length&&(u+=l);return u};return Ri=function(l){var u=this;if(typeof u!="function"||t.apply(u)!==r)throw new TypeError(n+u);for(var h=o(arguments,1),d,v=function(){if(this instanceof d){var m=u.apply(this,i(h,arguments));return Object(m)===m?m:this}return u.apply(l,i(h,arguments))},c=e(0,u.length-h.length),g=[],p=0;p<c;p++)g[p]="$"+p;if(d=Function("binder","return function ("+s(g,",")+"){ return binder.apply(this,arguments); }")(v),u.prototype){var f=function(){};f.prototype=u.prototype,d.prototype=new f,f.prototype=null}return d},Ri}var Ii,Na;function Ds(){if(Na)return Ii;Na=1;var n=Dc();return Ii=Function.prototype.bind||n,Ii}var Oi,Ua;function Nc(){if(Ua)return Oi;Ua=1;var n=Function.prototype.call,t=Object.prototype.hasOwnProperty,e=Ds();return Oi=e.call(n,t),Oi}var Fi,Ba;function Ur(){if(Ba)return Fi;Ba=1;var n,t=Cc(),e=Ac(),r=Rc(),i=Ic(),o=ku(),s=_n(),a=Oc(),l=Function,u=function(A){try{return l('"use strict"; return ('+A+").constructor;")()}catch{}},h=Object.getOwnPropertyDescriptor;if(h)try{h({},"")}catch{h=null}var d=function(){throw new s},v=h?function(){try{return arguments.callee,d}catch{try{return h(arguments,"callee").get}catch{return d}}}():d,c=Lc()(),g=kc()(),p=Object.getPrototypeOf||(g?function(A){return A.__proto__}:null),f={},m=typeof Uint8Array>"u"||!p?n:p(Uint8Array),_={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?n:ArrayBuffer,"%ArrayIteratorPrototype%":c&&p?p([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":typeof Atomics>"u"?n:Atomics,"%BigInt%":typeof BigInt>"u"?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":e,"%Float32Array%":typeof Float32Array>"u"?n:Float32Array,"%Float64Array%":typeof Float64Array>"u"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?n:FinalizationRegistry,"%Function%":l,"%GeneratorFunction%":f,"%Int8Array%":typeof Int8Array>"u"?n:Int8Array,"%Int16Array%":typeof Int16Array>"u"?n:Int16Array,"%Int32Array%":typeof Int32Array>"u"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":c&&p?p(p([][Symbol.iterator]())):n,"%JSON%":typeof JSON=="object"?JSON:n,"%Map%":typeof Map>"u"?n:Map,"%MapIteratorPrototype%":typeof Map>"u"||!c||!p?n:p(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?n:Promise,"%Proxy%":typeof Proxy>"u"?n:Proxy,"%RangeError%":r,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?n:Set,"%SetIteratorPrototype%":typeof Set>"u"||!c||!p?n:p(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":c&&p?p(""[Symbol.iterator]()):n,"%Symbol%":c?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":v,"%TypedArray%":m,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?n:Uint32Array,"%URIError%":a,"%WeakMap%":typeof WeakMap>"u"?n:WeakMap,"%WeakRef%":typeof WeakRef>"u"?n:WeakRef,"%WeakSet%":typeof WeakSet>"u"?n:WeakSet};if(p)try{null.error}catch(A){var b=p(p(A));_["%Error.prototype%"]=b}var S=function A(P){var k;if(P==="%AsyncFunction%")k=u("async function () {}");else if(P==="%GeneratorFunction%")k=u("function* () {}");else if(P==="%AsyncGeneratorFunction%")k=u("async function* () {}");else if(P==="%AsyncGenerator%"){var F=A("%AsyncGeneratorFunction%");F&&(k=F.prototype)}else if(P==="%AsyncIteratorPrototype%"){var M=A("%AsyncGenerator%");M&&p&&(k=p(M.prototype))}return _[P]=k,k},x={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},C=Ds(),T=Nc(),U=C.call(Function.call,Array.prototype.concat),D=C.call(Function.apply,Array.prototype.splice),j=C.call(Function.call,String.prototype.replace),Z=C.call(Function.call,String.prototype.slice),E=C.call(Function.call,RegExp.prototype.exec),W=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,w=/\\(\\)?/g,$=function(P){var k=Z(P,0,1),F=Z(P,-1);if(k==="%"&&F!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(F==="%"&&k!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var M=[];return j(P,W,function(R,N,z,G){M[M.length]=z?j(G,w,"$1"):N||R}),M},I=function(P,k){var F=P,M;if(T(x,F)&&(M=x[F],F="%"+M[0]+"%"),T(_,F)){var R=_[F];if(R===f&&(R=S(F)),typeof R>"u"&&!k)throw new s("intrinsic "+P+" exists, but is not available. Please file an issue!");return{alias:M,name:F,value:R}}throw new o("intrinsic "+P+" does not exist!")};return Fi=function(P,k){if(typeof P!="string"||P.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof k!="boolean")throw new s('"allowMissing" argument must be a boolean');if(E(/^%?[^%]*%?$/,P)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var F=$(P),M=F.length>0?F[0]:"",R=I("%"+M+"%",k),N=R.name,z=R.value,G=!1,et=R.alias;et&&(M=et[0],D(F,U([0,1],et)));for(var st=1,J=!0;st<F.length;st+=1){var it=F[st],ot=Z(it,0,1),ut=Z(it,-1);if((ot==='"'||ot==="'"||ot==="`"||ut==='"'||ut==="'"||ut==="`")&&ot!==ut)throw new o("property names with quotes must have matching quotes");if((it==="constructor"||!J)&&(G=!0),M+="."+it,N="%"+M+"%",T(_,N))z=_[N];else if(z!=null){if(!(it in z)){if(!k)throw new s("base intrinsic for "+P+" exists, but the property is not available.");return}if(h&&st+1>=F.length){var dt=h(z,it);J=!!dt,J&&"get"in dt&&!("originalValue"in dt.get)?z=dt.get:z=z[it]}else J=T(z,it),z=z[it];J&&!G&&(_[N]=z)}}return z},Fi}var Li={exports:{}},ki,Va;function Ns(){if(Va)return ki;Va=1;var n=Ur(),t=n("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return ki=t,ki}var Di,za;function Du(){if(za)return Di;za=1;var n=Ur(),t=n("%Object.getOwnPropertyDescriptor%",!0);if(t)try{t([],"length")}catch{t=null}return Di=t,Di}var Ni,ja;function Uc(){if(ja)return Ni;ja=1;var n=Ns(),t=ku(),e=_n(),r=Du();return Ni=function(o,s,a){if(!o||typeof o!="object"&&typeof o!="function")throw new e("`obj` must be an object or a function`");if(typeof s!="string"&&typeof s!="symbol")throw new e("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new e("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new e("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new e("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new e("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,h=arguments.length>5?arguments[5]:null,d=arguments.length>6?arguments[6]:!1,v=!!r&&r(o,s);if(n)n(o,s,{configurable:h===null&&v?v.configurable:!h,enumerable:l===null&&v?v.enumerable:!l,value:a,writable:u===null&&v?v.writable:!u});else if(d||!l&&!u&&!h)o[s]=a;else throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Ni}var Ui,Ga;function Bc(){if(Ga)return Ui;Ga=1;var n=Ns(),t=function(){return!!n};return t.hasArrayLengthDefineBug=function(){if(!n)return null;try{return n([],"length",{value:1}).length!==1}catch{return!0}},Ui=t,Ui}var Bi,Ha;function Vc(){if(Ha)return Bi;Ha=1;var n=Ur(),t=Uc(),e=Bc()(),r=Du(),i=_n(),o=n("%Math.floor%");return Bi=function(a,l){if(typeof a!="function")throw new i("`fn` is not a function");if(typeof l!="number"||l<0||l>4294967295||o(l)!==l)throw new i("`length` must be a positive 32-bit integer");var u=arguments.length>2&&!!arguments[2],h=!0,d=!0;if("length"in a&&r){var v=r(a,"length");v&&!v.configurable&&(h=!1),v&&!v.writable&&(d=!1)}return(h||d||!u)&&(e?t(a,"length",l,!0,!0):t(a,"length",l)),a},Bi}var Wa;function zc(){return Wa||(Wa=1,function(n){var t=Ds(),e=Ur(),r=Vc(),i=_n(),o=e("%Function.prototype.apply%"),s=e("%Function.prototype.call%"),a=e("%Reflect.apply%",!0)||t.call(s,o),l=Ns(),u=e("%Math.max%");n.exports=function(v){if(typeof v!="function")throw new i("a function is required");var c=a(t,s,arguments);return r(c,1+u(0,v.length-(arguments.length-1)),!0)};var h=function(){return a(t,o,arguments)};l?l(n.exports,"apply",{value:h}):n.exports.apply=h}(Li)),Li.exports}var Vi,Xa;function jc(){if(Xa)return Vi;Xa=1;var n=Ur(),t=zc(),e=t(n("String.prototype.indexOf"));return Vi=function(i,o){var s=n(i,!!o);return typeof s=="function"&&e(i,".prototype.")>-1?t(s):s},Vi}const Gc={},Hc=Object.freeze(Object.defineProperty({__proto__:null,default:Gc},Symbol.toStringTag,{value:"Module"})),Wc=ic(Hc);var zi,$a;function Xc(){if($a)return zi;$a=1;var n=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,e=n&&t&&typeof t.get=="function"?t.get:null,r=n&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,o=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,s=i&&o&&typeof o.get=="function"?o.get:null,a=i&&Set.prototype.forEach,l=typeof WeakMap=="function"&&WeakMap.prototype,u=l?WeakMap.prototype.has:null,h=typeof WeakSet=="function"&&WeakSet.prototype,d=h?WeakSet.prototype.has:null,v=typeof WeakRef=="function"&&WeakRef.prototype,c=v?WeakRef.prototype.deref:null,g=Boolean.prototype.valueOf,p=Object.prototype.toString,f=Function.prototype.toString,m=String.prototype.match,_=String.prototype.slice,b=String.prototype.replace,S=String.prototype.toUpperCase,x=String.prototype.toLowerCase,C=RegExp.prototype.test,T=Array.prototype.concat,U=Array.prototype.join,D=Array.prototype.slice,j=Math.floor,Z=typeof BigInt=="function"?BigInt.prototype.valueOf:null,E=Object.getOwnPropertySymbols,W=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,w=typeof Symbol=="function"&&typeof Symbol.iterator=="object",$=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===w||!0)?Symbol.toStringTag:null,I=Object.prototype.propertyIsEnumerable,A=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(X){return X.__proto__}:null);function P(X,Y){if(X===1/0||X===-1/0||X!==X||X&&X>-1e3&&X<1e3||C.call(/e/,Y))return Y;var xt=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof X=="number"){var Tt=X<0?-j(-X):j(X);if(Tt!==X){var Et=String(Tt),mt=_.call(Y,Et.length+1);return b.call(Et,xt,"$&_")+"."+b.call(b.call(mt,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(Y,xt,"$&_")}var k=Wc,F=k.custom,M=yt(F)?F:null,R={__proto__:null,double:'"',single:"'"},N={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};zi=function X(Y,xt,Tt,Et){var mt=xt||{};if(B(mt,"quoteStyle")&&!B(R,mt.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(B(mt,"maxStringLength")&&(typeof mt.maxStringLength=="number"?mt.maxStringLength<0&&mt.maxStringLength!==1/0:mt.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Zt=B(mt,"customInspect")?mt.customInspect:!0;if(typeof Zt!="boolean"&&Zt!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(B(mt,"indent")&&mt.indent!==null&&mt.indent!==" "&&!(parseInt(mt.indent,10)===mt.indent&&mt.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(B(mt,"numericSeparator")&&typeof mt.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Xt=mt.numericSeparator;if(typeof Y>"u")return"undefined";if(Y===null)return"null";if(typeof Y=="boolean")return Y?"true":"false";if(typeof Y=="string")return ct(Y,mt);if(typeof Y=="number"){if(Y===0)return 1/0/Y>0?"0":"-0";var It=String(Y);return Xt?P(Y,It):It}if(typeof Y=="bigint"){var Kt=String(Y)+"n";return Xt?P(Y,Kt):Kt}var pr=typeof mt.depth>"u"?5:mt.depth;if(typeof Tt>"u"&&(Tt=0),Tt>=pr&&pr>0&&typeof Y=="object")return et(Y)?"[Array]":"[Object]";var Re=pe(mt,Tt);if(typeof Et>"u")Et=[];else if(V(Et,Y)>=0)return"[Circular]";function $t(Oe,yr,xr){if(yr&&(Et=D.call(Et),Et.push(yr)),xr){var En={depth:mt.depth};return B(mt,"quoteStyle")&&(En.quoteStyle=mt.quoteStyle),X(Oe,En,Tt+1,Et)}return X(Oe,mt,Tt+1,Et)}if(typeof Y=="function"&&!J(Y)){var xn=O(Y),bn=ce(Y,$t);return"[Function"+(xn?": "+xn:" (anonymous)")+"]"+(bn.length>0?" { "+U.call(bn,", ")+" }":"")}if(yt(Y)){var wn=w?b.call(String(Y),/^(Symbol\(.*\))_[^)]*$/,"$1"):W.call(Y);return typeof Y=="object"&&!w?vt(wn):wn}if(rt(Y)){for(var Ie="<"+x.call(String(Y.nodeName)),Vr=Y.attributes||[],mr=0;mr<Vr.length;mr++)Ie+=" "+Vr[mr].name+"="+z(G(Vr[mr].value),"double",mt);return Ie+=">",Y.childNodes&&Y.childNodes.length&&(Ie+="..."),Ie+="</"+x.call(String(Y.nodeName))+">",Ie}if(et(Y)){if(Y.length===0)return"[]";var zr=ce(Y,$t);return Re&&!Yt(zr)?"["+Mt(zr,Re)+"]":"[ "+U.call(zr,", ")+" ]"}if(it(Y)){var jr=ce(Y,$t);return!("cause"in Error.prototype)&&"cause"in Y&&!I.call(Y,"cause")?"{ ["+String(Y)+"] "+U.call(T.call("[cause]: "+$t(Y.cause),jr),", ")+" }":jr.length===0?"["+String(Y)+"]":"{ ["+String(Y)+"] "+U.call(jr,", ")+" }"}if(typeof Y=="object"&&Zt){if(M&&typeof Y[M]=="function"&&k)return k(Y,{depth:pr-Tt});if(Zt!=="symbol"&&typeof Y.inspect=="function")return Y.inspect()}if(Q(Y)){var Tn=[];return r&&r.call(Y,function(Oe,yr){Tn.push($t(yr,Y,!0)+" => "+$t(Oe,Y))}),Wt("Map",e.call(Y),Tn,Re)}if(tt(Y)){var vr=[];return a&&a.call(Y,function(Oe){vr.push($t(Oe,Y))}),Wt("Set",s.call(Y),vr,Re)}if(K(Y))return Vt("WeakMap");if(at(Y))return Vt("WeakSet");if(q(Y))return Vt("WeakRef");if(ut(Y))return vt($t(Number(Y)));if(y(Y))return vt($t(Z.call(Y)));if(dt(Y))return vt(g.call(Y));if(ot(Y))return vt($t(String(Y)));if(typeof window<"u"&&Y===window)return"{ [object Window] }";if(typeof globalThis<"u"&&Y===globalThis||typeof De<"u"&&Y===De)return"{ [object globalThis] }";if(!st(Y)&&!J(Y)){var gr=ce(Y,$t),Sn=A?A(Y)===Object.prototype:Y instanceof Object||Y.constructor===Object,Gr=Y instanceof Object?"":"null prototype",mi=!Sn&&$&&Object(Y)===Y&&$ in Y?_.call(L(Y),8,-1):Gr?"Object":"",vi=Sn||typeof Y.constructor!="function"?"":Y.constructor.name?Y.constructor.name+" ":"",_r=vi+(mi||Gr?"["+U.call(T.call([],mi||[],Gr||[]),": ")+"] ":"");return gr.length===0?_r+"{}":Re?_r+"{"+Mt(gr,Re)+"}":_r+"{ "+U.call(gr,", ")+" }"}return String(Y)};function z(X,Y,xt){var Tt=xt.quoteStyle||Y,Et=R[Tt];return Et+X+Et}function G(X){return b.call(String(X),/"/g,""")}function et(X){return L(X)==="[object Array]"&&(!$||!(typeof X=="object"&&$ in X))}function st(X){return L(X)==="[object Date]"&&(!$||!(typeof X=="object"&&$ in X))}function J(X){return L(X)==="[object RegExp]"&&(!$||!(typeof X=="object"&&$ in X))}function it(X){return L(X)==="[object Error]"&&(!$||!(typeof X=="object"&&$ in X))}function ot(X){return L(X)==="[object String]"&&(!$||!(typeof X=="object"&&$ in X))}function ut(X){return L(X)==="[object Number]"&&(!$||!(typeof X=="object"&&$ in X))}function dt(X){return L(X)==="[object Boolean]"&&(!$||!(typeof X=="object"&&$ in X))}function yt(X){if(w)return X&&typeof X=="object"&&X instanceof Symbol;if(typeof X=="symbol")return!0;if(!X||typeof X!="object"||!W)return!1;try{return W.call(X),!0}catch{}return!1}function y(X){if(!X||typeof X!="object"||!Z)return!1;try{return Z.call(X),!0}catch{}return!1}var H=Object.prototype.hasOwnProperty||function(X){return X in this};function B(X,Y){return H.call(X,Y)}function L(X){return p.call(X)}function O(X){if(X.name)return X.name;var Y=m.call(f.call(X),/^function\s*([\w$]+)/);return Y?Y[1]:null}function V(X,Y){if(X.indexOf)return X.indexOf(Y);for(var xt=0,Tt=X.length;xt<Tt;xt++)if(X[xt]===Y)return xt;return-1}function Q(X){if(!e||!X||typeof X!="object")return!1;try{e.call(X);try{s.call(X)}catch{return!0}return X instanceof Map}catch{}return!1}function K(X){if(!u||!X||typeof X!="object")return!1;try{u.call(X,u);try{d.call(X,d)}catch{return!0}return X instanceof WeakMap}catch{}return!1}function q(X){if(!c||!X||typeof X!="object")return!1;try{return c.call(X),!0}catch{}return!1}function tt(X){if(!s||!X||typeof X!="object")return!1;try{s.call(X);try{e.call(X)}catch{return!0}return X instanceof Set}catch{}return!1}function at(X){if(!d||!X||typeof X!="object")return!1;try{d.call(X,d);try{u.call(X,u)}catch{return!0}return X instanceof WeakSet}catch{}return!1}function rt(X){return!X||typeof X!="object"?!1:typeof HTMLElement<"u"&&X instanceof HTMLElement?!0:typeof X.nodeName=="string"&&typeof X.getAttribute=="function"}function ct(X,Y){if(X.length>Y.maxStringLength){var xt=X.length-Y.maxStringLength,Tt="... "+xt+" more character"+(xt>1?"s":"");return ct(_.call(X,0,Y.maxStringLength),Y)+Tt}var Et=N[Y.quoteStyle||"single"];Et.lastIndex=0;var mt=b.call(b.call(X,Et,"\\$1"),/[\x00-\x1f]/g,St);return z(mt,"single",Y)}function St(X){var Y=X.charCodeAt(0),xt={8:"b",9:"t",10:"n",12:"f",13:"r"}[Y];return xt?"\\"+xt:"\\x"+(Y<16?"0":"")+S.call(Y.toString(16))}function vt(X){return"Object("+X+")"}function Vt(X){return X+" { ? }"}function Wt(X,Y,xt,Tt){var Et=Tt?Mt(xt,Tt):U.call(xt,", ");return X+" ("+Y+") {"+Et+"}"}function Yt(X){for(var Y=0;Y<X.length;Y++)if(V(X[Y],`
|
15 |
`)>=0)return!1;return!0}function pe(X,Y){var xt;if(X.indent===" ")xt=" ";else if(typeof X.indent=="number"&&X.indent>0)xt=U.call(Array(X.indent+1)," ");else return null;return{base:xt,prev:U.call(Array(Y+1),xt)}}function Mt(X,Y){if(X.length===0)return"";var xt=`
|
16 |
`+Y.prev+Y.base;return xt+U.call(X,","+xt)+`
|
17 |
`+Y.prev}function ce(X,Y){var xt=et(X),Tt=[];if(xt){Tt.length=X.length;for(var Et=0;Et<X.length;Et++)Tt[Et]=B(X,Et)?Y(X[Et],X):""}var mt=typeof E=="function"?E(X):[],Zt;if(w){Zt={};for(var Xt=0;Xt<mt.length;Xt++)Zt["$"+mt[Xt]]=mt[Xt]}for(var It in X)B(X,It)&&(xt&&String(Number(It))===It&&It<X.length||w&&Zt["$"+It]instanceof Symbol||(C.call(/[^\w$]/,It)?Tt.push(Y(It,X)+": "+Y(X[It],X)):Tt.push(It+": "+Y(X[It],X))));if(typeof E=="function")for(var Kt=0;Kt<mt.length;Kt++)I.call(X,mt[Kt])&&Tt.push("["+Y(mt[Kt])+"]: "+Y(X[mt[Kt]],X));return Tt}return zi}var ji,qa;function $c(){if(qa)return ji;qa=1;var n=Ur(),t=jc(),e=Xc(),r=_n(),i=n("%WeakMap%",!0),o=n("%Map%",!0),s=t("WeakMap.prototype.get",!0),a=t("WeakMap.prototype.set",!0),l=t("WeakMap.prototype.has",!0),u=t("Map.prototype.get",!0),h=t("Map.prototype.set",!0),d=t("Map.prototype.has",!0),v=function(f,m){for(var _=f,b;(b=_.next)!==null;_=b)if(b.key===m)return _.next=b.next,b.next=f.next,f.next=b,b},c=function(f,m){var _=v(f,m);return _&&_.value},g=function(f,m,_){var b=v(f,m);b?b.value=_:f.next={key:m,next:f.next,value:_}},p=function(f,m){return!!v(f,m)};return ji=function(){var m,_,b,S={assert:function(x){if(!S.has(x))throw new r("Side channel does not contain "+e(x))},get:function(x){if(i&&x&&(typeof x=="object"||typeof x=="function")){if(m)return s(m,x)}else if(o){if(_)return u(_,x)}else if(b)return c(b,x)},has:function(x){if(i&&x&&(typeof x=="object"||typeof x=="function")){if(m)return l(m,x)}else if(o){if(_)return d(_,x)}else if(b)return p(b,x);return!1},set:function(x,C){i&&x&&(typeof x=="object"||typeof x=="function")?(m||(m=new i),a(m,x,C)):o?(_||(_=new o),h(_,x,C)):(b||(b={key:{},next:null}),g(b,x,C))}};return S},ji}var Gi,Ya;function Us(){if(Ya)return Gi;Ya=1;var n=String.prototype.replace,t=/%20/g,e={RFC1738:"RFC1738",RFC3986:"RFC3986"};return Gi={default:e.RFC3986,formatters:{RFC1738:function(r){return n.call(r,t,"+")},RFC3986:function(r){return String(r)}},RFC1738:e.RFC1738,RFC3986:e.RFC3986},Gi}var Hi,Za;function Nu(){if(Za)return Hi;Za=1;var n=Us(),t=Object.prototype.hasOwnProperty,e=Array.isArray,r=function(){for(var f=[],m=0;m<256;++m)f.push("%"+((m<16?"0":"")+m.toString(16)).toUpperCase());return f}(),i=function(m){for(;m.length>1;){var _=m.pop(),b=_.obj[_.prop];if(e(b)){for(var S=[],x=0;x<b.length;++x)typeof b[x]<"u"&&S.push(b[x]);_.obj[_.prop]=S}}},o=function(m,_){for(var b=_&&_.plainObjects?{__proto__:null}:{},S=0;S<m.length;++S)typeof m[S]<"u"&&(b[S]=m[S]);return b},s=function f(m,_,b){if(!_)return m;if(typeof _!="object"&&typeof _!="function"){if(e(m))m.push(_);else if(m&&typeof m=="object")(b&&(b.plainObjects||b.allowPrototypes)||!t.call(Object.prototype,_))&&(m[_]=!0);else return[m,_];return m}if(!m||typeof m!="object")return[m].concat(_);var S=m;return e(m)&&!e(_)&&(S=o(m,b)),e(m)&&e(_)?(_.forEach(function(x,C){if(t.call(m,C)){var T=m[C];T&&typeof T=="object"&&x&&typeof x=="object"?m[C]=f(T,x,b):m.push(x)}else m[C]=x}),m):Object.keys(_).reduce(function(x,C){var T=_[C];return t.call(x,C)?x[C]=f(x[C],T,b):x[C]=T,x},S)},a=function(m,_){return Object.keys(_).reduce(function(b,S){return b[S]=_[S],b},m)},l=function(f,m,_){var b=f.replace(/\+/g," ");if(_==="iso-8859-1")return b.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(b)}catch{return b}},u=1024,h=function(m,_,b,S,x){if(m.length===0)return m;var C=m;if(typeof m=="symbol"?C=Symbol.prototype.toString.call(m):typeof m!="string"&&(C=String(m)),b==="iso-8859-1")return escape(C).replace(/%u[0-9a-f]{4}/gi,function(W){return"%26%23"+parseInt(W.slice(2),16)+"%3B"});for(var T="",U=0;U<C.length;U+=u){for(var D=C.length>=u?C.slice(U,U+u):C,j=[],Z=0;Z<D.length;++Z){var E=D.charCodeAt(Z);if(E===45||E===46||E===95||E===126||E>=48&&E<=57||E>=65&&E<=90||E>=97&&E<=122||x===n.RFC1738&&(E===40||E===41)){j[j.length]=D.charAt(Z);continue}if(E<128){j[j.length]=r[E];continue}if(E<2048){j[j.length]=r[192|E>>6]+r[128|E&63];continue}if(E<55296||E>=57344){j[j.length]=r[224|E>>12]+r[128|E>>6&63]+r[128|E&63];continue}Z+=1,E=65536+((E&1023)<<10|D.charCodeAt(Z)&1023),j[j.length]=r[240|E>>18]+r[128|E>>12&63]+r[128|E>>6&63]+r[128|E&63]}T+=j.join("")}return T},d=function(m){for(var _=[{obj:{o:m},prop:"o"}],b=[],S=0;S<_.length;++S)for(var x=_[S],C=x.obj[x.prop],T=Object.keys(C),U=0;U<T.length;++U){var D=T[U],j=C[D];typeof j=="object"&&j!==null&&b.indexOf(j)===-1&&(_.push({obj:C,prop:D}),b.push(j))}return i(_),m},v=function(m){return Object.prototype.toString.call(m)==="[object RegExp]"},c=function(m){return!m||typeof m!="object"?!1:!!(m.constructor&&m.constructor.isBuffer&&m.constructor.isBuffer(m))},g=function(m,_){return[].concat(m,_)},p=function(m,_){if(e(m)){for(var b=[],S=0;S<m.length;S+=1)b.push(_(m[S]));return b}return _(m)};return Hi={arrayToObject:o,assign:a,combine:g,compact:d,decode:l,encode:h,isBuffer:c,isRegExp:v,maybeMap:p,merge:s},Hi}var Wi,Qa;function qc(){if(Qa)return Wi;Qa=1;var n=$c(),t=Nu(),e=Us(),r=Object.prototype.hasOwnProperty,i={brackets:function(f){return f+"[]"},comma:"comma",indices:function(f,m){return f+"["+m+"]"},repeat:function(f){return f}},o=Array.isArray,s=Array.prototype.push,a=function(p,f){s.apply(p,o(f)?f:[f])},l=Date.prototype.toISOString,u=e.default,h={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:t.encode,encodeValuesOnly:!1,filter:void 0,format:u,formatter:e.formatters[u],indices:!1,serializeDate:function(f){return l.call(f)},skipNulls:!1,strictNullHandling:!1},d=function(f){return typeof f=="string"||typeof f=="number"||typeof f=="boolean"||typeof f=="symbol"||typeof f=="bigint"},v={},c=function p(f,m,_,b,S,x,C,T,U,D,j,Z,E,W,w,$,I,A){for(var P=f,k=A,F=0,M=!1;(k=k.get(v))!==void 0&&!M;){var R=k.get(f);if(F+=1,typeof R<"u"){if(R===F)throw new RangeError("Cyclic object value");M=!0}typeof k.get(v)>"u"&&(F=0)}if(typeof D=="function"?P=D(m,P):P instanceof Date?P=E(P):_==="comma"&&o(P)&&(P=t.maybeMap(P,function(H){return H instanceof Date?E(H):H})),P===null){if(x)return U&&!$?U(m,h.encoder,I,"key",W):m;P=""}if(d(P)||t.isBuffer(P)){if(U){var N=$?m:U(m,h.encoder,I,"key",W);return[w(N)+"="+w(U(P,h.encoder,I,"value",W))]}return[w(m)+"="+w(String(P))]}var z=[];if(typeof P>"u")return z;var G;if(_==="comma"&&o(P))$&&U&&(P=t.maybeMap(P,U)),G=[{value:P.length>0?P.join(",")||null:void 0}];else if(o(D))G=D;else{var et=Object.keys(P);G=j?et.sort(j):et}var st=T?String(m).replace(/\./g,"%2E"):String(m),J=b&&o(P)&&P.length===1?st+"[]":st;if(S&&o(P)&&P.length===0)return J+"[]";for(var it=0;it<G.length;++it){var ot=G[it],ut=typeof ot=="object"&&ot&&typeof ot.value<"u"?ot.value:P[ot];if(!(C&&ut===null)){var dt=Z&&T?String(ot).replace(/\./g,"%2E"):String(ot),yt=o(P)?typeof _=="function"?_(J,dt):J:J+(Z?"."+dt:"["+dt+"]");A.set(f,F);var y=n();y.set(v,A),a(z,p(ut,yt,_,b,S,x,C,T,_==="comma"&&$&&o(P)?null:U,D,j,Z,E,W,w,$,I,y))}}return z},g=function(f){if(!f)return h;if(typeof f.allowEmptyArrays<"u"&&typeof f.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof f.encodeDotInKeys<"u"&&typeof f.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(f.encoder!==null&&typeof f.encoder<"u"&&typeof f.encoder!="function")throw new TypeError("Encoder has to be a function.");var m=f.charset||h.charset;if(typeof f.charset<"u"&&f.charset!=="utf-8"&&f.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var _=e.default;if(typeof f.format<"u"){if(!r.call(e.formatters,f.format))throw new TypeError("Unknown format option provided.");_=f.format}var b=e.formatters[_],S=h.filter;(typeof f.filter=="function"||o(f.filter))&&(S=f.filter);var x;if(f.arrayFormat in i?x=f.arrayFormat:"indices"in f?x=f.indices?"indices":"repeat":x=h.arrayFormat,"commaRoundTrip"in f&&typeof f.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var C=typeof f.allowDots>"u"?f.encodeDotInKeys===!0?!0:h.allowDots:!!f.allowDots;return{addQueryPrefix:typeof f.addQueryPrefix=="boolean"?f.addQueryPrefix:h.addQueryPrefix,allowDots:C,allowEmptyArrays:typeof f.allowEmptyArrays=="boolean"?!!f.allowEmptyArrays:h.allowEmptyArrays,arrayFormat:x,charset:m,charsetSentinel:typeof f.charsetSentinel=="boolean"?f.charsetSentinel:h.charsetSentinel,commaRoundTrip:!!f.commaRoundTrip,delimiter:typeof f.delimiter>"u"?h.delimiter:f.delimiter,encode:typeof f.encode=="boolean"?f.encode:h.encode,encodeDotInKeys:typeof f.encodeDotInKeys=="boolean"?f.encodeDotInKeys:h.encodeDotInKeys,encoder:typeof f.encoder=="function"?f.encoder:h.encoder,encodeValuesOnly:typeof f.encodeValuesOnly=="boolean"?f.encodeValuesOnly:h.encodeValuesOnly,filter:S,format:_,formatter:b,serializeDate:typeof f.serializeDate=="function"?f.serializeDate:h.serializeDate,skipNulls:typeof f.skipNulls=="boolean"?f.skipNulls:h.skipNulls,sort:typeof f.sort=="function"?f.sort:null,strictNullHandling:typeof f.strictNullHandling=="boolean"?f.strictNullHandling:h.strictNullHandling}};return Wi=function(p,f){var m=p,_=g(f),b,S;typeof _.filter=="function"?(S=_.filter,m=S("",m)):o(_.filter)&&(S=_.filter,b=S);var x=[];if(typeof m!="object"||m===null)return"";var C=i[_.arrayFormat],T=C==="comma"&&_.commaRoundTrip;b||(b=Object.keys(m)),_.sort&&b.sort(_.sort);for(var U=n(),D=0;D<b.length;++D){var j=b[D],Z=m[j];_.skipNulls&&Z===null||a(x,c(Z,j,C,T,_.allowEmptyArrays,_.strictNullHandling,_.skipNulls,_.encodeDotInKeys,_.encode?_.encoder:null,_.filter,_.sort,_.allowDots,_.serializeDate,_.format,_.formatter,_.encodeValuesOnly,_.charset,U))}var E=x.join(_.delimiter),W=_.addQueryPrefix===!0?"?":"";return _.charsetSentinel&&(_.charset==="iso-8859-1"?W+="utf8=%26%2310003%3B&":W+="utf8=%E2%9C%93&"),E.length>0?W+E:""},Wi}var Xi,Ka;function Yc(){if(Ka)return Xi;Ka=1;var n=Nu(),t=Object.prototype.hasOwnProperty,e=Array.isArray,r={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},i=function(v){return v.replace(/&#(\d+);/g,function(c,g){return String.fromCharCode(parseInt(g,10))})},o=function(v,c){return v&&typeof v=="string"&&c.comma&&v.indexOf(",")>-1?v.split(","):v},s="utf8=%26%2310003%3B",a="utf8=%E2%9C%93",l=function(c,g){var p={__proto__:null},f=g.ignoreQueryPrefix?c.replace(/^\?/,""):c;f=f.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var m=g.parameterLimit===1/0?void 0:g.parameterLimit,_=f.split(g.delimiter,m),b=-1,S,x=g.charset;if(g.charsetSentinel)for(S=0;S<_.length;++S)_[S].indexOf("utf8=")===0&&(_[S]===a?x="utf-8":_[S]===s&&(x="iso-8859-1"),b=S,S=_.length);for(S=0;S<_.length;++S)if(S!==b){var C=_[S],T=C.indexOf("]="),U=T===-1?C.indexOf("="):T+1,D,j;U===-1?(D=g.decoder(C,r.decoder,x,"key"),j=g.strictNullHandling?null:""):(D=g.decoder(C.slice(0,U),r.decoder,x,"key"),j=n.maybeMap(o(C.slice(U+1),g),function(E){return g.decoder(E,r.decoder,x,"value")})),j&&g.interpretNumericEntities&&x==="iso-8859-1"&&(j=i(String(j))),C.indexOf("[]=")>-1&&(j=e(j)?[j]:j);var Z=t.call(p,D);Z&&g.duplicates==="combine"?p[D]=n.combine(p[D],j):(!Z||g.duplicates==="last")&&(p[D]=j)}return p},u=function(v,c,g,p){for(var f=p?c:o(c,g),m=v.length-1;m>=0;--m){var _,b=v[m];if(b==="[]"&&g.parseArrays)_=g.allowEmptyArrays&&(f===""||g.strictNullHandling&&f===null)?[]:[].concat(f);else{_=g.plainObjects?{__proto__:null}:{};var S=b.charAt(0)==="["&&b.charAt(b.length-1)==="]"?b.slice(1,-1):b,x=g.decodeDotInKeys?S.replace(/%2E/g,"."):S,C=parseInt(x,10);!g.parseArrays&&x===""?_={0:f}:!isNaN(C)&&b!==x&&String(C)===x&&C>=0&&g.parseArrays&&C<=g.arrayLimit?(_=[],_[C]=f):x!=="__proto__"&&(_[x]=f)}f=_}return f},h=function(c,g,p,f){if(c){var m=p.allowDots?c.replace(/\.([^.[]+)/g,"[$1]"):c,_=/(\[[^[\]]*])/,b=/(\[[^[\]]*])/g,S=p.depth>0&&_.exec(m),x=S?m.slice(0,S.index):m,C=[];if(x){if(!p.plainObjects&&t.call(Object.prototype,x)&&!p.allowPrototypes)return;C.push(x)}for(var T=0;p.depth>0&&(S=b.exec(m))!==null&&T<p.depth;){if(T+=1,!p.plainObjects&&t.call(Object.prototype,S[1].slice(1,-1))&&!p.allowPrototypes)return;C.push(S[1])}if(S){if(p.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+p.depth+" and strictDepth is true");C.push("["+m.slice(S.index)+"]")}return u(C,g,p,f)}},d=function(c){if(!c)return r;if(typeof c.allowEmptyArrays<"u"&&typeof c.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof c.decodeDotInKeys<"u"&&typeof c.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(c.decoder!==null&&typeof c.decoder<"u"&&typeof c.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof c.charset<"u"&&c.charset!=="utf-8"&&c.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var g=typeof c.charset>"u"?r.charset:c.charset,p=typeof c.duplicates>"u"?r.duplicates:c.duplicates;if(p!=="combine"&&p!=="first"&&p!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var f=typeof c.allowDots>"u"?c.decodeDotInKeys===!0?!0:r.allowDots:!!c.allowDots;return{allowDots:f,allowEmptyArrays:typeof c.allowEmptyArrays=="boolean"?!!c.allowEmptyArrays:r.allowEmptyArrays,allowPrototypes:typeof c.allowPrototypes=="boolean"?c.allowPrototypes:r.allowPrototypes,allowSparse:typeof c.allowSparse=="boolean"?c.allowSparse:r.allowSparse,arrayLimit:typeof c.arrayLimit=="number"?c.arrayLimit:r.arrayLimit,charset:g,charsetSentinel:typeof c.charsetSentinel=="boolean"?c.charsetSentinel:r.charsetSentinel,comma:typeof c.comma=="boolean"?c.comma:r.comma,decodeDotInKeys:typeof c.decodeDotInKeys=="boolean"?c.decodeDotInKeys:r.decodeDotInKeys,decoder:typeof c.decoder=="function"?c.decoder:r.decoder,delimiter:typeof c.delimiter=="string"||n.isRegExp(c.delimiter)?c.delimiter:r.delimiter,depth:typeof c.depth=="number"||c.depth===!1?+c.depth:r.depth,duplicates:p,ignoreQueryPrefix:c.ignoreQueryPrefix===!0,interpretNumericEntities:typeof c.interpretNumericEntities=="boolean"?c.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:typeof c.parameterLimit=="number"?c.parameterLimit:r.parameterLimit,parseArrays:c.parseArrays!==!1,plainObjects:typeof c.plainObjects=="boolean"?c.plainObjects:r.plainObjects,strictDepth:typeof c.strictDepth=="boolean"?!!c.strictDepth:r.strictDepth,strictNullHandling:typeof c.strictNullHandling=="boolean"?c.strictNullHandling:r.strictNullHandling}};return Xi=function(v,c){var g=d(c);if(v===""||v===null||typeof v>"u")return g.plainObjects?{__proto__:null}:{};for(var p=typeof v=="string"?l(v,g):v,f=g.plainObjects?{__proto__:null}:{},m=Object.keys(p),_=0;_<m.length;++_){var b=m[_],S=h(b,p[b],g,typeof v=="string");f=n.merge(f,S,g)}return g.allowSparse===!0?f:n.compact(f)},Xi}var $i,Ja;function Zc(){if(Ja)return $i;Ja=1;var n=qc(),t=Yc(),e=Us();return $i={formats:e,parse:t,stringify:n},$i}var tl;function Qc(){if(tl)return He;tl=1;var n=Pc();function t(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var e=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,i=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,o=["<",">",'"',"`"," ","\r",`
|
|
|
1 |
+
import{d as qh,D as Yh,E as Zh,f as Oo,h as Qh,H as Kh,bP as Jh,o as tc,c as ec,n as rc,bG as nc,br as Lu,b$ as De,b_ as ic,b7 as oc,a4 as sc,ad as Ft,V as nt,Q as gt,a7 as fr,bf as Nr,az as aa,ak as la,ao as ua,b8 as hi,bb as Fs,c0 as ac,a3 as lc,c1 as uc,a5 as hc,c2 as Hr,c3 as ye,$ as se,a8 as Me,b3 as hn,aw as Gt,c4 as cc,a0 as ze,bc as fc,ba as dc,c5 as ha,bg as Ls,c6 as pc,an as Qn,R as Rr,bh as mc,bk as vc,bl as gc}from"./index-DWxkGnJi.js";import{u as ks}from"./queue-BdL-zJ6z.js";const t0=qh({__name:"BasicTextarea",props:{modelValue:{default:""},modelModifiers:{}},emits:Yh(["submit"],["update:modelValue"]),setup(n,{emit:t}){const e=t,r=Zh(n,"modelValue"),i=Oo(),o=Oo({height:"auto",overflowY:"hidden"});function s(l){l.target instanceof HTMLTextAreaElement&&(l.target.style.height="auto",l.target.style.height=`${l.target.scrollHeight}px`)}function a(l){var u,h;if(l.target instanceof HTMLTextAreaElement)if(l.code==="Enter"&&l.shiftKey){l.preventDefault();const d=(u=l.target)==null?void 0:u.selectionStart,v=(h=l.target)==null?void 0:h.selectionEnd;r.value=`${r.value.substring(0,d)}
|
2 |
${r.value.substring(v)}`,o.value.height="0",nc().then(()=>{i.value&&(i.value.selectionStart=i.value.selectionEnd=d+1,o.value.height=`${i.value.scrollHeight}px`)})}else l.code==="Enter"&&(l.preventDefault(),e("submit",r.value))}return Qh(()=>{i.value&&(o.value.height=`${i.value.scrollHeight}px`)}),(l,u)=>Kh((tc(),ec("textarea",{ref_key:"textareaRef",ref:i,"onUpdate:modelValue":u[0]||(u[0]=h=>r.value=h),style:rc(o.value),onInput:s,onKeydown:a},null,36)),[[Jh,r.value]])}});/*!
|
3 |
* @pixi/constants - v6.5.10
|
4 |
* Compiled Thu, 06 Jul 2023 15:25:11 UTC
|
|
|
11 |
*
|
12 |
* @pixi/settings is licensed under the MIT License.
|
13 |
* http://www.opensource.org/licenses/mit-license
|
14 |
+
*/var _c={createCanvas:function(n,t){var e=document.createElement("canvas");return e.width=n,e.height=t,e},getWebGLRenderingContext:function(){return WebGLRenderingContext},getNavigator:function(){return navigator},getBaseUrl:function(){var n;return(n=document.baseURI)!==null&&n!==void 0?n:window.location.href},fetch:function(n,t){return fetch(n,t)}},gi=/iPhone/i,fa=/iPod/i,da=/iPad/i,pa=/\biOS-universal(?:.+)Mac\b/i,_i=/\bAndroid(?:.+)Mobile\b/i,ma=/Android/i,br=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,Mn=/Silk/i,Pe=/Windows Phone/i,va=/\bWindows(?:.+)ARM\b/i,ga=/BlackBerry/i,_a=/BB10/i,ya=/Opera Mini/i,xa=/\b(CriOS|Chrome)(?:.+)Mobile/i,ba=/Mobile(?:.+)Firefox\b/i,wa=function(n){return typeof n<"u"&&n.platform==="MacIntel"&&typeof n.maxTouchPoints=="number"&&n.maxTouchPoints>1&&typeof MSStream>"u"};function yc(n){return function(t){return t.test(n)}}function xc(n){var t={userAgent:"",platform:"",maxTouchPoints:0};!n&&typeof navigator<"u"?t={userAgent:navigator.userAgent,platform:navigator.platform,maxTouchPoints:navigator.maxTouchPoints||0}:typeof n=="string"?t.userAgent=n:n&&n.userAgent&&(t={userAgent:n.userAgent,platform:n.platform,maxTouchPoints:n.maxTouchPoints||0});var e=t.userAgent,r=e.split("[FBAN");typeof r[1]<"u"&&(e=r[0]),r=e.split("Twitter"),typeof r[1]<"u"&&(e=r[0]);var i=yc(e),o={apple:{phone:i(gi)&&!i(Pe),ipod:i(fa),tablet:!i(gi)&&(i(da)||wa(t))&&!i(Pe),universal:i(pa),device:(i(gi)||i(fa)||i(da)||i(pa)||wa(t))&&!i(Pe)},amazon:{phone:i(br),tablet:!i(br)&&i(Mn),device:i(br)||i(Mn)},android:{phone:!i(Pe)&&i(br)||!i(Pe)&&i(_i),tablet:!i(Pe)&&!i(br)&&!i(_i)&&(i(Mn)||i(ma)),device:!i(Pe)&&(i(br)||i(Mn)||i(_i)||i(ma))||i(/\bokhttp\b/i)},windows:{phone:i(Pe),tablet:i(va),device:i(Pe)||i(va)},other:{blackberry:i(ga),blackberry10:i(_a),opera:i(ya),firefox:i(ba),chrome:i(xa),device:i(ga)||i(_a)||i(ya)||i(ba)||i(xa)},any:!1,phone:!1,tablet:!1};return o.any=o.apple.device||o.android.device||o.windows.device||o.other.device,o.phone=o.apple.phone||o.android.phone||o.windows.phone,o.tablet=o.apple.tablet||o.android.tablet||o.windows.tablet,o}var sr=xc(globalThis.navigator);function bc(){return!sr.apple.device}function wc(n){var t=!0;if(sr.tablet||sr.phone){if(sr.apple.device){var e=navigator.userAgent.match(/OS (\d+)_(\d+)?/);if(e){var r=parseInt(e[1],10);r<11&&(t=!1)}}if(sr.android.device){var e=navigator.userAgent.match(/Android\s([0-9.]*)/);if(e){var r=parseInt(e[1],10);r<7&&(t=!1)}}}return t?n:4}var ht={ADAPTER:_c,MIPMAP_TEXTURES:Ee.POW2,ANISOTROPIC_LEVEL:0,RESOLUTION:1,FILTER_RESOLUTION:1,FILTER_MULTISAMPLE:Dt.NONE,SPRITE_MAX_TEXTURES:wc(32),SPRITE_BATCH_SIZE:4096,RENDER_OPTIONS:{view:null,width:800,height:600,autoDensity:!1,backgroundColor:0,backgroundAlpha:1,useContextAlpha:!0,clearBeforeRender:!0,antialias:!1,preserveDrawingBuffer:!1},GC_MODE:ei.AUTO,GC_MAX_IDLE:60*60,GC_MAX_CHECK_COUNT:60*10,WRAP_MODE:ti.CLAMP,SCALE_MODE:ee.LINEAR,PRECISION_VERTEX:re.HIGH,PRECISION_FRAGMENT:sr.apple.device?re.HIGH:re.MEDIUM,CAN_UPLOAD_SAME_BUFFER:bc(),CREATE_IMAGE_BITMAP:!1,ROUND_PIXELS:!1},yi={exports:{}},Ta;function Tc(){return Ta||(Ta=1,function(n){var t=Object.prototype.hasOwnProperty,e="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(e=!1));function i(l,u,h){this.fn=l,this.context=u,this.once=h||!1}function o(l,u,h,d,v){if(typeof h!="function")throw new TypeError("The listener must be a function");var c=new i(h,d||l,v),g=e?e+u:u;return l._events[g]?l._events[g].fn?l._events[g]=[l._events[g],c]:l._events[g].push(c):(l._events[g]=c,l._eventsCount++),l}function s(l,u){--l._eventsCount===0?l._events=new r:delete l._events[u]}function a(){this._events=new r,this._eventsCount=0}a.prototype.eventNames=function(){var u=[],h,d;if(this._eventsCount===0)return u;for(d in h=this._events)t.call(h,d)&&u.push(e?d.slice(1):d);return Object.getOwnPropertySymbols?u.concat(Object.getOwnPropertySymbols(h)):u},a.prototype.listeners=function(u){var h=e?e+u:u,d=this._events[h];if(!d)return[];if(d.fn)return[d.fn];for(var v=0,c=d.length,g=new Array(c);v<c;v++)g[v]=d[v].fn;return g},a.prototype.listenerCount=function(u){var h=e?e+u:u,d=this._events[h];return d?d.fn?1:d.length:0},a.prototype.emit=function(u,h,d,v,c,g){var p=e?e+u:u;if(!this._events[p])return!1;var f=this._events[p],m=arguments.length,_,b;if(f.fn){switch(f.once&&this.removeListener(u,f.fn,void 0,!0),m){case 1:return f.fn.call(f.context),!0;case 2:return f.fn.call(f.context,h),!0;case 3:return f.fn.call(f.context,h,d),!0;case 4:return f.fn.call(f.context,h,d,v),!0;case 5:return f.fn.call(f.context,h,d,v,c),!0;case 6:return f.fn.call(f.context,h,d,v,c,g),!0}for(b=1,_=new Array(m-1);b<m;b++)_[b-1]=arguments[b];f.fn.apply(f.context,_)}else{var S=f.length,x;for(b=0;b<S;b++)switch(f[b].once&&this.removeListener(u,f[b].fn,void 0,!0),m){case 1:f[b].fn.call(f[b].context);break;case 2:f[b].fn.call(f[b].context,h);break;case 3:f[b].fn.call(f[b].context,h,d);break;case 4:f[b].fn.call(f[b].context,h,d,v);break;default:if(!_)for(x=1,_=new Array(m-1);x<m;x++)_[x-1]=arguments[x];f[b].fn.apply(f[b].context,_)}}return!0},a.prototype.on=function(u,h,d){return o(this,u,h,d,!1)},a.prototype.once=function(u,h,d){return o(this,u,h,d,!0)},a.prototype.removeListener=function(u,h,d,v){var c=e?e+u:u;if(!this._events[c])return this;if(!h)return s(this,c),this;var g=this._events[c];if(g.fn)g.fn===h&&(!v||g.once)&&(!d||g.context===d)&&s(this,c);else{for(var p=0,f=[],m=g.length;p<m;p++)(g[p].fn!==h||v&&!g[p].once||d&&g[p].context!==d)&&f.push(g[p]);f.length?this._events[c]=f.length===1?f[0]:f:s(this,c)}return this},a.prototype.removeAllListeners=function(u){var h;return u?(h=e?e+u:u,this._events[h]&&s(this,h)):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=e,a.EventEmitter=a,n.exports=a}(yi)),yi.exports}var Sc=Tc();const je=Lu(Sc);var Pn={exports:{}},Sa;function Ec(){if(Sa)return Pn.exports;Sa=1,Pn.exports=n,Pn.exports.default=n;function n(I,A,P){P=P||2;var k=A&&A.length,F=k?A[0]*P:I.length,M=t(I,0,F,P,!0),R=[];if(!M||M.next===M.prev)return R;var N,z,G,et,st,J,it;if(k&&(M=l(I,A,M,P)),I.length>80*P){N=G=I[0],z=et=I[1];for(var ot=P;ot<F;ot+=P)st=I[ot],J=I[ot+1],st<N&&(N=st),J<z&&(z=J),st>G&&(G=st),J>et&&(et=J);it=Math.max(G-N,et-z),it=it!==0?32767/it:0}return r(M,R,P,N,z,it,0),R}function t(I,A,P,k,F){var M,R;if(F===$(I,A,P,k)>0)for(M=A;M<P;M+=k)R=E(M,I[M],I[M+1],R);else for(M=P-k;M>=A;M-=k)R=E(M,I[M],I[M+1],R);return R&&S(R,R.next)&&(W(R),R=R.next),R}function e(I,A){if(!I)return I;A||(A=I);var P=I,k;do if(k=!1,!P.steiner&&(S(P,P.next)||b(P.prev,P,P.next)===0)){if(W(P),P=A=P.prev,P===P.next)break;k=!0}else P=P.next;while(k||P!==A);return A}function r(I,A,P,k,F,M,R){if(I){!R&&M&&c(I,k,F,M);for(var N=I,z,G;I.prev!==I.next;){if(z=I.prev,G=I.next,M?o(I,k,F,M):i(I)){A.push(z.i/P|0),A.push(I.i/P|0),A.push(G.i/P|0),W(I),I=G.next,N=G.next;continue}if(I=G,I===N){R?R===1?(I=s(e(I),A,P),r(I,A,P,k,F,M,2)):R===2&&a(I,A,P,k,F,M):r(e(I),A,P,k,F,M,1);break}}}}function i(I){var A=I.prev,P=I,k=I.next;if(b(A,P,k)>=0)return!1;for(var F=A.x,M=P.x,R=k.x,N=A.y,z=P.y,G=k.y,et=F<M?F<R?F:R:M<R?M:R,st=N<z?N<G?N:G:z<G?z:G,J=F>M?F>R?F:R:M>R?M:R,it=N>z?N>G?N:G:z>G?z:G,ot=k.next;ot!==A;){if(ot.x>=et&&ot.x<=J&&ot.y>=st&&ot.y<=it&&m(F,N,M,z,R,G,ot.x,ot.y)&&b(ot.prev,ot,ot.next)>=0)return!1;ot=ot.next}return!0}function o(I,A,P,k){var F=I.prev,M=I,R=I.next;if(b(F,M,R)>=0)return!1;for(var N=F.x,z=M.x,G=R.x,et=F.y,st=M.y,J=R.y,it=N<z?N<G?N:G:z<G?z:G,ot=et<st?et<J?et:J:st<J?st:J,ut=N>z?N>G?N:G:z>G?z:G,dt=et>st?et>J?et:J:st>J?st:J,yt=p(it,ot,A,P,k),y=p(ut,dt,A,P,k),H=I.prevZ,B=I.nextZ;H&&H.z>=yt&&B&&B.z<=y;){if(H.x>=it&&H.x<=ut&&H.y>=ot&&H.y<=dt&&H!==F&&H!==R&&m(N,et,z,st,G,J,H.x,H.y)&&b(H.prev,H,H.next)>=0||(H=H.prevZ,B.x>=it&&B.x<=ut&&B.y>=ot&&B.y<=dt&&B!==F&&B!==R&&m(N,et,z,st,G,J,B.x,B.y)&&b(B.prev,B,B.next)>=0))return!1;B=B.nextZ}for(;H&&H.z>=yt;){if(H.x>=it&&H.x<=ut&&H.y>=ot&&H.y<=dt&&H!==F&&H!==R&&m(N,et,z,st,G,J,H.x,H.y)&&b(H.prev,H,H.next)>=0)return!1;H=H.prevZ}for(;B&&B.z<=y;){if(B.x>=it&&B.x<=ut&&B.y>=ot&&B.y<=dt&&B!==F&&B!==R&&m(N,et,z,st,G,J,B.x,B.y)&&b(B.prev,B,B.next)>=0)return!1;B=B.nextZ}return!0}function s(I,A,P){var k=I;do{var F=k.prev,M=k.next.next;!S(F,M)&&x(F,k,k.next,M)&&D(F,M)&&D(M,F)&&(A.push(F.i/P|0),A.push(k.i/P|0),A.push(M.i/P|0),W(k),W(k.next),k=I=M),k=k.next}while(k!==I);return e(k)}function a(I,A,P,k,F,M){var R=I;do{for(var N=R.next.next;N!==R.prev;){if(R.i!==N.i&&_(R,N)){var z=Z(R,N);R=e(R,R.next),z=e(z,z.next),r(R,A,P,k,F,M,0),r(z,A,P,k,F,M,0);return}N=N.next}R=R.next}while(R!==I)}function l(I,A,P,k){var F=[],M,R,N,z,G;for(M=0,R=A.length;M<R;M++)N=A[M]*k,z=M<R-1?A[M+1]*k:I.length,G=t(I,N,z,k,!1),G===G.next&&(G.steiner=!0),F.push(f(G));for(F.sort(u),M=0;M<F.length;M++)P=h(F[M],P);return P}function u(I,A){return I.x-A.x}function h(I,A){var P=d(I,A);if(!P)return A;var k=Z(P,I);return e(k,k.next),e(P,P.next)}function d(I,A){var P=A,k=I.x,F=I.y,M=-1/0,R;do{if(F<=P.y&&F>=P.next.y&&P.next.y!==P.y){var N=P.x+(F-P.y)*(P.next.x-P.x)/(P.next.y-P.y);if(N<=k&&N>M&&(M=N,R=P.x<P.next.x?P:P.next,N===k))return R}P=P.next}while(P!==A);if(!R)return null;var z=R,G=R.x,et=R.y,st=1/0,J;P=R;do k>=P.x&&P.x>=G&&k!==P.x&&m(F<et?k:M,F,G,et,F<et?M:k,F,P.x,P.y)&&(J=Math.abs(F-P.y)/(k-P.x),D(P,I)&&(J<st||J===st&&(P.x>R.x||P.x===R.x&&v(R,P)))&&(R=P,st=J)),P=P.next;while(P!==z);return R}function v(I,A){return b(I.prev,I,A.prev)<0&&b(A.next,I,I.next)<0}function c(I,A,P,k){var F=I;do F.z===0&&(F.z=p(F.x,F.y,A,P,k)),F.prevZ=F.prev,F.nextZ=F.next,F=F.next;while(F!==I);F.prevZ.nextZ=null,F.prevZ=null,g(F)}function g(I){var A,P,k,F,M,R,N,z,G=1;do{for(P=I,I=null,M=null,R=0;P;){for(R++,k=P,N=0,A=0;A<G&&(N++,k=k.nextZ,!!k);A++);for(z=G;N>0||z>0&&k;)N!==0&&(z===0||!k||P.z<=k.z)?(F=P,P=P.nextZ,N--):(F=k,k=k.nextZ,z--),M?M.nextZ=F:I=F,F.prevZ=M,M=F;P=k}M.nextZ=null,G*=2}while(R>1);return I}function p(I,A,P,k,F){return I=(I-P)*F|0,A=(A-k)*F|0,I=(I|I<<8)&16711935,I=(I|I<<4)&252645135,I=(I|I<<2)&858993459,I=(I|I<<1)&1431655765,A=(A|A<<8)&16711935,A=(A|A<<4)&252645135,A=(A|A<<2)&858993459,A=(A|A<<1)&1431655765,I|A<<1}function f(I){var A=I,P=I;do(A.x<P.x||A.x===P.x&&A.y<P.y)&&(P=A),A=A.next;while(A!==I);return P}function m(I,A,P,k,F,M,R,N){return(F-R)*(A-N)>=(I-R)*(M-N)&&(I-R)*(k-N)>=(P-R)*(A-N)&&(P-R)*(M-N)>=(F-R)*(k-N)}function _(I,A){return I.next.i!==A.i&&I.prev.i!==A.i&&!U(I,A)&&(D(I,A)&&D(A,I)&&j(I,A)&&(b(I.prev,I,A.prev)||b(I,A.prev,A))||S(I,A)&&b(I.prev,I,I.next)>0&&b(A.prev,A,A.next)>0)}function b(I,A,P){return(A.y-I.y)*(P.x-A.x)-(A.x-I.x)*(P.y-A.y)}function S(I,A){return I.x===A.x&&I.y===A.y}function x(I,A,P,k){var F=T(b(I,A,P)),M=T(b(I,A,k)),R=T(b(P,k,I)),N=T(b(P,k,A));return!!(F!==M&&R!==N||F===0&&C(I,P,A)||M===0&&C(I,k,A)||R===0&&C(P,I,k)||N===0&&C(P,A,k))}function C(I,A,P){return A.x<=Math.max(I.x,P.x)&&A.x>=Math.min(I.x,P.x)&&A.y<=Math.max(I.y,P.y)&&A.y>=Math.min(I.y,P.y)}function T(I){return I>0?1:I<0?-1:0}function U(I,A){var P=I;do{if(P.i!==I.i&&P.next.i!==I.i&&P.i!==A.i&&P.next.i!==A.i&&x(P,P.next,I,A))return!0;P=P.next}while(P!==I);return!1}function D(I,A){return b(I.prev,I,I.next)<0?b(I,A,I.next)>=0&&b(I,I.prev,A)>=0:b(I,A,I.prev)<0||b(I,I.next,A)<0}function j(I,A){var P=I,k=!1,F=(I.x+A.x)/2,M=(I.y+A.y)/2;do P.y>M!=P.next.y>M&&P.next.y!==P.y&&F<(P.next.x-P.x)*(M-P.y)/(P.next.y-P.y)+P.x&&(k=!k),P=P.next;while(P!==I);return k}function Z(I,A){var P=new w(I.i,I.x,I.y),k=new w(A.i,A.x,A.y),F=I.next,M=A.prev;return I.next=A,A.prev=I,P.next=F,F.prev=P,k.next=P,P.prev=k,M.next=k,k.prev=M,k}function E(I,A,P,k){var F=new w(I,A,P);return k?(F.next=k.next,F.prev=k,k.next.prev=F,k.next=F):(F.prev=F,F.next=F),F}function W(I){I.next.prev=I.prev,I.prev.next=I.next,I.prevZ&&(I.prevZ.nextZ=I.nextZ),I.nextZ&&(I.nextZ.prevZ=I.prevZ)}function w(I,A,P){this.i=I,this.x=A,this.y=P,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}n.deviation=function(I,A,P,k){var F=A&&A.length,M=F?A[0]*P:I.length,R=Math.abs($(I,0,M,P));if(F)for(var N=0,z=A.length;N<z;N++){var G=A[N]*P,et=N<z-1?A[N+1]*P:I.length;R-=Math.abs($(I,G,et,P))}var st=0;for(N=0;N<k.length;N+=3){var J=k[N]*P,it=k[N+1]*P,ot=k[N+2]*P;st+=Math.abs((I[J]-I[ot])*(I[it+1]-I[J+1])-(I[J]-I[it])*(I[ot+1]-I[J+1]))}return R===0&&st===0?0:Math.abs((st-R)/R)};function $(I,A,P,k){for(var F=0,M=A,R=P-k;M<P;M+=k)F+=(I[R]-I[M])*(I[M+1]+I[R+1]),R=M;return F}return n.flatten=function(I){for(var A=I[0][0].length,P={vertices:[],holes:[],dimensions:A},k=0,F=0;F<I.length;F++){for(var M=0;M<I[F].length;M++)for(var R=0;R<A;R++)P.vertices.push(I[F][M][R]);F>0&&(k+=I[F-1].length,P.holes.push(k))}return P},Pn.exports}Ec();var He={},rn={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */var Mc=rn.exports,Ea;function Pc(){return Ea||(Ea=1,function(n,t){(function(e){var r=t&&!t.nodeType&&t,i=n&&!n.nodeType&&n,o=typeof De=="object"&&De;(o.global===o||o.window===o||o.self===o)&&(e=o);var s,a=2147483647,l=36,u=1,h=26,d=38,v=700,c=72,g=128,p="-",f=/^xn--/,m=/[^\x20-\x7E]/,_=/[\x2E\u3002\uFF0E\uFF61]/g,b={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},S=l-u,x=Math.floor,C=String.fromCharCode,T;function U(F){throw new RangeError(b[F])}function D(F,M){for(var R=F.length,N=[];R--;)N[R]=M(F[R]);return N}function j(F,M){var R=F.split("@"),N="";R.length>1&&(N=R[0]+"@",F=R[1]),F=F.replace(_,".");var z=F.split("."),G=D(z,M).join(".");return N+G}function Z(F){for(var M=[],R=0,N=F.length,z,G;R<N;)z=F.charCodeAt(R++),z>=55296&&z<=56319&&R<N?(G=F.charCodeAt(R++),(G&64512)==56320?M.push(((z&1023)<<10)+(G&1023)+65536):(M.push(z),R--)):M.push(z);return M}function E(F){return D(F,function(M){var R="";return M>65535&&(M-=65536,R+=C(M>>>10&1023|55296),M=56320|M&1023),R+=C(M),R}).join("")}function W(F){return F-48<10?F-22:F-65<26?F-65:F-97<26?F-97:l}function w(F,M){return F+22+75*(F<26)-((M!=0)<<5)}function $(F,M,R){var N=0;for(F=R?x(F/v):F>>1,F+=x(F/M);F>S*h>>1;N+=l)F=x(F/S);return x(N+(S+1)*F/(F+d))}function I(F){var M=[],R=F.length,N,z=0,G=g,et=c,st,J,it,ot,ut,dt,yt,y,H;for(st=F.lastIndexOf(p),st<0&&(st=0),J=0;J<st;++J)F.charCodeAt(J)>=128&&U("not-basic"),M.push(F.charCodeAt(J));for(it=st>0?st+1:0;it<R;){for(ot=z,ut=1,dt=l;it>=R&&U("invalid-input"),yt=W(F.charCodeAt(it++)),(yt>=l||yt>x((a-z)/ut))&&U("overflow"),z+=yt*ut,y=dt<=et?u:dt>=et+h?h:dt-et,!(yt<y);dt+=l)H=l-y,ut>x(a/H)&&U("overflow"),ut*=H;N=M.length+1,et=$(z-ot,N,ot==0),x(z/N)>a-G&&U("overflow"),G+=x(z/N),z%=N,M.splice(z++,0,G)}return E(M)}function A(F){var M,R,N,z,G,et,st,J,it,ot,ut,dt=[],yt,y,H,B;for(F=Z(F),yt=F.length,M=g,R=0,G=c,et=0;et<yt;++et)ut=F[et],ut<128&&dt.push(C(ut));for(N=z=dt.length,z&&dt.push(p);N<yt;){for(st=a,et=0;et<yt;++et)ut=F[et],ut>=M&&ut<st&&(st=ut);for(y=N+1,st-M>x((a-R)/y)&&U("overflow"),R+=(st-M)*y,M=st,et=0;et<yt;++et)if(ut=F[et],ut<M&&++R>a&&U("overflow"),ut==M){for(J=R,it=l;ot=it<=G?u:it>=G+h?h:it-G,!(J<ot);it+=l)B=J-ot,H=l-ot,dt.push(C(w(ot+B%H,0))),J=x(B/H);dt.push(C(w(J,0))),G=$(R,y,N==z),R=0,++N}++R,++M}return dt.join("")}function P(F){return j(F,function(M){return f.test(M)?I(M.slice(4).toLowerCase()):M})}function k(F){return j(F,function(M){return m.test(M)?"xn--"+A(M):M})}if(s={version:"1.4.1",ucs2:{decode:Z,encode:E},decode:I,encode:A,toASCII:k,toUnicode:P},r&&i)if(n.exports==r)i.exports=s;else for(T in s)s.hasOwnProperty(T)&&(r[T]=s[T]);else e.punycode=s})(Mc)}(rn,rn.exports)),rn.exports}var xi,Ma;function Cc(){return Ma||(Ma=1,xi=Error),xi}var bi,Pa;function Ac(){return Pa||(Pa=1,bi=EvalError),bi}var wi,Ca;function Rc(){return Ca||(Ca=1,wi=RangeError),wi}var Ti,Aa;function Ic(){return Aa||(Aa=1,Ti=ReferenceError),Ti}var Si,Ra;function ku(){return Ra||(Ra=1,Si=SyntaxError),Si}var Ei,Ia;function _n(){return Ia||(Ia=1,Ei=TypeError),Ei}var Mi,Oa;function Oc(){return Oa||(Oa=1,Mi=URIError),Mi}var Pi,Fa;function Fc(){return Fa||(Fa=1,Pi=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},e=Symbol("test"),r=Object(e);if(typeof e=="string"||Object.prototype.toString.call(e)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var i=42;t[e]=i;for(e in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==e||!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,e);if(s.value!==i||s.enumerable!==!0)return!1}return!0}),Pi}var Ci,La;function Lc(){if(La)return Ci;La=1;var n=typeof Symbol<"u"&&Symbol,t=Fc();return Ci=function(){return typeof n!="function"||typeof Symbol!="function"||typeof n("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},Ci}var Ai,ka;function kc(){if(ka)return Ai;ka=1;var n={foo:{}},t=Object;return Ai=function(){return{__proto__:n}.foo===n.foo&&!({__proto__:null}instanceof t)},Ai}var Ri,Da;function Dc(){if(Da)return Ri;Da=1;var n="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,e=Math.max,r="[object Function]",i=function(l,u){for(var h=[],d=0;d<l.length;d+=1)h[d]=l[d];for(var v=0;v<u.length;v+=1)h[v+l.length]=u[v];return h},o=function(l,u){for(var h=[],d=u,v=0;d<l.length;d+=1,v+=1)h[v]=l[d];return h},s=function(a,l){for(var u="",h=0;h<a.length;h+=1)u+=a[h],h+1<a.length&&(u+=l);return u};return Ri=function(l){var u=this;if(typeof u!="function"||t.apply(u)!==r)throw new TypeError(n+u);for(var h=o(arguments,1),d,v=function(){if(this instanceof d){var m=u.apply(this,i(h,arguments));return Object(m)===m?m:this}return u.apply(l,i(h,arguments))},c=e(0,u.length-h.length),g=[],p=0;p<c;p++)g[p]="$"+p;if(d=Function("binder","return function ("+s(g,",")+"){ return binder.apply(this,arguments); }")(v),u.prototype){var f=function(){};f.prototype=u.prototype,d.prototype=new f,f.prototype=null}return d},Ri}var Ii,Na;function Ds(){if(Na)return Ii;Na=1;var n=Dc();return Ii=Function.prototype.bind||n,Ii}var Oi,Ua;function Nc(){if(Ua)return Oi;Ua=1;var n=Function.prototype.call,t=Object.prototype.hasOwnProperty,e=Ds();return Oi=e.call(n,t),Oi}var Fi,Ba;function Ur(){if(Ba)return Fi;Ba=1;var n,t=Cc(),e=Ac(),r=Rc(),i=Ic(),o=ku(),s=_n(),a=Oc(),l=Function,u=function(A){try{return l('"use strict"; return ('+A+").constructor;")()}catch{}},h=Object.getOwnPropertyDescriptor;if(h)try{h({},"")}catch{h=null}var d=function(){throw new s},v=h?function(){try{return arguments.callee,d}catch{try{return h(arguments,"callee").get}catch{return d}}}():d,c=Lc()(),g=kc()(),p=Object.getPrototypeOf||(g?function(A){return A.__proto__}:null),f={},m=typeof Uint8Array>"u"||!p?n:p(Uint8Array),_={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?n:ArrayBuffer,"%ArrayIteratorPrototype%":c&&p?p([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":f,"%AsyncGenerator%":f,"%AsyncGeneratorFunction%":f,"%AsyncIteratorPrototype%":f,"%Atomics%":typeof Atomics>"u"?n:Atomics,"%BigInt%":typeof BigInt>"u"?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":t,"%eval%":eval,"%EvalError%":e,"%Float32Array%":typeof Float32Array>"u"?n:Float32Array,"%Float64Array%":typeof Float64Array>"u"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?n:FinalizationRegistry,"%Function%":l,"%GeneratorFunction%":f,"%Int8Array%":typeof Int8Array>"u"?n:Int8Array,"%Int16Array%":typeof Int16Array>"u"?n:Int16Array,"%Int32Array%":typeof Int32Array>"u"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":c&&p?p(p([][Symbol.iterator]())):n,"%JSON%":typeof JSON=="object"?JSON:n,"%Map%":typeof Map>"u"?n:Map,"%MapIteratorPrototype%":typeof Map>"u"||!c||!p?n:p(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?n:Promise,"%Proxy%":typeof Proxy>"u"?n:Proxy,"%RangeError%":r,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?n:Set,"%SetIteratorPrototype%":typeof Set>"u"||!c||!p?n:p(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":c&&p?p(""[Symbol.iterator]()):n,"%Symbol%":c?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":v,"%TypedArray%":m,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?n:Uint32Array,"%URIError%":a,"%WeakMap%":typeof WeakMap>"u"?n:WeakMap,"%WeakRef%":typeof WeakRef>"u"?n:WeakRef,"%WeakSet%":typeof WeakSet>"u"?n:WeakSet};if(p)try{null.error}catch(A){var b=p(p(A));_["%Error.prototype%"]=b}var S=function A(P){var k;if(P==="%AsyncFunction%")k=u("async function () {}");else if(P==="%GeneratorFunction%")k=u("function* () {}");else if(P==="%AsyncGeneratorFunction%")k=u("async function* () {}");else if(P==="%AsyncGenerator%"){var F=A("%AsyncGeneratorFunction%");F&&(k=F.prototype)}else if(P==="%AsyncIteratorPrototype%"){var M=A("%AsyncGenerator%");M&&p&&(k=p(M.prototype))}return _[P]=k,k},x={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},C=Ds(),T=Nc(),U=C.call(Function.call,Array.prototype.concat),D=C.call(Function.apply,Array.prototype.splice),j=C.call(Function.call,String.prototype.replace),Z=C.call(Function.call,String.prototype.slice),E=C.call(Function.call,RegExp.prototype.exec),W=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,w=/\\(\\)?/g,$=function(P){var k=Z(P,0,1),F=Z(P,-1);if(k==="%"&&F!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(F==="%"&&k!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var M=[];return j(P,W,function(R,N,z,G){M[M.length]=z?j(G,w,"$1"):N||R}),M},I=function(P,k){var F=P,M;if(T(x,F)&&(M=x[F],F="%"+M[0]+"%"),T(_,F)){var R=_[F];if(R===f&&(R=S(F)),typeof R>"u"&&!k)throw new s("intrinsic "+P+" exists, but is not available. Please file an issue!");return{alias:M,name:F,value:R}}throw new o("intrinsic "+P+" does not exist!")};return Fi=function(P,k){if(typeof P!="string"||P.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof k!="boolean")throw new s('"allowMissing" argument must be a boolean');if(E(/^%?[^%]*%?$/,P)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var F=$(P),M=F.length>0?F[0]:"",R=I("%"+M+"%",k),N=R.name,z=R.value,G=!1,et=R.alias;et&&(M=et[0],D(F,U([0,1],et)));for(var st=1,J=!0;st<F.length;st+=1){var it=F[st],ot=Z(it,0,1),ut=Z(it,-1);if((ot==='"'||ot==="'"||ot==="`"||ut==='"'||ut==="'"||ut==="`")&&ot!==ut)throw new o("property names with quotes must have matching quotes");if((it==="constructor"||!J)&&(G=!0),M+="."+it,N="%"+M+"%",T(_,N))z=_[N];else if(z!=null){if(!(it in z)){if(!k)throw new s("base intrinsic for "+P+" exists, but the property is not available.");return}if(h&&st+1>=F.length){var dt=h(z,it);J=!!dt,J&&"get"in dt&&!("originalValue"in dt.get)?z=dt.get:z=z[it]}else J=T(z,it),z=z[it];J&&!G&&(_[N]=z)}}return z},Fi}var Li={exports:{}},ki,Va;function Ns(){if(Va)return ki;Va=1;var n=Ur(),t=n("%Object.defineProperty%",!0)||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return ki=t,ki}var Di,za;function Du(){if(za)return Di;za=1;var n=Ur(),t=n("%Object.getOwnPropertyDescriptor%",!0);if(t)try{t([],"length")}catch{t=null}return Di=t,Di}var Ni,ja;function Uc(){if(ja)return Ni;ja=1;var n=Ns(),t=ku(),e=_n(),r=Du();return Ni=function(o,s,a){if(!o||typeof o!="object"&&typeof o!="function")throw new e("`obj` must be an object or a function`");if(typeof s!="string"&&typeof s!="symbol")throw new e("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new e("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new e("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new e("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new e("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,h=arguments.length>5?arguments[5]:null,d=arguments.length>6?arguments[6]:!1,v=!!r&&r(o,s);if(n)n(o,s,{configurable:h===null&&v?v.configurable:!h,enumerable:l===null&&v?v.enumerable:!l,value:a,writable:u===null&&v?v.writable:!u});else if(d||!l&&!u&&!h)o[s]=a;else throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Ni}var Ui,Ga;function Bc(){if(Ga)return Ui;Ga=1;var n=Ns(),t=function(){return!!n};return t.hasArrayLengthDefineBug=function(){if(!n)return null;try{return n([],"length",{value:1}).length!==1}catch{return!0}},Ui=t,Ui}var Bi,Ha;function Vc(){if(Ha)return Bi;Ha=1;var n=Ur(),t=Uc(),e=Bc()(),r=Du(),i=_n(),o=n("%Math.floor%");return Bi=function(a,l){if(typeof a!="function")throw new i("`fn` is not a function");if(typeof l!="number"||l<0||l>4294967295||o(l)!==l)throw new i("`length` must be a positive 32-bit integer");var u=arguments.length>2&&!!arguments[2],h=!0,d=!0;if("length"in a&&r){var v=r(a,"length");v&&!v.configurable&&(h=!1),v&&!v.writable&&(d=!1)}return(h||d||!u)&&(e?t(a,"length",l,!0,!0):t(a,"length",l)),a},Bi}var Wa;function zc(){return Wa||(Wa=1,function(n){var t=Ds(),e=Ur(),r=Vc(),i=_n(),o=e("%Function.prototype.apply%"),s=e("%Function.prototype.call%"),a=e("%Reflect.apply%",!0)||t.call(s,o),l=Ns(),u=e("%Math.max%");n.exports=function(v){if(typeof v!="function")throw new i("a function is required");var c=a(t,s,arguments);return r(c,1+u(0,v.length-(arguments.length-1)),!0)};var h=function(){return a(t,o,arguments)};l?l(n.exports,"apply",{value:h}):n.exports.apply=h}(Li)),Li.exports}var Vi,Xa;function jc(){if(Xa)return Vi;Xa=1;var n=Ur(),t=zc(),e=t(n("String.prototype.indexOf"));return Vi=function(i,o){var s=n(i,!!o);return typeof s=="function"&&e(i,".prototype.")>-1?t(s):s},Vi}const Gc={},Hc=Object.freeze(Object.defineProperty({__proto__:null,default:Gc},Symbol.toStringTag,{value:"Module"})),Wc=ic(Hc);var zi,$a;function Xc(){if($a)return zi;$a=1;var n=typeof Map=="function"&&Map.prototype,t=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,e=n&&t&&typeof t.get=="function"?t.get:null,r=n&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,o=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,s=i&&o&&typeof o.get=="function"?o.get:null,a=i&&Set.prototype.forEach,l=typeof WeakMap=="function"&&WeakMap.prototype,u=l?WeakMap.prototype.has:null,h=typeof WeakSet=="function"&&WeakSet.prototype,d=h?WeakSet.prototype.has:null,v=typeof WeakRef=="function"&&WeakRef.prototype,c=v?WeakRef.prototype.deref:null,g=Boolean.prototype.valueOf,p=Object.prototype.toString,f=Function.prototype.toString,m=String.prototype.match,_=String.prototype.slice,b=String.prototype.replace,S=String.prototype.toUpperCase,x=String.prototype.toLowerCase,C=RegExp.prototype.test,T=Array.prototype.concat,U=Array.prototype.join,D=Array.prototype.slice,j=Math.floor,Z=typeof BigInt=="function"?BigInt.prototype.valueOf:null,E=Object.getOwnPropertySymbols,W=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,w=typeof Symbol=="function"&&typeof Symbol.iterator=="object",$=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===w||!0)?Symbol.toStringTag:null,I=Object.prototype.propertyIsEnumerable,A=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(X){return X.__proto__}:null);function P(X,Y){if(X===1/0||X===-1/0||X!==X||X&&X>-1e3&&X<1e3||C.call(/e/,Y))return Y;var xt=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof X=="number"){var Tt=X<0?-j(-X):j(X);if(Tt!==X){var Et=String(Tt),mt=_.call(Y,Et.length+1);return b.call(Et,xt,"$&_")+"."+b.call(b.call(mt,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(Y,xt,"$&_")}var k=Wc,F=k.custom,M=yt(F)?F:null,R={__proto__:null,double:'"',single:"'"},N={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};zi=function X(Y,xt,Tt,Et){var mt=xt||{};if(B(mt,"quoteStyle")&&!B(R,mt.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(B(mt,"maxStringLength")&&(typeof mt.maxStringLength=="number"?mt.maxStringLength<0&&mt.maxStringLength!==1/0:mt.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Zt=B(mt,"customInspect")?mt.customInspect:!0;if(typeof Zt!="boolean"&&Zt!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(B(mt,"indent")&&mt.indent!==null&&mt.indent!==" "&&!(parseInt(mt.indent,10)===mt.indent&&mt.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(B(mt,"numericSeparator")&&typeof mt.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Xt=mt.numericSeparator;if(typeof Y>"u")return"undefined";if(Y===null)return"null";if(typeof Y=="boolean")return Y?"true":"false";if(typeof Y=="string")return ct(Y,mt);if(typeof Y=="number"){if(Y===0)return 1/0/Y>0?"0":"-0";var It=String(Y);return Xt?P(Y,It):It}if(typeof Y=="bigint"){var Kt=String(Y)+"n";return Xt?P(Y,Kt):Kt}var pr=typeof mt.depth>"u"?5:mt.depth;if(typeof Tt>"u"&&(Tt=0),Tt>=pr&&pr>0&&typeof Y=="object")return et(Y)?"[Array]":"[Object]";var Re=pe(mt,Tt);if(typeof Et>"u")Et=[];else if(V(Et,Y)>=0)return"[Circular]";function $t(Oe,yr,xr){if(yr&&(Et=D.call(Et),Et.push(yr)),xr){var En={depth:mt.depth};return B(mt,"quoteStyle")&&(En.quoteStyle=mt.quoteStyle),X(Oe,En,Tt+1,Et)}return X(Oe,mt,Tt+1,Et)}if(typeof Y=="function"&&!J(Y)){var xn=O(Y),bn=ce(Y,$t);return"[Function"+(xn?": "+xn:" (anonymous)")+"]"+(bn.length>0?" { "+U.call(bn,", ")+" }":"")}if(yt(Y)){var wn=w?b.call(String(Y),/^(Symbol\(.*\))_[^)]*$/,"$1"):W.call(Y);return typeof Y=="object"&&!w?vt(wn):wn}if(rt(Y)){for(var Ie="<"+x.call(String(Y.nodeName)),Vr=Y.attributes||[],mr=0;mr<Vr.length;mr++)Ie+=" "+Vr[mr].name+"="+z(G(Vr[mr].value),"double",mt);return Ie+=">",Y.childNodes&&Y.childNodes.length&&(Ie+="..."),Ie+="</"+x.call(String(Y.nodeName))+">",Ie}if(et(Y)){if(Y.length===0)return"[]";var zr=ce(Y,$t);return Re&&!Yt(zr)?"["+Mt(zr,Re)+"]":"[ "+U.call(zr,", ")+" ]"}if(it(Y)){var jr=ce(Y,$t);return!("cause"in Error.prototype)&&"cause"in Y&&!I.call(Y,"cause")?"{ ["+String(Y)+"] "+U.call(T.call("[cause]: "+$t(Y.cause),jr),", ")+" }":jr.length===0?"["+String(Y)+"]":"{ ["+String(Y)+"] "+U.call(jr,", ")+" }"}if(typeof Y=="object"&&Zt){if(M&&typeof Y[M]=="function"&&k)return k(Y,{depth:pr-Tt});if(Zt!=="symbol"&&typeof Y.inspect=="function")return Y.inspect()}if(Q(Y)){var Tn=[];return r&&r.call(Y,function(Oe,yr){Tn.push($t(yr,Y,!0)+" => "+$t(Oe,Y))}),Wt("Map",e.call(Y),Tn,Re)}if(tt(Y)){var vr=[];return a&&a.call(Y,function(Oe){vr.push($t(Oe,Y))}),Wt("Set",s.call(Y),vr,Re)}if(K(Y))return Vt("WeakMap");if(at(Y))return Vt("WeakSet");if(q(Y))return Vt("WeakRef");if(ut(Y))return vt($t(Number(Y)));if(y(Y))return vt($t(Z.call(Y)));if(dt(Y))return vt(g.call(Y));if(ot(Y))return vt($t(String(Y)));if(typeof window<"u"&&Y===window)return"{ [object Window] }";if(typeof globalThis<"u"&&Y===globalThis||typeof De<"u"&&Y===De)return"{ [object globalThis] }";if(!st(Y)&&!J(Y)){var gr=ce(Y,$t),Sn=A?A(Y)===Object.prototype:Y instanceof Object||Y.constructor===Object,Gr=Y instanceof Object?"":"null prototype",mi=!Sn&&$&&Object(Y)===Y&&$ in Y?_.call(L(Y),8,-1):Gr?"Object":"",vi=Sn||typeof Y.constructor!="function"?"":Y.constructor.name?Y.constructor.name+" ":"",_r=vi+(mi||Gr?"["+U.call(T.call([],mi||[],Gr||[]),": ")+"] ":"");return gr.length===0?_r+"{}":Re?_r+"{"+Mt(gr,Re)+"}":_r+"{ "+U.call(gr,", ")+" }"}return String(Y)};function z(X,Y,xt){var Tt=xt.quoteStyle||Y,Et=R[Tt];return Et+X+Et}function G(X){return b.call(String(X),/"/g,""")}function et(X){return L(X)==="[object Array]"&&(!$||!(typeof X=="object"&&$ in X))}function st(X){return L(X)==="[object Date]"&&(!$||!(typeof X=="object"&&$ in X))}function J(X){return L(X)==="[object RegExp]"&&(!$||!(typeof X=="object"&&$ in X))}function it(X){return L(X)==="[object Error]"&&(!$||!(typeof X=="object"&&$ in X))}function ot(X){return L(X)==="[object String]"&&(!$||!(typeof X=="object"&&$ in X))}function ut(X){return L(X)==="[object Number]"&&(!$||!(typeof X=="object"&&$ in X))}function dt(X){return L(X)==="[object Boolean]"&&(!$||!(typeof X=="object"&&$ in X))}function yt(X){if(w)return X&&typeof X=="object"&&X instanceof Symbol;if(typeof X=="symbol")return!0;if(!X||typeof X!="object"||!W)return!1;try{return W.call(X),!0}catch{}return!1}function y(X){if(!X||typeof X!="object"||!Z)return!1;try{return Z.call(X),!0}catch{}return!1}var H=Object.prototype.hasOwnProperty||function(X){return X in this};function B(X,Y){return H.call(X,Y)}function L(X){return p.call(X)}function O(X){if(X.name)return X.name;var Y=m.call(f.call(X),/^function\s*([\w$]+)/);return Y?Y[1]:null}function V(X,Y){if(X.indexOf)return X.indexOf(Y);for(var xt=0,Tt=X.length;xt<Tt;xt++)if(X[xt]===Y)return xt;return-1}function Q(X){if(!e||!X||typeof X!="object")return!1;try{e.call(X);try{s.call(X)}catch{return!0}return X instanceof Map}catch{}return!1}function K(X){if(!u||!X||typeof X!="object")return!1;try{u.call(X,u);try{d.call(X,d)}catch{return!0}return X instanceof WeakMap}catch{}return!1}function q(X){if(!c||!X||typeof X!="object")return!1;try{return c.call(X),!0}catch{}return!1}function tt(X){if(!s||!X||typeof X!="object")return!1;try{s.call(X);try{e.call(X)}catch{return!0}return X instanceof Set}catch{}return!1}function at(X){if(!d||!X||typeof X!="object")return!1;try{d.call(X,d);try{u.call(X,u)}catch{return!0}return X instanceof WeakSet}catch{}return!1}function rt(X){return!X||typeof X!="object"?!1:typeof HTMLElement<"u"&&X instanceof HTMLElement?!0:typeof X.nodeName=="string"&&typeof X.getAttribute=="function"}function ct(X,Y){if(X.length>Y.maxStringLength){var xt=X.length-Y.maxStringLength,Tt="... "+xt+" more character"+(xt>1?"s":"");return ct(_.call(X,0,Y.maxStringLength),Y)+Tt}var Et=N[Y.quoteStyle||"single"];Et.lastIndex=0;var mt=b.call(b.call(X,Et,"\\$1"),/[\x00-\x1f]/g,St);return z(mt,"single",Y)}function St(X){var Y=X.charCodeAt(0),xt={8:"b",9:"t",10:"n",12:"f",13:"r"}[Y];return xt?"\\"+xt:"\\x"+(Y<16?"0":"")+S.call(Y.toString(16))}function vt(X){return"Object("+X+")"}function Vt(X){return X+" { ? }"}function Wt(X,Y,xt,Tt){var Et=Tt?Mt(xt,Tt):U.call(xt,", ");return X+" ("+Y+") {"+Et+"}"}function Yt(X){for(var Y=0;Y<X.length;Y++)if(V(X[Y],`
|
15 |
`)>=0)return!1;return!0}function pe(X,Y){var xt;if(X.indent===" ")xt=" ";else if(typeof X.indent=="number"&&X.indent>0)xt=U.call(Array(X.indent+1)," ");else return null;return{base:xt,prev:U.call(Array(Y+1),xt)}}function Mt(X,Y){if(X.length===0)return"";var xt=`
|
16 |
`+Y.prev+Y.base;return xt+U.call(X,","+xt)+`
|
17 |
`+Y.prev}function ce(X,Y){var xt=et(X),Tt=[];if(xt){Tt.length=X.length;for(var Et=0;Et<X.length;Et++)Tt[Et]=B(X,Et)?Y(X[Et],X):""}var mt=typeof E=="function"?E(X):[],Zt;if(w){Zt={};for(var Xt=0;Xt<mt.length;Xt++)Zt["$"+mt[Xt]]=mt[Xt]}for(var It in X)B(X,It)&&(xt&&String(Number(It))===It&&It<X.length||w&&Zt["$"+It]instanceof Symbol||(C.call(/[^\w$]/,It)?Tt.push(Y(It,X)+": "+Y(X[It],X)):Tt.push(It+": "+Y(X[It],X))));if(typeof E=="function")for(var Kt=0;Kt<mt.length;Kt++)I.call(X,mt[Kt])&&Tt.push("["+Y(mt[Kt])+"]: "+Y(X[mt[Kt]],X));return Tt}return zi}var ji,qa;function $c(){if(qa)return ji;qa=1;var n=Ur(),t=jc(),e=Xc(),r=_n(),i=n("%WeakMap%",!0),o=n("%Map%",!0),s=t("WeakMap.prototype.get",!0),a=t("WeakMap.prototype.set",!0),l=t("WeakMap.prototype.has",!0),u=t("Map.prototype.get",!0),h=t("Map.prototype.set",!0),d=t("Map.prototype.has",!0),v=function(f,m){for(var _=f,b;(b=_.next)!==null;_=b)if(b.key===m)return _.next=b.next,b.next=f.next,f.next=b,b},c=function(f,m){var _=v(f,m);return _&&_.value},g=function(f,m,_){var b=v(f,m);b?b.value=_:f.next={key:m,next:f.next,value:_}},p=function(f,m){return!!v(f,m)};return ji=function(){var m,_,b,S={assert:function(x){if(!S.has(x))throw new r("Side channel does not contain "+e(x))},get:function(x){if(i&&x&&(typeof x=="object"||typeof x=="function")){if(m)return s(m,x)}else if(o){if(_)return u(_,x)}else if(b)return c(b,x)},has:function(x){if(i&&x&&(typeof x=="object"||typeof x=="function")){if(m)return l(m,x)}else if(o){if(_)return d(_,x)}else if(b)return p(b,x);return!1},set:function(x,C){i&&x&&(typeof x=="object"||typeof x=="function")?(m||(m=new i),a(m,x,C)):o?(_||(_=new o),h(_,x,C)):(b||(b={key:{},next:null}),g(b,x,C))}};return S},ji}var Gi,Ya;function Us(){if(Ya)return Gi;Ya=1;var n=String.prototype.replace,t=/%20/g,e={RFC1738:"RFC1738",RFC3986:"RFC3986"};return Gi={default:e.RFC3986,formatters:{RFC1738:function(r){return n.call(r,t,"+")},RFC3986:function(r){return String(r)}},RFC1738:e.RFC1738,RFC3986:e.RFC3986},Gi}var Hi,Za;function Nu(){if(Za)return Hi;Za=1;var n=Us(),t=Object.prototype.hasOwnProperty,e=Array.isArray,r=function(){for(var f=[],m=0;m<256;++m)f.push("%"+((m<16?"0":"")+m.toString(16)).toUpperCase());return f}(),i=function(m){for(;m.length>1;){var _=m.pop(),b=_.obj[_.prop];if(e(b)){for(var S=[],x=0;x<b.length;++x)typeof b[x]<"u"&&S.push(b[x]);_.obj[_.prop]=S}}},o=function(m,_){for(var b=_&&_.plainObjects?{__proto__:null}:{},S=0;S<m.length;++S)typeof m[S]<"u"&&(b[S]=m[S]);return b},s=function f(m,_,b){if(!_)return m;if(typeof _!="object"&&typeof _!="function"){if(e(m))m.push(_);else if(m&&typeof m=="object")(b&&(b.plainObjects||b.allowPrototypes)||!t.call(Object.prototype,_))&&(m[_]=!0);else return[m,_];return m}if(!m||typeof m!="object")return[m].concat(_);var S=m;return e(m)&&!e(_)&&(S=o(m,b)),e(m)&&e(_)?(_.forEach(function(x,C){if(t.call(m,C)){var T=m[C];T&&typeof T=="object"&&x&&typeof x=="object"?m[C]=f(T,x,b):m.push(x)}else m[C]=x}),m):Object.keys(_).reduce(function(x,C){var T=_[C];return t.call(x,C)?x[C]=f(x[C],T,b):x[C]=T,x},S)},a=function(m,_){return Object.keys(_).reduce(function(b,S){return b[S]=_[S],b},m)},l=function(f,m,_){var b=f.replace(/\+/g," ");if(_==="iso-8859-1")return b.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(b)}catch{return b}},u=1024,h=function(m,_,b,S,x){if(m.length===0)return m;var C=m;if(typeof m=="symbol"?C=Symbol.prototype.toString.call(m):typeof m!="string"&&(C=String(m)),b==="iso-8859-1")return escape(C).replace(/%u[0-9a-f]{4}/gi,function(W){return"%26%23"+parseInt(W.slice(2),16)+"%3B"});for(var T="",U=0;U<C.length;U+=u){for(var D=C.length>=u?C.slice(U,U+u):C,j=[],Z=0;Z<D.length;++Z){var E=D.charCodeAt(Z);if(E===45||E===46||E===95||E===126||E>=48&&E<=57||E>=65&&E<=90||E>=97&&E<=122||x===n.RFC1738&&(E===40||E===41)){j[j.length]=D.charAt(Z);continue}if(E<128){j[j.length]=r[E];continue}if(E<2048){j[j.length]=r[192|E>>6]+r[128|E&63];continue}if(E<55296||E>=57344){j[j.length]=r[224|E>>12]+r[128|E>>6&63]+r[128|E&63];continue}Z+=1,E=65536+((E&1023)<<10|D.charCodeAt(Z)&1023),j[j.length]=r[240|E>>18]+r[128|E>>12&63]+r[128|E>>6&63]+r[128|E&63]}T+=j.join("")}return T},d=function(m){for(var _=[{obj:{o:m},prop:"o"}],b=[],S=0;S<_.length;++S)for(var x=_[S],C=x.obj[x.prop],T=Object.keys(C),U=0;U<T.length;++U){var D=T[U],j=C[D];typeof j=="object"&&j!==null&&b.indexOf(j)===-1&&(_.push({obj:C,prop:D}),b.push(j))}return i(_),m},v=function(m){return Object.prototype.toString.call(m)==="[object RegExp]"},c=function(m){return!m||typeof m!="object"?!1:!!(m.constructor&&m.constructor.isBuffer&&m.constructor.isBuffer(m))},g=function(m,_){return[].concat(m,_)},p=function(m,_){if(e(m)){for(var b=[],S=0;S<m.length;S+=1)b.push(_(m[S]));return b}return _(m)};return Hi={arrayToObject:o,assign:a,combine:g,compact:d,decode:l,encode:h,isBuffer:c,isRegExp:v,maybeMap:p,merge:s},Hi}var Wi,Qa;function qc(){if(Qa)return Wi;Qa=1;var n=$c(),t=Nu(),e=Us(),r=Object.prototype.hasOwnProperty,i={brackets:function(f){return f+"[]"},comma:"comma",indices:function(f,m){return f+"["+m+"]"},repeat:function(f){return f}},o=Array.isArray,s=Array.prototype.push,a=function(p,f){s.apply(p,o(f)?f:[f])},l=Date.prototype.toISOString,u=e.default,h={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:t.encode,encodeValuesOnly:!1,filter:void 0,format:u,formatter:e.formatters[u],indices:!1,serializeDate:function(f){return l.call(f)},skipNulls:!1,strictNullHandling:!1},d=function(f){return typeof f=="string"||typeof f=="number"||typeof f=="boolean"||typeof f=="symbol"||typeof f=="bigint"},v={},c=function p(f,m,_,b,S,x,C,T,U,D,j,Z,E,W,w,$,I,A){for(var P=f,k=A,F=0,M=!1;(k=k.get(v))!==void 0&&!M;){var R=k.get(f);if(F+=1,typeof R<"u"){if(R===F)throw new RangeError("Cyclic object value");M=!0}typeof k.get(v)>"u"&&(F=0)}if(typeof D=="function"?P=D(m,P):P instanceof Date?P=E(P):_==="comma"&&o(P)&&(P=t.maybeMap(P,function(H){return H instanceof Date?E(H):H})),P===null){if(x)return U&&!$?U(m,h.encoder,I,"key",W):m;P=""}if(d(P)||t.isBuffer(P)){if(U){var N=$?m:U(m,h.encoder,I,"key",W);return[w(N)+"="+w(U(P,h.encoder,I,"value",W))]}return[w(m)+"="+w(String(P))]}var z=[];if(typeof P>"u")return z;var G;if(_==="comma"&&o(P))$&&U&&(P=t.maybeMap(P,U)),G=[{value:P.length>0?P.join(",")||null:void 0}];else if(o(D))G=D;else{var et=Object.keys(P);G=j?et.sort(j):et}var st=T?String(m).replace(/\./g,"%2E"):String(m),J=b&&o(P)&&P.length===1?st+"[]":st;if(S&&o(P)&&P.length===0)return J+"[]";for(var it=0;it<G.length;++it){var ot=G[it],ut=typeof ot=="object"&&ot&&typeof ot.value<"u"?ot.value:P[ot];if(!(C&&ut===null)){var dt=Z&&T?String(ot).replace(/\./g,"%2E"):String(ot),yt=o(P)?typeof _=="function"?_(J,dt):J:J+(Z?"."+dt:"["+dt+"]");A.set(f,F);var y=n();y.set(v,A),a(z,p(ut,yt,_,b,S,x,C,T,_==="comma"&&$&&o(P)?null:U,D,j,Z,E,W,w,$,I,y))}}return z},g=function(f){if(!f)return h;if(typeof f.allowEmptyArrays<"u"&&typeof f.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof f.encodeDotInKeys<"u"&&typeof f.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(f.encoder!==null&&typeof f.encoder<"u"&&typeof f.encoder!="function")throw new TypeError("Encoder has to be a function.");var m=f.charset||h.charset;if(typeof f.charset<"u"&&f.charset!=="utf-8"&&f.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var _=e.default;if(typeof f.format<"u"){if(!r.call(e.formatters,f.format))throw new TypeError("Unknown format option provided.");_=f.format}var b=e.formatters[_],S=h.filter;(typeof f.filter=="function"||o(f.filter))&&(S=f.filter);var x;if(f.arrayFormat in i?x=f.arrayFormat:"indices"in f?x=f.indices?"indices":"repeat":x=h.arrayFormat,"commaRoundTrip"in f&&typeof f.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var C=typeof f.allowDots>"u"?f.encodeDotInKeys===!0?!0:h.allowDots:!!f.allowDots;return{addQueryPrefix:typeof f.addQueryPrefix=="boolean"?f.addQueryPrefix:h.addQueryPrefix,allowDots:C,allowEmptyArrays:typeof f.allowEmptyArrays=="boolean"?!!f.allowEmptyArrays:h.allowEmptyArrays,arrayFormat:x,charset:m,charsetSentinel:typeof f.charsetSentinel=="boolean"?f.charsetSentinel:h.charsetSentinel,commaRoundTrip:!!f.commaRoundTrip,delimiter:typeof f.delimiter>"u"?h.delimiter:f.delimiter,encode:typeof f.encode=="boolean"?f.encode:h.encode,encodeDotInKeys:typeof f.encodeDotInKeys=="boolean"?f.encodeDotInKeys:h.encodeDotInKeys,encoder:typeof f.encoder=="function"?f.encoder:h.encoder,encodeValuesOnly:typeof f.encodeValuesOnly=="boolean"?f.encodeValuesOnly:h.encodeValuesOnly,filter:S,format:_,formatter:b,serializeDate:typeof f.serializeDate=="function"?f.serializeDate:h.serializeDate,skipNulls:typeof f.skipNulls=="boolean"?f.skipNulls:h.skipNulls,sort:typeof f.sort=="function"?f.sort:null,strictNullHandling:typeof f.strictNullHandling=="boolean"?f.strictNullHandling:h.strictNullHandling}};return Wi=function(p,f){var m=p,_=g(f),b,S;typeof _.filter=="function"?(S=_.filter,m=S("",m)):o(_.filter)&&(S=_.filter,b=S);var x=[];if(typeof m!="object"||m===null)return"";var C=i[_.arrayFormat],T=C==="comma"&&_.commaRoundTrip;b||(b=Object.keys(m)),_.sort&&b.sort(_.sort);for(var U=n(),D=0;D<b.length;++D){var j=b[D],Z=m[j];_.skipNulls&&Z===null||a(x,c(Z,j,C,T,_.allowEmptyArrays,_.strictNullHandling,_.skipNulls,_.encodeDotInKeys,_.encode?_.encoder:null,_.filter,_.sort,_.allowDots,_.serializeDate,_.format,_.formatter,_.encodeValuesOnly,_.charset,U))}var E=x.join(_.delimiter),W=_.addQueryPrefix===!0?"?":"";return _.charsetSentinel&&(_.charset==="iso-8859-1"?W+="utf8=%26%2310003%3B&":W+="utf8=%E2%9C%93&"),E.length>0?W+E:""},Wi}var Xi,Ka;function Yc(){if(Ka)return Xi;Ka=1;var n=Nu(),t=Object.prototype.hasOwnProperty,e=Array.isArray,r={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},i=function(v){return v.replace(/&#(\d+);/g,function(c,g){return String.fromCharCode(parseInt(g,10))})},o=function(v,c){return v&&typeof v=="string"&&c.comma&&v.indexOf(",")>-1?v.split(","):v},s="utf8=%26%2310003%3B",a="utf8=%E2%9C%93",l=function(c,g){var p={__proto__:null},f=g.ignoreQueryPrefix?c.replace(/^\?/,""):c;f=f.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var m=g.parameterLimit===1/0?void 0:g.parameterLimit,_=f.split(g.delimiter,m),b=-1,S,x=g.charset;if(g.charsetSentinel)for(S=0;S<_.length;++S)_[S].indexOf("utf8=")===0&&(_[S]===a?x="utf-8":_[S]===s&&(x="iso-8859-1"),b=S,S=_.length);for(S=0;S<_.length;++S)if(S!==b){var C=_[S],T=C.indexOf("]="),U=T===-1?C.indexOf("="):T+1,D,j;U===-1?(D=g.decoder(C,r.decoder,x,"key"),j=g.strictNullHandling?null:""):(D=g.decoder(C.slice(0,U),r.decoder,x,"key"),j=n.maybeMap(o(C.slice(U+1),g),function(E){return g.decoder(E,r.decoder,x,"value")})),j&&g.interpretNumericEntities&&x==="iso-8859-1"&&(j=i(String(j))),C.indexOf("[]=")>-1&&(j=e(j)?[j]:j);var Z=t.call(p,D);Z&&g.duplicates==="combine"?p[D]=n.combine(p[D],j):(!Z||g.duplicates==="last")&&(p[D]=j)}return p},u=function(v,c,g,p){for(var f=p?c:o(c,g),m=v.length-1;m>=0;--m){var _,b=v[m];if(b==="[]"&&g.parseArrays)_=g.allowEmptyArrays&&(f===""||g.strictNullHandling&&f===null)?[]:[].concat(f);else{_=g.plainObjects?{__proto__:null}:{};var S=b.charAt(0)==="["&&b.charAt(b.length-1)==="]"?b.slice(1,-1):b,x=g.decodeDotInKeys?S.replace(/%2E/g,"."):S,C=parseInt(x,10);!g.parseArrays&&x===""?_={0:f}:!isNaN(C)&&b!==x&&String(C)===x&&C>=0&&g.parseArrays&&C<=g.arrayLimit?(_=[],_[C]=f):x!=="__proto__"&&(_[x]=f)}f=_}return f},h=function(c,g,p,f){if(c){var m=p.allowDots?c.replace(/\.([^.[]+)/g,"[$1]"):c,_=/(\[[^[\]]*])/,b=/(\[[^[\]]*])/g,S=p.depth>0&&_.exec(m),x=S?m.slice(0,S.index):m,C=[];if(x){if(!p.plainObjects&&t.call(Object.prototype,x)&&!p.allowPrototypes)return;C.push(x)}for(var T=0;p.depth>0&&(S=b.exec(m))!==null&&T<p.depth;){if(T+=1,!p.plainObjects&&t.call(Object.prototype,S[1].slice(1,-1))&&!p.allowPrototypes)return;C.push(S[1])}if(S){if(p.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+p.depth+" and strictDepth is true");C.push("["+m.slice(S.index)+"]")}return u(C,g,p,f)}},d=function(c){if(!c)return r;if(typeof c.allowEmptyArrays<"u"&&typeof c.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof c.decodeDotInKeys<"u"&&typeof c.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(c.decoder!==null&&typeof c.decoder<"u"&&typeof c.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof c.charset<"u"&&c.charset!=="utf-8"&&c.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var g=typeof c.charset>"u"?r.charset:c.charset,p=typeof c.duplicates>"u"?r.duplicates:c.duplicates;if(p!=="combine"&&p!=="first"&&p!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var f=typeof c.allowDots>"u"?c.decodeDotInKeys===!0?!0:r.allowDots:!!c.allowDots;return{allowDots:f,allowEmptyArrays:typeof c.allowEmptyArrays=="boolean"?!!c.allowEmptyArrays:r.allowEmptyArrays,allowPrototypes:typeof c.allowPrototypes=="boolean"?c.allowPrototypes:r.allowPrototypes,allowSparse:typeof c.allowSparse=="boolean"?c.allowSparse:r.allowSparse,arrayLimit:typeof c.arrayLimit=="number"?c.arrayLimit:r.arrayLimit,charset:g,charsetSentinel:typeof c.charsetSentinel=="boolean"?c.charsetSentinel:r.charsetSentinel,comma:typeof c.comma=="boolean"?c.comma:r.comma,decodeDotInKeys:typeof c.decodeDotInKeys=="boolean"?c.decodeDotInKeys:r.decodeDotInKeys,decoder:typeof c.decoder=="function"?c.decoder:r.decoder,delimiter:typeof c.delimiter=="string"||n.isRegExp(c.delimiter)?c.delimiter:r.delimiter,depth:typeof c.depth=="number"||c.depth===!1?+c.depth:r.depth,duplicates:p,ignoreQueryPrefix:c.ignoreQueryPrefix===!0,interpretNumericEntities:typeof c.interpretNumericEntities=="boolean"?c.interpretNumericEntities:r.interpretNumericEntities,parameterLimit:typeof c.parameterLimit=="number"?c.parameterLimit:r.parameterLimit,parseArrays:c.parseArrays!==!1,plainObjects:typeof c.plainObjects=="boolean"?c.plainObjects:r.plainObjects,strictDepth:typeof c.strictDepth=="boolean"?!!c.strictDepth:r.strictDepth,strictNullHandling:typeof c.strictNullHandling=="boolean"?c.strictNullHandling:r.strictNullHandling}};return Xi=function(v,c){var g=d(c);if(v===""||v===null||typeof v>"u")return g.plainObjects?{__proto__:null}:{};for(var p=typeof v=="string"?l(v,g):v,f=g.plainObjects?{__proto__:null}:{},m=Object.keys(p),_=0;_<m.length;++_){var b=m[_],S=h(b,p[b],g,typeof v=="string");f=n.merge(f,S,g)}return g.allowSparse===!0?f:n.compact(f)},Xi}var $i,Ja;function Zc(){if(Ja)return $i;Ja=1;var n=qc(),t=Yc(),e=Us();return $i={formats:e,parse:t,stringify:n},$i}var tl;function Qc(){if(tl)return He;tl=1;var n=Pc();function t(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var e=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,i=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,o=["<",">",'"',"`"," ","\r",`
|
assets/{_...all_-CbqtHXpC.js → _...all_-D2FSBVDa.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{_ as e}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{c as o,o as _}from"./index-
|
|
|
1 |
+
import{_ as e}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{c as o,o as _}from"./index-DWxkGnJi.js";const c={};function n(r,t){return _(),o("div",null," 404 - Page not found ")}const f=e(c,[["render",n]]);export{f as default};
|
assets/{audio-BIiIGAj0.js → audio-MRQK08-g.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as s,f as i,c as d,o as p,j as t}from"./index-
|
|
|
1 |
+
import{d as s,f as i,c as d,o as p,j as t}from"./index-DWxkGnJi.js";const R=s({__name:"audio",setup(_){const a=i(),l=i();function u(o){var r,c,f;if(!o)return;const n=(c=(r=l.value)==null?void 0:r.files)==null?void 0:c[0];if(!n)return;const e=document.createElement("audio");(f=a.value)==null||f.appendChild(e),e.src=URL.createObjectURL(n),e.controls=!0,e.load(),e.play()}return(o,n)=>(p(),d("div",null,[t("div",null,[t("div",{ref_key:"containerRef",ref:a},null,512),t("input",{ref_key:"fileInputRef",ref:l,type:"file",onChange:u},null,544)])]))}});export{R as default};
|
assets/{default-W5K3oM23.js → default-DWYZkKsj.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as p,u as s,c,a as d,r as i,n as l,b as e,o as m}from"./index-
|
|
|
1 |
+
import{d as p,u as s,c,a as d,r as i,n as l,b as e,o as m}from"./index-DWxkGnJi.js";const x=p({__name:"default",setup(u){const{top:t,right:o,bottom:a,left:n}=s();return(f,_)=>{const r=i("RouterView");return m(),c("main",{text:"gray-700 dark:gray-200","h-full":"","font-cuteen":"",style:l({paddingTop:`${e(t)}px`,paddingRight:`${e(o)}px`,paddingBottom:`${e(a)}px`,paddingLeft:`${e(n)}px`})},[d(r)],4)}}});export{x as default};
|
assets/{delays-C9xhIx61.js → delays-BxDRASBY.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{u as g,_,l as k}from"./Stage.vue_vue_type_style_index_0_scoped_0f1c2eb6_lang-
|
|
|
1 |
+
import{u as g,_,l as k}from"./Stage.vue_vue_type_style_index_0_scoped_0f1c2eb6_lang-pX-yGk3M.js";import"./index-DsObsDkZ.js";import{d as b,f as d,c as s,o as l,j as e,a as y,b as x,t as i,F as f,s as p}from"./index-DWxkGnJi.js";import"./queue-BdL-zJ6z.js";const z={flex:"","flex-col":"","gap-2":"","p-2":""},w={flex:"","flex-row":"","gap-2":""},h={"rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-4":""},M={"w-full":"",flex:"","flex-row":"","gap-4":""},V={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},E={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},F=b({__name:"delays",setup(S){const t=d(""),m=d([]),c=d([]),u=d(!1),r=g();r.onHandlerEvent("delay",a=>{c.value.push(a)});function v(){u.value=!0;const a=t.value.split("");for(const n of a)r.add(n);r.add(k),t.value="",u.value=!1}return(a,n)=>(l(),s("div",z,[e("div",w,[y(x(_),{modelValue:t.value,"onUpdate:modelValue":n[0]||(n[0]=o=>t.value=o),placeholder:"Message",p:"2",bg:"zinc-100 dark:zinc-700","w-full":"","rounded-lg":"","outline-none":"",onSubmit:v},null,8,["modelValue"]),e("button",h,i(u.value?"Processing...":"Send"),1)]),e("div",M,[e("div",V,[n[1]||(n[1]=e("h3",{"font-semibold":""}," Emotion Message ",-1)),(l(!0),s(f,null,p(m.value,o=>(l(),s("div",{key:o},[e("div",null,i(o),1)]))),128))]),e("div",E,[n[2]||(n[2]=e("h3",{"font-semibold":""}," Delays ",-1)),(l(!0),s(f,null,p(c.value,o=>(l(),s("div",{key:o},[e("div",null,i(o)+"s",1)]))),128))])])]))}});export{F as default};
|
assets/{emotions-vGy6FhC7.js → emotions-DT089aKK.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{a as _,_ as k,l as b}from"./Stage.vue_vue_type_style_index_0_scoped_0f1c2eb6_lang-
|
|
|
1 |
+
import{a as _,_ as k,l as b}from"./Stage.vue_vue_type_style_index_0_scoped_0f1c2eb6_lang-pX-yGk3M.js";import{u as x}from"./queue-BdL-zJ6z.js";import{d as z,f as u,c as s,o as t,j as e,a as h,b as w,t as i,F as f,s as m}from"./index-DWxkGnJi.js";const M={flex:"","flex-col":"","gap-2":"","p-2":""},V={flex:"","flex-row":"","gap-2":""},y={"rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-4":""},E={"w-full":"",flex:"","flex-row":"","gap-4":""},Q={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},S={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},I=z({__name:"emotions",setup(B){const l=u(""),p=u([]),r=u([]),d=u(!1),g=x({handlers:[async a=>{r.value.push(a.data)}]}),c=_(g);function v(){d.value=!0;const a=l.value.split("");for(const o of a)c.add(o);c.add(b),l.value="",d.value=!1}return(a,o)=>(t(),s("div",M,[e("div",V,[h(w(k),{modelValue:l.value,"onUpdate:modelValue":o[0]||(o[0]=n=>l.value=n),placeholder:"Message",p:"2",bg:"zinc-100 dark:zinc-700","w-full":"","rounded-lg":"","outline-none":"",onSubmit:v},null,8,["modelValue"]),e("button",y,i(d.value?"Processing...":"Send"),1)]),e("div",E,[e("div",Q,[o[1]||(o[1]=e("h3",{"font-semibold":""}," Messages ",-1)),(t(!0),s(f,null,m(p.value,n=>(t(),s("div",{key:n},[e("div",null,i(n),1)]))),128))]),e("div",S,[o[2]||(o[2]=e("h3",{"font-semibold":""}," Emotions ",-1)),(t(!0),s(f,null,m(r.value,n=>(t(),s("div",{key:n},[e("div",null,i(n),1)]))),128))])])]))}});export{I as default};
|
assets/{filter-message-DRLYH5h6.js → filter-message-C9p-1PUH.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as g,f as u,r as m,c as v,o as _,j as s,a as x,t as d}from"./index-
|
|
|
1 |
+
import{d as g,f as u,r as m,c as v,o as _,j as s,a as x,t as d}from"./index-DWxkGnJi.js";const b={flex:"","flex-col":"","gap-2":"","p-2":""},S={flex:"","flex-row":"","gap-2":""},k={"rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-4":""},w={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},V=g({__name:"filter-message",setup(z){const o=u(""),c=u(!1),i=u({content:""});async function f(r){return new Promise(e=>setTimeout(e,r))}async function p(){c.value=!0;const r=o.value.split("");let e;(a=>{a.Literal="literal",a.Special="special"})(e||(e={}));let l="literal",t="";for(const a of r){await f(50);let n=l;a==="<"?n="special":a===">"&&(n="literal"),l==="literal"&&n==="special"&&(i.value.content+=t,t=""),l==="special"&&n==="literal"&&(t=""),l==="literal"&&n==="literal"&&(i.value.content+=a,t=""),l=n}t&&(i.value.content+=t),o.value="",c.value=!1}return(r,e)=>{const l=m("BasicTextarea");return _(),v("div",b,[s("div",S,[x(l,{modelValue:o.value,"onUpdate:modelValue":e[0]||(e[0]=t=>o.value=t),placeholder:"Message",p:"2",bg:"zinc-100 dark:zinc-700","w-full":"","rounded-lg":"","outline-none":"",onSubmit:p},null,8,["modelValue"]),s("button",k,d(c.value?"Processing...":"Send"),1)]),s("div",w,[e[1]||(e[1]=s("h3",{"font-semibold":""}," Streaming Message ",-1)),s("div",null,d(i.value.content),1)])])}}});export{V as default};
|
assets/{image-DDnfuLIR.js → image-DDoQ4wuT.js}
RENAMED
@@ -1,2 +1,2 @@
|
|
1 |
-
import{d as _,f as c,q as y,c as d,o as u,j as a,k as x,t as v,b}from"./index-
|
2 |
`,1),a("button",{bg:"primary-500",text:"white","mt-4":"","rounded-lg":"","px-4":"","py-2":"",onClick:e[0]||(e[0]=()=>b(m)())}," Copy Data URL ")])):x("",!0)]))}}),I=w(R,[["__scopeId","data-v-7edd53e6"]]);export{I as default};
|
|
|
1 |
+
import{d as _,f as c,q as y,c as d,o as u,j as a,k as x,t as v,b}from"./index-DWxkGnJi.js";import{_ as w}from"./_plugin-vue_export-helper-DlAUqK2U.js";const h={bg:"neutral-100",flex:"~ col","items-center":"","justify-center":"","rounded-lg":"","px-4":"","py-3":""},C={key:0},U=["src"],k={bg:"neutral-100",class:"text-wrap-any","max-h":"100","overflow-scroll":"","rounded-lg":"","text-wrap":"","text-black":"","font-mono":""},R=_({__name:"image",setup(D){const p=c(),o=c(""),{copy:m}=y({source:o});async function g(s){return new Promise((e,n)=>{const t=new FileReader;t.onload=r=>{var l,i;e(((i=(l=r.target)==null?void 0:l.result)==null?void 0:i.toString())||"")},t.onerror=r=>{n(r)},t.readAsDataURL(s)})}async function f(s){var t;const n=(t=s.target.files)==null?void 0:t[0];if(n){p.value=n;const r=await g(n);o.value=r}}return(s,e)=>(u(),d("div",null,[a("label",h,[a("input",{type:"file",accept:"image/*",hidden:"",onChange:f},null,32),e[1]||(e[1]=a("span",null,"Upload Image",-1))]),o.value?(u(),d("div",C,[a("img",{src:o.value,alt:"Uploaded Image","w-100":""},null,8,U),a("pre",k," "+v(o.value)+`
|
2 |
`,1),a("button",{bg:"primary-500",text:"white","mt-4":"","rounded-lg":"","px-4":"","py-2":"",onClick:e[0]||(e[0]=()=>b(m)())}," Copy Data URL ")])):x("",!0)]))}}),I=w(R,[["__scopeId","data-v-7edd53e6"]]);export{I as default};
|
assets/{index-Bt4XhQ82.js → index-CdImWwpC.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import"./Stage.vue_vue_type_style_index_0_scoped_0f1c2eb6_lang-
|
|
|
1 |
+
import"./Stage.vue_vue_type_style_index_0_scoped_0f1c2eb6_lang-pX-yGk3M.js";import{c as f,o as r,e as P,d as z,f as a,w as E,g as H,h as Z,i as q,j as h,k as S,n as B,l as D,m as R,p as A,a as u,b as I}from"./index-DWxkGnJi.js";import{_ as U,M as X,W as Y,I as G,a as J,b as O}from"./route-block-Itj55K8h.js";import{_ as K}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./queue-BdL-zJ6z.js";import"./index-DsObsDkZ.js";const Q={},T={class:"cross-background-container"};function ee(m,e){return r(),f("div",T,[P(m.$slots,"default",{},void 0,!0)])}const ae=K(Q,[["render",ee],["__scopeId","data-v-ff7347db"]]),te={class:"relative"},le=["width","height","viewBox"],ne=["d","fill"],oe=z({__name:"AnimatedBackground",props:{verticalOffset:{default:20},height:{default:40},amplitude:{default:14},waveLength:{default:250},fillColor:{default:"#f8e8f2"},direction:{default:"down"},animationSpeed:{default:.5}},setup(m){const e=m,p=a(null),c=a(null),x=a(0),s=a(e.height),M=a(e.amplitude),t=a(e.waveLength),y=a(""),_=a(e.fillColor),w=a(e.direction);function F(i,l,d,n,b){const o=[],k=Math.ceil(i/n)*n,V=1,W=b==="up"?l-d:d;o.push(`M 0 ${W}`);for(let v=0;v<=k;v+=V){const j=b==="up"?W-d*Math.sin(2*Math.PI*v/n):W+d*Math.sin(2*Math.PI*v/n);o.push(`L ${v} ${j}`)}return b==="up"?(o.push(`L ${k} ${l}`),o.push(`L 0 ${l} Z`)):(o.push(`L ${k} 0`),o.push("L 0 0 Z")),o.join(" ")}function $(){var i;if(p.value){const l=p.value.clientWidth;x.value=l;const n=Math.ceil(l*2/t.value)*t.value;y.value=F(n,s.value,M.value,t.value,w.value),(i=c.value)==null||i.setAttribute("width",n.toString())}}let C;const N=a(e.animationSpeed),g=a(0);function L(){g.value-=N.value,Math.abs(g.value)>=t.value&&(g.value+=t.value),c.value&&(c.value.style.transform=`translateX(${g.value}px)`),C=requestAnimationFrame(L)}return E(()=>[e.height,e.amplitude,e.waveLength,e.fillColor,e.direction],()=>{s.value=e.height,M.value=e.amplitude,t.value=e.waveLength,_.value=e.fillColor,w.value=e.direction,$()},{immediate:!0}),H("resize",$),Z(()=>{$(),L()}),q(()=>{cancelAnimationFrame(C)}),(i,l)=>(r(),f("div",te,[P(i.$slots,"default"),h("div",{ref_key:"container",ref:p,absolute:"","left-0":"","right-0":"","top-0":"","w-full":"","overflow-hidden":""},[w.value==="down"?(r(),f("div",{key:0,style:B({backgroundColor:_.value,height:`${s.value}px`}),"w-full":""},null,4)):S("",!0),(r(),f("svg",{ref_key:"svg",ref:c,width:t.value*Math.ceil(x.value*2/t.value),height:s.value,viewBox:`0 0 ${t.value*Math.ceil(x.value*2/t.value)} ${s.value}`,xmlns:"http://www.w3.org/2000/svg",h:"[100%]",w:"[200%]",style:{willChange:"transform"}},[h("path",{d:y.value,fill:_.value},null,8,ne)],8,le)),w.value==="up"?(r(),f("div",{key:1,style:B({backgroundColor:_.value,height:`${s.value}px`}),"w-full":""},null,4)):S("",!0)],512)]))}}),se={relative:"",flex:"~ col","z-2":"","h-100vh":"","w-100vw":"","of-hidden":""},ie={relative:"",flex:"~ 1 row gap-y-0 gap-x-2 <md:col"},ue=z({__name:"index",setup(m){const e=D();return(p,c)=>(r(),R(ae,null,{default:A(()=>[u(oe,{"fill-color":I(e)?"#563544":"#f8e8f2"},{default:A(()=>[h("div",se,[h("div",null,[u(U,{class:"flex <md:hidden",p2:""}),u(X,{class:"hidden <md:block"})]),h("div",ie,[u(I(Y),{"flex-1":"","min-w":"1/2"}),u(G,{class:"flex <md:hidden","flex-1":"","max-w":"30%"}),u(J,{class:"hidden <md:block",mx2:"",mb2:""})])])]),_:1},8,["fill-color"])]),_:1}))}});typeof O=="function"&&O(ue);export{ue as default};
|
assets/{index-BRAl2tv-.js → index-DWxkGnJi.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-
|
2 |
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function t(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(r){if(r.ep)return;r.ep=!0;const s=t(r);fetch(r.href,s)}})();const Yw="modulepreload",jw=function(n){return"/"+n},b_={},di=function(e,t,i){let r=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));r=Promise.allSettled(t.map(l=>{if(l=jw(l),l in b_)return;b_[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":Yw,c||(f.as="script"),f.crossOrigin="",f.href=l,a&&f.setAttribute("nonce",a),document.head.appendChild(f),c)return new Promise((h,d)=>{f.addEventListener("load",h),f.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${l}`)))})}))}function s(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return r.then(o=>{for(const a of o||[])a.status==="rejected"&&s(a.reason);return e().catch(s)})};/**
|
3 |
* @vue/shared v3.5.13
|
4 |
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
@@ -3846,11 +3846,11 @@ void main() {
|
|
3846 |
* pinia v3.0.1
|
3847 |
* (c) 2025 Eduardo San Martin Morote
|
3848 |
* @license MIT
|
3849 |
-
*/let aw;const $h=n=>aw=n,lw=Symbol();function hm(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var al;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(al||(al={}));function sk(){const n=Dm(!0),e=n.run(()=>rt({}));let t=[],i=[];const r=zm({install(s){$h(r),r._a=s,s.provide(lw,r),s.config.globalProperties.$pinia=r,i.forEach(o=>t.push(o)),i=[]},use(s){return this._a?t.push(s):i.push(s),this},_p:t,_a:null,_e:n,_s:new Map,state:e});return r}const cw=()=>{};function xy(n,e,t,i=cw){n.push(e);const r=()=>{const s=n.indexOf(e);s>-1&&(n.splice(s,1),i())};return!t&&Kf()&&Om(r),r}function Lo(n,...e){n.slice().forEach(t=>{t(...e)})}const ok=n=>n(),by=Symbol(),fp=Symbol();function dm(n,e){n instanceof Map&&e instanceof Map?e.forEach((t,i)=>n.set(i,t)):n instanceof Set&&e instanceof Set&&e.forEach(n.add,n);for(const t in e){if(!e.hasOwnProperty(t))continue;const i=e[t],r=n[t];hm(r)&&hm(i)&&n.hasOwnProperty(t)&&!wt(i)&&!mr(i)?n[t]=dm(r,i):n[t]=i}return n}const ak=Symbol();function lk(n){return!hm(n)||!n.hasOwnProperty(ak)}const{assign:Ur}=Object;function ck(n){return!!(wt(n)&&n.effect)}function uk(n,e,t,i){const{state:r,actions:s,getters:o}=e,a=t.state.value[n];let l;function c(){a||(t.state.value[n]=r?r():{});const u=Gx(t.state.value[n]);return Ur(u,s,Object.keys(o||{}).reduce((f,h)=>(f[h]=zm(Be(()=>{$h(t);const d=t._s.get(n);return o[h].call(d,d)})),f),{}))}return l=uw(n,c,e,t,i,!0),l}function uw(n,e,t={},i,r,s){let o;const a=Ur({actions:{}},t),l={deep:!0};let c,u,f=[],h=[],d;const p=i.state.value[n];!s&&!p&&(i.state.value[n]={}),rt({});let _;function g(P){let b;c=u=!1,typeof P=="function"?(P(i.state.value[n]),b={type:al.patchFunction,storeId:n,events:d}):(dm(i.state.value[n],P),b={type:al.patchObject,payload:P,storeId:n,events:d});const S=_=Symbol();ro().then(()=>{_===S&&(c=!0)}),u=!0,Lo(f,b,i.state.value[n])}const m=s?function(){const{state:b}=t,S=b?b():{};this.$patch(D=>{Ur(D,S)})}:cw;function y(){o.stop(),f=[],h=[],i._s.delete(n)}const x=(P,b="")=>{if(by in P)return P[fp]=b,P;const S=function(){$h(i);const D=Array.from(arguments),F=[],H=[];function $(te){F.push(te)}function ee(te){H.push(te)}Lo(h,{args:D,name:S[fp],store:E,after:$,onError:ee});let Z;try{Z=P.apply(this&&this.$id===n?this:E,D)}catch(te){throw Lo(H,te),te}return Z instanceof Promise?Z.then(te=>(Lo(F,te),te)).catch(te=>(Lo(H,te),Promise.reject(te))):(Lo(F,Z),Z)};return S[by]=!0,S[fp]=b,S},v={_p:i,$id:n,$onAction:xy.bind(null,h),$patch:g,$reset:m,$subscribe(P,b={}){const S=xy(f,P,b.detached,()=>D()),D=o.run(()=>it(()=>i.state.value[n],F=>{(b.flush==="sync"?u:c)&&P({storeId:n,type:al.direct,events:d},F)},Ur({},l,b)));return S},$dispose:y},E=oi(v);i._s.set(n,E);const M=(i._a&&i._a.runWithContext||ok)(()=>i._e.run(()=>(o=Dm()).run(()=>e({action:x}))));for(const P in M){const b=M[P];if(wt(b)&&!ck(b)||mr(b))s||(p&&lk(b)&&(wt(b)?b.value=p[P]:dm(b,p[P])),i.state.value[n][P]=b);else if(typeof b=="function"){const S=x(b,P);M[P]=S,a.actions[P]=b}}return Ur(E,M),Ur(st(E),M),Object.defineProperty(E,"$state",{get:()=>i.state.value[n],set:P=>{g(b=>{Ur(b,P)})}}),i._p.forEach(P=>{Ur(E,o.run(()=>P({store:E,app:i._a,pinia:i,options:a})))}),p&&s&&t.hydrate&&t.hydrate(E.$state,p),c=!0,u=!0,E}/*! #__NO_SIDE_EFFECTS__ */function fk(n,e,t){let i;const r=typeof e=="function";i=r?t:e;function s(o,a){const l=Xm();return o=o||(l?kn(lw,null):null),o&&$h(o),o=aw,o._s.has(n)||(r?uw(n,e,i,o):uk(n,i,o)),o._s.get(n)}return s.$id=n,s}function hk(n){const e=st(n),t={};for(const i in e){const r=e[i];r.effect?t[i]=Be({get:()=>n[i],set(s){n[i]=s}}):(wt(r)||mr(r))&&(t[i]=Wx(n,i))}return t}const dk=n=>{const e={};Object.entries(Object.assign({"/src/layouts/default.vue":()=>di(()=>import("./default-
|
3850 |
* vue-router v4.5.0
|
3851 |
* (c) 2024 Eduardo San Martin Morote
|
3852 |
* @license MIT
|
3853 |
-
*/const No=typeof document<"u";function fw(n){return typeof n=="object"||"displayName"in n||"props"in n||"__vccOpts"in n}function pk(n){return n.__esModule||n[Symbol.toStringTag]==="Module"||n.default&&fw(n.default)}const vt=Object.assign;function hp(n,e){const t={};for(const i in e){const r=e[i];t[i]=Si(r)?r.map(n):n(r)}return t}const ll=()=>{},Si=Array.isArray,hw=/#/g,mk=/&/g,gk=/\//g,_k=/=/g,vk=/\?/g,dw=/\+/g,yk=/%5B/g,xk=/%5D/g,pw=/%5E/g,bk=/%60/g,mw=/%7B/g,Sk=/%7C/g,gw=/%7D/g,Mk=/%20/g;function r_(n){return encodeURI(""+n).replace(Sk,"|").replace(yk,"[").replace(xk,"]")}function Ek(n){return r_(n).replace(mw,"{").replace(gw,"}").replace(pw,"^")}function pm(n){return r_(n).replace(dw,"%2B").replace(Mk,"+").replace(hw,"%23").replace(mk,"%26").replace(bk,"`").replace(mw,"{").replace(gw,"}").replace(pw,"^")}function wk(n){return pm(n).replace(_k,"%3D")}function Tk(n){return r_(n).replace(hw,"%23").replace(vk,"%3F")}function Ak(n){return n==null?"":Tk(n).replace(gk,"%2F")}function zl(n){try{return decodeURIComponent(""+n)}catch{}return""+n}const Ck=/\/$/,Rk=n=>n.replace(Ck,"");function dp(n,e,t="/"){let i,r={},s="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(i=e.slice(0,l),s=e.slice(l+1,a>-1?a:e.length),r=n(s)),a>-1&&(i=i||e.slice(0,a),o=e.slice(a,e.length)),i=Dk(i??e,t),{fullPath:i+(s&&"?")+s+o,path:i,query:r,hash:zl(o)}}function Pk(n,e){const t=e.query?n(e.query):"";return e.path+(t&&"?")+t+(e.hash||"")}function Sy(n,e){return!e||!n.toLowerCase().startsWith(e.toLowerCase())?n:n.slice(e.length)||"/"}function Ik(n,e,t){const i=e.matched.length-1,r=t.matched.length-1;return i>-1&&i===r&&sa(e.matched[i],t.matched[r])&&_w(e.params,t.params)&&n(e.query)===n(t.query)&&e.hash===t.hash}function sa(n,e){return(n.aliasOf||n)===(e.aliasOf||e)}function _w(n,e){if(Object.keys(n).length!==Object.keys(e).length)return!1;for(const t in n)if(!Lk(n[t],e[t]))return!1;return!0}function Lk(n,e){return Si(n)?My(n,e):Si(e)?My(e,n):n===e}function My(n,e){return Si(e)?n.length===e.length&&n.every((t,i)=>t===e[i]):n.length===1&&n[0]===e}function Dk(n,e){if(n.startsWith("/"))return n;if(!n)return e;const t=e.split("/"),i=n.split("/"),r=i[i.length-1];(r===".."||r===".")&&i.push("");let s=t.length-1,o,a;for(o=0;o<i.length;o++)if(a=i[o],a!==".")if(a==="..")s>1&&s--;else break;return t.slice(0,s).join("/")+"/"+i.slice(o).join("/")}const Or={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Hl;(function(n){n.pop="pop",n.push="push"})(Hl||(Hl={}));var cl;(function(n){n.back="back",n.forward="forward",n.unknown=""})(cl||(cl={}));function Ok(n){if(!n)if(No){const e=document.querySelector("base");n=e&&e.getAttribute("href")||"/",n=n.replace(/^\w+:\/\/[^\/]+/,"")}else n="/";return n[0]!=="/"&&n[0]!=="#"&&(n="/"+n),Rk(n)}const Nk=/^[^#]+#/;function Uk(n,e){return n.replace(Nk,"#")+e}function Fk(n,e){const t=document.documentElement.getBoundingClientRect(),i=n.getBoundingClientRect();return{behavior:e.behavior,left:i.left-t.left-(e.left||0),top:i.top-t.top-(e.top||0)}}const qh=()=>({left:window.scrollX,top:window.scrollY});function Bk(n){let e;if("el"in n){const t=n.el,i=typeof t=="string"&&t.startsWith("#"),r=typeof t=="string"?i?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!r)return;e=Fk(r,n)}else e=n;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function Ey(n,e){return(history.state?history.state.position-e:-1)+n}const mm=new Map;function kk(n,e){mm.set(n,e)}function Vk(n){const e=mm.get(n);return mm.delete(n),e}let zk=()=>location.protocol+"//"+location.host;function vw(n,e){const{pathname:t,search:i,hash:r}=e,s=n.indexOf("#");if(s>-1){let a=r.includes(n.slice(s))?n.slice(s).length:1,l=r.slice(a);return l[0]!=="/"&&(l="/"+l),Sy(l,"")}return Sy(t,n)+i+r}function Hk(n,e,t,i){let r=[],s=[],o=null;const a=({state:h})=>{const d=vw(n,location),p=t.value,_=e.value;let g=0;if(h){if(t.value=d,e.value=h,o&&o===p){o=null;return}g=_?h.position-_.position:0}else i(d);r.forEach(m=>{m(t.value,p,{delta:g,type:Hl.pop,direction:g?g>0?cl.forward:cl.back:cl.unknown})})};function l(){o=t.value}function c(h){r.push(h);const d=()=>{const p=r.indexOf(h);p>-1&&r.splice(p,1)};return s.push(d),d}function u(){const{history:h}=window;h.state&&h.replaceState(vt({},h.state,{scroll:qh()}),"")}function f(){for(const h of s)h();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function wy(n,e,t,i=!1,r=!1){return{back:n,current:e,forward:t,replaced:i,position:window.history.length,scroll:r?qh():null}}function Gk(n){const{history:e,location:t}=window,i={value:vw(n,t)},r={value:e.state};r.value||s(i.value,{back:null,current:i.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const f=n.indexOf("#"),h=f>-1?(t.host&&document.querySelector("base")?n:n.slice(f))+l:zk()+n+l;try{e[u?"replaceState":"pushState"](c,"",h),r.value=c}catch(d){console.error(d),t[u?"replace":"assign"](h)}}function o(l,c){const u=vt({},e.state,wy(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});s(l,u,!0),i.value=l}function a(l,c){const u=vt({},r.value,e.state,{forward:l,scroll:qh()});s(u.current,u,!0);const f=vt({},wy(i.value,l,null),{position:u.position+1},c);s(l,f,!1),i.value=l}return{location:i,state:r,push:a,replace:o}}function Wk(n){n=Ok(n);const e=Gk(n),t=Hk(n,e.state,e.location,e.replace);function i(s,o=!0){o||t.pauseListeners(),history.go(s)}const r=vt({location:"",base:n,go:i,createHref:Uk.bind(null,n)},e,t);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>e.state.value}),r}function Xk(n){return n=location.host?n||location.pathname+location.search:"",n.includes("#")||(n+="#"),Wk(n)}function $k(n){return typeof n=="string"||n&&typeof n=="object"}function yw(n){return typeof n=="string"||typeof n=="symbol"}const xw=Symbol("");var Ty;(function(n){n[n.aborted=4]="aborted",n[n.cancelled=8]="cancelled",n[n.duplicated=16]="duplicated"})(Ty||(Ty={}));function oa(n,e){return vt(new Error,{type:n,[xw]:!0},e)}function ir(n,e){return n instanceof Error&&xw in n&&(e==null||!!(n.type&e))}const Ay="[^/]+?",qk={sensitive:!1,strict:!1,start:!0,end:!0},Yk=/[.+*?^${}()[\]/\\]/g;function jk(n,e){const t=vt({},qk,e),i=[];let r=t.start?"^":"";const s=[];for(const c of n){const u=c.length?[]:[90];t.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const h=c[f];let d=40+(t.sensitive?.25:0);if(h.type===0)f||(r+="/"),r+=h.value.replace(Yk,"\\$&"),d+=40;else if(h.type===1){const{value:p,repeatable:_,optional:g,regexp:m}=h;s.push({name:p,repeatable:_,optional:g});const y=m||Ay;if(y!==Ay){d+=10;try{new RegExp(`(${y})`)}catch(v){throw new Error(`Invalid custom RegExp for param "${p}" (${y}): `+v.message)}}let x=_?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(x=g&&c.length<2?`(?:/${x})`:"/"+x),g&&(x+="?"),r+=x,d+=20,g&&(d+=-8),_&&(d+=-20),y===".*"&&(d+=-50)}u.push(d)}i.push(u)}if(t.strict&&t.end){const c=i.length-1;i[c][i[c].length-1]+=.7000000000000001}t.strict||(r+="/?"),t.end?r+="$":t.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,t.sensitive?"":"i");function a(c){const u=c.match(o),f={};if(!u)return null;for(let h=1;h<u.length;h++){const d=u[h]||"",p=s[h-1];f[p.name]=d&&p.repeatable?d.split("/"):d}return f}function l(c){let u="",f=!1;for(const h of n){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const d of h)if(d.type===0)u+=d.value;else if(d.type===1){const{value:p,repeatable:_,optional:g}=d,m=p in c?c[p]:"";if(Si(m)&&!_)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const y=Si(m)?m.join("/"):m;if(!y)if(g)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=y}}return u||"/"}return{re:o,score:i,keys:s,parse:a,stringify:l}}function Kk(n,e){let t=0;for(;t<n.length&&t<e.length;){const i=e[t]-n[t];if(i)return i;t++}return n.length<e.length?n.length===1&&n[0]===80?-1:1:n.length>e.length?e.length===1&&e[0]===80?1:-1:0}function bw(n,e){let t=0;const i=n.score,r=e.score;for(;t<i.length&&t<r.length;){const s=Kk(i[t],r[t]);if(s)return s;t++}if(Math.abs(r.length-i.length)===1){if(Cy(i))return 1;if(Cy(r))return-1}return r.length-i.length}function Cy(n){const e=n[n.length-1];return n.length>0&&e[e.length-1]<0}const Zk={type:0,value:""},Jk=/[a-zA-Z0-9_]/;function Qk(n){if(!n)return[[]];if(n==="/")return[[Zk]];if(!n.startsWith("/"))throw new Error(`Invalid path "${n}"`);function e(d){throw new Error(`ERR (${t})/"${c}": ${d}`)}let t=0,i=t;const r=[];let s;function o(){s&&r.push(s),s=[]}let a=0,l,c="",u="";function f(){c&&(t===0?s.push({type:0,value:c}):t===1||t===2||t===3?(s.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;a<n.length;){if(l=n[a++],l==="\\"&&t!==2){i=t,t=4;continue}switch(t){case 0:l==="/"?(c&&f(),o()):l===":"?(f(),t=1):h();break;case 4:h(),t=i;break;case 1:l==="("?t=2:Jk.test(l)?h():(f(),t=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:t=3:u+=l;break;case 3:f(),t=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:e("Unknown state");break}}return t===2&&e(`Unfinished custom RegExp for param "${c}"`),f(),o(),r}function eV(n,e,t){const i=jk(Qk(n.path),t),r=vt(i,{record:n,parent:e,children:[],alias:[]});return e&&!r.record.aliasOf==!e.record.aliasOf&&e.children.push(r),r}function tV(n,e){const t=[],i=new Map;e=Ly({strict:!1,end:!0,sensitive:!1},e);function r(f){return i.get(f)}function s(f,h,d){const p=!d,_=Py(f);_.aliasOf=d&&d.record;const g=Ly(e,f),m=[_];if("alias"in f){const v=typeof f.alias=="string"?[f.alias]:f.alias;for(const E of v)m.push(Py(vt({},_,{components:d?d.record.components:_.components,path:E,aliasOf:d?d.record:_})))}let y,x;for(const v of m){const{path:E}=v;if(h&&E[0]!=="/"){const w=h.record.path,M=w[w.length-1]==="/"?"":"/";v.path=h.record.path+(E&&M+E)}if(y=eV(v,h,g),d?d.alias.push(y):(x=x||y,x!==y&&x.alias.push(y),p&&f.name&&!Iy(y)&&o(f.name)),Sw(y)&&l(y),_.children){const w=_.children;for(let M=0;M<w.length;M++)s(w[M],y,d&&d.children[M])}d=d||y}return x?()=>{o(x)}:ll}function o(f){if(yw(f)){const h=i.get(f);h&&(i.delete(f),t.splice(t.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=t.indexOf(f);h>-1&&(t.splice(h,1),f.record.name&&i.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function a(){return t}function l(f){const h=rV(f,t);t.splice(h,0,f),f.record.name&&!Iy(f)&&i.set(f.record.name,f)}function c(f,h){let d,p={},_,g;if("name"in f&&f.name){if(d=i.get(f.name),!d)throw oa(1,{location:f});g=d.record.name,p=vt(Ry(h.params,d.keys.filter(x=>!x.optional).concat(d.parent?d.parent.keys.filter(x=>x.optional):[]).map(x=>x.name)),f.params&&Ry(f.params,d.keys.map(x=>x.name))),_=d.stringify(p)}else if(f.path!=null)_=f.path,d=t.find(x=>x.re.test(_)),d&&(p=d.parse(_),g=d.record.name);else{if(d=h.name?i.get(h.name):t.find(x=>x.re.test(h.path)),!d)throw oa(1,{location:f,currentLocation:h});g=d.record.name,p=vt({},h.params,f.params),_=d.stringify(p)}const m=[];let y=d;for(;y;)m.unshift(y.record),y=y.parent;return{name:g,path:_,params:p,matched:m,meta:iV(m)}}n.forEach(f=>s(f));function u(){t.length=0,i.clear()}return{addRoute:s,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:a,getRecordMatcher:r}}function Ry(n,e){const t={};for(const i of e)i in n&&(t[i]=n[i]);return t}function Py(n){const e={path:n.path,redirect:n.redirect,name:n.name,meta:n.meta||{},aliasOf:n.aliasOf,beforeEnter:n.beforeEnter,props:nV(n),children:n.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in n?n.components||null:n.component&&{default:n.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function nV(n){const e={},t=n.props||!1;if("component"in n)e.default=t;else for(const i in n.components)e[i]=typeof t=="object"?t[i]:t;return e}function Iy(n){for(;n;){if(n.record.aliasOf)return!0;n=n.parent}return!1}function iV(n){return n.reduce((e,t)=>vt(e,t.meta),{})}function Ly(n,e){const t={};for(const i in n)t[i]=i in e?e[i]:n[i];return t}function rV(n,e){let t=0,i=e.length;for(;t!==i;){const s=t+i>>1;bw(n,e[s])<0?i=s:t=s+1}const r=sV(n);return r&&(i=e.lastIndexOf(r,i-1)),i}function sV(n){let e=n;for(;e=e.parent;)if(Sw(e)&&bw(n,e)===0)return e}function Sw({record:n}){return!!(n.name||n.components&&Object.keys(n.components).length||n.redirect)}function oV(n){const e={};if(n===""||n==="?")return e;const i=(n[0]==="?"?n.slice(1):n).split("&");for(let r=0;r<i.length;++r){const s=i[r].replace(dw," "),o=s.indexOf("="),a=zl(o<0?s:s.slice(0,o)),l=o<0?null:zl(s.slice(o+1));if(a in e){let c=e[a];Si(c)||(c=e[a]=[c]),c.push(l)}else e[a]=l}return e}function Dy(n){let e="";for(let t in n){const i=n[t];if(t=wk(t),i==null){i!==void 0&&(e+=(e.length?"&":"")+t);continue}(Si(i)?i.map(s=>s&&pm(s)):[i&&pm(i)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+t,s!=null&&(e+="="+s))})}return e}function aV(n){const e={};for(const t in n){const i=n[t];i!==void 0&&(e[t]=Si(i)?i.map(r=>r==null?null:""+r):i==null?i:""+i)}return e}const lV=Symbol(""),Oy=Symbol(""),s_=Symbol(""),Mw=Symbol(""),gm=Symbol("");function Da(){let n=[];function e(i){return n.push(i),()=>{const r=n.indexOf(i);r>-1&&n.splice(r,1)}}function t(){n=[]}return{add:e,list:()=>n.slice(),reset:t}}function zr(n,e,t,i,r,s=o=>o()){const o=i&&(i.enterCallbacks[r]=i.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const c=h=>{h===!1?l(oa(4,{from:t,to:e})):h instanceof Error?l(h):$k(h)?l(oa(2,{from:e,to:h})):(o&&i.enterCallbacks[r]===o&&typeof h=="function"&&o.push(h),a())},u=s(()=>n.call(i&&i.instances[r],e,t,c));let f=Promise.resolve(u);n.length<3&&(f=f.then(c)),f.catch(h=>l(h))})}function pp(n,e,t,i,r=s=>s()){const s=[];for(const o of n)for(const a in o.components){let l=o.components[a];if(!(e!=="beforeRouteEnter"&&!o.instances[a]))if(fw(l)){const u=(l.__vccOpts||l)[e];u&&s.push(zr(u,t,i,o,a,r))}else{let c=l();s.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const f=pk(u)?u.default:u;o.mods[a]=u,o.components[a]=f;const d=(f.__vccOpts||f)[e];return d&&zr(d,t,i,o,a,r)()}))}}return s}function Ny(n){const e=kn(s_),t=kn(Mw),i=Be(()=>{const l=Ft(n.to);return e.resolve(l)}),r=Be(()=>{const{matched:l}=i.value,{length:c}=l,u=l[c-1],f=t.matched;if(!u||!f.length)return-1;const h=f.findIndex(sa.bind(null,u));if(h>-1)return h;const d=Uy(l[c-2]);return c>1&&Uy(u)===d&&f[f.length-1].path!==d?f.findIndex(sa.bind(null,l[c-2])):h}),s=Be(()=>r.value>-1&&dV(t.params,i.value.params)),o=Be(()=>r.value>-1&&r.value===t.matched.length-1&&_w(t.params,i.value.params));function a(l={}){if(hV(l)){const c=e[Ft(n.replace)?"replace":"push"](Ft(n.to)).catch(ll);return n.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:i,href:Be(()=>i.value.href),isActive:s,isExactActive:o,navigate:a}}function cV(n){return n.length===1?n[0]:n}const uV=Vi({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ny,setup(n,{slots:e}){const t=oi(Ny(n)),{options:i}=kn(s_),r=Be(()=>({[Fy(n.activeClass,i.linkActiveClass,"router-link-active")]:t.isActive,[Fy(n.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const s=e.default&&cV(e.default(t));return n.custom?s:vr("a",{"aria-current":t.isExactActive?n.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:r.value},s)}}}),fV=uV;function hV(n){if(!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)&&!n.defaultPrevented&&!(n.button!==void 0&&n.button!==0)){if(n.currentTarget&&n.currentTarget.getAttribute){const e=n.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return n.preventDefault&&n.preventDefault(),!0}}function dV(n,e){for(const t in e){const i=e[t],r=n[t];if(typeof i=="string"){if(i!==r)return!1}else if(!Si(r)||r.length!==i.length||i.some((s,o)=>s!==r[o]))return!1}return!0}function Uy(n){return n?n.aliasOf?n.aliasOf.path:n.path:""}const Fy=(n,e,t)=>n??e??t,pV=Vi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(n,{attrs:e,slots:t}){const i=kn(gm),r=Be(()=>n.route||i.value),s=kn(Oy,0),o=Be(()=>{let c=Ft(s);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=Be(()=>r.value.matched[o.value]);$r(Oy,Be(()=>o.value+1)),$r(lV,a),$r(gm,r);const l=rt();return it(()=>[l.value,a.value,n.name],([c,u,f],[h,d,p])=>{u&&(u.instances[f]=c,d&&d!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=d.leaveGuards),u.updateGuards.size||(u.updateGuards=d.updateGuards))),c&&u&&(!d||!sa(u,d)||!h)&&(u.enterCallbacks[f]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=r.value,u=n.name,f=a.value,h=f&&f.components[u];if(!h)return By(t.default,{Component:h,route:c});const d=f.props[u],p=d?d===!0?c.params:typeof d=="function"?d(c):d:null,g=vr(h,vt({},p,e,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return By(t.default,{Component:g,route:c})||g}}});function By(n,e){if(!n)return null;const t=n(e);return t.length===1?t[0]:t}const Ew=pV;function mV(n){const e=tV(n.routes,n),t=n.parseQuery||oV,i=n.stringifyQuery||Dy,r=n.history,s=Da(),o=Da(),a=Da(),l=je(Or);let c=Or;No&&n.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=hp.bind(null,W=>""+W),f=hp.bind(null,Ak),h=hp.bind(null,zl);function d(W,ae){let ue,le;return yw(W)?(ue=e.getRecordMatcher(W),le=ae):le=W,e.addRoute(le,ue)}function p(W){const ae=e.getRecordMatcher(W);ae&&e.removeRoute(ae)}function _(){return e.getRoutes().map(W=>W.record)}function g(W){return!!e.getRecordMatcher(W)}function m(W,ae){if(ae=vt({},ae||l.value),typeof W=="string"){const T=dp(t,W,ae.path),j=e.resolve({path:T.path},ae),G=r.createHref(T.fullPath);return vt(T,j,{params:h(j.params),hash:zl(T.hash),redirectedFrom:void 0,href:G})}let ue;if(W.path!=null)ue=vt({},W,{path:dp(t,W.path,ae.path).path});else{const T=vt({},W.params);for(const j in T)T[j]==null&&delete T[j];ue=vt({},W,{params:f(T)}),ae.params=f(ae.params)}const le=e.resolve(ue,ae),Le=W.hash||"";le.params=u(h(le.params));const I=Pk(i,vt({},W,{hash:Ek(Le),path:le.path})),L=r.createHref(I);return vt({fullPath:I,hash:Le,query:i===Dy?aV(W.query):W.query||{}},le,{redirectedFrom:void 0,href:L})}function y(W){return typeof W=="string"?dp(t,W,l.value.path):vt({},W)}function x(W,ae){if(c!==W)return oa(8,{from:ae,to:W})}function v(W){return M(W)}function E(W){return v(vt(y(W),{replace:!0}))}function w(W){const ae=W.matched[W.matched.length-1];if(ae&&ae.redirect){const{redirect:ue}=ae;let le=typeof ue=="function"?ue(W):ue;return typeof le=="string"&&(le=le.includes("?")||le.includes("#")?le=y(le):{path:le},le.params={}),vt({query:W.query,hash:W.hash,params:le.path!=null?{}:W.params},le)}}function M(W,ae){const ue=c=m(W),le=l.value,Le=W.state,I=W.force,L=W.replace===!0,T=w(ue);if(T)return M(vt(y(T),{state:typeof T=="object"?vt({},Le,T.state):Le,force:I,replace:L}),ae||ue);const j=ue;j.redirectedFrom=ae;let G;return!I&&Ik(i,le,ue)&&(G=oa(16,{to:j,from:le}),re(le,le,!0,!1)),(G?Promise.resolve(G):S(j,le)).catch(q=>ir(q)?ir(q,2)?q:ve(q):Q(q,j,le)).then(q=>{if(q){if(ir(q,2))return M(vt({replace:L},y(q.to),{state:typeof q.to=="object"?vt({},Le,q.to.state):Le,force:I}),ae||j)}else q=F(j,le,!0,L,Le);return D(j,le,q),q})}function P(W,ae){const ue=x(W,ae);return ue?Promise.reject(ue):Promise.resolve()}function b(W){const ae=se.values().next().value;return ae&&typeof ae.runWithContext=="function"?ae.runWithContext(W):W()}function S(W,ae){let ue;const[le,Le,I]=gV(W,ae);ue=pp(le.reverse(),"beforeRouteLeave",W,ae);for(const T of le)T.leaveGuards.forEach(j=>{ue.push(zr(j,W,ae))});const L=P.bind(null,W,ae);return ue.push(L),be(ue).then(()=>{ue=[];for(const T of s.list())ue.push(zr(T,W,ae));return ue.push(L),be(ue)}).then(()=>{ue=pp(Le,"beforeRouteUpdate",W,ae);for(const T of Le)T.updateGuards.forEach(j=>{ue.push(zr(j,W,ae))});return ue.push(L),be(ue)}).then(()=>{ue=[];for(const T of I)if(T.beforeEnter)if(Si(T.beforeEnter))for(const j of T.beforeEnter)ue.push(zr(j,W,ae));else ue.push(zr(T.beforeEnter,W,ae));return ue.push(L),be(ue)}).then(()=>(W.matched.forEach(T=>T.enterCallbacks={}),ue=pp(I,"beforeRouteEnter",W,ae,b),ue.push(L),be(ue))).then(()=>{ue=[];for(const T of o.list())ue.push(zr(T,W,ae));return ue.push(L),be(ue)}).catch(T=>ir(T,8)?T:Promise.reject(T))}function D(W,ae,ue){a.list().forEach(le=>b(()=>le(W,ae,ue)))}function F(W,ae,ue,le,Le){const I=x(W,ae);if(I)return I;const L=ae===Or,T=No?history.state:{};ue&&(le||L?r.replace(W.fullPath,vt({scroll:L&&T&&T.scroll},Le)):r.push(W.fullPath,Le)),l.value=W,re(W,ae,ue,L),ve()}let H;function $(){H||(H=r.listen((W,ae,ue)=>{if(!ge.listening)return;const le=m(W),Le=w(le);if(Le){M(vt(Le,{replace:!0,force:!0}),le).catch(ll);return}c=le;const I=l.value;No&&kk(Ey(I.fullPath,ue.delta),qh()),S(le,I).catch(L=>ir(L,12)?L:ir(L,2)?(M(vt(y(L.to),{force:!0}),le).then(T=>{ir(T,20)&&!ue.delta&&ue.type===Hl.pop&&r.go(-1,!1)}).catch(ll),Promise.reject()):(ue.delta&&r.go(-ue.delta,!1),Q(L,le,I))).then(L=>{L=L||F(le,I,!1),L&&(ue.delta&&!ir(L,8)?r.go(-ue.delta,!1):ue.type===Hl.pop&&ir(L,20)&&r.go(-1,!1)),D(le,I,L)}).catch(ll)}))}let ee=Da(),Z=Da(),te;function Q(W,ae,ue){ve(W);const le=Z.list();return le.length?le.forEach(Le=>Le(W,ae,ue)):console.error(W),Promise.reject(W)}function pe(){return te&&l.value!==Or?Promise.resolve():new Promise((W,ae)=>{ee.add([W,ae])})}function ve(W){return te||(te=!W,$(),ee.list().forEach(([ae,ue])=>W?ue(W):ae()),ee.reset()),W}function re(W,ae,ue,le){const{scrollBehavior:Le}=n;if(!No||!Le)return Promise.resolve();const I=!ue&&Vk(Ey(W.fullPath,0))||(le||!ue)&&history.state&&history.state.scroll||null;return ro().then(()=>Le(W,ae,I)).then(L=>L&&Bk(L)).catch(L=>Q(L,W,ae))}const xe=W=>r.go(W);let Ve;const se=new Set,ge={currentRoute:l,listening:!0,addRoute:d,removeRoute:p,clearRoutes:e.clearRoutes,hasRoute:g,getRoutes:_,resolve:m,options:n,push:v,replace:E,go:xe,back:()=>xe(-1),forward:()=>xe(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:Z.add,isReady:pe,install(W){const ae=this;W.component("RouterLink",fV),W.component("RouterView",Ew),W.config.globalProperties.$router=ae,Object.defineProperty(W.config.globalProperties,"$route",{enumerable:!0,get:()=>Ft(l)}),No&&!Ve&&l.value===Or&&(Ve=!0,v(r.location).catch(Le=>{}));const ue={};for(const Le in Or)Object.defineProperty(ue,Le,{get:()=>l.value[Le],enumerable:!0});W.provide(s_,ae),W.provide(Mw,Vx(ue)),W.provide(gm,l);const le=W.unmount;se.add(W),W.unmount=function(){se.delete(W),se.size<1&&(c=Or,H&&H(),H=null,l.value=Or,Ve=!1,te=!1),le()}}};function be(W){return W.reduce((ae,ue)=>ae.then(()=>b(ue)),Promise.resolve())}return ge}function gV(n,e){const t=[],i=[],r=[],s=Math.max(e.matched.length,n.matched.length);for(let o=0;o<s;o++){const a=e.matched[o];a&&(n.matched.find(c=>sa(c,a))?i.push(a):t.push(a));const l=n.matched[o];l&&(e.matched.find(c=>sa(c,l))||r.push(l))}return[t,i,r]}const _V=[{path:"/",name:"/",component:()=>di(()=>import("./index-Bt4XhQ82.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8])),meta:{layout:"default"}},{path:"/:all(.*)",name:"/[...all]",component:()=>di(()=>import("./_...all_-CbqtHXpC.js"),__vite__mapDeps([9,5]))},{path:"/audio",name:"/audio",component:()=>di(()=>import("./audio-BIiIGAj0.js"),[])},{path:"/devtools",children:[{path:"image",name:"/devtools/image",component:()=>di(()=>import("./image-DDnfuLIR.js"),__vite__mapDeps([10,5,11]))}]},{path:"/queue",name:"/queue",component:()=>di(()=>import("./queue-BarHeT-y.js"),__vite__mapDeps([12,2]))},{path:"/test",children:[{path:"filter-message",name:"/test/filter-message",component:()=>di(()=>import("./filter-message-DRLYH5h6.js"),[])},{path:"queues",children:[{path:"delays",name:"/test/queues/delays",component:()=>di(()=>import("./delays-C9xhIx61.js"),__vite__mapDeps([13,1,2,3,6]))},{path:"emotions",name:"/test/queues/emotions",component:()=>di(()=>import("./emotions-vGy6FhC7.js"),__vite__mapDeps([14,1,2,3]))},{path:"messages",name:"/test/queues/messages",component:()=>di(()=>import("./messages-DKAdGvpb.js"),__vite__mapDeps([15,1,2,3]))}]}]},{path:"/v2",name:"/v2",component:()=>di(()=>import("./v2-DpJ51q5l.js"),__vite__mapDeps([16,1,2,3,4,5,6,7])),meta:{layout:"default"}}];var _m=(n=>(n.Myriam="Myriam",n.Beatrice="Beatrice",n.Camilla_KM="Camilla_KM",n.SallySunshine="Sally Sunshine",n.Annie="Annie",n.KawaiiAerisita="Kawaii Aerisita",n.Morioki="Morioki",n))(_m||{});const o4={Myriam:"lNxY9WuCBCZCISASyJ55",Beatrice:"KAsXoQDshjF6ehsWa1mF",Camilla_KM:"dLhSyo03JRp5WkGpUlz1","Sally Sunshine":"qswttdunP3b44zVZKMRB",Annie:"AfA1PA0ldViH0DA6pbml","Kawaii Aerisita":"vGQNBgLaiM3EdZtxIiuY",Morioki:"8EkOjt4xTPGMclNlh1pk"},ky=["Myriam","Beatrice","Camilla_KM","Sally Sunshine","Annie","Kawaii Aerisita"],Vy=["Morioki"],a4={en:ky,"en-US":ky,ja:Vy,"ja-JP":Vy},vV=fk("settings",()=>{const n=rt(),e=nr("settings/language","en-US"),t=nr("settings/stage/view/model-renderer","2d"),i=nr("settings/credentials/openai-api-key",""),r=nr("settings/credentials/openai-api-base-url",""),s=nr("settings/credentials/elevenlabs-api-key",""),o=nr("settings/llm/openai/model",{id:"openai/gpt-3.5-turbo",name:"OpenAI GPT3.5 Turbo"}),a=nr("settings/audio/input","true"),l=Be(()=>{var h;return(h=n.value)==null?void 0:h.deviceId}),{audioInputs:c}=w2({constraints:{audio:!0},requestPermissions:!0}),u=nr("settings/llm/elevenlabs/voice/en",_m.Myriam),f=nr("settings/llm/elevenlabs/voice/ja",_m.Morioki);return it(a,h=>{h==="false"&&(n.value=void 0),h==="true"&&(n.value=c.value[0])}),ns(()=>{a.value==="true"&&!n.value&&(n.value=c.value[0])}),it(c,()=>{a.value==="true"&&!n.value&&(n.value=c.value[0])}),{openAiApiKey:i,openAiApiBaseURL:r,openAiModel:o,elevenLabsApiKey:s,language:e,stageView:t,isAudioInputOn:a,selectedAudioDevice:n,selectedAudioDeviceId:l,elevenlabsVoiceEnglish:u,elevenlabsVoiceJapanese:f}});/*!
|
3854 |
* shared v11.1.1
|
3855 |
* (c) 2025 kazuya kawaguchi
|
3856 |
* Released under the MIT License.
|
|
|
1 |
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-CdImWwpC.js","assets/Stage.vue_vue_type_style_index_0_scoped_0f1c2eb6_lang-pX-yGk3M.js","assets/queue-BdL-zJ6z.js","assets/Stage-53q1OLXl.css","assets/route-block-Itj55K8h.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/index-DsObsDkZ.js","assets/route-block-DmqTHKJa.css","assets/index-BKdPP9lW.css","assets/_...all_-D2FSBVDa.js","assets/image-DDoQ4wuT.js","assets/image-BhuwcwI9.css","assets/queue-Br8iBl13.js","assets/delays-BxDRASBY.js","assets/emotions-DT089aKK.js","assets/messages-vNn7aWGF.js","assets/v2-DBGdIARJ.js"])))=>i.map(i=>d[i]);
|
2 |
(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))i(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function t(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(r){if(r.ep)return;r.ep=!0;const s=t(r);fetch(r.href,s)}})();const Yw="modulepreload",jw=function(n){return"/"+n},b_={},di=function(e,t,i){let r=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));r=Promise.allSettled(t.map(l=>{if(l=jw(l),l in b_)return;b_[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${u}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":Yw,c||(f.as="script"),f.crossOrigin="",f.href=l,a&&f.setAttribute("nonce",a),document.head.appendChild(f),c)return new Promise((h,d)=>{f.addEventListener("load",h),f.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${l}`)))})}))}function s(o){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=o,window.dispatchEvent(a),!a.defaultPrevented)throw o}return r.then(o=>{for(const a of o||[])a.status==="rejected"&&s(a.reason);return e().catch(s)})};/**
|
3 |
* @vue/shared v3.5.13
|
4 |
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
|
3846 |
* pinia v3.0.1
|
3847 |
* (c) 2025 Eduardo San Martin Morote
|
3848 |
* @license MIT
|
3849 |
+
*/let aw;const $h=n=>aw=n,lw=Symbol();function hm(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var al;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(al||(al={}));function sk(){const n=Dm(!0),e=n.run(()=>rt({}));let t=[],i=[];const r=zm({install(s){$h(r),r._a=s,s.provide(lw,r),s.config.globalProperties.$pinia=r,i.forEach(o=>t.push(o)),i=[]},use(s){return this._a?t.push(s):i.push(s),this},_p:t,_a:null,_e:n,_s:new Map,state:e});return r}const cw=()=>{};function xy(n,e,t,i=cw){n.push(e);const r=()=>{const s=n.indexOf(e);s>-1&&(n.splice(s,1),i())};return!t&&Kf()&&Om(r),r}function Lo(n,...e){n.slice().forEach(t=>{t(...e)})}const ok=n=>n(),by=Symbol(),fp=Symbol();function dm(n,e){n instanceof Map&&e instanceof Map?e.forEach((t,i)=>n.set(i,t)):n instanceof Set&&e instanceof Set&&e.forEach(n.add,n);for(const t in e){if(!e.hasOwnProperty(t))continue;const i=e[t],r=n[t];hm(r)&&hm(i)&&n.hasOwnProperty(t)&&!wt(i)&&!mr(i)?n[t]=dm(r,i):n[t]=i}return n}const ak=Symbol();function lk(n){return!hm(n)||!n.hasOwnProperty(ak)}const{assign:Ur}=Object;function ck(n){return!!(wt(n)&&n.effect)}function uk(n,e,t,i){const{state:r,actions:s,getters:o}=e,a=t.state.value[n];let l;function c(){a||(t.state.value[n]=r?r():{});const u=Gx(t.state.value[n]);return Ur(u,s,Object.keys(o||{}).reduce((f,h)=>(f[h]=zm(Be(()=>{$h(t);const d=t._s.get(n);return o[h].call(d,d)})),f),{}))}return l=uw(n,c,e,t,i,!0),l}function uw(n,e,t={},i,r,s){let o;const a=Ur({actions:{}},t),l={deep:!0};let c,u,f=[],h=[],d;const p=i.state.value[n];!s&&!p&&(i.state.value[n]={}),rt({});let _;function g(P){let b;c=u=!1,typeof P=="function"?(P(i.state.value[n]),b={type:al.patchFunction,storeId:n,events:d}):(dm(i.state.value[n],P),b={type:al.patchObject,payload:P,storeId:n,events:d});const S=_=Symbol();ro().then(()=>{_===S&&(c=!0)}),u=!0,Lo(f,b,i.state.value[n])}const m=s?function(){const{state:b}=t,S=b?b():{};this.$patch(D=>{Ur(D,S)})}:cw;function y(){o.stop(),f=[],h=[],i._s.delete(n)}const x=(P,b="")=>{if(by in P)return P[fp]=b,P;const S=function(){$h(i);const D=Array.from(arguments),F=[],H=[];function $(te){F.push(te)}function ee(te){H.push(te)}Lo(h,{args:D,name:S[fp],store:E,after:$,onError:ee});let Z;try{Z=P.apply(this&&this.$id===n?this:E,D)}catch(te){throw Lo(H,te),te}return Z instanceof Promise?Z.then(te=>(Lo(F,te),te)).catch(te=>(Lo(H,te),Promise.reject(te))):(Lo(F,Z),Z)};return S[by]=!0,S[fp]=b,S},v={_p:i,$id:n,$onAction:xy.bind(null,h),$patch:g,$reset:m,$subscribe(P,b={}){const S=xy(f,P,b.detached,()=>D()),D=o.run(()=>it(()=>i.state.value[n],F=>{(b.flush==="sync"?u:c)&&P({storeId:n,type:al.direct,events:d},F)},Ur({},l,b)));return S},$dispose:y},E=oi(v);i._s.set(n,E);const M=(i._a&&i._a.runWithContext||ok)(()=>i._e.run(()=>(o=Dm()).run(()=>e({action:x}))));for(const P in M){const b=M[P];if(wt(b)&&!ck(b)||mr(b))s||(p&&lk(b)&&(wt(b)?b.value=p[P]:dm(b,p[P])),i.state.value[n][P]=b);else if(typeof b=="function"){const S=x(b,P);M[P]=S,a.actions[P]=b}}return Ur(E,M),Ur(st(E),M),Object.defineProperty(E,"$state",{get:()=>i.state.value[n],set:P=>{g(b=>{Ur(b,P)})}}),i._p.forEach(P=>{Ur(E,o.run(()=>P({store:E,app:i._a,pinia:i,options:a})))}),p&&s&&t.hydrate&&t.hydrate(E.$state,p),c=!0,u=!0,E}/*! #__NO_SIDE_EFFECTS__ */function fk(n,e,t){let i;const r=typeof e=="function";i=r?t:e;function s(o,a){const l=Xm();return o=o||(l?kn(lw,null):null),o&&$h(o),o=aw,o._s.has(n)||(r?uw(n,e,i,o):uk(n,i,o)),o._s.get(n)}return s.$id=n,s}function hk(n){const e=st(n),t={};for(const i in e){const r=e[i];r.effect?t[i]=Be({get:()=>n[i],set(s){n[i]=s}}):(wt(r)||mr(r))&&(t[i]=Wx(n,i))}return t}const dk=n=>{const e={};Object.entries(Object.assign({"/src/layouts/default.vue":()=>di(()=>import("./default-DWYZkKsj.js"),[])})).forEach(([r,s])=>{let o=r.replace("/src/layouts/","").replace(".vue","");e[o]=s});function i(r,s=!0){return r.map(o=>{var a,l,c,u,f,h;if(((a=o.children)==null?void 0:a.length)>0&&(o.children=i(o.children,!1)),s){if(!o.component&&((l=o.children)==null?void 0:l.find(p=>{var _;return(p.path===""||p.path==="/")&&((_=p.meta)==null?void 0:_.isLayout)})))return o;if(((c=o.meta)==null?void 0:c.layout)!==!1)return{path:o.path,component:e[((u=o.meta)==null?void 0:u.layout)||"default"],children:o.path==="/"?[o]:[{...o,path:""}],meta:{isLayout:!0}}}return(f=o.meta)!=null&&f.layout?{path:o.path,component:e[(h=o.meta)==null?void 0:h.layout],children:[{...o,path:""}],meta:{isLayout:!0}}:o})}return i(n)};/*!
|
3850 |
* vue-router v4.5.0
|
3851 |
* (c) 2024 Eduardo San Martin Morote
|
3852 |
* @license MIT
|
3853 |
+
*/const No=typeof document<"u";function fw(n){return typeof n=="object"||"displayName"in n||"props"in n||"__vccOpts"in n}function pk(n){return n.__esModule||n[Symbol.toStringTag]==="Module"||n.default&&fw(n.default)}const vt=Object.assign;function hp(n,e){const t={};for(const i in e){const r=e[i];t[i]=Si(r)?r.map(n):n(r)}return t}const ll=()=>{},Si=Array.isArray,hw=/#/g,mk=/&/g,gk=/\//g,_k=/=/g,vk=/\?/g,dw=/\+/g,yk=/%5B/g,xk=/%5D/g,pw=/%5E/g,bk=/%60/g,mw=/%7B/g,Sk=/%7C/g,gw=/%7D/g,Mk=/%20/g;function r_(n){return encodeURI(""+n).replace(Sk,"|").replace(yk,"[").replace(xk,"]")}function Ek(n){return r_(n).replace(mw,"{").replace(gw,"}").replace(pw,"^")}function pm(n){return r_(n).replace(dw,"%2B").replace(Mk,"+").replace(hw,"%23").replace(mk,"%26").replace(bk,"`").replace(mw,"{").replace(gw,"}").replace(pw,"^")}function wk(n){return pm(n).replace(_k,"%3D")}function Tk(n){return r_(n).replace(hw,"%23").replace(vk,"%3F")}function Ak(n){return n==null?"":Tk(n).replace(gk,"%2F")}function zl(n){try{return decodeURIComponent(""+n)}catch{}return""+n}const Ck=/\/$/,Rk=n=>n.replace(Ck,"");function dp(n,e,t="/"){let i,r={},s="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(i=e.slice(0,l),s=e.slice(l+1,a>-1?a:e.length),r=n(s)),a>-1&&(i=i||e.slice(0,a),o=e.slice(a,e.length)),i=Dk(i??e,t),{fullPath:i+(s&&"?")+s+o,path:i,query:r,hash:zl(o)}}function Pk(n,e){const t=e.query?n(e.query):"";return e.path+(t&&"?")+t+(e.hash||"")}function Sy(n,e){return!e||!n.toLowerCase().startsWith(e.toLowerCase())?n:n.slice(e.length)||"/"}function Ik(n,e,t){const i=e.matched.length-1,r=t.matched.length-1;return i>-1&&i===r&&sa(e.matched[i],t.matched[r])&&_w(e.params,t.params)&&n(e.query)===n(t.query)&&e.hash===t.hash}function sa(n,e){return(n.aliasOf||n)===(e.aliasOf||e)}function _w(n,e){if(Object.keys(n).length!==Object.keys(e).length)return!1;for(const t in n)if(!Lk(n[t],e[t]))return!1;return!0}function Lk(n,e){return Si(n)?My(n,e):Si(e)?My(e,n):n===e}function My(n,e){return Si(e)?n.length===e.length&&n.every((t,i)=>t===e[i]):n.length===1&&n[0]===e}function Dk(n,e){if(n.startsWith("/"))return n;if(!n)return e;const t=e.split("/"),i=n.split("/"),r=i[i.length-1];(r===".."||r===".")&&i.push("");let s=t.length-1,o,a;for(o=0;o<i.length;o++)if(a=i[o],a!==".")if(a==="..")s>1&&s--;else break;return t.slice(0,s).join("/")+"/"+i.slice(o).join("/")}const Or={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Hl;(function(n){n.pop="pop",n.push="push"})(Hl||(Hl={}));var cl;(function(n){n.back="back",n.forward="forward",n.unknown=""})(cl||(cl={}));function Ok(n){if(!n)if(No){const e=document.querySelector("base");n=e&&e.getAttribute("href")||"/",n=n.replace(/^\w+:\/\/[^\/]+/,"")}else n="/";return n[0]!=="/"&&n[0]!=="#"&&(n="/"+n),Rk(n)}const Nk=/^[^#]+#/;function Uk(n,e){return n.replace(Nk,"#")+e}function Fk(n,e){const t=document.documentElement.getBoundingClientRect(),i=n.getBoundingClientRect();return{behavior:e.behavior,left:i.left-t.left-(e.left||0),top:i.top-t.top-(e.top||0)}}const qh=()=>({left:window.scrollX,top:window.scrollY});function Bk(n){let e;if("el"in n){const t=n.el,i=typeof t=="string"&&t.startsWith("#"),r=typeof t=="string"?i?document.getElementById(t.slice(1)):document.querySelector(t):t;if(!r)return;e=Fk(r,n)}else e=n;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function Ey(n,e){return(history.state?history.state.position-e:-1)+n}const mm=new Map;function kk(n,e){mm.set(n,e)}function Vk(n){const e=mm.get(n);return mm.delete(n),e}let zk=()=>location.protocol+"//"+location.host;function vw(n,e){const{pathname:t,search:i,hash:r}=e,s=n.indexOf("#");if(s>-1){let a=r.includes(n.slice(s))?n.slice(s).length:1,l=r.slice(a);return l[0]!=="/"&&(l="/"+l),Sy(l,"")}return Sy(t,n)+i+r}function Hk(n,e,t,i){let r=[],s=[],o=null;const a=({state:h})=>{const d=vw(n,location),p=t.value,_=e.value;let g=0;if(h){if(t.value=d,e.value=h,o&&o===p){o=null;return}g=_?h.position-_.position:0}else i(d);r.forEach(m=>{m(t.value,p,{delta:g,type:Hl.pop,direction:g?g>0?cl.forward:cl.back:cl.unknown})})};function l(){o=t.value}function c(h){r.push(h);const d=()=>{const p=r.indexOf(h);p>-1&&r.splice(p,1)};return s.push(d),d}function u(){const{history:h}=window;h.state&&h.replaceState(vt({},h.state,{scroll:qh()}),"")}function f(){for(const h of s)h();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function wy(n,e,t,i=!1,r=!1){return{back:n,current:e,forward:t,replaced:i,position:window.history.length,scroll:r?qh():null}}function Gk(n){const{history:e,location:t}=window,i={value:vw(n,t)},r={value:e.state};r.value||s(i.value,{back:null,current:i.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const f=n.indexOf("#"),h=f>-1?(t.host&&document.querySelector("base")?n:n.slice(f))+l:zk()+n+l;try{e[u?"replaceState":"pushState"](c,"",h),r.value=c}catch(d){console.error(d),t[u?"replace":"assign"](h)}}function o(l,c){const u=vt({},e.state,wy(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});s(l,u,!0),i.value=l}function a(l,c){const u=vt({},r.value,e.state,{forward:l,scroll:qh()});s(u.current,u,!0);const f=vt({},wy(i.value,l,null),{position:u.position+1},c);s(l,f,!1),i.value=l}return{location:i,state:r,push:a,replace:o}}function Wk(n){n=Ok(n);const e=Gk(n),t=Hk(n,e.state,e.location,e.replace);function i(s,o=!0){o||t.pauseListeners(),history.go(s)}const r=vt({location:"",base:n,go:i,createHref:Uk.bind(null,n)},e,t);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>e.state.value}),r}function Xk(n){return n=location.host?n||location.pathname+location.search:"",n.includes("#")||(n+="#"),Wk(n)}function $k(n){return typeof n=="string"||n&&typeof n=="object"}function yw(n){return typeof n=="string"||typeof n=="symbol"}const xw=Symbol("");var Ty;(function(n){n[n.aborted=4]="aborted",n[n.cancelled=8]="cancelled",n[n.duplicated=16]="duplicated"})(Ty||(Ty={}));function oa(n,e){return vt(new Error,{type:n,[xw]:!0},e)}function ir(n,e){return n instanceof Error&&xw in n&&(e==null||!!(n.type&e))}const Ay="[^/]+?",qk={sensitive:!1,strict:!1,start:!0,end:!0},Yk=/[.+*?^${}()[\]/\\]/g;function jk(n,e){const t=vt({},qk,e),i=[];let r=t.start?"^":"";const s=[];for(const c of n){const u=c.length?[]:[90];t.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const h=c[f];let d=40+(t.sensitive?.25:0);if(h.type===0)f||(r+="/"),r+=h.value.replace(Yk,"\\$&"),d+=40;else if(h.type===1){const{value:p,repeatable:_,optional:g,regexp:m}=h;s.push({name:p,repeatable:_,optional:g});const y=m||Ay;if(y!==Ay){d+=10;try{new RegExp(`(${y})`)}catch(v){throw new Error(`Invalid custom RegExp for param "${p}" (${y}): `+v.message)}}let x=_?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(x=g&&c.length<2?`(?:/${x})`:"/"+x),g&&(x+="?"),r+=x,d+=20,g&&(d+=-8),_&&(d+=-20),y===".*"&&(d+=-50)}u.push(d)}i.push(u)}if(t.strict&&t.end){const c=i.length-1;i[c][i[c].length-1]+=.7000000000000001}t.strict||(r+="/?"),t.end?r+="$":t.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,t.sensitive?"":"i");function a(c){const u=c.match(o),f={};if(!u)return null;for(let h=1;h<u.length;h++){const d=u[h]||"",p=s[h-1];f[p.name]=d&&p.repeatable?d.split("/"):d}return f}function l(c){let u="",f=!1;for(const h of n){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const d of h)if(d.type===0)u+=d.value;else if(d.type===1){const{value:p,repeatable:_,optional:g}=d,m=p in c?c[p]:"";if(Si(m)&&!_)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const y=Si(m)?m.join("/"):m;if(!y)if(g)h.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=y}}return u||"/"}return{re:o,score:i,keys:s,parse:a,stringify:l}}function Kk(n,e){let t=0;for(;t<n.length&&t<e.length;){const i=e[t]-n[t];if(i)return i;t++}return n.length<e.length?n.length===1&&n[0]===80?-1:1:n.length>e.length?e.length===1&&e[0]===80?1:-1:0}function bw(n,e){let t=0;const i=n.score,r=e.score;for(;t<i.length&&t<r.length;){const s=Kk(i[t],r[t]);if(s)return s;t++}if(Math.abs(r.length-i.length)===1){if(Cy(i))return 1;if(Cy(r))return-1}return r.length-i.length}function Cy(n){const e=n[n.length-1];return n.length>0&&e[e.length-1]<0}const Zk={type:0,value:""},Jk=/[a-zA-Z0-9_]/;function Qk(n){if(!n)return[[]];if(n==="/")return[[Zk]];if(!n.startsWith("/"))throw new Error(`Invalid path "${n}"`);function e(d){throw new Error(`ERR (${t})/"${c}": ${d}`)}let t=0,i=t;const r=[];let s;function o(){s&&r.push(s),s=[]}let a=0,l,c="",u="";function f(){c&&(t===0?s.push({type:0,value:c}):t===1||t===2||t===3?(s.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;a<n.length;){if(l=n[a++],l==="\\"&&t!==2){i=t,t=4;continue}switch(t){case 0:l==="/"?(c&&f(),o()):l===":"?(f(),t=1):h();break;case 4:h(),t=i;break;case 1:l==="("?t=2:Jk.test(l)?h():(f(),t=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:t=3:u+=l;break;case 3:f(),t=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:e("Unknown state");break}}return t===2&&e(`Unfinished custom RegExp for param "${c}"`),f(),o(),r}function eV(n,e,t){const i=jk(Qk(n.path),t),r=vt(i,{record:n,parent:e,children:[],alias:[]});return e&&!r.record.aliasOf==!e.record.aliasOf&&e.children.push(r),r}function tV(n,e){const t=[],i=new Map;e=Ly({strict:!1,end:!0,sensitive:!1},e);function r(f){return i.get(f)}function s(f,h,d){const p=!d,_=Py(f);_.aliasOf=d&&d.record;const g=Ly(e,f),m=[_];if("alias"in f){const v=typeof f.alias=="string"?[f.alias]:f.alias;for(const E of v)m.push(Py(vt({},_,{components:d?d.record.components:_.components,path:E,aliasOf:d?d.record:_})))}let y,x;for(const v of m){const{path:E}=v;if(h&&E[0]!=="/"){const w=h.record.path,M=w[w.length-1]==="/"?"":"/";v.path=h.record.path+(E&&M+E)}if(y=eV(v,h,g),d?d.alias.push(y):(x=x||y,x!==y&&x.alias.push(y),p&&f.name&&!Iy(y)&&o(f.name)),Sw(y)&&l(y),_.children){const w=_.children;for(let M=0;M<w.length;M++)s(w[M],y,d&&d.children[M])}d=d||y}return x?()=>{o(x)}:ll}function o(f){if(yw(f)){const h=i.get(f);h&&(i.delete(f),t.splice(t.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=t.indexOf(f);h>-1&&(t.splice(h,1),f.record.name&&i.delete(f.record.name),f.children.forEach(o),f.alias.forEach(o))}}function a(){return t}function l(f){const h=rV(f,t);t.splice(h,0,f),f.record.name&&!Iy(f)&&i.set(f.record.name,f)}function c(f,h){let d,p={},_,g;if("name"in f&&f.name){if(d=i.get(f.name),!d)throw oa(1,{location:f});g=d.record.name,p=vt(Ry(h.params,d.keys.filter(x=>!x.optional).concat(d.parent?d.parent.keys.filter(x=>x.optional):[]).map(x=>x.name)),f.params&&Ry(f.params,d.keys.map(x=>x.name))),_=d.stringify(p)}else if(f.path!=null)_=f.path,d=t.find(x=>x.re.test(_)),d&&(p=d.parse(_),g=d.record.name);else{if(d=h.name?i.get(h.name):t.find(x=>x.re.test(h.path)),!d)throw oa(1,{location:f,currentLocation:h});g=d.record.name,p=vt({},h.params,f.params),_=d.stringify(p)}const m=[];let y=d;for(;y;)m.unshift(y.record),y=y.parent;return{name:g,path:_,params:p,matched:m,meta:iV(m)}}n.forEach(f=>s(f));function u(){t.length=0,i.clear()}return{addRoute:s,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:a,getRecordMatcher:r}}function Ry(n,e){const t={};for(const i of e)i in n&&(t[i]=n[i]);return t}function Py(n){const e={path:n.path,redirect:n.redirect,name:n.name,meta:n.meta||{},aliasOf:n.aliasOf,beforeEnter:n.beforeEnter,props:nV(n),children:n.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in n?n.components||null:n.component&&{default:n.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function nV(n){const e={},t=n.props||!1;if("component"in n)e.default=t;else for(const i in n.components)e[i]=typeof t=="object"?t[i]:t;return e}function Iy(n){for(;n;){if(n.record.aliasOf)return!0;n=n.parent}return!1}function iV(n){return n.reduce((e,t)=>vt(e,t.meta),{})}function Ly(n,e){const t={};for(const i in n)t[i]=i in e?e[i]:n[i];return t}function rV(n,e){let t=0,i=e.length;for(;t!==i;){const s=t+i>>1;bw(n,e[s])<0?i=s:t=s+1}const r=sV(n);return r&&(i=e.lastIndexOf(r,i-1)),i}function sV(n){let e=n;for(;e=e.parent;)if(Sw(e)&&bw(n,e)===0)return e}function Sw({record:n}){return!!(n.name||n.components&&Object.keys(n.components).length||n.redirect)}function oV(n){const e={};if(n===""||n==="?")return e;const i=(n[0]==="?"?n.slice(1):n).split("&");for(let r=0;r<i.length;++r){const s=i[r].replace(dw," "),o=s.indexOf("="),a=zl(o<0?s:s.slice(0,o)),l=o<0?null:zl(s.slice(o+1));if(a in e){let c=e[a];Si(c)||(c=e[a]=[c]),c.push(l)}else e[a]=l}return e}function Dy(n){let e="";for(let t in n){const i=n[t];if(t=wk(t),i==null){i!==void 0&&(e+=(e.length?"&":"")+t);continue}(Si(i)?i.map(s=>s&&pm(s)):[i&&pm(i)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+t,s!=null&&(e+="="+s))})}return e}function aV(n){const e={};for(const t in n){const i=n[t];i!==void 0&&(e[t]=Si(i)?i.map(r=>r==null?null:""+r):i==null?i:""+i)}return e}const lV=Symbol(""),Oy=Symbol(""),s_=Symbol(""),Mw=Symbol(""),gm=Symbol("");function Da(){let n=[];function e(i){return n.push(i),()=>{const r=n.indexOf(i);r>-1&&n.splice(r,1)}}function t(){n=[]}return{add:e,list:()=>n.slice(),reset:t}}function zr(n,e,t,i,r,s=o=>o()){const o=i&&(i.enterCallbacks[r]=i.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const c=h=>{h===!1?l(oa(4,{from:t,to:e})):h instanceof Error?l(h):$k(h)?l(oa(2,{from:e,to:h})):(o&&i.enterCallbacks[r]===o&&typeof h=="function"&&o.push(h),a())},u=s(()=>n.call(i&&i.instances[r],e,t,c));let f=Promise.resolve(u);n.length<3&&(f=f.then(c)),f.catch(h=>l(h))})}function pp(n,e,t,i,r=s=>s()){const s=[];for(const o of n)for(const a in o.components){let l=o.components[a];if(!(e!=="beforeRouteEnter"&&!o.instances[a]))if(fw(l)){const u=(l.__vccOpts||l)[e];u&&s.push(zr(u,t,i,o,a,r))}else{let c=l();s.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const f=pk(u)?u.default:u;o.mods[a]=u,o.components[a]=f;const d=(f.__vccOpts||f)[e];return d&&zr(d,t,i,o,a,r)()}))}}return s}function Ny(n){const e=kn(s_),t=kn(Mw),i=Be(()=>{const l=Ft(n.to);return e.resolve(l)}),r=Be(()=>{const{matched:l}=i.value,{length:c}=l,u=l[c-1],f=t.matched;if(!u||!f.length)return-1;const h=f.findIndex(sa.bind(null,u));if(h>-1)return h;const d=Uy(l[c-2]);return c>1&&Uy(u)===d&&f[f.length-1].path!==d?f.findIndex(sa.bind(null,l[c-2])):h}),s=Be(()=>r.value>-1&&dV(t.params,i.value.params)),o=Be(()=>r.value>-1&&r.value===t.matched.length-1&&_w(t.params,i.value.params));function a(l={}){if(hV(l)){const c=e[Ft(n.replace)?"replace":"push"](Ft(n.to)).catch(ll);return n.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:i,href:Be(()=>i.value.href),isActive:s,isExactActive:o,navigate:a}}function cV(n){return n.length===1?n[0]:n}const uV=Vi({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ny,setup(n,{slots:e}){const t=oi(Ny(n)),{options:i}=kn(s_),r=Be(()=>({[Fy(n.activeClass,i.linkActiveClass,"router-link-active")]:t.isActive,[Fy(n.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:t.isExactActive}));return()=>{const s=e.default&&cV(e.default(t));return n.custom?s:vr("a",{"aria-current":t.isExactActive?n.ariaCurrentValue:null,href:t.href,onClick:t.navigate,class:r.value},s)}}}),fV=uV;function hV(n){if(!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)&&!n.defaultPrevented&&!(n.button!==void 0&&n.button!==0)){if(n.currentTarget&&n.currentTarget.getAttribute){const e=n.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return n.preventDefault&&n.preventDefault(),!0}}function dV(n,e){for(const t in e){const i=e[t],r=n[t];if(typeof i=="string"){if(i!==r)return!1}else if(!Si(r)||r.length!==i.length||i.some((s,o)=>s!==r[o]))return!1}return!0}function Uy(n){return n?n.aliasOf?n.aliasOf.path:n.path:""}const Fy=(n,e,t)=>n??e??t,pV=Vi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(n,{attrs:e,slots:t}){const i=kn(gm),r=Be(()=>n.route||i.value),s=kn(Oy,0),o=Be(()=>{let c=Ft(s);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=Be(()=>r.value.matched[o.value]);$r(Oy,Be(()=>o.value+1)),$r(lV,a),$r(gm,r);const l=rt();return it(()=>[l.value,a.value,n.name],([c,u,f],[h,d,p])=>{u&&(u.instances[f]=c,d&&d!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=d.leaveGuards),u.updateGuards.size||(u.updateGuards=d.updateGuards))),c&&u&&(!d||!sa(u,d)||!h)&&(u.enterCallbacks[f]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=r.value,u=n.name,f=a.value,h=f&&f.components[u];if(!h)return By(t.default,{Component:h,route:c});const d=f.props[u],p=d?d===!0?c.params:typeof d=="function"?d(c):d:null,g=vr(h,vt({},p,e,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return By(t.default,{Component:g,route:c})||g}}});function By(n,e){if(!n)return null;const t=n(e);return t.length===1?t[0]:t}const Ew=pV;function mV(n){const e=tV(n.routes,n),t=n.parseQuery||oV,i=n.stringifyQuery||Dy,r=n.history,s=Da(),o=Da(),a=Da(),l=je(Or);let c=Or;No&&n.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=hp.bind(null,W=>""+W),f=hp.bind(null,Ak),h=hp.bind(null,zl);function d(W,ae){let ue,le;return yw(W)?(ue=e.getRecordMatcher(W),le=ae):le=W,e.addRoute(le,ue)}function p(W){const ae=e.getRecordMatcher(W);ae&&e.removeRoute(ae)}function _(){return e.getRoutes().map(W=>W.record)}function g(W){return!!e.getRecordMatcher(W)}function m(W,ae){if(ae=vt({},ae||l.value),typeof W=="string"){const T=dp(t,W,ae.path),j=e.resolve({path:T.path},ae),G=r.createHref(T.fullPath);return vt(T,j,{params:h(j.params),hash:zl(T.hash),redirectedFrom:void 0,href:G})}let ue;if(W.path!=null)ue=vt({},W,{path:dp(t,W.path,ae.path).path});else{const T=vt({},W.params);for(const j in T)T[j]==null&&delete T[j];ue=vt({},W,{params:f(T)}),ae.params=f(ae.params)}const le=e.resolve(ue,ae),Le=W.hash||"";le.params=u(h(le.params));const I=Pk(i,vt({},W,{hash:Ek(Le),path:le.path})),L=r.createHref(I);return vt({fullPath:I,hash:Le,query:i===Dy?aV(W.query):W.query||{}},le,{redirectedFrom:void 0,href:L})}function y(W){return typeof W=="string"?dp(t,W,l.value.path):vt({},W)}function x(W,ae){if(c!==W)return oa(8,{from:ae,to:W})}function v(W){return M(W)}function E(W){return v(vt(y(W),{replace:!0}))}function w(W){const ae=W.matched[W.matched.length-1];if(ae&&ae.redirect){const{redirect:ue}=ae;let le=typeof ue=="function"?ue(W):ue;return typeof le=="string"&&(le=le.includes("?")||le.includes("#")?le=y(le):{path:le},le.params={}),vt({query:W.query,hash:W.hash,params:le.path!=null?{}:W.params},le)}}function M(W,ae){const ue=c=m(W),le=l.value,Le=W.state,I=W.force,L=W.replace===!0,T=w(ue);if(T)return M(vt(y(T),{state:typeof T=="object"?vt({},Le,T.state):Le,force:I,replace:L}),ae||ue);const j=ue;j.redirectedFrom=ae;let G;return!I&&Ik(i,le,ue)&&(G=oa(16,{to:j,from:le}),re(le,le,!0,!1)),(G?Promise.resolve(G):S(j,le)).catch(q=>ir(q)?ir(q,2)?q:ve(q):Q(q,j,le)).then(q=>{if(q){if(ir(q,2))return M(vt({replace:L},y(q.to),{state:typeof q.to=="object"?vt({},Le,q.to.state):Le,force:I}),ae||j)}else q=F(j,le,!0,L,Le);return D(j,le,q),q})}function P(W,ae){const ue=x(W,ae);return ue?Promise.reject(ue):Promise.resolve()}function b(W){const ae=se.values().next().value;return ae&&typeof ae.runWithContext=="function"?ae.runWithContext(W):W()}function S(W,ae){let ue;const[le,Le,I]=gV(W,ae);ue=pp(le.reverse(),"beforeRouteLeave",W,ae);for(const T of le)T.leaveGuards.forEach(j=>{ue.push(zr(j,W,ae))});const L=P.bind(null,W,ae);return ue.push(L),be(ue).then(()=>{ue=[];for(const T of s.list())ue.push(zr(T,W,ae));return ue.push(L),be(ue)}).then(()=>{ue=pp(Le,"beforeRouteUpdate",W,ae);for(const T of Le)T.updateGuards.forEach(j=>{ue.push(zr(j,W,ae))});return ue.push(L),be(ue)}).then(()=>{ue=[];for(const T of I)if(T.beforeEnter)if(Si(T.beforeEnter))for(const j of T.beforeEnter)ue.push(zr(j,W,ae));else ue.push(zr(T.beforeEnter,W,ae));return ue.push(L),be(ue)}).then(()=>(W.matched.forEach(T=>T.enterCallbacks={}),ue=pp(I,"beforeRouteEnter",W,ae,b),ue.push(L),be(ue))).then(()=>{ue=[];for(const T of o.list())ue.push(zr(T,W,ae));return ue.push(L),be(ue)}).catch(T=>ir(T,8)?T:Promise.reject(T))}function D(W,ae,ue){a.list().forEach(le=>b(()=>le(W,ae,ue)))}function F(W,ae,ue,le,Le){const I=x(W,ae);if(I)return I;const L=ae===Or,T=No?history.state:{};ue&&(le||L?r.replace(W.fullPath,vt({scroll:L&&T&&T.scroll},Le)):r.push(W.fullPath,Le)),l.value=W,re(W,ae,ue,L),ve()}let H;function $(){H||(H=r.listen((W,ae,ue)=>{if(!ge.listening)return;const le=m(W),Le=w(le);if(Le){M(vt(Le,{replace:!0,force:!0}),le).catch(ll);return}c=le;const I=l.value;No&&kk(Ey(I.fullPath,ue.delta),qh()),S(le,I).catch(L=>ir(L,12)?L:ir(L,2)?(M(vt(y(L.to),{force:!0}),le).then(T=>{ir(T,20)&&!ue.delta&&ue.type===Hl.pop&&r.go(-1,!1)}).catch(ll),Promise.reject()):(ue.delta&&r.go(-ue.delta,!1),Q(L,le,I))).then(L=>{L=L||F(le,I,!1),L&&(ue.delta&&!ir(L,8)?r.go(-ue.delta,!1):ue.type===Hl.pop&&ir(L,20)&&r.go(-1,!1)),D(le,I,L)}).catch(ll)}))}let ee=Da(),Z=Da(),te;function Q(W,ae,ue){ve(W);const le=Z.list();return le.length?le.forEach(Le=>Le(W,ae,ue)):console.error(W),Promise.reject(W)}function pe(){return te&&l.value!==Or?Promise.resolve():new Promise((W,ae)=>{ee.add([W,ae])})}function ve(W){return te||(te=!W,$(),ee.list().forEach(([ae,ue])=>W?ue(W):ae()),ee.reset()),W}function re(W,ae,ue,le){const{scrollBehavior:Le}=n;if(!No||!Le)return Promise.resolve();const I=!ue&&Vk(Ey(W.fullPath,0))||(le||!ue)&&history.state&&history.state.scroll||null;return ro().then(()=>Le(W,ae,I)).then(L=>L&&Bk(L)).catch(L=>Q(L,W,ae))}const xe=W=>r.go(W);let Ve;const se=new Set,ge={currentRoute:l,listening:!0,addRoute:d,removeRoute:p,clearRoutes:e.clearRoutes,hasRoute:g,getRoutes:_,resolve:m,options:n,push:v,replace:E,go:xe,back:()=>xe(-1),forward:()=>xe(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:Z.add,isReady:pe,install(W){const ae=this;W.component("RouterLink",fV),W.component("RouterView",Ew),W.config.globalProperties.$router=ae,Object.defineProperty(W.config.globalProperties,"$route",{enumerable:!0,get:()=>Ft(l)}),No&&!Ve&&l.value===Or&&(Ve=!0,v(r.location).catch(Le=>{}));const ue={};for(const Le in Or)Object.defineProperty(ue,Le,{get:()=>l.value[Le],enumerable:!0});W.provide(s_,ae),W.provide(Mw,Vx(ue)),W.provide(gm,l);const le=W.unmount;se.add(W),W.unmount=function(){se.delete(W),se.size<1&&(c=Or,H&&H(),H=null,l.value=Or,Ve=!1,te=!1),le()}}};function be(W){return W.reduce((ae,ue)=>ae.then(()=>b(ue)),Promise.resolve())}return ge}function gV(n,e){const t=[],i=[],r=[],s=Math.max(e.matched.length,n.matched.length);for(let o=0;o<s;o++){const a=e.matched[o];a&&(n.matched.find(c=>sa(c,a))?i.push(a):t.push(a));const l=n.matched[o];l&&(e.matched.find(c=>sa(c,l))||r.push(l))}return[t,i,r]}const _V=[{path:"/",name:"/",component:()=>di(()=>import("./index-CdImWwpC.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8])),meta:{layout:"default"}},{path:"/:all(.*)",name:"/[...all]",component:()=>di(()=>import("./_...all_-D2FSBVDa.js"),__vite__mapDeps([9,5]))},{path:"/audio",name:"/audio",component:()=>di(()=>import("./audio-MRQK08-g.js"),[])},{path:"/devtools",children:[{path:"image",name:"/devtools/image",component:()=>di(()=>import("./image-DDoQ4wuT.js"),__vite__mapDeps([10,5,11]))}]},{path:"/queue",name:"/queue",component:()=>di(()=>import("./queue-Br8iBl13.js"),__vite__mapDeps([12,2]))},{path:"/test",children:[{path:"filter-message",name:"/test/filter-message",component:()=>di(()=>import("./filter-message-C9p-1PUH.js"),[])},{path:"queues",children:[{path:"delays",name:"/test/queues/delays",component:()=>di(()=>import("./delays-BxDRASBY.js"),__vite__mapDeps([13,1,2,3,6]))},{path:"emotions",name:"/test/queues/emotions",component:()=>di(()=>import("./emotions-DT089aKK.js"),__vite__mapDeps([14,1,2,3]))},{path:"messages",name:"/test/queues/messages",component:()=>di(()=>import("./messages-vNn7aWGF.js"),__vite__mapDeps([15,1,2,3]))}]}]},{path:"/v2",name:"/v2",component:()=>di(()=>import("./v2-DBGdIARJ.js"),__vite__mapDeps([16,1,2,3,4,5,6,7])),meta:{layout:"default"}}];var _m=(n=>(n.Myriam="Myriam",n.Beatrice="Beatrice",n.Camilla_KM="Camilla_KM",n.SallySunshine="Sally Sunshine",n.Annie="Annie",n.KawaiiAerisita="Kawaii Aerisita",n.Morioki="Morioki",n))(_m||{});const o4={Myriam:"lNxY9WuCBCZCISASyJ55",Beatrice:"KAsXoQDshjF6ehsWa1mF",Camilla_KM:"dLhSyo03JRp5WkGpUlz1","Sally Sunshine":"qswttdunP3b44zVZKMRB",Annie:"AfA1PA0ldViH0DA6pbml","Kawaii Aerisita":"vGQNBgLaiM3EdZtxIiuY",Morioki:"8EkOjt4xTPGMclNlh1pk"},ky=["Myriam","Beatrice","Camilla_KM","Sally Sunshine","Annie","Kawaii Aerisita"],Vy=["Morioki"],a4={en:ky,"en-US":ky,ja:Vy,"ja-JP":Vy},vV=fk("settings",()=>{const n=rt(),e=nr("settings/language","en-US"),t=nr("settings/stage/view/model-renderer","2d"),i=nr("settings/credentials/openai-api-key",""),r=nr("settings/credentials/openai-api-base-url",""),s=nr("settings/credentials/elevenlabs-api-key",""),o=nr("settings/llm/openai/model",{id:"openai/gpt-3.5-turbo",name:"OpenAI GPT3.5 Turbo"}),a=nr("settings/audio/input","true"),l=Be(()=>{var h;return(h=n.value)==null?void 0:h.deviceId}),{audioInputs:c}=w2({constraints:{audio:!0},requestPermissions:!0}),u=nr("settings/llm/elevenlabs/voice/en",_m.Myriam),f=nr("settings/llm/elevenlabs/voice/ja",_m.Morioki);return it(a,h=>{h==="false"&&(n.value=void 0),h==="true"&&(n.value=c.value[0])}),ns(()=>{a.value==="true"&&!n.value&&(n.value=c.value[0])}),it(c,()=>{a.value==="true"&&!n.value&&(n.value=c.value[0])}),{openAiApiKey:i,openAiApiBaseURL:r,openAiModel:o,elevenLabsApiKey:s,language:e,stageView:t,isAudioInputOn:a,selectedAudioDevice:n,selectedAudioDeviceId:l,elevenlabsVoiceEnglish:u,elevenlabsVoiceJapanese:f}});/*!
|
3854 |
* shared v11.1.1
|
3855 |
* (c) 2025 kazuya kawaguchi
|
3856 |
* Released under the MIT License.
|
assets/{index-B2_pIh1j.js → index-DsObsDkZ.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
import{b_ as getAugmentedNamespace}from"./index-BRAl2tv-.js";var dist={},ortWeb_min={exports:{}};const backends={},backendsSortedByPriority=[],registerBackend=(D,u,b)=>{if(u&&typeof u.init=="function"&&typeof u.createSessionHandler=="function"){const g=backends[D];if(g===void 0)backends[D]={backend:u,priority:b};else{if(g.priority>b)return;if(g.priority===b&&g.backend!==u)throw new Error(`cannot register backend "${D}" using priority ${b}`)}if(b>=0){const p=backendsSortedByPriority.indexOf(D);p!==-1&&backendsSortedByPriority.splice(p,1);for(let h=0;h<backendsSortedByPriority.length;h++)if(backends[backendsSortedByPriority[h]].priority<=b){backendsSortedByPriority.splice(h,0,D);return}backendsSortedByPriority.push(D)}return}throw new TypeError("not a valid backend")},resolveBackend=async D=>{const u=D.length===0?backendsSortedByPriority:D,b=[];for(const g of u){const p=backends[g];if(p){if(p.initialized)return p.backend;if(p.aborted)continue;const h=!!p.initPromise;try{return h||(p.initPromise=p.backend.init()),await p.initPromise,p.initialized=!0,p.backend}catch(o){h||b.push({name:g,err:o}),p.aborted=!0}finally{delete p.initPromise}}}throw new Error(`no available backend found. ERR: ${b.map(g=>`[${g.name}] ${g.err}`).join(", ")}`)};class EnvImpl{constructor(){this.wasm={},this.webgl={},this.logLevelInternal="warning"}set logLevel(u){if(u!==void 0){if(typeof u!="string"||["verbose","info","warning","error","fatal"].indexOf(u)===-1)throw new Error(`Unsupported logging level: ${u}`);this.logLevelInternal=u}}get logLevel(){return this.logLevelInternal}}const env=new EnvImpl,isBigInt64ArrayAvailable=typeof BigInt64Array<"u"&&typeof BigInt64Array.from=="function",isBigUint64ArrayAvailable=typeof BigUint64Array<"u"&&typeof BigUint64Array.from=="function",NUMERIC_TENSOR_TYPE_TO_TYPEDARRAY_MAP=new Map([["float32",Float32Array],["uint8",Uint8Array],["int8",Int8Array],["uint16",Uint16Array],["int16",Int16Array],["int32",Int32Array],["bool",Uint8Array],["float64",Float64Array],["uint32",Uint32Array]]),NUMERIC_TENSOR_TYPEDARRAY_TO_TYPE_MAP=new Map([[Float32Array,"float32"],[Uint8Array,"uint8"],[Int8Array,"int8"],[Uint16Array,"uint16"],[Int16Array,"int16"],[Int32Array,"int32"],[Float64Array,"float64"],[Uint32Array,"uint32"]]);isBigInt64ArrayAvailable&&(NUMERIC_TENSOR_TYPE_TO_TYPEDARRAY_MAP.set("int64",BigInt64Array),NUMERIC_TENSOR_TYPEDARRAY_TO_TYPE_MAP.set(BigInt64Array,"int64"));isBigUint64ArrayAvailable&&(NUMERIC_TENSOR_TYPE_TO_TYPEDARRAY_MAP.set("uint64",BigUint64Array),NUMERIC_TENSOR_TYPEDARRAY_TO_TYPE_MAP.set(BigUint64Array,"uint64"));const calculateSize=D=>{let u=1;for(let b=0;b<D.length;b++){const g=D[b];if(typeof g!="number"||!Number.isSafeInteger(g))throw new TypeError(`dims[${b}] must be an integer, got: ${g}`);if(g<0)throw new RangeError(`dims[${b}] must be a non-negative integer, got: ${g}`);u*=g}return u};let Tensor$1=class at{constructor(u,b,g){let p,h,o;if(typeof u=="string")if(p=u,o=g,u==="string"){if(!Array.isArray(b))throw new TypeError("A string tensor's data must be a string array.");h=b}else{const f=NUMERIC_TENSOR_TYPE_TO_TYPEDARRAY_MAP.get(u);if(f===void 0)throw new TypeError(`Unsupported tensor type: ${u}.`);if(Array.isArray(b))h=f.from(b);else if(b instanceof f)h=b;else throw new TypeError(`A ${p} tensor's data must be type of ${f}`)}else if(o=b,Array.isArray(u)){if(u.length===0)throw new TypeError("Tensor type cannot be inferred from an empty array.");const f=typeof u[0];if(f==="string")p="string",h=u;else if(f==="boolean")p="bool",h=Uint8Array.from(u);else throw new TypeError(`Invalid element type of data array: ${f}.`)}else{const f=NUMERIC_TENSOR_TYPEDARRAY_TO_TYPE_MAP.get(u.constructor);if(f===void 0)throw new TypeError(`Unsupported type for tensor data: ${u.constructor}.`);p=f,h=u}if(o===void 0)o=[h.length];else if(!Array.isArray(o))throw new TypeError("A tensor's dims must be a number array");const c=calculateSize(o);if(c!==h.length)throw new Error(`Tensor's size(${c}) does not match data length(${h.length}).`);this.dims=o,this.type=p,this.data=h,this.size=c}static bufferToTensor(u,b){if(u===void 0)throw new Error("Image buffer must be defined");if(b.height===void 0||b.width===void 0)throw new Error("Image height and width must be defined");const{height:g,width:p}=b,h=b.norm;let o,c;h===void 0||h.mean===void 0?o=255:o=h.mean,h===void 0||h.bias===void 0?c=0:c=h.bias;const f=b.bitmapFormat!==void 0?b.bitmapFormat:"RGBA",s=b.tensorFormat!==void 0&&b.tensorFormat!==void 0?b.tensorFormat:"RGB",i=g*p,t=s==="RGBA"?new Float32Array(i*4):new Float32Array(i*3);let e=4,n=0,r=1,a=2,l=3,d=0,m=i,y=i*2,v=-1;f==="RGB"&&(e=3,n=0,r=1,a=2,l=-1),s==="RGBA"?v=i*3:s==="RBG"?(d=0,y=i,m=i*2):s==="BGR"&&(y=0,m=i,d=i*2);for(let T=0;T<i;T++,n+=e,a+=e,r+=e,l+=e)t[d++]=(u[n]+c)/o,t[m++]=(u[r]+c)/o,t[y++]=(u[a]+c)/o,v!==-1&&l!==-1&&(t[v++]=(u[l]+c)/o);return s==="RGBA"?new at("float32",t,[1,4,g,p]):new at("float32",t,[1,3,g,p])}static async fromImage(u,b){const g=typeof HTMLImageElement<"u"&&u instanceof HTMLImageElement,p=typeof ImageData<"u"&&u instanceof ImageData,h=typeof ImageBitmap<"u"&&u instanceof ImageBitmap,o=typeof String<"u"&&(u instanceof String||typeof u=="string");let c,f={};if(g){const s=document.createElement("canvas"),i=s.getContext("2d");if(i!=null){let t=u.naturalHeight,e=u.naturalWidth;if(b!==void 0&&b.resizedHeight!==void 0&&b.resizedWidth!==void 0&&(t=b.resizedHeight,e=b.resizedWidth),b!==void 0){if(f=b,b.tensorFormat!==void 0)throw new Error("Image input config format must be RGBA for HTMLImageElement");if(f.tensorFormat="RGBA",b.height!==void 0&&b.height!==t)throw new Error("Image input config height doesn't match HTMLImageElement height");if(f.height=t,b.width!==void 0&&b.width!==e)throw new Error("Image input config width doesn't match HTMLImageElement width");f.width=e}else f.tensorFormat="RGBA",f.height=t,f.width=e;s.width=e,s.height=t,i.drawImage(u,0,0,e,t),c=i.getImageData(0,0,e,t).data}else throw new Error("Can not access image data")}else if(p){const s="RGBA";let i,t;if(b!==void 0&&b.resizedWidth!==void 0&&b.resizedHeight!==void 0?(i=b.resizedHeight,t=b.resizedWidth):(i=u.height,t=u.width),b!==void 0){if(f=b,b.bitmapFormat!==void 0&&b.bitmapFormat!==s)throw new Error("Image input config format must be RGBA for ImageData");f.bitmapFormat="RGBA"}else f.bitmapFormat="RGBA";if(f.height=i,f.width=t,b!==void 0){const e=document.createElement("canvas");e.width=t,e.height=i;const n=e.getContext("2d");if(n!=null)n.putImageData(u,0,0),c=n.getImageData(0,0,t,i).data;else throw new Error("Can not access image data")}else c=u.data}else if(h){if(b===void 0)throw new Error("Please provide image config with format for Imagebitmap");if(b.bitmapFormat!==void 0)throw new Error("Image input config format must be defined for ImageBitmap");const s=document.createElement("canvas").getContext("2d");if(s!=null){const i=u.height,t=u.width;if(s.drawImage(u,0,0,t,i),c=s.getImageData(0,0,t,i).data,b!==void 0){if(b.height!==void 0&&b.height!==i)throw new Error("Image input config height doesn't match ImageBitmap height");if(f.height=i,b.width!==void 0&&b.width!==t)throw new Error("Image input config width doesn't match ImageBitmap width");f.width=t}else f.height=i,f.width=t;return at.bufferToTensor(c,f)}else throw new Error("Can not access image data")}else{if(o)return new Promise((s,i)=>{const t=document.createElement("canvas"),e=t.getContext("2d");if(!u||!e)return i();const n=new Image;n.crossOrigin="Anonymous",n.src=u,n.onload=()=>{t.width=n.width,t.height=n.height,e.drawImage(n,0,0,t.width,t.height);const r=e.getImageData(0,0,t.width,t.height);if(b!==void 0){if(b.height!==void 0&&b.height!==t.height)throw new Error("Image input config height doesn't match ImageBitmap height");if(f.height=t.height,b.width!==void 0&&b.width!==t.width)throw new Error("Image input config width doesn't match ImageBitmap width");f.width=t.width}else f.height=t.height,f.width=t.width;s(at.bufferToTensor(r.data,f))}});throw new Error("Input data provided is not supported - aborted tensor creation")}if(c!==void 0)return at.bufferToTensor(c,f);throw new Error("Input data provided is not supported - aborted tensor creation")}toImageData(u){var b,g;const p=document.createElement("canvas").getContext("2d");let h;if(p!=null){const o=this.dims[3],c=this.dims[2],f=this.dims[1],s=u!==void 0&&u.format!==void 0?u.format:"RGB",i=u!==void 0&&((b=u.norm)===null||b===void 0?void 0:b.mean)!==void 0?u.norm.mean:255,t=u!==void 0&&((g=u.norm)===null||g===void 0?void 0:g.bias)!==void 0?u.norm.bias:0,e=c*o;if(u!==void 0){if(u.height!==void 0&&u.height!==c)throw new Error("Image output config height doesn't match tensor height");if(u.width!==void 0&&u.width!==o)throw new Error("Image output config width doesn't match tensor width");if(u.format!==void 0&&f===4&&u.format!=="RGBA"||f===3&&u.format!=="RGB"&&u.format!=="BGR")throw new Error("Tensor format doesn't match input tensor dims")}const n=4;let r=0,a=1,l=2,d=3,m=0,y=e,v=e*2,_=-1;s==="RGBA"?(m=0,y=e,v=e*2,_=e*3):s==="RGB"?(m=0,y=e,v=e*2):s==="RBG"&&(m=0,v=e,y=e*2),h=p.createImageData(o,c);for(let T=0;T<c*o;r+=n,a+=n,l+=n,d+=n,T++)h.data[r]=(this.data[m++]-t)*i,h.data[a]=(this.data[y++]-t)*i,h.data[l]=(this.data[v++]-t)*i,h.data[d]=_===-1?255:(this.data[_++]-t)*i}else throw new Error("Can not access image data");return h}reshape(u){return new at(this.type,this.data,u)}};const Tensor=Tensor$1;let InferenceSession$1=class cn{constructor(u){this.handler=u}async run(u,b,g){const p={};let h={};if(typeof u!="object"||u===null||u instanceof Tensor||Array.isArray(u))throw new TypeError("'feeds' must be an object that use input names as keys and OnnxValue as corresponding values.");let o=!0;if(typeof b=="object"){if(b===null)throw new TypeError("Unexpected argument[1]: cannot be null.");if(b instanceof Tensor)throw new TypeError("'fetches' cannot be a Tensor");if(Array.isArray(b)){if(b.length===0)throw new TypeError("'fetches' cannot be an empty array.");o=!1;for(const s of b){if(typeof s!="string")throw new TypeError("'fetches' must be a string array or an object.");if(this.outputNames.indexOf(s)===-1)throw new RangeError(`'fetches' contains invalid output name: ${s}.`);p[s]=null}if(typeof g=="object"&&g!==null)h=g;else if(typeof g<"u")throw new TypeError("'options' must be an object.")}else{let s=!1;const i=Object.getOwnPropertyNames(b);for(const t of this.outputNames)if(i.indexOf(t)!==-1){const e=b[t];(e===null||e instanceof Tensor)&&(s=!0,o=!1,p[t]=e)}if(s){if(typeof g=="object"&&g!==null)h=g;else if(typeof g<"u")throw new TypeError("'options' must be an object.")}else h=b}}else if(typeof b<"u")throw new TypeError("Unexpected argument[1]: must be 'fetches' or 'options'.");for(const s of this.inputNames)if(typeof u[s]>"u")throw new Error(`input '${s}' is missing in 'feeds'.`);if(o)for(const s of this.outputNames)p[s]=null;const c=await this.handler.run(u,p,h),f={};for(const s in c)Object.hasOwnProperty.call(c,s)&&(f[s]=new Tensor(c[s].type,c[s].data,c[s].dims));return f}static async create(u,b,g,p){let h,o={};if(typeof u=="string"){if(h=u,typeof b=="object"&&b!==null)o=b;else if(typeof b<"u")throw new TypeError("'options' must be an object.")}else if(u instanceof Uint8Array){if(h=u,typeof b=="object"&&b!==null)o=b;else if(typeof b<"u")throw new TypeError("'options' must be an object.")}else if(u instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&u instanceof SharedArrayBuffer){const t=u;let e=0,n=u.byteLength;if(typeof b=="object"&&b!==null)o=b;else if(typeof b=="number"){if(e=b,!Number.isSafeInteger(e))throw new RangeError("'byteOffset' must be an integer.");if(e<0||e>=t.byteLength)throw new RangeError(`'byteOffset' is out of range [0, ${t.byteLength}).`);if(n=u.byteLength-e,typeof g=="number"){if(n=g,!Number.isSafeInteger(n))throw new RangeError("'byteLength' must be an integer.");if(n<=0||e+n>t.byteLength)throw new RangeError(`'byteLength' is out of range (0, ${t.byteLength-e}].`);if(typeof p=="object"&&p!==null)o=p;else if(typeof p<"u")throw new TypeError("'options' must be an object.")}else if(typeof g<"u")throw new TypeError("'byteLength' must be a number.")}else if(typeof b<"u")throw new TypeError("'options' must be an object.");h=new Uint8Array(t,e,n)}else throw new TypeError("Unexpected argument[0]: must be 'path' or 'buffer'.");const f=(o.executionProviders||[]).map(t=>typeof t=="string"?t:t.name),i=await(await resolveBackend(f)).createSessionHandler(h,o);return new cn(i)}startProfiling(){this.handler.startProfiling()}endProfiling(){this.handler.endProfiling()}get inputNames(){return this.handler.inputNames}get outputNames(){return this.handler.outputNames}};const InferenceSession=InferenceSession$1,lib=Object.freeze(Object.defineProperty({__proto__:null,InferenceSession,Tensor,env,registerBackend},Symbol.toStringTag,{value:"Module"})),require$$0=getAugmentedNamespace(lib);/*!
|
2 |
* ONNX Runtime Web v1.14.0
|
3 |
* Copyright (c) Microsoft Corporation. All rights reserved.
|
4 |
* Licensed under the MIT License.
|
|
|
1 |
+
import{b_ as getAugmentedNamespace}from"./index-DWxkGnJi.js";var dist={},ortWeb_min={exports:{}};const backends={},backendsSortedByPriority=[],registerBackend=(D,u,b)=>{if(u&&typeof u.init=="function"&&typeof u.createSessionHandler=="function"){const g=backends[D];if(g===void 0)backends[D]={backend:u,priority:b};else{if(g.priority>b)return;if(g.priority===b&&g.backend!==u)throw new Error(`cannot register backend "${D}" using priority ${b}`)}if(b>=0){const p=backendsSortedByPriority.indexOf(D);p!==-1&&backendsSortedByPriority.splice(p,1);for(let h=0;h<backendsSortedByPriority.length;h++)if(backends[backendsSortedByPriority[h]].priority<=b){backendsSortedByPriority.splice(h,0,D);return}backendsSortedByPriority.push(D)}return}throw new TypeError("not a valid backend")},resolveBackend=async D=>{const u=D.length===0?backendsSortedByPriority:D,b=[];for(const g of u){const p=backends[g];if(p){if(p.initialized)return p.backend;if(p.aborted)continue;const h=!!p.initPromise;try{return h||(p.initPromise=p.backend.init()),await p.initPromise,p.initialized=!0,p.backend}catch(o){h||b.push({name:g,err:o}),p.aborted=!0}finally{delete p.initPromise}}}throw new Error(`no available backend found. ERR: ${b.map(g=>`[${g.name}] ${g.err}`).join(", ")}`)};class EnvImpl{constructor(){this.wasm={},this.webgl={},this.logLevelInternal="warning"}set logLevel(u){if(u!==void 0){if(typeof u!="string"||["verbose","info","warning","error","fatal"].indexOf(u)===-1)throw new Error(`Unsupported logging level: ${u}`);this.logLevelInternal=u}}get logLevel(){return this.logLevelInternal}}const env=new EnvImpl,isBigInt64ArrayAvailable=typeof BigInt64Array<"u"&&typeof BigInt64Array.from=="function",isBigUint64ArrayAvailable=typeof BigUint64Array<"u"&&typeof BigUint64Array.from=="function",NUMERIC_TENSOR_TYPE_TO_TYPEDARRAY_MAP=new Map([["float32",Float32Array],["uint8",Uint8Array],["int8",Int8Array],["uint16",Uint16Array],["int16",Int16Array],["int32",Int32Array],["bool",Uint8Array],["float64",Float64Array],["uint32",Uint32Array]]),NUMERIC_TENSOR_TYPEDARRAY_TO_TYPE_MAP=new Map([[Float32Array,"float32"],[Uint8Array,"uint8"],[Int8Array,"int8"],[Uint16Array,"uint16"],[Int16Array,"int16"],[Int32Array,"int32"],[Float64Array,"float64"],[Uint32Array,"uint32"]]);isBigInt64ArrayAvailable&&(NUMERIC_TENSOR_TYPE_TO_TYPEDARRAY_MAP.set("int64",BigInt64Array),NUMERIC_TENSOR_TYPEDARRAY_TO_TYPE_MAP.set(BigInt64Array,"int64"));isBigUint64ArrayAvailable&&(NUMERIC_TENSOR_TYPE_TO_TYPEDARRAY_MAP.set("uint64",BigUint64Array),NUMERIC_TENSOR_TYPEDARRAY_TO_TYPE_MAP.set(BigUint64Array,"uint64"));const calculateSize=D=>{let u=1;for(let b=0;b<D.length;b++){const g=D[b];if(typeof g!="number"||!Number.isSafeInteger(g))throw new TypeError(`dims[${b}] must be an integer, got: ${g}`);if(g<0)throw new RangeError(`dims[${b}] must be a non-negative integer, got: ${g}`);u*=g}return u};let Tensor$1=class at{constructor(u,b,g){let p,h,o;if(typeof u=="string")if(p=u,o=g,u==="string"){if(!Array.isArray(b))throw new TypeError("A string tensor's data must be a string array.");h=b}else{const f=NUMERIC_TENSOR_TYPE_TO_TYPEDARRAY_MAP.get(u);if(f===void 0)throw new TypeError(`Unsupported tensor type: ${u}.`);if(Array.isArray(b))h=f.from(b);else if(b instanceof f)h=b;else throw new TypeError(`A ${p} tensor's data must be type of ${f}`)}else if(o=b,Array.isArray(u)){if(u.length===0)throw new TypeError("Tensor type cannot be inferred from an empty array.");const f=typeof u[0];if(f==="string")p="string",h=u;else if(f==="boolean")p="bool",h=Uint8Array.from(u);else throw new TypeError(`Invalid element type of data array: ${f}.`)}else{const f=NUMERIC_TENSOR_TYPEDARRAY_TO_TYPE_MAP.get(u.constructor);if(f===void 0)throw new TypeError(`Unsupported type for tensor data: ${u.constructor}.`);p=f,h=u}if(o===void 0)o=[h.length];else if(!Array.isArray(o))throw new TypeError("A tensor's dims must be a number array");const c=calculateSize(o);if(c!==h.length)throw new Error(`Tensor's size(${c}) does not match data length(${h.length}).`);this.dims=o,this.type=p,this.data=h,this.size=c}static bufferToTensor(u,b){if(u===void 0)throw new Error("Image buffer must be defined");if(b.height===void 0||b.width===void 0)throw new Error("Image height and width must be defined");const{height:g,width:p}=b,h=b.norm;let o,c;h===void 0||h.mean===void 0?o=255:o=h.mean,h===void 0||h.bias===void 0?c=0:c=h.bias;const f=b.bitmapFormat!==void 0?b.bitmapFormat:"RGBA",s=b.tensorFormat!==void 0&&b.tensorFormat!==void 0?b.tensorFormat:"RGB",i=g*p,t=s==="RGBA"?new Float32Array(i*4):new Float32Array(i*3);let e=4,n=0,r=1,a=2,l=3,d=0,m=i,y=i*2,v=-1;f==="RGB"&&(e=3,n=0,r=1,a=2,l=-1),s==="RGBA"?v=i*3:s==="RBG"?(d=0,y=i,m=i*2):s==="BGR"&&(y=0,m=i,d=i*2);for(let T=0;T<i;T++,n+=e,a+=e,r+=e,l+=e)t[d++]=(u[n]+c)/o,t[m++]=(u[r]+c)/o,t[y++]=(u[a]+c)/o,v!==-1&&l!==-1&&(t[v++]=(u[l]+c)/o);return s==="RGBA"?new at("float32",t,[1,4,g,p]):new at("float32",t,[1,3,g,p])}static async fromImage(u,b){const g=typeof HTMLImageElement<"u"&&u instanceof HTMLImageElement,p=typeof ImageData<"u"&&u instanceof ImageData,h=typeof ImageBitmap<"u"&&u instanceof ImageBitmap,o=typeof String<"u"&&(u instanceof String||typeof u=="string");let c,f={};if(g){const s=document.createElement("canvas"),i=s.getContext("2d");if(i!=null){let t=u.naturalHeight,e=u.naturalWidth;if(b!==void 0&&b.resizedHeight!==void 0&&b.resizedWidth!==void 0&&(t=b.resizedHeight,e=b.resizedWidth),b!==void 0){if(f=b,b.tensorFormat!==void 0)throw new Error("Image input config format must be RGBA for HTMLImageElement");if(f.tensorFormat="RGBA",b.height!==void 0&&b.height!==t)throw new Error("Image input config height doesn't match HTMLImageElement height");if(f.height=t,b.width!==void 0&&b.width!==e)throw new Error("Image input config width doesn't match HTMLImageElement width");f.width=e}else f.tensorFormat="RGBA",f.height=t,f.width=e;s.width=e,s.height=t,i.drawImage(u,0,0,e,t),c=i.getImageData(0,0,e,t).data}else throw new Error("Can not access image data")}else if(p){const s="RGBA";let i,t;if(b!==void 0&&b.resizedWidth!==void 0&&b.resizedHeight!==void 0?(i=b.resizedHeight,t=b.resizedWidth):(i=u.height,t=u.width),b!==void 0){if(f=b,b.bitmapFormat!==void 0&&b.bitmapFormat!==s)throw new Error("Image input config format must be RGBA for ImageData");f.bitmapFormat="RGBA"}else f.bitmapFormat="RGBA";if(f.height=i,f.width=t,b!==void 0){const e=document.createElement("canvas");e.width=t,e.height=i;const n=e.getContext("2d");if(n!=null)n.putImageData(u,0,0),c=n.getImageData(0,0,t,i).data;else throw new Error("Can not access image data")}else c=u.data}else if(h){if(b===void 0)throw new Error("Please provide image config with format for Imagebitmap");if(b.bitmapFormat!==void 0)throw new Error("Image input config format must be defined for ImageBitmap");const s=document.createElement("canvas").getContext("2d");if(s!=null){const i=u.height,t=u.width;if(s.drawImage(u,0,0,t,i),c=s.getImageData(0,0,t,i).data,b!==void 0){if(b.height!==void 0&&b.height!==i)throw new Error("Image input config height doesn't match ImageBitmap height");if(f.height=i,b.width!==void 0&&b.width!==t)throw new Error("Image input config width doesn't match ImageBitmap width");f.width=t}else f.height=i,f.width=t;return at.bufferToTensor(c,f)}else throw new Error("Can not access image data")}else{if(o)return new Promise((s,i)=>{const t=document.createElement("canvas"),e=t.getContext("2d");if(!u||!e)return i();const n=new Image;n.crossOrigin="Anonymous",n.src=u,n.onload=()=>{t.width=n.width,t.height=n.height,e.drawImage(n,0,0,t.width,t.height);const r=e.getImageData(0,0,t.width,t.height);if(b!==void 0){if(b.height!==void 0&&b.height!==t.height)throw new Error("Image input config height doesn't match ImageBitmap height");if(f.height=t.height,b.width!==void 0&&b.width!==t.width)throw new Error("Image input config width doesn't match ImageBitmap width");f.width=t.width}else f.height=t.height,f.width=t.width;s(at.bufferToTensor(r.data,f))}});throw new Error("Input data provided is not supported - aborted tensor creation")}if(c!==void 0)return at.bufferToTensor(c,f);throw new Error("Input data provided is not supported - aborted tensor creation")}toImageData(u){var b,g;const p=document.createElement("canvas").getContext("2d");let h;if(p!=null){const o=this.dims[3],c=this.dims[2],f=this.dims[1],s=u!==void 0&&u.format!==void 0?u.format:"RGB",i=u!==void 0&&((b=u.norm)===null||b===void 0?void 0:b.mean)!==void 0?u.norm.mean:255,t=u!==void 0&&((g=u.norm)===null||g===void 0?void 0:g.bias)!==void 0?u.norm.bias:0,e=c*o;if(u!==void 0){if(u.height!==void 0&&u.height!==c)throw new Error("Image output config height doesn't match tensor height");if(u.width!==void 0&&u.width!==o)throw new Error("Image output config width doesn't match tensor width");if(u.format!==void 0&&f===4&&u.format!=="RGBA"||f===3&&u.format!=="RGB"&&u.format!=="BGR")throw new Error("Tensor format doesn't match input tensor dims")}const n=4;let r=0,a=1,l=2,d=3,m=0,y=e,v=e*2,_=-1;s==="RGBA"?(m=0,y=e,v=e*2,_=e*3):s==="RGB"?(m=0,y=e,v=e*2):s==="RBG"&&(m=0,v=e,y=e*2),h=p.createImageData(o,c);for(let T=0;T<c*o;r+=n,a+=n,l+=n,d+=n,T++)h.data[r]=(this.data[m++]-t)*i,h.data[a]=(this.data[y++]-t)*i,h.data[l]=(this.data[v++]-t)*i,h.data[d]=_===-1?255:(this.data[_++]-t)*i}else throw new Error("Can not access image data");return h}reshape(u){return new at(this.type,this.data,u)}};const Tensor=Tensor$1;let InferenceSession$1=class cn{constructor(u){this.handler=u}async run(u,b,g){const p={};let h={};if(typeof u!="object"||u===null||u instanceof Tensor||Array.isArray(u))throw new TypeError("'feeds' must be an object that use input names as keys and OnnxValue as corresponding values.");let o=!0;if(typeof b=="object"){if(b===null)throw new TypeError("Unexpected argument[1]: cannot be null.");if(b instanceof Tensor)throw new TypeError("'fetches' cannot be a Tensor");if(Array.isArray(b)){if(b.length===0)throw new TypeError("'fetches' cannot be an empty array.");o=!1;for(const s of b){if(typeof s!="string")throw new TypeError("'fetches' must be a string array or an object.");if(this.outputNames.indexOf(s)===-1)throw new RangeError(`'fetches' contains invalid output name: ${s}.`);p[s]=null}if(typeof g=="object"&&g!==null)h=g;else if(typeof g<"u")throw new TypeError("'options' must be an object.")}else{let s=!1;const i=Object.getOwnPropertyNames(b);for(const t of this.outputNames)if(i.indexOf(t)!==-1){const e=b[t];(e===null||e instanceof Tensor)&&(s=!0,o=!1,p[t]=e)}if(s){if(typeof g=="object"&&g!==null)h=g;else if(typeof g<"u")throw new TypeError("'options' must be an object.")}else h=b}}else if(typeof b<"u")throw new TypeError("Unexpected argument[1]: must be 'fetches' or 'options'.");for(const s of this.inputNames)if(typeof u[s]>"u")throw new Error(`input '${s}' is missing in 'feeds'.`);if(o)for(const s of this.outputNames)p[s]=null;const c=await this.handler.run(u,p,h),f={};for(const s in c)Object.hasOwnProperty.call(c,s)&&(f[s]=new Tensor(c[s].type,c[s].data,c[s].dims));return f}static async create(u,b,g,p){let h,o={};if(typeof u=="string"){if(h=u,typeof b=="object"&&b!==null)o=b;else if(typeof b<"u")throw new TypeError("'options' must be an object.")}else if(u instanceof Uint8Array){if(h=u,typeof b=="object"&&b!==null)o=b;else if(typeof b<"u")throw new TypeError("'options' must be an object.")}else if(u instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&u instanceof SharedArrayBuffer){const t=u;let e=0,n=u.byteLength;if(typeof b=="object"&&b!==null)o=b;else if(typeof b=="number"){if(e=b,!Number.isSafeInteger(e))throw new RangeError("'byteOffset' must be an integer.");if(e<0||e>=t.byteLength)throw new RangeError(`'byteOffset' is out of range [0, ${t.byteLength}).`);if(n=u.byteLength-e,typeof g=="number"){if(n=g,!Number.isSafeInteger(n))throw new RangeError("'byteLength' must be an integer.");if(n<=0||e+n>t.byteLength)throw new RangeError(`'byteLength' is out of range (0, ${t.byteLength-e}].`);if(typeof p=="object"&&p!==null)o=p;else if(typeof p<"u")throw new TypeError("'options' must be an object.")}else if(typeof g<"u")throw new TypeError("'byteLength' must be a number.")}else if(typeof b<"u")throw new TypeError("'options' must be an object.");h=new Uint8Array(t,e,n)}else throw new TypeError("Unexpected argument[0]: must be 'path' or 'buffer'.");const f=(o.executionProviders||[]).map(t=>typeof t=="string"?t:t.name),i=await(await resolveBackend(f)).createSessionHandler(h,o);return new cn(i)}startProfiling(){this.handler.startProfiling()}endProfiling(){this.handler.endProfiling()}get inputNames(){return this.handler.inputNames}get outputNames(){return this.handler.outputNames}};const InferenceSession=InferenceSession$1,lib=Object.freeze(Object.defineProperty({__proto__:null,InferenceSession,Tensor,env,registerBackend},Symbol.toStringTag,{value:"Module"})),require$$0=getAugmentedNamespace(lib);/*!
|
2 |
* ONNX Runtime Web v1.14.0
|
3 |
* Copyright (c) Microsoft Corporation. All rights reserved.
|
4 |
* Licensed under the MIT License.
|
assets/{messages-DKAdGvpb.js → messages-vNn7aWGF.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{b as m,_ as g,l as _}from"./Stage.vue_vue_type_style_index_0_scoped_0f1c2eb6_lang-
|
|
|
1 |
+
import{b as m,_ as g,l as _}from"./Stage.vue_vue_type_style_index_0_scoped_0f1c2eb6_lang-pX-yGk3M.js";import{u as v}from"./queue-BdL-zJ6z.js";import{d as b,f as t,c as l,o as u,j as e,a as x,b as k,t as c,F as h,s as z}from"./index-DWxkGnJi.js";const w={flex:"","flex-col":"","gap-2":"","p-2":""},S={flex:"","flex-row":"","gap-2":""},V={"rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-4":""},y={"w-full":"",flex:"","flex-row":"","gap-4":""},M={"w-full":"","rounded-lg":"",bg:"zinc-100 dark:zinc-700","p-2":""},E=b({__name:"messages",setup(Q){const s=t(""),d=t([]),o=t(!1),f=v({handlers:[async i=>{d.value.push(i.data)}]}),r=m(f);async function p(){o.value=!0,r.add(s.value),r.add(_),s.value="",o.value=!1}return(i,n)=>(u(),l("div",w,[e("div",S,[x(k(g),{modelValue:s.value,"onUpdate:modelValue":n[0]||(n[0]=a=>s.value=a),placeholder:"Message",p:"2",bg:"zinc-100 dark:zinc-700","w-full":"","rounded-lg":"","outline-none":"",onSubmit:p},null,8,["modelValue"]),e("button",V,c(o.value?"Processing...":"Send"),1)]),e("div",y,[e("div",M,[n[1]||(n[1]=e("h3",{"font-semibold":""}," TTS Message ",-1)),(u(!0),l(h,null,z(d.value,a=>(u(),l("div",{key:a},[e("div",null,c(a),1)]))),128))])])]))}});export{E as default};
|
assets/{queue-DFs1yKwI.js → queue-BdL-zJ6z.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{f as l}from"./index-
|
|
|
1 |
+
import{f as l}from"./index-DWxkGnJi.js";function m(f){const t=l([]),a=l(!1),d={add:[],pick:[],processing:[],error:[],processed:[],done:[]},s={};function c(n,e){d[n].push(e)}function r(n,...e){d[n].forEach(i=>{i(...e)})}function h(n,e){s[n]=s[n]||[],s[n].push(e)}function p(n,...e){(s[n]||[]).forEach(i=>{i(...e)})}async function v(n){t.value.push(n),r("add",n)}function E(){const n=t.value.shift();if(n)return r("pick",n),n}async function u(){if(a.value)return;const n=E();if(n){a.value=!0;for(const e of f.handlers){r("processing",n,e);try{const o=await e({data:n,itemsToBeProcessed:()=>t.value.length,emit:p});r("processed",n,o,e)}catch(o){r("error",n,o,e);continue}}a.value=!1,r("done",n),t.value.length>0&&u()}}return c("add",u),c("done",u),{add:v,on:c,onHandlerEvent:h,queue:t}}export{m as u};
|
assets/{queue-BarHeT-y.js → queue-Br8iBl13.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{u as o}from"./queue-
|
|
|
1 |
+
import{u as o}from"./queue-BdL-zJ6z.js";import{d as v,f as h,h as k,c as w,o as g,j as I}from"./index-DWxkGnJi.js";const Q=v({__name:"queue",setup(P){function i(e){return new Promise(a=>setTimeout(a,e))}const n=h(""),d=o({handlers:[async e=>{console.log("ready to play speech audio for",e)}]}),u=o({handlers:[async e=>{console.log("ready to stream speech audio for",e),d.add(e.data)}]}),c=o({handlers:[async e=>{const a=[".","?","!"];let s=!1;for(const t of a){if(!e.data.includes(t))continue;const r=e.data.indexOf(t),p=e.data.slice(0,r+1),y=e.data.slice(r+1);n.value+=p,u.add(n.value.trim()),n.value=y,s=!0}s||(n.value+=e.data)}]}),l=["Hello"," N","eko","! I"," am"," an"," AI"," assistant"," trained"," to"," help"," with"," a"," variety"," of"," tasks"," such"," as"," answering"," questions",","," providing"," information",","," giving"," recommendations",","," and"," more",". How"," can"," I"," assist"," you"," today","?","Hello"," N","eko",","," I"," am"," an"," AI"," assistant","."," I"," can"," help"," answer"," questions",","," provide"," information",","," assist"," with"," tasks",","," and"," engage"," in"," conversation","."," How"," can"," I"," assist"," you"," today","?"];async function f(){for(const e of l)await i(100),c.add(e)}async function m(){f()}return k(()=>{m()}),(e,a)=>(g(),w("div",null,a[0]||(a[0]=[I("div",null,null,-1)])))}});export{Q as default};
|
assets/{route-block-CQW9rUut.js → route-block-Itj55K8h.js}
RENAMED
The diff for this file is too large to render.
See raw diff
|
|
assets/{v2-DpJ51q5l.js → v2-DBGdIARJ.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import"./Stage.vue_vue_type_style_index_0_scoped_0f1c2eb6_lang-
|
|
|
1 |
+
import"./Stage.vue_vue_type_style_index_0_scoped_0f1c2eb6_lang-pX-yGk3M.js";import{_ as s,M as t,W as i,I as d,a as c,b as o}from"./route-block-Itj55K8h.js";import{d as l,c as n,o as r,j as a,a as e,b as m}from"./index-DWxkGnJi.js";import"./queue-BdL-zJ6z.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./index-DsObsDkZ.js";const f={relative:"",flex:"~ col","z-2":"","h-100vh":"","w-100vw":"","of-hidden":""},_={relative:"",flex:"~ 1 row gap-y-0 gap-x-2 <md:col"},p=l({__name:"v2",setup(x){return(h,v)=>(r(),n("div",null,[a("div",f,[a("div",null,[e(s,{class:"flex <md:hidden",p2:""}),e(t,{class:"hidden <md:block"})]),a("div",_,[e(m(i),{"flex-1":"","min-w":"1/2"}),e(d,{class:"flex <md:hidden","flex-1":"","max-w":"30%"}),e(c,{class:"hidden <md:block",mx2:"",mb2:""})])])]))}});typeof o=="function"&&o(p);export{p as default};
|
index.html
CHANGED
@@ -24,7 +24,7 @@
|
|
24 |
src="/remote-assets/page-external-data/js/script.js"
|
25 |
></script>
|
26 |
<script src="/assets/js/CubismSdkForWeb-5-r.1/Core/live2dcubismcore.min.js"></script>
|
27 |
-
<script type="module" crossorigin src="/assets/index-
|
28 |
<link rel="stylesheet" crossorigin href="/assets/index-CqwD2OOi.css">
|
29 |
</head>
|
30 |
<body class="font-sans">
|
|
|
24 |
src="/remote-assets/page-external-data/js/script.js"
|
25 |
></script>
|
26 |
<script src="/assets/js/CubismSdkForWeb-5-r.1/Core/live2dcubismcore.min.js"></script>
|
27 |
+
<script type="module" crossorigin src="/assets/index-DWxkGnJi.js"></script>
|
28 |
<link rel="stylesheet" crossorigin href="/assets/index-CqwD2OOi.css">
|
29 |
</head>
|
30 |
<body class="font-sans">
|