diff --git a/assets/_basePickBy-DFtYmPO_.js b/assets/_basePickBy-DAcC5mcM.js similarity index 95% rename from assets/_basePickBy-DFtYmPO_.js rename to assets/_basePickBy-DAcC5mcM.js index 1fd40c7ad..504f9c1fd 100644 --- a/assets/_basePickBy-DFtYmPO_.js +++ b/assets/_basePickBy-DAcC5mcM.js @@ -1 +1 @@ -import{e as x,c as b,g as m,k as P,h as p,j as w,l as A,m as N,n as I,t as c,o as M}from"./_baseUniq-4k_gUsXm.js";import{aM as g,aA as E,aN as F,aO as T,aP as _,aQ as l,aR as $,aS as B,aT as S,aU as y}from"./index-Dq-yb_Rq.js";var R=/\s/;function G(n){for(var r=n.length;r--&&R.test(n.charAt(r)););return r}var H=/^\s+/;function L(n){return n&&n.slice(0,G(n)+1).replace(H,"")}var o=NaN,q=/^[-+]0x[0-9a-f]+$/i,z=/^0b[01]+$/i,C=/^0o[0-7]+$/i,K=parseInt;function Q(n){if(typeof n=="number")return n;if(x(n))return o;if(g(n)){var r=typeof n.valueOf=="function"?n.valueOf():n;n=g(r)?r+"":r}if(typeof n!="string")return n===0?n:+n;n=L(n);var t=z.test(n);return t||C.test(n)?K(n.slice(2),t?2:8):q.test(n)?o:+n}var v=1/0,U=17976931348623157e292;function W(n){if(!n)return n===0?n:0;if(n=Q(n),n===v||n===-v){var r=n<0?-1:1;return r*U}return n===n?n:0}function X(n){var r=W(n),t=r%1;return r===r?t?r-t:r:0}function fn(n){var r=n==null?0:n.length;return r?b(n):[]}var O=Object.prototype,Y=O.hasOwnProperty,dn=E(function(n,r){n=Object(n);var t=-1,i=r.length,a=i>2?r[2]:void 0;for(a&&F(r[0],r[1],a)&&(i=1);++t-1?a[f?r[e]:e]:void 0}}var J=Math.max;function Z(n,r,t){var i=n==null?0:n.length;if(!i)return-1;var a=t==null?0:X(t);return a<0&&(a=J(i+a,0)),p(n,m(r),a)}var hn=D(Z);function V(n,r){var t=-1,i=l(n)?Array(n.length):[];return w(n,function(a,f,e){i[++t]=r(a,f,e)}),i}function gn(n,r){var t=$(n)?A:V;return t(n,m(r))}var j=Object.prototype,k=j.hasOwnProperty;function nn(n,r){return n!=null&&k.call(n,r)}function mn(n,r){return n!=null&&N(n,r,nn)}function rn(n,r){return n2?r[2]:void 0;for(a&&F(r[0],r[1],a)&&(i=1);++t-1?a[f?r[e]:e]:void 0}}var J=Math.max;function Z(n,r,t){var i=n==null?0:n.length;if(!i)return-1;var a=t==null?0:X(t);return a<0&&(a=J(i+a,0)),p(n,m(r),a)}var hn=D(Z);function V(n,r){var t=-1,i=l(n)?Array(n.length):[];return w(n,function(a,f,e){i[++t]=r(a,f,e)}),i}function gn(n,r){var t=$(n)?A:V;return t(n,m(r))}var j=Object.prototype,k=j.hasOwnProperty;function nn(n,r){return n!=null&&k.call(n,r)}function mn(n,r){return n!=null&&N(n,r,nn)}function rn(n,r){return n-1}function $(n){return sn(n)?xn(n):Mn(n)}var nr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,rr=/^\w*$/;function B(n,r){if(T(n))return!1;var e=typeof n;return e=="number"||e=="symbol"||e=="boolean"||n==null||U(n)?!0:rr.test(n)||!nr.test(n)||r!=null&&n in Object(r)}var er=500;function tr(n){var r=mn(n,function(t){return e.size===er&&e.clear(),t}),e=r.cache;return r}var ir=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ar=/\\(\\)?/g,fr=tr(function(n){var r=[];return n.charCodeAt(0)===46&&r.push(""),n.replace(ir,function(e,t,a,i){r.push(a?i.replace(ar,"$1"):t||e)}),r});function sr(n){return n==null?"":dn(n)}function An(n,r){return T(n)?n:B(n,r)?[n]:fr(sr(n))}var ur=1/0;function M(n){if(typeof n=="string"||U(n))return n;var r=n+"";return r=="0"&&1/n==-ur?"-0":r}function yn(n,r){r=An(r,n);for(var e=0,t=r.length;n!=null&&es))return!1;var b=i.get(n),l=i.get(r);if(b&&l)return b==r&&l==n;var o=-1,c=!0,h=e&Re?new v:void 0;for(i.set(n,r),i.set(r,n);++o=Ot){var b=r?null:wt(n);if(b)return H(b);f=!1,a=Sn,u=new v}else u=r?[]:s;n:for(;++t-1}function $(n){return sn(n)?xn(n):Mn(n)}var nr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,rr=/^\w*$/;function B(n,r){if(T(n))return!1;var e=typeof n;return e=="number"||e=="symbol"||e=="boolean"||n==null||U(n)?!0:rr.test(n)||!nr.test(n)||r!=null&&n in Object(r)}var er=500;function tr(n){var r=mn(n,function(t){return e.size===er&&e.clear(),t}),e=r.cache;return r}var ir=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ar=/\\(\\)?/g,fr=tr(function(n){var r=[];return n.charCodeAt(0)===46&&r.push(""),n.replace(ir,function(e,t,a,i){r.push(a?i.replace(ar,"$1"):t||e)}),r});function sr(n){return n==null?"":dn(n)}function An(n,r){return T(n)?n:B(n,r)?[n]:fr(sr(n))}var ur=1/0;function M(n){if(typeof n=="string"||U(n))return n;var r=n+"";return r=="0"&&1/n==-ur?"-0":r}function yn(n,r){r=An(r,n);for(var e=0,t=r.length;n!=null&&es))return!1;var b=i.get(n),l=i.get(r);if(b&&l)return b==r&&l==n;var o=-1,c=!0,h=e&Re?new v:void 0;for(i.set(n,r),i.set(r,n);++o=Ot){var b=r?null:wt(n);if(b)return H(b);f=!1,a=Sn,u=new v}else u=r?[]:s;n:for(;++tr*r+F*F&&($=w,j=p),{cx:$,cy:j,x01:-n,y01:-d,x11:$*(v/T-1),y11:j*(v/T-1)}}function hn(){var l=cn,h=yn,I=z(0),D=null,v=gn,A=dn,B=mn,a=null,O=ln(i);function i(){var n,d,u=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-an,c=A.apply(this,arguments)-an,C=un(c-f),t=c>f;if(a||(a=n=O()),sy))a.moveTo(0,0);else if(C>tn-y)a.moveTo(s*G(f),s*q(f)),a.arc(0,0,s,f,c,!t),u>y&&(a.moveTo(u*G(c),u*q(c)),a.arc(0,0,u,c,f,t));else{var m=f,g=c,R=f,T=c,P=C,S=C,$=B.apply(this,arguments)/2,j=$>y&&(D?+D.apply(this,arguments):K(u*u+s*s)),w=_(un(s-u)/2,+I.apply(this,arguments)),p=w,x=w,e,r;if(j>y){var F=sn(j/u*q($)),L=sn(j/s*q($));(P-=F*2)>y?(F*=t?1:-1,R+=F,T-=F):(P=0,R=T=(f+c)/2),(S-=L*2)>y?(L*=t?1:-1,m+=L,g-=L):(S=0,m=g=(f+c)/2)}var H=s*G(m),J=s*q(m),M=u*G(T),N=u*q(T);if(w>y){var Q=s*G(g),U=s*q(g),W=u*G(R),X=u*q(R),E;if(Cy?x>y?(e=V(W,X,H,J,s,x,t),r=V(Q,U,M,N,s,x,t),a.moveTo(e.cx+e.x01,e.cy+e.y01),xy)||!(P>y)?a.lineTo(M,N):p>y?(e=V(M,N,Q,U,u,-p,t),r=V(H,J,W,X,u,-p,t),a.lineTo(e.cx+e.x01,e.cy+e.y01),pr*r+F*F&&($=w,j=p),{cx:$,cy:j,x01:-n,y01:-d,x11:$*(v/T-1),y11:j*(v/T-1)}}function hn(){var l=cn,h=yn,I=z(0),D=null,v=gn,A=dn,B=mn,a=null,O=ln(i);function i(){var n,d,u=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-an,c=A.apply(this,arguments)-an,C=un(c-f),t=c>f;if(a||(a=n=O()),sy))a.moveTo(0,0);else if(C>tn-y)a.moveTo(s*G(f),s*q(f)),a.arc(0,0,s,f,c,!t),u>y&&(a.moveTo(u*G(c),u*q(c)),a.arc(0,0,u,c,f,t));else{var m=f,g=c,R=f,T=c,P=C,S=C,$=B.apply(this,arguments)/2,j=$>y&&(D?+D.apply(this,arguments):K(u*u+s*s)),w=_(un(s-u)/2,+I.apply(this,arguments)),p=w,x=w,e,r;if(j>y){var F=sn(j/u*q($)),L=sn(j/s*q($));(P-=F*2)>y?(F*=t?1:-1,R+=F,T-=F):(P=0,R=T=(f+c)/2),(S-=L*2)>y?(L*=t?1:-1,m+=L,g-=L):(S=0,m=g=(f+c)/2)}var H=s*G(m),J=s*q(m),M=u*G(T),N=u*q(T);if(w>y){var Q=s*G(g),U=s*q(g),W=u*G(R),X=u*q(R),E;if(Cy?x>y?(e=V(W,X,H,J,s,x,t),r=V(Q,U,M,N,s,x,t),a.moveTo(e.cx+e.x01,e.cy+e.y01),xy)||!(P>y)?a.lineTo(M,N):p>y?(e=V(M,N,Q,U,u,-p,t),r=V(H,J,W,X,u,-p,t),a.lineTo(e.cx+e.x01,e.cy+e.y01),ph?(this.rect.x-=(this.labelWidth-h)/2,this.setWidth(this.labelWidth)):this.labelPosHorizontal=="right"&&this.setWidth(h+this.labelWidth)),this.labelHeight&&(this.labelPosVertical=="top"?(this.rect.y-=this.labelHeight,this.setHeight(o+this.labelHeight)):this.labelPosVertical=="center"&&this.labelHeight>o?(this.rect.y-=(this.labelHeight-o)/2,this.setHeight(this.labelHeight)):this.labelPosVertical=="bottom"&&this.setHeight(o+this.labelHeight))}}},a.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==s.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},a.prototype.transform=function(t){var h=this.rect.x;h>r.WORLD_BOUNDARY?h=r.WORLD_BOUNDARY:h<-r.WORLD_BOUNDARY&&(h=-r.WORLD_BOUNDARY);var o=this.rect.y;o>r.WORLD_BOUNDARY?o=r.WORLD_BOUNDARY:o<-r.WORLD_BOUNDARY&&(o=-r.WORLD_BOUNDARY);var c=new f(h,o),l=t.inverseTransformPoint(c);this.setLocation(l.x,l.y)},a.prototype.getLeft=function(){return this.rect.x},a.prototype.getRight=function(){return this.rect.x+this.rect.width},a.prototype.getTop=function(){return this.rect.y},a.prototype.getBottom=function(){return this.rect.y+this.rect.height},a.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},C.exports=a},function(C,G,N){var g=N(0);function s(){}for(var i in g)s[i]=g[i];s.MAX_ITERATIONS=2500,s.DEFAULT_EDGE_LENGTH=50,s.DEFAULT_SPRING_STRENGTH=.45,s.DEFAULT_REPULSION_STRENGTH=4500,s.DEFAULT_GRAVITY_STRENGTH=.4,s.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,s.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,s.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,s.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,s.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,s.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,s.COOLING_ADAPTATION_FACTOR=.33,s.ADAPTATION_LOWER_NODE_LIMIT=1e3,s.ADAPTATION_UPPER_NODE_LIMIT=5e3,s.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,s.MAX_NODE_DISPLACEMENT=s.MAX_NODE_DISPLACEMENT_INCREMENTAL*3,s.MIN_REPULSION_DIST=s.DEFAULT_EDGE_LENGTH/10,s.CONVERGENCE_CHECK_PERIOD=100,s.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,s.MIN_EDGE_LENGTH=1,s.GRID_CALCULATION_CHECK_PERIOD=10,C.exports=s},function(C,G,N){function g(s,i){s==null&&i==null?(this.x=0,this.y=0):(this.x=s,this.y=i)}g.prototype.getX=function(){return this.x},g.prototype.getY=function(){return this.y},g.prototype.setX=function(s){this.x=s},g.prototype.setY=function(s){this.y=s},g.prototype.getDifference=function(s){return new DimensionD(this.x-s.x,this.y-s.y)},g.prototype.getCopy=function(){return new g(this.x,this.y)},g.prototype.translate=function(s){return this.x+=s.width,this.y+=s.height,this},C.exports=g},function(C,G,N){var g=N(2),s=N(10),i=N(0),r=N(7),e=N(3),f=N(1),a=N(13),y=N(12),t=N(11);function h(c,l,T){g.call(this,T),this.estimatedSize=s.MIN_VALUE,this.margin=i.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=c,l!=null&&l instanceof r?this.graphManager=l:l!=null&&l instanceof Layout&&(this.graphManager=l.graphManager)}h.prototype=Object.create(g.prototype);for(var o in g)h[o]=g[o];h.prototype.getNodes=function(){return this.nodes},h.prototype.getEdges=function(){return this.edges},h.prototype.getGraphManager=function(){return this.graphManager},h.prototype.getParent=function(){return this.parent},h.prototype.getLeft=function(){return this.left},h.prototype.getRight=function(){return this.right},h.prototype.getTop=function(){return this.top},h.prototype.getBottom=function(){return this.bottom},h.prototype.isConnected=function(){return this.isConnected},h.prototype.add=function(c,l,T){if(l==null&&T==null){var u=c;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(u)>-1)throw"Node already in graph!";return u.owner=this,this.getNodes().push(u),u}else{var v=c;if(!(this.getNodes().indexOf(l)>-1&&this.getNodes().indexOf(T)>-1))throw"Source or target not in graph!";if(!(l.owner==T.owner&&l.owner==this))throw"Both owners must be this graph!";return l.owner!=T.owner?null:(v.source=l,v.target=T,v.isInterGraph=!1,this.getEdges().push(v),l.edges.push(v),T!=l&&T.edges.push(v),v)}},h.prototype.remove=function(c){var l=c;if(c instanceof e){if(l==null)throw"Node is null!";if(!(l.owner!=null&&l.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var T=l.edges.slice(),u,v=T.length,L=0;L-1&&P>-1))throw"Source and/or target doesn't know this edge!";u.source.edges.splice(A,1),u.target!=u.source&&u.target.edges.splice(P,1);var F=u.source.owner.getEdges().indexOf(u);if(F==-1)throw"Not in owner's edge list!";u.source.owner.getEdges().splice(F,1)}},h.prototype.updateLeftTop=function(){for(var c=s.MAX_VALUE,l=s.MAX_VALUE,T,u,v,L=this.getNodes(),F=L.length,A=0;AT&&(c=T),l>u&&(l=u)}return c==s.MAX_VALUE?null:(L[0].getParent().paddingLeft!=null?v=L[0].getParent().paddingLeft:v=this.margin,this.left=l-v,this.top=c-v,new y(this.left,this.top))},h.prototype.updateBounds=function(c){for(var l=s.MAX_VALUE,T=-s.MAX_VALUE,u=s.MAX_VALUE,v=-s.MAX_VALUE,L,F,A,P,J,V=this.nodes,Q=V.length,D=0;DL&&(l=L),TA&&(u=A),vL&&(l=L),TA&&(u=A),v=this.nodes.length){var Q=0;T.forEach(function(D){D.owner==c&&Q++}),Q==this.nodes.length&&(this.isConnected=!0)}},C.exports=h},function(C,G,N){var g,s=N(1);function i(r){g=N(6),this.layout=r,this.graphs=[],this.edges=[]}i.prototype.addRoot=function(){var r=this.layout.newGraph(),e=this.layout.newNode(null),f=this.add(r,e);return this.setRootGraph(f),this.rootGraph},i.prototype.add=function(r,e,f,a,y){if(f==null&&a==null&&y==null){if(r==null)throw"Graph is null!";if(e==null)throw"Parent node is null!";if(this.graphs.indexOf(r)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(r),r.parent!=null)throw"Already has a parent!";if(e.child!=null)throw"Already has a child!";return r.parent=e,e.child=r,r}else{y=f,a=e,f=r;var t=a.getOwner(),h=y.getOwner();if(!(t!=null&&t.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(h!=null&&h.getGraphManager()==this))throw"Target not in this graph mgr!";if(t==h)return f.isInterGraph=!1,t.add(f,a,y);if(f.isInterGraph=!0,f.source=a,f.target=y,this.edges.indexOf(f)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(f),!(f.source!=null&&f.target!=null))throw"Edge source and/or target is null!";if(!(f.source.edges.indexOf(f)==-1&&f.target.edges.indexOf(f)==-1))throw"Edge already in source and/or target incidency list!";return f.source.edges.push(f),f.target.edges.push(f),f}},i.prototype.remove=function(r){if(r instanceof g){var e=r;if(e.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(e==this.rootGraph||e.parent!=null&&e.parent.graphManager==this))throw"Invalid parent node!";var f=[];f=f.concat(e.getEdges());for(var a,y=f.length,t=0;t=r.getRight()?e[0]+=Math.min(r.getX()-i.getX(),i.getRight()-r.getRight()):r.getX()<=i.getX()&&r.getRight()>=i.getRight()&&(e[0]+=Math.min(i.getX()-r.getX(),r.getRight()-i.getRight())),i.getY()<=r.getY()&&i.getBottom()>=r.getBottom()?e[1]+=Math.min(r.getY()-i.getY(),i.getBottom()-r.getBottom()):r.getY()<=i.getY()&&r.getBottom()>=i.getBottom()&&(e[1]+=Math.min(i.getY()-r.getY(),r.getBottom()-i.getBottom()));var y=Math.abs((r.getCenterY()-i.getCenterY())/(r.getCenterX()-i.getCenterX()));r.getCenterY()===i.getCenterY()&&r.getCenterX()===i.getCenterX()&&(y=1);var t=y*e[0],h=e[1]/y;e[0]t)return e[0]=f,e[1]=o,e[2]=y,e[3]=V,!1;if(ay)return e[0]=h,e[1]=a,e[2]=P,e[3]=t,!1;if(fy?(e[0]=l,e[1]=T,n=!0):(e[0]=c,e[1]=o,n=!0):d===p&&(f>y?(e[0]=h,e[1]=o,n=!0):(e[0]=u,e[1]=T,n=!0)),-E===p?y>f?(e[2]=J,e[3]=V,m=!0):(e[2]=P,e[3]=A,m=!0):E===p&&(y>f?(e[2]=F,e[3]=A,m=!0):(e[2]=Q,e[3]=V,m=!0)),n&&m)return!1;if(f>y?a>t?(I=this.getCardinalDirection(d,p,4),w=this.getCardinalDirection(E,p,2)):(I=this.getCardinalDirection(-d,p,3),w=this.getCardinalDirection(-E,p,1)):a>t?(I=this.getCardinalDirection(-d,p,1),w=this.getCardinalDirection(-E,p,3)):(I=this.getCardinalDirection(d,p,2),w=this.getCardinalDirection(E,p,4)),!n)switch(I){case 1:H=o,R=f+-L/p,e[0]=R,e[1]=H;break;case 2:R=u,H=a+v*p,e[0]=R,e[1]=H;break;case 3:H=T,R=f+L/p,e[0]=R,e[1]=H;break;case 4:R=l,H=a+-v*p,e[0]=R,e[1]=H;break}if(!m)switch(w){case 1:k=A,x=y+-rt/p,e[2]=x,e[3]=k;break;case 2:x=Q,k=t+D*p,e[2]=x,e[3]=k;break;case 3:k=V,x=y+rt/p,e[2]=x,e[3]=k;break;case 4:x=J,k=t+-D*p,e[2]=x,e[3]=k;break}}return!1},s.getCardinalDirection=function(i,r,e){return i>r?e:1+e%4},s.getIntersection=function(i,r,e,f){if(f==null)return this.getIntersection2(i,r,e);var a=i.x,y=i.y,t=r.x,h=r.y,o=e.x,c=e.y,l=f.x,T=f.y,u=void 0,v=void 0,L=void 0,F=void 0,A=void 0,P=void 0,J=void 0,V=void 0,Q=void 0;return L=h-y,A=a-t,J=t*y-a*h,F=T-c,P=o-l,V=l*c-o*T,Q=L*P-F*A,Q===0?null:(u=(A*V-P*J)/Q,v=(F*J-L*V)/Q,new g(u,v))},s.angleOfVector=function(i,r,e,f){var a=void 0;return i!==e?(a=Math.atan((f-r)/(e-i)),e=0){var T=(-o+Math.sqrt(o*o-4*h*c))/(2*h),u=(-o-Math.sqrt(o*o-4*h*c))/(2*h),v=null;return T>=0&&T<=1?[T]:u>=0&&u<=1?[u]:v}else return null},s.HALF_PI=.5*Math.PI,s.ONE_AND_HALF_PI=1.5*Math.PI,s.TWO_PI=2*Math.PI,s.THREE_PI=3*Math.PI,C.exports=s},function(C,G,N){function g(){}g.sign=function(s){return s>0?1:s<0?-1:0},g.floor=function(s){return s<0?Math.ceil(s):Math.floor(s)},g.ceil=function(s){return s<0?Math.floor(s):Math.ceil(s)},C.exports=g},function(C,G,N){function g(){}g.MAX_VALUE=2147483647,g.MIN_VALUE=-2147483648,C.exports=g},function(C,G,N){var g=function(){function a(y,t){for(var h=0;h"u"?"undefined":g(i);return i==null||r!="object"&&r!="function"},C.exports=s},function(C,G,N){function g(o){if(Array.isArray(o)){for(var c=0,l=Array(o.length);c0&&c;){for(L.push(A[0]);L.length>0&&c;){var P=L[0];L.splice(0,1),v.add(P);for(var J=P.getEdges(),u=0;u-1&&A.splice(rt,1)}v=new Set,F=new Map}}return o},h.prototype.createDummyNodesForBendpoints=function(o){for(var c=[],l=o.source,T=this.graphManager.calcLowestCommonAncestor(o.source,o.target),u=0;u0){for(var T=this.edgeToDummyNodes.get(l),u=0;u=0&&c.splice(V,1);var Q=F.getNeighborsList();Q.forEach(function(n){if(l.indexOf(n)<0){var m=T.get(n),d=m-1;d==1&&P.push(n),T.set(n,d)}})}l=l.concat(P),(c.length==1||c.length==2)&&(u=!0,v=c[0])}return v},h.prototype.setGraphManager=function(o){this.graphManager=o},C.exports=h},function(C,G,N){function g(){}g.seed=1,g.x=0,g.nextDouble=function(){return g.x=Math.sin(g.seed++)*1e4,g.x-Math.floor(g.x)},C.exports=g},function(C,G,N){var g=N(5);function s(i,r){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}s.prototype.getWorldOrgX=function(){return this.lworldOrgX},s.prototype.setWorldOrgX=function(i){this.lworldOrgX=i},s.prototype.getWorldOrgY=function(){return this.lworldOrgY},s.prototype.setWorldOrgY=function(i){this.lworldOrgY=i},s.prototype.getWorldExtX=function(){return this.lworldExtX},s.prototype.setWorldExtX=function(i){this.lworldExtX=i},s.prototype.getWorldExtY=function(){return this.lworldExtY},s.prototype.setWorldExtY=function(i){this.lworldExtY=i},s.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},s.prototype.setDeviceOrgX=function(i){this.ldeviceOrgX=i},s.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},s.prototype.setDeviceOrgY=function(i){this.ldeviceOrgY=i},s.prototype.getDeviceExtX=function(){return this.ldeviceExtX},s.prototype.setDeviceExtX=function(i){this.ldeviceExtX=i},s.prototype.getDeviceExtY=function(){return this.ldeviceExtY},s.prototype.setDeviceExtY=function(i){this.ldeviceExtY=i},s.prototype.transformX=function(i){var r=0,e=this.lworldExtX;return e!=0&&(r=this.ldeviceOrgX+(i-this.lworldOrgX)*this.ldeviceExtX/e),r},s.prototype.transformY=function(i){var r=0,e=this.lworldExtY;return e!=0&&(r=this.ldeviceOrgY+(i-this.lworldOrgY)*this.ldeviceExtY/e),r},s.prototype.inverseTransformX=function(i){var r=0,e=this.ldeviceExtX;return e!=0&&(r=this.lworldOrgX+(i-this.ldeviceOrgX)*this.lworldExtX/e),r},s.prototype.inverseTransformY=function(i){var r=0,e=this.ldeviceExtY;return e!=0&&(r=this.lworldOrgY+(i-this.ldeviceOrgY)*this.lworldExtY/e),r},s.prototype.inverseTransformPoint=function(i){var r=new g(this.inverseTransformX(i.x),this.inverseTransformY(i.y));return r},C.exports=s},function(C,G,N){function g(t){if(Array.isArray(t)){for(var h=0,o=Array(t.length);hi.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*i.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-i.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>i.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(i.COOLING_ADAPTATION_FACTOR,1-(t-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*(1-i.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.displacementThresholdPerNode=3*i.DEFAULT_EDGE_LENGTH/100,this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},a.prototype.calcSpringForces=function(){for(var t=this.getAllEdges(),h,o=0;o0&&arguments[0]!==void 0?arguments[0]:!0,h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o,c,l,T,u=this.getAllNodes(),v;if(this.useFRGridVariant)for(this.totalIterations%i.GRID_CALCULATION_CHECK_PERIOD==1&&t&&this.updateGrid(),v=new Set,o=0;oL||v>L)&&(t.gravitationForceX=-this.gravityConstant*l,t.gravitationForceY=-this.gravityConstant*T)):(L=h.getEstimatedSize()*this.compoundGravityRangeFactor,(u>L||v>L)&&(t.gravitationForceX=-this.gravityConstant*l*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*T*this.compoundGravityConstant))},a.prototype.isConverged=function(){var t,h=!1;return this.totalIterations>this.maxIterations/3&&(h=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),t=this.totalDisplacement=u.length||L>=u[0].length)){for(var F=0;Fa}}]),e}();C.exports=r},function(C,G,N){function g(){}g.svd=function(s){this.U=null,this.V=null,this.s=null,this.m=0,this.n=0,this.m=s.length,this.n=s[0].length;var i=Math.min(this.m,this.n);this.s=function(Nt){for(var At=[];Nt-- >0;)At.push(0);return At}(Math.min(this.m+1,this.n)),this.U=function(Nt){var At=function Zt(Gt){if(Gt.length==0)return 0;for(var $t=[],Ft=0;Ft0;)At.push(0);return At}(this.n),e=function(Nt){for(var At=[];Nt-- >0;)At.push(0);return At}(this.m),f=!0,a=Math.min(this.m-1,this.n),y=Math.max(0,Math.min(this.n-2,this.m)),t=0;t=0;E--)if(this.s[E]!==0){for(var p=E+1;p=0;W--){if(function(Nt,At){return Nt&&At}(W0;){var q=void 0,Rt=void 0;for(q=n-2;q>=-1&&q!==-1;q--)if(Math.abs(r[q])<=lt+_*(Math.abs(this.s[q])+Math.abs(this.s[q+1]))){r[q]=0;break}if(q===n-2)Rt=4;else{var Lt=void 0;for(Lt=n-1;Lt>=q&&Lt!==q;Lt--){var dt=(Lt!==n?Math.abs(r[Lt]):0)+(Lt!==q+1?Math.abs(r[Lt-1]):0);if(Math.abs(this.s[Lt])<=lt+_*dt){this.s[Lt]=0;break}}Lt===q?Rt=3:Lt===n-1?Rt=1:(Rt=2,q=Lt)}switch(q++,Rt){case 1:{var it=r[n-2];r[n-2]=0;for(var ut=n-2;ut>=q;ut--){var Tt=g.hypot(this.s[ut],it),Ct=this.s[ut]/Tt,Dt=it/Tt;this.s[ut]=Tt,ut!==q&&(it=-Dt*r[ut-1],r[ut-1]=Ct*r[ut-1]);for(var mt=0;mt=this.s[q+1]);){var Mt=this.s[q];if(this.s[q]=this.s[q+1],this.s[q+1]=Mt,qMath.abs(i)?(r=i/s,r=Math.abs(s)*Math.sqrt(1+r*r)):i!=0?(r=s/i,r=Math.abs(i)*Math.sqrt(1+r*r)):r=0,r},C.exports=g},function(C,G,N){var g=function(){function r(e,f){for(var a=0;a2&&arguments[2]!==void 0?arguments[2]:1,y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,t=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;s(this,r),this.sequence1=e,this.sequence2=f,this.match_score=a,this.mismatch_penalty=y,this.gap_penalty=t,this.iMax=e.length+1,this.jMax=f.length+1,this.grid=new Array(this.iMax);for(var h=0;h=0;e--){var f=this.listeners[e];f.event===i&&f.callback===r&&this.listeners.splice(e,1)}},s.emit=function(i,r){for(var e=0;e{var G={45:(i,r,e)=>{var f={};f.layoutBase=e(551),f.CoSEConstants=e(806),f.CoSEEdge=e(767),f.CoSEGraph=e(880),f.CoSEGraphManager=e(578),f.CoSELayout=e(765),f.CoSENode=e(991),f.ConstraintHandler=e(902),i.exports=f},806:(i,r,e)=>{var f=e(551).FDLayoutConstants;function a(){}for(var y in f)a[y]=f[y];a.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,a.DEFAULT_RADIAL_SEPARATION=f.DEFAULT_EDGE_LENGTH,a.DEFAULT_COMPONENT_SEPERATION=60,a.TILE=!0,a.TILING_PADDING_VERTICAL=10,a.TILING_PADDING_HORIZONTAL=10,a.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,a.ENFORCE_CONSTRAINTS=!0,a.APPLY_LAYOUT=!0,a.RELAX_MOVEMENT_ON_CONSTRAINTS=!0,a.TREE_REDUCTION_ON_INCREMENTAL=!0,a.PURE_INCREMENTAL=a.DEFAULT_INCREMENTAL,i.exports=a},767:(i,r,e)=>{var f=e(551).FDLayoutEdge;function a(t,h,o){f.call(this,t,h,o)}a.prototype=Object.create(f.prototype);for(var y in f)a[y]=f[y];i.exports=a},880:(i,r,e)=>{var f=e(551).LGraph;function a(t,h,o){f.call(this,t,h,o)}a.prototype=Object.create(f.prototype);for(var y in f)a[y]=f[y];i.exports=a},578:(i,r,e)=>{var f=e(551).LGraphManager;function a(t){f.call(this,t)}a.prototype=Object.create(f.prototype);for(var y in f)a[y]=f[y];i.exports=a},765:(i,r,e)=>{var f=e(551).FDLayout,a=e(578),y=e(880),t=e(991),h=e(767),o=e(806),c=e(902),l=e(551).FDLayoutConstants,T=e(551).LayoutConstants,u=e(551).Point,v=e(551).PointD,L=e(551).DimensionD,F=e(551).Layout,A=e(551).Integer,P=e(551).IGeometry,J=e(551).LGraph,V=e(551).Transform,Q=e(551).LinkedList;function D(){f.call(this),this.toBeTiled={},this.constraints={}}D.prototype=Object.create(f.prototype);for(var rt in f)D[rt]=f[rt];D.prototype.newGraphManager=function(){var n=new a(this);return this.graphManager=n,n},D.prototype.newGraph=function(n){return new y(null,this.graphManager,n)},D.prototype.newNode=function(n){return new t(this.graphManager,n)},D.prototype.newEdge=function(n){return new h(null,null,n)},D.prototype.initParameters=function(){f.prototype.initParameters.call(this,arguments),this.isSubLayout||(o.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=o.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=o.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=l.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=l.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=l.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1)},D.prototype.initSpringEmbedder=function(){f.prototype.initSpringEmbedder.call(this),this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/l.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=.04,this.coolingAdjuster=1},D.prototype.layout=function(){var n=T.DEFAULT_CREATE_BENDS_AS_NEEDED;return n&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},D.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(o.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var m=new Set(this.getAllNodes()),d=this.nodesWithGravity.filter(function(I){return m.has(I)});this.graphManager.setAllNodesToApplyGravitation(d)}}else{var n=this.getFlatForest();if(n.length>0)this.positionNodesRadially(n);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var m=new Set(this.getAllNodes()),d=this.nodesWithGravity.filter(function(E){return m.has(E)});this.graphManager.setAllNodesToApplyGravitation(d),this.positionNodesRandomly()}}return Object.keys(this.constraints).length>0&&(c.handleConstraints(this),this.initConstraintVariables()),this.initSpringEmbedder(),o.APPLY_LAYOUT&&this.runSpringEmbedder(),!0},D.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%l.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var n=new Set(this.getAllNodes()),m=this.nodesWithGravity.filter(function(p){return n.has(p)});this.graphManager.setAllNodesToApplyGravitation(m),this.graphManager.updateBounds(),this.updateGrid(),o.PURE_INCREMENTAL?this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL/2:this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),o.PURE_INCREMENTAL?this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL/2*((100-this.afterGrowthIterations)/100):this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var d=!this.isTreeGrowing&&!this.isGrowthFinished,E=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(d,E),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},D.prototype.getPositionsData=function(){for(var n=this.graphManager.getAllNodes(),m={},d=0;d0&&this.updateDisplacements();for(var d=0;d0&&(E.fixedNodeWeight=I)}}if(this.constraints.relativePlacementConstraint){var w=new Map,R=new Map;if(this.dummyToNodeForVerticalAlignment=new Map,this.dummyToNodeForHorizontalAlignment=new Map,this.fixedNodesOnHorizontal=new Set,this.fixedNodesOnVertical=new Set,this.fixedNodeSet.forEach(function(O){n.fixedNodesOnHorizontal.add(O),n.fixedNodesOnVertical.add(O)}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var H=this.constraints.alignmentConstraint.vertical,d=0;d=2*O.length/3;_--)X=Math.floor(Math.random()*(_+1)),B=O[_],O[_]=O[X],O[X]=B;return O},this.nodesInRelativeHorizontal=[],this.nodesInRelativeVertical=[],this.nodeToRelativeConstraintMapHorizontal=new Map,this.nodeToRelativeConstraintMapVertical=new Map,this.nodeToTempPositionMapHorizontal=new Map,this.nodeToTempPositionMapVertical=new Map,this.constraints.relativePlacementConstraint.forEach(function(O){if(O.left){var X=w.has(O.left)?w.get(O.left):O.left,B=w.has(O.right)?w.get(O.right):O.right;n.nodesInRelativeHorizontal.includes(X)||(n.nodesInRelativeHorizontal.push(X),n.nodeToRelativeConstraintMapHorizontal.set(X,[]),n.dummyToNodeForVerticalAlignment.has(X)?n.nodeToTempPositionMapHorizontal.set(X,n.idToNodeMap.get(n.dummyToNodeForVerticalAlignment.get(X)[0]).getCenterX()):n.nodeToTempPositionMapHorizontal.set(X,n.idToNodeMap.get(X).getCenterX())),n.nodesInRelativeHorizontal.includes(B)||(n.nodesInRelativeHorizontal.push(B),n.nodeToRelativeConstraintMapHorizontal.set(B,[]),n.dummyToNodeForVerticalAlignment.has(B)?n.nodeToTempPositionMapHorizontal.set(B,n.idToNodeMap.get(n.dummyToNodeForVerticalAlignment.get(B)[0]).getCenterX()):n.nodeToTempPositionMapHorizontal.set(B,n.idToNodeMap.get(B).getCenterX())),n.nodeToRelativeConstraintMapHorizontal.get(X).push({right:B,gap:O.gap}),n.nodeToRelativeConstraintMapHorizontal.get(B).push({left:X,gap:O.gap})}else{var _=R.has(O.top)?R.get(O.top):O.top,lt=R.has(O.bottom)?R.get(O.bottom):O.bottom;n.nodesInRelativeVertical.includes(_)||(n.nodesInRelativeVertical.push(_),n.nodeToRelativeConstraintMapVertical.set(_,[]),n.dummyToNodeForHorizontalAlignment.has(_)?n.nodeToTempPositionMapVertical.set(_,n.idToNodeMap.get(n.dummyToNodeForHorizontalAlignment.get(_)[0]).getCenterY()):n.nodeToTempPositionMapVertical.set(_,n.idToNodeMap.get(_).getCenterY())),n.nodesInRelativeVertical.includes(lt)||(n.nodesInRelativeVertical.push(lt),n.nodeToRelativeConstraintMapVertical.set(lt,[]),n.dummyToNodeForHorizontalAlignment.has(lt)?n.nodeToTempPositionMapVertical.set(lt,n.idToNodeMap.get(n.dummyToNodeForHorizontalAlignment.get(lt)[0]).getCenterY()):n.nodeToTempPositionMapVertical.set(lt,n.idToNodeMap.get(lt).getCenterY())),n.nodeToRelativeConstraintMapVertical.get(_).push({bottom:lt,gap:O.gap}),n.nodeToRelativeConstraintMapVertical.get(lt).push({top:_,gap:O.gap})}});else{var k=new Map,W=new Map;this.constraints.relativePlacementConstraint.forEach(function(O){if(O.left){var X=w.has(O.left)?w.get(O.left):O.left,B=w.has(O.right)?w.get(O.right):O.right;k.has(X)?k.get(X).push(B):k.set(X,[B]),k.has(B)?k.get(B).push(X):k.set(B,[X])}else{var _=R.has(O.top)?R.get(O.top):O.top,lt=R.has(O.bottom)?R.get(O.bottom):O.bottom;W.has(_)?W.get(_).push(lt):W.set(_,[lt]),W.has(lt)?W.get(lt).push(_):W.set(lt,[_])}});var U=function(X,B){var _=[],lt=[],q=new Q,Rt=new Set,Lt=0;return X.forEach(function(dt,it){if(!Rt.has(it)){_[Lt]=[],lt[Lt]=!1;var ut=it;for(q.push(ut),Rt.add(ut),_[Lt].push(ut);q.length!=0;){ut=q.shift(),B.has(ut)&&(lt[Lt]=!0);var Tt=X.get(ut);Tt.forEach(function(Ct){Rt.has(Ct)||(q.push(Ct),Rt.add(Ct),_[Lt].push(Ct))})}Lt++}}),{components:_,isFixed:lt}},et=U(k,n.fixedNodesOnHorizontal);this.componentsOnHorizontal=et.components,this.fixedComponentsOnHorizontal=et.isFixed;var z=U(W,n.fixedNodesOnVertical);this.componentsOnVertical=z.components,this.fixedComponentsOnVertical=z.isFixed}}},D.prototype.updateDisplacements=function(){var n=this;if(this.constraints.fixedNodeConstraint&&this.constraints.fixedNodeConstraint.forEach(function(z){var O=n.idToNodeMap.get(z.nodeId);O.displacementX=0,O.displacementY=0}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var m=this.constraints.alignmentConstraint.vertical,d=0;d1){var R;for(R=0;RE&&(E=Math.floor(w.y)),I=Math.floor(w.x+o.DEFAULT_COMPONENT_SEPERATION)}this.transform(new v(T.WORLD_CENTER_X-w.x/2,T.WORLD_CENTER_Y-w.y/2))},D.radialLayout=function(n,m,d){var E=Math.max(this.maxDiagonalInTree(n),o.DEFAULT_RADIAL_SEPARATION);D.branchRadialLayout(m,null,0,359,0,E);var p=J.calculateBounds(n),I=new V;I.setDeviceOrgX(p.getMinX()),I.setDeviceOrgY(p.getMinY()),I.setWorldOrgX(d.x),I.setWorldOrgY(d.y);for(var w=0;w1;){var B=X[0];X.splice(0,1);var _=W.indexOf(B);_>=0&&W.splice(_,1),z--,U--}m!=null?O=(W.indexOf(X[0])+1)%z:O=0;for(var lt=Math.abs(E-d)/U,q=O;et!=U;q=++q%z){var Rt=W[q].getOtherEnd(n);if(Rt!=m){var Lt=(d+et*lt)%360,dt=(Lt+lt)%360;D.branchRadialLayout(Rt,n,Lt,dt,p+I,I),et++}}},D.maxDiagonalInTree=function(n){for(var m=A.MIN_VALUE,d=0;dm&&(m=p)}return m},D.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},D.prototype.groupZeroDegreeMembers=function(){var n=this,m={};this.memberGroups={},this.idToDummyNode={};for(var d=[],E=this.graphManager.getAllNodes(),p=0;p"u"&&(m[R]=[]),m[R]=m[R].concat(I)}Object.keys(m).forEach(function(H){if(m[H].length>1){var x="DummyCompound_"+H;n.memberGroups[x]=m[H];var k=m[H][0].getParent(),W=new t(n.graphManager);W.id=x,W.paddingLeft=k.paddingLeft||0,W.paddingRight=k.paddingRight||0,W.paddingBottom=k.paddingBottom||0,W.paddingTop=k.paddingTop||0,n.idToDummyNode[x]=W;var U=n.getGraphManager().add(n.newGraph(),W),et=k.getChild();et.add(W);for(var z=0;zp?(E.rect.x-=(E.labelWidth-p)/2,E.setWidth(E.labelWidth),E.labelMarginLeft=(E.labelWidth-p)/2):E.labelPosHorizontal=="right"&&E.setWidth(p+E.labelWidth)),E.labelHeight&&(E.labelPosVertical=="top"?(E.rect.y-=E.labelHeight,E.setHeight(I+E.labelHeight),E.labelMarginTop=E.labelHeight):E.labelPosVertical=="center"&&E.labelHeight>I?(E.rect.y-=(E.labelHeight-I)/2,E.setHeight(E.labelHeight),E.labelMarginTop=(E.labelHeight-I)/2):E.labelPosVertical=="bottom"&&E.setHeight(I+E.labelHeight))}})},D.prototype.repopulateCompounds=function(){for(var n=this.compoundOrder.length-1;n>=0;n--){var m=this.compoundOrder[n],d=m.id,E=m.paddingLeft,p=m.paddingTop,I=m.labelMarginLeft,w=m.labelMarginTop;this.adjustLocations(this.tiledMemberPack[d],m.rect.x,m.rect.y,E,p,I,w)}},D.prototype.repopulateZeroDegreeMembers=function(){var n=this,m=this.tiledZeroDegreePack;Object.keys(m).forEach(function(d){var E=n.idToDummyNode[d],p=E.paddingLeft,I=E.paddingTop,w=E.labelMarginLeft,R=E.labelMarginTop;n.adjustLocations(m[d],E.rect.x,E.rect.y,p,I,w,R)})},D.prototype.getToBeTiled=function(n){var m=n.id;if(this.toBeTiled[m]!=null)return this.toBeTiled[m];var d=n.getChild();if(d==null)return this.toBeTiled[m]=!1,!1;for(var E=d.getNodes(),p=0;p0)return this.toBeTiled[m]=!1,!1;if(I.getChild()==null){this.toBeTiled[I.id]=!1;continue}if(!this.getToBeTiled(I))return this.toBeTiled[m]=!1,!1}return this.toBeTiled[m]=!0,!0},D.prototype.getNodeDegree=function(n){n.id;for(var m=n.getEdges(),d=0,E=0;Ek&&(k=U.rect.height)}d+=k+n.verticalPadding}},D.prototype.tileCompoundMembers=function(n,m){var d=this;this.tiledMemberPack=[],Object.keys(n).forEach(function(E){var p=m[E];if(d.tiledMemberPack[E]=d.tileNodes(n[E],p.paddingLeft+p.paddingRight),p.rect.width=d.tiledMemberPack[E].width,p.rect.height=d.tiledMemberPack[E].height,p.setCenter(d.tiledMemberPack[E].centerX,d.tiledMemberPack[E].centerY),p.labelMarginLeft=0,p.labelMarginTop=0,o.NODE_DIMENSIONS_INCLUDE_LABELS){var I=p.rect.width,w=p.rect.height;p.labelWidth&&(p.labelPosHorizontal=="left"?(p.rect.x-=p.labelWidth,p.setWidth(I+p.labelWidth),p.labelMarginLeft=p.labelWidth):p.labelPosHorizontal=="center"&&p.labelWidth>I?(p.rect.x-=(p.labelWidth-I)/2,p.setWidth(p.labelWidth),p.labelMarginLeft=(p.labelWidth-I)/2):p.labelPosHorizontal=="right"&&p.setWidth(I+p.labelWidth)),p.labelHeight&&(p.labelPosVertical=="top"?(p.rect.y-=p.labelHeight,p.setHeight(w+p.labelHeight),p.labelMarginTop=p.labelHeight):p.labelPosVertical=="center"&&p.labelHeight>w?(p.rect.y-=(p.labelHeight-w)/2,p.setHeight(p.labelHeight),p.labelMarginTop=(p.labelHeight-w)/2):p.labelPosVertical=="bottom"&&p.setHeight(w+p.labelHeight))}})},D.prototype.tileNodes=function(n,m){var d=this.tileNodesByFavoringDim(n,m,!0),E=this.tileNodesByFavoringDim(n,m,!1),p=this.getOrgRatio(d),I=this.getOrgRatio(E),w;return IR&&(R=z.getWidth())});var H=I/p,x=w/p,k=Math.pow(d-E,2)+4*(H+E)*(x+d)*p,W=(E-d+Math.sqrt(k))/(2*(H+E)),U;m?(U=Math.ceil(W),U==W&&U++):U=Math.floor(W);var et=U*(H+E)-E;return R>et&&(et=R),et+=E*2,et},D.prototype.tileNodesByFavoringDim=function(n,m,d){var E=o.TILING_PADDING_VERTICAL,p=o.TILING_PADDING_HORIZONTAL,I=o.TILING_COMPARE_BY,w={rows:[],rowWidth:[],rowHeight:[],width:0,height:m,verticalPadding:E,horizontalPadding:p,centerX:0,centerY:0};I&&(w.idealRowWidth=this.calcIdealRowWidth(n,d));var R=function(O){return O.rect.width*O.rect.height},H=function(O,X){return R(X)-R(O)};n.sort(function(z,O){var X=H;return w.idealRowWidth?(X=I,X(z.id,O.id)):X(z,O)});for(var x=0,k=0,W=0;W0&&(w+=n.horizontalPadding),n.rowWidth[d]=w,n.width0&&(R+=n.verticalPadding);var H=0;R>n.rowHeight[d]&&(H=n.rowHeight[d],n.rowHeight[d]=R,H=n.rowHeight[d]-H),n.height+=H,n.rows[d].push(m)},D.prototype.getShortestRowIndex=function(n){for(var m=-1,d=Number.MAX_VALUE,E=0;Ed&&(m=E,d=n.rowWidth[E]);return m},D.prototype.canAddHorizontal=function(n,m,d){if(n.idealRowWidth){var E=n.rows.length-1,p=n.rowWidth[E];return p+m+n.horizontalPadding<=n.idealRowWidth}var I=this.getShortestRowIndex(n);if(I<0)return!0;var w=n.rowWidth[I];if(w+n.horizontalPadding+m<=n.width)return!0;var R=0;n.rowHeight[I]0&&(R=d+n.verticalPadding-n.rowHeight[I]);var H;n.width-w>=m+n.horizontalPadding?H=(n.height+R)/(w+m+n.horizontalPadding):H=(n.height+R)/n.width,R=d+n.verticalPadding;var x;return n.widthI&&m!=d){E.splice(-1,1),n.rows[d].push(p),n.rowWidth[m]=n.rowWidth[m]-I,n.rowWidth[d]=n.rowWidth[d]+I,n.width=n.rowWidth[instance.getLongestRowIndex(n)];for(var w=Number.MIN_VALUE,R=0;Rw&&(w=E[R].height);m>0&&(w+=n.verticalPadding);var H=n.rowHeight[m]+n.rowHeight[d];n.rowHeight[m]=w,n.rowHeight[d]0)for(var et=p;et<=I;et++)U[0]+=this.grid[et][w-1].length+this.grid[et][w].length-1;if(I0)for(var et=w;et<=R;et++)U[3]+=this.grid[p-1][et].length+this.grid[p][et].length-1;for(var z=A.MAX_VALUE,O,X,B=0;B{var f=e(551).FDLayoutNode,a=e(551).IMath;function y(h,o,c,l){f.call(this,h,o,c,l)}y.prototype=Object.create(f.prototype);for(var t in f)y[t]=f[t];y.prototype.calculateDisplacement=function(){var h=this.graphManager.getLayout();this.getChild()!=null&&this.fixedNodeWeight?(this.displacementX+=h.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.fixedNodeWeight,this.displacementY+=h.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.fixedNodeWeight):(this.displacementX+=h.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY+=h.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren),Math.abs(this.displacementX)>h.coolingFactor*h.maxNodeDisplacement&&(this.displacementX=h.coolingFactor*h.maxNodeDisplacement*a.sign(this.displacementX)),Math.abs(this.displacementY)>h.coolingFactor*h.maxNodeDisplacement&&(this.displacementY=h.coolingFactor*h.maxNodeDisplacement*a.sign(this.displacementY)),this.child&&this.child.getNodes().length>0&&this.propogateDisplacementToChildren(this.displacementX,this.displacementY)},y.prototype.propogateDisplacementToChildren=function(h,o){for(var c=this.getChild().getNodes(),l,T=0;T{function f(c){if(Array.isArray(c)){for(var l=0,T=Array(c.length);l0){var Mt=0;st.forEach(function(ht){$=="horizontal"?(tt.set(ht,u.has(ht)?v[u.get(ht)]:Z.get(ht)),Mt+=tt.get(ht)):(tt.set(ht,u.has(ht)?L[u.get(ht)]:Z.get(ht)),Mt+=tt.get(ht))}),Mt=Mt/st.length,ft.forEach(function(ht){K.has(ht)||tt.set(ht,Mt)})}else{var ct=0;ft.forEach(function(ht){$=="horizontal"?ct+=u.has(ht)?v[u.get(ht)]:Z.get(ht):ct+=u.has(ht)?L[u.get(ht)]:Z.get(ht)}),ct=ct/ft.length,ft.forEach(function(ht){tt.set(ht,ct)})}});for(var wt=function(){var st=vt.shift(),Mt=b.get(st);Mt.forEach(function(ct){if(tt.get(ct.id)ht&&(ht=qt),_tWt&&(Wt=_t)}}catch(ie){At=!0,Zt=ie}finally{try{!Nt&&Gt.return&&Gt.return()}finally{if(At)throw Zt}}var ce=(Mt+ht)/2-(ct+Wt)/2,Kt=!0,te=!1,ee=void 0;try{for(var jt=ft[Symbol.iterator](),se;!(Kt=(se=jt.next()).done);Kt=!0){var re=se.value;tt.set(re,tt.get(re)+ce)}}catch(ie){te=!0,ee=ie}finally{try{!Kt&&jt.return&&jt.return()}finally{if(te)throw ee}}})}return tt},rt=function(b){var $=0,K=0,Z=0,at=0;if(b.forEach(function(j){j.left?v[u.get(j.left)]-v[u.get(j.right)]>=0?$++:K++:L[u.get(j.top)]-L[u.get(j.bottom)]>=0?Z++:at++}),$>K&&Z>at)for(var gt=0;gtK)for(var ot=0;otat)for(var tt=0;tt1)l.fixedNodeConstraint.forEach(function(S,b){E[b]=[S.position.x,S.position.y],p[b]=[v[u.get(S.nodeId)],L[u.get(S.nodeId)]]}),I=!0;else if(l.alignmentConstraint)(function(){var S=0;if(l.alignmentConstraint.vertical){for(var b=l.alignmentConstraint.vertical,$=function(tt){var j=new Set;b[tt].forEach(function(yt){j.add(yt)});var vt=new Set([].concat(f(j)).filter(function(yt){return R.has(yt)})),wt=void 0;vt.size>0?wt=v[u.get(vt.values().next().value)]:wt=Q(j).x,b[tt].forEach(function(yt){E[S]=[wt,L[u.get(yt)]],p[S]=[v[u.get(yt)],L[u.get(yt)]],S++})},K=0;K0?wt=v[u.get(vt.values().next().value)]:wt=Q(j).y,Z[tt].forEach(function(yt){E[S]=[v[u.get(yt)],wt],p[S]=[v[u.get(yt)],L[u.get(yt)]],S++})},gt=0;gtW&&(W=k[et].length,U=et);if(W0){var mt={x:0,y:0};l.fixedNodeConstraint.forEach(function(S,b){var $={x:v[u.get(S.nodeId)],y:L[u.get(S.nodeId)]},K=S.position,Z=V(K,$);mt.x+=Z.x,mt.y+=Z.y}),mt.x/=l.fixedNodeConstraint.length,mt.y/=l.fixedNodeConstraint.length,v.forEach(function(S,b){v[b]+=mt.x}),L.forEach(function(S,b){L[b]+=mt.y}),l.fixedNodeConstraint.forEach(function(S){v[u.get(S.nodeId)]=S.position.x,L[u.get(S.nodeId)]=S.position.y})}if(l.alignmentConstraint){if(l.alignmentConstraint.vertical)for(var xt=l.alignmentConstraint.vertical,St=function(b){var $=new Set;xt[b].forEach(function(at){$.add(at)});var K=new Set([].concat(f($)).filter(function(at){return R.has(at)})),Z=void 0;K.size>0?Z=v[u.get(K.values().next().value)]:Z=Q($).x,$.forEach(function(at){R.has(at)||(v[u.get(at)]=Z)})},Vt=0;Vt0?Z=L[u.get(K.values().next().value)]:Z=Q($).y,$.forEach(function(at){R.has(at)||(L[u.get(at)]=Z)})},bt=0;bt{i.exports=C}},N={};function g(i){var r=N[i];if(r!==void 0)return r.exports;var e=N[i]={exports:{}};return G[i](e,e.exports,g),e.exports}var s=g(45);return s})()})}(pe)),pe.exports}(function(M,Y){(function(G,N){M.exports=N(cr())})(Te,function(C){return(()=>{var G={658:i=>{i.exports=Object.assign!=null?Object.assign.bind(Object):function(r){for(var e=arguments.length,f=Array(e>1?e-1:0),a=1;a{var f=function(){function t(h,o){var c=[],l=!0,T=!1,u=void 0;try{for(var v=h[Symbol.iterator](),L;!(l=(L=v.next()).done)&&(c.push(L.value),!(o&&c.length===o));l=!0);}catch(F){T=!0,u=F}finally{try{!l&&v.return&&v.return()}finally{if(T)throw u}}return c}return function(h,o){if(Array.isArray(h))return h;if(Symbol.iterator in Object(h))return t(h,o);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=e(140).layoutBase.LinkedList,y={};y.getTopMostNodes=function(t){for(var h={},o=0;o0&&I.merge(x)});for(var w=0;w1){L=u[0],F=L.connectedEdges().length,u.forEach(function(p){p.connectedEdges().length0&&c.set("dummy"+(c.size+1),J),V},y.relocateComponent=function(t,h,o){if(!o.fixedNodeConstraint){var c=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY,T=Number.POSITIVE_INFINITY,u=Number.NEGATIVE_INFINITY;if(o.quality=="draft"){var v=!0,L=!1,F=void 0;try{for(var A=h.nodeIndexes[Symbol.iterator](),P;!(v=(P=A.next()).done);v=!0){var J=P.value,V=f(J,2),Q=V[0],D=V[1],rt=o.cy.getElementById(Q);if(rt){var n=rt.boundingBox(),m=h.xCoords[D]-n.w/2,d=h.xCoords[D]+n.w/2,E=h.yCoords[D]-n.h/2,p=h.yCoords[D]+n.h/2;ml&&(l=d),Eu&&(u=p)}}}catch(x){L=!0,F=x}finally{try{!v&&A.return&&A.return()}finally{if(L)throw F}}var I=t.x-(l+c)/2,w=t.y-(u+T)/2;h.xCoords=h.xCoords.map(function(x){return x+I}),h.yCoords=h.yCoords.map(function(x){return x+w})}else{Object.keys(h).forEach(function(x){var k=h[x],W=k.getRect().x,U=k.getRect().x+k.getRect().width,et=k.getRect().y,z=k.getRect().y+k.getRect().height;Wl&&(l=U),etu&&(u=z)});var R=t.x-(l+c)/2,H=t.y-(u+T)/2;Object.keys(h).forEach(function(x){var k=h[x];k.setCenter(k.getCenterX()+R,k.getCenterY()+H)})}}},y.calcBoundingBox=function(t,h,o,c){for(var l=Number.MAX_SAFE_INTEGER,T=Number.MIN_SAFE_INTEGER,u=Number.MAX_SAFE_INTEGER,v=Number.MIN_SAFE_INTEGER,L=void 0,F=void 0,A=void 0,P=void 0,J=t.descendants().not(":parent"),V=J.length,Q=0;QL&&(l=L),TA&&(u=A),v{var f=e(548),a=e(140).CoSELayout,y=e(140).CoSENode,t=e(140).layoutBase.PointD,h=e(140).layoutBase.DimensionD,o=e(140).layoutBase.LayoutConstants,c=e(140).layoutBase.FDLayoutConstants,l=e(140).CoSEConstants,T=function(v,L){var F=v.cy,A=v.eles,P=A.nodes(),J=A.edges(),V=void 0,Q=void 0,D=void 0,rt={};v.randomize&&(V=L.nodeIndexes,Q=L.xCoords,D=L.yCoords);var n=function(x){return typeof x=="function"},m=function(x,k){return n(x)?x(k):x},d=f.calcParentsWithoutChildren(F,A),E=function H(x,k,W,U){for(var et=k.length,z=0;z0){var q=void 0;q=W.getGraphManager().add(W.newGraph(),B),H(q,X,W,U)}}},p=function(x,k,W){for(var U=0,et=0,z=0;z0?l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=U/et:n(v.idealEdgeLength)?l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=50:l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=v.idealEdgeLength,l.MIN_REPULSION_DIST=c.MIN_REPULSION_DIST=c.DEFAULT_EDGE_LENGTH/10,l.DEFAULT_RADIAL_SEPARATION=c.DEFAULT_EDGE_LENGTH)},I=function(x,k){k.fixedNodeConstraint&&(x.constraints.fixedNodeConstraint=k.fixedNodeConstraint),k.alignmentConstraint&&(x.constraints.alignmentConstraint=k.alignmentConstraint),k.relativePlacementConstraint&&(x.constraints.relativePlacementConstraint=k.relativePlacementConstraint)};v.nestingFactor!=null&&(l.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=c.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=v.nestingFactor),v.gravity!=null&&(l.DEFAULT_GRAVITY_STRENGTH=c.DEFAULT_GRAVITY_STRENGTH=v.gravity),v.numIter!=null&&(l.MAX_ITERATIONS=c.MAX_ITERATIONS=v.numIter),v.gravityRange!=null&&(l.DEFAULT_GRAVITY_RANGE_FACTOR=c.DEFAULT_GRAVITY_RANGE_FACTOR=v.gravityRange),v.gravityCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_STRENGTH=c.DEFAULT_COMPOUND_GRAVITY_STRENGTH=v.gravityCompound),v.gravityRangeCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=c.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=v.gravityRangeCompound),v.initialEnergyOnIncremental!=null&&(l.DEFAULT_COOLING_FACTOR_INCREMENTAL=c.DEFAULT_COOLING_FACTOR_INCREMENTAL=v.initialEnergyOnIncremental),v.tilingCompareBy!=null&&(l.TILING_COMPARE_BY=v.tilingCompareBy),v.quality=="proof"?o.QUALITY=2:o.QUALITY=0,l.NODE_DIMENSIONS_INCLUDE_LABELS=c.NODE_DIMENSIONS_INCLUDE_LABELS=o.NODE_DIMENSIONS_INCLUDE_LABELS=v.nodeDimensionsIncludeLabels,l.DEFAULT_INCREMENTAL=c.DEFAULT_INCREMENTAL=o.DEFAULT_INCREMENTAL=!v.randomize,l.ANIMATE=c.ANIMATE=o.ANIMATE=v.animate,l.TILE=v.tile,l.TILING_PADDING_VERTICAL=typeof v.tilingPaddingVertical=="function"?v.tilingPaddingVertical.call():v.tilingPaddingVertical,l.TILING_PADDING_HORIZONTAL=typeof v.tilingPaddingHorizontal=="function"?v.tilingPaddingHorizontal.call():v.tilingPaddingHorizontal,l.DEFAULT_INCREMENTAL=c.DEFAULT_INCREMENTAL=o.DEFAULT_INCREMENTAL=!0,l.PURE_INCREMENTAL=!v.randomize,o.DEFAULT_UNIFORM_LEAF_NODE_SIZES=v.uniformNodeDimensions,v.step=="transformed"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,l.ENFORCE_CONSTRAINTS=!1,l.APPLY_LAYOUT=!1),v.step=="enforced"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!0,l.APPLY_LAYOUT=!1),v.step=="cose"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!1,l.APPLY_LAYOUT=!0),v.step=="all"&&(v.randomize?l.TRANSFORM_ON_CONSTRAINT_HANDLING=!0:l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!0,l.APPLY_LAYOUT=!0),v.fixedNodeConstraint||v.alignmentConstraint||v.relativePlacementConstraint?l.TREE_REDUCTION_ON_INCREMENTAL=!1:l.TREE_REDUCTION_ON_INCREMENTAL=!0;var w=new a,R=w.newGraphManager();return E(R.addRoot(),f.getTopMostNodes(P),w,v),p(w,R,J),I(w,v),w.runLayout(),rt};i.exports={coseLayout:T}},212:(i,r,e)=>{var f=function(){function v(L,F){for(var A=0;A0)if(d){var I=t.getTopMostNodes(A.eles.nodes());if(D=t.connectComponents(P,A.eles,I),D.forEach(function(dt){var it=dt.boundingBox();rt.push({x:it.x1+it.w/2,y:it.y1+it.h/2})}),A.randomize&&D.forEach(function(dt){A.eles=dt,V.push(o(A))}),A.quality=="default"||A.quality=="proof"){var w=P.collection();if(A.tile){var R=new Map,H=[],x=[],k=0,W={nodeIndexes:R,xCoords:H,yCoords:x},U=[];if(D.forEach(function(dt,it){dt.edges().length==0&&(dt.nodes().forEach(function(ut,Tt){w.merge(dt.nodes()[Tt]),ut.isParent()||(W.nodeIndexes.set(dt.nodes()[Tt].id(),k++),W.xCoords.push(dt.nodes()[0].position().x),W.yCoords.push(dt.nodes()[0].position().y))}),U.push(it))}),w.length>1){var et=w.boundingBox();rt.push({x:et.x1+et.w/2,y:et.y1+et.h/2}),D.push(w),V.push(W);for(var z=U.length-1;z>=0;z--)D.splice(U[z],1),V.splice(U[z],1),rt.splice(U[z],1)}}D.forEach(function(dt,it){A.eles=dt,Q.push(l(A,V[it])),t.relocateComponent(rt[it],Q[it],A)})}else D.forEach(function(dt,it){t.relocateComponent(rt[it],V[it],A)});var O=new Set;if(D.length>1){var X=[],B=J.filter(function(dt){return dt.css("display")=="none"});D.forEach(function(dt,it){var ut=void 0;if(A.quality=="draft"&&(ut=V[it].nodeIndexes),dt.nodes().not(B).length>0){var Tt={};Tt.edges=[],Tt.nodes=[];var Ct=void 0;dt.nodes().not(B).forEach(function(Dt){if(A.quality=="draft")if(!Dt.isParent())Ct=ut.get(Dt.id()),Tt.nodes.push({x:V[it].xCoords[Ct]-Dt.boundingbox().w/2,y:V[it].yCoords[Ct]-Dt.boundingbox().h/2,width:Dt.boundingbox().w,height:Dt.boundingbox().h});else{var mt=t.calcBoundingBox(Dt,V[it].xCoords,V[it].yCoords,ut);Tt.nodes.push({x:mt.topLeftX,y:mt.topLeftY,width:mt.width,height:mt.height})}else Q[it][Dt.id()]&&Tt.nodes.push({x:Q[it][Dt.id()].getLeft(),y:Q[it][Dt.id()].getTop(),width:Q[it][Dt.id()].getWidth(),height:Q[it][Dt.id()].getHeight()})}),dt.edges().forEach(function(Dt){var mt=Dt.source(),xt=Dt.target();if(mt.css("display")!="none"&&xt.css("display")!="none")if(A.quality=="draft"){var St=ut.get(mt.id()),Vt=ut.get(xt.id()),Xt=[],Ut=[];if(mt.isParent()){var bt=t.calcBoundingBox(mt,V[it].xCoords,V[it].yCoords,ut);Xt.push(bt.topLeftX+bt.width/2),Xt.push(bt.topLeftY+bt.height/2)}else Xt.push(V[it].xCoords[St]),Xt.push(V[it].yCoords[St]);if(xt.isParent()){var Ht=t.calcBoundingBox(xt,V[it].xCoords,V[it].yCoords,ut);Ut.push(Ht.topLeftX+Ht.width/2),Ut.push(Ht.topLeftY+Ht.height/2)}else Ut.push(V[it].xCoords[Vt]),Ut.push(V[it].yCoords[Vt]);Tt.edges.push({startX:Xt[0],startY:Xt[1],endX:Ut[0],endY:Ut[1]})}else Q[it][mt.id()]&&Q[it][xt.id()]&&Tt.edges.push({startX:Q[it][mt.id()].getCenterX(),startY:Q[it][mt.id()].getCenterY(),endX:Q[it][xt.id()].getCenterX(),endY:Q[it][xt.id()].getCenterY()})}),Tt.nodes.length>0&&(X.push(Tt),O.add(it))}});var _=m.packComponents(X,A.randomize).shifts;if(A.quality=="draft")V.forEach(function(dt,it){var ut=dt.xCoords.map(function(Ct){return Ct+_[it].dx}),Tt=dt.yCoords.map(function(Ct){return Ct+_[it].dy});dt.xCoords=ut,dt.yCoords=Tt});else{var lt=0;O.forEach(function(dt){Object.keys(Q[dt]).forEach(function(it){var ut=Q[dt][it];ut.setCenter(ut.getCenterX()+_[lt].dx,ut.getCenterY()+_[lt].dy)}),lt++})}}}else{var E=A.eles.boundingBox();if(rt.push({x:E.x1+E.w/2,y:E.y1+E.h/2}),A.randomize){var p=o(A);V.push(p)}A.quality=="default"||A.quality=="proof"?(Q.push(l(A,V[0])),t.relocateComponent(rt[0],Q[0],A)):t.relocateComponent(rt[0],V[0],A)}var q=function(it,ut){if(A.quality=="default"||A.quality=="proof"){typeof it=="number"&&(it=ut);var Tt=void 0,Ct=void 0,Dt=it.data("id");return Q.forEach(function(xt){Dt in xt&&(Tt={x:xt[Dt].getRect().getCenterX(),y:xt[Dt].getRect().getCenterY()},Ct=xt[Dt])}),A.nodeDimensionsIncludeLabels&&(Ct.labelWidth&&(Ct.labelPosHorizontal=="left"?Tt.x+=Ct.labelWidth/2:Ct.labelPosHorizontal=="right"&&(Tt.x-=Ct.labelWidth/2)),Ct.labelHeight&&(Ct.labelPosVertical=="top"?Tt.y+=Ct.labelHeight/2:Ct.labelPosVertical=="bottom"&&(Tt.y-=Ct.labelHeight/2))),Tt==null&&(Tt={x:it.position("x"),y:it.position("y")}),{x:Tt.x,y:Tt.y}}else{var mt=void 0;return V.forEach(function(xt){var St=xt.nodeIndexes.get(it.id());St!=null&&(mt={x:xt.xCoords[St],y:xt.yCoords[St]})}),mt==null&&(mt={x:it.position("x"),y:it.position("y")}),{x:mt.x,y:mt.y}}};if(A.quality=="default"||A.quality=="proof"||A.randomize){var Rt=t.calcParentsWithoutChildren(P,J),Lt=J.filter(function(dt){return dt.css("display")=="none"});A.eles=J.not(Lt),J.nodes().not(":parent").not(Lt).layoutPositions(F,A,q),Rt.length>0&&Rt.forEach(function(dt){dt.position(q(dt))})}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")}}]),v}();i.exports=u},657:(i,r,e)=>{var f=e(548),a=e(140).layoutBase.Matrix,y=e(140).layoutBase.SVD,t=function(o){var c=o.cy,l=o.eles,T=l.nodes(),u=l.nodes(":parent"),v=new Map,L=new Map,F=new Map,A=[],P=[],J=[],V=[],Q=[],D=[],rt=[],n=[],m=void 0,d=1e8,E=1e-9,p=o.piTol,I=o.samplingType,w=o.nodeSeparation,R=void 0,H=function(){for(var b=0,$=0,K=!1;$=at;){ot=Z[at++];for(var It=A[ot],ft=0;ftvt&&(vt=Q[Mt],wt=Mt)}return wt},k=function(b){var $=void 0;if(b){$=Math.floor(Math.random()*m);for(var Z=0;Z=1)break;j=tt}for(var yt=0;yt=1)break;j=tt}for(var ft=0;ft0&&($.isParent()?A[b].push(F.get($.id())):A[b].push($.id()))})});var Lt=function(b){var $=L.get(b),K=void 0;v.get(b).forEach(function(Z){c.getElementById(Z).isParent()?K=F.get(Z):K=Z,A[$].push(K),A[L.get(K)].push(b)})},dt=!0,it=!1,ut=void 0;try{for(var Tt=v.keys()[Symbol.iterator](),Ct;!(dt=(Ct=Tt.next()).done);dt=!0){var Dt=Ct.value;Lt(Dt)}}catch(S){it=!0,ut=S}finally{try{!dt&&Tt.return&&Tt.return()}finally{if(it)throw ut}}m=L.size;var mt=void 0;if(m>2){R=m{var f=e(212),a=function(t){t&&t("layout","fcose",f)};typeof cytoscape<"u"&&a(cytoscape),i.exports=a},140:i=>{i.exports=C}},N={};function g(i){var r=N[i];if(r!==void 0)return r.exports;var e=N[i]={exports:{}};return G[i](e,e.exports,g),e.exports}var s=g(579);return s})()})})(be);var gr=be.exports;const ur=ke(gr);var xe={L:"left",R:"right",T:"top",B:"bottom"},Ie={L:nt(M=>`${M},${M/2} 0,${M} 0,0`,"L"),R:nt(M=>`0,${M/2} ${M},0 ${M},${M}`,"R"),T:nt(M=>`0,0 ${M},0 ${M/2},${M}`,"T"),B:nt(M=>`${M/2},0 ${M},${M} 0,${M}`,"B")},he={L:nt((M,Y)=>M-Y+2,"L"),R:nt((M,Y)=>M-2,"R"),T:nt((M,Y)=>M-Y+2,"T"),B:nt((M,Y)=>M-2,"B")},vr=nt(function(M){return zt(M)?M==="L"?"R":"L":M==="T"?"B":"T"},"getOppositeArchitectureDirection"),Re=nt(function(M){const Y=M;return Y==="L"||Y==="R"||Y==="T"||Y==="B"},"isArchitectureDirection"),zt=nt(function(M){const Y=M;return Y==="L"||Y==="R"},"isArchitectureDirectionX"),Qt=nt(function(M){const Y=M;return Y==="T"||Y==="B"},"isArchitectureDirectionY"),Pe=nt(function(M,Y){const C=zt(M)&&Qt(Y),G=Qt(M)&&zt(Y);return C||G},"isArchitectureDirectionXY"),dr=nt(function(M){const Y=M[0],C=M[1],G=zt(Y)&&Qt(C),N=Qt(Y)&&zt(C);return G||N},"isArchitecturePairXY"),pr=nt(function(M){return M!=="LL"&&M!=="RR"&&M!=="TT"&&M!=="BB"},"isValidArchitectureDirectionPair"),me=nt(function(M,Y){const C=`${M}${Y}`;return pr(C)?C:void 0},"getArchitectureDirectionPair"),yr=nt(function([M,Y],C){const G=C[0],N=C[1];return zt(G)?Qt(N)?[M+(G==="L"?-1:1),Y+(N==="T"?1:-1)]:[M+(G==="L"?-1:1),Y]:zt(N)?[M+(N==="L"?1:-1),Y+(G==="T"?1:-1)]:[M,Y+(G==="T"?1:-1)]},"shiftPositionByArchitectureDirectionPair"),Er=nt(function(M){return M==="LT"||M==="TL"?[1,1]:M==="BL"||M==="LB"?[1,-1]:M==="BR"||M==="RB"?[-1,-1]:[-1,1]},"getArchitectureDirectionXYFactors"),mr=nt(function(M){return M.type==="service"},"isArchitectureService"),Tr=nt(function(M){return M.type==="junction"},"isArchitectureJunction"),Ge=nt(M=>M.data(),"edgeData"),ne=nt(M=>M.data(),"nodeData"),Ue=qe.architecture,pt=new hr(()=>({nodes:{},groups:{},edges:[],registeredIds:{},config:Ue,dataStructures:void 0,elements:{}})),Nr=nt(()=>{pt.reset(),ar()},"clear"),Lr=nt(function({id:M,icon:Y,in:C,title:G,iconText:N}){if(pt.records.registeredIds[M]!==void 0)throw new Error(`The service id [${M}] is already in use by another ${pt.records.registeredIds[M]}`);if(C!==void 0){if(M===C)throw new Error(`The service [${M}] cannot be placed within itself`);if(pt.records.registeredIds[C]===void 0)throw new Error(`The service [${M}]'s parent does not exist. Please make sure the parent is created before this service`);if(pt.records.registeredIds[C]==="node")throw new Error(`The service [${M}]'s parent is not a group`)}pt.records.registeredIds[M]="node",pt.records.nodes[M]={id:M,type:"service",icon:Y,iconText:N,title:G,edges:[],in:C}},"addService"),Mr=nt(()=>Object.values(pt.records.nodes).filter(mr),"getServices"),Ar=nt(function({id:M,in:Y}){pt.records.registeredIds[M]="node",pt.records.nodes[M]={id:M,type:"junction",edges:[],in:Y}},"addJunction"),Cr=nt(()=>Object.values(pt.records.nodes).filter(Tr),"getJunctions"),wr=nt(()=>Object.values(pt.records.nodes),"getNodes"),Or=nt(M=>pt.records.nodes[M],"getNode"),Dr=nt(function({id:M,icon:Y,in:C,title:G}){if(pt.records.registeredIds[M]!==void 0)throw new Error(`The group id [${M}] is already in use by another ${pt.records.registeredIds[M]}`);if(C!==void 0){if(M===C)throw new Error(`The group [${M}] cannot be placed within itself`);if(pt.records.registeredIds[C]===void 0)throw new Error(`The group [${M}]'s parent does not exist. Please make sure the parent is created before this group`);if(pt.records.registeredIds[C]==="node")throw new Error(`The group [${M}]'s parent is not a group`)}pt.records.registeredIds[M]="group",pt.records.groups[M]={id:M,icon:Y,title:G,in:C}},"addGroup"),xr=nt(()=>Object.values(pt.records.groups),"getGroups"),Ir=nt(function({lhsId:M,rhsId:Y,lhsDir:C,rhsDir:G,lhsInto:N,rhsInto:g,lhsGroup:s,rhsGroup:i,title:r}){if(!Re(C))throw new Error(`Invalid direction given for left hand side of edge ${M}--${Y}. Expected (L,R,T,B) got ${C}`);if(!Re(G))throw new Error(`Invalid direction given for right hand side of edge ${M}--${Y}. Expected (L,R,T,B) got ${G}`);if(pt.records.nodes[M]===void 0&&pt.records.groups[M]===void 0)throw new Error(`The left-hand id [${M}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(pt.records.nodes[Y]===void 0&&pt.records.groups[M]===void 0)throw new Error(`The right-hand id [${Y}] does not yet exist. Please create the service/group before declaring an edge to it.`);const e=pt.records.nodes[M].in,f=pt.records.nodes[Y].in;if(s&&e&&f&&e==f)throw new Error(`The left-hand id [${M}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(i&&e&&f&&e==f)throw new Error(`The right-hand id [${Y}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);const a={lhsId:M,lhsDir:C,lhsInto:N,lhsGroup:s,rhsId:Y,rhsDir:G,rhsInto:g,rhsGroup:i,title:r};pt.records.edges.push(a),pt.records.nodes[M]&&pt.records.nodes[Y]&&(pt.records.nodes[M].edges.push(pt.records.edges[pt.records.edges.length-1]),pt.records.nodes[Y].edges.push(pt.records.edges[pt.records.edges.length-1]))},"addEdge"),Rr=nt(()=>pt.records.edges,"getEdges"),Sr=nt(()=>{if(pt.records.dataStructures===void 0){const M=Object.entries(pt.records.nodes).reduce((s,[i,r])=>(s[i]=r.edges.reduce((e,f)=>{if(f.lhsId===i){const a=me(f.lhsDir,f.rhsDir);a&&(e[a]=f.rhsId)}else{const a=me(f.rhsDir,f.lhsDir);a&&(e[a]=f.lhsId)}return e},{}),s),{}),Y=Object.keys(M)[0],C={[Y]:1},G=Object.keys(M).reduce((s,i)=>i===Y?s:{...s,[i]:1},{}),N=nt(s=>{const i={[s]:[0,0]},r=[s];for(;r.length>0;){const e=r.shift();if(e){C[e]=1,delete G[e];const f=M[e],[a,y]=i[e];Object.entries(f).forEach(([t,h])=>{C[h]||(i[h]=yr([a,y],t),r.push(h))})}}return i},"BFS"),g=[N(Y)];for(;Object.keys(G).length>0;)g.push(N(Object.keys(G)[0]));pt.records.dataStructures={adjList:M,spatialMaps:g}}return pt.records.dataStructures},"getDataStructures"),Fr=nt((M,Y)=>{pt.records.elements[M]=Y},"setElementForId"),br=nt(M=>pt.records.elements[M],"getElementById"),le={clear:Nr,setDiagramTitle:Ke,getDiagramTitle:je,setAccTitle:_e,getAccTitle:tr,setAccDescription:er,getAccDescription:rr,addService:Lr,getServices:Mr,addJunction:Ar,getJunctions:Cr,getNodes:wr,getNode:Or,addGroup:Dr,getGroups:xr,addEdge:Ir,getEdges:Rr,setElementForId:Fr,getElementById:br,getDataStructures:Sr};function Pt(M){const Y=fe().architecture;return Y!=null&&Y[M]?Y[M]:Ue[M]}nt(Pt,"getConfigField");var Pr=nt((M,Y)=>{sr(M,Y),M.groups.map(Y.addGroup),M.services.map(C=>Y.addService({...C,type:"service"})),M.junctions.map(C=>Y.addJunction({...C,type:"junction"})),M.edges.map(Y.addEdge)},"populateDb"),Gr={parse:nt(async M=>{const Y=await lr("architecture",M);Se.debug(Y),Pr(Y,le)},"parse")},Ur=nt(M=>` +import{aH as Te,aI as ke,B as qe,_ as nt,aJ as Je,aK as Qe,p as Ke,q as je,s as _e,g as tr,c as er,b as rr,d as fe,l as Se,j as ir,v as ar,G as nr,V as or,aj as Ne,aL as Ee}from"./index-BxMsVRSP.js";import{p as sr}from"./chunk-TMUBEWPD-DJMHR1yx.js";import{I as hr}from"./chunk-KFBOBJHC-K9iYjR43.js";import{p as lr}from"./gitGraph-YCYPL57B-XVjt0la2.js";import{c as Fe}from"./cytoscape.esm-CIjMI8L_.js";import"./_baseUniq-QkQtF8Yx.js";import"./_basePickBy-DAcC5mcM.js";import"./clone-BKg_06cU.js";var be={exports:{}},pe={exports:{}},ye={exports:{}},Oe;function fr(){return Oe||(Oe=1,function(M,Y){(function(G,N){M.exports=N()})(Te,function(){return function(C){var G={};function N(g){if(G[g])return G[g].exports;var s=G[g]={i:g,l:!1,exports:{}};return C[g].call(s.exports,s,s.exports,N),s.l=!0,s.exports}return N.m=C,N.c=G,N.i=function(g){return g},N.d=function(g,s,i){N.o(g,s)||Object.defineProperty(g,s,{configurable:!1,enumerable:!0,get:i})},N.n=function(g){var s=g&&g.__esModule?function(){return g.default}:function(){return g};return N.d(s,"a",s),s},N.o=function(g,s){return Object.prototype.hasOwnProperty.call(g,s)},N.p="",N(N.s=28)}([function(C,G,N){function g(){}g.QUALITY=1,g.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,g.DEFAULT_INCREMENTAL=!1,g.DEFAULT_ANIMATION_ON_LAYOUT=!0,g.DEFAULT_ANIMATION_DURING_LAYOUT=!1,g.DEFAULT_ANIMATION_PERIOD=50,g.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,g.DEFAULT_GRAPH_MARGIN=15,g.NODE_DIMENSIONS_INCLUDE_LABELS=!1,g.SIMPLE_NODE_SIZE=40,g.SIMPLE_NODE_HALF_SIZE=g.SIMPLE_NODE_SIZE/2,g.EMPTY_COMPOUND_NODE_SIZE=40,g.MIN_EDGE_LENGTH=1,g.WORLD_BOUNDARY=1e6,g.INITIAL_WORLD_BOUNDARY=g.WORLD_BOUNDARY/1e3,g.WORLD_CENTER_X=1200,g.WORLD_CENTER_Y=900,C.exports=g},function(C,G,N){var g=N(2),s=N(8),i=N(9);function r(f,a,y){g.call(this,y),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=y,this.bendpoints=[],this.source=f,this.target=a}r.prototype=Object.create(g.prototype);for(var e in g)r[e]=g[e];r.prototype.getSource=function(){return this.source},r.prototype.getTarget=function(){return this.target},r.prototype.isInterGraph=function(){return this.isInterGraph},r.prototype.getLength=function(){return this.length},r.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},r.prototype.getBendpoints=function(){return this.bendpoints},r.prototype.getLca=function(){return this.lca},r.prototype.getSourceInLca=function(){return this.sourceInLca},r.prototype.getTargetInLca=function(){return this.targetInLca},r.prototype.getOtherEnd=function(f){if(this.source===f)return this.target;if(this.target===f)return this.source;throw"Node is not incident with this edge"},r.prototype.getOtherEndInGraph=function(f,a){for(var y=this.getOtherEnd(f),t=a.getGraphManager().getRoot();;){if(y.getOwner()==a)return y;if(y.getOwner()==t)break;y=y.getOwner().getParent()}return null},r.prototype.updateLength=function(){var f=new Array(4);this.isOverlapingSourceAndTarget=s.getIntersection(this.target.getRect(),this.source.getRect(),f),this.isOverlapingSourceAndTarget||(this.lengthX=f[0]-f[2],this.lengthY=f[1]-f[3],Math.abs(this.lengthX)<1&&(this.lengthX=i.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=i.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},r.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=i.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=i.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},C.exports=r},function(C,G,N){function g(s){this.vGraphObject=s}C.exports=g},function(C,G,N){var g=N(2),s=N(10),i=N(13),r=N(0),e=N(16),f=N(5);function a(t,h,o,c){o==null&&c==null&&(c=h),g.call(this,c),t.graphManager!=null&&(t=t.graphManager),this.estimatedSize=s.MIN_VALUE,this.inclusionTreeDepth=s.MAX_VALUE,this.vGraphObject=c,this.edges=[],this.graphManager=t,o!=null&&h!=null?this.rect=new i(h.x,h.y,o.width,o.height):this.rect=new i}a.prototype=Object.create(g.prototype);for(var y in g)a[y]=g[y];a.prototype.getEdges=function(){return this.edges},a.prototype.getChild=function(){return this.child},a.prototype.getOwner=function(){return this.owner},a.prototype.getWidth=function(){return this.rect.width},a.prototype.setWidth=function(t){this.rect.width=t},a.prototype.getHeight=function(){return this.rect.height},a.prototype.setHeight=function(t){this.rect.height=t},a.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},a.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},a.prototype.getCenter=function(){return new f(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},a.prototype.getLocation=function(){return new f(this.rect.x,this.rect.y)},a.prototype.getRect=function(){return this.rect},a.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},a.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},a.prototype.setRect=function(t,h){this.rect.x=t.x,this.rect.y=t.y,this.rect.width=h.width,this.rect.height=h.height},a.prototype.setCenter=function(t,h){this.rect.x=t-this.rect.width/2,this.rect.y=h-this.rect.height/2},a.prototype.setLocation=function(t,h){this.rect.x=t,this.rect.y=h},a.prototype.moveBy=function(t,h){this.rect.x+=t,this.rect.y+=h},a.prototype.getEdgeListToNode=function(t){var h=[],o=this;return o.edges.forEach(function(c){if(c.target==t){if(c.source!=o)throw"Incorrect edge source!";h.push(c)}}),h},a.prototype.getEdgesBetween=function(t){var h=[],o=this;return o.edges.forEach(function(c){if(!(c.source==o||c.target==o))throw"Incorrect edge source and/or target";(c.target==t||c.source==t)&&h.push(c)}),h},a.prototype.getNeighborsList=function(){var t=new Set,h=this;return h.edges.forEach(function(o){if(o.source==h)t.add(o.target);else{if(o.target!=h)throw"Incorrect incidency!";t.add(o.source)}}),t},a.prototype.withChildren=function(){var t=new Set,h,o;if(t.add(this),this.child!=null)for(var c=this.child.getNodes(),l=0;lh?(this.rect.x-=(this.labelWidth-h)/2,this.setWidth(this.labelWidth)):this.labelPosHorizontal=="right"&&this.setWidth(h+this.labelWidth)),this.labelHeight&&(this.labelPosVertical=="top"?(this.rect.y-=this.labelHeight,this.setHeight(o+this.labelHeight)):this.labelPosVertical=="center"&&this.labelHeight>o?(this.rect.y-=(this.labelHeight-o)/2,this.setHeight(this.labelHeight)):this.labelPosVertical=="bottom"&&this.setHeight(o+this.labelHeight))}}},a.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==s.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},a.prototype.transform=function(t){var h=this.rect.x;h>r.WORLD_BOUNDARY?h=r.WORLD_BOUNDARY:h<-r.WORLD_BOUNDARY&&(h=-r.WORLD_BOUNDARY);var o=this.rect.y;o>r.WORLD_BOUNDARY?o=r.WORLD_BOUNDARY:o<-r.WORLD_BOUNDARY&&(o=-r.WORLD_BOUNDARY);var c=new f(h,o),l=t.inverseTransformPoint(c);this.setLocation(l.x,l.y)},a.prototype.getLeft=function(){return this.rect.x},a.prototype.getRight=function(){return this.rect.x+this.rect.width},a.prototype.getTop=function(){return this.rect.y},a.prototype.getBottom=function(){return this.rect.y+this.rect.height},a.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},C.exports=a},function(C,G,N){var g=N(0);function s(){}for(var i in g)s[i]=g[i];s.MAX_ITERATIONS=2500,s.DEFAULT_EDGE_LENGTH=50,s.DEFAULT_SPRING_STRENGTH=.45,s.DEFAULT_REPULSION_STRENGTH=4500,s.DEFAULT_GRAVITY_STRENGTH=.4,s.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,s.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,s.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,s.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,s.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,s.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,s.COOLING_ADAPTATION_FACTOR=.33,s.ADAPTATION_LOWER_NODE_LIMIT=1e3,s.ADAPTATION_UPPER_NODE_LIMIT=5e3,s.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,s.MAX_NODE_DISPLACEMENT=s.MAX_NODE_DISPLACEMENT_INCREMENTAL*3,s.MIN_REPULSION_DIST=s.DEFAULT_EDGE_LENGTH/10,s.CONVERGENCE_CHECK_PERIOD=100,s.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,s.MIN_EDGE_LENGTH=1,s.GRID_CALCULATION_CHECK_PERIOD=10,C.exports=s},function(C,G,N){function g(s,i){s==null&&i==null?(this.x=0,this.y=0):(this.x=s,this.y=i)}g.prototype.getX=function(){return this.x},g.prototype.getY=function(){return this.y},g.prototype.setX=function(s){this.x=s},g.prototype.setY=function(s){this.y=s},g.prototype.getDifference=function(s){return new DimensionD(this.x-s.x,this.y-s.y)},g.prototype.getCopy=function(){return new g(this.x,this.y)},g.prototype.translate=function(s){return this.x+=s.width,this.y+=s.height,this},C.exports=g},function(C,G,N){var g=N(2),s=N(10),i=N(0),r=N(7),e=N(3),f=N(1),a=N(13),y=N(12),t=N(11);function h(c,l,T){g.call(this,T),this.estimatedSize=s.MIN_VALUE,this.margin=i.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=c,l!=null&&l instanceof r?this.graphManager=l:l!=null&&l instanceof Layout&&(this.graphManager=l.graphManager)}h.prototype=Object.create(g.prototype);for(var o in g)h[o]=g[o];h.prototype.getNodes=function(){return this.nodes},h.prototype.getEdges=function(){return this.edges},h.prototype.getGraphManager=function(){return this.graphManager},h.prototype.getParent=function(){return this.parent},h.prototype.getLeft=function(){return this.left},h.prototype.getRight=function(){return this.right},h.prototype.getTop=function(){return this.top},h.prototype.getBottom=function(){return this.bottom},h.prototype.isConnected=function(){return this.isConnected},h.prototype.add=function(c,l,T){if(l==null&&T==null){var u=c;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(u)>-1)throw"Node already in graph!";return u.owner=this,this.getNodes().push(u),u}else{var v=c;if(!(this.getNodes().indexOf(l)>-1&&this.getNodes().indexOf(T)>-1))throw"Source or target not in graph!";if(!(l.owner==T.owner&&l.owner==this))throw"Both owners must be this graph!";return l.owner!=T.owner?null:(v.source=l,v.target=T,v.isInterGraph=!1,this.getEdges().push(v),l.edges.push(v),T!=l&&T.edges.push(v),v)}},h.prototype.remove=function(c){var l=c;if(c instanceof e){if(l==null)throw"Node is null!";if(!(l.owner!=null&&l.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var T=l.edges.slice(),u,v=T.length,L=0;L-1&&P>-1))throw"Source and/or target doesn't know this edge!";u.source.edges.splice(A,1),u.target!=u.source&&u.target.edges.splice(P,1);var F=u.source.owner.getEdges().indexOf(u);if(F==-1)throw"Not in owner's edge list!";u.source.owner.getEdges().splice(F,1)}},h.prototype.updateLeftTop=function(){for(var c=s.MAX_VALUE,l=s.MAX_VALUE,T,u,v,L=this.getNodes(),F=L.length,A=0;AT&&(c=T),l>u&&(l=u)}return c==s.MAX_VALUE?null:(L[0].getParent().paddingLeft!=null?v=L[0].getParent().paddingLeft:v=this.margin,this.left=l-v,this.top=c-v,new y(this.left,this.top))},h.prototype.updateBounds=function(c){for(var l=s.MAX_VALUE,T=-s.MAX_VALUE,u=s.MAX_VALUE,v=-s.MAX_VALUE,L,F,A,P,J,V=this.nodes,Q=V.length,D=0;DL&&(l=L),TA&&(u=A),vL&&(l=L),TA&&(u=A),v=this.nodes.length){var Q=0;T.forEach(function(D){D.owner==c&&Q++}),Q==this.nodes.length&&(this.isConnected=!0)}},C.exports=h},function(C,G,N){var g,s=N(1);function i(r){g=N(6),this.layout=r,this.graphs=[],this.edges=[]}i.prototype.addRoot=function(){var r=this.layout.newGraph(),e=this.layout.newNode(null),f=this.add(r,e);return this.setRootGraph(f),this.rootGraph},i.prototype.add=function(r,e,f,a,y){if(f==null&&a==null&&y==null){if(r==null)throw"Graph is null!";if(e==null)throw"Parent node is null!";if(this.graphs.indexOf(r)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(r),r.parent!=null)throw"Already has a parent!";if(e.child!=null)throw"Already has a child!";return r.parent=e,e.child=r,r}else{y=f,a=e,f=r;var t=a.getOwner(),h=y.getOwner();if(!(t!=null&&t.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(h!=null&&h.getGraphManager()==this))throw"Target not in this graph mgr!";if(t==h)return f.isInterGraph=!1,t.add(f,a,y);if(f.isInterGraph=!0,f.source=a,f.target=y,this.edges.indexOf(f)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(f),!(f.source!=null&&f.target!=null))throw"Edge source and/or target is null!";if(!(f.source.edges.indexOf(f)==-1&&f.target.edges.indexOf(f)==-1))throw"Edge already in source and/or target incidency list!";return f.source.edges.push(f),f.target.edges.push(f),f}},i.prototype.remove=function(r){if(r instanceof g){var e=r;if(e.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(e==this.rootGraph||e.parent!=null&&e.parent.graphManager==this))throw"Invalid parent node!";var f=[];f=f.concat(e.getEdges());for(var a,y=f.length,t=0;t=r.getRight()?e[0]+=Math.min(r.getX()-i.getX(),i.getRight()-r.getRight()):r.getX()<=i.getX()&&r.getRight()>=i.getRight()&&(e[0]+=Math.min(i.getX()-r.getX(),r.getRight()-i.getRight())),i.getY()<=r.getY()&&i.getBottom()>=r.getBottom()?e[1]+=Math.min(r.getY()-i.getY(),i.getBottom()-r.getBottom()):r.getY()<=i.getY()&&r.getBottom()>=i.getBottom()&&(e[1]+=Math.min(i.getY()-r.getY(),r.getBottom()-i.getBottom()));var y=Math.abs((r.getCenterY()-i.getCenterY())/(r.getCenterX()-i.getCenterX()));r.getCenterY()===i.getCenterY()&&r.getCenterX()===i.getCenterX()&&(y=1);var t=y*e[0],h=e[1]/y;e[0]t)return e[0]=f,e[1]=o,e[2]=y,e[3]=V,!1;if(ay)return e[0]=h,e[1]=a,e[2]=P,e[3]=t,!1;if(fy?(e[0]=l,e[1]=T,n=!0):(e[0]=c,e[1]=o,n=!0):d===p&&(f>y?(e[0]=h,e[1]=o,n=!0):(e[0]=u,e[1]=T,n=!0)),-E===p?y>f?(e[2]=J,e[3]=V,m=!0):(e[2]=P,e[3]=A,m=!0):E===p&&(y>f?(e[2]=F,e[3]=A,m=!0):(e[2]=Q,e[3]=V,m=!0)),n&&m)return!1;if(f>y?a>t?(I=this.getCardinalDirection(d,p,4),w=this.getCardinalDirection(E,p,2)):(I=this.getCardinalDirection(-d,p,3),w=this.getCardinalDirection(-E,p,1)):a>t?(I=this.getCardinalDirection(-d,p,1),w=this.getCardinalDirection(-E,p,3)):(I=this.getCardinalDirection(d,p,2),w=this.getCardinalDirection(E,p,4)),!n)switch(I){case 1:H=o,R=f+-L/p,e[0]=R,e[1]=H;break;case 2:R=u,H=a+v*p,e[0]=R,e[1]=H;break;case 3:H=T,R=f+L/p,e[0]=R,e[1]=H;break;case 4:R=l,H=a+-v*p,e[0]=R,e[1]=H;break}if(!m)switch(w){case 1:k=A,x=y+-rt/p,e[2]=x,e[3]=k;break;case 2:x=Q,k=t+D*p,e[2]=x,e[3]=k;break;case 3:k=V,x=y+rt/p,e[2]=x,e[3]=k;break;case 4:x=J,k=t+-D*p,e[2]=x,e[3]=k;break}}return!1},s.getCardinalDirection=function(i,r,e){return i>r?e:1+e%4},s.getIntersection=function(i,r,e,f){if(f==null)return this.getIntersection2(i,r,e);var a=i.x,y=i.y,t=r.x,h=r.y,o=e.x,c=e.y,l=f.x,T=f.y,u=void 0,v=void 0,L=void 0,F=void 0,A=void 0,P=void 0,J=void 0,V=void 0,Q=void 0;return L=h-y,A=a-t,J=t*y-a*h,F=T-c,P=o-l,V=l*c-o*T,Q=L*P-F*A,Q===0?null:(u=(A*V-P*J)/Q,v=(F*J-L*V)/Q,new g(u,v))},s.angleOfVector=function(i,r,e,f){var a=void 0;return i!==e?(a=Math.atan((f-r)/(e-i)),e=0){var T=(-o+Math.sqrt(o*o-4*h*c))/(2*h),u=(-o-Math.sqrt(o*o-4*h*c))/(2*h),v=null;return T>=0&&T<=1?[T]:u>=0&&u<=1?[u]:v}else return null},s.HALF_PI=.5*Math.PI,s.ONE_AND_HALF_PI=1.5*Math.PI,s.TWO_PI=2*Math.PI,s.THREE_PI=3*Math.PI,C.exports=s},function(C,G,N){function g(){}g.sign=function(s){return s>0?1:s<0?-1:0},g.floor=function(s){return s<0?Math.ceil(s):Math.floor(s)},g.ceil=function(s){return s<0?Math.floor(s):Math.ceil(s)},C.exports=g},function(C,G,N){function g(){}g.MAX_VALUE=2147483647,g.MIN_VALUE=-2147483648,C.exports=g},function(C,G,N){var g=function(){function a(y,t){for(var h=0;h"u"?"undefined":g(i);return i==null||r!="object"&&r!="function"},C.exports=s},function(C,G,N){function g(o){if(Array.isArray(o)){for(var c=0,l=Array(o.length);c0&&c;){for(L.push(A[0]);L.length>0&&c;){var P=L[0];L.splice(0,1),v.add(P);for(var J=P.getEdges(),u=0;u-1&&A.splice(rt,1)}v=new Set,F=new Map}}return o},h.prototype.createDummyNodesForBendpoints=function(o){for(var c=[],l=o.source,T=this.graphManager.calcLowestCommonAncestor(o.source,o.target),u=0;u0){for(var T=this.edgeToDummyNodes.get(l),u=0;u=0&&c.splice(V,1);var Q=F.getNeighborsList();Q.forEach(function(n){if(l.indexOf(n)<0){var m=T.get(n),d=m-1;d==1&&P.push(n),T.set(n,d)}})}l=l.concat(P),(c.length==1||c.length==2)&&(u=!0,v=c[0])}return v},h.prototype.setGraphManager=function(o){this.graphManager=o},C.exports=h},function(C,G,N){function g(){}g.seed=1,g.x=0,g.nextDouble=function(){return g.x=Math.sin(g.seed++)*1e4,g.x-Math.floor(g.x)},C.exports=g},function(C,G,N){var g=N(5);function s(i,r){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}s.prototype.getWorldOrgX=function(){return this.lworldOrgX},s.prototype.setWorldOrgX=function(i){this.lworldOrgX=i},s.prototype.getWorldOrgY=function(){return this.lworldOrgY},s.prototype.setWorldOrgY=function(i){this.lworldOrgY=i},s.prototype.getWorldExtX=function(){return this.lworldExtX},s.prototype.setWorldExtX=function(i){this.lworldExtX=i},s.prototype.getWorldExtY=function(){return this.lworldExtY},s.prototype.setWorldExtY=function(i){this.lworldExtY=i},s.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},s.prototype.setDeviceOrgX=function(i){this.ldeviceOrgX=i},s.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},s.prototype.setDeviceOrgY=function(i){this.ldeviceOrgY=i},s.prototype.getDeviceExtX=function(){return this.ldeviceExtX},s.prototype.setDeviceExtX=function(i){this.ldeviceExtX=i},s.prototype.getDeviceExtY=function(){return this.ldeviceExtY},s.prototype.setDeviceExtY=function(i){this.ldeviceExtY=i},s.prototype.transformX=function(i){var r=0,e=this.lworldExtX;return e!=0&&(r=this.ldeviceOrgX+(i-this.lworldOrgX)*this.ldeviceExtX/e),r},s.prototype.transformY=function(i){var r=0,e=this.lworldExtY;return e!=0&&(r=this.ldeviceOrgY+(i-this.lworldOrgY)*this.ldeviceExtY/e),r},s.prototype.inverseTransformX=function(i){var r=0,e=this.ldeviceExtX;return e!=0&&(r=this.lworldOrgX+(i-this.ldeviceOrgX)*this.lworldExtX/e),r},s.prototype.inverseTransformY=function(i){var r=0,e=this.ldeviceExtY;return e!=0&&(r=this.lworldOrgY+(i-this.ldeviceOrgY)*this.lworldExtY/e),r},s.prototype.inverseTransformPoint=function(i){var r=new g(this.inverseTransformX(i.x),this.inverseTransformY(i.y));return r},C.exports=s},function(C,G,N){function g(t){if(Array.isArray(t)){for(var h=0,o=Array(t.length);hi.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*i.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-i.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>i.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(i.COOLING_ADAPTATION_FACTOR,1-(t-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*(1-i.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.displacementThresholdPerNode=3*i.DEFAULT_EDGE_LENGTH/100,this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},a.prototype.calcSpringForces=function(){for(var t=this.getAllEdges(),h,o=0;o0&&arguments[0]!==void 0?arguments[0]:!0,h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o,c,l,T,u=this.getAllNodes(),v;if(this.useFRGridVariant)for(this.totalIterations%i.GRID_CALCULATION_CHECK_PERIOD==1&&t&&this.updateGrid(),v=new Set,o=0;oL||v>L)&&(t.gravitationForceX=-this.gravityConstant*l,t.gravitationForceY=-this.gravityConstant*T)):(L=h.getEstimatedSize()*this.compoundGravityRangeFactor,(u>L||v>L)&&(t.gravitationForceX=-this.gravityConstant*l*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*T*this.compoundGravityConstant))},a.prototype.isConverged=function(){var t,h=!1;return this.totalIterations>this.maxIterations/3&&(h=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),t=this.totalDisplacement=u.length||L>=u[0].length)){for(var F=0;Fa}}]),e}();C.exports=r},function(C,G,N){function g(){}g.svd=function(s){this.U=null,this.V=null,this.s=null,this.m=0,this.n=0,this.m=s.length,this.n=s[0].length;var i=Math.min(this.m,this.n);this.s=function(Nt){for(var At=[];Nt-- >0;)At.push(0);return At}(Math.min(this.m+1,this.n)),this.U=function(Nt){var At=function Zt(Gt){if(Gt.length==0)return 0;for(var $t=[],Ft=0;Ft0;)At.push(0);return At}(this.n),e=function(Nt){for(var At=[];Nt-- >0;)At.push(0);return At}(this.m),f=!0,a=Math.min(this.m-1,this.n),y=Math.max(0,Math.min(this.n-2,this.m)),t=0;t=0;E--)if(this.s[E]!==0){for(var p=E+1;p=0;W--){if(function(Nt,At){return Nt&&At}(W0;){var q=void 0,Rt=void 0;for(q=n-2;q>=-1&&q!==-1;q--)if(Math.abs(r[q])<=lt+_*(Math.abs(this.s[q])+Math.abs(this.s[q+1]))){r[q]=0;break}if(q===n-2)Rt=4;else{var Lt=void 0;for(Lt=n-1;Lt>=q&&Lt!==q;Lt--){var dt=(Lt!==n?Math.abs(r[Lt]):0)+(Lt!==q+1?Math.abs(r[Lt-1]):0);if(Math.abs(this.s[Lt])<=lt+_*dt){this.s[Lt]=0;break}}Lt===q?Rt=3:Lt===n-1?Rt=1:(Rt=2,q=Lt)}switch(q++,Rt){case 1:{var it=r[n-2];r[n-2]=0;for(var ut=n-2;ut>=q;ut--){var Tt=g.hypot(this.s[ut],it),Ct=this.s[ut]/Tt,Dt=it/Tt;this.s[ut]=Tt,ut!==q&&(it=-Dt*r[ut-1],r[ut-1]=Ct*r[ut-1]);for(var mt=0;mt=this.s[q+1]);){var Mt=this.s[q];if(this.s[q]=this.s[q+1],this.s[q+1]=Mt,qMath.abs(i)?(r=i/s,r=Math.abs(s)*Math.sqrt(1+r*r)):i!=0?(r=s/i,r=Math.abs(i)*Math.sqrt(1+r*r)):r=0,r},C.exports=g},function(C,G,N){var g=function(){function r(e,f){for(var a=0;a2&&arguments[2]!==void 0?arguments[2]:1,y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,t=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;s(this,r),this.sequence1=e,this.sequence2=f,this.match_score=a,this.mismatch_penalty=y,this.gap_penalty=t,this.iMax=e.length+1,this.jMax=f.length+1,this.grid=new Array(this.iMax);for(var h=0;h=0;e--){var f=this.listeners[e];f.event===i&&f.callback===r&&this.listeners.splice(e,1)}},s.emit=function(i,r){for(var e=0;e{var G={45:(i,r,e)=>{var f={};f.layoutBase=e(551),f.CoSEConstants=e(806),f.CoSEEdge=e(767),f.CoSEGraph=e(880),f.CoSEGraphManager=e(578),f.CoSELayout=e(765),f.CoSENode=e(991),f.ConstraintHandler=e(902),i.exports=f},806:(i,r,e)=>{var f=e(551).FDLayoutConstants;function a(){}for(var y in f)a[y]=f[y];a.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,a.DEFAULT_RADIAL_SEPARATION=f.DEFAULT_EDGE_LENGTH,a.DEFAULT_COMPONENT_SEPERATION=60,a.TILE=!0,a.TILING_PADDING_VERTICAL=10,a.TILING_PADDING_HORIZONTAL=10,a.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,a.ENFORCE_CONSTRAINTS=!0,a.APPLY_LAYOUT=!0,a.RELAX_MOVEMENT_ON_CONSTRAINTS=!0,a.TREE_REDUCTION_ON_INCREMENTAL=!0,a.PURE_INCREMENTAL=a.DEFAULT_INCREMENTAL,i.exports=a},767:(i,r,e)=>{var f=e(551).FDLayoutEdge;function a(t,h,o){f.call(this,t,h,o)}a.prototype=Object.create(f.prototype);for(var y in f)a[y]=f[y];i.exports=a},880:(i,r,e)=>{var f=e(551).LGraph;function a(t,h,o){f.call(this,t,h,o)}a.prototype=Object.create(f.prototype);for(var y in f)a[y]=f[y];i.exports=a},578:(i,r,e)=>{var f=e(551).LGraphManager;function a(t){f.call(this,t)}a.prototype=Object.create(f.prototype);for(var y in f)a[y]=f[y];i.exports=a},765:(i,r,e)=>{var f=e(551).FDLayout,a=e(578),y=e(880),t=e(991),h=e(767),o=e(806),c=e(902),l=e(551).FDLayoutConstants,T=e(551).LayoutConstants,u=e(551).Point,v=e(551).PointD,L=e(551).DimensionD,F=e(551).Layout,A=e(551).Integer,P=e(551).IGeometry,J=e(551).LGraph,V=e(551).Transform,Q=e(551).LinkedList;function D(){f.call(this),this.toBeTiled={},this.constraints={}}D.prototype=Object.create(f.prototype);for(var rt in f)D[rt]=f[rt];D.prototype.newGraphManager=function(){var n=new a(this);return this.graphManager=n,n},D.prototype.newGraph=function(n){return new y(null,this.graphManager,n)},D.prototype.newNode=function(n){return new t(this.graphManager,n)},D.prototype.newEdge=function(n){return new h(null,null,n)},D.prototype.initParameters=function(){f.prototype.initParameters.call(this,arguments),this.isSubLayout||(o.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=o.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=o.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=l.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=l.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=l.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1)},D.prototype.initSpringEmbedder=function(){f.prototype.initSpringEmbedder.call(this),this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/l.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=.04,this.coolingAdjuster=1},D.prototype.layout=function(){var n=T.DEFAULT_CREATE_BENDS_AS_NEEDED;return n&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},D.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(o.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var m=new Set(this.getAllNodes()),d=this.nodesWithGravity.filter(function(I){return m.has(I)});this.graphManager.setAllNodesToApplyGravitation(d)}}else{var n=this.getFlatForest();if(n.length>0)this.positionNodesRadially(n);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var m=new Set(this.getAllNodes()),d=this.nodesWithGravity.filter(function(E){return m.has(E)});this.graphManager.setAllNodesToApplyGravitation(d),this.positionNodesRandomly()}}return Object.keys(this.constraints).length>0&&(c.handleConstraints(this),this.initConstraintVariables()),this.initSpringEmbedder(),o.APPLY_LAYOUT&&this.runSpringEmbedder(),!0},D.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%l.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var n=new Set(this.getAllNodes()),m=this.nodesWithGravity.filter(function(p){return n.has(p)});this.graphManager.setAllNodesToApplyGravitation(m),this.graphManager.updateBounds(),this.updateGrid(),o.PURE_INCREMENTAL?this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL/2:this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),o.PURE_INCREMENTAL?this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL/2*((100-this.afterGrowthIterations)/100):this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var d=!this.isTreeGrowing&&!this.isGrowthFinished,E=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(d,E),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},D.prototype.getPositionsData=function(){for(var n=this.graphManager.getAllNodes(),m={},d=0;d0&&this.updateDisplacements();for(var d=0;d0&&(E.fixedNodeWeight=I)}}if(this.constraints.relativePlacementConstraint){var w=new Map,R=new Map;if(this.dummyToNodeForVerticalAlignment=new Map,this.dummyToNodeForHorizontalAlignment=new Map,this.fixedNodesOnHorizontal=new Set,this.fixedNodesOnVertical=new Set,this.fixedNodeSet.forEach(function(O){n.fixedNodesOnHorizontal.add(O),n.fixedNodesOnVertical.add(O)}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var H=this.constraints.alignmentConstraint.vertical,d=0;d=2*O.length/3;_--)X=Math.floor(Math.random()*(_+1)),B=O[_],O[_]=O[X],O[X]=B;return O},this.nodesInRelativeHorizontal=[],this.nodesInRelativeVertical=[],this.nodeToRelativeConstraintMapHorizontal=new Map,this.nodeToRelativeConstraintMapVertical=new Map,this.nodeToTempPositionMapHorizontal=new Map,this.nodeToTempPositionMapVertical=new Map,this.constraints.relativePlacementConstraint.forEach(function(O){if(O.left){var X=w.has(O.left)?w.get(O.left):O.left,B=w.has(O.right)?w.get(O.right):O.right;n.nodesInRelativeHorizontal.includes(X)||(n.nodesInRelativeHorizontal.push(X),n.nodeToRelativeConstraintMapHorizontal.set(X,[]),n.dummyToNodeForVerticalAlignment.has(X)?n.nodeToTempPositionMapHorizontal.set(X,n.idToNodeMap.get(n.dummyToNodeForVerticalAlignment.get(X)[0]).getCenterX()):n.nodeToTempPositionMapHorizontal.set(X,n.idToNodeMap.get(X).getCenterX())),n.nodesInRelativeHorizontal.includes(B)||(n.nodesInRelativeHorizontal.push(B),n.nodeToRelativeConstraintMapHorizontal.set(B,[]),n.dummyToNodeForVerticalAlignment.has(B)?n.nodeToTempPositionMapHorizontal.set(B,n.idToNodeMap.get(n.dummyToNodeForVerticalAlignment.get(B)[0]).getCenterX()):n.nodeToTempPositionMapHorizontal.set(B,n.idToNodeMap.get(B).getCenterX())),n.nodeToRelativeConstraintMapHorizontal.get(X).push({right:B,gap:O.gap}),n.nodeToRelativeConstraintMapHorizontal.get(B).push({left:X,gap:O.gap})}else{var _=R.has(O.top)?R.get(O.top):O.top,lt=R.has(O.bottom)?R.get(O.bottom):O.bottom;n.nodesInRelativeVertical.includes(_)||(n.nodesInRelativeVertical.push(_),n.nodeToRelativeConstraintMapVertical.set(_,[]),n.dummyToNodeForHorizontalAlignment.has(_)?n.nodeToTempPositionMapVertical.set(_,n.idToNodeMap.get(n.dummyToNodeForHorizontalAlignment.get(_)[0]).getCenterY()):n.nodeToTempPositionMapVertical.set(_,n.idToNodeMap.get(_).getCenterY())),n.nodesInRelativeVertical.includes(lt)||(n.nodesInRelativeVertical.push(lt),n.nodeToRelativeConstraintMapVertical.set(lt,[]),n.dummyToNodeForHorizontalAlignment.has(lt)?n.nodeToTempPositionMapVertical.set(lt,n.idToNodeMap.get(n.dummyToNodeForHorizontalAlignment.get(lt)[0]).getCenterY()):n.nodeToTempPositionMapVertical.set(lt,n.idToNodeMap.get(lt).getCenterY())),n.nodeToRelativeConstraintMapVertical.get(_).push({bottom:lt,gap:O.gap}),n.nodeToRelativeConstraintMapVertical.get(lt).push({top:_,gap:O.gap})}});else{var k=new Map,W=new Map;this.constraints.relativePlacementConstraint.forEach(function(O){if(O.left){var X=w.has(O.left)?w.get(O.left):O.left,B=w.has(O.right)?w.get(O.right):O.right;k.has(X)?k.get(X).push(B):k.set(X,[B]),k.has(B)?k.get(B).push(X):k.set(B,[X])}else{var _=R.has(O.top)?R.get(O.top):O.top,lt=R.has(O.bottom)?R.get(O.bottom):O.bottom;W.has(_)?W.get(_).push(lt):W.set(_,[lt]),W.has(lt)?W.get(lt).push(_):W.set(lt,[_])}});var U=function(X,B){var _=[],lt=[],q=new Q,Rt=new Set,Lt=0;return X.forEach(function(dt,it){if(!Rt.has(it)){_[Lt]=[],lt[Lt]=!1;var ut=it;for(q.push(ut),Rt.add(ut),_[Lt].push(ut);q.length!=0;){ut=q.shift(),B.has(ut)&&(lt[Lt]=!0);var Tt=X.get(ut);Tt.forEach(function(Ct){Rt.has(Ct)||(q.push(Ct),Rt.add(Ct),_[Lt].push(Ct))})}Lt++}}),{components:_,isFixed:lt}},et=U(k,n.fixedNodesOnHorizontal);this.componentsOnHorizontal=et.components,this.fixedComponentsOnHorizontal=et.isFixed;var z=U(W,n.fixedNodesOnVertical);this.componentsOnVertical=z.components,this.fixedComponentsOnVertical=z.isFixed}}},D.prototype.updateDisplacements=function(){var n=this;if(this.constraints.fixedNodeConstraint&&this.constraints.fixedNodeConstraint.forEach(function(z){var O=n.idToNodeMap.get(z.nodeId);O.displacementX=0,O.displacementY=0}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var m=this.constraints.alignmentConstraint.vertical,d=0;d1){var R;for(R=0;RE&&(E=Math.floor(w.y)),I=Math.floor(w.x+o.DEFAULT_COMPONENT_SEPERATION)}this.transform(new v(T.WORLD_CENTER_X-w.x/2,T.WORLD_CENTER_Y-w.y/2))},D.radialLayout=function(n,m,d){var E=Math.max(this.maxDiagonalInTree(n),o.DEFAULT_RADIAL_SEPARATION);D.branchRadialLayout(m,null,0,359,0,E);var p=J.calculateBounds(n),I=new V;I.setDeviceOrgX(p.getMinX()),I.setDeviceOrgY(p.getMinY()),I.setWorldOrgX(d.x),I.setWorldOrgY(d.y);for(var w=0;w1;){var B=X[0];X.splice(0,1);var _=W.indexOf(B);_>=0&&W.splice(_,1),z--,U--}m!=null?O=(W.indexOf(X[0])+1)%z:O=0;for(var lt=Math.abs(E-d)/U,q=O;et!=U;q=++q%z){var Rt=W[q].getOtherEnd(n);if(Rt!=m){var Lt=(d+et*lt)%360,dt=(Lt+lt)%360;D.branchRadialLayout(Rt,n,Lt,dt,p+I,I),et++}}},D.maxDiagonalInTree=function(n){for(var m=A.MIN_VALUE,d=0;dm&&(m=p)}return m},D.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},D.prototype.groupZeroDegreeMembers=function(){var n=this,m={};this.memberGroups={},this.idToDummyNode={};for(var d=[],E=this.graphManager.getAllNodes(),p=0;p"u"&&(m[R]=[]),m[R]=m[R].concat(I)}Object.keys(m).forEach(function(H){if(m[H].length>1){var x="DummyCompound_"+H;n.memberGroups[x]=m[H];var k=m[H][0].getParent(),W=new t(n.graphManager);W.id=x,W.paddingLeft=k.paddingLeft||0,W.paddingRight=k.paddingRight||0,W.paddingBottom=k.paddingBottom||0,W.paddingTop=k.paddingTop||0,n.idToDummyNode[x]=W;var U=n.getGraphManager().add(n.newGraph(),W),et=k.getChild();et.add(W);for(var z=0;zp?(E.rect.x-=(E.labelWidth-p)/2,E.setWidth(E.labelWidth),E.labelMarginLeft=(E.labelWidth-p)/2):E.labelPosHorizontal=="right"&&E.setWidth(p+E.labelWidth)),E.labelHeight&&(E.labelPosVertical=="top"?(E.rect.y-=E.labelHeight,E.setHeight(I+E.labelHeight),E.labelMarginTop=E.labelHeight):E.labelPosVertical=="center"&&E.labelHeight>I?(E.rect.y-=(E.labelHeight-I)/2,E.setHeight(E.labelHeight),E.labelMarginTop=(E.labelHeight-I)/2):E.labelPosVertical=="bottom"&&E.setHeight(I+E.labelHeight))}})},D.prototype.repopulateCompounds=function(){for(var n=this.compoundOrder.length-1;n>=0;n--){var m=this.compoundOrder[n],d=m.id,E=m.paddingLeft,p=m.paddingTop,I=m.labelMarginLeft,w=m.labelMarginTop;this.adjustLocations(this.tiledMemberPack[d],m.rect.x,m.rect.y,E,p,I,w)}},D.prototype.repopulateZeroDegreeMembers=function(){var n=this,m=this.tiledZeroDegreePack;Object.keys(m).forEach(function(d){var E=n.idToDummyNode[d],p=E.paddingLeft,I=E.paddingTop,w=E.labelMarginLeft,R=E.labelMarginTop;n.adjustLocations(m[d],E.rect.x,E.rect.y,p,I,w,R)})},D.prototype.getToBeTiled=function(n){var m=n.id;if(this.toBeTiled[m]!=null)return this.toBeTiled[m];var d=n.getChild();if(d==null)return this.toBeTiled[m]=!1,!1;for(var E=d.getNodes(),p=0;p0)return this.toBeTiled[m]=!1,!1;if(I.getChild()==null){this.toBeTiled[I.id]=!1;continue}if(!this.getToBeTiled(I))return this.toBeTiled[m]=!1,!1}return this.toBeTiled[m]=!0,!0},D.prototype.getNodeDegree=function(n){n.id;for(var m=n.getEdges(),d=0,E=0;Ek&&(k=U.rect.height)}d+=k+n.verticalPadding}},D.prototype.tileCompoundMembers=function(n,m){var d=this;this.tiledMemberPack=[],Object.keys(n).forEach(function(E){var p=m[E];if(d.tiledMemberPack[E]=d.tileNodes(n[E],p.paddingLeft+p.paddingRight),p.rect.width=d.tiledMemberPack[E].width,p.rect.height=d.tiledMemberPack[E].height,p.setCenter(d.tiledMemberPack[E].centerX,d.tiledMemberPack[E].centerY),p.labelMarginLeft=0,p.labelMarginTop=0,o.NODE_DIMENSIONS_INCLUDE_LABELS){var I=p.rect.width,w=p.rect.height;p.labelWidth&&(p.labelPosHorizontal=="left"?(p.rect.x-=p.labelWidth,p.setWidth(I+p.labelWidth),p.labelMarginLeft=p.labelWidth):p.labelPosHorizontal=="center"&&p.labelWidth>I?(p.rect.x-=(p.labelWidth-I)/2,p.setWidth(p.labelWidth),p.labelMarginLeft=(p.labelWidth-I)/2):p.labelPosHorizontal=="right"&&p.setWidth(I+p.labelWidth)),p.labelHeight&&(p.labelPosVertical=="top"?(p.rect.y-=p.labelHeight,p.setHeight(w+p.labelHeight),p.labelMarginTop=p.labelHeight):p.labelPosVertical=="center"&&p.labelHeight>w?(p.rect.y-=(p.labelHeight-w)/2,p.setHeight(p.labelHeight),p.labelMarginTop=(p.labelHeight-w)/2):p.labelPosVertical=="bottom"&&p.setHeight(w+p.labelHeight))}})},D.prototype.tileNodes=function(n,m){var d=this.tileNodesByFavoringDim(n,m,!0),E=this.tileNodesByFavoringDim(n,m,!1),p=this.getOrgRatio(d),I=this.getOrgRatio(E),w;return IR&&(R=z.getWidth())});var H=I/p,x=w/p,k=Math.pow(d-E,2)+4*(H+E)*(x+d)*p,W=(E-d+Math.sqrt(k))/(2*(H+E)),U;m?(U=Math.ceil(W),U==W&&U++):U=Math.floor(W);var et=U*(H+E)-E;return R>et&&(et=R),et+=E*2,et},D.prototype.tileNodesByFavoringDim=function(n,m,d){var E=o.TILING_PADDING_VERTICAL,p=o.TILING_PADDING_HORIZONTAL,I=o.TILING_COMPARE_BY,w={rows:[],rowWidth:[],rowHeight:[],width:0,height:m,verticalPadding:E,horizontalPadding:p,centerX:0,centerY:0};I&&(w.idealRowWidth=this.calcIdealRowWidth(n,d));var R=function(O){return O.rect.width*O.rect.height},H=function(O,X){return R(X)-R(O)};n.sort(function(z,O){var X=H;return w.idealRowWidth?(X=I,X(z.id,O.id)):X(z,O)});for(var x=0,k=0,W=0;W0&&(w+=n.horizontalPadding),n.rowWidth[d]=w,n.width0&&(R+=n.verticalPadding);var H=0;R>n.rowHeight[d]&&(H=n.rowHeight[d],n.rowHeight[d]=R,H=n.rowHeight[d]-H),n.height+=H,n.rows[d].push(m)},D.prototype.getShortestRowIndex=function(n){for(var m=-1,d=Number.MAX_VALUE,E=0;Ed&&(m=E,d=n.rowWidth[E]);return m},D.prototype.canAddHorizontal=function(n,m,d){if(n.idealRowWidth){var E=n.rows.length-1,p=n.rowWidth[E];return p+m+n.horizontalPadding<=n.idealRowWidth}var I=this.getShortestRowIndex(n);if(I<0)return!0;var w=n.rowWidth[I];if(w+n.horizontalPadding+m<=n.width)return!0;var R=0;n.rowHeight[I]0&&(R=d+n.verticalPadding-n.rowHeight[I]);var H;n.width-w>=m+n.horizontalPadding?H=(n.height+R)/(w+m+n.horizontalPadding):H=(n.height+R)/n.width,R=d+n.verticalPadding;var x;return n.widthI&&m!=d){E.splice(-1,1),n.rows[d].push(p),n.rowWidth[m]=n.rowWidth[m]-I,n.rowWidth[d]=n.rowWidth[d]+I,n.width=n.rowWidth[instance.getLongestRowIndex(n)];for(var w=Number.MIN_VALUE,R=0;Rw&&(w=E[R].height);m>0&&(w+=n.verticalPadding);var H=n.rowHeight[m]+n.rowHeight[d];n.rowHeight[m]=w,n.rowHeight[d]0)for(var et=p;et<=I;et++)U[0]+=this.grid[et][w-1].length+this.grid[et][w].length-1;if(I0)for(var et=w;et<=R;et++)U[3]+=this.grid[p-1][et].length+this.grid[p][et].length-1;for(var z=A.MAX_VALUE,O,X,B=0;B{var f=e(551).FDLayoutNode,a=e(551).IMath;function y(h,o,c,l){f.call(this,h,o,c,l)}y.prototype=Object.create(f.prototype);for(var t in f)y[t]=f[t];y.prototype.calculateDisplacement=function(){var h=this.graphManager.getLayout();this.getChild()!=null&&this.fixedNodeWeight?(this.displacementX+=h.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.fixedNodeWeight,this.displacementY+=h.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.fixedNodeWeight):(this.displacementX+=h.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY+=h.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren),Math.abs(this.displacementX)>h.coolingFactor*h.maxNodeDisplacement&&(this.displacementX=h.coolingFactor*h.maxNodeDisplacement*a.sign(this.displacementX)),Math.abs(this.displacementY)>h.coolingFactor*h.maxNodeDisplacement&&(this.displacementY=h.coolingFactor*h.maxNodeDisplacement*a.sign(this.displacementY)),this.child&&this.child.getNodes().length>0&&this.propogateDisplacementToChildren(this.displacementX,this.displacementY)},y.prototype.propogateDisplacementToChildren=function(h,o){for(var c=this.getChild().getNodes(),l,T=0;T{function f(c){if(Array.isArray(c)){for(var l=0,T=Array(c.length);l0){var Mt=0;st.forEach(function(ht){$=="horizontal"?(tt.set(ht,u.has(ht)?v[u.get(ht)]:Z.get(ht)),Mt+=tt.get(ht)):(tt.set(ht,u.has(ht)?L[u.get(ht)]:Z.get(ht)),Mt+=tt.get(ht))}),Mt=Mt/st.length,ft.forEach(function(ht){K.has(ht)||tt.set(ht,Mt)})}else{var ct=0;ft.forEach(function(ht){$=="horizontal"?ct+=u.has(ht)?v[u.get(ht)]:Z.get(ht):ct+=u.has(ht)?L[u.get(ht)]:Z.get(ht)}),ct=ct/ft.length,ft.forEach(function(ht){tt.set(ht,ct)})}});for(var wt=function(){var st=vt.shift(),Mt=b.get(st);Mt.forEach(function(ct){if(tt.get(ct.id)ht&&(ht=qt),_tWt&&(Wt=_t)}}catch(ie){At=!0,Zt=ie}finally{try{!Nt&&Gt.return&&Gt.return()}finally{if(At)throw Zt}}var ce=(Mt+ht)/2-(ct+Wt)/2,Kt=!0,te=!1,ee=void 0;try{for(var jt=ft[Symbol.iterator](),se;!(Kt=(se=jt.next()).done);Kt=!0){var re=se.value;tt.set(re,tt.get(re)+ce)}}catch(ie){te=!0,ee=ie}finally{try{!Kt&&jt.return&&jt.return()}finally{if(te)throw ee}}})}return tt},rt=function(b){var $=0,K=0,Z=0,at=0;if(b.forEach(function(j){j.left?v[u.get(j.left)]-v[u.get(j.right)]>=0?$++:K++:L[u.get(j.top)]-L[u.get(j.bottom)]>=0?Z++:at++}),$>K&&Z>at)for(var gt=0;gtK)for(var ot=0;otat)for(var tt=0;tt1)l.fixedNodeConstraint.forEach(function(S,b){E[b]=[S.position.x,S.position.y],p[b]=[v[u.get(S.nodeId)],L[u.get(S.nodeId)]]}),I=!0;else if(l.alignmentConstraint)(function(){var S=0;if(l.alignmentConstraint.vertical){for(var b=l.alignmentConstraint.vertical,$=function(tt){var j=new Set;b[tt].forEach(function(yt){j.add(yt)});var vt=new Set([].concat(f(j)).filter(function(yt){return R.has(yt)})),wt=void 0;vt.size>0?wt=v[u.get(vt.values().next().value)]:wt=Q(j).x,b[tt].forEach(function(yt){E[S]=[wt,L[u.get(yt)]],p[S]=[v[u.get(yt)],L[u.get(yt)]],S++})},K=0;K0?wt=v[u.get(vt.values().next().value)]:wt=Q(j).y,Z[tt].forEach(function(yt){E[S]=[v[u.get(yt)],wt],p[S]=[v[u.get(yt)],L[u.get(yt)]],S++})},gt=0;gtW&&(W=k[et].length,U=et);if(W0){var mt={x:0,y:0};l.fixedNodeConstraint.forEach(function(S,b){var $={x:v[u.get(S.nodeId)],y:L[u.get(S.nodeId)]},K=S.position,Z=V(K,$);mt.x+=Z.x,mt.y+=Z.y}),mt.x/=l.fixedNodeConstraint.length,mt.y/=l.fixedNodeConstraint.length,v.forEach(function(S,b){v[b]+=mt.x}),L.forEach(function(S,b){L[b]+=mt.y}),l.fixedNodeConstraint.forEach(function(S){v[u.get(S.nodeId)]=S.position.x,L[u.get(S.nodeId)]=S.position.y})}if(l.alignmentConstraint){if(l.alignmentConstraint.vertical)for(var xt=l.alignmentConstraint.vertical,St=function(b){var $=new Set;xt[b].forEach(function(at){$.add(at)});var K=new Set([].concat(f($)).filter(function(at){return R.has(at)})),Z=void 0;K.size>0?Z=v[u.get(K.values().next().value)]:Z=Q($).x,$.forEach(function(at){R.has(at)||(v[u.get(at)]=Z)})},Vt=0;Vt0?Z=L[u.get(K.values().next().value)]:Z=Q($).y,$.forEach(function(at){R.has(at)||(L[u.get(at)]=Z)})},bt=0;bt{i.exports=C}},N={};function g(i){var r=N[i];if(r!==void 0)return r.exports;var e=N[i]={exports:{}};return G[i](e,e.exports,g),e.exports}var s=g(45);return s})()})}(pe)),pe.exports}(function(M,Y){(function(G,N){M.exports=N(cr())})(Te,function(C){return(()=>{var G={658:i=>{i.exports=Object.assign!=null?Object.assign.bind(Object):function(r){for(var e=arguments.length,f=Array(e>1?e-1:0),a=1;a{var f=function(){function t(h,o){var c=[],l=!0,T=!1,u=void 0;try{for(var v=h[Symbol.iterator](),L;!(l=(L=v.next()).done)&&(c.push(L.value),!(o&&c.length===o));l=!0);}catch(F){T=!0,u=F}finally{try{!l&&v.return&&v.return()}finally{if(T)throw u}}return c}return function(h,o){if(Array.isArray(h))return h;if(Symbol.iterator in Object(h))return t(h,o);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=e(140).layoutBase.LinkedList,y={};y.getTopMostNodes=function(t){for(var h={},o=0;o0&&I.merge(x)});for(var w=0;w1){L=u[0],F=L.connectedEdges().length,u.forEach(function(p){p.connectedEdges().length0&&c.set("dummy"+(c.size+1),J),V},y.relocateComponent=function(t,h,o){if(!o.fixedNodeConstraint){var c=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY,T=Number.POSITIVE_INFINITY,u=Number.NEGATIVE_INFINITY;if(o.quality=="draft"){var v=!0,L=!1,F=void 0;try{for(var A=h.nodeIndexes[Symbol.iterator](),P;!(v=(P=A.next()).done);v=!0){var J=P.value,V=f(J,2),Q=V[0],D=V[1],rt=o.cy.getElementById(Q);if(rt){var n=rt.boundingBox(),m=h.xCoords[D]-n.w/2,d=h.xCoords[D]+n.w/2,E=h.yCoords[D]-n.h/2,p=h.yCoords[D]+n.h/2;ml&&(l=d),Eu&&(u=p)}}}catch(x){L=!0,F=x}finally{try{!v&&A.return&&A.return()}finally{if(L)throw F}}var I=t.x-(l+c)/2,w=t.y-(u+T)/2;h.xCoords=h.xCoords.map(function(x){return x+I}),h.yCoords=h.yCoords.map(function(x){return x+w})}else{Object.keys(h).forEach(function(x){var k=h[x],W=k.getRect().x,U=k.getRect().x+k.getRect().width,et=k.getRect().y,z=k.getRect().y+k.getRect().height;Wl&&(l=U),etu&&(u=z)});var R=t.x-(l+c)/2,H=t.y-(u+T)/2;Object.keys(h).forEach(function(x){var k=h[x];k.setCenter(k.getCenterX()+R,k.getCenterY()+H)})}}},y.calcBoundingBox=function(t,h,o,c){for(var l=Number.MAX_SAFE_INTEGER,T=Number.MIN_SAFE_INTEGER,u=Number.MAX_SAFE_INTEGER,v=Number.MIN_SAFE_INTEGER,L=void 0,F=void 0,A=void 0,P=void 0,J=t.descendants().not(":parent"),V=J.length,Q=0;QL&&(l=L),TA&&(u=A),v{var f=e(548),a=e(140).CoSELayout,y=e(140).CoSENode,t=e(140).layoutBase.PointD,h=e(140).layoutBase.DimensionD,o=e(140).layoutBase.LayoutConstants,c=e(140).layoutBase.FDLayoutConstants,l=e(140).CoSEConstants,T=function(v,L){var F=v.cy,A=v.eles,P=A.nodes(),J=A.edges(),V=void 0,Q=void 0,D=void 0,rt={};v.randomize&&(V=L.nodeIndexes,Q=L.xCoords,D=L.yCoords);var n=function(x){return typeof x=="function"},m=function(x,k){return n(x)?x(k):x},d=f.calcParentsWithoutChildren(F,A),E=function H(x,k,W,U){for(var et=k.length,z=0;z0){var q=void 0;q=W.getGraphManager().add(W.newGraph(),B),H(q,X,W,U)}}},p=function(x,k,W){for(var U=0,et=0,z=0;z0?l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=U/et:n(v.idealEdgeLength)?l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=50:l.DEFAULT_EDGE_LENGTH=c.DEFAULT_EDGE_LENGTH=v.idealEdgeLength,l.MIN_REPULSION_DIST=c.MIN_REPULSION_DIST=c.DEFAULT_EDGE_LENGTH/10,l.DEFAULT_RADIAL_SEPARATION=c.DEFAULT_EDGE_LENGTH)},I=function(x,k){k.fixedNodeConstraint&&(x.constraints.fixedNodeConstraint=k.fixedNodeConstraint),k.alignmentConstraint&&(x.constraints.alignmentConstraint=k.alignmentConstraint),k.relativePlacementConstraint&&(x.constraints.relativePlacementConstraint=k.relativePlacementConstraint)};v.nestingFactor!=null&&(l.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=c.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=v.nestingFactor),v.gravity!=null&&(l.DEFAULT_GRAVITY_STRENGTH=c.DEFAULT_GRAVITY_STRENGTH=v.gravity),v.numIter!=null&&(l.MAX_ITERATIONS=c.MAX_ITERATIONS=v.numIter),v.gravityRange!=null&&(l.DEFAULT_GRAVITY_RANGE_FACTOR=c.DEFAULT_GRAVITY_RANGE_FACTOR=v.gravityRange),v.gravityCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_STRENGTH=c.DEFAULT_COMPOUND_GRAVITY_STRENGTH=v.gravityCompound),v.gravityRangeCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=c.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=v.gravityRangeCompound),v.initialEnergyOnIncremental!=null&&(l.DEFAULT_COOLING_FACTOR_INCREMENTAL=c.DEFAULT_COOLING_FACTOR_INCREMENTAL=v.initialEnergyOnIncremental),v.tilingCompareBy!=null&&(l.TILING_COMPARE_BY=v.tilingCompareBy),v.quality=="proof"?o.QUALITY=2:o.QUALITY=0,l.NODE_DIMENSIONS_INCLUDE_LABELS=c.NODE_DIMENSIONS_INCLUDE_LABELS=o.NODE_DIMENSIONS_INCLUDE_LABELS=v.nodeDimensionsIncludeLabels,l.DEFAULT_INCREMENTAL=c.DEFAULT_INCREMENTAL=o.DEFAULT_INCREMENTAL=!v.randomize,l.ANIMATE=c.ANIMATE=o.ANIMATE=v.animate,l.TILE=v.tile,l.TILING_PADDING_VERTICAL=typeof v.tilingPaddingVertical=="function"?v.tilingPaddingVertical.call():v.tilingPaddingVertical,l.TILING_PADDING_HORIZONTAL=typeof v.tilingPaddingHorizontal=="function"?v.tilingPaddingHorizontal.call():v.tilingPaddingHorizontal,l.DEFAULT_INCREMENTAL=c.DEFAULT_INCREMENTAL=o.DEFAULT_INCREMENTAL=!0,l.PURE_INCREMENTAL=!v.randomize,o.DEFAULT_UNIFORM_LEAF_NODE_SIZES=v.uniformNodeDimensions,v.step=="transformed"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,l.ENFORCE_CONSTRAINTS=!1,l.APPLY_LAYOUT=!1),v.step=="enforced"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!0,l.APPLY_LAYOUT=!1),v.step=="cose"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!1,l.APPLY_LAYOUT=!0),v.step=="all"&&(v.randomize?l.TRANSFORM_ON_CONSTRAINT_HANDLING=!0:l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!0,l.APPLY_LAYOUT=!0),v.fixedNodeConstraint||v.alignmentConstraint||v.relativePlacementConstraint?l.TREE_REDUCTION_ON_INCREMENTAL=!1:l.TREE_REDUCTION_ON_INCREMENTAL=!0;var w=new a,R=w.newGraphManager();return E(R.addRoot(),f.getTopMostNodes(P),w,v),p(w,R,J),I(w,v),w.runLayout(),rt};i.exports={coseLayout:T}},212:(i,r,e)=>{var f=function(){function v(L,F){for(var A=0;A0)if(d){var I=t.getTopMostNodes(A.eles.nodes());if(D=t.connectComponents(P,A.eles,I),D.forEach(function(dt){var it=dt.boundingBox();rt.push({x:it.x1+it.w/2,y:it.y1+it.h/2})}),A.randomize&&D.forEach(function(dt){A.eles=dt,V.push(o(A))}),A.quality=="default"||A.quality=="proof"){var w=P.collection();if(A.tile){var R=new Map,H=[],x=[],k=0,W={nodeIndexes:R,xCoords:H,yCoords:x},U=[];if(D.forEach(function(dt,it){dt.edges().length==0&&(dt.nodes().forEach(function(ut,Tt){w.merge(dt.nodes()[Tt]),ut.isParent()||(W.nodeIndexes.set(dt.nodes()[Tt].id(),k++),W.xCoords.push(dt.nodes()[0].position().x),W.yCoords.push(dt.nodes()[0].position().y))}),U.push(it))}),w.length>1){var et=w.boundingBox();rt.push({x:et.x1+et.w/2,y:et.y1+et.h/2}),D.push(w),V.push(W);for(var z=U.length-1;z>=0;z--)D.splice(U[z],1),V.splice(U[z],1),rt.splice(U[z],1)}}D.forEach(function(dt,it){A.eles=dt,Q.push(l(A,V[it])),t.relocateComponent(rt[it],Q[it],A)})}else D.forEach(function(dt,it){t.relocateComponent(rt[it],V[it],A)});var O=new Set;if(D.length>1){var X=[],B=J.filter(function(dt){return dt.css("display")=="none"});D.forEach(function(dt,it){var ut=void 0;if(A.quality=="draft"&&(ut=V[it].nodeIndexes),dt.nodes().not(B).length>0){var Tt={};Tt.edges=[],Tt.nodes=[];var Ct=void 0;dt.nodes().not(B).forEach(function(Dt){if(A.quality=="draft")if(!Dt.isParent())Ct=ut.get(Dt.id()),Tt.nodes.push({x:V[it].xCoords[Ct]-Dt.boundingbox().w/2,y:V[it].yCoords[Ct]-Dt.boundingbox().h/2,width:Dt.boundingbox().w,height:Dt.boundingbox().h});else{var mt=t.calcBoundingBox(Dt,V[it].xCoords,V[it].yCoords,ut);Tt.nodes.push({x:mt.topLeftX,y:mt.topLeftY,width:mt.width,height:mt.height})}else Q[it][Dt.id()]&&Tt.nodes.push({x:Q[it][Dt.id()].getLeft(),y:Q[it][Dt.id()].getTop(),width:Q[it][Dt.id()].getWidth(),height:Q[it][Dt.id()].getHeight()})}),dt.edges().forEach(function(Dt){var mt=Dt.source(),xt=Dt.target();if(mt.css("display")!="none"&&xt.css("display")!="none")if(A.quality=="draft"){var St=ut.get(mt.id()),Vt=ut.get(xt.id()),Xt=[],Ut=[];if(mt.isParent()){var bt=t.calcBoundingBox(mt,V[it].xCoords,V[it].yCoords,ut);Xt.push(bt.topLeftX+bt.width/2),Xt.push(bt.topLeftY+bt.height/2)}else Xt.push(V[it].xCoords[St]),Xt.push(V[it].yCoords[St]);if(xt.isParent()){var Ht=t.calcBoundingBox(xt,V[it].xCoords,V[it].yCoords,ut);Ut.push(Ht.topLeftX+Ht.width/2),Ut.push(Ht.topLeftY+Ht.height/2)}else Ut.push(V[it].xCoords[Vt]),Ut.push(V[it].yCoords[Vt]);Tt.edges.push({startX:Xt[0],startY:Xt[1],endX:Ut[0],endY:Ut[1]})}else Q[it][mt.id()]&&Q[it][xt.id()]&&Tt.edges.push({startX:Q[it][mt.id()].getCenterX(),startY:Q[it][mt.id()].getCenterY(),endX:Q[it][xt.id()].getCenterX(),endY:Q[it][xt.id()].getCenterY()})}),Tt.nodes.length>0&&(X.push(Tt),O.add(it))}});var _=m.packComponents(X,A.randomize).shifts;if(A.quality=="draft")V.forEach(function(dt,it){var ut=dt.xCoords.map(function(Ct){return Ct+_[it].dx}),Tt=dt.yCoords.map(function(Ct){return Ct+_[it].dy});dt.xCoords=ut,dt.yCoords=Tt});else{var lt=0;O.forEach(function(dt){Object.keys(Q[dt]).forEach(function(it){var ut=Q[dt][it];ut.setCenter(ut.getCenterX()+_[lt].dx,ut.getCenterY()+_[lt].dy)}),lt++})}}}else{var E=A.eles.boundingBox();if(rt.push({x:E.x1+E.w/2,y:E.y1+E.h/2}),A.randomize){var p=o(A);V.push(p)}A.quality=="default"||A.quality=="proof"?(Q.push(l(A,V[0])),t.relocateComponent(rt[0],Q[0],A)):t.relocateComponent(rt[0],V[0],A)}var q=function(it,ut){if(A.quality=="default"||A.quality=="proof"){typeof it=="number"&&(it=ut);var Tt=void 0,Ct=void 0,Dt=it.data("id");return Q.forEach(function(xt){Dt in xt&&(Tt={x:xt[Dt].getRect().getCenterX(),y:xt[Dt].getRect().getCenterY()},Ct=xt[Dt])}),A.nodeDimensionsIncludeLabels&&(Ct.labelWidth&&(Ct.labelPosHorizontal=="left"?Tt.x+=Ct.labelWidth/2:Ct.labelPosHorizontal=="right"&&(Tt.x-=Ct.labelWidth/2)),Ct.labelHeight&&(Ct.labelPosVertical=="top"?Tt.y+=Ct.labelHeight/2:Ct.labelPosVertical=="bottom"&&(Tt.y-=Ct.labelHeight/2))),Tt==null&&(Tt={x:it.position("x"),y:it.position("y")}),{x:Tt.x,y:Tt.y}}else{var mt=void 0;return V.forEach(function(xt){var St=xt.nodeIndexes.get(it.id());St!=null&&(mt={x:xt.xCoords[St],y:xt.yCoords[St]})}),mt==null&&(mt={x:it.position("x"),y:it.position("y")}),{x:mt.x,y:mt.y}}};if(A.quality=="default"||A.quality=="proof"||A.randomize){var Rt=t.calcParentsWithoutChildren(P,J),Lt=J.filter(function(dt){return dt.css("display")=="none"});A.eles=J.not(Lt),J.nodes().not(":parent").not(Lt).layoutPositions(F,A,q),Rt.length>0&&Rt.forEach(function(dt){dt.position(q(dt))})}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")}}]),v}();i.exports=u},657:(i,r,e)=>{var f=e(548),a=e(140).layoutBase.Matrix,y=e(140).layoutBase.SVD,t=function(o){var c=o.cy,l=o.eles,T=l.nodes(),u=l.nodes(":parent"),v=new Map,L=new Map,F=new Map,A=[],P=[],J=[],V=[],Q=[],D=[],rt=[],n=[],m=void 0,d=1e8,E=1e-9,p=o.piTol,I=o.samplingType,w=o.nodeSeparation,R=void 0,H=function(){for(var b=0,$=0,K=!1;$=at;){ot=Z[at++];for(var It=A[ot],ft=0;ftvt&&(vt=Q[Mt],wt=Mt)}return wt},k=function(b){var $=void 0;if(b){$=Math.floor(Math.random()*m);for(var Z=0;Z=1)break;j=tt}for(var yt=0;yt=1)break;j=tt}for(var ft=0;ft0&&($.isParent()?A[b].push(F.get($.id())):A[b].push($.id()))})});var Lt=function(b){var $=L.get(b),K=void 0;v.get(b).forEach(function(Z){c.getElementById(Z).isParent()?K=F.get(Z):K=Z,A[$].push(K),A[L.get(K)].push(b)})},dt=!0,it=!1,ut=void 0;try{for(var Tt=v.keys()[Symbol.iterator](),Ct;!(dt=(Ct=Tt.next()).done);dt=!0){var Dt=Ct.value;Lt(Dt)}}catch(S){it=!0,ut=S}finally{try{!dt&&Tt.return&&Tt.return()}finally{if(it)throw ut}}m=L.size;var mt=void 0;if(m>2){R=m{var f=e(212),a=function(t){t&&t("layout","fcose",f)};typeof cytoscape<"u"&&a(cytoscape),i.exports=a},140:i=>{i.exports=C}},N={};function g(i){var r=N[i];if(r!==void 0)return r.exports;var e=N[i]={exports:{}};return G[i](e,e.exports,g),e.exports}var s=g(579);return s})()})})(be);var gr=be.exports;const ur=ke(gr);var xe={L:"left",R:"right",T:"top",B:"bottom"},Ie={L:nt(M=>`${M},${M/2} 0,${M} 0,0`,"L"),R:nt(M=>`0,${M/2} ${M},0 ${M},${M}`,"R"),T:nt(M=>`0,0 ${M},0 ${M/2},${M}`,"T"),B:nt(M=>`${M/2},0 ${M},${M} 0,${M}`,"B")},he={L:nt((M,Y)=>M-Y+2,"L"),R:nt((M,Y)=>M-2,"R"),T:nt((M,Y)=>M-Y+2,"T"),B:nt((M,Y)=>M-2,"B")},vr=nt(function(M){return zt(M)?M==="L"?"R":"L":M==="T"?"B":"T"},"getOppositeArchitectureDirection"),Re=nt(function(M){const Y=M;return Y==="L"||Y==="R"||Y==="T"||Y==="B"},"isArchitectureDirection"),zt=nt(function(M){const Y=M;return Y==="L"||Y==="R"},"isArchitectureDirectionX"),Qt=nt(function(M){const Y=M;return Y==="T"||Y==="B"},"isArchitectureDirectionY"),Pe=nt(function(M,Y){const C=zt(M)&&Qt(Y),G=Qt(M)&&zt(Y);return C||G},"isArchitectureDirectionXY"),dr=nt(function(M){const Y=M[0],C=M[1],G=zt(Y)&&Qt(C),N=Qt(Y)&&zt(C);return G||N},"isArchitecturePairXY"),pr=nt(function(M){return M!=="LL"&&M!=="RR"&&M!=="TT"&&M!=="BB"},"isValidArchitectureDirectionPair"),me=nt(function(M,Y){const C=`${M}${Y}`;return pr(C)?C:void 0},"getArchitectureDirectionPair"),yr=nt(function([M,Y],C){const G=C[0],N=C[1];return zt(G)?Qt(N)?[M+(G==="L"?-1:1),Y+(N==="T"?1:-1)]:[M+(G==="L"?-1:1),Y]:zt(N)?[M+(N==="L"?1:-1),Y+(G==="T"?1:-1)]:[M,Y+(G==="T"?1:-1)]},"shiftPositionByArchitectureDirectionPair"),Er=nt(function(M){return M==="LT"||M==="TL"?[1,1]:M==="BL"||M==="LB"?[1,-1]:M==="BR"||M==="RB"?[-1,-1]:[-1,1]},"getArchitectureDirectionXYFactors"),mr=nt(function(M){return M.type==="service"},"isArchitectureService"),Tr=nt(function(M){return M.type==="junction"},"isArchitectureJunction"),Ge=nt(M=>M.data(),"edgeData"),ne=nt(M=>M.data(),"nodeData"),Ue=qe.architecture,pt=new hr(()=>({nodes:{},groups:{},edges:[],registeredIds:{},config:Ue,dataStructures:void 0,elements:{}})),Nr=nt(()=>{pt.reset(),ar()},"clear"),Lr=nt(function({id:M,icon:Y,in:C,title:G,iconText:N}){if(pt.records.registeredIds[M]!==void 0)throw new Error(`The service id [${M}] is already in use by another ${pt.records.registeredIds[M]}`);if(C!==void 0){if(M===C)throw new Error(`The service [${M}] cannot be placed within itself`);if(pt.records.registeredIds[C]===void 0)throw new Error(`The service [${M}]'s parent does not exist. Please make sure the parent is created before this service`);if(pt.records.registeredIds[C]==="node")throw new Error(`The service [${M}]'s parent is not a group`)}pt.records.registeredIds[M]="node",pt.records.nodes[M]={id:M,type:"service",icon:Y,iconText:N,title:G,edges:[],in:C}},"addService"),Mr=nt(()=>Object.values(pt.records.nodes).filter(mr),"getServices"),Ar=nt(function({id:M,in:Y}){pt.records.registeredIds[M]="node",pt.records.nodes[M]={id:M,type:"junction",edges:[],in:Y}},"addJunction"),Cr=nt(()=>Object.values(pt.records.nodes).filter(Tr),"getJunctions"),wr=nt(()=>Object.values(pt.records.nodes),"getNodes"),Or=nt(M=>pt.records.nodes[M],"getNode"),Dr=nt(function({id:M,icon:Y,in:C,title:G}){if(pt.records.registeredIds[M]!==void 0)throw new Error(`The group id [${M}] is already in use by another ${pt.records.registeredIds[M]}`);if(C!==void 0){if(M===C)throw new Error(`The group [${M}] cannot be placed within itself`);if(pt.records.registeredIds[C]===void 0)throw new Error(`The group [${M}]'s parent does not exist. Please make sure the parent is created before this group`);if(pt.records.registeredIds[C]==="node")throw new Error(`The group [${M}]'s parent is not a group`)}pt.records.registeredIds[M]="group",pt.records.groups[M]={id:M,icon:Y,title:G,in:C}},"addGroup"),xr=nt(()=>Object.values(pt.records.groups),"getGroups"),Ir=nt(function({lhsId:M,rhsId:Y,lhsDir:C,rhsDir:G,lhsInto:N,rhsInto:g,lhsGroup:s,rhsGroup:i,title:r}){if(!Re(C))throw new Error(`Invalid direction given for left hand side of edge ${M}--${Y}. Expected (L,R,T,B) got ${C}`);if(!Re(G))throw new Error(`Invalid direction given for right hand side of edge ${M}--${Y}. Expected (L,R,T,B) got ${G}`);if(pt.records.nodes[M]===void 0&&pt.records.groups[M]===void 0)throw new Error(`The left-hand id [${M}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(pt.records.nodes[Y]===void 0&&pt.records.groups[M]===void 0)throw new Error(`The right-hand id [${Y}] does not yet exist. Please create the service/group before declaring an edge to it.`);const e=pt.records.nodes[M].in,f=pt.records.nodes[Y].in;if(s&&e&&f&&e==f)throw new Error(`The left-hand id [${M}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(i&&e&&f&&e==f)throw new Error(`The right-hand id [${Y}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);const a={lhsId:M,lhsDir:C,lhsInto:N,lhsGroup:s,rhsId:Y,rhsDir:G,rhsInto:g,rhsGroup:i,title:r};pt.records.edges.push(a),pt.records.nodes[M]&&pt.records.nodes[Y]&&(pt.records.nodes[M].edges.push(pt.records.edges[pt.records.edges.length-1]),pt.records.nodes[Y].edges.push(pt.records.edges[pt.records.edges.length-1]))},"addEdge"),Rr=nt(()=>pt.records.edges,"getEdges"),Sr=nt(()=>{if(pt.records.dataStructures===void 0){const M=Object.entries(pt.records.nodes).reduce((s,[i,r])=>(s[i]=r.edges.reduce((e,f)=>{if(f.lhsId===i){const a=me(f.lhsDir,f.rhsDir);a&&(e[a]=f.rhsId)}else{const a=me(f.rhsDir,f.lhsDir);a&&(e[a]=f.lhsId)}return e},{}),s),{}),Y=Object.keys(M)[0],C={[Y]:1},G=Object.keys(M).reduce((s,i)=>i===Y?s:{...s,[i]:1},{}),N=nt(s=>{const i={[s]:[0,0]},r=[s];for(;r.length>0;){const e=r.shift();if(e){C[e]=1,delete G[e];const f=M[e],[a,y]=i[e];Object.entries(f).forEach(([t,h])=>{C[h]||(i[h]=yr([a,y],t),r.push(h))})}}return i},"BFS"),g=[N(Y)];for(;Object.keys(G).length>0;)g.push(N(Object.keys(G)[0]));pt.records.dataStructures={adjList:M,spatialMaps:g}}return pt.records.dataStructures},"getDataStructures"),Fr=nt((M,Y)=>{pt.records.elements[M]=Y},"setElementForId"),br=nt(M=>pt.records.elements[M],"getElementById"),le={clear:Nr,setDiagramTitle:Ke,getDiagramTitle:je,setAccTitle:_e,getAccTitle:tr,setAccDescription:er,getAccDescription:rr,addService:Lr,getServices:Mr,addJunction:Ar,getJunctions:Cr,getNodes:wr,getNode:Or,addGroup:Dr,getGroups:xr,addEdge:Ir,getEdges:Rr,setElementForId:Fr,getElementById:br,getDataStructures:Sr};function Pt(M){const Y=fe().architecture;return Y!=null&&Y[M]?Y[M]:Ue[M]}nt(Pt,"getConfigField");var Pr=nt((M,Y)=>{sr(M,Y),M.groups.map(Y.addGroup),M.services.map(C=>Y.addService({...C,type:"service"})),M.junctions.map(C=>Y.addJunction({...C,type:"junction"})),M.edges.map(Y.addEdge)},"populateDb"),Gr={parse:nt(async M=>{const Y=await lr("architecture",M);Se.debug(Y),Pr(Y,le)},"parse")},Ur=nt(M=>` .edge { stroke-width: ${M.archEdgeWidth}; stroke: ${M.archEdgeColor}; diff --git a/assets/blockDiagram-ZHA2E4KO-CcoRJKzX.js b/assets/blockDiagram-ZHA2E4KO-BwVkTNHx.js similarity index 99% rename from assets/blockDiagram-ZHA2E4KO-CcoRJKzX.js rename to assets/blockDiagram-ZHA2E4KO-BwVkTNHx.js index a68472763..4a5bf1713 100644 --- a/assets/blockDiagram-ZHA2E4KO-CcoRJKzX.js +++ b/assets/blockDiagram-ZHA2E4KO-BwVkTNHx.js @@ -1,4 +1,4 @@ -import{_ as d,d as z,l as L,j as R,ah as de,D as at,ai as Z,aj as Yt,ak as ge,u as tt,al as ue,K as pe,k as fe,v as xe,A as ye,Q as be,am as we,an as xt,e as me,i as Tt}from"./index-Dq-yb_Rq.js";import{c as Le}from"./clone-BJk3Zf2Y.js";import{G as Se}from"./graph-IuN8xJxa.js";import{c as ve}from"./channel-SpFC1OZH.js";import"./_baseUniq-4k_gUsXm.js";var yt=function(){var e=d(function(N,x,g,u){for(g=g||{},u=N.length;u--;g[N[u]]=x);return g},"o"),t=[1,7],r=[1,13],n=[1,14],i=[1,15],a=[1,19],s=[1,16],l=[1,17],o=[1,18],f=[8,30],h=[8,21,28,29,30,31,32,40,44,47],y=[1,23],b=[1,24],m=[8,15,16,21,28,29,30,31,32,40,44,47],E=[8,15,16,21,27,28,29,30,31,32,40,44,47],D=[1,49],v={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:d(function(x,g,u,w,S,c,_){var p=c.length-1;switch(S){case 4:w.getLogger().debug("Rule: separator (NL) ");break;case 5:w.getLogger().debug("Rule: separator (Space) ");break;case 6:w.getLogger().debug("Rule: separator (EOF) ");break;case 7:w.getLogger().debug("Rule: hierarchy: ",c[p-1]),w.setHierarchy(c[p-1]);break;case 8:w.getLogger().debug("Stop NL ");break;case 9:w.getLogger().debug("Stop EOF ");break;case 10:w.getLogger().debug("Stop NL2 ");break;case 11:w.getLogger().debug("Stop EOF2 ");break;case 12:w.getLogger().debug("Rule: statement: ",c[p]),typeof c[p].length=="number"?this.$=c[p]:this.$=[c[p]];break;case 13:w.getLogger().debug("Rule: statement #2: ",c[p-1]),this.$=[c[p-1]].concat(c[p]);break;case 14:w.getLogger().debug("Rule: link: ",c[p],x),this.$={edgeTypeStr:c[p],label:""};break;case 15:w.getLogger().debug("Rule: LABEL link: ",c[p-3],c[p-1],c[p]),this.$={edgeTypeStr:c[p],label:c[p-1]};break;case 18:const A=parseInt(c[p]),O=w.generateId();this.$={id:O,type:"space",label:"",width:A,children:[]};break;case 23:w.getLogger().debug("Rule: (nodeStatement link node) ",c[p-2],c[p-1],c[p]," typestr: ",c[p-1].edgeTypeStr);const X=w.edgeStrToEdgeData(c[p-1].edgeTypeStr);this.$=[{id:c[p-2].id,label:c[p-2].label,type:c[p-2].type,directions:c[p-2].directions},{id:c[p-2].id+"-"+c[p].id,start:c[p-2].id,end:c[p].id,label:c[p-1].label,type:"edge",directions:c[p].directions,arrowTypeEnd:X,arrowTypeStart:"arrow_open"},{id:c[p].id,label:c[p].label,type:w.typeStr2Type(c[p].typeStr),directions:c[p].directions}];break;case 24:w.getLogger().debug("Rule: nodeStatement (abc88 node size) ",c[p-1],c[p]),this.$={id:c[p-1].id,label:c[p-1].label,type:w.typeStr2Type(c[p-1].typeStr),directions:c[p-1].directions,widthInColumns:parseInt(c[p],10)};break;case 25:w.getLogger().debug("Rule: nodeStatement (node) ",c[p]),this.$={id:c[p].id,label:c[p].label,type:w.typeStr2Type(c[p].typeStr),directions:c[p].directions,widthInColumns:1};break;case 26:w.getLogger().debug("APA123",this?this:"na"),w.getLogger().debug("COLUMNS: ",c[p]),this.$={type:"column-setting",columns:c[p]==="auto"?-1:parseInt(c[p])};break;case 27:w.getLogger().debug("Rule: id-block statement : ",c[p-2],c[p-1]),w.generateId(),this.$={...c[p-2],type:"composite",children:c[p-1]};break;case 28:w.getLogger().debug("Rule: blockStatement : ",c[p-2],c[p-1],c[p]);const W=w.generateId();this.$={id:W,type:"composite",label:"",children:c[p-1]};break;case 29:w.getLogger().debug("Rule: node (NODE_ID separator): ",c[p]),this.$={id:c[p]};break;case 30:w.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",c[p-1],c[p]),this.$={id:c[p-1],label:c[p].label,typeStr:c[p].typeStr,directions:c[p].directions};break;case 31:w.getLogger().debug("Rule: dirList: ",c[p]),this.$=[c[p]];break;case 32:w.getLogger().debug("Rule: dirList: ",c[p-1],c[p]),this.$=[c[p-1]].concat(c[p]);break;case 33:w.getLogger().debug("Rule: nodeShapeNLabel: ",c[p-2],c[p-1],c[p]),this.$={typeStr:c[p-2]+c[p],label:c[p-1]};break;case 34:w.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",c[p-3],c[p-2]," #3:",c[p-1],c[p]),this.$={typeStr:c[p-3]+c[p],label:c[p-2],directions:c[p-1]};break;case 35:case 36:this.$={type:"classDef",id:c[p-1].trim(),css:c[p].trim()};break;case 37:this.$={type:"applyClass",id:c[p-1].trim(),styleClass:c[p].trim()};break;case 38:this.$={type:"applyStyles",id:c[p-1].trim(),stylesStr:c[p].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:r,29:n,31:i,32:a,40:s,44:l,47:o},{8:[1,20]},e(f,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:t,28:r,29:n,31:i,32:a,40:s,44:l,47:o}),e(h,[2,16],{14:22,15:y,16:b}),e(h,[2,17]),e(h,[2,18]),e(h,[2,19]),e(h,[2,20]),e(h,[2,21]),e(h,[2,22]),e(m,[2,25],{27:[1,25]}),e(h,[2,26]),{19:26,26:12,32:a},{11:27,13:4,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:r,29:n,31:i,32:a,40:s,44:l,47:o},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},e(E,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},e(f,[2,13]),{26:35,32:a},{32:[2,14]},{17:[1,36]},e(m,[2,24]),{11:37,13:4,14:22,15:y,16:b,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:r,29:n,31:i,32:a,40:s,44:l,47:o},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},e(E,[2,30]),{18:[1,43]},{18:[1,44]},e(m,[2,23]),{18:[1,45]},{30:[1,46]},e(h,[2,28]),e(h,[2,35]),e(h,[2,36]),e(h,[2,37]),e(h,[2,38]),{37:[1,47]},{34:48,35:D},{15:[1,50]},e(h,[2,27]),e(E,[2,33]),{39:[1,51]},{34:52,35:D,39:[2,31]},{32:[2,15]},e(E,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:d(function(x,g){if(g.recoverable)this.trace(x);else{var u=new Error(x);throw u.hash=g,u}},"parseError"),parse:d(function(x){var g=this,u=[0],w=[],S=[null],c=[],_=this.table,p="",A=0,O=0,X=2,W=1,ce=c.slice.call(arguments,1),M=Object.create(this.lexer),J={yy:{}};for(var gt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,gt)&&(J.yy[gt]=this.yy[gt]);M.setInput(x,J.yy),J.yy.lexer=M,J.yy.parser=this,typeof M.yylloc>"u"&&(M.yylloc={});var ut=M.yylloc;c.push(ut);var oe=M.options&&M.options.ranges;typeof J.yy.parseError=="function"?this.parseError=J.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function he(H){u.length=u.length-2*H,S.length=S.length-H,c.length=c.length-H}d(he,"popStack");function Dt(){var H;return H=w.pop()||M.lex()||W,typeof H!="number"&&(H instanceof Array&&(w=H,H=w.pop()),H=g.symbols_[H]||H),H}d(Dt,"lex");for(var Y,Q,U,pt,$={},st,q,Nt,it;;){if(Q=u[u.length-1],this.defaultActions[Q]?U=this.defaultActions[Q]:((Y===null||typeof Y>"u")&&(Y=Dt()),U=_[Q]&&_[Q][Y]),typeof U>"u"||!U.length||!U[0]){var ft="";it=[];for(st in _[Q])this.terminals_[st]&&st>X&&it.push("'"+this.terminals_[st]+"'");M.showPosition?ft="Parse error on line "+(A+1)+`: +import{_ as d,d as z,l as L,j as R,ah as de,D as at,ai as Z,aj as Yt,ak as ge,u as tt,al as ue,K as pe,k as fe,v as xe,A as ye,Q as be,am as we,an as xt,e as me,i as Tt}from"./index-BxMsVRSP.js";import{c as Le}from"./clone-BKg_06cU.js";import{G as Se}from"./graph-CIloxWRz.js";import{c as ve}from"./channel-DMEAHO2p.js";import"./_baseUniq-QkQtF8Yx.js";var yt=function(){var e=d(function(N,x,g,u){for(g=g||{},u=N.length;u--;g[N[u]]=x);return g},"o"),t=[1,7],r=[1,13],n=[1,14],i=[1,15],a=[1,19],s=[1,16],l=[1,17],o=[1,18],f=[8,30],h=[8,21,28,29,30,31,32,40,44,47],y=[1,23],b=[1,24],m=[8,15,16,21,28,29,30,31,32,40,44,47],E=[8,15,16,21,27,28,29,30,31,32,40,44,47],D=[1,49],v={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:d(function(x,g,u,w,S,c,_){var p=c.length-1;switch(S){case 4:w.getLogger().debug("Rule: separator (NL) ");break;case 5:w.getLogger().debug("Rule: separator (Space) ");break;case 6:w.getLogger().debug("Rule: separator (EOF) ");break;case 7:w.getLogger().debug("Rule: hierarchy: ",c[p-1]),w.setHierarchy(c[p-1]);break;case 8:w.getLogger().debug("Stop NL ");break;case 9:w.getLogger().debug("Stop EOF ");break;case 10:w.getLogger().debug("Stop NL2 ");break;case 11:w.getLogger().debug("Stop EOF2 ");break;case 12:w.getLogger().debug("Rule: statement: ",c[p]),typeof c[p].length=="number"?this.$=c[p]:this.$=[c[p]];break;case 13:w.getLogger().debug("Rule: statement #2: ",c[p-1]),this.$=[c[p-1]].concat(c[p]);break;case 14:w.getLogger().debug("Rule: link: ",c[p],x),this.$={edgeTypeStr:c[p],label:""};break;case 15:w.getLogger().debug("Rule: LABEL link: ",c[p-3],c[p-1],c[p]),this.$={edgeTypeStr:c[p],label:c[p-1]};break;case 18:const A=parseInt(c[p]),O=w.generateId();this.$={id:O,type:"space",label:"",width:A,children:[]};break;case 23:w.getLogger().debug("Rule: (nodeStatement link node) ",c[p-2],c[p-1],c[p]," typestr: ",c[p-1].edgeTypeStr);const X=w.edgeStrToEdgeData(c[p-1].edgeTypeStr);this.$=[{id:c[p-2].id,label:c[p-2].label,type:c[p-2].type,directions:c[p-2].directions},{id:c[p-2].id+"-"+c[p].id,start:c[p-2].id,end:c[p].id,label:c[p-1].label,type:"edge",directions:c[p].directions,arrowTypeEnd:X,arrowTypeStart:"arrow_open"},{id:c[p].id,label:c[p].label,type:w.typeStr2Type(c[p].typeStr),directions:c[p].directions}];break;case 24:w.getLogger().debug("Rule: nodeStatement (abc88 node size) ",c[p-1],c[p]),this.$={id:c[p-1].id,label:c[p-1].label,type:w.typeStr2Type(c[p-1].typeStr),directions:c[p-1].directions,widthInColumns:parseInt(c[p],10)};break;case 25:w.getLogger().debug("Rule: nodeStatement (node) ",c[p]),this.$={id:c[p].id,label:c[p].label,type:w.typeStr2Type(c[p].typeStr),directions:c[p].directions,widthInColumns:1};break;case 26:w.getLogger().debug("APA123",this?this:"na"),w.getLogger().debug("COLUMNS: ",c[p]),this.$={type:"column-setting",columns:c[p]==="auto"?-1:parseInt(c[p])};break;case 27:w.getLogger().debug("Rule: id-block statement : ",c[p-2],c[p-1]),w.generateId(),this.$={...c[p-2],type:"composite",children:c[p-1]};break;case 28:w.getLogger().debug("Rule: blockStatement : ",c[p-2],c[p-1],c[p]);const W=w.generateId();this.$={id:W,type:"composite",label:"",children:c[p-1]};break;case 29:w.getLogger().debug("Rule: node (NODE_ID separator): ",c[p]),this.$={id:c[p]};break;case 30:w.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",c[p-1],c[p]),this.$={id:c[p-1],label:c[p].label,typeStr:c[p].typeStr,directions:c[p].directions};break;case 31:w.getLogger().debug("Rule: dirList: ",c[p]),this.$=[c[p]];break;case 32:w.getLogger().debug("Rule: dirList: ",c[p-1],c[p]),this.$=[c[p-1]].concat(c[p]);break;case 33:w.getLogger().debug("Rule: nodeShapeNLabel: ",c[p-2],c[p-1],c[p]),this.$={typeStr:c[p-2]+c[p],label:c[p-1]};break;case 34:w.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",c[p-3],c[p-2]," #3:",c[p-1],c[p]),this.$={typeStr:c[p-3]+c[p],label:c[p-2],directions:c[p-1]};break;case 35:case 36:this.$={type:"classDef",id:c[p-1].trim(),css:c[p].trim()};break;case 37:this.$={type:"applyClass",id:c[p-1].trim(),styleClass:c[p].trim()};break;case 38:this.$={type:"applyStyles",id:c[p-1].trim(),stylesStr:c[p].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:r,29:n,31:i,32:a,40:s,44:l,47:o},{8:[1,20]},e(f,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:t,28:r,29:n,31:i,32:a,40:s,44:l,47:o}),e(h,[2,16],{14:22,15:y,16:b}),e(h,[2,17]),e(h,[2,18]),e(h,[2,19]),e(h,[2,20]),e(h,[2,21]),e(h,[2,22]),e(m,[2,25],{27:[1,25]}),e(h,[2,26]),{19:26,26:12,32:a},{11:27,13:4,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:r,29:n,31:i,32:a,40:s,44:l,47:o},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},e(E,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},e(f,[2,13]),{26:35,32:a},{32:[2,14]},{17:[1,36]},e(m,[2,24]),{11:37,13:4,14:22,15:y,16:b,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:r,29:n,31:i,32:a,40:s,44:l,47:o},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},e(E,[2,30]),{18:[1,43]},{18:[1,44]},e(m,[2,23]),{18:[1,45]},{30:[1,46]},e(h,[2,28]),e(h,[2,35]),e(h,[2,36]),e(h,[2,37]),e(h,[2,38]),{37:[1,47]},{34:48,35:D},{15:[1,50]},e(h,[2,27]),e(E,[2,33]),{39:[1,51]},{34:52,35:D,39:[2,31]},{32:[2,15]},e(E,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:d(function(x,g){if(g.recoverable)this.trace(x);else{var u=new Error(x);throw u.hash=g,u}},"parseError"),parse:d(function(x){var g=this,u=[0],w=[],S=[null],c=[],_=this.table,p="",A=0,O=0,X=2,W=1,ce=c.slice.call(arguments,1),M=Object.create(this.lexer),J={yy:{}};for(var gt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,gt)&&(J.yy[gt]=this.yy[gt]);M.setInput(x,J.yy),J.yy.lexer=M,J.yy.parser=this,typeof M.yylloc>"u"&&(M.yylloc={});var ut=M.yylloc;c.push(ut);var oe=M.options&&M.options.ranges;typeof J.yy.parseError=="function"?this.parseError=J.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function he(H){u.length=u.length-2*H,S.length=S.length-H,c.length=c.length-H}d(he,"popStack");function Dt(){var H;return H=w.pop()||M.lex()||W,typeof H!="number"&&(H instanceof Array&&(w=H,H=w.pop()),H=g.symbols_[H]||H),H}d(Dt,"lex");for(var Y,Q,U,pt,$={},st,q,Nt,it;;){if(Q=u[u.length-1],this.defaultActions[Q]?U=this.defaultActions[Q]:((Y===null||typeof Y>"u")&&(Y=Dt()),U=_[Q]&&_[Q][Y]),typeof U>"u"||!U.length||!U[0]){var ft="";it=[];for(st in _[Q])this.terminals_[st]&&st>X&&it.push("'"+this.terminals_[st]+"'");M.showPosition?ft="Parse error on line "+(A+1)+`: `+M.showPosition()+` Expecting `+it.join(", ")+", got '"+(this.terminals_[Y]||Y)+"'":ft="Parse error on line "+(A+1)+": Unexpected "+(Y==W?"end of input":"'"+(this.terminals_[Y]||Y)+"'"),this.parseError(ft,{text:M.match,token:this.terminals_[Y]||Y,line:M.yylineno,loc:ut,expected:it})}if(U[0]instanceof Array&&U.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Q+", token: "+Y);switch(U[0]){case 1:u.push(Y),S.push(M.yytext),c.push(M.yylloc),u.push(U[1]),Y=null,O=M.yyleng,p=M.yytext,A=M.yylineno,ut=M.yylloc;break;case 2:if(q=this.productions_[U[1]][1],$.$=S[S.length-q],$._$={first_line:c[c.length-(q||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(q||1)].first_column,last_column:c[c.length-1].last_column},oe&&($._$.range=[c[c.length-(q||1)].range[0],c[c.length-1].range[1]]),pt=this.performAction.apply($,[p,O,A,J.yy,U[1],S,c].concat(ce)),typeof pt<"u")return pt;q&&(u=u.slice(0,-1*q*2),S=S.slice(0,-1*q),c=c.slice(0,-1*q)),u.push(this.productions_[U[1]][0]),S.push($.$),c.push($._$),Nt=_[u[u.length-2]][u[u.length-1]],u.push(Nt);break;case 3:return!0}}return!0},"parse")},T=function(){var N={EOF:1,parseError:d(function(g,u){if(this.yy.parser)this.yy.parser.parseError(g,u);else throw new Error(g)},"parseError"),setInput:d(function(x,g){return this.yy=g||this.yy||{},this._input=x,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:d(function(){var x=this._input[0];this.yytext+=x,this.yyleng++,this.offset++,this.match+=x,this.matched+=x;var g=x.match(/(?:\r\n?|\n).*/g);return g?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),x},"input"),unput:d(function(x){var g=x.length,u=x.split(/(?:\r\n?|\n)/g);this._input=x+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-g),this.offset-=g;var w=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),u.length-1&&(this.yylineno-=u.length-1);var S=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:u?(u.length===w.length?this.yylloc.first_column:0)+w[w.length-u.length].length-u[0].length:this.yylloc.first_column-g},this.options.ranges&&(this.yylloc.range=[S[0],S[0]+this.yyleng-g]),this.yyleng=this.yytext.length,this},"unput"),more:d(function(){return this._more=!0,this},"more"),reject:d(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:d(function(x){this.unput(this.match.slice(x))},"less"),pastInput:d(function(){var x=this.matched.substr(0,this.matched.length-this.match.length);return(x.length>20?"...":"")+x.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d(function(){var x=this.match;return x.length<20&&(x+=this._input.substr(0,20-x.length)),(x.substr(0,20)+(x.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d(function(){var x=this.pastInput(),g=new Array(x.length+1).join("-");return x+this.upcomingInput()+` diff --git a/assets/c4Diagram-6F5ED5ID-9Wg7_Mwa.js b/assets/c4Diagram-6F5ED5ID-DblkNTG8.js similarity index 99% rename from assets/c4Diagram-6F5ED5ID-9Wg7_Mwa.js rename to assets/c4Diagram-6F5ED5ID-DblkNTG8.js index 467a338e9..a37e8da90 100644 --- a/assets/c4Diagram-6F5ED5ID-9Wg7_Mwa.js +++ b/assets/c4Diagram-6F5ED5ID-DblkNTG8.js @@ -1,4 +1,4 @@ -import{d as Se,g as De}from"./chunk-ASOPGD6M-CUw5NolE.js";import{_ as g,a as Pe,s as Be,g as Ie,b as Me,c as Le,d as Bt,w as Ne,e as $t,f as de,h as Tt,i as ge,j as jt,l as fe,k as Ye,m as je}from"./index-Dq-yb_Rq.js";var Ft=function(){var e=g(function(_t,x,m,v){for(m=m||{},v=_t.length;v--;m[_t[v]]=x);return m},"o"),t=[1,24],s=[1,25],o=[1,26],l=[1,27],a=[1,28],r=[1,63],n=[1,64],i=[1,65],u=[1,66],d=[1,67],f=[1,68],y=[1,69],E=[1,29],O=[1,30],S=[1,31],P=[1,32],M=[1,33],U=[1,34],H=[1,35],q=[1,36],G=[1,37],K=[1,38],J=[1,39],Z=[1,40],$=[1,41],tt=[1,42],et=[1,43],at=[1,44],it=[1,45],nt=[1,46],rt=[1,47],st=[1,48],lt=[1,50],ot=[1,51],ct=[1,52],ht=[1,53],ut=[1,54],dt=[1,55],ft=[1,56],pt=[1,57],yt=[1,58],gt=[1,59],bt=[1,60],Ct=[14,42],Qt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],St=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],k=[1,82],A=[1,83],C=[1,84],w=[1,85],T=[12,14,42],le=[12,14,33,42],Mt=[12,14,33,42,76,77,79,80],vt=[12,33],Ht=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],qt={trace:g(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:g(function(x,m,v,b,R,h,Dt){var p=h.length-1;switch(R){case 3:b.setDirection("TB");break;case 4:b.setDirection("BT");break;case 5:b.setDirection("RL");break;case 6:b.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:b.setC4Type(h[p-3]);break;case 19:b.setTitle(h[p].substring(6)),this.$=h[p].substring(6);break;case 20:b.setAccDescription(h[p].substring(15)),this.$=h[p].substring(15);break;case 21:this.$=h[p].trim(),b.setTitle(this.$);break;case 22:case 23:this.$=h[p].trim(),b.setAccDescription(this.$);break;case 28:h[p].splice(2,0,"ENTERPRISE"),b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 29:h[p].splice(2,0,"SYSTEM"),b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 30:b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 31:h[p].splice(2,0,"CONTAINER"),b.addContainerBoundary(...h[p]),this.$=h[p];break;case 32:b.addDeploymentNode("node",...h[p]),this.$=h[p];break;case 33:b.addDeploymentNode("nodeL",...h[p]),this.$=h[p];break;case 34:b.addDeploymentNode("nodeR",...h[p]),this.$=h[p];break;case 35:b.popBoundaryParseStack();break;case 39:b.addPersonOrSystem("person",...h[p]),this.$=h[p];break;case 40:b.addPersonOrSystem("external_person",...h[p]),this.$=h[p];break;case 41:b.addPersonOrSystem("system",...h[p]),this.$=h[p];break;case 42:b.addPersonOrSystem("system_db",...h[p]),this.$=h[p];break;case 43:b.addPersonOrSystem("system_queue",...h[p]),this.$=h[p];break;case 44:b.addPersonOrSystem("external_system",...h[p]),this.$=h[p];break;case 45:b.addPersonOrSystem("external_system_db",...h[p]),this.$=h[p];break;case 46:b.addPersonOrSystem("external_system_queue",...h[p]),this.$=h[p];break;case 47:b.addContainer("container",...h[p]),this.$=h[p];break;case 48:b.addContainer("container_db",...h[p]),this.$=h[p];break;case 49:b.addContainer("container_queue",...h[p]),this.$=h[p];break;case 50:b.addContainer("external_container",...h[p]),this.$=h[p];break;case 51:b.addContainer("external_container_db",...h[p]),this.$=h[p];break;case 52:b.addContainer("external_container_queue",...h[p]),this.$=h[p];break;case 53:b.addComponent("component",...h[p]),this.$=h[p];break;case 54:b.addComponent("component_db",...h[p]),this.$=h[p];break;case 55:b.addComponent("component_queue",...h[p]),this.$=h[p];break;case 56:b.addComponent("external_component",...h[p]),this.$=h[p];break;case 57:b.addComponent("external_component_db",...h[p]),this.$=h[p];break;case 58:b.addComponent("external_component_queue",...h[p]),this.$=h[p];break;case 60:b.addRel("rel",...h[p]),this.$=h[p];break;case 61:b.addRel("birel",...h[p]),this.$=h[p];break;case 62:b.addRel("rel_u",...h[p]),this.$=h[p];break;case 63:b.addRel("rel_d",...h[p]),this.$=h[p];break;case 64:b.addRel("rel_l",...h[p]),this.$=h[p];break;case 65:b.addRel("rel_r",...h[p]),this.$=h[p];break;case 66:b.addRel("rel_b",...h[p]),this.$=h[p];break;case 67:h[p].splice(0,1),b.addRel("rel",...h[p]),this.$=h[p];break;case 68:b.updateElStyle("update_el_style",...h[p]),this.$=h[p];break;case 69:b.updateRelStyle("update_rel_style",...h[p]),this.$=h[p];break;case 70:b.updateLayoutConfig("update_layout_config",...h[p]),this.$=h[p];break;case 71:this.$=[h[p]];break;case 72:h[p].unshift(h[p-1]),this.$=h[p];break;case 73:case 75:this.$=h[p].trim();break;case 74:let Et={};Et[h[p-1].trim()]=h[p].trim(),this.$=Et;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:70,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:71,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:72,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:73,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{14:[1,74]},e(Ct,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:n,37:i,38:u,39:d,40:f,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt}),e(Ct,[2,14]),e(Qt,[2,16],{12:[1,76]}),e(Ct,[2,36],{12:[1,77]}),e(St,[2,19]),e(St,[2,20]),{25:[1,78]},{27:[1,79]},e(St,[2,23]),{35:80,75:81,76:k,77:A,79:C,80:w},{35:86,75:81,76:k,77:A,79:C,80:w},{35:87,75:81,76:k,77:A,79:C,80:w},{35:88,75:81,76:k,77:A,79:C,80:w},{35:89,75:81,76:k,77:A,79:C,80:w},{35:90,75:81,76:k,77:A,79:C,80:w},{35:91,75:81,76:k,77:A,79:C,80:w},{35:92,75:81,76:k,77:A,79:C,80:w},{35:93,75:81,76:k,77:A,79:C,80:w},{35:94,75:81,76:k,77:A,79:C,80:w},{35:95,75:81,76:k,77:A,79:C,80:w},{35:96,75:81,76:k,77:A,79:C,80:w},{35:97,75:81,76:k,77:A,79:C,80:w},{35:98,75:81,76:k,77:A,79:C,80:w},{35:99,75:81,76:k,77:A,79:C,80:w},{35:100,75:81,76:k,77:A,79:C,80:w},{35:101,75:81,76:k,77:A,79:C,80:w},{35:102,75:81,76:k,77:A,79:C,80:w},{35:103,75:81,76:k,77:A,79:C,80:w},{35:104,75:81,76:k,77:A,79:C,80:w},e(T,[2,59]),{35:105,75:81,76:k,77:A,79:C,80:w},{35:106,75:81,76:k,77:A,79:C,80:w},{35:107,75:81,76:k,77:A,79:C,80:w},{35:108,75:81,76:k,77:A,79:C,80:w},{35:109,75:81,76:k,77:A,79:C,80:w},{35:110,75:81,76:k,77:A,79:C,80:w},{35:111,75:81,76:k,77:A,79:C,80:w},{35:112,75:81,76:k,77:A,79:C,80:w},{35:113,75:81,76:k,77:A,79:C,80:w},{35:114,75:81,76:k,77:A,79:C,80:w},{35:115,75:81,76:k,77:A,79:C,80:w},{20:116,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{12:[1,118],33:[1,117]},{35:119,75:81,76:k,77:A,79:C,80:w},{35:120,75:81,76:k,77:A,79:C,80:w},{35:121,75:81,76:k,77:A,79:C,80:w},{35:122,75:81,76:k,77:A,79:C,80:w},{35:123,75:81,76:k,77:A,79:C,80:w},{35:124,75:81,76:k,77:A,79:C,80:w},{35:125,75:81,76:k,77:A,79:C,80:w},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(Ct,[2,15]),e(Qt,[2,17],{21:22,19:130,22:t,23:s,24:o,26:l,28:a}),e(Ct,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:s,24:o,26:l,28:a,34:r,36:n,37:i,38:u,39:d,40:f,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt}),e(St,[2,21]),e(St,[2,22]),e(T,[2,39]),e(le,[2,71],{75:81,35:132,76:k,77:A,79:C,80:w}),e(Mt,[2,73]),{78:[1,133]},e(Mt,[2,75]),e(Mt,[2,76]),e(T,[2,40]),e(T,[2,41]),e(T,[2,42]),e(T,[2,43]),e(T,[2,44]),e(T,[2,45]),e(T,[2,46]),e(T,[2,47]),e(T,[2,48]),e(T,[2,49]),e(T,[2,50]),e(T,[2,51]),e(T,[2,52]),e(T,[2,53]),e(T,[2,54]),e(T,[2,55]),e(T,[2,56]),e(T,[2,57]),e(T,[2,58]),e(T,[2,60]),e(T,[2,61]),e(T,[2,62]),e(T,[2,63]),e(T,[2,64]),e(T,[2,65]),e(T,[2,66]),e(T,[2,67]),e(T,[2,68]),e(T,[2,69]),e(T,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(vt,[2,28]),e(vt,[2,29]),e(vt,[2,30]),e(vt,[2,31]),e(vt,[2,32]),e(vt,[2,33]),e(vt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(Qt,[2,18]),e(Ct,[2,38]),e(le,[2,72]),e(Mt,[2,74]),e(T,[2,24]),e(T,[2,35]),e(Ht,[2,25]),e(Ht,[2,26],{12:[1,138]}),e(Ht,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:g(function(x,m){if(m.recoverable)this.trace(x);else{var v=new Error(x);throw v.hash=m,v}},"parseError"),parse:g(function(x){var m=this,v=[0],b=[],R=[null],h=[],Dt=this.table,p="",Et=0,oe=0,we=2,ce=1,Te=h.slice.call(arguments,1),D=Object.create(this.lexer),kt={yy:{}};for(var Gt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Gt)&&(kt.yy[Gt]=this.yy[Gt]);D.setInput(x,kt.yy),kt.yy.lexer=D,kt.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Kt=D.yylloc;h.push(Kt);var Oe=D.options&&D.options.ranges;typeof kt.yy.parseError=="function"?this.parseError=kt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Re(L){v.length=v.length-2*L,R.length=R.length-L,h.length=h.length-L}g(Re,"popStack");function he(){var L;return L=b.pop()||D.lex()||ce,typeof L!="number"&&(L instanceof Array&&(b=L,L=b.pop()),L=m.symbols_[L]||L),L}g(he,"lex");for(var I,At,N,Jt,wt={},Nt,W,ue,Yt;;){if(At=v[v.length-1],this.defaultActions[At]?N=this.defaultActions[At]:((I===null||typeof I>"u")&&(I=he()),N=Dt[At]&&Dt[At][I]),typeof N>"u"||!N.length||!N[0]){var Zt="";Yt=[];for(Nt in Dt[At])this.terminals_[Nt]&&Nt>we&&Yt.push("'"+this.terminals_[Nt]+"'");D.showPosition?Zt="Parse error on line "+(Et+1)+`: +import{d as Se,g as De}from"./chunk-ASOPGD6M-CSgx0Qv3.js";import{_ as g,a as Pe,s as Be,g as Ie,b as Me,c as Le,d as Bt,w as Ne,e as $t,f as de,h as Tt,i as ge,j as jt,l as fe,k as Ye,m as je}from"./index-BxMsVRSP.js";var Ft=function(){var e=g(function(_t,x,m,v){for(m=m||{},v=_t.length;v--;m[_t[v]]=x);return m},"o"),t=[1,24],s=[1,25],o=[1,26],l=[1,27],a=[1,28],r=[1,63],n=[1,64],i=[1,65],u=[1,66],d=[1,67],f=[1,68],y=[1,69],E=[1,29],O=[1,30],S=[1,31],P=[1,32],M=[1,33],U=[1,34],H=[1,35],q=[1,36],G=[1,37],K=[1,38],J=[1,39],Z=[1,40],$=[1,41],tt=[1,42],et=[1,43],at=[1,44],it=[1,45],nt=[1,46],rt=[1,47],st=[1,48],lt=[1,50],ot=[1,51],ct=[1,52],ht=[1,53],ut=[1,54],dt=[1,55],ft=[1,56],pt=[1,57],yt=[1,58],gt=[1,59],bt=[1,60],Ct=[14,42],Qt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],St=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],k=[1,82],A=[1,83],C=[1,84],w=[1,85],T=[12,14,42],le=[12,14,33,42],Mt=[12,14,33,42,76,77,79,80],vt=[12,33],Ht=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],qt={trace:g(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:g(function(x,m,v,b,R,h,Dt){var p=h.length-1;switch(R){case 3:b.setDirection("TB");break;case 4:b.setDirection("BT");break;case 5:b.setDirection("RL");break;case 6:b.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:b.setC4Type(h[p-3]);break;case 19:b.setTitle(h[p].substring(6)),this.$=h[p].substring(6);break;case 20:b.setAccDescription(h[p].substring(15)),this.$=h[p].substring(15);break;case 21:this.$=h[p].trim(),b.setTitle(this.$);break;case 22:case 23:this.$=h[p].trim(),b.setAccDescription(this.$);break;case 28:h[p].splice(2,0,"ENTERPRISE"),b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 29:h[p].splice(2,0,"SYSTEM"),b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 30:b.addPersonOrSystemBoundary(...h[p]),this.$=h[p];break;case 31:h[p].splice(2,0,"CONTAINER"),b.addContainerBoundary(...h[p]),this.$=h[p];break;case 32:b.addDeploymentNode("node",...h[p]),this.$=h[p];break;case 33:b.addDeploymentNode("nodeL",...h[p]),this.$=h[p];break;case 34:b.addDeploymentNode("nodeR",...h[p]),this.$=h[p];break;case 35:b.popBoundaryParseStack();break;case 39:b.addPersonOrSystem("person",...h[p]),this.$=h[p];break;case 40:b.addPersonOrSystem("external_person",...h[p]),this.$=h[p];break;case 41:b.addPersonOrSystem("system",...h[p]),this.$=h[p];break;case 42:b.addPersonOrSystem("system_db",...h[p]),this.$=h[p];break;case 43:b.addPersonOrSystem("system_queue",...h[p]),this.$=h[p];break;case 44:b.addPersonOrSystem("external_system",...h[p]),this.$=h[p];break;case 45:b.addPersonOrSystem("external_system_db",...h[p]),this.$=h[p];break;case 46:b.addPersonOrSystem("external_system_queue",...h[p]),this.$=h[p];break;case 47:b.addContainer("container",...h[p]),this.$=h[p];break;case 48:b.addContainer("container_db",...h[p]),this.$=h[p];break;case 49:b.addContainer("container_queue",...h[p]),this.$=h[p];break;case 50:b.addContainer("external_container",...h[p]),this.$=h[p];break;case 51:b.addContainer("external_container_db",...h[p]),this.$=h[p];break;case 52:b.addContainer("external_container_queue",...h[p]),this.$=h[p];break;case 53:b.addComponent("component",...h[p]),this.$=h[p];break;case 54:b.addComponent("component_db",...h[p]),this.$=h[p];break;case 55:b.addComponent("component_queue",...h[p]),this.$=h[p];break;case 56:b.addComponent("external_component",...h[p]),this.$=h[p];break;case 57:b.addComponent("external_component_db",...h[p]),this.$=h[p];break;case 58:b.addComponent("external_component_queue",...h[p]),this.$=h[p];break;case 60:b.addRel("rel",...h[p]),this.$=h[p];break;case 61:b.addRel("birel",...h[p]),this.$=h[p];break;case 62:b.addRel("rel_u",...h[p]),this.$=h[p];break;case 63:b.addRel("rel_d",...h[p]),this.$=h[p];break;case 64:b.addRel("rel_l",...h[p]),this.$=h[p];break;case 65:b.addRel("rel_r",...h[p]),this.$=h[p];break;case 66:b.addRel("rel_b",...h[p]),this.$=h[p];break;case 67:h[p].splice(0,1),b.addRel("rel",...h[p]),this.$=h[p];break;case 68:b.updateElStyle("update_el_style",...h[p]),this.$=h[p];break;case 69:b.updateRelStyle("update_rel_style",...h[p]),this.$=h[p];break;case 70:b.updateLayoutConfig("update_layout_config",...h[p]),this.$=h[p];break;case 71:this.$=[h[p]];break;case 72:h[p].unshift(h[p-1]),this.$=h[p];break;case 73:case 75:this.$=h[p].trim();break;case 74:let Et={};Et[h[p-1].trim()]=h[p].trim(),this.$=Et;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:70,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:71,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:72,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{13:73,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{14:[1,74]},e(Ct,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:n,37:i,38:u,39:d,40:f,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt}),e(Ct,[2,14]),e(Qt,[2,16],{12:[1,76]}),e(Ct,[2,36],{12:[1,77]}),e(St,[2,19]),e(St,[2,20]),{25:[1,78]},{27:[1,79]},e(St,[2,23]),{35:80,75:81,76:k,77:A,79:C,80:w},{35:86,75:81,76:k,77:A,79:C,80:w},{35:87,75:81,76:k,77:A,79:C,80:w},{35:88,75:81,76:k,77:A,79:C,80:w},{35:89,75:81,76:k,77:A,79:C,80:w},{35:90,75:81,76:k,77:A,79:C,80:w},{35:91,75:81,76:k,77:A,79:C,80:w},{35:92,75:81,76:k,77:A,79:C,80:w},{35:93,75:81,76:k,77:A,79:C,80:w},{35:94,75:81,76:k,77:A,79:C,80:w},{35:95,75:81,76:k,77:A,79:C,80:w},{35:96,75:81,76:k,77:A,79:C,80:w},{35:97,75:81,76:k,77:A,79:C,80:w},{35:98,75:81,76:k,77:A,79:C,80:w},{35:99,75:81,76:k,77:A,79:C,80:w},{35:100,75:81,76:k,77:A,79:C,80:w},{35:101,75:81,76:k,77:A,79:C,80:w},{35:102,75:81,76:k,77:A,79:C,80:w},{35:103,75:81,76:k,77:A,79:C,80:w},{35:104,75:81,76:k,77:A,79:C,80:w},e(T,[2,59]),{35:105,75:81,76:k,77:A,79:C,80:w},{35:106,75:81,76:k,77:A,79:C,80:w},{35:107,75:81,76:k,77:A,79:C,80:w},{35:108,75:81,76:k,77:A,79:C,80:w},{35:109,75:81,76:k,77:A,79:C,80:w},{35:110,75:81,76:k,77:A,79:C,80:w},{35:111,75:81,76:k,77:A,79:C,80:w},{35:112,75:81,76:k,77:A,79:C,80:w},{35:113,75:81,76:k,77:A,79:C,80:w},{35:114,75:81,76:k,77:A,79:C,80:w},{35:115,75:81,76:k,77:A,79:C,80:w},{20:116,29:49,30:61,32:62,34:r,36:n,37:i,38:u,39:d,40:f,41:y,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt},{12:[1,118],33:[1,117]},{35:119,75:81,76:k,77:A,79:C,80:w},{35:120,75:81,76:k,77:A,79:C,80:w},{35:121,75:81,76:k,77:A,79:C,80:w},{35:122,75:81,76:k,77:A,79:C,80:w},{35:123,75:81,76:k,77:A,79:C,80:w},{35:124,75:81,76:k,77:A,79:C,80:w},{35:125,75:81,76:k,77:A,79:C,80:w},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(Ct,[2,15]),e(Qt,[2,17],{21:22,19:130,22:t,23:s,24:o,26:l,28:a}),e(Ct,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:s,24:o,26:l,28:a,34:r,36:n,37:i,38:u,39:d,40:f,41:y,44:E,45:O,46:S,47:P,48:M,49:U,50:H,51:q,52:G,53:K,54:J,55:Z,56:$,57:tt,58:et,59:at,60:it,61:nt,62:rt,63:st,64:lt,65:ot,66:ct,67:ht,68:ut,69:dt,70:ft,71:pt,72:yt,73:gt,74:bt}),e(St,[2,21]),e(St,[2,22]),e(T,[2,39]),e(le,[2,71],{75:81,35:132,76:k,77:A,79:C,80:w}),e(Mt,[2,73]),{78:[1,133]},e(Mt,[2,75]),e(Mt,[2,76]),e(T,[2,40]),e(T,[2,41]),e(T,[2,42]),e(T,[2,43]),e(T,[2,44]),e(T,[2,45]),e(T,[2,46]),e(T,[2,47]),e(T,[2,48]),e(T,[2,49]),e(T,[2,50]),e(T,[2,51]),e(T,[2,52]),e(T,[2,53]),e(T,[2,54]),e(T,[2,55]),e(T,[2,56]),e(T,[2,57]),e(T,[2,58]),e(T,[2,60]),e(T,[2,61]),e(T,[2,62]),e(T,[2,63]),e(T,[2,64]),e(T,[2,65]),e(T,[2,66]),e(T,[2,67]),e(T,[2,68]),e(T,[2,69]),e(T,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(vt,[2,28]),e(vt,[2,29]),e(vt,[2,30]),e(vt,[2,31]),e(vt,[2,32]),e(vt,[2,33]),e(vt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(Qt,[2,18]),e(Ct,[2,38]),e(le,[2,72]),e(Mt,[2,74]),e(T,[2,24]),e(T,[2,35]),e(Ht,[2,25]),e(Ht,[2,26],{12:[1,138]}),e(Ht,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:g(function(x,m){if(m.recoverable)this.trace(x);else{var v=new Error(x);throw v.hash=m,v}},"parseError"),parse:g(function(x){var m=this,v=[0],b=[],R=[null],h=[],Dt=this.table,p="",Et=0,oe=0,we=2,ce=1,Te=h.slice.call(arguments,1),D=Object.create(this.lexer),kt={yy:{}};for(var Gt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Gt)&&(kt.yy[Gt]=this.yy[Gt]);D.setInput(x,kt.yy),kt.yy.lexer=D,kt.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Kt=D.yylloc;h.push(Kt);var Oe=D.options&&D.options.ranges;typeof kt.yy.parseError=="function"?this.parseError=kt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Re(L){v.length=v.length-2*L,R.length=R.length-L,h.length=h.length-L}g(Re,"popStack");function he(){var L;return L=b.pop()||D.lex()||ce,typeof L!="number"&&(L instanceof Array&&(b=L,L=b.pop()),L=m.symbols_[L]||L),L}g(he,"lex");for(var I,At,N,Jt,wt={},Nt,W,ue,Yt;;){if(At=v[v.length-1],this.defaultActions[At]?N=this.defaultActions[At]:((I===null||typeof I>"u")&&(I=he()),N=Dt[At]&&Dt[At][I]),typeof N>"u"||!N.length||!N[0]){var Zt="";Yt=[];for(Nt in Dt[At])this.terminals_[Nt]&&Nt>we&&Yt.push("'"+this.terminals_[Nt]+"'");D.showPosition?Zt="Parse error on line "+(Et+1)+`: `+D.showPosition()+` Expecting `+Yt.join(", ")+", got '"+(this.terminals_[I]||I)+"'":Zt="Parse error on line "+(Et+1)+": Unexpected "+(I==ce?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(Zt,{text:D.match,token:this.terminals_[I]||I,line:D.yylineno,loc:Kt,expected:Yt})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+At+", token: "+I);switch(N[0]){case 1:v.push(I),R.push(D.yytext),h.push(D.yylloc),v.push(N[1]),I=null,oe=D.yyleng,p=D.yytext,Et=D.yylineno,Kt=D.yylloc;break;case 2:if(W=this.productions_[N[1]][1],wt.$=R[R.length-W],wt._$={first_line:h[h.length-(W||1)].first_line,last_line:h[h.length-1].last_line,first_column:h[h.length-(W||1)].first_column,last_column:h[h.length-1].last_column},Oe&&(wt._$.range=[h[h.length-(W||1)].range[0],h[h.length-1].range[1]]),Jt=this.performAction.apply(wt,[p,oe,Et,kt.yy,N[1],R,h].concat(Te)),typeof Jt<"u")return Jt;W&&(v=v.slice(0,-1*W*2),R=R.slice(0,-1*W),h=h.slice(0,-1*W)),v.push(this.productions_[N[1]][0]),R.push(wt.$),h.push(wt._$),ue=Dt[v[v.length-2]][v[v.length-1]],v.push(ue);break;case 3:return!0}}return!0},"parse")},Ce=function(){var _t={EOF:1,parseError:g(function(m,v){if(this.yy.parser)this.yy.parser.parseError(m,v);else throw new Error(m)},"parseError"),setInput:g(function(x,m){return this.yy=m||this.yy||{},this._input=x,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:g(function(){var x=this._input[0];this.yytext+=x,this.yyleng++,this.offset++,this.match+=x,this.matched+=x;var m=x.match(/(?:\r\n?|\n).*/g);return m?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),x},"input"),unput:g(function(x){var m=x.length,v=x.split(/(?:\r\n?|\n)/g);this._input=x+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-m),this.offset-=m;var b=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),v.length-1&&(this.yylineno-=v.length-1);var R=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:v?(v.length===b.length?this.yylloc.first_column:0)+b[b.length-v.length].length-v[0].length:this.yylloc.first_column-m},this.options.ranges&&(this.yylloc.range=[R[0],R[0]+this.yyleng-m]),this.yyleng=this.yytext.length,this},"unput"),more:g(function(){return this._more=!0,this},"more"),reject:g(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:g(function(x){this.unput(this.match.slice(x))},"less"),pastInput:g(function(){var x=this.matched.substr(0,this.matched.length-this.match.length);return(x.length>20?"...":"")+x.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:g(function(){var x=this.match;return x.length<20&&(x+=this._input.substr(0,20-x.length)),(x.substr(0,20)+(x.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:g(function(){var x=this.pastInput(),m=new Array(x.length+1).join("-");return x+this.upcomingInput()+` diff --git a/assets/channel-DMEAHO2p.js b/assets/channel-DMEAHO2p.js new file mode 100644 index 000000000..730bf8605 --- /dev/null +++ b/assets/channel-DMEAHO2p.js @@ -0,0 +1 @@ +import{ao as r,ap as n}from"./index-BxMsVRSP.js";const t=(a,o)=>r.lang.round(n.parse(a)[o]);export{t as c}; diff --git a/assets/channel-SpFC1OZH.js b/assets/channel-SpFC1OZH.js deleted file mode 100644 index 73aab4664..000000000 --- a/assets/channel-SpFC1OZH.js +++ /dev/null @@ -1 +0,0 @@ -import{ao as r,ap as n}from"./index-Dq-yb_Rq.js";const t=(a,o)=>r.lang.round(n.parse(a)[o]);export{t as c}; diff --git a/assets/chunk-5HRBRIJM-C3cKZcXu.js b/assets/chunk-5HRBRIJM-BsvwIDm-.js similarity index 90% rename from assets/chunk-5HRBRIJM-C3cKZcXu.js rename to assets/chunk-5HRBRIJM-BsvwIDm-.js index bc80f25cf..d30fdcac9 100644 --- a/assets/chunk-5HRBRIJM-C3cKZcXu.js +++ b/assets/chunk-5HRBRIJM-BsvwIDm-.js @@ -1 +1 @@ -import{_ as n,j as r,k as g,l as d}from"./index-Dq-yb_Rq.js";var u=n((t,e)=>{let o;return e==="sandbox"&&(o=r("#i"+t)),(e==="sandbox"?r(o.nodes()[0].contentDocument.body):r("body")).select(`[id="${t}"]`)},"getDiagramElement"),b=n((t,e,o,i)=>{t.attr("class",o);const{width:a,height:s,x:h,y:x}=l(t,e);g(t,s,a,i);const c=w(h,x,a,s,e);t.attr("viewBox",c),d.debug(`viewBox configured: ${c} with padding: ${e}`)},"setupViewPortForSVG"),l=n((t,e)=>{var i;const o=((i=t.node())==null?void 0:i.getBBox())||{width:0,height:0,x:0,y:0};return{width:o.width+e*2,height:o.height+e*2,x:o.x,y:o.y}},"calculateDimensionsWithPadding"),w=n((t,e,o,i,a)=>`${t-a} ${e-a} ${o} ${i}`,"createViewBox");export{u as g,b as s}; +import{_ as n,j as r,k as g,l as d}from"./index-BxMsVRSP.js";var u=n((t,e)=>{let o;return e==="sandbox"&&(o=r("#i"+t)),(e==="sandbox"?r(o.nodes()[0].contentDocument.body):r("body")).select(`[id="${t}"]`)},"getDiagramElement"),b=n((t,e,o,i)=>{t.attr("class",o);const{width:a,height:s,x:h,y:x}=l(t,e);g(t,s,a,i);const c=w(h,x,a,s,e);t.attr("viewBox",c),d.debug(`viewBox configured: ${c} with padding: ${e}`)},"setupViewPortForSVG"),l=n((t,e)=>{var i;const o=((i=t.node())==null?void 0:i.getBBox())||{width:0,height:0,x:0,y:0};return{width:o.width+e*2,height:o.height+e*2,x:o.x,y:o.y}},"calculateDimensionsWithPadding"),w=n((t,e,o,i,a)=>`${t-a} ${e-a} ${o} ${i}`,"createViewBox");export{u as g,b as s}; diff --git a/assets/chunk-7U56Z5CX-svwneYgX.js b/assets/chunk-7U56Z5CX-CtkcuCGQ.js similarity index 99% rename from assets/chunk-7U56Z5CX-svwneYgX.js rename to assets/chunk-7U56Z5CX-CtkcuCGQ.js index 6314f9c25..b49f35c1e 100644 --- a/assets/chunk-7U56Z5CX-svwneYgX.js +++ b/assets/chunk-7U56Z5CX-CtkcuCGQ.js @@ -1,4 +1,4 @@ -import{g as De,s as Ce}from"./chunk-5HRBRIJM-C3cKZcXu.js";import{_ as r,e as z,d as x,g as xe,s as Ae,b as Le,c as Re,p as Ie,q as Oe,l as b,z as Ne,u as we,v as $e,R as Pe}from"./index-Dq-yb_Rq.js";var Ot=function(){var t=r(function($,o,u,n){for(u=u||{},n=$.length;n--;u[$[n]]=o);return u},"o"),e=[1,2],c=[1,3],a=[1,4],d=[2,4],s=[1,9],p=[1,11],g=[1,16],l=[1,17],_=[1,18],v=[1,19],A=[1,32],B=[1,20],Y=[1,21],R=[1,22],f=[1,23],L=[1,24],I=[1,26],F=[1,27],V=[1,28],N=[1,29],w=[1,30],rt=[1,31],at=[1,34],nt=[1,35],lt=[1,36],ot=[1,37],J=[1,33],S=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],ct=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],Vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],kt={trace:r(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,style:42,STYLE_IDS:43,STYLEDEF_STYLEOPTS:44,class:45,CLASSENTITY_IDS:46,STYLECLASS:47,direction_tb:48,direction_bt:49,direction_rl:50,direction_lr:51,eol:52,";":53,EDGE_STATE:54,STYLE_SEPARATOR:55,left_of:56,right_of:57,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"style",43:"STYLE_IDS",44:"STYLEDEF_STYLEOPTS",45:"class",46:"CLASSENTITY_IDS",47:"STYLECLASS",48:"direction_tb",49:"direction_bt",50:"direction_rl",51:"direction_lr",53:";",54:"EDGE_STATE",55:"STYLE_SEPARATOR",56:"left_of",57:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[52,1],[52,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:r(function(o,u,n,y,T,i,q){var h=i.length-1;switch(T){case 3:return y.setRootDoc(i[h]),i[h];case 4:this.$=[];break;case 5:i[h]!="nl"&&(i[h-1].push(i[h]),this.$=i[h-1]);break;case 6:case 7:this.$=i[h];break;case 8:this.$="nl";break;case 12:this.$=i[h];break;case 13:const Q=i[h-1];Q.description=y.trimColon(i[h]),this.$=Q;break;case 14:this.$={stmt:"relation",state1:i[h-2],state2:i[h]};break;case 15:const Dt=y.trimColon(i[h]);this.$={stmt:"relation",state1:i[h-3],state2:i[h-1],description:Dt};break;case 19:this.$={stmt:"state",id:i[h-3],type:"default",description:"",doc:i[h-1]};break;case 20:var M=i[h],W=i[h-2].trim();if(i[h].match(":")){var ht=i[h].split(":");M=ht[0],W=[W,ht[1]]}this.$={stmt:"state",id:M,type:"default",description:W};break;case 21:this.$={stmt:"state",id:i[h-3],type:"default",description:i[h-5],doc:i[h-1]};break;case 22:this.$={stmt:"state",id:i[h],type:"fork"};break;case 23:this.$={stmt:"state",id:i[h],type:"join"};break;case 24:this.$={stmt:"state",id:i[h],type:"choice"};break;case 25:this.$={stmt:"state",id:y.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[h-1].trim(),note:{position:i[h-2].trim(),text:i[h].trim()}};break;case 29:this.$=i[h].trim(),y.setAccTitle(this.$);break;case 30:case 31:this.$=i[h].trim(),y.setAccDescription(this.$);break;case 32:case 33:this.$={stmt:"classDef",id:i[h-1].trim(),classes:i[h].trim()};break;case 34:this.$={stmt:"style",id:i[h-1].trim(),styleClass:i[h].trim()};break;case 35:this.$={stmt:"applyClass",id:i[h-1].trim(),styleClass:i[h].trim()};break;case 36:y.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 37:y.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 38:y.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 39:y.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 42:case 43:this.$={stmt:"state",id:i[h].trim(),type:"default",description:""};break;case 44:this.$={stmt:"state",id:i[h-2].trim(),classes:[i[h].trim()],type:"default",description:""};break;case 45:this.$={stmt:"state",id:i[h-2].trim(),classes:[i[h].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:c,6:a},{1:[3]},{3:5,4:e,5:c,6:a},{3:6,4:e,5:c,6:a},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],d,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:s,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:g,17:l,19:_,22:v,24:A,25:B,26:Y,27:R,28:f,29:L,32:25,33:I,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,5]),{9:38,10:12,11:13,12:14,13:15,16:g,17:l,19:_,22:v,24:A,25:B,26:Y,27:R,28:f,29:L,32:25,33:I,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,7]),t(S,[2,8]),t(S,[2,9]),t(S,[2,10]),t(S,[2,11]),t(S,[2,12],{14:[1,39],15:[1,40]}),t(S,[2,16]),{18:[1,41]},t(S,[2,18],{20:[1,42]}),{23:[1,43]},t(S,[2,22]),t(S,[2,23]),t(S,[2,24]),t(S,[2,25]),{30:44,31:[1,45],56:[1,46],57:[1,47]},t(S,[2,28]),{34:[1,48]},{36:[1,49]},t(S,[2,31]),{39:[1,50],41:[1,51]},{43:[1,52]},{46:[1,53]},t(ct,[2,42],{55:[1,54]}),t(ct,[2,43],{55:[1,55]}),t(S,[2,36]),t(S,[2,37]),t(S,[2,38]),t(S,[2,39]),t(S,[2,6]),t(S,[2,13]),{13:56,24:A,54:J},t(S,[2,17]),t(Vt,d,{7:57}),{24:[1,58]},{24:[1,59]},{23:[1,60]},{24:[2,46]},{24:[2,47]},t(S,[2,29]),t(S,[2,30]),{40:[1,61]},{40:[1,62]},{44:[1,63]},{47:[1,64]},{24:[1,65]},{24:[1,66]},t(S,[2,14],{14:[1,67]}),{4:s,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:g,17:l,19:_,21:[1,68],22:v,24:A,25:B,26:Y,27:R,28:f,29:L,32:25,33:I,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,20],{20:[1,69]}),{31:[1,70]},{24:[1,71]},t(S,[2,32]),t(S,[2,33]),t(S,[2,34]),t(S,[2,35]),t(ct,[2,44]),t(ct,[2,45]),t(S,[2,15]),t(S,[2,19]),t(Vt,d,{7:72}),t(S,[2,26]),t(S,[2,27]),{4:s,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:g,17:l,19:_,21:[1,73],22:v,24:A,25:B,26:Y,27:R,28:f,29:L,32:25,33:I,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,21])],defaultActions:{5:[2,1],6:[2,2],46:[2,46],47:[2,47]},parseError:r(function(o,u){if(u.recoverable)this.trace(o);else{var n=new Error(o);throw n.hash=u,n}},"parseError"),parse:r(function(o){var u=this,n=[0],y=[],T=[null],i=[],q=this.table,h="",M=0,W=0,ht=2,Q=1,Dt=i.slice.call(arguments,1),E=Object.create(this.lexer),U={yy:{}};for(var Ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ct)&&(U.yy[Ct]=this.yy[Ct]);E.setInput(o,U.yy),U.yy.lexer=E,U.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var xt=E.yylloc;i.push(xt);var me=E.options&&E.options.ranges;typeof U.yy.parseError=="function"?this.parseError=U.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ke(D){n.length=n.length-2*D,T.length=T.length-D,i.length=i.length-D}r(ke,"popStack");function Mt(){var D;return D=y.pop()||E.lex()||Q,typeof D!="number"&&(D instanceof Array&&(y=D,D=y.pop()),D=u.symbols_[D]||D),D}r(Mt,"lex");for(var m,j,C,At,X={},dt,O,Ut,ft;;){if(j=n[n.length-1],this.defaultActions[j]?C=this.defaultActions[j]:((m===null||typeof m>"u")&&(m=Mt()),C=q[j]&&q[j][m]),typeof C>"u"||!C.length||!C[0]){var Lt="";ft=[];for(dt in q[j])this.terminals_[dt]&&dt>ht&&ft.push("'"+this.terminals_[dt]+"'");E.showPosition?Lt="Parse error on line "+(M+1)+`: +import{g as De,s as Ce}from"./chunk-5HRBRIJM-BsvwIDm-.js";import{_ as r,e as z,d as x,g as xe,s as Ae,b as Le,c as Re,p as Ie,q as Oe,l as b,z as Ne,u as we,v as $e,R as Pe}from"./index-BxMsVRSP.js";var Ot=function(){var t=r(function($,o,u,n){for(u=u||{},n=$.length;n--;u[$[n]]=o);return u},"o"),e=[1,2],c=[1,3],a=[1,4],d=[2,4],s=[1,9],p=[1,11],g=[1,16],l=[1,17],_=[1,18],v=[1,19],A=[1,32],B=[1,20],Y=[1,21],R=[1,22],f=[1,23],L=[1,24],I=[1,26],F=[1,27],V=[1,28],N=[1,29],w=[1,30],rt=[1,31],at=[1,34],nt=[1,35],lt=[1,36],ot=[1,37],J=[1,33],S=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],ct=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],Vt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],kt={trace:r(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,style:42,STYLE_IDS:43,STYLEDEF_STYLEOPTS:44,class:45,CLASSENTITY_IDS:46,STYLECLASS:47,direction_tb:48,direction_bt:49,direction_rl:50,direction_lr:51,eol:52,";":53,EDGE_STATE:54,STYLE_SEPARATOR:55,left_of:56,right_of:57,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"style",43:"STYLE_IDS",44:"STYLEDEF_STYLEOPTS",45:"class",46:"CLASSENTITY_IDS",47:"STYLECLASS",48:"direction_tb",49:"direction_bt",50:"direction_rl",51:"direction_lr",53:";",54:"EDGE_STATE",55:"STYLE_SEPARATOR",56:"left_of",57:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[52,1],[52,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:r(function(o,u,n,y,T,i,q){var h=i.length-1;switch(T){case 3:return y.setRootDoc(i[h]),i[h];case 4:this.$=[];break;case 5:i[h]!="nl"&&(i[h-1].push(i[h]),this.$=i[h-1]);break;case 6:case 7:this.$=i[h];break;case 8:this.$="nl";break;case 12:this.$=i[h];break;case 13:const Q=i[h-1];Q.description=y.trimColon(i[h]),this.$=Q;break;case 14:this.$={stmt:"relation",state1:i[h-2],state2:i[h]};break;case 15:const Dt=y.trimColon(i[h]);this.$={stmt:"relation",state1:i[h-3],state2:i[h-1],description:Dt};break;case 19:this.$={stmt:"state",id:i[h-3],type:"default",description:"",doc:i[h-1]};break;case 20:var M=i[h],W=i[h-2].trim();if(i[h].match(":")){var ht=i[h].split(":");M=ht[0],W=[W,ht[1]]}this.$={stmt:"state",id:M,type:"default",description:W};break;case 21:this.$={stmt:"state",id:i[h-3],type:"default",description:i[h-5],doc:i[h-1]};break;case 22:this.$={stmt:"state",id:i[h],type:"fork"};break;case 23:this.$={stmt:"state",id:i[h],type:"join"};break;case 24:this.$={stmt:"state",id:i[h],type:"choice"};break;case 25:this.$={stmt:"state",id:y.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:i[h-1].trim(),note:{position:i[h-2].trim(),text:i[h].trim()}};break;case 29:this.$=i[h].trim(),y.setAccTitle(this.$);break;case 30:case 31:this.$=i[h].trim(),y.setAccDescription(this.$);break;case 32:case 33:this.$={stmt:"classDef",id:i[h-1].trim(),classes:i[h].trim()};break;case 34:this.$={stmt:"style",id:i[h-1].trim(),styleClass:i[h].trim()};break;case 35:this.$={stmt:"applyClass",id:i[h-1].trim(),styleClass:i[h].trim()};break;case 36:y.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 37:y.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 38:y.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 39:y.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 42:case 43:this.$={stmt:"state",id:i[h].trim(),type:"default",description:""};break;case 44:this.$={stmt:"state",id:i[h-2].trim(),classes:[i[h].trim()],type:"default",description:""};break;case 45:this.$={stmt:"state",id:i[h-2].trim(),classes:[i[h].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:c,6:a},{1:[3]},{3:5,4:e,5:c,6:a},{3:6,4:e,5:c,6:a},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],d,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:s,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:g,17:l,19:_,22:v,24:A,25:B,26:Y,27:R,28:f,29:L,32:25,33:I,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,5]),{9:38,10:12,11:13,12:14,13:15,16:g,17:l,19:_,22:v,24:A,25:B,26:Y,27:R,28:f,29:L,32:25,33:I,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,7]),t(S,[2,8]),t(S,[2,9]),t(S,[2,10]),t(S,[2,11]),t(S,[2,12],{14:[1,39],15:[1,40]}),t(S,[2,16]),{18:[1,41]},t(S,[2,18],{20:[1,42]}),{23:[1,43]},t(S,[2,22]),t(S,[2,23]),t(S,[2,24]),t(S,[2,25]),{30:44,31:[1,45],56:[1,46],57:[1,47]},t(S,[2,28]),{34:[1,48]},{36:[1,49]},t(S,[2,31]),{39:[1,50],41:[1,51]},{43:[1,52]},{46:[1,53]},t(ct,[2,42],{55:[1,54]}),t(ct,[2,43],{55:[1,55]}),t(S,[2,36]),t(S,[2,37]),t(S,[2,38]),t(S,[2,39]),t(S,[2,6]),t(S,[2,13]),{13:56,24:A,54:J},t(S,[2,17]),t(Vt,d,{7:57}),{24:[1,58]},{24:[1,59]},{23:[1,60]},{24:[2,46]},{24:[2,47]},t(S,[2,29]),t(S,[2,30]),{40:[1,61]},{40:[1,62]},{44:[1,63]},{47:[1,64]},{24:[1,65]},{24:[1,66]},t(S,[2,14],{14:[1,67]}),{4:s,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:g,17:l,19:_,21:[1,68],22:v,24:A,25:B,26:Y,27:R,28:f,29:L,32:25,33:I,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,20],{20:[1,69]}),{31:[1,70]},{24:[1,71]},t(S,[2,32]),t(S,[2,33]),t(S,[2,34]),t(S,[2,35]),t(ct,[2,44]),t(ct,[2,45]),t(S,[2,15]),t(S,[2,19]),t(Vt,d,{7:72}),t(S,[2,26]),t(S,[2,27]),{4:s,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:g,17:l,19:_,21:[1,73],22:v,24:A,25:B,26:Y,27:R,28:f,29:L,32:25,33:I,35:F,37:V,38:N,42:w,45:rt,48:at,49:nt,50:lt,51:ot,54:J},t(S,[2,21])],defaultActions:{5:[2,1],6:[2,2],46:[2,46],47:[2,47]},parseError:r(function(o,u){if(u.recoverable)this.trace(o);else{var n=new Error(o);throw n.hash=u,n}},"parseError"),parse:r(function(o){var u=this,n=[0],y=[],T=[null],i=[],q=this.table,h="",M=0,W=0,ht=2,Q=1,Dt=i.slice.call(arguments,1),E=Object.create(this.lexer),U={yy:{}};for(var Ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ct)&&(U.yy[Ct]=this.yy[Ct]);E.setInput(o,U.yy),U.yy.lexer=E,U.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var xt=E.yylloc;i.push(xt);var me=E.options&&E.options.ranges;typeof U.yy.parseError=="function"?this.parseError=U.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ke(D){n.length=n.length-2*D,T.length=T.length-D,i.length=i.length-D}r(ke,"popStack");function Mt(){var D;return D=y.pop()||E.lex()||Q,typeof D!="number"&&(D instanceof Array&&(y=D,D=y.pop()),D=u.symbols_[D]||D),D}r(Mt,"lex");for(var m,j,C,At,X={},dt,O,Ut,ft;;){if(j=n[n.length-1],this.defaultActions[j]?C=this.defaultActions[j]:((m===null||typeof m>"u")&&(m=Mt()),C=q[j]&&q[j][m]),typeof C>"u"||!C.length||!C[0]){var Lt="";ft=[];for(dt in q[j])this.terminals_[dt]&&dt>ht&&ft.push("'"+this.terminals_[dt]+"'");E.showPosition?Lt="Parse error on line "+(M+1)+`: `+E.showPosition()+` Expecting `+ft.join(", ")+", got '"+(this.terminals_[m]||m)+"'":Lt="Parse error on line "+(M+1)+": Unexpected "+(m==Q?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(Lt,{text:E.match,token:this.terminals_[m]||m,line:E.yylineno,loc:xt,expected:ft})}if(C[0]instanceof Array&&C.length>1)throw new Error("Parse Error: multiple actions possible at state: "+j+", token: "+m);switch(C[0]){case 1:n.push(m),T.push(E.yytext),i.push(E.yylloc),n.push(C[1]),m=null,W=E.yyleng,h=E.yytext,M=E.yylineno,xt=E.yylloc;break;case 2:if(O=this.productions_[C[1]][1],X.$=T[T.length-O],X._$={first_line:i[i.length-(O||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(O||1)].first_column,last_column:i[i.length-1].last_column},me&&(X._$.range=[i[i.length-(O||1)].range[0],i[i.length-1].range[1]]),At=this.performAction.apply(X,[h,W,M,U.yy,C[1],T,i].concat(Dt)),typeof At<"u")return At;O&&(n=n.slice(0,-1*O*2),T=T.slice(0,-1*O),i=i.slice(0,-1*O)),n.push(this.productions_[C[1]][0]),T.push(X.$),i.push(X._$),Ut=q[n[n.length-2]][n[n.length-1]],n.push(Ut);break;case 3:return!0}}return!0},"parse")},be=function(){var $={EOF:1,parseError:r(function(u,n){if(this.yy.parser)this.yy.parser.parseError(u,n);else throw new Error(u)},"parseError"),setInput:r(function(o,u){return this.yy=u||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:r(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var u=o.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:r(function(o){var u=o.length,n=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var T=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===y.length?this.yylloc.first_column:0)+y[y.length-n.length].length-n[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[T[0],T[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},"unput"),more:r(function(){return this._more=!0,this},"more"),reject:r(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:r(function(o){this.unput(this.match.slice(o))},"less"),pastInput:r(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r(function(){var o=this.pastInput(),u=new Array(o.length+1).join("-");return o+this.upcomingInput()+` diff --git a/assets/chunk-ASOPGD6M-CUw5NolE.js b/assets/chunk-ASOPGD6M-CSgx0Qv3.js similarity index 95% rename from assets/chunk-ASOPGD6M-CUw5NolE.js rename to assets/chunk-ASOPGD6M-CSgx0Qv3.js index 2baeb8bf5..0e759d49d 100644 --- a/assets/chunk-ASOPGD6M-CUw5NolE.js +++ b/assets/chunk-ASOPGD6M-CSgx0Qv3.js @@ -1 +1 @@ -import{_ as n,S as c,m as l}from"./index-Dq-yb_Rq.js";var o=n((a,t)=>{const e=a.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const r in t.attrs)e.attr(r,t.attrs[r]);return t.class&&e.attr("class",t.class),e},"drawRect"),d=n((a,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};o(a,e).lower()},"drawBackgroundRect"),g=n((a,t)=>{const e=t.text.replace(c," "),r=a.append("text");r.attr("x",t.x),r.attr("y",t.y),r.attr("class","legend"),r.style("text-anchor",t.anchor),t.class&&r.attr("class",t.class);const s=r.append("tspan");return s.attr("x",t.x+t.textMargin*2),s.text(e),r},"drawText"),m=n((a,t,e,r)=>{const s=a.append("image");s.attr("x",t),s.attr("y",e);const i=l(r);s.attr("xlink:href",i)},"drawImage"),h=n((a,t,e,r)=>{const s=a.append("use");s.attr("x",t),s.attr("y",e);const i=l(r);s.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),y=n(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),p=n(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj");export{p as a,d as b,h as c,o as d,m as e,g as f,y as g}; +import{_ as n,S as c,m as l}from"./index-BxMsVRSP.js";var o=n((a,t)=>{const e=a.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const r in t.attrs)e.attr(r,t.attrs[r]);return t.class&&e.attr("class",t.class),e},"drawRect"),d=n((a,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};o(a,e).lower()},"drawBackgroundRect"),g=n((a,t)=>{const e=t.text.replace(c," "),r=a.append("text");r.attr("x",t.x),r.attr("y",t.y),r.attr("class","legend"),r.style("text-anchor",t.anchor),t.class&&r.attr("class",t.class);const s=r.append("tspan");return s.attr("x",t.x+t.textMargin*2),s.text(e),r},"drawText"),m=n((a,t,e,r)=>{const s=a.append("image");s.attr("x",t),s.attr("y",e);const i=l(r);s.attr("xlink:href",i)},"drawImage"),h=n((a,t,e,r)=>{const s=a.append("use");s.attr("x",t),s.attr("y",e);const i=l(r);s.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),y=n(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),p=n(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj");export{p as a,d as b,h as c,o as d,m as e,g as f,y as g}; diff --git a/assets/chunk-KFBOBJHC-CGCgZoFv.js b/assets/chunk-KFBOBJHC-K9iYjR43.js similarity index 65% rename from assets/chunk-KFBOBJHC-CGCgZoFv.js rename to assets/chunk-KFBOBJHC-K9iYjR43.js index 26a4b7cb4..1da571a67 100644 --- a/assets/chunk-KFBOBJHC-CGCgZoFv.js +++ b/assets/chunk-KFBOBJHC-K9iYjR43.js @@ -1 +1 @@ -import{_ as s}from"./index-Dq-yb_Rq.js";var t,e=(t=class{constructor(i){this.init=i,this.records=this.init()}reset(){this.records=this.init()}},s(t,"ImperativeState"),t);export{e as I}; +import{_ as s}from"./index-BxMsVRSP.js";var t,e=(t=class{constructor(i){this.init=i,this.records=this.init()}reset(){this.records=this.init()}},s(t,"ImperativeState"),t);export{e as I}; diff --git a/assets/chunk-T2TOU4HS-DrMX8m-T.js b/assets/chunk-T2TOU4HS-B3l11Eft.js similarity index 99% rename from assets/chunk-T2TOU4HS-DrMX8m-T.js rename to assets/chunk-T2TOU4HS-B3l11Eft.js index f4824049b..fe42a9d37 100644 --- a/assets/chunk-T2TOU4HS-DrMX8m-T.js +++ b/assets/chunk-T2TOU4HS-B3l11Eft.js @@ -1,4 +1,4 @@ -import{g as mt,s as Et}from"./chunk-5HRBRIJM-C3cKZcXu.js";import{_ as u,i as bt,d as D,P as z,s as kt,g as yt,b as Tt,c as Ft,p as Dt,q as _t,e as I,v as Bt,l as ze,u as Qe,j as ie,x as St,y as vt,z as Nt}from"./index-Dq-yb_Rq.js";var Ke=function(){var e=u(function(O,o,h,d){for(h=h||{},d=O.length;d--;h[O[d]]=o);return h},"o"),i=[1,18],a=[1,19],l=[1,20],c=[1,41],r=[1,42],A=[1,26],f=[1,24],T=[1,25],S=[1,32],ke=[1,33],ye=[1,34],m=[1,45],Te=[1,35],Fe=[1,36],De=[1,37],_e=[1,38],Be=[1,27],Se=[1,28],ve=[1,29],Ne=[1,30],Le=[1,31],E=[1,44],b=[1,46],k=[1,43],F=[1,47],xe=[1,9],p=[1,8,9],re=[1,58],ue=[1,59],le=[1,60],oe=[1,61],ce=[1,62],Ie=[1,63],Oe=[1,64],he=[1,8,9,41],qe=[1,76],G=[1,8,9,12,13,22,39,41,44,66,67,68,69,70,71,72,77,79],pe=[1,8,9,12,13,17,20,22,39,41,44,48,58,66,67,68,69,70,71,72,77,79,84,99,101,102],de=[13,58,84,99,101,102],Q=[13,58,71,72,84,99,101,102],He=[13,58,66,67,68,69,70,84,99,101,102],we=[1,98],W=[1,115],X=[1,107],q=[1,113],H=[1,108],J=[1,109],Z=[1,110],$=[1,111],ee=[1,112],te=[1,114],Je=[22,58,59,80,84,85,86,87,88,89],Ve=[1,8,9,39,41,44],Ae=[1,8,9,22],Ze=[1,143],$e=[1,8,9,59],N=[1,8,9,22,58,59,80,84,85,86,87,88,89],Pe={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,DOT:17,className:18,classLiteralName:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,CLASS:46,ANNOTATION_START:47,ANNOTATION_END:48,MEMBER:49,SEPARATOR:50,relation:51,NOTE_FOR:52,noteText:53,NOTE:54,CLASSDEF:55,classList:56,stylesOpt:57,ALPHA:58,COMMA:59,direction_tb:60,direction_bt:61,direction_rl:62,direction_lr:63,relationType:64,lineType:65,AGGREGATION:66,EXTENSION:67,COMPOSITION:68,DEPENDENCY:69,LOLLIPOP:70,LINE:71,DOTTED_LINE:72,CALLBACK:73,LINK:74,LINK_TARGET:75,CLICK:76,CALLBACK_NAME:77,CALLBACK_ARGS:78,HREF:79,STYLE:80,CSSCLASS:81,style:82,styleComponent:83,NUM:84,COLON:85,UNIT:86,SPACE:87,BRKT:88,PCT:89,commentToken:90,textToken:91,graphCodeTokens:92,textNoTagsToken:93,TAGSTART:94,TAGEND:95,"==":96,"--":97,DEFAULT:98,MINUS:99,keywords:100,UNICODE_TEXT:101,BQUOTE_STR:102,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",17:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"CLASS",47:"ANNOTATION_START",48:"ANNOTATION_END",49:"MEMBER",50:"SEPARATOR",52:"NOTE_FOR",54:"NOTE",55:"CLASSDEF",58:"ALPHA",59:"COMMA",60:"direction_tb",61:"direction_bt",62:"direction_rl",63:"direction_lr",66:"AGGREGATION",67:"EXTENSION",68:"COMPOSITION",69:"DEPENDENCY",70:"LOLLIPOP",71:"LINE",72:"DOTTED_LINE",73:"CALLBACK",74:"LINK",75:"LINK_TARGET",76:"CLICK",77:"CALLBACK_NAME",78:"CALLBACK_ARGS",79:"HREF",80:"STYLE",81:"CSSCLASS",84:"NUM",85:"COLON",86:"UNIT",87:"SPACE",88:"BRKT",89:"PCT",92:"graphCodeTokens",94:"TAGSTART",95:"TAGEND",96:"==",97:"--",98:"DEFAULT",99:"MINUS",100:"keywords",101:"UNICODE_TEXT",102:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,3],[15,2],[18,1],[18,3],[18,1],[18,2],[18,2],[18,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,6],[43,2],[43,3],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[56,1],[56,3],[32,1],[32,1],[32,1],[32,1],[51,3],[51,2],[51,2],[51,1],[64,1],[64,1],[64,1],[64,1],[64,1],[65,1],[65,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[57,1],[57,3],[82,1],[82,2],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[90,1],[90,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[93,1],[93,1],[93,1],[93,1],[16,1],[16,1],[16,1],[16,1],[19,1],[53,1]],performAction:u(function(o,h,d,n,C,t,se){var s=t.length-1;switch(C){case 8:this.$=t[s-1];break;case 9:case 12:case 14:this.$=t[s];break;case 10:case 13:this.$=t[s-2]+"."+t[s];break;case 11:case 15:this.$=t[s-1]+t[s];break;case 16:case 17:this.$=t[s-1]+"~"+t[s]+"~";break;case 18:n.addRelation(t[s]);break;case 19:t[s-1].title=n.cleanupLabel(t[s]),n.addRelation(t[s-1]);break;case 30:this.$=t[s].trim(),n.setAccTitle(this.$);break;case 31:case 32:this.$=t[s].trim(),n.setAccDescription(this.$);break;case 33:n.addClassesToNamespace(t[s-3],t[s-1]);break;case 34:n.addClassesToNamespace(t[s-4],t[s-1]);break;case 35:this.$=t[s],n.addNamespace(t[s]);break;case 36:this.$=[t[s]];break;case 37:this.$=[t[s-1]];break;case 38:t[s].unshift(t[s-2]),this.$=t[s];break;case 40:n.setCssClass(t[s-2],t[s]);break;case 41:n.addMembers(t[s-3],t[s-1]);break;case 42:n.setCssClass(t[s-5],t[s-3]),n.addMembers(t[s-5],t[s-1]);break;case 43:this.$=t[s],n.addClass(t[s]);break;case 44:this.$=t[s-1],n.addClass(t[s-1]),n.setClassLabel(t[s-1],t[s]);break;case 45:n.addAnnotation(t[s],t[s-2]);break;case 46:case 59:this.$=[t[s]];break;case 47:t[s].push(t[s-1]),this.$=t[s];break;case 48:break;case 49:n.addMember(t[s-1],n.cleanupLabel(t[s]));break;case 50:break;case 51:break;case 52:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 53:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 54:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 55:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 56:n.addNote(t[s],t[s-1]);break;case 57:n.addNote(t[s]);break;case 58:this.$=t[s-2],n.defineClass(t[s-1],t[s]);break;case 60:this.$=t[s-2].concat([t[s]]);break;case 61:n.setDirection("TB");break;case 62:n.setDirection("BT");break;case 63:n.setDirection("RL");break;case 64:n.setDirection("LR");break;case 65:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 66:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 67:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 68:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 69:this.$=n.relationType.AGGREGATION;break;case 70:this.$=n.relationType.EXTENSION;break;case 71:this.$=n.relationType.COMPOSITION;break;case 72:this.$=n.relationType.DEPENDENCY;break;case 73:this.$=n.relationType.LOLLIPOP;break;case 74:this.$=n.lineType.LINE;break;case 75:this.$=n.lineType.DOTTED_LINE;break;case 76:case 82:this.$=t[s-2],n.setClickEvent(t[s-1],t[s]);break;case 77:case 83:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 78:this.$=t[s-2],n.setLink(t[s-1],t[s]);break;case 79:this.$=t[s-3],n.setLink(t[s-2],t[s-1],t[s]);break;case 80:this.$=t[s-3],n.setLink(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 81:this.$=t[s-4],n.setLink(t[s-3],t[s-2],t[s]),n.setTooltip(t[s-3],t[s-1]);break;case 84:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1],t[s]);break;case 85:this.$=t[s-4],n.setClickEvent(t[s-3],t[s-2],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 86:this.$=t[s-3],n.setLink(t[s-2],t[s]);break;case 87:this.$=t[s-4],n.setLink(t[s-3],t[s-1],t[s]);break;case 88:this.$=t[s-4],n.setLink(t[s-3],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 89:this.$=t[s-5],n.setLink(t[s-4],t[s-2],t[s]),n.setTooltip(t[s-4],t[s-1]);break;case 90:this.$=t[s-2],n.setCssStyle(t[s-1],t[s]);break;case 91:n.setCssClass(t[s-1],t[s]);break;case 92:this.$=[t[s]];break;case 93:t[s-2].push(t[s]),this.$=t[s-2];break;case 95:this.$=t[s-1]+t[s];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,18:21,19:40,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:l,38:22,42:c,43:23,46:r,47:A,49:f,50:T,52:S,54:ke,55:ye,58:m,60:Te,61:Fe,62:De,63:_e,73:Be,74:Se,76:ve,80:Ne,81:Le,84:E,99:b,101:k,102:F},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(xe,[2,5],{8:[1,48]}),{8:[1,49]},e(p,[2,18],{22:[1,50]}),e(p,[2,20]),e(p,[2,21]),e(p,[2,22]),e(p,[2,23]),e(p,[2,24]),e(p,[2,25]),e(p,[2,26]),e(p,[2,27]),e(p,[2,28]),e(p,[2,29]),{34:[1,51]},{36:[1,52]},e(p,[2,32]),e(p,[2,48],{51:53,64:56,65:57,13:[1,54],22:[1,55],66:re,67:ue,68:le,69:oe,70:ce,71:Ie,72:Oe}),{39:[1,65]},e(he,[2,39],{39:[1,67],44:[1,66]}),e(p,[2,50]),e(p,[2,51]),{16:68,58:m,84:E,99:b,101:k},{16:39,18:69,19:40,58:m,84:E,99:b,101:k,102:F},{16:39,18:70,19:40,58:m,84:E,99:b,101:k,102:F},{16:39,18:71,19:40,58:m,84:E,99:b,101:k,102:F},{58:[1,72]},{13:[1,73]},{16:39,18:74,19:40,58:m,84:E,99:b,101:k,102:F},{13:qe,53:75},{56:77,58:[1,78]},e(p,[2,61]),e(p,[2,62]),e(p,[2,63]),e(p,[2,64]),e(G,[2,12],{16:39,19:40,18:80,17:[1,79],20:[1,81],58:m,84:E,99:b,101:k,102:F}),e(G,[2,14],{20:[1,82]}),{15:83,16:84,58:m,84:E,99:b,101:k},{16:39,18:85,19:40,58:m,84:E,99:b,101:k,102:F},e(pe,[2,118]),e(pe,[2,119]),e(pe,[2,120]),e(pe,[2,121]),e([1,8,9,12,13,20,22,39,41,44,66,67,68,69,70,71,72,77,79],[2,122]),e(xe,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,18:21,38:22,43:23,16:39,19:40,5:86,33:i,35:a,37:l,42:c,46:r,47:A,49:f,50:T,52:S,54:ke,55:ye,58:m,60:Te,61:Fe,62:De,63:_e,73:Be,74:Se,76:ve,80:Ne,81:Le,84:E,99:b,101:k,102:F}),{5:87,10:5,16:39,18:21,19:40,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:l,38:22,42:c,43:23,46:r,47:A,49:f,50:T,52:S,54:ke,55:ye,58:m,60:Te,61:Fe,62:De,63:_e,73:Be,74:Se,76:ve,80:Ne,81:Le,84:E,99:b,101:k,102:F},e(p,[2,19]),e(p,[2,30]),e(p,[2,31]),{13:[1,89],16:39,18:88,19:40,58:m,84:E,99:b,101:k,102:F},{51:90,64:56,65:57,66:re,67:ue,68:le,69:oe,70:ce,71:Ie,72:Oe},e(p,[2,49]),{65:91,71:Ie,72:Oe},e(de,[2,68],{64:92,66:re,67:ue,68:le,69:oe,70:ce}),e(Q,[2,69]),e(Q,[2,70]),e(Q,[2,71]),e(Q,[2,72]),e(Q,[2,73]),e(He,[2,74]),e(He,[2,75]),{8:[1,94],24:95,40:93,43:23,46:r},{16:96,58:m,84:E,99:b,101:k},{45:97,49:we},{48:[1,99]},{13:[1,100]},{13:[1,101]},{77:[1,102],79:[1,103]},{22:W,57:104,58:X,80:q,82:105,83:106,84:H,85:J,86:Z,87:$,88:ee,89:te},{58:[1,116]},{13:qe,53:117},e(p,[2,57]),e(p,[2,123]),{22:W,57:118,58:X,59:[1,119],80:q,82:105,83:106,84:H,85:J,86:Z,87:$,88:ee,89:te},e(Je,[2,59]),{16:39,18:120,19:40,58:m,84:E,99:b,101:k,102:F},e(G,[2,15]),e(G,[2,16]),e(G,[2,17]),{39:[2,35]},{15:122,16:84,17:[1,121],39:[2,9],58:m,84:E,99:b,101:k},e(Ve,[2,43],{11:123,12:[1,124]}),e(xe,[2,7]),{9:[1,125]},e(Ae,[2,52]),{16:39,18:126,19:40,58:m,84:E,99:b,101:k,102:F},{13:[1,128],16:39,18:127,19:40,58:m,84:E,99:b,101:k,102:F},e(de,[2,67],{64:129,66:re,67:ue,68:le,69:oe,70:ce}),e(de,[2,66]),{41:[1,130]},{24:95,40:131,43:23,46:r},{8:[1,132],41:[2,36]},e(he,[2,40],{39:[1,133]}),{41:[1,134]},{41:[2,46],45:135,49:we},{16:39,18:136,19:40,58:m,84:E,99:b,101:k,102:F},e(p,[2,76],{13:[1,137]}),e(p,[2,78],{13:[1,139],75:[1,138]}),e(p,[2,82],{13:[1,140],78:[1,141]}),{13:[1,142]},e(p,[2,90],{59:Ze}),e($e,[2,92],{83:144,22:W,58:X,80:q,84:H,85:J,86:Z,87:$,88:ee,89:te}),e(N,[2,94]),e(N,[2,96]),e(N,[2,97]),e(N,[2,98]),e(N,[2,99]),e(N,[2,100]),e(N,[2,101]),e(N,[2,102]),e(N,[2,103]),e(N,[2,104]),e(p,[2,91]),e(p,[2,56]),e(p,[2,58],{59:Ze}),{58:[1,145]},e(G,[2,13]),{15:146,16:84,58:m,84:E,99:b,101:k},{39:[2,11]},e(Ve,[2,44]),{13:[1,147]},{1:[2,4]},e(Ae,[2,54]),e(Ae,[2,53]),{16:39,18:148,19:40,58:m,84:E,99:b,101:k,102:F},e(de,[2,65]),e(p,[2,33]),{41:[1,149]},{24:95,40:150,41:[2,37],43:23,46:r},{45:151,49:we},e(he,[2,41]),{41:[2,47]},e(p,[2,45]),e(p,[2,77]),e(p,[2,79]),e(p,[2,80],{75:[1,152]}),e(p,[2,83]),e(p,[2,84],{13:[1,153]}),e(p,[2,86],{13:[1,155],75:[1,154]}),{22:W,58:X,80:q,82:156,83:106,84:H,85:J,86:Z,87:$,88:ee,89:te},e(N,[2,95]),e(Je,[2,60]),{39:[2,10]},{14:[1,157]},e(Ae,[2,55]),e(p,[2,34]),{41:[2,38]},{41:[1,158]},e(p,[2,81]),e(p,[2,85]),e(p,[2,87]),e(p,[2,88],{75:[1,159]}),e($e,[2,93],{83:144,22:W,58:X,80:q,84:H,85:J,86:Z,87:$,88:ee,89:te}),e(Ve,[2,8]),e(he,[2,42]),e(p,[2,89])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],83:[2,35],122:[2,11],125:[2,4],135:[2,47],146:[2,10],150:[2,38]},parseError:u(function(o,h){if(h.recoverable)this.trace(o);else{var d=new Error(o);throw d.hash=h,d}},"parseError"),parse:u(function(o){var h=this,d=[0],n=[],C=[null],t=[],se=this.table,s="",ge=0,et=0,At=2,tt=1,ft=t.slice.call(arguments,1),y=Object.create(this.lexer),V={yy:{}};for(var Re in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Re)&&(V.yy[Re]=this.yy[Re]);y.setInput(o,V.yy),V.yy.lexer=y,V.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var Me=y.yylloc;t.push(Me);var gt=y.options&&y.options.ranges;typeof V.yy.parseError=="function"?this.parseError=V.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ct(B){d.length=d.length-2*B,C.length=C.length-B,t.length=t.length-B}u(Ct,"popStack");function st(){var B;return B=n.pop()||y.lex()||tt,typeof B!="number"&&(B instanceof Array&&(n=B,B=n.pop()),B=h.symbols_[B]||B),B}u(st,"lex");for(var _,P,v,Ge,U={},Ce,x,it,me;;){if(P=d[d.length-1],this.defaultActions[P]?v=this.defaultActions[P]:((_===null||typeof _>"u")&&(_=st()),v=se[P]&&se[P][_]),typeof v>"u"||!v.length||!v[0]){var Ue="";me=[];for(Ce in se[P])this.terminals_[Ce]&&Ce>At&&me.push("'"+this.terminals_[Ce]+"'");y.showPosition?Ue="Parse error on line "+(ge+1)+`: +import{g as mt,s as Et}from"./chunk-5HRBRIJM-BsvwIDm-.js";import{_ as u,i as bt,d as D,P as z,s as kt,g as yt,b as Tt,c as Ft,p as Dt,q as _t,e as I,v as Bt,l as ze,u as Qe,j as ie,x as St,y as vt,z as Nt}from"./index-BxMsVRSP.js";var Ke=function(){var e=u(function(O,o,h,d){for(h=h||{},d=O.length;d--;h[O[d]]=o);return h},"o"),i=[1,18],a=[1,19],l=[1,20],c=[1,41],r=[1,42],A=[1,26],f=[1,24],T=[1,25],S=[1,32],ke=[1,33],ye=[1,34],m=[1,45],Te=[1,35],Fe=[1,36],De=[1,37],_e=[1,38],Be=[1,27],Se=[1,28],ve=[1,29],Ne=[1,30],Le=[1,31],E=[1,44],b=[1,46],k=[1,43],F=[1,47],xe=[1,9],p=[1,8,9],re=[1,58],ue=[1,59],le=[1,60],oe=[1,61],ce=[1,62],Ie=[1,63],Oe=[1,64],he=[1,8,9,41],qe=[1,76],G=[1,8,9,12,13,22,39,41,44,66,67,68,69,70,71,72,77,79],pe=[1,8,9,12,13,17,20,22,39,41,44,48,58,66,67,68,69,70,71,72,77,79,84,99,101,102],de=[13,58,84,99,101,102],Q=[13,58,71,72,84,99,101,102],He=[13,58,66,67,68,69,70,84,99,101,102],we=[1,98],W=[1,115],X=[1,107],q=[1,113],H=[1,108],J=[1,109],Z=[1,110],$=[1,111],ee=[1,112],te=[1,114],Je=[22,58,59,80,84,85,86,87,88,89],Ve=[1,8,9,39,41,44],Ae=[1,8,9,22],Ze=[1,143],$e=[1,8,9,59],N=[1,8,9,22,58,59,80,84,85,86,87,88,89],Pe={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,DOT:17,className:18,classLiteralName:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,CLASS:46,ANNOTATION_START:47,ANNOTATION_END:48,MEMBER:49,SEPARATOR:50,relation:51,NOTE_FOR:52,noteText:53,NOTE:54,CLASSDEF:55,classList:56,stylesOpt:57,ALPHA:58,COMMA:59,direction_tb:60,direction_bt:61,direction_rl:62,direction_lr:63,relationType:64,lineType:65,AGGREGATION:66,EXTENSION:67,COMPOSITION:68,DEPENDENCY:69,LOLLIPOP:70,LINE:71,DOTTED_LINE:72,CALLBACK:73,LINK:74,LINK_TARGET:75,CLICK:76,CALLBACK_NAME:77,CALLBACK_ARGS:78,HREF:79,STYLE:80,CSSCLASS:81,style:82,styleComponent:83,NUM:84,COLON:85,UNIT:86,SPACE:87,BRKT:88,PCT:89,commentToken:90,textToken:91,graphCodeTokens:92,textNoTagsToken:93,TAGSTART:94,TAGEND:95,"==":96,"--":97,DEFAULT:98,MINUS:99,keywords:100,UNICODE_TEXT:101,BQUOTE_STR:102,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",17:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"CLASS",47:"ANNOTATION_START",48:"ANNOTATION_END",49:"MEMBER",50:"SEPARATOR",52:"NOTE_FOR",54:"NOTE",55:"CLASSDEF",58:"ALPHA",59:"COMMA",60:"direction_tb",61:"direction_bt",62:"direction_rl",63:"direction_lr",66:"AGGREGATION",67:"EXTENSION",68:"COMPOSITION",69:"DEPENDENCY",70:"LOLLIPOP",71:"LINE",72:"DOTTED_LINE",73:"CALLBACK",74:"LINK",75:"LINK_TARGET",76:"CLICK",77:"CALLBACK_NAME",78:"CALLBACK_ARGS",79:"HREF",80:"STYLE",81:"CSSCLASS",84:"NUM",85:"COLON",86:"UNIT",87:"SPACE",88:"BRKT",89:"PCT",92:"graphCodeTokens",94:"TAGSTART",95:"TAGEND",96:"==",97:"--",98:"DEFAULT",99:"MINUS",100:"keywords",101:"UNICODE_TEXT",102:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,3],[15,2],[18,1],[18,3],[18,1],[18,2],[18,2],[18,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,6],[43,2],[43,3],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[56,1],[56,3],[32,1],[32,1],[32,1],[32,1],[51,3],[51,2],[51,2],[51,1],[64,1],[64,1],[64,1],[64,1],[64,1],[65,1],[65,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[57,1],[57,3],[82,1],[82,2],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[90,1],[90,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[93,1],[93,1],[93,1],[93,1],[16,1],[16,1],[16,1],[16,1],[19,1],[53,1]],performAction:u(function(o,h,d,n,C,t,se){var s=t.length-1;switch(C){case 8:this.$=t[s-1];break;case 9:case 12:case 14:this.$=t[s];break;case 10:case 13:this.$=t[s-2]+"."+t[s];break;case 11:case 15:this.$=t[s-1]+t[s];break;case 16:case 17:this.$=t[s-1]+"~"+t[s]+"~";break;case 18:n.addRelation(t[s]);break;case 19:t[s-1].title=n.cleanupLabel(t[s]),n.addRelation(t[s-1]);break;case 30:this.$=t[s].trim(),n.setAccTitle(this.$);break;case 31:case 32:this.$=t[s].trim(),n.setAccDescription(this.$);break;case 33:n.addClassesToNamespace(t[s-3],t[s-1]);break;case 34:n.addClassesToNamespace(t[s-4],t[s-1]);break;case 35:this.$=t[s],n.addNamespace(t[s]);break;case 36:this.$=[t[s]];break;case 37:this.$=[t[s-1]];break;case 38:t[s].unshift(t[s-2]),this.$=t[s];break;case 40:n.setCssClass(t[s-2],t[s]);break;case 41:n.addMembers(t[s-3],t[s-1]);break;case 42:n.setCssClass(t[s-5],t[s-3]),n.addMembers(t[s-5],t[s-1]);break;case 43:this.$=t[s],n.addClass(t[s]);break;case 44:this.$=t[s-1],n.addClass(t[s-1]),n.setClassLabel(t[s-1],t[s]);break;case 45:n.addAnnotation(t[s],t[s-2]);break;case 46:case 59:this.$=[t[s]];break;case 47:t[s].push(t[s-1]),this.$=t[s];break;case 48:break;case 49:n.addMember(t[s-1],n.cleanupLabel(t[s]));break;case 50:break;case 51:break;case 52:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 53:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 54:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 55:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 56:n.addNote(t[s],t[s-1]);break;case 57:n.addNote(t[s]);break;case 58:this.$=t[s-2],n.defineClass(t[s-1],t[s]);break;case 60:this.$=t[s-2].concat([t[s]]);break;case 61:n.setDirection("TB");break;case 62:n.setDirection("BT");break;case 63:n.setDirection("RL");break;case 64:n.setDirection("LR");break;case 65:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 66:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 67:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 68:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 69:this.$=n.relationType.AGGREGATION;break;case 70:this.$=n.relationType.EXTENSION;break;case 71:this.$=n.relationType.COMPOSITION;break;case 72:this.$=n.relationType.DEPENDENCY;break;case 73:this.$=n.relationType.LOLLIPOP;break;case 74:this.$=n.lineType.LINE;break;case 75:this.$=n.lineType.DOTTED_LINE;break;case 76:case 82:this.$=t[s-2],n.setClickEvent(t[s-1],t[s]);break;case 77:case 83:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 78:this.$=t[s-2],n.setLink(t[s-1],t[s]);break;case 79:this.$=t[s-3],n.setLink(t[s-2],t[s-1],t[s]);break;case 80:this.$=t[s-3],n.setLink(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 81:this.$=t[s-4],n.setLink(t[s-3],t[s-2],t[s]),n.setTooltip(t[s-3],t[s-1]);break;case 84:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1],t[s]);break;case 85:this.$=t[s-4],n.setClickEvent(t[s-3],t[s-2],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 86:this.$=t[s-3],n.setLink(t[s-2],t[s]);break;case 87:this.$=t[s-4],n.setLink(t[s-3],t[s-1],t[s]);break;case 88:this.$=t[s-4],n.setLink(t[s-3],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 89:this.$=t[s-5],n.setLink(t[s-4],t[s-2],t[s]),n.setTooltip(t[s-4],t[s-1]);break;case 90:this.$=t[s-2],n.setCssStyle(t[s-1],t[s]);break;case 91:n.setCssClass(t[s-1],t[s]);break;case 92:this.$=[t[s]];break;case 93:t[s-2].push(t[s]),this.$=t[s-2];break;case 95:this.$=t[s-1]+t[s];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,18:21,19:40,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:l,38:22,42:c,43:23,46:r,47:A,49:f,50:T,52:S,54:ke,55:ye,58:m,60:Te,61:Fe,62:De,63:_e,73:Be,74:Se,76:ve,80:Ne,81:Le,84:E,99:b,101:k,102:F},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(xe,[2,5],{8:[1,48]}),{8:[1,49]},e(p,[2,18],{22:[1,50]}),e(p,[2,20]),e(p,[2,21]),e(p,[2,22]),e(p,[2,23]),e(p,[2,24]),e(p,[2,25]),e(p,[2,26]),e(p,[2,27]),e(p,[2,28]),e(p,[2,29]),{34:[1,51]},{36:[1,52]},e(p,[2,32]),e(p,[2,48],{51:53,64:56,65:57,13:[1,54],22:[1,55],66:re,67:ue,68:le,69:oe,70:ce,71:Ie,72:Oe}),{39:[1,65]},e(he,[2,39],{39:[1,67],44:[1,66]}),e(p,[2,50]),e(p,[2,51]),{16:68,58:m,84:E,99:b,101:k},{16:39,18:69,19:40,58:m,84:E,99:b,101:k,102:F},{16:39,18:70,19:40,58:m,84:E,99:b,101:k,102:F},{16:39,18:71,19:40,58:m,84:E,99:b,101:k,102:F},{58:[1,72]},{13:[1,73]},{16:39,18:74,19:40,58:m,84:E,99:b,101:k,102:F},{13:qe,53:75},{56:77,58:[1,78]},e(p,[2,61]),e(p,[2,62]),e(p,[2,63]),e(p,[2,64]),e(G,[2,12],{16:39,19:40,18:80,17:[1,79],20:[1,81],58:m,84:E,99:b,101:k,102:F}),e(G,[2,14],{20:[1,82]}),{15:83,16:84,58:m,84:E,99:b,101:k},{16:39,18:85,19:40,58:m,84:E,99:b,101:k,102:F},e(pe,[2,118]),e(pe,[2,119]),e(pe,[2,120]),e(pe,[2,121]),e([1,8,9,12,13,20,22,39,41,44,66,67,68,69,70,71,72,77,79],[2,122]),e(xe,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,18:21,38:22,43:23,16:39,19:40,5:86,33:i,35:a,37:l,42:c,46:r,47:A,49:f,50:T,52:S,54:ke,55:ye,58:m,60:Te,61:Fe,62:De,63:_e,73:Be,74:Se,76:ve,80:Ne,81:Le,84:E,99:b,101:k,102:F}),{5:87,10:5,16:39,18:21,19:40,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:l,38:22,42:c,43:23,46:r,47:A,49:f,50:T,52:S,54:ke,55:ye,58:m,60:Te,61:Fe,62:De,63:_e,73:Be,74:Se,76:ve,80:Ne,81:Le,84:E,99:b,101:k,102:F},e(p,[2,19]),e(p,[2,30]),e(p,[2,31]),{13:[1,89],16:39,18:88,19:40,58:m,84:E,99:b,101:k,102:F},{51:90,64:56,65:57,66:re,67:ue,68:le,69:oe,70:ce,71:Ie,72:Oe},e(p,[2,49]),{65:91,71:Ie,72:Oe},e(de,[2,68],{64:92,66:re,67:ue,68:le,69:oe,70:ce}),e(Q,[2,69]),e(Q,[2,70]),e(Q,[2,71]),e(Q,[2,72]),e(Q,[2,73]),e(He,[2,74]),e(He,[2,75]),{8:[1,94],24:95,40:93,43:23,46:r},{16:96,58:m,84:E,99:b,101:k},{45:97,49:we},{48:[1,99]},{13:[1,100]},{13:[1,101]},{77:[1,102],79:[1,103]},{22:W,57:104,58:X,80:q,82:105,83:106,84:H,85:J,86:Z,87:$,88:ee,89:te},{58:[1,116]},{13:qe,53:117},e(p,[2,57]),e(p,[2,123]),{22:W,57:118,58:X,59:[1,119],80:q,82:105,83:106,84:H,85:J,86:Z,87:$,88:ee,89:te},e(Je,[2,59]),{16:39,18:120,19:40,58:m,84:E,99:b,101:k,102:F},e(G,[2,15]),e(G,[2,16]),e(G,[2,17]),{39:[2,35]},{15:122,16:84,17:[1,121],39:[2,9],58:m,84:E,99:b,101:k},e(Ve,[2,43],{11:123,12:[1,124]}),e(xe,[2,7]),{9:[1,125]},e(Ae,[2,52]),{16:39,18:126,19:40,58:m,84:E,99:b,101:k,102:F},{13:[1,128],16:39,18:127,19:40,58:m,84:E,99:b,101:k,102:F},e(de,[2,67],{64:129,66:re,67:ue,68:le,69:oe,70:ce}),e(de,[2,66]),{41:[1,130]},{24:95,40:131,43:23,46:r},{8:[1,132],41:[2,36]},e(he,[2,40],{39:[1,133]}),{41:[1,134]},{41:[2,46],45:135,49:we},{16:39,18:136,19:40,58:m,84:E,99:b,101:k,102:F},e(p,[2,76],{13:[1,137]}),e(p,[2,78],{13:[1,139],75:[1,138]}),e(p,[2,82],{13:[1,140],78:[1,141]}),{13:[1,142]},e(p,[2,90],{59:Ze}),e($e,[2,92],{83:144,22:W,58:X,80:q,84:H,85:J,86:Z,87:$,88:ee,89:te}),e(N,[2,94]),e(N,[2,96]),e(N,[2,97]),e(N,[2,98]),e(N,[2,99]),e(N,[2,100]),e(N,[2,101]),e(N,[2,102]),e(N,[2,103]),e(N,[2,104]),e(p,[2,91]),e(p,[2,56]),e(p,[2,58],{59:Ze}),{58:[1,145]},e(G,[2,13]),{15:146,16:84,58:m,84:E,99:b,101:k},{39:[2,11]},e(Ve,[2,44]),{13:[1,147]},{1:[2,4]},e(Ae,[2,54]),e(Ae,[2,53]),{16:39,18:148,19:40,58:m,84:E,99:b,101:k,102:F},e(de,[2,65]),e(p,[2,33]),{41:[1,149]},{24:95,40:150,41:[2,37],43:23,46:r},{45:151,49:we},e(he,[2,41]),{41:[2,47]},e(p,[2,45]),e(p,[2,77]),e(p,[2,79]),e(p,[2,80],{75:[1,152]}),e(p,[2,83]),e(p,[2,84],{13:[1,153]}),e(p,[2,86],{13:[1,155],75:[1,154]}),{22:W,58:X,80:q,82:156,83:106,84:H,85:J,86:Z,87:$,88:ee,89:te},e(N,[2,95]),e(Je,[2,60]),{39:[2,10]},{14:[1,157]},e(Ae,[2,55]),e(p,[2,34]),{41:[2,38]},{41:[1,158]},e(p,[2,81]),e(p,[2,85]),e(p,[2,87]),e(p,[2,88],{75:[1,159]}),e($e,[2,93],{83:144,22:W,58:X,80:q,84:H,85:J,86:Z,87:$,88:ee,89:te}),e(Ve,[2,8]),e(he,[2,42]),e(p,[2,89])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],83:[2,35],122:[2,11],125:[2,4],135:[2,47],146:[2,10],150:[2,38]},parseError:u(function(o,h){if(h.recoverable)this.trace(o);else{var d=new Error(o);throw d.hash=h,d}},"parseError"),parse:u(function(o){var h=this,d=[0],n=[],C=[null],t=[],se=this.table,s="",ge=0,et=0,At=2,tt=1,ft=t.slice.call(arguments,1),y=Object.create(this.lexer),V={yy:{}};for(var Re in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Re)&&(V.yy[Re]=this.yy[Re]);y.setInput(o,V.yy),V.yy.lexer=y,V.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var Me=y.yylloc;t.push(Me);var gt=y.options&&y.options.ranges;typeof V.yy.parseError=="function"?this.parseError=V.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ct(B){d.length=d.length-2*B,C.length=C.length-B,t.length=t.length-B}u(Ct,"popStack");function st(){var B;return B=n.pop()||y.lex()||tt,typeof B!="number"&&(B instanceof Array&&(n=B,B=n.pop()),B=h.symbols_[B]||B),B}u(st,"lex");for(var _,P,v,Ge,U={},Ce,x,it,me;;){if(P=d[d.length-1],this.defaultActions[P]?v=this.defaultActions[P]:((_===null||typeof _>"u")&&(_=st()),v=se[P]&&se[P][_]),typeof v>"u"||!v.length||!v[0]){var Ue="";me=[];for(Ce in se[P])this.terminals_[Ce]&&Ce>At&&me.push("'"+this.terminals_[Ce]+"'");y.showPosition?Ue="Parse error on line "+(ge+1)+`: `+y.showPosition()+` Expecting `+me.join(", ")+", got '"+(this.terminals_[_]||_)+"'":Ue="Parse error on line "+(ge+1)+": Unexpected "+(_==tt?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(Ue,{text:y.match,token:this.terminals_[_]||_,line:y.yylineno,loc:Me,expected:me})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+_);switch(v[0]){case 1:d.push(_),C.push(y.yytext),t.push(y.yylloc),d.push(v[1]),_=null,et=y.yyleng,s=y.yytext,ge=y.yylineno,Me=y.yylloc;break;case 2:if(x=this.productions_[v[1]][1],U.$=C[C.length-x],U._$={first_line:t[t.length-(x||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(x||1)].first_column,last_column:t[t.length-1].last_column},gt&&(U._$.range=[t[t.length-(x||1)].range[0],t[t.length-1].range[1]]),Ge=this.performAction.apply(U,[s,et,ge,V.yy,v[1],C,t].concat(ft)),typeof Ge<"u")return Ge;x&&(d=d.slice(0,-1*x*2),C=C.slice(0,-1*x),t=t.slice(0,-1*x)),d.push(this.productions_[v[1]][0]),C.push(U.$),t.push(U._$),it=se[d[d.length-2]][d[d.length-1]],d.push(it);break;case 3:return!0}}return!0},"parse")},dt=function(){var O={EOF:1,parseError:u(function(h,d){if(this.yy.parser)this.yy.parser.parseError(h,d);else throw new Error(h)},"parseError"),setInput:u(function(o,h){return this.yy=h||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:u(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var h=o.match(/(?:\r\n?|\n).*/g);return h?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:u(function(o){var h=o.length,d=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-h),this.offset-=h;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var C=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===n.length?this.yylloc.first_column:0)+n[n.length-d.length].length-d[0].length:this.yylloc.first_column-h},this.options.ranges&&(this.yylloc.range=[C[0],C[0]+this.yyleng-h]),this.yyleng=this.yytext.length,this},"unput"),more:u(function(){return this._more=!0,this},"more"),reject:u(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:u(function(o){this.unput(this.match.slice(o))},"less"),pastInput:u(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:u(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:u(function(){var o=this.pastInput(),h=new Array(o.length+1).join("-");return o+this.upcomingInput()+` diff --git a/assets/chunk-TMUBEWPD-DKkhX1hR.js b/assets/chunk-TMUBEWPD-DJMHR1yx.js similarity index 77% rename from assets/chunk-TMUBEWPD-DKkhX1hR.js rename to assets/chunk-TMUBEWPD-DJMHR1yx.js index bfd4d846f..de0e0b9bb 100644 --- a/assets/chunk-TMUBEWPD-DKkhX1hR.js +++ b/assets/chunk-TMUBEWPD-DJMHR1yx.js @@ -1 +1 @@ -import{_ as l}from"./index-Dq-yb_Rq.js";function m(e,c){var i,t,o;e.accDescr&&((i=c.setAccDescription)==null||i.call(c,e.accDescr)),e.accTitle&&((t=c.setAccTitle)==null||t.call(c,e.accTitle)),e.title&&((o=c.setDiagramTitle)==null||o.call(c,e.title))}l(m,"populateCommonDb");export{m as p}; +import{_ as l}from"./index-BxMsVRSP.js";function m(e,c){var i,t,o;e.accDescr&&((i=c.setAccDescription)==null||i.call(c,e.accDescr)),e.accTitle&&((t=c.setAccTitle)==null||t.call(c,e.accTitle)),e.title&&((o=c.setDiagramTitle)==null||o.call(c,e.title))}l(m,"populateCommonDb");export{m as p}; diff --git a/assets/classDiagram-LNE6IOMH-78if3RKq.js b/assets/classDiagram-LNE6IOMH-78if3RKq.js deleted file mode 100644 index 7d973ba36..000000000 --- a/assets/classDiagram-LNE6IOMH-78if3RKq.js +++ /dev/null @@ -1 +0,0 @@ -import{c as s,a as r,b as e,s as l}from"./chunk-T2TOU4HS-DrMX8m-T.js";import{_ as t}from"./index-Dq-yb_Rq.js";import"./chunk-5HRBRIJM-C3cKZcXu.js";var _={parser:s,db:r,renderer:e,styles:l,init:t(a=>{a.class||(a.class={}),a.class.arrowMarkerAbsolute=a.arrowMarkerAbsolute,r.clear()},"init")};export{_ as diagram}; diff --git a/assets/classDiagram-LNE6IOMH-B8v8UOMF.js b/assets/classDiagram-LNE6IOMH-B8v8UOMF.js new file mode 100644 index 000000000..8a5b756d2 --- /dev/null +++ b/assets/classDiagram-LNE6IOMH-B8v8UOMF.js @@ -0,0 +1 @@ +import{c as s,a as r,b as e,s as l}from"./chunk-T2TOU4HS-B3l11Eft.js";import{_ as t}from"./index-BxMsVRSP.js";import"./chunk-5HRBRIJM-BsvwIDm-.js";var _={parser:s,db:r,renderer:e,styles:l,init:t(a=>{a.class||(a.class={}),a.class.arrowMarkerAbsolute=a.arrowMarkerAbsolute,r.clear()},"init")};export{_ as diagram}; diff --git a/assets/classDiagram-v2-MQ7JQ4JX-78if3RKq.js b/assets/classDiagram-v2-MQ7JQ4JX-78if3RKq.js deleted file mode 100644 index 7d973ba36..000000000 --- a/assets/classDiagram-v2-MQ7JQ4JX-78if3RKq.js +++ /dev/null @@ -1 +0,0 @@ -import{c as s,a as r,b as e,s as l}from"./chunk-T2TOU4HS-DrMX8m-T.js";import{_ as t}from"./index-Dq-yb_Rq.js";import"./chunk-5HRBRIJM-C3cKZcXu.js";var _={parser:s,db:r,renderer:e,styles:l,init:t(a=>{a.class||(a.class={}),a.class.arrowMarkerAbsolute=a.arrowMarkerAbsolute,r.clear()},"init")};export{_ as diagram}; diff --git a/assets/classDiagram-v2-MQ7JQ4JX-B8v8UOMF.js b/assets/classDiagram-v2-MQ7JQ4JX-B8v8UOMF.js new file mode 100644 index 000000000..8a5b756d2 --- /dev/null +++ b/assets/classDiagram-v2-MQ7JQ4JX-B8v8UOMF.js @@ -0,0 +1 @@ +import{c as s,a as r,b as e,s as l}from"./chunk-T2TOU4HS-B3l11Eft.js";import{_ as t}from"./index-BxMsVRSP.js";import"./chunk-5HRBRIJM-BsvwIDm-.js";var _={parser:s,db:r,renderer:e,styles:l,init:t(a=>{a.class||(a.class={}),a.class.arrowMarkerAbsolute=a.arrowMarkerAbsolute,r.clear()},"init")};export{_ as diagram}; diff --git a/assets/clone-BJk3Zf2Y.js b/assets/clone-BJk3Zf2Y.js deleted file mode 100644 index d74f50c85..000000000 --- a/assets/clone-BJk3Zf2Y.js +++ /dev/null @@ -1 +0,0 @@ -import{b as r}from"./_baseUniq-4k_gUsXm.js";var e=4;function a(o){return r(o,e)}export{a as c}; diff --git a/assets/clone-BKg_06cU.js b/assets/clone-BKg_06cU.js new file mode 100644 index 000000000..41dceb58a --- /dev/null +++ b/assets/clone-BKg_06cU.js @@ -0,0 +1 @@ +import{b as r}from"./_baseUniq-QkQtF8Yx.js";var e=4;function a(o){return r(o,e)}export{a as c}; diff --git a/assets/cytoscape.esm-68h7XOLx.js b/assets/cytoscape.esm-CIjMI8L_.js similarity index 99% rename from assets/cytoscape.esm-68h7XOLx.js rename to assets/cytoscape.esm-CIjMI8L_.js index 7d5ff8a29..e097b14be 100644 --- a/assets/cytoscape.esm-68h7XOLx.js +++ b/assets/cytoscape.esm-CIjMI8L_.js @@ -1,4 +1,4 @@ -import{aq as Ri}from"./index-Dq-yb_Rq.js";function Ue(r){"@babel/helpers - typeof";return Ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ue(r)}function ii(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Gu(r,e){for(var t=0;tr.length)&&(e=r.length);for(var t=0,a=new Array(e);tr.length)&&(e=r.length);for(var t=0,a=new Array(e);t=r.length?{done:!0}:{done:!1,value:r[a++]}},e:function(l){throw l},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,s;return{s:function(){t=t.call(r)},n:function(){var l=t.next();return i=l.done,l},e:function(l){o=!0,s=l},f:function(){try{!i&&t.return!=null&&t.return()}finally{if(o)throw s}}}}var Ke=typeof window>"u"?null:window,Ii=Ke?Ke.navigator:null;Ke&&Ke.document;var Yu=Ue(""),_o=Ue({}),Xu=Ue(function(){}),Zu=typeof HTMLElement>"u"?"undefined":Ue(HTMLElement),wa=function(e){return e&&e.instanceString&&qe(e.instanceString)?e.instanceString():null},ce=function(e){return e!=null&&Ue(e)==Yu},qe=function(e){return e!=null&&Ue(e)===Xu},Oe=function(e){return!yr(e)&&(Array.isArray?Array.isArray(e):e!=null&&e instanceof Array)},Te=function(e){return e!=null&&Ue(e)===_o&&!Oe(e)&&e.constructor===Object},Qu=function(e){return e!=null&&Ue(e)===_o},ne=function(e){return e!=null&&Ue(e)===Ue(1)&&!isNaN(e)},Ju=function(e){return ne(e)&&Math.floor(e)===e},_a=function(e){if(Zu!=="undefined")return e!=null&&e instanceof HTMLElement},yr=function(e){return xa(e)||jo(e)},xa=function(e){return wa(e)==="collection"&&e._private.single},jo=function(e){return wa(e)==="collection"&&!e._private.single},si=function(e){return wa(e)==="core"},es=function(e){return wa(e)==="stylesheet"},_u=function(e){return wa(e)==="event"},jr=function(e){return e==null?!0:!!(e===""||e.match(/^\s+$/))},ju=function(e){return typeof HTMLElement>"u"?!1:e instanceof HTMLElement},el=function(e){return Te(e)&&ne(e.x1)&&ne(e.x2)&&ne(e.y1)&&ne(e.y2)},rl=function(e){return Qu(e)&&qe(e.then)},tl=function(){return Ii&&Ii.userAgent.match(/msie|trident|edge/i)},la=function(e,t){t||(t=function(){if(arguments.length===1)return arguments[0];if(arguments.length===0)return"undefined";for(var i=[],o=0;ot?1:0},ll=function(e,t){return-1*ts(e,t)},pe=Object.assign!=null?Object.assign.bind(Object):function(r){for(var e=arguments,t=1;t1&&(p-=1),p<1/6?d+(y-d)*6*p:p<1/2?y:p<2/3?d+(y-d)*(2/3-p)*6:d}var f=new RegExp("^"+il+"$").exec(e);if(f){if(a=parseInt(f[1]),a<0?a=(360- -1*a%360)%360:a>360&&(a=a%360),a/=360,n=parseFloat(f[2]),n<0||n>100||(n=n/100,i=parseFloat(f[3]),i<0||i>100)||(i=i/100,o=f[4],o!==void 0&&(o=parseFloat(o),o<0||o>1)))return;if(n===0)s=l=u=Math.round(i*255);else{var c=i<.5?i*(1+n):i+n-i*n,h=2*i-c;s=Math.round(255*v(h,c,a+1/3)),l=Math.round(255*v(h,c,a)),u=Math.round(255*v(h,c,a-1/3))}t=[s,l,u,o]}return t},cl=function(e){var t,a=new RegExp("^"+al+"$").exec(e);if(a){t=[];for(var n=[],i=1;i<=3;i++){var o=a[i];if(o[o.length-1]==="%"&&(n[i]=!0),o=parseFloat(o),n[i]&&(o=o/100*255),o<0||o>255)return;t.push(Math.floor(o))}var s=n[1]||n[2]||n[3],l=n[1]&&n[2]&&n[3];if(s&&!l)return;var u=a[4];if(u!==void 0){if(u=parseFloat(u),u<0||u>1)return;t.push(u)}}return t},dl=function(e){return gl[e.toLowerCase()]},hl=function(e){return(Oe(e)?e:null)||dl(e)||vl(e)||cl(e)||fl(e)},gl={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},as=function(e){for(var t=e.map,a=e.keys,n=a.length,i=0;i=e||x<0||f&&D>=i}function g(){var E=Mn();if(p(E))return m(E);s=setTimeout(g,y(E))}function m(E){return s=void 0,c&&a?h(E):(a=n=void 0,o)}function b(){s!==void 0&&clearTimeout(s),u=0,a=l=n=s=void 0}function w(){return s===void 0?o:m(Mn())}function S(){var E=Mn(),x=p(E);if(a=arguments,n=this,l=E,x){if(s===void 0)return d(l);if(f)return clearTimeout(s),s=setTimeout(g,e),h(l)}return s===void 0&&(s=setTimeout(g,e)),o}return S.cancel=b,S.flush=w,S}var cn=jl,Ln=Ke?Ke.performance:null,ss=Ln&&Ln.now?function(){return Ln.now()}:function(){return Date.now()},ev=function(){if(Ke){if(Ke.requestAnimationFrame)return function(r){Ke.requestAnimationFrame(r)};if(Ke.mozRequestAnimationFrame)return function(r){Ke.mozRequestAnimationFrame(r)};if(Ke.webkitRequestAnimationFrame)return function(r){Ke.webkitRequestAnimationFrame(r)};if(Ke.msRequestAnimationFrame)return function(r){Ke.msRequestAnimationFrame(r)}}return function(r){r&&setTimeout(function(){r(ss())},1e3/60)}}(),ja=function(e){return ev(e)},Hr=ss,kt=9261,us=65599,aa=5381,ls=function(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:kt,a=t,n;n=e.next(),!n.done;)a=a*us+n.value|0;return a},va=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:kt;return t*us+e|0},fa=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:aa;return(t<<5)+t+e|0},rv=function(e,t){return e*2097152+t},Yr=function(e){return e[0]*2097152+e[1]},La=function(e,t){return[va(e[0],t[0]),fa(e[1],t[1])]},tv=function(e,t){var a={value:0,done:!1},n=0,i=e.length,o={next:function(){return n=0;n--)e[n]===t&&e.splice(n,1)},fi=function(e){e.splice(0,e.length)},lv=function(e,t){for(var a=0;a"u"?"undefined":Ue(Set))!==fv?Set:cv,dn=function(e,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(e===void 0||t===void 0||!si(e)){$e("An element must have a core reference and parameters set");return}var n=t.group;if(n==null&&(t.data&&t.data.source!=null&&t.data.target!=null?n="edges":n="nodes"),n!=="nodes"&&n!=="edges"){$e("An element must be of type `nodes` or `edges`; you specified `"+n+"`");return}this.length=1,this[0]=this;var i=this._private={cy:e,single:!0,data:t.data||{},position:t.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:n,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!t.selected,selectable:t.selectable===void 0?!0:!!t.selectable,locked:!!t.locked,grabbed:!1,grabbable:t.grabbable===void 0?!0:!!t.grabbable,pannable:t.pannable===void 0?n==="edges":!!t.pannable,active:!1,classes:new Vt,animation:{current:[],queue:[]},rscratch:{},scratch:t.scratch||{},edges:[],children:[],parent:t.parent&&t.parent.isNode()?t.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(i.position.x==null&&(i.position.x=0),i.position.y==null&&(i.position.y=0),t.renderedPosition){var o=t.renderedPosition,s=e.pan(),l=e.zoom();i.position={x:(o.x-s.x)/l,y:(o.y-s.y)/l}}var u=[];Oe(t.classes)?u=t.classes:ce(t.classes)&&(u=t.classes.split(/\s+/));for(var v=0,f=u.length;vm?1:0},v=function(g,m,b,w,S){var E;if(b==null&&(b=0),S==null&&(S=a),b<0)throw new Error("lo must be non-negative");for(w==null&&(w=g.length);bM;0<=M?C++:C--)D.push(C);return D}).apply(this).reverse(),x=[],w=0,S=E.length;wP;0<=P?++D:--D)B.push(o(g,b));return B},y=function(g,m,b,w){var S,E,x;for(w==null&&(w=a),S=g[b];b>m;){if(x=b-1>>1,E=g[x],w(S,E)<0){g[b]=E,b=x;continue}break}return g[b]=S},p=function(g,m,b){var w,S,E,x,D;for(b==null&&(b=a),S=g.length,D=m,E=g[m],w=2*m+1;w0;){var E=m.pop(),x=p(E),D=E.id();if(c[D]=x,x!==1/0)for(var C=E.neighborhood().intersect(d),M=0;M0)for(I.unshift(R);f[G];){var F=f[G];I.unshift(F.edge),I.unshift(F.node),V=F.node,G=V.id()}return s.spawn(I)}}}},pv={kruskal:function(e){e=e||function(b){return 1};for(var t=this.byGroup(),a=t.nodes,n=t.edges,i=a.length,o=new Array(i),s=a,l=function(w){for(var S=0;S0;){if(S(),x++,w===v){for(var D=[],C=i,M=v,P=g[M];D.unshift(C),P!=null&&D.unshift(P),C=p[M],C!=null;)M=C.id(),P=g[M];return{found:!0,distance:f[w],path:this.spawn(D),steps:x}}h[w]=!0;for(var B=b._private.edges,L=0;LP&&(d[M]=P,m[M]=C,b[M]=S),!i){var B=C*v+D;!i&&d[B]>P&&(d[B]=P,m[B]=D,b[B]=S)}}}for(var L=0;L1&&arguments[1]!==void 0?arguments[1]:o,Le=b(se),Ce=[],xe=Le;;){if(xe==null)return t.spawn();var Ae=m(xe),Ee=Ae.edge,Pe=Ae.pred;if(Ce.unshift(xe[0]),xe.same(de)&&Ce.length>0)break;Ee!=null&&Ce.unshift(Ee),xe=Pe}return l.spawn(Ce)},E=0;E=0;v--){var f=u[v],c=f[1],h=f[2];(t[c]===s&&t[h]===l||t[c]===l&&t[h]===s)&&u.splice(v,1)}for(var d=0;dn;){var i=Math.floor(Math.random()*t.length);t=Sv(i,e,t),a--}return t},Tv={kargerStein:function(){var e=this,t=this.byGroup(),a=t.nodes,n=t.edges;n.unmergeBy(function(I){return I.isLoop()});var i=a.length,o=n.length,s=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),l=Math.floor(i/Cv);if(i<2){$e("At least 2 nodes are required for Karger-Stein algorithm");return}for(var u=[],v=0;v1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=1/0,i=t;i1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=-1/0,i=t;i1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=0,i=0,o=t;o1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;n?e=e.slice(t,a):(a0&&e.splice(0,t));for(var s=0,l=e.length-1;l>=0;l--){var u=e[l];o?isFinite(u)||(e[l]=-1/0,s++):e.splice(l,1)}i&&e.sort(function(c,h){return c-h});var v=e.length,f=Math.floor(v/2);return v%2!==0?e[f+1+s]:(e[f-1+s]+e[f+s])/2},Lv=function(e){return Math.PI*e/180},Aa=function(e,t){return Math.atan2(t,e)-Math.PI/2},ci=Math.log2||function(r){return Math.log(r)/Math.log(2)},ps=function(e){return e>0?1:e<0?-1:0},ht=function(e,t){return Math.sqrt(st(e,t))},st=function(e,t){var a=t.x-e.x,n=t.y-e.y;return a*a+n*n},Av=function(e){for(var t=e.length,a=0,n=0;n=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(e.w!=null&&e.h!=null&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},Ov=function(e){return{x1:e.x1,x2:e.x2,w:e.w,y1:e.y1,y2:e.y2,h:e.h}},Iv=function(e){e.x1=1/0,e.y1=1/0,e.x2=-1/0,e.y2=-1/0,e.w=0,e.h=0},zv=function(e,t,a){return{x1:e.x1+t,x2:e.x2+t,y1:e.y1+a,y2:e.y2+a,w:e.w,h:e.h}},ys=function(e,t){e.x1=Math.min(e.x1,t.x1),e.x2=Math.max(e.x2,t.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,t.y1),e.y2=Math.max(e.y2,t.y2),e.h=e.y2-e.y1},Nv=function(e,t,a){e.x1=Math.min(e.x1,t),e.x2=Math.max(e.x2,t),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,a),e.y2=Math.max(e.y2,a),e.h=e.y2-e.y1},Ga=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e.x1-=t,e.x2+=t,e.y1-=t,e.y2+=t,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},Ka=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0],a,n,i,o;if(t.length===1)a=n=i=o=t[0];else if(t.length===2)a=i=t[0],o=n=t[1];else if(t.length===4){var s=Tr(t,4);a=s[0],n=s[1],i=s[2],o=s[3]}return e.x1-=o,e.x2+=n,e.y1-=a,e.y2+=i,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},Gi=function(e,t){e.x1=t.x1,e.y1=t.y1,e.x2=t.x2,e.y2=t.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},di=function(e,t){return!(e.x1>t.x2||t.x1>e.x2||e.x2t.y2||t.y1>e.y2)},It=function(e,t,a){return e.x1<=t&&t<=e.x2&&e.y1<=a&&a<=e.y2},Fv=function(e,t){return It(e,t.x,t.y)},ms=function(e,t){return It(e,t.x1,t.y1)&&It(e,t.x2,t.y2)},bs=function(e,t,a,n,i,o,s){var l=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"auto",u=l==="auto"?gt(i,o):l,v=i/2,f=o/2;u=Math.min(u,v,f);var c=u!==v,h=u!==f,d;if(c){var y=a-v+u-s,p=n-f-s,g=a+v-u+s,m=p;if(d=Qr(e,t,a,n,y,p,g,m,!1),d.length>0)return d}if(h){var b=a+v+s,w=n-f+u-s,S=b,E=n+f-u+s;if(d=Qr(e,t,a,n,b,w,S,E,!1),d.length>0)return d}if(c){var x=a-v+u-s,D=n+f+s,C=a+v-u+s,M=D;if(d=Qr(e,t,a,n,x,D,C,M,!1),d.length>0)return d}if(h){var P=a-v-s,B=n-f+u-s,L=P,k=n+f-u+s;if(d=Qr(e,t,a,n,P,B,L,k,!1),d.length>0)return d}var O;{var A=a-v+u,R=n-f+u;if(O=na(e,t,a,n,A,R,u+s),O.length>0&&O[0]<=A&&O[1]<=R)return[O[0],O[1]]}{var I=a+v-u,V=n-f+u;if(O=na(e,t,a,n,I,V,u+s),O.length>0&&O[0]>=I&&O[1]<=V)return[O[0],O[1]]}{var G=a+v-u,F=n+f-u;if(O=na(e,t,a,n,G,F,u+s),O.length>0&&O[0]>=G&&O[1]>=F)return[O[0],O[1]]}{var q=a-v+u,Y=n+f-u;if(O=na(e,t,a,n,q,Y,u+s),O.length>0&&O[0]<=q&&O[1]>=Y)return[O[0],O[1]]}return[]},Vv=function(e,t,a,n,i,o,s){var l=s,u=Math.min(a,i),v=Math.max(a,i),f=Math.min(n,o),c=Math.max(n,o);return u-l<=e&&e<=v+l&&f-l<=t&&t<=c+l},qv=function(e,t,a,n,i,o,s,l,u){var v={x1:Math.min(a,s,i)-u,x2:Math.max(a,s,i)+u,y1:Math.min(n,l,o)-u,y2:Math.max(n,l,o)+u};return!(ev.x2||tv.y2)},$v=function(e,t,a,n){a-=n;var i=t*t-4*e*a;if(i<0)return[];var o=Math.sqrt(i),s=2*e,l=(-t+o)/s,u=(-t-o)/s;return[l,u]},Hv=function(e,t,a,n,i){var o=1e-5;e===0&&(e=o),t/=e,a/=e,n/=e;var s,l,u,v,f,c,h,d;if(l=(3*a-t*t)/9,u=-(27*n)+t*(9*a-2*(t*t)),u/=54,s=l*l*l+u*u,i[1]=0,h=t/3,s>0){f=u+Math.sqrt(s),f=f<0?-Math.pow(-f,1/3):Math.pow(f,1/3),c=u-Math.sqrt(s),c=c<0?-Math.pow(-c,1/3):Math.pow(c,1/3),i[0]=-h+f+c,h+=(f+c)/2,i[4]=i[2]=-h,h=Math.sqrt(3)*(-c+f)/2,i[3]=h,i[5]=-h;return}if(i[5]=i[3]=0,s===0){d=u<0?-Math.pow(-u,1/3):Math.pow(u,1/3),i[0]=-h+2*d,i[4]=i[2]=-(d+h);return}l=-l,v=l*l*l,v=Math.acos(u/Math.sqrt(v)),d=2*Math.sqrt(l),i[0]=-h+d*Math.cos(v/3),i[2]=-h+d*Math.cos((v+2*Math.PI)/3),i[4]=-h+d*Math.cos((v+4*Math.PI)/3)},Gv=function(e,t,a,n,i,o,s,l){var u=1*a*a-4*a*i+2*a*s+4*i*i-4*i*s+s*s+n*n-4*n*o+2*n*l+4*o*o-4*o*l+l*l,v=1*9*a*i-3*a*a-3*a*s-6*i*i+3*i*s+9*n*o-3*n*n-3*n*l-6*o*o+3*o*l,f=1*3*a*a-6*a*i+a*s-a*e+2*i*i+2*i*e-s*e+3*n*n-6*n*o+n*l-n*t+2*o*o+2*o*t-l*t,c=1*a*i-a*a+a*e-i*e+n*o-n*n+n*t-o*t,h=[];Hv(u,v,f,c,h);for(var d=1e-7,y=[],p=0;p<6;p+=2)Math.abs(h[p+1])=0&&h[p]<=1&&y.push(h[p]);y.push(1),y.push(0);for(var g=-1,m,b,w,S=0;S=0?wu?(e-i)*(e-i)+(t-o)*(t-o):v-c},dr=function(e,t,a){for(var n,i,o,s,l,u=0,v=0;v=e&&e>=o||n<=e&&e<=o)l=(e-n)/(o-n)*(s-i)+i,l>t&&u++;else continue;return u%2!==0},Gr=function(e,t,a,n,i,o,s,l,u){var v=new Array(a.length),f;l[0]!=null?(f=Math.atan(l[1]/l[0]),l[0]<0?f=f+Math.PI/2:f=-f-Math.PI/2):f=l;for(var c=Math.cos(-f),h=Math.sin(-f),d=0;d0){var p=tn(v,-u);y=rn(p)}else y=v;return dr(e,t,y)},Wv=function(e,t,a,n,i,o,s,l){for(var u=new Array(a.length*2),v=0;v=0&&p<=1&&m.push(p),g>=0&&g<=1&&m.push(g),m.length===0)return[];var b=m[0]*l[0]+e,w=m[0]*l[1]+t;if(m.length>1){if(m[0]==m[1])return[b,w];var S=m[1]*l[0]+e,E=m[1]*l[1]+t;return[b,w,S,E]}else return[b,w]},Rn=function(e,t,a){return t<=e&&e<=a||a<=e&&e<=t?e:e<=t&&t<=a||a<=t&&t<=e?t:a},Qr=function(e,t,a,n,i,o,s,l,u){var v=e-i,f=a-e,c=s-i,h=t-o,d=n-t,y=l-o,p=c*h-y*v,g=f*h-d*v,m=y*f-c*d;if(m!==0){var b=p/m,w=g/m,S=.001,E=0-S,x=1+S;return E<=b&&b<=x&&E<=w&&w<=x?[e+b*f,t+b*d]:u?[e+b*f,t+b*d]:[]}else return p===0||g===0?Rn(e,a,s)===s?[s,l]:Rn(e,a,i)===i?[i,o]:Rn(i,s,a)===a?[a,n]:[]:[]},ha=function(e,t,a,n,i,o,s,l){var u=[],v,f=new Array(a.length),c=!0;o==null&&(c=!1);var h;if(c){for(var d=0;d0){var y=tn(f,-l);h=rn(y)}else h=f}else h=a;for(var p,g,m,b,w=0;w2){for(var d=[v[0],v[1]],y=Math.pow(d[0]-e,2)+Math.pow(d[1]-t,2),p=1;pv&&(v=w)},get:function(b){return u[b]}},c=0;c0?A=O.edgesTo(k)[0]:A=k.edgesTo(O)[0];var R=n(A);k=k.id(),D[k]>D[B]+R&&(D[k]=D[B]+R,C.nodes.indexOf(k)<0?C.push(k):C.updateItem(k),x[k]=0,E[k]=[]),D[k]==D[B]+R&&(x[k]=x[k]+x[B],E[k].push(B))}else for(var I=0;I0;){for(var q=S.pop(),Y=0;Y0&&s.push(a[l]);s.length!==0&&i.push(n.collection(s))}return i},uf=function(e,t){for(var a=0;a5&&arguments[5]!==void 0?arguments[5]:ff,s=n,l,u,v=0;v=2?_t(e,t,a,0,Xi,cf):_t(e,t,a,0,Yi)},squaredEuclidean:function(e,t,a){return _t(e,t,a,0,Xi)},manhattan:function(e,t,a){return _t(e,t,a,0,Yi)},max:function(e,t,a){return _t(e,t,a,-1/0,df)}};zt["squared-euclidean"]=zt.squaredEuclidean;zt.squaredeuclidean=zt.squaredEuclidean;function gn(r,e,t,a,n,i){var o;return qe(r)?o=r:o=zt[r]||zt.euclidean,e===0&&qe(r)?o(n,i):o(e,t,a,n,i)}var hf=rr({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),gi=function(e){return hf(e)},an=function(e,t,a,n,i){var o=i!=="kMedoids",s=o?function(f){return a[f]}:function(f){return n[f](a)},l=function(c){return n[c](t)},u=a,v=t;return gn(e,n.length,s,l,u,v)},On=function(e,t,a){for(var n=a.length,i=new Array(n),o=new Array(n),s=new Array(t),l=null,u=0;ua)return!1}return!0},yf=function(e,t,a){for(var n=0;ns&&(s=t[u][v],l=v);i[l].push(e[u])}for(var f=0;f=i.threshold||i.mode==="dendrogram"&&e.length===1)return!1;var d=t[o],y=t[n[o]],p;i.mode==="dendrogram"?p={left:d,right:y,key:d.key}:p={value:d.value.concat(y.value),key:d.key},e[d.index]=p,e.splice(y.index,1),t[d.key]=p;for(var g=0;ga[y.key][m.key]&&(l=a[y.key][m.key])):i.linkage==="max"?(l=a[d.key][m.key],a[d.key][m.key]0&&n.push(i);return n},eo=function(e,t,a){for(var n=[],i=0;is&&(o=u,s=t[i*e+u])}o>0&&n.push(o)}for(var v=0;vu&&(l=v,u=f)}a[i]=o[l]}return n=eo(e,t,a),n},ro=function(e){for(var t=this.cy(),a=this.nodes(),n=Lf(e),i={},o=0;o=P?(B=P,P=k,L=O):k>B&&(B=k);for(var A=0;A0?1:0;x[C%n.minIterations*s+q]=Y,F+=Y}if(F>0&&(C>=n.minIterations-1||C==n.maxIterations-1)){for(var Q=0,J=0;J1||E>1)&&(s=!0),f[b]=[],m.outgoers().forEach(function(D){D.isEdge()&&f[b].push(D.id())})}else c[b]=[void 0,m.target().id()]}):o.forEach(function(m){var b=m.id();if(m.isNode()){var w=m.degree(!0);w%2&&(l?u?s=!0:u=b:l=b),f[b]=[],m.connectedEdges().forEach(function(S){return f[b].push(S.id())})}else c[b]=[m.source().id(),m.target().id()]});var h={found:!1,trail:void 0};if(s)return h;if(u&&l)if(i){if(v&&u!=v)return h;v=u}else{if(v&&u!=v&&l!=v)return h;v||(v=u)}else v||(v=o[0].id());var d=function(b){for(var w=b,S=[b],E,x,D;f[w].length;)E=f[w].shift(),x=c[E][0],D=c[E][1],w!=D?(f[D]=f[D].filter(function(C){return C!=E}),w=D):!i&&w!=x&&(f[x]=f[x].filter(function(C){return C!=E}),w=x),S.unshift(E),S.unshift(w);return S},y=[],p=[];for(p=d(v);p.length!=1;)f[p[0]].length==0?(y.unshift(o.getElementById(p.shift())),y.unshift(o.getElementById(p.shift()))):p=d(p.shift()).concat(p);y.unshift(o.getElementById(p.shift()));for(var g in f)if(f[g].length)return h;return h.found=!0,h.trail=this.spawn(y,!0),h}},Ia=function(){var e=this,t={},a=0,n=0,i=[],o=[],s={},l=function(c,h){for(var d=o.length-1,y=[],p=e.spawn();o[d].x!=c||o[d].y!=h;)y.push(o.pop().edge),d--;y.push(o.pop().edge),y.forEach(function(g){var m=g.connectedNodes().intersection(e);p.merge(g),m.forEach(function(b){var w=b.id(),S=b.connectedEdges().intersection(e);p.merge(b),t[w].cutVertex?p.merge(S.filter(function(E){return E.isLoop()})):p.merge(S)})}),i.push(p)},u=function f(c,h,d){c===d&&(n+=1),t[h]={id:a,low:a++,cutVertex:!1};var y=e.getElementById(h).connectedEdges().intersection(e);if(y.size()===0)i.push(e.spawn(e.getElementById(h)));else{var p,g,m,b;y.forEach(function(w){p=w.source().id(),g=w.target().id(),m=p===h?g:p,m!==d&&(b=w.id(),s[b]||(s[b]=!0,o.push({x:h,y:m,edge:w})),m in t?t[h].low=Math.min(t[h].low,t[m].id):(f(c,m,h),t[h].low=Math.min(t[h].low,t[m].low),t[h].id<=t[m].low&&(t[h].cutVertex=!0,l(h,m))))})}};e.forEach(function(f){if(f.isNode()){var c=f.id();c in t||(n=0,u(c,c),t[c].cutVertex=n>1)}});var v=Object.keys(t).filter(function(f){return t[f].cutVertex}).map(function(f){return e.getElementById(f)});return{cut:e.spawn(v),components:i}},Vf={hopcroftTarjanBiconnected:Ia,htbc:Ia,htb:Ia,hopcroftTarjanBiconnectedComponents:Ia},za=function(){var e=this,t={},a=0,n=[],i=[],o=e.spawn(e),s=function l(u){i.push(u),t[u]={index:a,low:a++,explored:!1};var v=e.getElementById(u).connectedEdges().intersection(e);if(v.forEach(function(y){var p=y.target().id();p!==u&&(p in t||l(p),t[p].explored||(t[u].low=Math.min(t[u].low,t[p].low)))}),t[u].index===t[u].low){for(var f=e.spawn();;){var c=i.pop();if(f.merge(e.getElementById(c)),t[c].low=t[u].index,t[c].explored=!0,c===u)break}var h=f.edgesWith(f),d=f.merge(h);n.push(d),o=o.difference(d)}};return e.forEach(function(l){if(l.isNode()){var u=l.id();u in t||s(u)}}),{cut:o,components:n}},qf={tarjanStronglyConnected:za,tsc:za,tscc:za,tarjanStronglyConnectedComponents:za},Ds={};[ca,gv,pv,mv,wv,Ev,Tv,Qv,Lt,At,Wn,vf,Cf,Bf,zf,Ff,Vf,qf].forEach(function(r){pe(Ds,r)});/*! Embeddable Minimum Strictly-Compliant Promises/A+ 1.1.1 Thenable diff --git a/assets/dagre-4EVJKHTY-D1cZbDqV.js b/assets/dagre-4EVJKHTY-sS9TCCQf.js similarity index 97% rename from assets/dagre-4EVJKHTY-D1cZbDqV.js rename to assets/dagre-4EVJKHTY-sS9TCCQf.js index ce3debb2b..deebd1acd 100644 --- a/assets/dagre-4EVJKHTY-D1cZbDqV.js +++ b/assets/dagre-4EVJKHTY-sS9TCCQf.js @@ -1,4 +1,4 @@ -import{_ as X,ar as F,as as Y,at as _,au as H,l as i,d as V,av as z,aw as U,af as $,ak as q,ag as P,ae as K,ax as Q,ay as W,az as Z}from"./index-Dq-yb_Rq.js";import{G as B}from"./graph-IuN8xJxa.js";import{l as I}from"./layout-DmYEI147.js";import{i as S}from"./_baseUniq-4k_gUsXm.js";import{c as L}from"./clone-BJk3Zf2Y.js";import{m as A}from"./_basePickBy-DFtYmPO_.js";function p(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:ee(e),edges:ne(e)};return S(e.graph())||(t.value=L(e.graph())),t}function ee(e){return A(e.nodes(),function(t){var n=e.node(t),o=e.parent(t),c={v:t};return S(n)||(c.value=n),S(o)||(c.parent=o),c})}function ne(e){return A(e.edges(),function(t){var n=e.edge(t),o={v:t.v,w:t.w};return S(t.name)||(o.name=t.name),S(n)||(o.value=n),o})}var f=new Map,b=new Map,J=new Map,te=X(()=>{b.clear(),J.clear(),f.clear()},"clear"),O=X((e,t)=>{const n=b.get(t)||[];return i.trace("In isDescendant",t," ",e," = ",n.includes(e)),n.includes(e)},"isDescendant"),se=X((e,t)=>{const n=b.get(t)||[];return i.info("Descendants of ",t," is ",n),i.info("Edge is ",e),e.v===t||e.w===t?!1:n?n.includes(e.v)||O(e.v,t)||O(e.w,t)||n.includes(e.w):(i.debug("Tilt, ",t,",not in descendants"),!1)},"edgeInCluster"),G=X((e,t,n,o)=>{i.warn("Copying children of ",e,"root",o,"data",t.node(e),o);const c=t.children(e)||[];e!==o&&c.push(e),i.warn("Copying (nodes) clusterId",e,"nodes",c),c.forEach(a=>{if(t.children(a).length>0)G(a,t,n,o);else{const r=t.node(a);i.info("cp ",a," to ",o," with parent ",e),n.setNode(a,r),o!==t.parent(a)&&(i.warn("Setting parent",a,t.parent(a)),n.setParent(a,t.parent(a))),e!==o&&a!==e?(i.debug("Setting parent",a,e),n.setParent(a,e)):(i.info("In copy ",e,"root",o,"data",t.node(e),o),i.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==o,"node!==clusterId",a!==e));const u=t.edges(a);i.debug("Copying Edges",u),u.forEach(l=>{i.info("Edge",l);const h=t.edge(l.v,l.w,l.name);i.info("Edge data",h,o);try{se(l,o)?(i.info("Copying as ",l.v,l.w,h,l.name),n.setEdge(l.v,l.w,h,l.name),i.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):i.info("Skipping copy of edge ",l.v,"-->",l.w," rootId: ",o," clusterId:",e)}catch(C){i.error(C)}})}i.debug("Removing node",a),t.removeNode(a)})},"copy"),R=X((e,t)=>{const n=t.children(e);let o=[...n];for(const c of n)J.set(c,e),o=[...o,...R(c,t)];return o},"extractDescendants"),ie=X((e,t,n)=>{const o=e.edges().filter(l=>l.v===t||l.w===t),c=e.edges().filter(l=>l.v===n||l.w===n),a=o.map(l=>({v:l.v===t?n:l.v,w:l.w===t?t:l.w})),r=c.map(l=>({v:l.v,w:l.w}));return a.filter(l=>r.some(h=>l.v===h.v&&l.w===h.w))},"findCommonEdges"),D=X((e,t,n)=>{const o=t.children(e);if(i.trace("Searching children of id ",e,o),o.length<1)return e;let c;for(const a of o){const r=D(a,t,n),u=ie(t,n,r);if(r)if(u.length>0)c=r;else return r}return c},"findNonClusterChild"),k=X(e=>!f.has(e)||!f.get(e).externalConnections?e:f.has(e)?f.get(e).id:e,"getAnchorId"),re=X((e,t)=>{if(!e||t>10){i.debug("Opting out, no graph ");return}else i.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(i.warn("Cluster identified",n," Replacement id in edges: ",D(n,e,n)),b.set(n,R(n,e)),f.set(n,{id:D(n,e,n),clusterData:e.node(n)}))}),e.nodes().forEach(function(n){const o=e.children(n),c=e.edges();o.length>0?(i.debug("Cluster identified",n,b),c.forEach(a=>{const r=O(a.v,n),u=O(a.w,n);r^u&&(i.warn("Edge: ",a," leaves cluster ",n),i.warn("Descendants of XXX ",n,": ",b.get(n)),f.get(n).externalConnections=!0)})):i.debug("Not a cluster ",n,b)});for(let n of f.keys()){const o=f.get(n).id,c=e.parent(o);c!==n&&f.has(c)&&!f.get(c).externalConnections&&(f.get(n).id=c)}e.edges().forEach(function(n){const o=e.edge(n);i.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),i.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let c=n.v,a=n.w;if(i.warn("Fix XXX",f,"ids:",n.v,n.w,"Translating: ",f.get(n.v)," --- ",f.get(n.w)),f.get(n.v)||f.get(n.w)){if(i.warn("Fixing and trying - removing XXX",n.v,n.w,n.name),c=k(n.v),a=k(n.w),e.removeEdge(n.v,n.w,n.name),c!==n.v){const r=e.parent(c);f.get(r).externalConnections=!0,o.fromCluster=n.v}if(a!==n.w){const r=e.parent(a);f.get(r).externalConnections=!0,o.toCluster=n.w}i.warn("Fix Replacing with XXX",c,a,n.name),e.setEdge(c,a,o,n.name)}}),i.warn("Adjusted Graph",p(e)),T(e,0),i.trace(f)},"adjustClustersAndEdges"),T=X((e,t)=>{var c,a;if(i.warn("extractor - ",t,p(e),e.children("D")),t>10){i.error("Bailing out");return}let n=e.nodes(),o=!1;for(const r of n){const u=e.children(r);o=o||u.length>0}if(!o){i.debug("Done, no node has children",e.nodes());return}i.debug("Nodes = ",n,t);for(const r of n)if(i.debug("Extracting node",r,f,f.has(r)&&!f.get(r).externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",t),!f.has(r))i.debug("Not a cluster",r,t);else if(!f.get(r).externalConnections&&e.children(r)&&e.children(r).length>0){i.warn("Cluster without external connections, without a parent and with children",r,t);let l=e.graph().rankdir==="TB"?"LR":"TB";(a=(c=f.get(r))==null?void 0:c.clusterData)!=null&&a.dir&&(l=f.get(r).clusterData.dir,i.warn("Fixing dir",f.get(r).clusterData.dir,l));const h=new B({multigraph:!0,compound:!0}).setGraph({rankdir:l,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});i.warn("Old graph before copy",p(e)),G(r,e,h,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:f.get(r).clusterData,label:f.get(r).label,graph:h}),i.warn("New graph after copy node: (",r,")",p(h)),i.debug("Old graph after copy",p(e))}else i.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!f.get(r).externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),t),i.debug(f);n=e.nodes(),i.warn("New list of nodes",n);for(const r of n){const u=e.node(r);i.warn(" Now next level",r,u),u!=null&&u.clusterNode&&T(u.graph,t+1)}},"extractor"),M=X((e,t)=>{if(t.length===0)return[];let n=Object.assign([],t);return t.forEach(o=>{const c=e.children(o),a=M(e,c);n=[...n,...a]}),n},"sorter"),oe=X(e=>M(e,e.children()),"sortNodesByHierarchy"),j=X(async(e,t,n,o,c,a)=>{i.warn("Graph in recursive render:XAX",p(t),c);const r=t.graph().rankdir;i.trace("Dir in recursive render - dir:",r);const u=e.insert("g").attr("class","root");t.nodes()?i.info("Recursive render XXX",t.nodes()):i.info("No nodes found for",t),t.edges().length>0&&i.info("Recursive edges",t.edge(t.edges()[0]));const l=u.insert("g").attr("class","clusters"),h=u.insert("g").attr("class","edgePaths"),C=u.insert("g").attr("class","edgeLabels"),g=u.insert("g").attr("class","nodes");await Promise.all(t.nodes().map(async function(d){const s=t.node(d);if(c!==void 0){const m=JSON.parse(JSON.stringify(c.clusterData));i.trace(`Setting data for parent cluster XXX +import{_ as X,ar as F,as as Y,at as _,au as H,l as i,d as V,av as z,aw as U,af as $,ak as q,ag as P,ae as K,ax as Q,ay as W,az as Z}from"./index-BxMsVRSP.js";import{G as B}from"./graph-CIloxWRz.js";import{l as I}from"./layout-BVquG3NB.js";import{i as S}from"./_baseUniq-QkQtF8Yx.js";import{c as L}from"./clone-BKg_06cU.js";import{m as A}from"./_basePickBy-DAcC5mcM.js";function p(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:ee(e),edges:ne(e)};return S(e.graph())||(t.value=L(e.graph())),t}function ee(e){return A(e.nodes(),function(t){var n=e.node(t),o=e.parent(t),c={v:t};return S(n)||(c.value=n),S(o)||(c.parent=o),c})}function ne(e){return A(e.edges(),function(t){var n=e.edge(t),o={v:t.v,w:t.w};return S(t.name)||(o.name=t.name),S(n)||(o.value=n),o})}var f=new Map,b=new Map,J=new Map,te=X(()=>{b.clear(),J.clear(),f.clear()},"clear"),O=X((e,t)=>{const n=b.get(t)||[];return i.trace("In isDescendant",t," ",e," = ",n.includes(e)),n.includes(e)},"isDescendant"),se=X((e,t)=>{const n=b.get(t)||[];return i.info("Descendants of ",t," is ",n),i.info("Edge is ",e),e.v===t||e.w===t?!1:n?n.includes(e.v)||O(e.v,t)||O(e.w,t)||n.includes(e.w):(i.debug("Tilt, ",t,",not in descendants"),!1)},"edgeInCluster"),G=X((e,t,n,o)=>{i.warn("Copying children of ",e,"root",o,"data",t.node(e),o);const c=t.children(e)||[];e!==o&&c.push(e),i.warn("Copying (nodes) clusterId",e,"nodes",c),c.forEach(a=>{if(t.children(a).length>0)G(a,t,n,o);else{const r=t.node(a);i.info("cp ",a," to ",o," with parent ",e),n.setNode(a,r),o!==t.parent(a)&&(i.warn("Setting parent",a,t.parent(a)),n.setParent(a,t.parent(a))),e!==o&&a!==e?(i.debug("Setting parent",a,e),n.setParent(a,e)):(i.info("In copy ",e,"root",o,"data",t.node(e),o),i.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==o,"node!==clusterId",a!==e));const u=t.edges(a);i.debug("Copying Edges",u),u.forEach(l=>{i.info("Edge",l);const h=t.edge(l.v,l.w,l.name);i.info("Edge data",h,o);try{se(l,o)?(i.info("Copying as ",l.v,l.w,h,l.name),n.setEdge(l.v,l.w,h,l.name),i.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):i.info("Skipping copy of edge ",l.v,"-->",l.w," rootId: ",o," clusterId:",e)}catch(C){i.error(C)}})}i.debug("Removing node",a),t.removeNode(a)})},"copy"),R=X((e,t)=>{const n=t.children(e);let o=[...n];for(const c of n)J.set(c,e),o=[...o,...R(c,t)];return o},"extractDescendants"),ie=X((e,t,n)=>{const o=e.edges().filter(l=>l.v===t||l.w===t),c=e.edges().filter(l=>l.v===n||l.w===n),a=o.map(l=>({v:l.v===t?n:l.v,w:l.w===t?t:l.w})),r=c.map(l=>({v:l.v,w:l.w}));return a.filter(l=>r.some(h=>l.v===h.v&&l.w===h.w))},"findCommonEdges"),D=X((e,t,n)=>{const o=t.children(e);if(i.trace("Searching children of id ",e,o),o.length<1)return e;let c;for(const a of o){const r=D(a,t,n),u=ie(t,n,r);if(r)if(u.length>0)c=r;else return r}return c},"findNonClusterChild"),k=X(e=>!f.has(e)||!f.get(e).externalConnections?e:f.has(e)?f.get(e).id:e,"getAnchorId"),re=X((e,t)=>{if(!e||t>10){i.debug("Opting out, no graph ");return}else i.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(i.warn("Cluster identified",n," Replacement id in edges: ",D(n,e,n)),b.set(n,R(n,e)),f.set(n,{id:D(n,e,n),clusterData:e.node(n)}))}),e.nodes().forEach(function(n){const o=e.children(n),c=e.edges();o.length>0?(i.debug("Cluster identified",n,b),c.forEach(a=>{const r=O(a.v,n),u=O(a.w,n);r^u&&(i.warn("Edge: ",a," leaves cluster ",n),i.warn("Descendants of XXX ",n,": ",b.get(n)),f.get(n).externalConnections=!0)})):i.debug("Not a cluster ",n,b)});for(let n of f.keys()){const o=f.get(n).id,c=e.parent(o);c!==n&&f.has(c)&&!f.get(c).externalConnections&&(f.get(n).id=c)}e.edges().forEach(function(n){const o=e.edge(n);i.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),i.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let c=n.v,a=n.w;if(i.warn("Fix XXX",f,"ids:",n.v,n.w,"Translating: ",f.get(n.v)," --- ",f.get(n.w)),f.get(n.v)||f.get(n.w)){if(i.warn("Fixing and trying - removing XXX",n.v,n.w,n.name),c=k(n.v),a=k(n.w),e.removeEdge(n.v,n.w,n.name),c!==n.v){const r=e.parent(c);f.get(r).externalConnections=!0,o.fromCluster=n.v}if(a!==n.w){const r=e.parent(a);f.get(r).externalConnections=!0,o.toCluster=n.w}i.warn("Fix Replacing with XXX",c,a,n.name),e.setEdge(c,a,o,n.name)}}),i.warn("Adjusted Graph",p(e)),T(e,0),i.trace(f)},"adjustClustersAndEdges"),T=X((e,t)=>{var c,a;if(i.warn("extractor - ",t,p(e),e.children("D")),t>10){i.error("Bailing out");return}let n=e.nodes(),o=!1;for(const r of n){const u=e.children(r);o=o||u.length>0}if(!o){i.debug("Done, no node has children",e.nodes());return}i.debug("Nodes = ",n,t);for(const r of n)if(i.debug("Extracting node",r,f,f.has(r)&&!f.get(r).externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",t),!f.has(r))i.debug("Not a cluster",r,t);else if(!f.get(r).externalConnections&&e.children(r)&&e.children(r).length>0){i.warn("Cluster without external connections, without a parent and with children",r,t);let l=e.graph().rankdir==="TB"?"LR":"TB";(a=(c=f.get(r))==null?void 0:c.clusterData)!=null&&a.dir&&(l=f.get(r).clusterData.dir,i.warn("Fixing dir",f.get(r).clusterData.dir,l));const h=new B({multigraph:!0,compound:!0}).setGraph({rankdir:l,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});i.warn("Old graph before copy",p(e)),G(r,e,h,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:f.get(r).clusterData,label:f.get(r).label,graph:h}),i.warn("New graph after copy node: (",r,")",p(h)),i.debug("Old graph after copy",p(e))}else i.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!f.get(r).externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),t),i.debug(f);n=e.nodes(),i.warn("New list of nodes",n);for(const r of n){const u=e.node(r);i.warn(" Now next level",r,u),u!=null&&u.clusterNode&&T(u.graph,t+1)}},"extractor"),M=X((e,t)=>{if(t.length===0)return[];let n=Object.assign([],t);return t.forEach(o=>{const c=e.children(o),a=M(e,c);n=[...n,...a]}),n},"sorter"),oe=X(e=>M(e,e.children()),"sortNodesByHierarchy"),j=X(async(e,t,n,o,c,a)=>{i.warn("Graph in recursive render:XAX",p(t),c);const r=t.graph().rankdir;i.trace("Dir in recursive render - dir:",r);const u=e.insert("g").attr("class","root");t.nodes()?i.info("Recursive render XXX",t.nodes()):i.info("No nodes found for",t),t.edges().length>0&&i.info("Recursive edges",t.edge(t.edges()[0]));const l=u.insert("g").attr("class","clusters"),h=u.insert("g").attr("class","edgePaths"),C=u.insert("g").attr("class","edgeLabels"),g=u.insert("g").attr("class","nodes");await Promise.all(t.nodes().map(async function(d){const s=t.node(d);if(c!==void 0){const m=JSON.parse(JSON.stringify(c.clusterData));i.trace(`Setting data for parent cluster XXX Node.id = `,d,` data=`,m.height,` Parent cluster`,c.height),t.setNode(c.id,m),t.parent(d)||(i.trace("Setting parent",d,c.id),t.setParent(d,c.id,m))}if(i.info("(Insert) Node XXX"+d+": "+JSON.stringify(t.node(d))),s!=null&&s.clusterNode){i.info("Cluster identified XBX",d,s.width,t.node(d));const{ranksep:m,nodesep:v}=t.graph();s.graph.setGraph({...s.graph.graph(),ranksep:m+25,nodesep:v});const N=await j(g,s.graph,n,o,t.node(d),a),x=N.elem;z(s,x),s.diff=N.diff||0,i.info("New compound node after recursive render XAX",d,"width",s.width,"height",s.height),U(x,s)}else t.children(d).length>0?(i.trace("Cluster - the non recursive path XBX",d,s.id,s,s.width,"Graph:",t),i.trace(D(s.id,t)),f.set(s.id,{id:D(s.id,t),node:s})):(i.trace("Node - the non recursive path XAX",d,g,t.node(d),r),await $(g,t.node(d),{config:a,dir:r}))})),await X(async()=>{const d=t.edges().map(async function(s){const m=t.edge(s.v,s.w,s.name);i.info("Edge "+s.v+" -> "+s.w+": "+JSON.stringify(s)),i.info("Edge "+s.v+" -> "+s.w+": ",s," ",JSON.stringify(t.edge(s))),i.info("Fix",f,"ids:",s.v,s.w,"Translating: ",f.get(s.v),f.get(s.w)),await Z(C,m)});await Promise.all(d)},"processEdges")(),i.info("Graph before layout:",JSON.stringify(p(t))),i.info("############################################# XXX"),i.info("### Layout ### XXX"),i.info("############################################# XXX"),I(t),i.info("Graph after layout:",JSON.stringify(p(t)));let E=0,{subGraphTitleTotalMargin:y}=q(a);return await Promise.all(oe(t).map(async function(d){var m;const s=t.node(d);if(i.info("Position XBX => "+d+": ("+s.x,","+s.y,") width: ",s.width," height: ",s.height),s!=null&&s.clusterNode)s.y+=y,i.info("A tainted cluster node XBX1",d,s.id,s.width,s.height,s.x,s.y,t.parent(d)),f.get(s.id).node=s,P(s);else if(t.children(d).length>0){i.info("A pure cluster node XBX1",d,s.id,s.x,s.y,s.width,s.height,t.parent(d)),s.height+=y,t.node(s.parentId);const v=(s==null?void 0:s.padding)/2||0,N=((m=s==null?void 0:s.labelBBox)==null?void 0:m.height)||0,x=N-v||0;i.debug("OffsetY",x,"labelHeight",N,"halfPadding",v),await K(l,s),f.get(s.id).node=s}else{const v=t.node(s.parentId);s.y+=y/2,i.info("A regular node XBX1 - using the padding",s.id,"parent",s.parentId,s.width,s.height,s.x,s.y,"offsetY",s.offsetY,"parent",v,v==null?void 0:v.offsetY,s),P(s)}})),t.edges().forEach(function(d){const s=t.edge(d);i.info("Edge "+d.v+" -> "+d.w+": "+JSON.stringify(s),s),s.points.forEach(x=>x.y+=y/2);const m=t.node(d.v);var v=t.node(d.w);const N=Q(h,s,f,n,m,v,o);W(s,N)}),t.nodes().forEach(function(d){const s=t.node(d);i.info(d,s.type,s.diff),s.isGroup&&(E=s.diff)}),i.warn("Returning from recursive render XAX",u,E),{elem:u,diff:E}},"recursiveRender"),ge=X(async(e,t)=>{var a,r,u,l,h,C;const n=new B({multigraph:!0,compound:!0}).setGraph({rankdir:e.direction,nodesep:((a=e.config)==null?void 0:a.nodeSpacing)||((u=(r=e.config)==null?void 0:r.flowchart)==null?void 0:u.nodeSpacing)||e.nodeSpacing,ranksep:((l=e.config)==null?void 0:l.rankSpacing)||((C=(h=e.config)==null?void 0:h.flowchart)==null?void 0:C.rankSpacing)||e.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),o=t.select("g");F(o,e.markers,e.type,e.diagramId),Y(),_(),H(),te(),e.nodes.forEach(g=>{n.setNode(g.id,{...g}),g.parentId&&n.setParent(g.id,g.parentId)}),i.debug("Edges:",e.edges),e.edges.forEach(g=>{if(g.start===g.end){const w=g.start,E=w+"---"+w+"---1",y=w+"---"+w+"---2",d=n.node(w);n.setNode(E,{domId:E,id:E,parentId:d.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),n.setParent(E,d.parentId),n.setNode(y,{domId:y,id:y,parentId:d.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),n.setParent(y,d.parentId);const s=structuredClone(g),m=structuredClone(g),v=structuredClone(g);s.label="",s.arrowTypeEnd="none",s.id=w+"-cyclic-special-1",m.arrowTypeEnd="none",m.id=w+"-cyclic-special-mid",v.label="",d.isGroup&&(s.fromCluster=w,v.toCluster=w),v.id=w+"-cyclic-special-2",n.setEdge(w,E,s,w+"-cyclic-special-0"),n.setEdge(E,y,m,w+"-cyclic-special-1"),n.setEdge(y,w,v,w+"-cyc{const t=x({...L,...T().packet});return t.showBits&&(t.paddingY+=10),t},"getConfig"),G=n(()=>m.packet,"getPacket"),I=n(t=>{t.length>0&&m.packet.push(t)},"pushWord"),M=n(()=>{_(),m=structuredClone(C)},"clear"),h={pushWord:I,getPacket:G,getConfig:Y,clear:M,setAccTitle:S,getAccTitle:F,setDiagramTitle:z,getDiagramTitle:P,getAccDescription:W,setAccDescription:D},O=1e4,q=n(t=>{w(t,h);let e=-1,o=[],s=1;const{bitsPerRow:i}=h.getConfig();for(let{start:a,end:r,label:p}of t.blocks){if(r&&r{if(t.end===void 0&&(t.end=t.start),t.start>t.end)throw new Error(`Block start ${t.start} is greater than block end ${t.end}.`);return t.end+1<=e*o?[t,void 0]:[{start:t.start,end:e*o-1,label:t.label},{start:e*o,end:t.end,label:t.label}]},"getNextFittingBlock"),K={parse:n(async t=>{const e=await N("packet",t);v.debug(e),q(e)},"parse")},R=n((t,e,o,s)=>{const i=s.db,a=i.getConfig(),{rowHeight:r,paddingY:p,bitWidth:b,bitsPerRow:c}=a,u=i.getPacket(),l=i.getDiagramTitle(),g=r+p,d=g*(u.length+1)-(l?0:r),k=b*c+2,f=A(e);f.attr("viewbox",`0 0 ${k} ${d}`),E(f,d,k,a.useMaxWidth);for(const[$,y]of u.entries())U(f,y,$,a);f.append("text").text(l).attr("x",k/2).attr("y",d-g/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),U=n((t,e,o,{rowHeight:s,paddingX:i,paddingY:a,bitWidth:r,bitsPerRow:p,showBits:b})=>{const c=t.append("g"),u=o*(s+a)+a;for(const l of e){const g=l.start%p*r+1,d=(l.end-l.start+1)*r-i;if(c.append("rect").attr("x",g).attr("y",u).attr("width",d).attr("height",s).attr("class","packetBlock"),c.append("text").attr("x",g+d/2).attr("y",u+s/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(l.label),!b)continue;const k=l.end===l.start,f=u-2;c.append("text").attr("x",g+(k?d/2:0)).attr("y",f).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",k?"middle":"start").text(l.start),k||c.append("text").attr("x",g+d).attr("y",f).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(l.end)}},"drawWord"),X={draw:R},j={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},J=n(({packet:t}={})=>{const e=x(j,t);return` +import{p as w}from"./chunk-TMUBEWPD-DJMHR1yx.js";import{B,s as S,g as F,p as z,q as P,b as W,c as D,_ as n,l as v,C as x,D as T,v as _,G as A,k as E}from"./index-BxMsVRSP.js";import{p as N}from"./gitGraph-YCYPL57B-XVjt0la2.js";import"./_baseUniq-QkQtF8Yx.js";import"./_basePickBy-DAcC5mcM.js";import"./clone-BKg_06cU.js";var C={packet:[]},m=structuredClone(C),L=B.packet,Y=n(()=>{const t=x({...L,...T().packet});return t.showBits&&(t.paddingY+=10),t},"getConfig"),G=n(()=>m.packet,"getPacket"),I=n(t=>{t.length>0&&m.packet.push(t)},"pushWord"),M=n(()=>{_(),m=structuredClone(C)},"clear"),h={pushWord:I,getPacket:G,getConfig:Y,clear:M,setAccTitle:S,getAccTitle:F,setDiagramTitle:z,getDiagramTitle:P,getAccDescription:W,setAccDescription:D},O=1e4,q=n(t=>{w(t,h);let e=-1,o=[],s=1;const{bitsPerRow:i}=h.getConfig();for(let{start:a,end:r,label:p}of t.blocks){if(r&&r{if(t.end===void 0&&(t.end=t.start),t.start>t.end)throw new Error(`Block start ${t.start} is greater than block end ${t.end}.`);return t.end+1<=e*o?[t,void 0]:[{start:t.start,end:e*o-1,label:t.label},{start:e*o,end:t.end,label:t.label}]},"getNextFittingBlock"),K={parse:n(async t=>{const e=await N("packet",t);v.debug(e),q(e)},"parse")},R=n((t,e,o,s)=>{const i=s.db,a=i.getConfig(),{rowHeight:r,paddingY:p,bitWidth:b,bitsPerRow:c}=a,u=i.getPacket(),l=i.getDiagramTitle(),g=r+p,d=g*(u.length+1)-(l?0:r),k=b*c+2,f=A(e);f.attr("viewbox",`0 0 ${k} ${d}`),E(f,d,k,a.useMaxWidth);for(const[$,y]of u.entries())U(f,y,$,a);f.append("text").text(l).attr("x",k/2).attr("y",d-g/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),U=n((t,e,o,{rowHeight:s,paddingX:i,paddingY:a,bitWidth:r,bitsPerRow:p,showBits:b})=>{const c=t.append("g"),u=o*(s+a)+a;for(const l of e){const g=l.start%p*r+1,d=(l.end-l.start+1)*r-i;if(c.append("rect").attr("x",g).attr("y",u).attr("width",d).attr("height",s).attr("class","packetBlock"),c.append("text").attr("x",g+d/2).attr("y",u+s/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(l.label),!b)continue;const k=l.end===l.start,f=u-2;c.append("text").attr("x",g+(k?d/2:0)).attr("y",f).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",k?"middle":"start").text(l.start),k||c.append("text").attr("x",g+d).attr("y",f).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(l.end)}},"drawWord"),X={draw:R},j={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},J=n(({packet:t}={})=>{const e=x(j,t);return` .packetByte { font-size: ${e.byteFontSize}; } diff --git a/assets/erDiagram-6RL3IURR-BDkDyFiO.js b/assets/erDiagram-6RL3IURR-qh8DmJnP.js similarity index 99% rename from assets/erDiagram-6RL3IURR-BDkDyFiO.js rename to assets/erDiagram-6RL3IURR-qh8DmJnP.js index 8c221ee40..9a153b39a 100644 --- a/assets/erDiagram-6RL3IURR-BDkDyFiO.js +++ b/assets/erDiagram-6RL3IURR-qh8DmJnP.js @@ -1,4 +1,4 @@ -import{_ as u,d as U,s as kt,g as xt,c as Rt,b as Ot,p as bt,q as Nt,l as X,v as Tt,j as at,u as At,k as Mt,K as vt,Q as St,P as wt}from"./index-Dq-yb_Rq.js";import{G as It}from"./graph-IuN8xJxa.js";import{l as Dt}from"./layout-DmYEI147.js";import"./_baseUniq-4k_gUsXm.js";import"./_basePickBy-DFtYmPO_.js";const Lt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Bt(t){return typeof t=="string"&&Lt.test(t)}const v=[];for(let t=0;t<256;++t)v.push((t+256).toString(16).slice(1));function Ct(t,e=0){return v[t[e+0]]+v[t[e+1]]+v[t[e+2]]+v[t[e+3]]+"-"+v[t[e+4]]+v[t[e+5]]+"-"+v[t[e+6]]+v[t[e+7]]+"-"+v[t[e+8]]+v[t[e+9]]+"-"+v[t[e+10]]+v[t[e+11]]+v[t[e+12]]+v[t[e+13]]+v[t[e+14]]+v[t[e+15]]}function Pt(t){if(!Bt(t))throw TypeError("Invalid UUID");let e;const r=new Uint8Array(16);return r[0]=(e=parseInt(t.slice(0,8),16))>>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=e&255,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=e&255,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=e&255,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=e&255,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=e&255,r}function Yt(t){t=unescape(encodeURIComponent(t));const e=[];for(let r=0;r>>32-e}function Ht(t){const e=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){const y=unescape(encodeURIComponent(t));t=[];for(let o=0;o>>0;x=k,k=m,m=it(g,30)>>>0,g=h,h=b}r[0]=r[0]+h>>>0,r[1]=r[1]+g>>>0,r[2]=r[2]+m>>>0,r[3]=r[3]+k>>>0,r[4]=r[4]+x>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,r[0]&255,r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,r[1]&255,r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,r[2]&255,r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,r[3]&255,r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,r[4]&255]}const zt=Wt("v5",80,Ht);var nt=function(){var t=u(function(w,i,n,l){for(n=n||{},l=w.length;l--;n[w[l]]=i);return n},"o"),e=[6,8,10,20,22,24,26,27,28],r=[1,10],f=[1,11],c=[1,12],_=[1,13],y=[1,14],o=[1,15],h=[1,21],g=[1,22],m=[1,23],k=[1,24],x=[1,25],p=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],O=[1,34],b=[27,28,46,47],Y=[41,42,43,44,45],Z=[17,34],F=[1,54],M=[1,53],S=[17,34,36,38],N={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:u(function(i,n,l,d,E,a,V){var s=a.length-1;switch(E){case 1:break;case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:d.addEntity(a[s-4]),d.addEntity(a[s-2]),d.addRelationship(a[s-4],a[s],a[s-2],a[s-3]);break;case 9:d.addEntity(a[s-3]),d.addAttributes(a[s-3],a[s-1]);break;case 10:d.addEntity(a[s-2]);break;case 11:d.addEntity(a[s]);break;case 12:d.addEntity(a[s-6],a[s-4]),d.addAttributes(a[s-6],a[s-1]);break;case 13:d.addEntity(a[s-5],a[s-3]);break;case 14:d.addEntity(a[s-3],a[s-1]);break;case 15:case 16:this.$=a[s].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=a[s].trim(),d.setAccDescription(this.$);break;case 19:case 43:this.$=a[s];break;case 20:case 41:case 42:this.$=a[s].replace(/"/g,"");break;case 21:case 29:this.$=[a[s]];break;case 22:a[s].push(a[s-1]),this.$=a[s];break;case 23:this.$={attributeType:a[s-1],attributeName:a[s]};break;case 24:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeKeyTypeList:a[s]};break;case 25:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeComment:a[s]};break;case 26:this.$={attributeType:a[s-3],attributeName:a[s-2],attributeKeyTypeList:a[s-1],attributeComment:a[s]};break;case 27:case 28:case 31:this.$=a[s];break;case 30:a[s-2].push(a[s]),this.$=a[s-2];break;case 32:this.$=a[s].replace(/"/g,"");break;case 33:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 34:this.$=d.Cardinality.ZERO_OR_ONE;break;case 35:this.$=d.Cardinality.ZERO_OR_MORE;break;case 36:this.$=d.Cardinality.ONE_OR_MORE;break;case 37:this.$=d.Cardinality.ONLY_ONE;break;case 38:this.$=d.Cardinality.MD_PARENT;break;case 39:this.$=d.Identification.NON_IDENTIFYING;break;case 40:this.$=d.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:r,22:f,24:c,26:_,27:y,28:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:r,22:f,24:c,26:_,27:y,28:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:h,42:g,43:m,44:k,45:x}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(p,[2,19]),t(p,[2,20]),t(e,[2,4]),{11:29,27:y,28:o},{16:30,17:[1,31],29:32,30:33,34:O},{11:35,27:y,28:o},{40:36,46:[1,37],47:[1,38]},t(b,[2,34]),t(b,[2,35]),t(b,[2,36]),t(b,[2,37]),t(b,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:O},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:h,42:g,43:m,44:k,45:x},t(Y,[2,39]),t(Y,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(Z,[2,23],{32:50,33:51,35:52,37:F,38:M}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(Z,[2,24],{33:56,36:[1,57],38:M}),t(Z,[2,25]),t(S,[2,29]),t(Z,[2,32]),t(S,[2,31]),{16:58,17:[1,59],29:32,30:33,34:O},t(Z,[2,26]),{35:60,37:F},{17:[1,61]},t(e,[2,13]),t(S,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:u(function(i,n){if(n.recoverable)this.trace(i);else{var l=new Error(i);throw l.hash=n,l}},"parseError"),parse:u(function(i){var n=this,l=[0],d=[],E=[null],a=[],V=this.table,s="",j=0,lt=0,_t=2,ct=1,Et=a.slice.call(arguments,1),A=Object.create(this.lexer),H={yy:{}};for(var $ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,$)&&(H.yy[$]=this.yy[$]);A.setInput(i,H.yy),H.yy.lexer=A,H.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var tt=A.yylloc;a.push(tt);var gt=A.options&&A.options.ranges;typeof H.yy.parseError=="function"?this.parseError=H.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function mt(D){l.length=l.length-2*D,E.length=E.length-D,a.length=a.length-D}u(mt,"popStack");function ht(){var D;return D=d.pop()||A.lex()||ct,typeof D!="number"&&(D instanceof Array&&(d=D,D=d.pop()),D=n.symbols_[D]||D),D}u(ht,"lex");for(var I,z,B,et,G={},q,W,dt,J;;){if(z=l[l.length-1],this.defaultActions[z]?B=this.defaultActions[z]:((I===null||typeof I>"u")&&(I=ht()),B=V[z]&&V[z][I]),typeof B>"u"||!B.length||!B[0]){var rt="";J=[];for(q in V[z])this.terminals_[q]&&q>_t&&J.push("'"+this.terminals_[q]+"'");A.showPosition?rt="Parse error on line "+(j+1)+`: +import{_ as u,d as U,s as kt,g as xt,c as Rt,b as Ot,p as bt,q as Nt,l as X,v as Tt,j as at,u as At,k as Mt,K as vt,Q as St,P as wt}from"./index-BxMsVRSP.js";import{G as It}from"./graph-CIloxWRz.js";import{l as Dt}from"./layout-BVquG3NB.js";import"./_baseUniq-QkQtF8Yx.js";import"./_basePickBy-DAcC5mcM.js";const Lt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Bt(t){return typeof t=="string"&&Lt.test(t)}const v=[];for(let t=0;t<256;++t)v.push((t+256).toString(16).slice(1));function Ct(t,e=0){return v[t[e+0]]+v[t[e+1]]+v[t[e+2]]+v[t[e+3]]+"-"+v[t[e+4]]+v[t[e+5]]+"-"+v[t[e+6]]+v[t[e+7]]+"-"+v[t[e+8]]+v[t[e+9]]+"-"+v[t[e+10]]+v[t[e+11]]+v[t[e+12]]+v[t[e+13]]+v[t[e+14]]+v[t[e+15]]}function Pt(t){if(!Bt(t))throw TypeError("Invalid UUID");let e;const r=new Uint8Array(16);return r[0]=(e=parseInt(t.slice(0,8),16))>>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=e&255,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=e&255,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=e&255,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=e&255,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=e&255,r}function Yt(t){t=unescape(encodeURIComponent(t));const e=[];for(let r=0;r>>32-e}function Ht(t){const e=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){const y=unescape(encodeURIComponent(t));t=[];for(let o=0;o>>0;x=k,k=m,m=it(g,30)>>>0,g=h,h=b}r[0]=r[0]+h>>>0,r[1]=r[1]+g>>>0,r[2]=r[2]+m>>>0,r[3]=r[3]+k>>>0,r[4]=r[4]+x>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,r[0]&255,r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,r[1]&255,r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,r[2]&255,r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,r[3]&255,r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,r[4]&255]}const zt=Wt("v5",80,Ht);var nt=function(){var t=u(function(w,i,n,l){for(n=n||{},l=w.length;l--;n[w[l]]=i);return n},"o"),e=[6,8,10,20,22,24,26,27,28],r=[1,10],f=[1,11],c=[1,12],_=[1,13],y=[1,14],o=[1,15],h=[1,21],g=[1,22],m=[1,23],k=[1,24],x=[1,25],p=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],O=[1,34],b=[27,28,46,47],Y=[41,42,43,44,45],Z=[17,34],F=[1,54],M=[1,53],S=[17,34,36,38],N={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:u(function(i,n,l,d,E,a,V){var s=a.length-1;switch(E){case 1:break;case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:d.addEntity(a[s-4]),d.addEntity(a[s-2]),d.addRelationship(a[s-4],a[s],a[s-2],a[s-3]);break;case 9:d.addEntity(a[s-3]),d.addAttributes(a[s-3],a[s-1]);break;case 10:d.addEntity(a[s-2]);break;case 11:d.addEntity(a[s]);break;case 12:d.addEntity(a[s-6],a[s-4]),d.addAttributes(a[s-6],a[s-1]);break;case 13:d.addEntity(a[s-5],a[s-3]);break;case 14:d.addEntity(a[s-3],a[s-1]);break;case 15:case 16:this.$=a[s].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=a[s].trim(),d.setAccDescription(this.$);break;case 19:case 43:this.$=a[s];break;case 20:case 41:case 42:this.$=a[s].replace(/"/g,"");break;case 21:case 29:this.$=[a[s]];break;case 22:a[s].push(a[s-1]),this.$=a[s];break;case 23:this.$={attributeType:a[s-1],attributeName:a[s]};break;case 24:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeKeyTypeList:a[s]};break;case 25:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeComment:a[s]};break;case 26:this.$={attributeType:a[s-3],attributeName:a[s-2],attributeKeyTypeList:a[s-1],attributeComment:a[s]};break;case 27:case 28:case 31:this.$=a[s];break;case 30:a[s-2].push(a[s]),this.$=a[s-2];break;case 32:this.$=a[s].replace(/"/g,"");break;case 33:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 34:this.$=d.Cardinality.ZERO_OR_ONE;break;case 35:this.$=d.Cardinality.ZERO_OR_MORE;break;case 36:this.$=d.Cardinality.ONE_OR_MORE;break;case 37:this.$=d.Cardinality.ONLY_ONE;break;case 38:this.$=d.Cardinality.MD_PARENT;break;case 39:this.$=d.Identification.NON_IDENTIFYING;break;case 40:this.$=d.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:r,22:f,24:c,26:_,27:y,28:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:r,22:f,24:c,26:_,27:y,28:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:h,42:g,43:m,44:k,45:x}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(p,[2,19]),t(p,[2,20]),t(e,[2,4]),{11:29,27:y,28:o},{16:30,17:[1,31],29:32,30:33,34:O},{11:35,27:y,28:o},{40:36,46:[1,37],47:[1,38]},t(b,[2,34]),t(b,[2,35]),t(b,[2,36]),t(b,[2,37]),t(b,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:O},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:h,42:g,43:m,44:k,45:x},t(Y,[2,39]),t(Y,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(Z,[2,23],{32:50,33:51,35:52,37:F,38:M}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(Z,[2,24],{33:56,36:[1,57],38:M}),t(Z,[2,25]),t(S,[2,29]),t(Z,[2,32]),t(S,[2,31]),{16:58,17:[1,59],29:32,30:33,34:O},t(Z,[2,26]),{35:60,37:F},{17:[1,61]},t(e,[2,13]),t(S,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:u(function(i,n){if(n.recoverable)this.trace(i);else{var l=new Error(i);throw l.hash=n,l}},"parseError"),parse:u(function(i){var n=this,l=[0],d=[],E=[null],a=[],V=this.table,s="",j=0,lt=0,_t=2,ct=1,Et=a.slice.call(arguments,1),A=Object.create(this.lexer),H={yy:{}};for(var $ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,$)&&(H.yy[$]=this.yy[$]);A.setInput(i,H.yy),H.yy.lexer=A,H.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var tt=A.yylloc;a.push(tt);var gt=A.options&&A.options.ranges;typeof H.yy.parseError=="function"?this.parseError=H.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function mt(D){l.length=l.length-2*D,E.length=E.length-D,a.length=a.length-D}u(mt,"popStack");function ht(){var D;return D=d.pop()||A.lex()||ct,typeof D!="number"&&(D instanceof Array&&(d=D,D=d.pop()),D=n.symbols_[D]||D),D}u(ht,"lex");for(var I,z,B,et,G={},q,W,dt,J;;){if(z=l[l.length-1],this.defaultActions[z]?B=this.defaultActions[z]:((I===null||typeof I>"u")&&(I=ht()),B=V[z]&&V[z][I]),typeof B>"u"||!B.length||!B[0]){var rt="";J=[];for(q in V[z])this.terminals_[q]&&q>_t&&J.push("'"+this.terminals_[q]+"'");A.showPosition?rt="Parse error on line "+(j+1)+`: `+A.showPosition()+` Expecting `+J.join(", ")+", got '"+(this.terminals_[I]||I)+"'":rt="Parse error on line "+(j+1)+": Unexpected "+(I==ct?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(rt,{text:A.match,token:this.terminals_[I]||I,line:A.yylineno,loc:tt,expected:J})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+I);switch(B[0]){case 1:l.push(I),E.push(A.yytext),a.push(A.yylloc),l.push(B[1]),I=null,lt=A.yyleng,s=A.yytext,j=A.yylineno,tt=A.yylloc;break;case 2:if(W=this.productions_[B[1]][1],G.$=E[E.length-W],G._$={first_line:a[a.length-(W||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(W||1)].first_column,last_column:a[a.length-1].last_column},gt&&(G._$.range=[a[a.length-(W||1)].range[0],a[a.length-1].range[1]]),et=this.performAction.apply(G,[s,lt,j,H.yy,B[1],E,a].concat(Et)),typeof et<"u")return et;W&&(l=l.slice(0,-1*W*2),E=E.slice(0,-1*W),a=a.slice(0,-1*W)),l.push(this.productions_[B[1]][0]),E.push(G.$),a.push(G._$),dt=V[l[l.length-2]][l[l.length-1]],l.push(dt);break;case 3:return!0}}return!0},"parse")},T=function(){var w={EOF:1,parseError:u(function(n,l){if(this.yy.parser)this.yy.parser.parseError(n,l);else throw new Error(n)},"parseError"),setInput:u(function(i,n){return this.yy=n||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:u(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:u(function(i){var n=i.length,l=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var E=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===d.length?this.yylloc.first_column:0)+d[d.length-l.length].length-l[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:u(function(){return this._more=!0,this},"more"),reject:u(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:u(function(i){this.unput(this.match.slice(i))},"less"),pastInput:u(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:u(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:u(function(){var i=this.pastInput(),n=new Array(i.length+1).join("-");return i+this.upcomingInput()+` diff --git a/assets/flowDiagram-7ASYPVHJ-pp3MCGLE.js b/assets/flowDiagram-7ASYPVHJ-FCjrBI2s.js similarity index 99% rename from assets/flowDiagram-7ASYPVHJ-pp3MCGLE.js rename to assets/flowDiagram-7ASYPVHJ-FCjrBI2s.js index 39af97599..bae1f1270 100644 --- a/assets/flowDiagram-7ASYPVHJ-pp3MCGLE.js +++ b/assets/flowDiagram-7ASYPVHJ-FCjrBI2s.js @@ -1,4 +1,4 @@ -import{g as gt,s as At}from"./chunk-5HRBRIJM-C3cKZcXu.js";import{d as U1,_ as l,n as Ze,o as bt,s as kt,g as mt,b as Et,c as St,p as Dt,q as xt,r as Ct,J as Tt,t as yt,l as e1,u as ge,v as Ft,x as vt,j as C1,y as _t,z as Bt,e as Vt,A as Lt}from"./index-Dq-yb_Rq.js";import{c as wt}from"./channel-SpFC1OZH.js";var It="flowchart-",$e=0,M1=U1(),b1=new Map,K=[],K1=new Map,p1=[],Ae=new Map,be=new Map,ee=0,pe=!0,J,se,re=[],ie=l(e=>Vt.sanitizeText(e,M1),"sanitizeText"),ae=l(function(e){for(const r of b1.values())if(r.id===e)return r.domId;return e},"lookUpDomId"),Rt=l(function(e,r,i,a,u,d,g={},D){var v,z;if(!e||e.trim().length===0)return;let c,o=b1.get(e);if(o===void 0&&(o={id:e,labelType:"text",domId:It+e+"-"+$e,styles:[],classes:[]},b1.set(e,o)),$e++,r!==void 0?(M1=U1(),c=ie(r.text.trim()),o.labelType=r.type,c.startsWith('"')&&c.endsWith('"')&&(c=c.substring(1,c.length-1)),o.text=c):o.text===void 0&&(o.text=e),i!==void 0&&(o.type=i),a!=null&&a.forEach(function(_){o.styles.push(_)}),u!=null&&u.forEach(function(_){o.classes.push(_)}),d!==void 0&&(o.dir=d),o.props===void 0?o.props=g:g!==void 0&&Object.assign(o.props,g),D!==void 0){let _;D.includes(` +import{g as gt,s as At}from"./chunk-5HRBRIJM-BsvwIDm-.js";import{d as U1,_ as l,n as Ze,o as bt,s as kt,g as mt,b as Et,c as St,p as Dt,q as xt,r as Ct,J as Tt,t as yt,l as e1,u as ge,v as Ft,x as vt,j as C1,y as _t,z as Bt,e as Vt,A as Lt}from"./index-BxMsVRSP.js";import{c as wt}from"./channel-DMEAHO2p.js";var It="flowchart-",$e=0,M1=U1(),b1=new Map,K=[],K1=new Map,p1=[],Ae=new Map,be=new Map,ee=0,pe=!0,J,se,re=[],ie=l(e=>Vt.sanitizeText(e,M1),"sanitizeText"),ae=l(function(e){for(const r of b1.values())if(r.id===e)return r.domId;return e},"lookUpDomId"),Rt=l(function(e,r,i,a,u,d,g={},D){var v,z;if(!e||e.trim().length===0)return;let c,o=b1.get(e);if(o===void 0&&(o={id:e,labelType:"text",domId:It+e+"-"+$e,styles:[],classes:[]},b1.set(e,o)),$e++,r!==void 0?(M1=U1(),c=ie(r.text.trim()),o.labelType=r.type,c.startsWith('"')&&c.endsWith('"')&&(c=c.substring(1,c.length-1)),o.text=c):o.text===void 0&&(o.text=e),i!==void 0&&(o.type=i),a!=null&&a.forEach(function(_){o.styles.push(_)}),u!=null&&u.forEach(function(_){o.classes.push(_)}),d!==void 0&&(o.dir=d),o.props===void 0?o.props=g:g!==void 0&&Object.assign(o.props,g),D!==void 0){let _;D.includes(` `)?_=D+` `:_=`{ `+D+` diff --git a/assets/ganttDiagram-NTVNEXSI-CgzSxtw6.js b/assets/ganttDiagram-NTVNEXSI-CxPT1Il4.js similarity index 99% rename from assets/ganttDiagram-NTVNEXSI-CgzSxtw6.js rename to assets/ganttDiagram-NTVNEXSI-CxPT1Il4.js index 9d61447f7..50d61c26d 100644 --- a/assets/ganttDiagram-NTVNEXSI-CgzSxtw6.js +++ b/assets/ganttDiagram-NTVNEXSI-CxPT1Il4.js @@ -1,4 +1,4 @@ -import{aV as Je,aW as $e,aX as Ke,aY as tn,aZ as Fn,a_ as re,a$ as En,aH as Te,aI as be,_ as h,b0 as at,d as _t,s as Ln,g as An,p as In,q as Wn,c as On,b as Hn,v as Nn,m as Vn,l as Qt,j as Zt,k as zn,e as Pn,u as Rn}from"./index-Dq-yb_Rq.js";import{b as Bn,t as Ie,c as Zn,a as qn,l as Xn}from"./linear-CcPs0ftO.js";import{i as Gn}from"./init-Gi6I4Gst.js";function jn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n=r)&&(n=r);else{let r=-1;for(let a of t)(a=e(a,++r,t))!=null&&(n=a)&&(n=a)}return n}function Qn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let a of t)(a=e(a,++r,t))!=null&&(n>a||n===void 0&&a>=a)&&(n=a)}return n}function Jn(t){return t}var Xt=1,ae=2,me=3,qt=4,We=1e-6;function $n(t){return"translate("+t+",0)"}function Kn(t){return"translate(0,"+t+")"}function tr(t){return e=>+t(e)}function er(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function nr(){return!this.__axis}function en(t,e){var n=[],r=null,a=null,i=6,s=6,k=3,M=typeof window<"u"&&window.devicePixelRatio>1?0:.5,T=t===Xt||t===qt?-1:1,g=t===qt||t===ae?"x":"y",F=t===Xt||t===me?$n:Kn;function D(b){var X=r??(e.ticks?e.ticks.apply(e,n):e.domain()),O=a??(e.tickFormat?e.tickFormat.apply(e,n):Jn),C=Math.max(i,0)+k,I=e.range(),V=+I[0]+M,W=+I[I.length-1]+M,Z=(e.bandwidth?er:tr)(e.copy(),M),Q=b.selection?b.selection():b,w=Q.selectAll(".domain").data([null]),H=Q.selectAll(".tick").data(X,e).order(),x=H.exit(),Y=H.enter().append("g").attr("class","tick"),_=H.select("line"),S=H.select("text");w=w.merge(w.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),H=H.merge(Y),_=_.merge(Y.append("line").attr("stroke","currentColor").attr(g+"2",T*i)),S=S.merge(Y.append("text").attr("fill","currentColor").attr(g,T*C).attr("dy",t===Xt?"0em":t===me?"0.71em":"0.32em")),b!==Q&&(w=w.transition(b),H=H.transition(b),_=_.transition(b),S=S.transition(b),x=x.transition(b).attr("opacity",We).attr("transform",function(p){return isFinite(p=Z(p))?F(p+M):this.getAttribute("transform")}),Y.attr("opacity",We).attr("transform",function(p){var U=this.parentNode.__axis;return F((U&&isFinite(U=U(p))?U:Z(p))+M)})),x.remove(),w.attr("d",t===qt||t===ae?s?"M"+T*s+","+V+"H"+M+"V"+W+"H"+T*s:"M"+M+","+V+"V"+W:s?"M"+V+","+T*s+"V"+M+"H"+W+"V"+T*s:"M"+V+","+M+"H"+W),H.attr("opacity",1).attr("transform",function(p){return F(Z(p)+M)}),_.attr(g+"2",T*i),S.attr(g,T*C).text(O),Q.filter(nr).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===ae?"start":t===qt?"end":"middle"),Q.each(function(){this.__axis=Z})}return D.scale=function(b){return arguments.length?(e=b,D):e},D.ticks=function(){return n=Array.from(arguments),D},D.tickArguments=function(b){return arguments.length?(n=b==null?[]:Array.from(b),D):n.slice()},D.tickValues=function(b){return arguments.length?(r=b==null?null:Array.from(b),D):r&&r.slice()},D.tickFormat=function(b){return arguments.length?(a=b,D):a},D.tickSize=function(b){return arguments.length?(i=s=+b,D):i},D.tickSizeInner=function(b){return arguments.length?(i=+b,D):i},D.tickSizeOuter=function(b){return arguments.length?(s=+b,D):s},D.tickPadding=function(b){return arguments.length?(k=+b,D):k},D.offset=function(b){return arguments.length?(M=+b,D):M},D}function rr(t){return en(Xt,t)}function ar(t){return en(me,t)}const ir=Math.PI/180,sr=180/Math.PI,Jt=18,nn=.96422,rn=1,an=.82521,sn=4/29,St=6/29,on=3*St*St,or=St*St*St;function cn(t){if(t instanceof ft)return new ft(t.l,t.a,t.b,t.opacity);if(t instanceof dt)return ln(t);t instanceof Ke||(t=Fn(t));var e=ce(t.r),n=ce(t.g),r=ce(t.b),a=ie((.2225045*e+.7168786*n+.0606169*r)/rn),i,s;return e===n&&n===r?i=s=a:(i=ie((.4360747*e+.3850649*n+.1430804*r)/nn),s=ie((.0139322*e+.0971045*n+.7141733*r)/an)),new ft(116*a-16,500*(i-a),200*(a-s),t.opacity)}function cr(t,e,n,r){return arguments.length===1?cn(t):new ft(t,e,n,r??1)}function ft(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}Je(ft,cr,$e(tn,{brighter(t){return new ft(this.l+Jt*(t??1),this.a,this.b,this.opacity)},darker(t){return new ft(this.l-Jt*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=nn*se(e),t=rn*se(t),n=an*se(n),new Ke(oe(3.1338561*e-1.6168667*t-.4906146*n),oe(-.9787684*e+1.9161415*t+.033454*n),oe(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function ie(t){return t>or?Math.pow(t,1/3):t/on+sn}function se(t){return t>St?t*t*t:on*(t-sn)}function oe(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function ce(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function lr(t){if(t instanceof dt)return new dt(t.h,t.c,t.l,t.opacity);if(t instanceof ft||(t=cn(t)),t.a===0&&t.b===0)return new dt(NaN,0(t(i=new Date(+i)),i),a.ceil=i=>(t(i=new Date(i-1)),e(i,1),t(i),i),a.round=i=>{const s=a(i),k=a.ceil(i);return i-s(e(i=new Date(+i),s==null?1:Math.floor(s)),i),a.range=(i,s,k)=>{const M=[];if(i=a.ceil(i),k=k==null?1:Math.floor(k),!(i0))return M;let T;do M.push(T=new Date(+i)),e(i,k),t(i);while(Tet(s=>{if(s>=s)for(;t(s),!i(s);)s.setTime(s-1)},(s,k)=>{if(s>=s)if(k<0)for(;++k<=0;)for(;e(s,-1),!i(s););else for(;--k>=0;)for(;e(s,1),!i(s););}),n&&(a.count=(i,s)=>(le.setTime(+i),ue.setTime(+s),t(le),t(ue),Math.floor(n(le,ue))),a.every=i=>(i=Math.floor(i),!isFinite(i)||!(i>0)?null:i>1?a.filter(r?s=>r(s)%i===0:s=>a.count(0,s)%i===0):a)),a}const Ut=et(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);Ut.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?et(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):Ut);Ut.range;const mt=1e3,ct=mt*60,gt=ct*60,yt=gt*24,xe=yt*7,Oe=yt*30,fe=yt*365,vt=et(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*mt)},(t,e)=>(e-t)/mt,t=>t.getUTCSeconds());vt.range;const Wt=et(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt)},(t,e)=>{t.setTime(+t+e*ct)},(t,e)=>(e-t)/ct,t=>t.getMinutes());Wt.range;const dr=et(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*ct)},(t,e)=>(e-t)/ct,t=>t.getUTCMinutes());dr.range;const Ot=et(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt-t.getMinutes()*ct)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getHours());Ot.range;const mr=et(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getUTCHours());mr.range;const Tt=et(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*ct)/yt,t=>t.getDate()-1);Tt.range;const we=et(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>t.getUTCDate()-1);we.range;const gr=et(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>Math.floor(t/yt));gr.range;function wt(t){return et(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*ct)/xe)}const Vt=wt(0),Ht=wt(1),un=wt(2),fn=wt(3),bt=wt(4),hn=wt(5),dn=wt(6);Vt.range;Ht.range;un.range;fn.range;bt.range;hn.range;dn.range;function Dt(t){return et(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/xe)}const mn=Dt(0),$t=Dt(1),yr=Dt(2),kr=Dt(3),Ft=Dt(4),pr=Dt(5),vr=Dt(6);mn.range;$t.range;yr.range;kr.range;Ft.range;pr.range;vr.range;const Nt=et(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());Nt.range;const Tr=et(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());Tr.range;const kt=et(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());kt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:et(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)});kt.range;const xt=et(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());xt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:et(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)});xt.range;function br(t,e,n,r,a,i){const s=[[vt,1,mt],[vt,5,5*mt],[vt,15,15*mt],[vt,30,30*mt],[i,1,ct],[i,5,5*ct],[i,15,15*ct],[i,30,30*ct],[a,1,gt],[a,3,3*gt],[a,6,6*gt],[a,12,12*gt],[r,1,yt],[r,2,2*yt],[n,1,xe],[e,1,Oe],[e,3,3*Oe],[t,1,fe]];function k(T,g,F){const D=gC).right(s,D);if(b===s.length)return t.every(Ie(T/fe,g/fe,F));if(b===0)return Ut.every(Math.max(Ie(T,g,F),1));const[X,O]=s[D/s[b-1][2]53)return null;"w"in u||(u.w=1),"Z"in u?(L=de(Lt(u.y,0,1)),j=L.getUTCDay(),L=j>4||j===0?$t.ceil(L):$t(L),L=we.offset(L,(u.V-1)*7),u.y=L.getUTCFullYear(),u.m=L.getUTCMonth(),u.d=L.getUTCDate()+(u.w+6)%7):(L=he(Lt(u.y,0,1)),j=L.getDay(),L=j>4||j===0?Ht.ceil(L):Ht(L),L=Tt.offset(L,(u.V-1)*7),u.y=L.getFullYear(),u.m=L.getMonth(),u.d=L.getDate()+(u.w+6)%7)}else("W"in u||"U"in u)&&("w"in u||(u.w="u"in u?u.u%7:"W"in u?1:0),j="Z"in u?de(Lt(u.y,0,1)).getUTCDay():he(Lt(u.y,0,1)).getDay(),u.m=0,u.d="W"in u?(u.w+6)%7+u.W*7-(j+5)%7:u.w+u.U*7-(j+6)%7);return"Z"in u?(u.H+=u.Z/100|0,u.M+=u.Z%100,de(u)):he(u)}}function x(v,A,N,u){for(var $=0,L=A.length,j=N.length,q,rt;$=j)return-1;if(q=A.charCodeAt($++),q===37){if(q=A.charAt($++),rt=Q[q in He?A.charAt($++):q],!rt||(u=rt(v,N,u))<0)return-1}else if(q!=N.charCodeAt(u++))return-1}return u}function Y(v,A,N){var u=T.exec(A.slice(N));return u?(v.p=g.get(u[0].toLowerCase()),N+u[0].length):-1}function _(v,A,N){var u=b.exec(A.slice(N));return u?(v.w=X.get(u[0].toLowerCase()),N+u[0].length):-1}function S(v,A,N){var u=F.exec(A.slice(N));return u?(v.w=D.get(u[0].toLowerCase()),N+u[0].length):-1}function p(v,A,N){var u=I.exec(A.slice(N));return u?(v.m=V.get(u[0].toLowerCase()),N+u[0].length):-1}function U(v,A,N){var u=O.exec(A.slice(N));return u?(v.m=C.get(u[0].toLowerCase()),N+u[0].length):-1}function l(v,A,N){return x(v,e,A,N)}function f(v,A,N){return x(v,n,A,N)}function y(v,A,N){return x(v,r,A,N)}function m(v){return s[v.getDay()]}function E(v){return i[v.getDay()]}function c(v){return M[v.getMonth()]}function d(v){return k[v.getMonth()]}function o(v){return a[+(v.getHours()>=12)]}function P(v){return 1+~~(v.getMonth()/3)}function z(v){return s[v.getUTCDay()]}function R(v){return i[v.getUTCDay()]}function K(v){return M[v.getUTCMonth()]}function G(v){return k[v.getUTCMonth()]}function J(v){return a[+(v.getUTCHours()>=12)]}function it(v){return 1+~~(v.getUTCMonth()/3)}return{format:function(v){var A=w(v+="",W);return A.toString=function(){return v},A},parse:function(v){var A=H(v+="",!1);return A.toString=function(){return v},A},utcFormat:function(v){var A=w(v+="",Z);return A.toString=function(){return v},A},utcParse:function(v){var A=H(v+="",!0);return A.toString=function(){return v},A}}}var He={"-":"",_:" ",0:"0"},nt=/^\s*\d+/,Cr=/^%/,Mr=/[\\^$*+?|[\]().{}]/g;function B(t,e,n){var r=t<0?"-":"",a=(r?-t:t)+"",i=a.length;return r+(i[e.toLowerCase(),n]))}function Sr(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Yr(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Ur(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Fr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Er(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Ne(t,e,n){var r=nt.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Ve(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Lr(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Ar(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function Ir(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function ze(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Wr(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Pe(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Or(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Hr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Nr(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Vr(t,e,n){var r=nt.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function zr(t,e,n){var r=Cr.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Pr(t,e,n){var r=nt.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Rr(t,e,n){var r=nt.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Re(t,e){return B(t.getDate(),e,2)}function Br(t,e){return B(t.getHours(),e,2)}function Zr(t,e){return B(t.getHours()%12||12,e,2)}function qr(t,e){return B(1+Tt.count(kt(t),t),e,3)}function gn(t,e){return B(t.getMilliseconds(),e,3)}function Xr(t,e){return gn(t,e)+"000"}function Gr(t,e){return B(t.getMonth()+1,e,2)}function jr(t,e){return B(t.getMinutes(),e,2)}function Qr(t,e){return B(t.getSeconds(),e,2)}function Jr(t){var e=t.getDay();return e===0?7:e}function $r(t,e){return B(Vt.count(kt(t)-1,t),e,2)}function yn(t){var e=t.getDay();return e>=4||e===0?bt(t):bt.ceil(t)}function Kr(t,e){return t=yn(t),B(bt.count(kt(t),t)+(kt(t).getDay()===4),e,2)}function ta(t){return t.getDay()}function ea(t,e){return B(Ht.count(kt(t)-1,t),e,2)}function na(t,e){return B(t.getFullYear()%100,e,2)}function ra(t,e){return t=yn(t),B(t.getFullYear()%100,e,2)}function aa(t,e){return B(t.getFullYear()%1e4,e,4)}function ia(t,e){var n=t.getDay();return t=n>=4||n===0?bt(t):bt.ceil(t),B(t.getFullYear()%1e4,e,4)}function sa(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+B(e/60|0,"0",2)+B(e%60,"0",2)}function Be(t,e){return B(t.getUTCDate(),e,2)}function oa(t,e){return B(t.getUTCHours(),e,2)}function ca(t,e){return B(t.getUTCHours()%12||12,e,2)}function la(t,e){return B(1+we.count(xt(t),t),e,3)}function kn(t,e){return B(t.getUTCMilliseconds(),e,3)}function ua(t,e){return kn(t,e)+"000"}function fa(t,e){return B(t.getUTCMonth()+1,e,2)}function ha(t,e){return B(t.getUTCMinutes(),e,2)}function da(t,e){return B(t.getUTCSeconds(),e,2)}function ma(t){var e=t.getUTCDay();return e===0?7:e}function ga(t,e){return B(mn.count(xt(t)-1,t),e,2)}function pn(t){var e=t.getUTCDay();return e>=4||e===0?Ft(t):Ft.ceil(t)}function ya(t,e){return t=pn(t),B(Ft.count(xt(t),t)+(xt(t).getUTCDay()===4),e,2)}function ka(t){return t.getUTCDay()}function pa(t,e){return B($t.count(xt(t)-1,t),e,2)}function va(t,e){return B(t.getUTCFullYear()%100,e,2)}function Ta(t,e){return t=pn(t),B(t.getUTCFullYear()%100,e,2)}function ba(t,e){return B(t.getUTCFullYear()%1e4,e,4)}function xa(t,e){var n=t.getUTCDay();return t=n>=4||n===0?Ft(t):Ft.ceil(t),B(t.getUTCFullYear()%1e4,e,4)}function wa(){return"+0000"}function Ze(){return"%"}function qe(t){return+t}function Xe(t){return Math.floor(+t/1e3)}var Mt,Kt;Da({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Da(t){return Mt=Dr(t),Kt=Mt.format,Mt.parse,Mt.utcFormat,Mt.utcParse,Mt}function Ca(t){return new Date(t)}function Ma(t){return t instanceof Date?+t:+new Date(+t)}function vn(t,e,n,r,a,i,s,k,M,T){var g=Zn(),F=g.invert,D=g.domain,b=T(".%L"),X=T(":%S"),O=T("%I:%M"),C=T("%I %p"),I=T("%a %d"),V=T("%b %d"),W=T("%B"),Z=T("%Y");function Q(w){return(M(w)4&&(b+=7),D.add(b,n));return X.diff(O,"week")+1},k.isoWeekday=function(T){return this.$utils().u(T)?this.day()||7:this.day(this.day()%7?T:T-7)};var M=k.startOf;k.startOf=function(T,g){var F=this.$utils(),D=!!F.u(g)||g;return F.p(T)==="isoweek"?D?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):M.bind(this)(T,g)}}})})(Tn);var Sa=Tn.exports;const Ya=be(Sa);var bn={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Te,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,i=/\d\d/,s=/\d\d?/,k=/\d*[^-_:/,()\s\d]+/,M={},T=function(C){return(C=+C)+(C>68?1900:2e3)},g=function(C){return function(I){this[C]=+I}},F=[/[+-]\d\d:?(\d\d)?|Z/,function(C){(this.zone||(this.zone={})).offset=function(I){if(!I||I==="Z")return 0;var V=I.match(/([+-]|\d\d)/g),W=60*V[1]+(+V[2]||0);return W===0?0:V[0]==="+"?-W:W}(C)}],D=function(C){var I=M[C];return I&&(I.indexOf?I:I.s.concat(I.f))},b=function(C,I){var V,W=M.meridiem;if(W){for(var Z=1;Z<=24;Z+=1)if(C.indexOf(W(Z,0,I))>-1){V=Z>12;break}}else V=C===(I?"pm":"PM");return V},X={A:[k,function(C){this.afternoon=b(C,!1)}],a:[k,function(C){this.afternoon=b(C,!0)}],Q:[a,function(C){this.month=3*(C-1)+1}],S:[a,function(C){this.milliseconds=100*+C}],SS:[i,function(C){this.milliseconds=10*+C}],SSS:[/\d{3}/,function(C){this.milliseconds=+C}],s:[s,g("seconds")],ss:[s,g("seconds")],m:[s,g("minutes")],mm:[s,g("minutes")],H:[s,g("hours")],h:[s,g("hours")],HH:[s,g("hours")],hh:[s,g("hours")],D:[s,g("day")],DD:[i,g("day")],Do:[k,function(C){var I=M.ordinal,V=C.match(/\d+/);if(this.day=V[0],I)for(var W=1;W<=31;W+=1)I(W).replace(/\[|\]/g,"")===C&&(this.day=W)}],w:[s,g("week")],ww:[i,g("week")],M:[s,g("month")],MM:[i,g("month")],MMM:[k,function(C){var I=D("months"),V=(D("monthsShort")||I.map(function(W){return W.slice(0,3)})).indexOf(C)+1;if(V<1)throw new Error;this.month=V%12||V}],MMMM:[k,function(C){var I=D("months").indexOf(C)+1;if(I<1)throw new Error;this.month=I%12||I}],Y:[/[+-]?\d+/,g("year")],YY:[i,function(C){this.year=T(C)}],YYYY:[/\d{4}/,g("year")],Z:F,ZZ:F};function O(C){var I,V;I=C,V=M&&M.formats;for(var W=(C=I.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(_,S,p){var U=p&&p.toUpperCase();return S||V[p]||n[p]||V[U].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(l,f,y){return f||y.slice(1)})})).match(r),Z=W.length,Q=0;Q-1)return new Date((E==="X"?1e3:1)*m);var o=O(E)(m),P=o.year,z=o.month,R=o.day,K=o.hours,G=o.minutes,J=o.seconds,it=o.milliseconds,v=o.zone,A=o.week,N=new Date,u=R||(P||z?1:N.getDate()),$=P||N.getFullYear(),L=0;P&&!z||(L=z>0?z-1:N.getMonth());var j,q=K||0,rt=G||0,st=J||0,pt=it||0;return v?new Date(Date.UTC($,L,u,q,rt,st,pt+60*v.offset*1e3)):c?new Date(Date.UTC($,L,u,q,rt,st,pt)):(j=new Date($,L,u,q,rt,st,pt),A&&(j=d(j).week(A).toDate()),j)}catch{return new Date("")}}(w,Y,H,V),this.init(),U&&U!==!0&&(this.$L=this.locale(U).$L),p&&w!=this.format(Y)&&(this.$d=new Date("")),M={}}else if(Y instanceof Array)for(var l=Y.length,f=1;f<=l;f+=1){x[1]=Y[f-1];var y=V.apply(this,x);if(y.isValid()){this.$d=y.$d,this.$L=y.$L,this.init();break}f===l&&(this.$d=new Date(""))}else Z.call(this,Q)}}})})(bn);var Ua=bn.exports;const Fa=be(Ua);var xn={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Te,function(){return function(n,r){var a=r.prototype,i=a.format;a.format=function(s){var k=this,M=this.$locale();if(!this.isValid())return i.bind(this)(s);var T=this.$utils(),g=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(F){switch(F){case"Q":return Math.ceil((k.$M+1)/3);case"Do":return M.ordinal(k.$D);case"gggg":return k.weekYear();case"GGGG":return k.isoWeekYear();case"wo":return M.ordinal(k.week(),"W");case"w":case"ww":return T.s(k.week(),F==="w"?1:2,"0");case"W":case"WW":return T.s(k.isoWeek(),F==="W"?1:2,"0");case"k":case"kk":return T.s(String(k.$H===0?24:k.$H),F==="k"?1:2,"0");case"X":return Math.floor(k.$d.getTime()/1e3);case"x":return k.$d.getTime();case"z":return"["+k.offsetName()+"]";case"zzz":return"["+k.offsetName("long")+"]";default:return F}});return i.bind(this)(g)}}})})(xn);var Ea=xn.exports;const La=be(Ea);var ye=function(){var t=h(function(U,l,f,y){for(f=f||{},y=U.length;y--;f[U[y]]=l);return f},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],n=[1,26],r=[1,27],a=[1,28],i=[1,29],s=[1,30],k=[1,31],M=[1,32],T=[1,33],g=[1,34],F=[1,9],D=[1,10],b=[1,11],X=[1,12],O=[1,13],C=[1,14],I=[1,15],V=[1,16],W=[1,19],Z=[1,20],Q=[1,21],w=[1,22],H=[1,23],x=[1,25],Y=[1,35],_={trace:h(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:h(function(l,f,y,m,E,c,d){var o=c.length-1;switch(E){case 1:return c[o-1];case 2:this.$=[];break;case 3:c[o-1].push(c[o]),this.$=c[o-1];break;case 4:case 5:this.$=c[o];break;case 6:case 7:this.$=[];break;case 8:m.setWeekday("monday");break;case 9:m.setWeekday("tuesday");break;case 10:m.setWeekday("wednesday");break;case 11:m.setWeekday("thursday");break;case 12:m.setWeekday("friday");break;case 13:m.setWeekday("saturday");break;case 14:m.setWeekday("sunday");break;case 15:m.setWeekend("friday");break;case 16:m.setWeekend("saturday");break;case 17:m.setDateFormat(c[o].substr(11)),this.$=c[o].substr(11);break;case 18:m.enableInclusiveEndDates(),this.$=c[o].substr(18);break;case 19:m.TopAxis(),this.$=c[o].substr(8);break;case 20:m.setAxisFormat(c[o].substr(11)),this.$=c[o].substr(11);break;case 21:m.setTickInterval(c[o].substr(13)),this.$=c[o].substr(13);break;case 22:m.setExcludes(c[o].substr(9)),this.$=c[o].substr(9);break;case 23:m.setIncludes(c[o].substr(9)),this.$=c[o].substr(9);break;case 24:m.setTodayMarker(c[o].substr(12)),this.$=c[o].substr(12);break;case 27:m.setDiagramTitle(c[o].substr(6)),this.$=c[o].substr(6);break;case 28:this.$=c[o].trim(),m.setAccTitle(this.$);break;case 29:case 30:this.$=c[o].trim(),m.setAccDescription(this.$);break;case 31:m.addSection(c[o].substr(8)),this.$=c[o].substr(8);break;case 33:m.addTask(c[o-1],c[o]),this.$="task";break;case 34:this.$=c[o-1],m.setClickEvent(c[o-1],c[o],null);break;case 35:this.$=c[o-2],m.setClickEvent(c[o-2],c[o-1],c[o]);break;case 36:this.$=c[o-2],m.setClickEvent(c[o-2],c[o-1],null),m.setLink(c[o-2],c[o]);break;case 37:this.$=c[o-3],m.setClickEvent(c[o-3],c[o-2],c[o-1]),m.setLink(c[o-3],c[o]);break;case 38:this.$=c[o-2],m.setClickEvent(c[o-2],c[o],null),m.setLink(c[o-2],c[o-1]);break;case 39:this.$=c[o-3],m.setClickEvent(c[o-3],c[o-1],c[o]),m.setLink(c[o-3],c[o-2]);break;case 40:this.$=c[o-1],m.setLink(c[o-1],c[o]);break;case 41:case 47:this.$=c[o-1]+" "+c[o];break;case 42:case 43:case 45:this.$=c[o-2]+" "+c[o-1]+" "+c[o];break;case 44:case 46:this.$=c[o-3]+" "+c[o-2]+" "+c[o-1]+" "+c[o];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:r,14:a,15:i,16:s,17:k,18:M,19:18,20:T,21:g,22:F,23:D,24:b,25:X,26:O,27:C,28:I,29:V,30:W,31:Z,33:Q,35:w,36:H,37:24,38:x,40:Y},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:n,13:r,14:a,15:i,16:s,17:k,18:M,19:18,20:T,21:g,22:F,23:D,24:b,25:X,26:O,27:C,28:I,29:V,30:W,31:Z,33:Q,35:w,36:H,37:24,38:x,40:Y},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:h(function(l,f){if(f.recoverable)this.trace(l);else{var y=new Error(l);throw y.hash=f,y}},"parseError"),parse:h(function(l){var f=this,y=[0],m=[],E=[null],c=[],d=this.table,o="",P=0,z=0,R=2,K=1,G=c.slice.call(arguments,1),J=Object.create(this.lexer),it={yy:{}};for(var v in this.yy)Object.prototype.hasOwnProperty.call(this.yy,v)&&(it.yy[v]=this.yy[v]);J.setInput(l,it.yy),it.yy.lexer=J,it.yy.parser=this,typeof J.yylloc>"u"&&(J.yylloc={});var A=J.yylloc;c.push(A);var N=J.options&&J.options.ranges;typeof it.yy.parseError=="function"?this.parseError=it.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function u(ot){y.length=y.length-2*ot,E.length=E.length-ot,c.length=c.length-ot}h(u,"popStack");function $(){var ot;return ot=m.pop()||J.lex()||K,typeof ot!="number"&&(ot instanceof Array&&(m=ot,ot=m.pop()),ot=f.symbols_[ot]||ot),ot}h($,"lex");for(var L,j,q,rt,st={},pt,lt,Ae,Bt;;){if(j=y[y.length-1],this.defaultActions[j]?q=this.defaultActions[j]:((L===null||typeof L>"u")&&(L=$()),q=d[j]&&d[j][L]),typeof q>"u"||!q.length||!q[0]){var ne="";Bt=[];for(pt in d[j])this.terminals_[pt]&&pt>R&&Bt.push("'"+this.terminals_[pt]+"'");J.showPosition?ne="Parse error on line "+(P+1)+`: +import{aV as Je,aW as $e,aX as Ke,aY as tn,aZ as Fn,a_ as re,a$ as En,aH as Te,aI as be,_ as h,b0 as at,d as _t,s as Ln,g as An,p as In,q as Wn,c as On,b as Hn,v as Nn,m as Vn,l as Qt,j as Zt,k as zn,e as Pn,u as Rn}from"./index-BxMsVRSP.js";import{b as Bn,t as Ie,c as Zn,a as qn,l as Xn}from"./linear-BP5rAFKr.js";import{i as Gn}from"./init-Gi6I4Gst.js";function jn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n=r)&&(n=r);else{let r=-1;for(let a of t)(a=e(a,++r,t))!=null&&(n=a)&&(n=a)}return n}function Qn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let a of t)(a=e(a,++r,t))!=null&&(n>a||n===void 0&&a>=a)&&(n=a)}return n}function Jn(t){return t}var Xt=1,ae=2,me=3,qt=4,We=1e-6;function $n(t){return"translate("+t+",0)"}function Kn(t){return"translate(0,"+t+")"}function tr(t){return e=>+t(e)}function er(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function nr(){return!this.__axis}function en(t,e){var n=[],r=null,a=null,i=6,s=6,k=3,M=typeof window<"u"&&window.devicePixelRatio>1?0:.5,T=t===Xt||t===qt?-1:1,g=t===qt||t===ae?"x":"y",F=t===Xt||t===me?$n:Kn;function D(b){var X=r??(e.ticks?e.ticks.apply(e,n):e.domain()),O=a??(e.tickFormat?e.tickFormat.apply(e,n):Jn),C=Math.max(i,0)+k,I=e.range(),V=+I[0]+M,W=+I[I.length-1]+M,Z=(e.bandwidth?er:tr)(e.copy(),M),Q=b.selection?b.selection():b,w=Q.selectAll(".domain").data([null]),H=Q.selectAll(".tick").data(X,e).order(),x=H.exit(),Y=H.enter().append("g").attr("class","tick"),_=H.select("line"),S=H.select("text");w=w.merge(w.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),H=H.merge(Y),_=_.merge(Y.append("line").attr("stroke","currentColor").attr(g+"2",T*i)),S=S.merge(Y.append("text").attr("fill","currentColor").attr(g,T*C).attr("dy",t===Xt?"0em":t===me?"0.71em":"0.32em")),b!==Q&&(w=w.transition(b),H=H.transition(b),_=_.transition(b),S=S.transition(b),x=x.transition(b).attr("opacity",We).attr("transform",function(p){return isFinite(p=Z(p))?F(p+M):this.getAttribute("transform")}),Y.attr("opacity",We).attr("transform",function(p){var U=this.parentNode.__axis;return F((U&&isFinite(U=U(p))?U:Z(p))+M)})),x.remove(),w.attr("d",t===qt||t===ae?s?"M"+T*s+","+V+"H"+M+"V"+W+"H"+T*s:"M"+M+","+V+"V"+W:s?"M"+V+","+T*s+"V"+M+"H"+W+"V"+T*s:"M"+V+","+M+"H"+W),H.attr("opacity",1).attr("transform",function(p){return F(Z(p)+M)}),_.attr(g+"2",T*i),S.attr(g,T*C).text(O),Q.filter(nr).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===ae?"start":t===qt?"end":"middle"),Q.each(function(){this.__axis=Z})}return D.scale=function(b){return arguments.length?(e=b,D):e},D.ticks=function(){return n=Array.from(arguments),D},D.tickArguments=function(b){return arguments.length?(n=b==null?[]:Array.from(b),D):n.slice()},D.tickValues=function(b){return arguments.length?(r=b==null?null:Array.from(b),D):r&&r.slice()},D.tickFormat=function(b){return arguments.length?(a=b,D):a},D.tickSize=function(b){return arguments.length?(i=s=+b,D):i},D.tickSizeInner=function(b){return arguments.length?(i=+b,D):i},D.tickSizeOuter=function(b){return arguments.length?(s=+b,D):s},D.tickPadding=function(b){return arguments.length?(k=+b,D):k},D.offset=function(b){return arguments.length?(M=+b,D):M},D}function rr(t){return en(Xt,t)}function ar(t){return en(me,t)}const ir=Math.PI/180,sr=180/Math.PI,Jt=18,nn=.96422,rn=1,an=.82521,sn=4/29,St=6/29,on=3*St*St,or=St*St*St;function cn(t){if(t instanceof ft)return new ft(t.l,t.a,t.b,t.opacity);if(t instanceof dt)return ln(t);t instanceof Ke||(t=Fn(t));var e=ce(t.r),n=ce(t.g),r=ce(t.b),a=ie((.2225045*e+.7168786*n+.0606169*r)/rn),i,s;return e===n&&n===r?i=s=a:(i=ie((.4360747*e+.3850649*n+.1430804*r)/nn),s=ie((.0139322*e+.0971045*n+.7141733*r)/an)),new ft(116*a-16,500*(i-a),200*(a-s),t.opacity)}function cr(t,e,n,r){return arguments.length===1?cn(t):new ft(t,e,n,r??1)}function ft(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}Je(ft,cr,$e(tn,{brighter(t){return new ft(this.l+Jt*(t??1),this.a,this.b,this.opacity)},darker(t){return new ft(this.l-Jt*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=nn*se(e),t=rn*se(t),n=an*se(n),new Ke(oe(3.1338561*e-1.6168667*t-.4906146*n),oe(-.9787684*e+1.9161415*t+.033454*n),oe(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function ie(t){return t>or?Math.pow(t,1/3):t/on+sn}function se(t){return t>St?t*t*t:on*(t-sn)}function oe(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function ce(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function lr(t){if(t instanceof dt)return new dt(t.h,t.c,t.l,t.opacity);if(t instanceof ft||(t=cn(t)),t.a===0&&t.b===0)return new dt(NaN,0(t(i=new Date(+i)),i),a.ceil=i=>(t(i=new Date(i-1)),e(i,1),t(i),i),a.round=i=>{const s=a(i),k=a.ceil(i);return i-s(e(i=new Date(+i),s==null?1:Math.floor(s)),i),a.range=(i,s,k)=>{const M=[];if(i=a.ceil(i),k=k==null?1:Math.floor(k),!(i0))return M;let T;do M.push(T=new Date(+i)),e(i,k),t(i);while(Tet(s=>{if(s>=s)for(;t(s),!i(s);)s.setTime(s-1)},(s,k)=>{if(s>=s)if(k<0)for(;++k<=0;)for(;e(s,-1),!i(s););else for(;--k>=0;)for(;e(s,1),!i(s););}),n&&(a.count=(i,s)=>(le.setTime(+i),ue.setTime(+s),t(le),t(ue),Math.floor(n(le,ue))),a.every=i=>(i=Math.floor(i),!isFinite(i)||!(i>0)?null:i>1?a.filter(r?s=>r(s)%i===0:s=>a.count(0,s)%i===0):a)),a}const Ut=et(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);Ut.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?et(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):Ut);Ut.range;const mt=1e3,ct=mt*60,gt=ct*60,yt=gt*24,xe=yt*7,Oe=yt*30,fe=yt*365,vt=et(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*mt)},(t,e)=>(e-t)/mt,t=>t.getUTCSeconds());vt.range;const Wt=et(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt)},(t,e)=>{t.setTime(+t+e*ct)},(t,e)=>(e-t)/ct,t=>t.getMinutes());Wt.range;const dr=et(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*ct)},(t,e)=>(e-t)/ct,t=>t.getUTCMinutes());dr.range;const Ot=et(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*mt-t.getMinutes()*ct)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getHours());Ot.range;const mr=et(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*gt)},(t,e)=>(e-t)/gt,t=>t.getUTCHours());mr.range;const Tt=et(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*ct)/yt,t=>t.getDate()-1);Tt.range;const we=et(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>t.getUTCDate()-1);we.range;const gr=et(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/yt,t=>Math.floor(t/yt));gr.range;function wt(t){return et(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*ct)/xe)}const Vt=wt(0),Ht=wt(1),un=wt(2),fn=wt(3),bt=wt(4),hn=wt(5),dn=wt(6);Vt.range;Ht.range;un.range;fn.range;bt.range;hn.range;dn.range;function Dt(t){return et(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/xe)}const mn=Dt(0),$t=Dt(1),yr=Dt(2),kr=Dt(3),Ft=Dt(4),pr=Dt(5),vr=Dt(6);mn.range;$t.range;yr.range;kr.range;Ft.range;pr.range;vr.range;const Nt=et(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());Nt.range;const Tr=et(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());Tr.range;const kt=et(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());kt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:et(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)});kt.range;const xt=et(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());xt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:et(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)});xt.range;function br(t,e,n,r,a,i){const s=[[vt,1,mt],[vt,5,5*mt],[vt,15,15*mt],[vt,30,30*mt],[i,1,ct],[i,5,5*ct],[i,15,15*ct],[i,30,30*ct],[a,1,gt],[a,3,3*gt],[a,6,6*gt],[a,12,12*gt],[r,1,yt],[r,2,2*yt],[n,1,xe],[e,1,Oe],[e,3,3*Oe],[t,1,fe]];function k(T,g,F){const D=gC).right(s,D);if(b===s.length)return t.every(Ie(T/fe,g/fe,F));if(b===0)return Ut.every(Math.max(Ie(T,g,F),1));const[X,O]=s[D/s[b-1][2]53)return null;"w"in u||(u.w=1),"Z"in u?(L=de(Lt(u.y,0,1)),j=L.getUTCDay(),L=j>4||j===0?$t.ceil(L):$t(L),L=we.offset(L,(u.V-1)*7),u.y=L.getUTCFullYear(),u.m=L.getUTCMonth(),u.d=L.getUTCDate()+(u.w+6)%7):(L=he(Lt(u.y,0,1)),j=L.getDay(),L=j>4||j===0?Ht.ceil(L):Ht(L),L=Tt.offset(L,(u.V-1)*7),u.y=L.getFullYear(),u.m=L.getMonth(),u.d=L.getDate()+(u.w+6)%7)}else("W"in u||"U"in u)&&("w"in u||(u.w="u"in u?u.u%7:"W"in u?1:0),j="Z"in u?de(Lt(u.y,0,1)).getUTCDay():he(Lt(u.y,0,1)).getDay(),u.m=0,u.d="W"in u?(u.w+6)%7+u.W*7-(j+5)%7:u.w+u.U*7-(j+6)%7);return"Z"in u?(u.H+=u.Z/100|0,u.M+=u.Z%100,de(u)):he(u)}}function x(v,A,N,u){for(var $=0,L=A.length,j=N.length,q,rt;$=j)return-1;if(q=A.charCodeAt($++),q===37){if(q=A.charAt($++),rt=Q[q in He?A.charAt($++):q],!rt||(u=rt(v,N,u))<0)return-1}else if(q!=N.charCodeAt(u++))return-1}return u}function Y(v,A,N){var u=T.exec(A.slice(N));return u?(v.p=g.get(u[0].toLowerCase()),N+u[0].length):-1}function _(v,A,N){var u=b.exec(A.slice(N));return u?(v.w=X.get(u[0].toLowerCase()),N+u[0].length):-1}function S(v,A,N){var u=F.exec(A.slice(N));return u?(v.w=D.get(u[0].toLowerCase()),N+u[0].length):-1}function p(v,A,N){var u=I.exec(A.slice(N));return u?(v.m=V.get(u[0].toLowerCase()),N+u[0].length):-1}function U(v,A,N){var u=O.exec(A.slice(N));return u?(v.m=C.get(u[0].toLowerCase()),N+u[0].length):-1}function l(v,A,N){return x(v,e,A,N)}function f(v,A,N){return x(v,n,A,N)}function y(v,A,N){return x(v,r,A,N)}function m(v){return s[v.getDay()]}function E(v){return i[v.getDay()]}function c(v){return M[v.getMonth()]}function d(v){return k[v.getMonth()]}function o(v){return a[+(v.getHours()>=12)]}function P(v){return 1+~~(v.getMonth()/3)}function z(v){return s[v.getUTCDay()]}function R(v){return i[v.getUTCDay()]}function K(v){return M[v.getUTCMonth()]}function G(v){return k[v.getUTCMonth()]}function J(v){return a[+(v.getUTCHours()>=12)]}function it(v){return 1+~~(v.getUTCMonth()/3)}return{format:function(v){var A=w(v+="",W);return A.toString=function(){return v},A},parse:function(v){var A=H(v+="",!1);return A.toString=function(){return v},A},utcFormat:function(v){var A=w(v+="",Z);return A.toString=function(){return v},A},utcParse:function(v){var A=H(v+="",!0);return A.toString=function(){return v},A}}}var He={"-":"",_:" ",0:"0"},nt=/^\s*\d+/,Cr=/^%/,Mr=/[\\^$*+?|[\]().{}]/g;function B(t,e,n){var r=t<0?"-":"",a=(r?-t:t)+"",i=a.length;return r+(i[e.toLowerCase(),n]))}function Sr(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Yr(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Ur(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Fr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Er(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Ne(t,e,n){var r=nt.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Ve(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Lr(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Ar(t,e,n){var r=nt.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function Ir(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function ze(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Wr(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Pe(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Or(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Hr(t,e,n){var r=nt.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Nr(t,e,n){var r=nt.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Vr(t,e,n){var r=nt.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function zr(t,e,n){var r=Cr.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Pr(t,e,n){var r=nt.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Rr(t,e,n){var r=nt.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Re(t,e){return B(t.getDate(),e,2)}function Br(t,e){return B(t.getHours(),e,2)}function Zr(t,e){return B(t.getHours()%12||12,e,2)}function qr(t,e){return B(1+Tt.count(kt(t),t),e,3)}function gn(t,e){return B(t.getMilliseconds(),e,3)}function Xr(t,e){return gn(t,e)+"000"}function Gr(t,e){return B(t.getMonth()+1,e,2)}function jr(t,e){return B(t.getMinutes(),e,2)}function Qr(t,e){return B(t.getSeconds(),e,2)}function Jr(t){var e=t.getDay();return e===0?7:e}function $r(t,e){return B(Vt.count(kt(t)-1,t),e,2)}function yn(t){var e=t.getDay();return e>=4||e===0?bt(t):bt.ceil(t)}function Kr(t,e){return t=yn(t),B(bt.count(kt(t),t)+(kt(t).getDay()===4),e,2)}function ta(t){return t.getDay()}function ea(t,e){return B(Ht.count(kt(t)-1,t),e,2)}function na(t,e){return B(t.getFullYear()%100,e,2)}function ra(t,e){return t=yn(t),B(t.getFullYear()%100,e,2)}function aa(t,e){return B(t.getFullYear()%1e4,e,4)}function ia(t,e){var n=t.getDay();return t=n>=4||n===0?bt(t):bt.ceil(t),B(t.getFullYear()%1e4,e,4)}function sa(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+B(e/60|0,"0",2)+B(e%60,"0",2)}function Be(t,e){return B(t.getUTCDate(),e,2)}function oa(t,e){return B(t.getUTCHours(),e,2)}function ca(t,e){return B(t.getUTCHours()%12||12,e,2)}function la(t,e){return B(1+we.count(xt(t),t),e,3)}function kn(t,e){return B(t.getUTCMilliseconds(),e,3)}function ua(t,e){return kn(t,e)+"000"}function fa(t,e){return B(t.getUTCMonth()+1,e,2)}function ha(t,e){return B(t.getUTCMinutes(),e,2)}function da(t,e){return B(t.getUTCSeconds(),e,2)}function ma(t){var e=t.getUTCDay();return e===0?7:e}function ga(t,e){return B(mn.count(xt(t)-1,t),e,2)}function pn(t){var e=t.getUTCDay();return e>=4||e===0?Ft(t):Ft.ceil(t)}function ya(t,e){return t=pn(t),B(Ft.count(xt(t),t)+(xt(t).getUTCDay()===4),e,2)}function ka(t){return t.getUTCDay()}function pa(t,e){return B($t.count(xt(t)-1,t),e,2)}function va(t,e){return B(t.getUTCFullYear()%100,e,2)}function Ta(t,e){return t=pn(t),B(t.getUTCFullYear()%100,e,2)}function ba(t,e){return B(t.getUTCFullYear()%1e4,e,4)}function xa(t,e){var n=t.getUTCDay();return t=n>=4||n===0?Ft(t):Ft.ceil(t),B(t.getUTCFullYear()%1e4,e,4)}function wa(){return"+0000"}function Ze(){return"%"}function qe(t){return+t}function Xe(t){return Math.floor(+t/1e3)}var Mt,Kt;Da({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Da(t){return Mt=Dr(t),Kt=Mt.format,Mt.parse,Mt.utcFormat,Mt.utcParse,Mt}function Ca(t){return new Date(t)}function Ma(t){return t instanceof Date?+t:+new Date(+t)}function vn(t,e,n,r,a,i,s,k,M,T){var g=Zn(),F=g.invert,D=g.domain,b=T(".%L"),X=T(":%S"),O=T("%I:%M"),C=T("%I %p"),I=T("%a %d"),V=T("%b %d"),W=T("%B"),Z=T("%Y");function Q(w){return(M(w)4&&(b+=7),D.add(b,n));return X.diff(O,"week")+1},k.isoWeekday=function(T){return this.$utils().u(T)?this.day()||7:this.day(this.day()%7?T:T-7)};var M=k.startOf;k.startOf=function(T,g){var F=this.$utils(),D=!!F.u(g)||g;return F.p(T)==="isoweek"?D?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):M.bind(this)(T,g)}}})})(Tn);var Sa=Tn.exports;const Ya=be(Sa);var bn={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Te,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,i=/\d\d/,s=/\d\d?/,k=/\d*[^-_:/,()\s\d]+/,M={},T=function(C){return(C=+C)+(C>68?1900:2e3)},g=function(C){return function(I){this[C]=+I}},F=[/[+-]\d\d:?(\d\d)?|Z/,function(C){(this.zone||(this.zone={})).offset=function(I){if(!I||I==="Z")return 0;var V=I.match(/([+-]|\d\d)/g),W=60*V[1]+(+V[2]||0);return W===0?0:V[0]==="+"?-W:W}(C)}],D=function(C){var I=M[C];return I&&(I.indexOf?I:I.s.concat(I.f))},b=function(C,I){var V,W=M.meridiem;if(W){for(var Z=1;Z<=24;Z+=1)if(C.indexOf(W(Z,0,I))>-1){V=Z>12;break}}else V=C===(I?"pm":"PM");return V},X={A:[k,function(C){this.afternoon=b(C,!1)}],a:[k,function(C){this.afternoon=b(C,!0)}],Q:[a,function(C){this.month=3*(C-1)+1}],S:[a,function(C){this.milliseconds=100*+C}],SS:[i,function(C){this.milliseconds=10*+C}],SSS:[/\d{3}/,function(C){this.milliseconds=+C}],s:[s,g("seconds")],ss:[s,g("seconds")],m:[s,g("minutes")],mm:[s,g("minutes")],H:[s,g("hours")],h:[s,g("hours")],HH:[s,g("hours")],hh:[s,g("hours")],D:[s,g("day")],DD:[i,g("day")],Do:[k,function(C){var I=M.ordinal,V=C.match(/\d+/);if(this.day=V[0],I)for(var W=1;W<=31;W+=1)I(W).replace(/\[|\]/g,"")===C&&(this.day=W)}],w:[s,g("week")],ww:[i,g("week")],M:[s,g("month")],MM:[i,g("month")],MMM:[k,function(C){var I=D("months"),V=(D("monthsShort")||I.map(function(W){return W.slice(0,3)})).indexOf(C)+1;if(V<1)throw new Error;this.month=V%12||V}],MMMM:[k,function(C){var I=D("months").indexOf(C)+1;if(I<1)throw new Error;this.month=I%12||I}],Y:[/[+-]?\d+/,g("year")],YY:[i,function(C){this.year=T(C)}],YYYY:[/\d{4}/,g("year")],Z:F,ZZ:F};function O(C){var I,V;I=C,V=M&&M.formats;for(var W=(C=I.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(_,S,p){var U=p&&p.toUpperCase();return S||V[p]||n[p]||V[U].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(l,f,y){return f||y.slice(1)})})).match(r),Z=W.length,Q=0;Q-1)return new Date((E==="X"?1e3:1)*m);var o=O(E)(m),P=o.year,z=o.month,R=o.day,K=o.hours,G=o.minutes,J=o.seconds,it=o.milliseconds,v=o.zone,A=o.week,N=new Date,u=R||(P||z?1:N.getDate()),$=P||N.getFullYear(),L=0;P&&!z||(L=z>0?z-1:N.getMonth());var j,q=K||0,rt=G||0,st=J||0,pt=it||0;return v?new Date(Date.UTC($,L,u,q,rt,st,pt+60*v.offset*1e3)):c?new Date(Date.UTC($,L,u,q,rt,st,pt)):(j=new Date($,L,u,q,rt,st,pt),A&&(j=d(j).week(A).toDate()),j)}catch{return new Date("")}}(w,Y,H,V),this.init(),U&&U!==!0&&(this.$L=this.locale(U).$L),p&&w!=this.format(Y)&&(this.$d=new Date("")),M={}}else if(Y instanceof Array)for(var l=Y.length,f=1;f<=l;f+=1){x[1]=Y[f-1];var y=V.apply(this,x);if(y.isValid()){this.$d=y.$d,this.$L=y.$L,this.init();break}f===l&&(this.$d=new Date(""))}else Z.call(this,Q)}}})})(bn);var Ua=bn.exports;const Fa=be(Ua);var xn={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(Te,function(){return function(n,r){var a=r.prototype,i=a.format;a.format=function(s){var k=this,M=this.$locale();if(!this.isValid())return i.bind(this)(s);var T=this.$utils(),g=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(F){switch(F){case"Q":return Math.ceil((k.$M+1)/3);case"Do":return M.ordinal(k.$D);case"gggg":return k.weekYear();case"GGGG":return k.isoWeekYear();case"wo":return M.ordinal(k.week(),"W");case"w":case"ww":return T.s(k.week(),F==="w"?1:2,"0");case"W":case"WW":return T.s(k.isoWeek(),F==="W"?1:2,"0");case"k":case"kk":return T.s(String(k.$H===0?24:k.$H),F==="k"?1:2,"0");case"X":return Math.floor(k.$d.getTime()/1e3);case"x":return k.$d.getTime();case"z":return"["+k.offsetName()+"]";case"zzz":return"["+k.offsetName("long")+"]";default:return F}});return i.bind(this)(g)}}})})(xn);var Ea=xn.exports;const La=be(Ea);var ye=function(){var t=h(function(U,l,f,y){for(f=f||{},y=U.length;y--;f[U[y]]=l);return f},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],n=[1,26],r=[1,27],a=[1,28],i=[1,29],s=[1,30],k=[1,31],M=[1,32],T=[1,33],g=[1,34],F=[1,9],D=[1,10],b=[1,11],X=[1,12],O=[1,13],C=[1,14],I=[1,15],V=[1,16],W=[1,19],Z=[1,20],Q=[1,21],w=[1,22],H=[1,23],x=[1,25],Y=[1,35],_={trace:h(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:h(function(l,f,y,m,E,c,d){var o=c.length-1;switch(E){case 1:return c[o-1];case 2:this.$=[];break;case 3:c[o-1].push(c[o]),this.$=c[o-1];break;case 4:case 5:this.$=c[o];break;case 6:case 7:this.$=[];break;case 8:m.setWeekday("monday");break;case 9:m.setWeekday("tuesday");break;case 10:m.setWeekday("wednesday");break;case 11:m.setWeekday("thursday");break;case 12:m.setWeekday("friday");break;case 13:m.setWeekday("saturday");break;case 14:m.setWeekday("sunday");break;case 15:m.setWeekend("friday");break;case 16:m.setWeekend("saturday");break;case 17:m.setDateFormat(c[o].substr(11)),this.$=c[o].substr(11);break;case 18:m.enableInclusiveEndDates(),this.$=c[o].substr(18);break;case 19:m.TopAxis(),this.$=c[o].substr(8);break;case 20:m.setAxisFormat(c[o].substr(11)),this.$=c[o].substr(11);break;case 21:m.setTickInterval(c[o].substr(13)),this.$=c[o].substr(13);break;case 22:m.setExcludes(c[o].substr(9)),this.$=c[o].substr(9);break;case 23:m.setIncludes(c[o].substr(9)),this.$=c[o].substr(9);break;case 24:m.setTodayMarker(c[o].substr(12)),this.$=c[o].substr(12);break;case 27:m.setDiagramTitle(c[o].substr(6)),this.$=c[o].substr(6);break;case 28:this.$=c[o].trim(),m.setAccTitle(this.$);break;case 29:case 30:this.$=c[o].trim(),m.setAccDescription(this.$);break;case 31:m.addSection(c[o].substr(8)),this.$=c[o].substr(8);break;case 33:m.addTask(c[o-1],c[o]),this.$="task";break;case 34:this.$=c[o-1],m.setClickEvent(c[o-1],c[o],null);break;case 35:this.$=c[o-2],m.setClickEvent(c[o-2],c[o-1],c[o]);break;case 36:this.$=c[o-2],m.setClickEvent(c[o-2],c[o-1],null),m.setLink(c[o-2],c[o]);break;case 37:this.$=c[o-3],m.setClickEvent(c[o-3],c[o-2],c[o-1]),m.setLink(c[o-3],c[o]);break;case 38:this.$=c[o-2],m.setClickEvent(c[o-2],c[o],null),m.setLink(c[o-2],c[o-1]);break;case 39:this.$=c[o-3],m.setClickEvent(c[o-3],c[o-1],c[o]),m.setLink(c[o-3],c[o-2]);break;case 40:this.$=c[o-1],m.setLink(c[o-1],c[o]);break;case 41:case 47:this.$=c[o-1]+" "+c[o];break;case 42:case 43:case 45:this.$=c[o-2]+" "+c[o-1]+" "+c[o];break;case 44:case 46:this.$=c[o-3]+" "+c[o-2]+" "+c[o-1]+" "+c[o];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:r,14:a,15:i,16:s,17:k,18:M,19:18,20:T,21:g,22:F,23:D,24:b,25:X,26:O,27:C,28:I,29:V,30:W,31:Z,33:Q,35:w,36:H,37:24,38:x,40:Y},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:n,13:r,14:a,15:i,16:s,17:k,18:M,19:18,20:T,21:g,22:F,23:D,24:b,25:X,26:O,27:C,28:I,29:V,30:W,31:Z,33:Q,35:w,36:H,37:24,38:x,40:Y},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:h(function(l,f){if(f.recoverable)this.trace(l);else{var y=new Error(l);throw y.hash=f,y}},"parseError"),parse:h(function(l){var f=this,y=[0],m=[],E=[null],c=[],d=this.table,o="",P=0,z=0,R=2,K=1,G=c.slice.call(arguments,1),J=Object.create(this.lexer),it={yy:{}};for(var v in this.yy)Object.prototype.hasOwnProperty.call(this.yy,v)&&(it.yy[v]=this.yy[v]);J.setInput(l,it.yy),it.yy.lexer=J,it.yy.parser=this,typeof J.yylloc>"u"&&(J.yylloc={});var A=J.yylloc;c.push(A);var N=J.options&&J.options.ranges;typeof it.yy.parseError=="function"?this.parseError=it.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function u(ot){y.length=y.length-2*ot,E.length=E.length-ot,c.length=c.length-ot}h(u,"popStack");function $(){var ot;return ot=m.pop()||J.lex()||K,typeof ot!="number"&&(ot instanceof Array&&(m=ot,ot=m.pop()),ot=f.symbols_[ot]||ot),ot}h($,"lex");for(var L,j,q,rt,st={},pt,lt,Ae,Bt;;){if(j=y[y.length-1],this.defaultActions[j]?q=this.defaultActions[j]:((L===null||typeof L>"u")&&(L=$()),q=d[j]&&d[j][L]),typeof q>"u"||!q.length||!q[0]){var ne="";Bt=[];for(pt in d[j])this.terminals_[pt]&&pt>R&&Bt.push("'"+this.terminals_[pt]+"'");J.showPosition?ne="Parse error on line "+(P+1)+`: `+J.showPosition()+` Expecting `+Bt.join(", ")+", got '"+(this.terminals_[L]||L)+"'":ne="Parse error on line "+(P+1)+": Unexpected "+(L==K?"end of input":"'"+(this.terminals_[L]||L)+"'"),this.parseError(ne,{text:J.match,token:this.terminals_[L]||L,line:J.yylineno,loc:A,expected:Bt})}if(q[0]instanceof Array&&q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+j+", token: "+L);switch(q[0]){case 1:y.push(L),E.push(J.yytext),c.push(J.yylloc),y.push(q[1]),L=null,z=J.yyleng,o=J.yytext,P=J.yylineno,A=J.yylloc;break;case 2:if(lt=this.productions_[q[1]][1],st.$=E[E.length-lt],st._$={first_line:c[c.length-(lt||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(lt||1)].first_column,last_column:c[c.length-1].last_column},N&&(st._$.range=[c[c.length-(lt||1)].range[0],c[c.length-1].range[1]]),rt=this.performAction.apply(st,[o,z,P,it.yy,q[1],E,c].concat(G)),typeof rt<"u")return rt;lt&&(y=y.slice(0,-1*lt*2),E=E.slice(0,-1*lt),c=c.slice(0,-1*lt)),y.push(this.productions_[q[1]][0]),E.push(st.$),c.push(st._$),Ae=d[y[y.length-2]][y[y.length-1]],y.push(Ae);break;case 3:return!0}}return!0},"parse")},S=function(){var U={EOF:1,parseError:h(function(f,y){if(this.yy.parser)this.yy.parser.parseError(f,y);else throw new Error(f)},"parseError"),setInput:h(function(l,f){return this.yy=f||this.yy||{},this._input=l,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:h(function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var f=l.match(/(?:\r\n?|\n).*/g);return f?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),l},"input"),unput:h(function(l){var f=l.length,y=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-f),this.offset-=f;var m=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),y.length-1&&(this.yylineno-=y.length-1);var E=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:y?(y.length===m.length?this.yylloc.first_column:0)+m[m.length-y.length].length-y[0].length:this.yylloc.first_column-f},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-f]),this.yyleng=this.yytext.length,this},"unput"),more:h(function(){return this._more=!0,this},"more"),reject:h(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:h(function(l){this.unput(this.match.slice(l))},"less"),pastInput:h(function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:h(function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:h(function(){var l=this.pastInput(),f=new Array(l.length+1).join("-");return l+this.upcomingInput()+` diff --git a/assets/gitGraph-YCYPL57B-DpeDajKN.js b/assets/gitGraph-YCYPL57B-XVjt0la2.js similarity index 99% rename from assets/gitGraph-YCYPL57B-DpeDajKN.js rename to assets/gitGraph-YCYPL57B-XVjt0la2.js index 1651a1261..aaa17481b 100644 --- a/assets/gitGraph-YCYPL57B-DpeDajKN.js +++ b/assets/gitGraph-YCYPL57B-XVjt0la2.js @@ -1,4 +1,4 @@ -var Gc=Object.defineProperty;var Uc=(n,e,t)=>e in n?Gc(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Je=(n,e,t)=>Uc(n,typeof e!="symbol"?e+"":e,t);import{bz as Fc,bA as Bc,aQ as ao,bj as Hc,aU as Vc,aR as Z,aA as Wc,aB as Qi,b9 as Kc,bc as oo,bd as lo,bo as Zi,ba as zc,aD as mt,aE as D,aS as es,aM as qc,bB as tn}from"./index-Dq-yb_Rq.js";import{k as Mt,j as vi,g as Kt,S as Yc,w as Xc,x as Jc,c as co,v as K,y as uo,l as Qc,z as Zc,A as eu,B as tu,C as nu,a as fo,d as S,i as ze,r as oe,f as Ee,D as q}from"./_baseUniq-4k_gUsXm.js";import{j as _i,m as b,d as ru,f as Ie,g as Dt,i as Ei,h as x,l as jt,e as iu}from"./_basePickBy-DFtYmPO_.js";import{c as te}from"./clone-BJk3Zf2Y.js";var su=Object.prototype,au=su.hasOwnProperty,_e=Fc(function(n,e){if(Bc(e)||ao(e)){Hc(e,Mt(e),n);return}for(var t in e)au.call(e,t)&&Vc(n,t,e[t])});function ho(n,e,t){var r=-1,i=n.length;e<0&&(e=-e>i?0:i+e),t=t>i?i:t,t<0&&(t+=i),i=e>t?0:t-e>>>0,e>>>=0;for(var s=Array(i);++r=uu&&(s=Jc,a=!1,e=new Yc(e));e:for(;++i-1:!!i&&uo(n,e,t)>-1}function ts(n,e,t){var r=n==null?0:n.length;if(!r)return-1;var i=0;return uo(n,e,i)}var vu="[object RegExp]";function _u(n){return oo(n)&&lo(n)==vu}var ns=Zi&&Zi.isRegExp,qe=ns?zc(ns):_u,Eu="Expected a function";function Ru(n){if(typeof n!="function")throw new TypeError(Eu);return function(){var e=arguments;switch(e.length){case 0:return!n.call(this);case 1:return!n.call(this,e[0]);case 2:return!n.call(this,e[0],e[1]);case 3:return!n.call(this,e[0],e[1],e[2])}return!n.apply(this,e)}}function Pe(n,e){if(n==null)return{};var t=Qc(Zc(n),function(r){return[r]});return e=Kt(e),ru(n,t,function(r,i){return e(r,i[0])})}function rr(n,e){var t=Z(n)?eu:tu;return t(n,Ru(Kt(e)))}function Au(n,e){var t;return vi(n,function(r,i,s){return t=e(r,i,s),!t}),!!t}function po(n,e,t){var r=Z(n)?nu:Au;return r(n,Kt(e))}function Ri(n){return n&&n.length?fo(n):[]}function bu(n,e){return n&&n.length?fo(n,Kt(e)):[]}function ae(n){return typeof n=="object"&&n!==null&&typeof n.$type=="string"}function Ge(n){return typeof n=="object"&&n!==null&&typeof n.$refText=="string"}function Nu(n){return typeof n=="object"&&n!==null&&typeof n.name=="string"&&typeof n.type=="string"&&typeof n.path=="string"}function kn(n){return typeof n=="object"&&n!==null&&ae(n.container)&&Ge(n.reference)&&typeof n.message=="string"}class mo{constructor(){this.subtypes={},this.allSubtypes={}}isInstance(e,t){return ae(e)&&this.isSubtype(e.$type,t)}isSubtype(e,t){if(e===t)return!0;let r=this.subtypes[e];r||(r=this.subtypes[e]={});const i=r[t];if(i!==void 0)return i;{const s=this.computeIsSubtype(e,t);return r[t]=s,s}}getAllSubTypes(e){const t=this.allSubtypes[e];if(t)return t;{const r=this.getAllTypes(),i=[];for(const s of r)this.isSubtype(s,e)&&i.push(s);return this.allSubtypes[e]=i,i}}}function Gt(n){return typeof n=="object"&&n!==null&&Array.isArray(n.content)}function go(n){return typeof n=="object"&&n!==null&&typeof n.tokenType=="object"}function yo(n){return Gt(n)&&typeof n.fullText=="string"}class ie{constructor(e,t){this.startFn=e,this.nextFn=t}iterator(){const e={state:this.startFn(),next:()=>this.nextFn(e.state),[Symbol.iterator]:()=>e};return e}[Symbol.iterator](){return this.iterator()}isEmpty(){return!!this.iterator().next().done}count(){const e=this.iterator();let t=0,r=e.next();for(;!r.done;)t++,r=e.next();return t}toArray(){const e=[],t=this.iterator();let r;do r=t.next(),r.value!==void 0&&e.push(r.value);while(!r.done);return e}toSet(){return new Set(this)}toMap(e,t){const r=this.map(i=>[e?e(i):i,t?t(i):i]);return new Map(r)}toString(){return this.join()}concat(e){const t=e[Symbol.iterator]();return new ie(()=>({first:this.startFn(),firstDone:!1}),r=>{let i;if(!r.firstDone){do if(i=this.nextFn(r.first),!i.done)return i;while(!i.done);r.firstDone=!0}do if(i=t.next(),!i.done)return i;while(!i.done);return ke})}join(e=","){const t=this.iterator();let r="",i,s=!1;do i=t.next(),i.done||(s&&(r+=e),r+=ku(i.value)),s=!0;while(!i.done);return r}indexOf(e,t=0){const r=this.iterator();let i=0,s=r.next();for(;!s.done;){if(i>=t&&s.value===e)return i;s=r.next(),i++}return-1}every(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(!e(r.value))return!1;r=t.next()}return!0}some(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(e(r.value))return!0;r=t.next()}return!1}forEach(e){const t=this.iterator();let r=0,i=t.next();for(;!i.done;)e(i.value,r),i=t.next(),r++}map(e){return new ie(this.startFn,t=>{const{done:r,value:i}=this.nextFn(t);return r?ke:{done:!1,value:e(i)}})}filter(e){return new ie(this.startFn,t=>{let r;do if(r=this.nextFn(t),!r.done&&e(r.value))return r;while(!r.done);return ke})}nonNullable(){return this.filter(e=>e!=null)}reduce(e,t){const r=this.iterator();let i=t,s=r.next();for(;!s.done;)i===void 0?i=s.value:i=e(i,s.value),s=r.next();return i}reduceRight(e,t){return this.recursiveReduce(this.iterator(),e,t)}recursiveReduce(e,t,r){const i=e.next();if(i.done)return r;const s=this.recursiveReduce(e,t,r);return s===void 0?i.value:t(s,i.value)}find(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(e(r.value))return r.value;r=t.next()}}findIndex(e){const t=this.iterator();let r=0,i=t.next();for(;!i.done;){if(e(i.value))return r;i=t.next(),r++}return-1}includes(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(r.value===e)return!0;r=t.next()}return!1}flatMap(e){return new ie(()=>({this:this.startFn()}),t=>{do{if(t.iterator){const s=t.iterator.next();if(s.done)t.iterator=void 0;else return s}const{done:r,value:i}=this.nextFn(t.this);if(!r){const s=e(i);if(On(s))t.iterator=s[Symbol.iterator]();else return{done:!1,value:s}}}while(t.iterator);return ke})}flat(e){if(e===void 0&&(e=1),e<=0)return this;const t=e>1?this.flat(e-1):this;return new ie(()=>({this:t.startFn()}),r=>{do{if(r.iterator){const a=r.iterator.next();if(a.done)r.iterator=void 0;else return a}const{done:i,value:s}=t.nextFn(r.this);if(!i)if(On(s))r.iterator=s[Symbol.iterator]();else return{done:!1,value:s}}while(r.iterator);return ke})}head(){const t=this.iterator().next();if(!t.done)return t.value}tail(e=1){return new ie(()=>{const t=this.startFn();for(let r=0;r({size:0,state:this.startFn()}),t=>(t.size++,t.size>e?ke:this.nextFn(t.state)))}distinct(e){const t=new Set;return this.filter(r=>{const i=e?e(r):r;return t.has(i)?!1:(t.add(i),!0)})}exclude(e,t){const r=new Set;for(const i of e){const s=t?t(i):i;r.add(s)}return this.filter(i=>{const s=t?t(i):i;return!r.has(s)})}}function ku(n){return typeof n=="string"?n:typeof n>"u"?"undefined":typeof n.toString=="function"?n.toString():Object.prototype.toString.call(n)}function On(n){return!!n&&typeof n[Symbol.iterator]=="function"}const Iu=new ie(()=>{},()=>ke),ke=Object.freeze({done:!0,value:void 0});function Q(...n){if(n.length===1){const e=n[0];if(e instanceof ie)return e;if(On(e))return new ie(()=>e[Symbol.iterator](),t=>t.next());if(typeof e.length=="number")return new ie(()=>({index:0}),t=>t.index1?new ie(()=>({collIndex:0,arrIndex:0}),e=>{do{if(e.iterator){const t=e.iterator.next();if(!t.done)return t;e.iterator=void 0}if(e.array){if(e.arrIndex({iterators:r!=null&&r.includeRoot?[[e][Symbol.iterator]()]:[t(e)[Symbol.iterator]()],pruned:!1}),i=>{for(i.pruned&&(i.iterators.pop(),i.pruned=!1);i.iterators.length>0;){const a=i.iterators[i.iterators.length-1].next();if(a.done)i.iterators.pop();else return i.iterators.push(t(a.value)[Symbol.iterator]()),a}return ke})}iterator(){const e={state:this.startFn(),next:()=>this.nextFn(e.state),prune:()=>{e.state.pruned=!0},[Symbol.iterator]:()=>e};return e}}var Pr;(function(n){function e(s){return s.reduce((a,o)=>a+o,0)}n.sum=e;function t(s){return s.reduce((a,o)=>a*o,0)}n.product=t;function r(s){return s.reduce((a,o)=>Math.min(a,o))}n.min=r;function i(s){return s.reduce((a,o)=>Math.max(a,o))}n.max=i})(Pr||(Pr={}));function Mr(n){return new Ai(n,e=>Gt(e)?e.content:[],{includeRoot:!0})}function Su(n,e){for(;n.container;)if(n=n.container,n===e)return!0;return!1}function Dr(n){return{start:{character:n.startColumn-1,line:n.startLine-1},end:{character:n.endColumn,line:n.endLine-1}}}function Ln(n){if(!n)return;const{offset:e,end:t,range:r}=n;return{range:r,offset:e,end:t,length:t-e}}var Ze;(function(n){n[n.Before=0]="Before",n[n.After=1]="After",n[n.OverlapFront=2]="OverlapFront",n[n.OverlapBack=3]="OverlapBack",n[n.Inside=4]="Inside"})(Ze||(Ze={}));function xu(n,e){if(n.end.linee.end.line||n.start.line===e.end.line&&n.start.character>e.end.character)return Ze.After;const t=n.start.line>e.start.line||n.start.line===e.start.line&&n.start.character>=e.start.character,r=n.end.lineZe.After}const wu=/^[\w\p{L}]$/u;function Ou(n,e){if(n){const t=Lu(n,!0);if(t&&rs(t,e))return t;if(yo(n)){const r=n.content.findIndex(i=>!i.hidden);for(let i=r-1;i>=0;i--){const s=n.content[i];if(rs(s,e))return s}}}}function rs(n,e){return go(n)&&e.includes(n.tokenType.name)}function Lu(n,e=!0){for(;n.container;){const t=n.container;let r=t.content.indexOf(n);for(;r>0;){r--;const i=t.content[r];if(e||!i.hidden)return i}n=t}}class To extends Error{constructor(e,t){super(e?`${t} at ${e.range.start.line}:${e.range.start.character}`:t)}}function ir(n){throw new Error("Error! The input value was not handled.")}const _r="AbstractRule",Er="AbstractType",is="Condition",$u="TypeDefinition",ss="ValueLiteral",vo="AbstractElement";function Pu(n){return M.isInstance(n,vo)}const Mu="ArrayLiteral",Du="ArrayType",_o="BooleanLiteral";function ju(n){return M.isInstance(n,_o)}const Eo="Conjunction";function Gu(n){return M.isInstance(n,Eo)}const Ro="Disjunction";function Uu(n){return M.isInstance(n,Ro)}const Fu="Grammar",Ao="InferredType";function bo(n){return M.isInstance(n,Ao)}const No="Interface";function ko(n){return M.isInstance(n,No)}const Io="Negation";function Bu(n){return M.isInstance(n,Io)}const Hu="NumberLiteral",Vu="Parameter",So="ParameterReference";function Wu(n){return M.isInstance(n,So)}const xo="ParserRule";function Se(n){return M.isInstance(n,xo)}const Ku="ReferenceType",zu="ReturnType";function qu(n){return M.isInstance(n,zu)}const Co="SimpleType";function Yu(n){return M.isInstance(n,Co)}const Xu="StringLiteral",jr="TerminalRule";function gt(n){return M.isInstance(n,jr)}const wo="Type";function Oo(n){return M.isInstance(n,wo)}const Ju="UnionType",Lo="Action";function sr(n){return M.isInstance(n,Lo)}const $o="Alternatives";function Po(n){return M.isInstance(n,$o)}const Mo="Assignment";function ut(n){return M.isInstance(n,Mo)}const Do="CharacterRange";function Qu(n){return M.isInstance(n,Do)}const jo="CrossReference";function bi(n){return M.isInstance(n,jo)}const Go="EndOfFile";function Zu(n){return M.isInstance(n,Go)}const Uo="Group";function Ni(n){return M.isInstance(n,Uo)}const Fo="Keyword";function dt(n){return M.isInstance(n,Fo)}const Bo="NegatedToken";function ed(n){return M.isInstance(n,Bo)}const Ho="RegexToken";function td(n){return M.isInstance(n,Ho)}const Vo="RuleCall";function ft(n){return M.isInstance(n,Vo)}const Wo="TerminalAlternatives";function nd(n){return M.isInstance(n,Wo)}const Ko="TerminalGroup";function rd(n){return M.isInstance(n,Ko)}const zo="TerminalRuleCall";function id(n){return M.isInstance(n,zo)}const qo="UnorderedGroup";function Yo(n){return M.isInstance(n,qo)}const Xo="UntilToken";function sd(n){return M.isInstance(n,Xo)}const Jo="Wildcard";function ad(n){return M.isInstance(n,Jo)}class Qo extends mo{getAllTypes(){return["AbstractElement","AbstractRule","AbstractType","Action","Alternatives","ArrayLiteral","ArrayType","Assignment","BooleanLiteral","CharacterRange","Condition","Conjunction","CrossReference","Disjunction","EndOfFile","Grammar","GrammarImport","Group","InferredType","Interface","Keyword","NamedArgument","NegatedToken","Negation","NumberLiteral","Parameter","ParameterReference","ParserRule","ReferenceType","RegexToken","ReturnType","RuleCall","SimpleType","StringLiteral","TerminalAlternatives","TerminalGroup","TerminalRule","TerminalRuleCall","Type","TypeAttribute","TypeDefinition","UnionType","UnorderedGroup","UntilToken","ValueLiteral","Wildcard"]}computeIsSubtype(e,t){switch(e){case Lo:case $o:case Mo:case Do:case jo:case Go:case Uo:case Fo:case Bo:case Ho:case Vo:case Wo:case Ko:case zo:case qo:case Xo:case Jo:return this.isSubtype(vo,t);case Mu:case Hu:case Xu:return this.isSubtype(ss,t);case Du:case Ku:case Co:case Ju:return this.isSubtype($u,t);case _o:return this.isSubtype(is,t)||this.isSubtype(ss,t);case Eo:case Ro:case Io:case So:return this.isSubtype(is,t);case Ao:case No:case wo:return this.isSubtype(Er,t);case xo:return this.isSubtype(_r,t)||this.isSubtype(Er,t);case jr:return this.isSubtype(_r,t);default:return!1}}getReferenceType(e){const t=`${e.container.$type}:${e.property}`;switch(t){case"Action:type":case"CrossReference:type":case"Interface:superTypes":case"ParserRule:returnType":case"SimpleType:typeRef":return Er;case"Grammar:hiddenTokens":case"ParserRule:hiddenTokens":case"RuleCall:rule":return _r;case"Grammar:usedGrammars":return Fu;case"NamedArgument:parameter":case"ParameterReference:parameter":return Vu;case"TerminalRuleCall:rule":return jr;default:throw new Error(`${t} is not a valid reference id.`)}}getTypeMetaData(e){switch(e){case"AbstractElement":return{name:"AbstractElement",properties:[{name:"cardinality"},{name:"lookahead"}]};case"ArrayLiteral":return{name:"ArrayLiteral",properties:[{name:"elements",defaultValue:[]}]};case"ArrayType":return{name:"ArrayType",properties:[{name:"elementType"}]};case"BooleanLiteral":return{name:"BooleanLiteral",properties:[{name:"true",defaultValue:!1}]};case"Conjunction":return{name:"Conjunction",properties:[{name:"left"},{name:"right"}]};case"Disjunction":return{name:"Disjunction",properties:[{name:"left"},{name:"right"}]};case"Grammar":return{name:"Grammar",properties:[{name:"definesHiddenTokens",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"imports",defaultValue:[]},{name:"interfaces",defaultValue:[]},{name:"isDeclared",defaultValue:!1},{name:"name"},{name:"rules",defaultValue:[]},{name:"types",defaultValue:[]},{name:"usedGrammars",defaultValue:[]}]};case"GrammarImport":return{name:"GrammarImport",properties:[{name:"path"}]};case"InferredType":return{name:"InferredType",properties:[{name:"name"}]};case"Interface":return{name:"Interface",properties:[{name:"attributes",defaultValue:[]},{name:"name"},{name:"superTypes",defaultValue:[]}]};case"NamedArgument":return{name:"NamedArgument",properties:[{name:"calledByName",defaultValue:!1},{name:"parameter"},{name:"value"}]};case"Negation":return{name:"Negation",properties:[{name:"value"}]};case"NumberLiteral":return{name:"NumberLiteral",properties:[{name:"value"}]};case"Parameter":return{name:"Parameter",properties:[{name:"name"}]};case"ParameterReference":return{name:"ParameterReference",properties:[{name:"parameter"}]};case"ParserRule":return{name:"ParserRule",properties:[{name:"dataType"},{name:"definesHiddenTokens",defaultValue:!1},{name:"definition"},{name:"entry",defaultValue:!1},{name:"fragment",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"inferredType"},{name:"name"},{name:"parameters",defaultValue:[]},{name:"returnType"},{name:"wildcard",defaultValue:!1}]};case"ReferenceType":return{name:"ReferenceType",properties:[{name:"referenceType"}]};case"ReturnType":return{name:"ReturnType",properties:[{name:"name"}]};case"SimpleType":return{name:"SimpleType",properties:[{name:"primitiveType"},{name:"stringType"},{name:"typeRef"}]};case"StringLiteral":return{name:"StringLiteral",properties:[{name:"value"}]};case"TerminalRule":return{name:"TerminalRule",properties:[{name:"definition"},{name:"fragment",defaultValue:!1},{name:"hidden",defaultValue:!1},{name:"name"},{name:"type"}]};case"Type":return{name:"Type",properties:[{name:"name"},{name:"type"}]};case"TypeAttribute":return{name:"TypeAttribute",properties:[{name:"defaultValue"},{name:"isOptional",defaultValue:!1},{name:"name"},{name:"type"}]};case"UnionType":return{name:"UnionType",properties:[{name:"types",defaultValue:[]}]};case"Action":return{name:"Action",properties:[{name:"cardinality"},{name:"feature"},{name:"inferredType"},{name:"lookahead"},{name:"operator"},{name:"type"}]};case"Alternatives":return{name:"Alternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"Assignment":return{name:"Assignment",properties:[{name:"cardinality"},{name:"feature"},{name:"lookahead"},{name:"operator"},{name:"terminal"}]};case"CharacterRange":return{name:"CharacterRange",properties:[{name:"cardinality"},{name:"left"},{name:"lookahead"},{name:"right"}]};case"CrossReference":return{name:"CrossReference",properties:[{name:"cardinality"},{name:"deprecatedSyntax",defaultValue:!1},{name:"lookahead"},{name:"terminal"},{name:"type"}]};case"EndOfFile":return{name:"EndOfFile",properties:[{name:"cardinality"},{name:"lookahead"}]};case"Group":return{name:"Group",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"guardCondition"},{name:"lookahead"}]};case"Keyword":return{name:"Keyword",properties:[{name:"cardinality"},{name:"lookahead"},{name:"value"}]};case"NegatedToken":return{name:"NegatedToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"RegexToken":return{name:"RegexToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"regex"}]};case"RuleCall":return{name:"RuleCall",properties:[{name:"arguments",defaultValue:[]},{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"TerminalAlternatives":return{name:"TerminalAlternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalGroup":return{name:"TerminalGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalRuleCall":return{name:"TerminalRuleCall",properties:[{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"UnorderedGroup":return{name:"UnorderedGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"UntilToken":return{name:"UntilToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"Wildcard":return{name:"Wildcard",properties:[{name:"cardinality"},{name:"lookahead"}]};default:return{name:e,properties:[]}}}}const M=new Qo;function od(n){for(const[e,t]of Object.entries(n))e.startsWith("$")||(Array.isArray(t)?t.forEach((r,i)=>{ae(r)&&(r.$container=n,r.$containerProperty=e,r.$containerIndex=i)}):ae(t)&&(t.$container=n,t.$containerProperty=e))}function ar(n,e){let t=n;for(;t;){if(e(t))return t;t=t.$container}}function Ue(n){const t=ld(n).$document;if(!t)throw new Error("AST node has no document.");return t}function ld(n){for(;n.$container;)n=n.$container;return n}function ki(n,e){if(!n)throw new Error("Node must be an AstNode.");const t=e==null?void 0:e.range;return new ie(()=>({keys:Object.keys(n),keyIndex:0,arrayIndex:0}),r=>{for(;r.keyIndexki(t,e))}function Et(n,e){if(!n)throw new Error("Root node must be an AstNode.");return new Ai(n,t=>ki(t,e),{includeRoot:!0})}function as(n,e){var t;if(!e)return!0;const r=(t=n.$cstNode)===null||t===void 0?void 0:t.range;return r?Cu(r,e):!1}function Zo(n){return new ie(()=>({keys:Object.keys(n),keyIndex:0,arrayIndex:0}),e=>{for(;e.keyIndexe in n?Gc(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Je=(n,e,t)=>Uc(n,typeof e!="symbol"?e+"":e,t);import{bz as Fc,bA as Bc,aQ as ao,bj as Hc,aU as Vc,aR as Z,aA as Wc,aB as Qi,b9 as Kc,bc as oo,bd as lo,bo as Zi,ba as zc,aD as mt,aE as D,aS as es,aM as qc,bB as tn}from"./index-BxMsVRSP.js";import{k as Mt,j as vi,g as Kt,S as Yc,w as Xc,x as Jc,c as co,v as K,y as uo,l as Qc,z as Zc,A as eu,B as tu,C as nu,a as fo,d as S,i as ze,r as oe,f as Ee,D as q}from"./_baseUniq-QkQtF8Yx.js";import{j as _i,m as b,d as ru,f as Ie,g as Dt,i as Ei,h as x,l as jt,e as iu}from"./_basePickBy-DAcC5mcM.js";import{c as te}from"./clone-BKg_06cU.js";var su=Object.prototype,au=su.hasOwnProperty,_e=Fc(function(n,e){if(Bc(e)||ao(e)){Hc(e,Mt(e),n);return}for(var t in e)au.call(e,t)&&Vc(n,t,e[t])});function ho(n,e,t){var r=-1,i=n.length;e<0&&(e=-e>i?0:i+e),t=t>i?i:t,t<0&&(t+=i),i=e>t?0:t-e>>>0,e>>>=0;for(var s=Array(i);++r=uu&&(s=Jc,a=!1,e=new Yc(e));e:for(;++i-1:!!i&&uo(n,e,t)>-1}function ts(n,e,t){var r=n==null?0:n.length;if(!r)return-1;var i=0;return uo(n,e,i)}var vu="[object RegExp]";function _u(n){return oo(n)&&lo(n)==vu}var ns=Zi&&Zi.isRegExp,qe=ns?zc(ns):_u,Eu="Expected a function";function Ru(n){if(typeof n!="function")throw new TypeError(Eu);return function(){var e=arguments;switch(e.length){case 0:return!n.call(this);case 1:return!n.call(this,e[0]);case 2:return!n.call(this,e[0],e[1]);case 3:return!n.call(this,e[0],e[1],e[2])}return!n.apply(this,e)}}function Pe(n,e){if(n==null)return{};var t=Qc(Zc(n),function(r){return[r]});return e=Kt(e),ru(n,t,function(r,i){return e(r,i[0])})}function rr(n,e){var t=Z(n)?eu:tu;return t(n,Ru(Kt(e)))}function Au(n,e){var t;return vi(n,function(r,i,s){return t=e(r,i,s),!t}),!!t}function po(n,e,t){var r=Z(n)?nu:Au;return r(n,Kt(e))}function Ri(n){return n&&n.length?fo(n):[]}function bu(n,e){return n&&n.length?fo(n,Kt(e)):[]}function ae(n){return typeof n=="object"&&n!==null&&typeof n.$type=="string"}function Ge(n){return typeof n=="object"&&n!==null&&typeof n.$refText=="string"}function Nu(n){return typeof n=="object"&&n!==null&&typeof n.name=="string"&&typeof n.type=="string"&&typeof n.path=="string"}function kn(n){return typeof n=="object"&&n!==null&&ae(n.container)&&Ge(n.reference)&&typeof n.message=="string"}class mo{constructor(){this.subtypes={},this.allSubtypes={}}isInstance(e,t){return ae(e)&&this.isSubtype(e.$type,t)}isSubtype(e,t){if(e===t)return!0;let r=this.subtypes[e];r||(r=this.subtypes[e]={});const i=r[t];if(i!==void 0)return i;{const s=this.computeIsSubtype(e,t);return r[t]=s,s}}getAllSubTypes(e){const t=this.allSubtypes[e];if(t)return t;{const r=this.getAllTypes(),i=[];for(const s of r)this.isSubtype(s,e)&&i.push(s);return this.allSubtypes[e]=i,i}}}function Gt(n){return typeof n=="object"&&n!==null&&Array.isArray(n.content)}function go(n){return typeof n=="object"&&n!==null&&typeof n.tokenType=="object"}function yo(n){return Gt(n)&&typeof n.fullText=="string"}class ie{constructor(e,t){this.startFn=e,this.nextFn=t}iterator(){const e={state:this.startFn(),next:()=>this.nextFn(e.state),[Symbol.iterator]:()=>e};return e}[Symbol.iterator](){return this.iterator()}isEmpty(){return!!this.iterator().next().done}count(){const e=this.iterator();let t=0,r=e.next();for(;!r.done;)t++,r=e.next();return t}toArray(){const e=[],t=this.iterator();let r;do r=t.next(),r.value!==void 0&&e.push(r.value);while(!r.done);return e}toSet(){return new Set(this)}toMap(e,t){const r=this.map(i=>[e?e(i):i,t?t(i):i]);return new Map(r)}toString(){return this.join()}concat(e){const t=e[Symbol.iterator]();return new ie(()=>({first:this.startFn(),firstDone:!1}),r=>{let i;if(!r.firstDone){do if(i=this.nextFn(r.first),!i.done)return i;while(!i.done);r.firstDone=!0}do if(i=t.next(),!i.done)return i;while(!i.done);return ke})}join(e=","){const t=this.iterator();let r="",i,s=!1;do i=t.next(),i.done||(s&&(r+=e),r+=ku(i.value)),s=!0;while(!i.done);return r}indexOf(e,t=0){const r=this.iterator();let i=0,s=r.next();for(;!s.done;){if(i>=t&&s.value===e)return i;s=r.next(),i++}return-1}every(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(!e(r.value))return!1;r=t.next()}return!0}some(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(e(r.value))return!0;r=t.next()}return!1}forEach(e){const t=this.iterator();let r=0,i=t.next();for(;!i.done;)e(i.value,r),i=t.next(),r++}map(e){return new ie(this.startFn,t=>{const{done:r,value:i}=this.nextFn(t);return r?ke:{done:!1,value:e(i)}})}filter(e){return new ie(this.startFn,t=>{let r;do if(r=this.nextFn(t),!r.done&&e(r.value))return r;while(!r.done);return ke})}nonNullable(){return this.filter(e=>e!=null)}reduce(e,t){const r=this.iterator();let i=t,s=r.next();for(;!s.done;)i===void 0?i=s.value:i=e(i,s.value),s=r.next();return i}reduceRight(e,t){return this.recursiveReduce(this.iterator(),e,t)}recursiveReduce(e,t,r){const i=e.next();if(i.done)return r;const s=this.recursiveReduce(e,t,r);return s===void 0?i.value:t(s,i.value)}find(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(e(r.value))return r.value;r=t.next()}}findIndex(e){const t=this.iterator();let r=0,i=t.next();for(;!i.done;){if(e(i.value))return r;i=t.next(),r++}return-1}includes(e){const t=this.iterator();let r=t.next();for(;!r.done;){if(r.value===e)return!0;r=t.next()}return!1}flatMap(e){return new ie(()=>({this:this.startFn()}),t=>{do{if(t.iterator){const s=t.iterator.next();if(s.done)t.iterator=void 0;else return s}const{done:r,value:i}=this.nextFn(t.this);if(!r){const s=e(i);if(On(s))t.iterator=s[Symbol.iterator]();else return{done:!1,value:s}}}while(t.iterator);return ke})}flat(e){if(e===void 0&&(e=1),e<=0)return this;const t=e>1?this.flat(e-1):this;return new ie(()=>({this:t.startFn()}),r=>{do{if(r.iterator){const a=r.iterator.next();if(a.done)r.iterator=void 0;else return a}const{done:i,value:s}=t.nextFn(r.this);if(!i)if(On(s))r.iterator=s[Symbol.iterator]();else return{done:!1,value:s}}while(r.iterator);return ke})}head(){const t=this.iterator().next();if(!t.done)return t.value}tail(e=1){return new ie(()=>{const t=this.startFn();for(let r=0;r({size:0,state:this.startFn()}),t=>(t.size++,t.size>e?ke:this.nextFn(t.state)))}distinct(e){const t=new Set;return this.filter(r=>{const i=e?e(r):r;return t.has(i)?!1:(t.add(i),!0)})}exclude(e,t){const r=new Set;for(const i of e){const s=t?t(i):i;r.add(s)}return this.filter(i=>{const s=t?t(i):i;return!r.has(s)})}}function ku(n){return typeof n=="string"?n:typeof n>"u"?"undefined":typeof n.toString=="function"?n.toString():Object.prototype.toString.call(n)}function On(n){return!!n&&typeof n[Symbol.iterator]=="function"}const Iu=new ie(()=>{},()=>ke),ke=Object.freeze({done:!0,value:void 0});function Q(...n){if(n.length===1){const e=n[0];if(e instanceof ie)return e;if(On(e))return new ie(()=>e[Symbol.iterator](),t=>t.next());if(typeof e.length=="number")return new ie(()=>({index:0}),t=>t.index1?new ie(()=>({collIndex:0,arrIndex:0}),e=>{do{if(e.iterator){const t=e.iterator.next();if(!t.done)return t;e.iterator=void 0}if(e.array){if(e.arrIndex({iterators:r!=null&&r.includeRoot?[[e][Symbol.iterator]()]:[t(e)[Symbol.iterator]()],pruned:!1}),i=>{for(i.pruned&&(i.iterators.pop(),i.pruned=!1);i.iterators.length>0;){const a=i.iterators[i.iterators.length-1].next();if(a.done)i.iterators.pop();else return i.iterators.push(t(a.value)[Symbol.iterator]()),a}return ke})}iterator(){const e={state:this.startFn(),next:()=>this.nextFn(e.state),prune:()=>{e.state.pruned=!0},[Symbol.iterator]:()=>e};return e}}var Pr;(function(n){function e(s){return s.reduce((a,o)=>a+o,0)}n.sum=e;function t(s){return s.reduce((a,o)=>a*o,0)}n.product=t;function r(s){return s.reduce((a,o)=>Math.min(a,o))}n.min=r;function i(s){return s.reduce((a,o)=>Math.max(a,o))}n.max=i})(Pr||(Pr={}));function Mr(n){return new Ai(n,e=>Gt(e)?e.content:[],{includeRoot:!0})}function Su(n,e){for(;n.container;)if(n=n.container,n===e)return!0;return!1}function Dr(n){return{start:{character:n.startColumn-1,line:n.startLine-1},end:{character:n.endColumn,line:n.endLine-1}}}function Ln(n){if(!n)return;const{offset:e,end:t,range:r}=n;return{range:r,offset:e,end:t,length:t-e}}var Ze;(function(n){n[n.Before=0]="Before",n[n.After=1]="After",n[n.OverlapFront=2]="OverlapFront",n[n.OverlapBack=3]="OverlapBack",n[n.Inside=4]="Inside"})(Ze||(Ze={}));function xu(n,e){if(n.end.linee.end.line||n.start.line===e.end.line&&n.start.character>e.end.character)return Ze.After;const t=n.start.line>e.start.line||n.start.line===e.start.line&&n.start.character>=e.start.character,r=n.end.lineZe.After}const wu=/^[\w\p{L}]$/u;function Ou(n,e){if(n){const t=Lu(n,!0);if(t&&rs(t,e))return t;if(yo(n)){const r=n.content.findIndex(i=>!i.hidden);for(let i=r-1;i>=0;i--){const s=n.content[i];if(rs(s,e))return s}}}}function rs(n,e){return go(n)&&e.includes(n.tokenType.name)}function Lu(n,e=!0){for(;n.container;){const t=n.container;let r=t.content.indexOf(n);for(;r>0;){r--;const i=t.content[r];if(e||!i.hidden)return i}n=t}}class To extends Error{constructor(e,t){super(e?`${t} at ${e.range.start.line}:${e.range.start.character}`:t)}}function ir(n){throw new Error("Error! The input value was not handled.")}const _r="AbstractRule",Er="AbstractType",is="Condition",$u="TypeDefinition",ss="ValueLiteral",vo="AbstractElement";function Pu(n){return M.isInstance(n,vo)}const Mu="ArrayLiteral",Du="ArrayType",_o="BooleanLiteral";function ju(n){return M.isInstance(n,_o)}const Eo="Conjunction";function Gu(n){return M.isInstance(n,Eo)}const Ro="Disjunction";function Uu(n){return M.isInstance(n,Ro)}const Fu="Grammar",Ao="InferredType";function bo(n){return M.isInstance(n,Ao)}const No="Interface";function ko(n){return M.isInstance(n,No)}const Io="Negation";function Bu(n){return M.isInstance(n,Io)}const Hu="NumberLiteral",Vu="Parameter",So="ParameterReference";function Wu(n){return M.isInstance(n,So)}const xo="ParserRule";function Se(n){return M.isInstance(n,xo)}const Ku="ReferenceType",zu="ReturnType";function qu(n){return M.isInstance(n,zu)}const Co="SimpleType";function Yu(n){return M.isInstance(n,Co)}const Xu="StringLiteral",jr="TerminalRule";function gt(n){return M.isInstance(n,jr)}const wo="Type";function Oo(n){return M.isInstance(n,wo)}const Ju="UnionType",Lo="Action";function sr(n){return M.isInstance(n,Lo)}const $o="Alternatives";function Po(n){return M.isInstance(n,$o)}const Mo="Assignment";function ut(n){return M.isInstance(n,Mo)}const Do="CharacterRange";function Qu(n){return M.isInstance(n,Do)}const jo="CrossReference";function bi(n){return M.isInstance(n,jo)}const Go="EndOfFile";function Zu(n){return M.isInstance(n,Go)}const Uo="Group";function Ni(n){return M.isInstance(n,Uo)}const Fo="Keyword";function dt(n){return M.isInstance(n,Fo)}const Bo="NegatedToken";function ed(n){return M.isInstance(n,Bo)}const Ho="RegexToken";function td(n){return M.isInstance(n,Ho)}const Vo="RuleCall";function ft(n){return M.isInstance(n,Vo)}const Wo="TerminalAlternatives";function nd(n){return M.isInstance(n,Wo)}const Ko="TerminalGroup";function rd(n){return M.isInstance(n,Ko)}const zo="TerminalRuleCall";function id(n){return M.isInstance(n,zo)}const qo="UnorderedGroup";function Yo(n){return M.isInstance(n,qo)}const Xo="UntilToken";function sd(n){return M.isInstance(n,Xo)}const Jo="Wildcard";function ad(n){return M.isInstance(n,Jo)}class Qo extends mo{getAllTypes(){return["AbstractElement","AbstractRule","AbstractType","Action","Alternatives","ArrayLiteral","ArrayType","Assignment","BooleanLiteral","CharacterRange","Condition","Conjunction","CrossReference","Disjunction","EndOfFile","Grammar","GrammarImport","Group","InferredType","Interface","Keyword","NamedArgument","NegatedToken","Negation","NumberLiteral","Parameter","ParameterReference","ParserRule","ReferenceType","RegexToken","ReturnType","RuleCall","SimpleType","StringLiteral","TerminalAlternatives","TerminalGroup","TerminalRule","TerminalRuleCall","Type","TypeAttribute","TypeDefinition","UnionType","UnorderedGroup","UntilToken","ValueLiteral","Wildcard"]}computeIsSubtype(e,t){switch(e){case Lo:case $o:case Mo:case Do:case jo:case Go:case Uo:case Fo:case Bo:case Ho:case Vo:case Wo:case Ko:case zo:case qo:case Xo:case Jo:return this.isSubtype(vo,t);case Mu:case Hu:case Xu:return this.isSubtype(ss,t);case Du:case Ku:case Co:case Ju:return this.isSubtype($u,t);case _o:return this.isSubtype(is,t)||this.isSubtype(ss,t);case Eo:case Ro:case Io:case So:return this.isSubtype(is,t);case Ao:case No:case wo:return this.isSubtype(Er,t);case xo:return this.isSubtype(_r,t)||this.isSubtype(Er,t);case jr:return this.isSubtype(_r,t);default:return!1}}getReferenceType(e){const t=`${e.container.$type}:${e.property}`;switch(t){case"Action:type":case"CrossReference:type":case"Interface:superTypes":case"ParserRule:returnType":case"SimpleType:typeRef":return Er;case"Grammar:hiddenTokens":case"ParserRule:hiddenTokens":case"RuleCall:rule":return _r;case"Grammar:usedGrammars":return Fu;case"NamedArgument:parameter":case"ParameterReference:parameter":return Vu;case"TerminalRuleCall:rule":return jr;default:throw new Error(`${t} is not a valid reference id.`)}}getTypeMetaData(e){switch(e){case"AbstractElement":return{name:"AbstractElement",properties:[{name:"cardinality"},{name:"lookahead"}]};case"ArrayLiteral":return{name:"ArrayLiteral",properties:[{name:"elements",defaultValue:[]}]};case"ArrayType":return{name:"ArrayType",properties:[{name:"elementType"}]};case"BooleanLiteral":return{name:"BooleanLiteral",properties:[{name:"true",defaultValue:!1}]};case"Conjunction":return{name:"Conjunction",properties:[{name:"left"},{name:"right"}]};case"Disjunction":return{name:"Disjunction",properties:[{name:"left"},{name:"right"}]};case"Grammar":return{name:"Grammar",properties:[{name:"definesHiddenTokens",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"imports",defaultValue:[]},{name:"interfaces",defaultValue:[]},{name:"isDeclared",defaultValue:!1},{name:"name"},{name:"rules",defaultValue:[]},{name:"types",defaultValue:[]},{name:"usedGrammars",defaultValue:[]}]};case"GrammarImport":return{name:"GrammarImport",properties:[{name:"path"}]};case"InferredType":return{name:"InferredType",properties:[{name:"name"}]};case"Interface":return{name:"Interface",properties:[{name:"attributes",defaultValue:[]},{name:"name"},{name:"superTypes",defaultValue:[]}]};case"NamedArgument":return{name:"NamedArgument",properties:[{name:"calledByName",defaultValue:!1},{name:"parameter"},{name:"value"}]};case"Negation":return{name:"Negation",properties:[{name:"value"}]};case"NumberLiteral":return{name:"NumberLiteral",properties:[{name:"value"}]};case"Parameter":return{name:"Parameter",properties:[{name:"name"}]};case"ParameterReference":return{name:"ParameterReference",properties:[{name:"parameter"}]};case"ParserRule":return{name:"ParserRule",properties:[{name:"dataType"},{name:"definesHiddenTokens",defaultValue:!1},{name:"definition"},{name:"entry",defaultValue:!1},{name:"fragment",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"inferredType"},{name:"name"},{name:"parameters",defaultValue:[]},{name:"returnType"},{name:"wildcard",defaultValue:!1}]};case"ReferenceType":return{name:"ReferenceType",properties:[{name:"referenceType"}]};case"ReturnType":return{name:"ReturnType",properties:[{name:"name"}]};case"SimpleType":return{name:"SimpleType",properties:[{name:"primitiveType"},{name:"stringType"},{name:"typeRef"}]};case"StringLiteral":return{name:"StringLiteral",properties:[{name:"value"}]};case"TerminalRule":return{name:"TerminalRule",properties:[{name:"definition"},{name:"fragment",defaultValue:!1},{name:"hidden",defaultValue:!1},{name:"name"},{name:"type"}]};case"Type":return{name:"Type",properties:[{name:"name"},{name:"type"}]};case"TypeAttribute":return{name:"TypeAttribute",properties:[{name:"defaultValue"},{name:"isOptional",defaultValue:!1},{name:"name"},{name:"type"}]};case"UnionType":return{name:"UnionType",properties:[{name:"types",defaultValue:[]}]};case"Action":return{name:"Action",properties:[{name:"cardinality"},{name:"feature"},{name:"inferredType"},{name:"lookahead"},{name:"operator"},{name:"type"}]};case"Alternatives":return{name:"Alternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"Assignment":return{name:"Assignment",properties:[{name:"cardinality"},{name:"feature"},{name:"lookahead"},{name:"operator"},{name:"terminal"}]};case"CharacterRange":return{name:"CharacterRange",properties:[{name:"cardinality"},{name:"left"},{name:"lookahead"},{name:"right"}]};case"CrossReference":return{name:"CrossReference",properties:[{name:"cardinality"},{name:"deprecatedSyntax",defaultValue:!1},{name:"lookahead"},{name:"terminal"},{name:"type"}]};case"EndOfFile":return{name:"EndOfFile",properties:[{name:"cardinality"},{name:"lookahead"}]};case"Group":return{name:"Group",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"guardCondition"},{name:"lookahead"}]};case"Keyword":return{name:"Keyword",properties:[{name:"cardinality"},{name:"lookahead"},{name:"value"}]};case"NegatedToken":return{name:"NegatedToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"RegexToken":return{name:"RegexToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"regex"}]};case"RuleCall":return{name:"RuleCall",properties:[{name:"arguments",defaultValue:[]},{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"TerminalAlternatives":return{name:"TerminalAlternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalGroup":return{name:"TerminalGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalRuleCall":return{name:"TerminalRuleCall",properties:[{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"UnorderedGroup":return{name:"UnorderedGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"UntilToken":return{name:"UntilToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"Wildcard":return{name:"Wildcard",properties:[{name:"cardinality"},{name:"lookahead"}]};default:return{name:e,properties:[]}}}}const M=new Qo;function od(n){for(const[e,t]of Object.entries(n))e.startsWith("$")||(Array.isArray(t)?t.forEach((r,i)=>{ae(r)&&(r.$container=n,r.$containerProperty=e,r.$containerIndex=i)}):ae(t)&&(t.$container=n,t.$containerProperty=e))}function ar(n,e){let t=n;for(;t;){if(e(t))return t;t=t.$container}}function Ue(n){const t=ld(n).$document;if(!t)throw new Error("AST node has no document.");return t}function ld(n){for(;n.$container;)n=n.$container;return n}function ki(n,e){if(!n)throw new Error("Node must be an AstNode.");const t=e==null?void 0:e.range;return new ie(()=>({keys:Object.keys(n),keyIndex:0,arrayIndex:0}),r=>{for(;r.keyIndexki(t,e))}function Et(n,e){if(!n)throw new Error("Root node must be an AstNode.");return new Ai(n,t=>ki(t,e),{includeRoot:!0})}function as(n,e){var t;if(!e)return!0;const r=(t=n.$cstNode)===null||t===void 0?void 0:t.range;return r?Cu(r,e):!1}function Zo(n){return new ie(()=>({keys:Object.keys(n),keyIndex:0,arrayIndex:0}),e=>{for(;e.keyIndexs.state.transitions),i=bu(r.filter(s=>s instanceof Di).map(s=>s.tokenType),s=>s.tokenTypeIdx);return{actualToken:t,possibleTokenTypes:i,tokenPath:n}}function mp(n,e){return n.edges[e.tokenTypeIdx]}function gp(n,e,t){const r=new qr,i=[];for(const a of n.elements){if(t.is(a.alt)===!1)continue;if(a.state.type===vn){i.push(a);continue}const o=a.state.transitions.length;for(let l=0;l0&&!Ep(s))for(const a of i)s.add(a);return s}function yp(n,e){if(n instanceof Di&&Al(e,n.tokenType))return n.target}function Tp(n,e){let t;for(const r of n.elements)if(e.is(r.alt)===!0){if(t===void 0)t=r.alt;else if(t!==r.alt)return}return t}function Jl(n){return{configs:n,edges:{},isAcceptState:!1,prediction:-1}}function Ms(n,e,t,r){return r=Ql(n,r),e.edges[t.tokenTypeIdx]=r,r}function Ql(n,e){if(e===Hn)return e;const t=e.configs.key,r=n.states[t];return r!==void 0?r:(e.configs.finalize(),n.states[t]=e,e)}function vp(n){const e=new qr,t=n.transitions.length;for(let r=0;r0){const i=[...n.stack],a={state:i.pop(),alt:n.alt,stack:i};Vn(a,e)}else e.add(n);return}t.epsilonOnlyTransitions||e.add(n);const r=t.transitions.length;for(let i=0;i1)return!0;return!1}function kp(n){for(const e of Array.from(n.values()))if(Object.keys(e).length===1)return!0;return!1}var Ds;(function(n){function e(t){return typeof t=="string"}n.is=e})(Ds||(Ds={}));var Yr;(function(n){function e(t){return typeof t=="string"}n.is=e})(Yr||(Yr={}));var js;(function(n){n.MIN_VALUE=-2147483648,n.MAX_VALUE=2147483647;function e(t){return typeof t=="number"&&n.MIN_VALUE<=t&&t<=n.MAX_VALUE}n.is=e})(js||(js={}));var Wn;(function(n){n.MIN_VALUE=0,n.MAX_VALUE=2147483647;function e(t){return typeof t=="number"&&n.MIN_VALUE<=t&&t<=n.MAX_VALUE}n.is=e})(Wn||(Wn={}));var P;(function(n){function e(r,i){return r===Number.MAX_VALUE&&(r=Wn.MAX_VALUE),i===Number.MAX_VALUE&&(i=Wn.MAX_VALUE),{line:r,character:i}}n.create=e;function t(r){let i=r;return p.objectLiteral(i)&&p.uinteger(i.line)&&p.uinteger(i.character)}n.is=t})(P||(P={}));var $;(function(n){function e(r,i,s,a){if(p.uinteger(r)&&p.uinteger(i)&&p.uinteger(s)&&p.uinteger(a))return{start:P.create(r,i),end:P.create(s,a)};if(P.is(r)&&P.is(i))return{start:r,end:i};throw new Error(`Range#create called with invalid arguments[${r}, ${i}, ${s}, ${a}]`)}n.create=e;function t(r){let i=r;return p.objectLiteral(i)&&P.is(i.start)&&P.is(i.end)}n.is=t})($||($={}));var Kn;(function(n){function e(r,i){return{uri:r,range:i}}n.create=e;function t(r){let i=r;return p.objectLiteral(i)&&$.is(i.range)&&(p.string(i.uri)||p.undefined(i.uri))}n.is=t})(Kn||(Kn={}));var Gs;(function(n){function e(r,i,s,a){return{targetUri:r,targetRange:i,targetSelectionRange:s,originSelectionRange:a}}n.create=e;function t(r){let i=r;return p.objectLiteral(i)&&$.is(i.targetRange)&&p.string(i.targetUri)&&$.is(i.targetSelectionRange)&&($.is(i.originSelectionRange)||p.undefined(i.originSelectionRange))}n.is=t})(Gs||(Gs={}));var Xr;(function(n){function e(r,i,s,a){return{red:r,green:i,blue:s,alpha:a}}n.create=e;function t(r){const i=r;return p.objectLiteral(i)&&p.numberRange(i.red,0,1)&&p.numberRange(i.green,0,1)&&p.numberRange(i.blue,0,1)&&p.numberRange(i.alpha,0,1)}n.is=t})(Xr||(Xr={}));var Us;(function(n){function e(r,i){return{range:r,color:i}}n.create=e;function t(r){const i=r;return p.objectLiteral(i)&&$.is(i.range)&&Xr.is(i.color)}n.is=t})(Us||(Us={}));var Fs;(function(n){function e(r,i,s){return{label:r,textEdit:i,additionalTextEdits:s}}n.create=e;function t(r){const i=r;return p.objectLiteral(i)&&p.string(i.label)&&(p.undefined(i.textEdit)||Bt.is(i))&&(p.undefined(i.additionalTextEdits)||p.typedArray(i.additionalTextEdits,Bt.is))}n.is=t})(Fs||(Fs={}));var Bs;(function(n){n.Comment="comment",n.Imports="imports",n.Region="region"})(Bs||(Bs={}));var Hs;(function(n){function e(r,i,s,a,o,l){const c={startLine:r,endLine:i};return p.defined(s)&&(c.startCharacter=s),p.defined(a)&&(c.endCharacter=a),p.defined(o)&&(c.kind=o),p.defined(l)&&(c.collapsedText=l),c}n.create=e;function t(r){const i=r;return p.objectLiteral(i)&&p.uinteger(i.startLine)&&p.uinteger(i.startLine)&&(p.undefined(i.startCharacter)||p.uinteger(i.startCharacter))&&(p.undefined(i.endCharacter)||p.uinteger(i.endCharacter))&&(p.undefined(i.kind)||p.string(i.kind))}n.is=t})(Hs||(Hs={}));var Jr;(function(n){function e(r,i){return{location:r,message:i}}n.create=e;function t(r){let i=r;return p.defined(i)&&Kn.is(i.location)&&p.string(i.message)}n.is=t})(Jr||(Jr={}));var Vs;(function(n){n.Error=1,n.Warning=2,n.Information=3,n.Hint=4})(Vs||(Vs={}));var Ws;(function(n){n.Unnecessary=1,n.Deprecated=2})(Ws||(Ws={}));var Ks;(function(n){function e(t){const r=t;return p.objectLiteral(r)&&p.string(r.href)}n.is=e})(Ks||(Ks={}));var zn;(function(n){function e(r,i,s,a,o,l){let c={range:r,message:i};return p.defined(s)&&(c.severity=s),p.defined(a)&&(c.code=a),p.defined(o)&&(c.source=o),p.defined(l)&&(c.relatedInformation=l),c}n.create=e;function t(r){var i;let s=r;return p.defined(s)&&$.is(s.range)&&p.string(s.message)&&(p.number(s.severity)||p.undefined(s.severity))&&(p.integer(s.code)||p.string(s.code)||p.undefined(s.code))&&(p.undefined(s.codeDescription)||p.string((i=s.codeDescription)===null||i===void 0?void 0:i.href))&&(p.string(s.source)||p.undefined(s.source))&&(p.undefined(s.relatedInformation)||p.typedArray(s.relatedInformation,Jr.is))}n.is=t})(zn||(zn={}));var Ft;(function(n){function e(r,i,...s){let a={title:r,command:i};return p.defined(s)&&s.length>0&&(a.arguments=s),a}n.create=e;function t(r){let i=r;return p.defined(i)&&p.string(i.title)&&p.string(i.command)}n.is=t})(Ft||(Ft={}));var Bt;(function(n){function e(s,a){return{range:s,newText:a}}n.replace=e;function t(s,a){return{range:{start:s,end:s},newText:a}}n.insert=t;function r(s){return{range:s,newText:""}}n.del=r;function i(s){const a=s;return p.objectLiteral(a)&&p.string(a.newText)&&$.is(a.range)}n.is=i})(Bt||(Bt={}));var Qr;(function(n){function e(r,i,s){const a={label:r};return i!==void 0&&(a.needsConfirmation=i),s!==void 0&&(a.description=s),a}n.create=e;function t(r){const i=r;return p.objectLiteral(i)&&p.string(i.label)&&(p.boolean(i.needsConfirmation)||i.needsConfirmation===void 0)&&(p.string(i.description)||i.description===void 0)}n.is=t})(Qr||(Qr={}));var Ht;(function(n){function e(t){const r=t;return p.string(r)}n.is=e})(Ht||(Ht={}));var zs;(function(n){function e(s,a,o){return{range:s,newText:a,annotationId:o}}n.replace=e;function t(s,a,o){return{range:{start:s,end:s},newText:a,annotationId:o}}n.insert=t;function r(s,a){return{range:s,newText:"",annotationId:a}}n.del=r;function i(s){const a=s;return Bt.is(a)&&(Qr.is(a.annotationId)||Ht.is(a.annotationId))}n.is=i})(zs||(zs={}));var Zr;(function(n){function e(r,i){return{textDocument:r,edits:i}}n.create=e;function t(r){let i=r;return p.defined(i)&&ii.is(i.textDocument)&&Array.isArray(i.edits)}n.is=t})(Zr||(Zr={}));var ei;(function(n){function e(r,i,s){let a={kind:"create",uri:r};return i!==void 0&&(i.overwrite!==void 0||i.ignoreIfExists!==void 0)&&(a.options=i),s!==void 0&&(a.annotationId=s),a}n.create=e;function t(r){let i=r;return i&&i.kind==="create"&&p.string(i.uri)&&(i.options===void 0||(i.options.overwrite===void 0||p.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||p.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||Ht.is(i.annotationId))}n.is=t})(ei||(ei={}));var ti;(function(n){function e(r,i,s,a){let o={kind:"rename",oldUri:r,newUri:i};return s!==void 0&&(s.overwrite!==void 0||s.ignoreIfExists!==void 0)&&(o.options=s),a!==void 0&&(o.annotationId=a),o}n.create=e;function t(r){let i=r;return i&&i.kind==="rename"&&p.string(i.oldUri)&&p.string(i.newUri)&&(i.options===void 0||(i.options.overwrite===void 0||p.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||p.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||Ht.is(i.annotationId))}n.is=t})(ti||(ti={}));var ni;(function(n){function e(r,i,s){let a={kind:"delete",uri:r};return i!==void 0&&(i.recursive!==void 0||i.ignoreIfNotExists!==void 0)&&(a.options=i),s!==void 0&&(a.annotationId=s),a}n.create=e;function t(r){let i=r;return i&&i.kind==="delete"&&p.string(i.uri)&&(i.options===void 0||(i.options.recursive===void 0||p.boolean(i.options.recursive))&&(i.options.ignoreIfNotExists===void 0||p.boolean(i.options.ignoreIfNotExists)))&&(i.annotationId===void 0||Ht.is(i.annotationId))}n.is=t})(ni||(ni={}));var ri;(function(n){function e(t){let r=t;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(i=>p.string(i.kind)?ei.is(i)||ti.is(i)||ni.is(i):Zr.is(i)))}n.is=e})(ri||(ri={}));var qs;(function(n){function e(r){return{uri:r}}n.create=e;function t(r){let i=r;return p.defined(i)&&p.string(i.uri)}n.is=t})(qs||(qs={}));var Ys;(function(n){function e(r,i){return{uri:r,version:i}}n.create=e;function t(r){let i=r;return p.defined(i)&&p.string(i.uri)&&p.integer(i.version)}n.is=t})(Ys||(Ys={}));var ii;(function(n){function e(r,i){return{uri:r,version:i}}n.create=e;function t(r){let i=r;return p.defined(i)&&p.string(i.uri)&&(i.version===null||p.integer(i.version))}n.is=t})(ii||(ii={}));var Xs;(function(n){function e(r,i,s,a){return{uri:r,languageId:i,version:s,text:a}}n.create=e;function t(r){let i=r;return p.defined(i)&&p.string(i.uri)&&p.string(i.languageId)&&p.integer(i.version)&&p.string(i.text)}n.is=t})(Xs||(Xs={}));var si;(function(n){n.PlainText="plaintext",n.Markdown="markdown";function e(t){const r=t;return r===n.PlainText||r===n.Markdown}n.is=e})(si||(si={}));var un;(function(n){function e(t){const r=t;return p.objectLiteral(t)&&si.is(r.kind)&&p.string(r.value)}n.is=e})(un||(un={}));var Js;(function(n){n.Text=1,n.Method=2,n.Function=3,n.Constructor=4,n.Field=5,n.Variable=6,n.Class=7,n.Interface=8,n.Module=9,n.Property=10,n.Unit=11,n.Value=12,n.Enum=13,n.Keyword=14,n.Snippet=15,n.Color=16,n.File=17,n.Reference=18,n.Folder=19,n.EnumMember=20,n.Constant=21,n.Struct=22,n.Event=23,n.Operator=24,n.TypeParameter=25})(Js||(Js={}));var Qs;(function(n){n.PlainText=1,n.Snippet=2})(Qs||(Qs={}));var Zs;(function(n){n.Deprecated=1})(Zs||(Zs={}));var ea;(function(n){function e(r,i,s){return{newText:r,insert:i,replace:s}}n.create=e;function t(r){const i=r;return i&&p.string(i.newText)&&$.is(i.insert)&&$.is(i.replace)}n.is=t})(ea||(ea={}));var ta;(function(n){n.asIs=1,n.adjustIndentation=2})(ta||(ta={}));var na;(function(n){function e(t){const r=t;return r&&(p.string(r.detail)||r.detail===void 0)&&(p.string(r.description)||r.description===void 0)}n.is=e})(na||(na={}));var ra;(function(n){function e(t){return{label:t}}n.create=e})(ra||(ra={}));var ia;(function(n){function e(t,r){return{items:t||[],isIncomplete:!!r}}n.create=e})(ia||(ia={}));var qn;(function(n){function e(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}n.fromPlainText=e;function t(r){const i=r;return p.string(i)||p.objectLiteral(i)&&p.string(i.language)&&p.string(i.value)}n.is=t})(qn||(qn={}));var sa;(function(n){function e(t){let r=t;return!!r&&p.objectLiteral(r)&&(un.is(r.contents)||qn.is(r.contents)||p.typedArray(r.contents,qn.is))&&(t.range===void 0||$.is(t.range))}n.is=e})(sa||(sa={}));var aa;(function(n){function e(t,r){return r?{label:t,documentation:r}:{label:t}}n.create=e})(aa||(aa={}));var oa;(function(n){function e(t,r,...i){let s={label:t};return p.defined(r)&&(s.documentation=r),p.defined(i)?s.parameters=i:s.parameters=[],s}n.create=e})(oa||(oa={}));var la;(function(n){n.Text=1,n.Read=2,n.Write=3})(la||(la={}));var ca;(function(n){function e(t,r){let i={range:t};return p.number(r)&&(i.kind=r),i}n.create=e})(ca||(ca={}));var ua;(function(n){n.File=1,n.Module=2,n.Namespace=3,n.Package=4,n.Class=5,n.Method=6,n.Property=7,n.Field=8,n.Constructor=9,n.Enum=10,n.Interface=11,n.Function=12,n.Variable=13,n.Constant=14,n.String=15,n.Number=16,n.Boolean=17,n.Array=18,n.Object=19,n.Key=20,n.Null=21,n.EnumMember=22,n.Struct=23,n.Event=24,n.Operator=25,n.TypeParameter=26})(ua||(ua={}));var da;(function(n){n.Deprecated=1})(da||(da={}));var fa;(function(n){function e(t,r,i,s,a){let o={name:t,kind:r,location:{uri:s,range:i}};return a&&(o.containerName=a),o}n.create=e})(fa||(fa={}));var ha;(function(n){function e(t,r,i,s){return s!==void 0?{name:t,kind:r,location:{uri:i,range:s}}:{name:t,kind:r,location:{uri:i}}}n.create=e})(ha||(ha={}));var pa;(function(n){function e(r,i,s,a,o,l){let c={name:r,detail:i,kind:s,range:a,selectionRange:o};return l!==void 0&&(c.children=l),c}n.create=e;function t(r){let i=r;return i&&p.string(i.name)&&p.number(i.kind)&&$.is(i.range)&&$.is(i.selectionRange)&&(i.detail===void 0||p.string(i.detail))&&(i.deprecated===void 0||p.boolean(i.deprecated))&&(i.children===void 0||Array.isArray(i.children))&&(i.tags===void 0||Array.isArray(i.tags))}n.is=t})(pa||(pa={}));var ma;(function(n){n.Empty="",n.QuickFix="quickfix",n.Refactor="refactor",n.RefactorExtract="refactor.extract",n.RefactorInline="refactor.inline",n.RefactorRewrite="refactor.rewrite",n.Source="source",n.SourceOrganizeImports="source.organizeImports",n.SourceFixAll="source.fixAll"})(ma||(ma={}));var Yn;(function(n){n.Invoked=1,n.Automatic=2})(Yn||(Yn={}));var ga;(function(n){function e(r,i,s){let a={diagnostics:r};return i!=null&&(a.only=i),s!=null&&(a.triggerKind=s),a}n.create=e;function t(r){let i=r;return p.defined(i)&&p.typedArray(i.diagnostics,zn.is)&&(i.only===void 0||p.typedArray(i.only,p.string))&&(i.triggerKind===void 0||i.triggerKind===Yn.Invoked||i.triggerKind===Yn.Automatic)}n.is=t})(ga||(ga={}));var ya;(function(n){function e(r,i,s){let a={title:r},o=!0;return typeof i=="string"?(o=!1,a.kind=i):Ft.is(i)?a.command=i:a.edit=i,o&&s!==void 0&&(a.kind=s),a}n.create=e;function t(r){let i=r;return i&&p.string(i.title)&&(i.diagnostics===void 0||p.typedArray(i.diagnostics,zn.is))&&(i.kind===void 0||p.string(i.kind))&&(i.edit!==void 0||i.command!==void 0)&&(i.command===void 0||Ft.is(i.command))&&(i.isPreferred===void 0||p.boolean(i.isPreferred))&&(i.edit===void 0||ri.is(i.edit))}n.is=t})(ya||(ya={}));var Ta;(function(n){function e(r,i){let s={range:r};return p.defined(i)&&(s.data=i),s}n.create=e;function t(r){let i=r;return p.defined(i)&&$.is(i.range)&&(p.undefined(i.command)||Ft.is(i.command))}n.is=t})(Ta||(Ta={}));var va;(function(n){function e(r,i){return{tabSize:r,insertSpaces:i}}n.create=e;function t(r){let i=r;return p.defined(i)&&p.uinteger(i.tabSize)&&p.boolean(i.insertSpaces)}n.is=t})(va||(va={}));var _a;(function(n){function e(r,i,s){return{range:r,target:i,data:s}}n.create=e;function t(r){let i=r;return p.defined(i)&&$.is(i.range)&&(p.undefined(i.target)||p.string(i.target))}n.is=t})(_a||(_a={}));var Ea;(function(n){function e(r,i){return{range:r,parent:i}}n.create=e;function t(r){let i=r;return p.objectLiteral(i)&&$.is(i.range)&&(i.parent===void 0||n.is(i.parent))}n.is=t})(Ea||(Ea={}));var Ra;(function(n){n.namespace="namespace",n.type="type",n.class="class",n.enum="enum",n.interface="interface",n.struct="struct",n.typeParameter="typeParameter",n.parameter="parameter",n.variable="variable",n.property="property",n.enumMember="enumMember",n.event="event",n.function="function",n.method="method",n.macro="macro",n.keyword="keyword",n.modifier="modifier",n.comment="comment",n.string="string",n.number="number",n.regexp="regexp",n.operator="operator",n.decorator="decorator"})(Ra||(Ra={}));var Aa;(function(n){n.declaration="declaration",n.definition="definition",n.readonly="readonly",n.static="static",n.deprecated="deprecated",n.abstract="abstract",n.async="async",n.modification="modification",n.documentation="documentation",n.defaultLibrary="defaultLibrary"})(Aa||(Aa={}));var ba;(function(n){function e(t){const r=t;return p.objectLiteral(r)&&(r.resultId===void 0||typeof r.resultId=="string")&&Array.isArray(r.data)&&(r.data.length===0||typeof r.data[0]=="number")}n.is=e})(ba||(ba={}));var Na;(function(n){function e(r,i){return{range:r,text:i}}n.create=e;function t(r){const i=r;return i!=null&&$.is(i.range)&&p.string(i.text)}n.is=t})(Na||(Na={}));var ka;(function(n){function e(r,i,s){return{range:r,variableName:i,caseSensitiveLookup:s}}n.create=e;function t(r){const i=r;return i!=null&&$.is(i.range)&&p.boolean(i.caseSensitiveLookup)&&(p.string(i.variableName)||i.variableName===void 0)}n.is=t})(ka||(ka={}));var Ia;(function(n){function e(r,i){return{range:r,expression:i}}n.create=e;function t(r){const i=r;return i!=null&&$.is(i.range)&&(p.string(i.expression)||i.expression===void 0)}n.is=t})(Ia||(Ia={}));var Sa;(function(n){function e(r,i){return{frameId:r,stoppedLocation:i}}n.create=e;function t(r){const i=r;return p.defined(i)&&$.is(r.stoppedLocation)}n.is=t})(Sa||(Sa={}));var ai;(function(n){n.Type=1,n.Parameter=2;function e(t){return t===1||t===2}n.is=e})(ai||(ai={}));var oi;(function(n){function e(r){return{value:r}}n.create=e;function t(r){const i=r;return p.objectLiteral(i)&&(i.tooltip===void 0||p.string(i.tooltip)||un.is(i.tooltip))&&(i.location===void 0||Kn.is(i.location))&&(i.command===void 0||Ft.is(i.command))}n.is=t})(oi||(oi={}));var xa;(function(n){function e(r,i,s){const a={position:r,label:i};return s!==void 0&&(a.kind=s),a}n.create=e;function t(r){const i=r;return p.objectLiteral(i)&&P.is(i.position)&&(p.string(i.label)||p.typedArray(i.label,oi.is))&&(i.kind===void 0||ai.is(i.kind))&&i.textEdits===void 0||p.typedArray(i.textEdits,Bt.is)&&(i.tooltip===void 0||p.string(i.tooltip)||un.is(i.tooltip))&&(i.paddingLeft===void 0||p.boolean(i.paddingLeft))&&(i.paddingRight===void 0||p.boolean(i.paddingRight))}n.is=t})(xa||(xa={}));var Ca;(function(n){function e(t){return{kind:"snippet",value:t}}n.createSnippet=e})(Ca||(Ca={}));var wa;(function(n){function e(t,r,i,s){return{insertText:t,filterText:r,range:i,command:s}}n.create=e})(wa||(wa={}));var Oa;(function(n){function e(t){return{items:t}}n.create=e})(Oa||(Oa={}));var La;(function(n){n.Invoked=0,n.Automatic=1})(La||(La={}));var $a;(function(n){function e(t,r){return{range:t,text:r}}n.create=e})($a||($a={}));var Pa;(function(n){function e(t,r){return{triggerKind:t,selectedCompletionInfo:r}}n.create=e})(Pa||(Pa={}));var Ma;(function(n){function e(t){const r=t;return p.objectLiteral(r)&&Yr.is(r.uri)&&p.string(r.name)}n.is=e})(Ma||(Ma={}));var Da;(function(n){function e(s,a,o,l){return new Ip(s,a,o,l)}n.create=e;function t(s){let a=s;return!!(p.defined(a)&&p.string(a.uri)&&(p.undefined(a.languageId)||p.string(a.languageId))&&p.uinteger(a.lineCount)&&p.func(a.getText)&&p.func(a.positionAt)&&p.func(a.offsetAt))}n.is=t;function r(s,a){let o=s.getText(),l=i(a,(u,d)=>{let f=u.range.start.line-d.range.start.line;return f===0?u.range.start.character-d.range.start.character:f}),c=o.length;for(let u=l.length-1;u>=0;u--){let d=l[u],f=s.offsetAt(d.range.start),h=s.offsetAt(d.range.end);if(h<=c)o=o.substring(0,f)+d.newText+o.substring(h,o.length);else throw new Error("Overlapping edit");c=f}return o}n.applyEdits=r;function i(s,a){if(s.length<=1)return s;const o=s.length/2|0,l=s.slice(0,o),c=s.slice(o);i(l,a),i(c,a);let u=0,d=0,f=0;for(;u0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),r=0,i=t.length;if(i===0)return P.create(0,e);for(;re?i=a:r=a+1}let s=r-1;return P.create(s,e-t[s])}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let r=t[e.line],i=e.line+1"u"}n.undefined=r;function i(h){return h===!0||h===!1}n.boolean=i;function s(h){return e.call(h)==="[object String]"}n.string=s;function a(h){return e.call(h)==="[object Number]"}n.number=a;function o(h,m,g){return e.call(h)==="[object Number]"&&m<=h&&h<=g}n.numberRange=o;function l(h){return e.call(h)==="[object Number]"&&-2147483648<=h&&h<=2147483647}n.integer=l;function c(h){return e.call(h)==="[object Number]"&&0<=h&&h<=2147483647}n.uinteger=c;function u(h){return e.call(h)==="[object Function]"}n.func=u;function d(h){return h!==null&&typeof h=="object"}n.objectLiteral=d;function f(h,m){return Array.isArray(h)&&h.every(m)}n.typedArray=f})(p||(p={}));class Sp{constructor(){this.nodeStack=[]}get current(){return this.nodeStack[this.nodeStack.length-1]}buildRootNode(e){return this.rootNode=new ec(e),this.rootNode.root=this.rootNode,this.nodeStack=[this.rootNode],this.rootNode}buildCompositeNode(e){const t=new Fi;return t.grammarSource=e,t.root=this.rootNode,this.current.content.push(t),this.nodeStack.push(t),t}buildLeafNode(e,t){const r=new li(e.startOffset,e.image.length,Dr(e),e.tokenType,!1);return r.grammarSource=t,r.root=this.rootNode,this.current.content.push(r),r}removeNode(e){const t=e.container;if(t){const r=t.content.indexOf(e);r>=0&&t.content.splice(r,1)}}construct(e){const t=this.current;typeof e.$type=="string"&&(this.current.astNode=e),e.$cstNode=t;const r=this.nodeStack.pop();(r==null?void 0:r.content.length)===0&&this.removeNode(r)}addHiddenTokens(e){for(const t of e){const r=new li(t.startOffset,t.image.length,Dr(t),t.tokenType,!0);r.root=this.rootNode,this.addHiddenToken(this.rootNode,r)}}addHiddenToken(e,t){const{offset:r,end:i}=t;for(let s=0;so&&i=0;e--){const t=this.content[e];if(!t.hidden)return t}return this.content[this.content.length-1]}}class Bi extends Array{constructor(e){super(),this.parent=e,Object.setPrototypeOf(this,Bi.prototype)}push(...e){return this.addParents(e),super.push(...e)}unshift(...e){return this.addParents(e),super.unshift(...e)}splice(e,t,...r){return this.addParents(r),super.splice(e,t,...r)}addParents(e){for(const t of e)t.container=this.parent}}class ec extends Fi{get text(){return this._text.substring(this.offset,this.end)}get fullText(){return this._text}constructor(e){super(),this._text="",this._text=e??""}}const ci=Symbol("Datatype");function Cr(n){return n.$type===ci}const ja="​",tc=n=>n.endsWith(ja)?n:n+ja;class nc{constructor(e){this._unorderedGroups=new Map,this.lexer=e.parser.Lexer;const t=this.lexer.definition;this.wrapper=new Lp(t,Object.assign(Object.assign({},e.parser.ParserConfig),{errorMessageProvider:e.parser.ParserErrorMessageProvider}))}alternatives(e,t){this.wrapper.wrapOr(e,t)}optional(e,t){this.wrapper.wrapOption(e,t)}many(e,t){this.wrapper.wrapMany(e,t)}atLeastOne(e,t){this.wrapper.wrapAtLeastOne(e,t)}isRecording(){return this.wrapper.IS_RECORDING}get unorderedGroups(){return this._unorderedGroups}getRuleStack(){return this.wrapper.RULE_STACK}finalize(){this.wrapper.wrapSelfAnalysis()}}class xp extends nc{get current(){return this.stack[this.stack.length-1]}constructor(e){super(e),this.nodeBuilder=new Sp,this.stack=[],this.assignmentMap=new Map,this.linker=e.references.Linker,this.converter=e.parser.ValueConverter,this.astReflection=e.shared.AstReflection}rule(e,t){const r=e.fragment?void 0:Si(e)?ci:cr(e),i=this.wrapper.DEFINE_RULE(tc(e.name),this.startImplementation(r,t).bind(this));return e.entry&&(this.mainRule=i),i}parse(e){this.nodeBuilder.buildRootNode(e);const t=this.lexer.tokenize(e);this.wrapper.input=t.tokens;const r=this.mainRule.call(this.wrapper,{});return this.nodeBuilder.addHiddenTokens(t.hidden),this.unorderedGroups.clear(),{value:r,lexerErrors:t.errors,parserErrors:this.wrapper.errors}}startImplementation(e,t){return r=>{if(!this.isRecording()){const s={$type:e};this.stack.push(s),e===ci&&(s.value="")}let i;try{i=t(r)}catch{i=void 0}return!this.isRecording()&&i===void 0&&(i=this.construct()),i}}consume(e,t,r){const i=this.wrapper.wrapConsume(e,t);if(!this.isRecording()&&this.isValidToken(i)){const s=this.nodeBuilder.buildLeafNode(i,r),{assignment:a,isCrossRef:o}=this.getAssignment(r),l=this.current;if(a){const c=dt(r)?i.image:this.converter.convert(i.image,s);this.assign(a.operator,a.feature,c,s,o)}else if(Cr(l)){let c=i.image;dt(r)||(c=this.converter.convert(c,s).toString()),l.value+=c}}}isValidToken(e){return!e.isInsertedInRecovery&&!isNaN(e.startOffset)&&typeof e.endOffset=="number"&&!isNaN(e.endOffset)}subrule(e,t,r,i){let s;this.isRecording()||(s=this.nodeBuilder.buildCompositeNode(r));const a=this.wrapper.wrapSubrule(e,t,i);!this.isRecording()&&s&&s.length>0&&this.performSubruleAssignment(a,r,s)}performSubruleAssignment(e,t,r){const{assignment:i,isCrossRef:s}=this.getAssignment(t);if(i)this.assign(i.operator,i.feature,e,r,s);else if(!i){const a=this.current;if(Cr(a))a.value+=e.toString();else if(typeof e=="object"&&e){const o=e.$type,l=this.assignWithoutOverride(e,a);o&&(l.$type=o);const c=l;this.stack.pop(),this.stack.push(c)}}}action(e,t){if(!this.isRecording()){let r=this.current;if(!r.$cstNode&&t.feature&&t.operator){r=this.construct(!1);const s=r.$cstNode.feature;this.nodeBuilder.buildCompositeNode(s)}const i={$type:e};this.stack.pop(),this.stack.push(i),t.feature&&t.operator&&this.assign(t.operator,t.feature,r,r.$cstNode,!1)}}construct(e=!0){if(this.isRecording())return;const t=this.current;return od(t),this.nodeBuilder.construct(t),e&&this.stack.pop(),Cr(t)?this.converter.convert(t.value,t.$cstNode):(cd(this.astReflection,t),t)}getAssignment(e){if(!this.assignmentMap.has(e)){const t=ar(e,ut);this.assignmentMap.set(e,{assignment:t,isCrossRef:t?bi(t.terminal):!1})}return this.assignmentMap.get(e)}assign(e,t,r,i,s){const a=this.current;let o;switch(s&&typeof r=="string"?o=this.linker.buildReference(a,t,i,r):o=r,e){case"=":{a[t]=o;break}case"?=":{a[t]=!0;break}case"+=":Array.isArray(a[t])||(a[t]=[]),a[t].push(o)}}assignWithoutOverride(e,t){for(const[r,i]of Object.entries(t)){const s=e[r];s===void 0?e[r]=i:Array.isArray(s)&&Array.isArray(i)&&(i.push(...s),e[r]=i)}return e}get definitionErrors(){return this.wrapper.definitionErrors}}class Cp{buildMismatchTokenMessage(e){return _t.buildMismatchTokenMessage(e)}buildNotAllInputParsedMessage(e){return _t.buildNotAllInputParsedMessage(e)}buildNoViableAltMessage(e){return _t.buildNoViableAltMessage(e)}buildEarlyExitMessage(e){return _t.buildEarlyExitMessage(e)}}class rc extends Cp{buildMismatchTokenMessage({expected:e,actual:t}){return`Expecting ${e.LABEL?"`"+e.LABEL+"`":e.name.endsWith(":KW")?`keyword '${e.name.substring(0,e.name.length-3)}'`:`token of type '${e.name}'`} but found \`${t.image}\`.`}buildNotAllInputParsedMessage({firstRedundant:e}){return`Expecting end of file but found \`${e.image}\`.`}}class wp extends nc{constructor(){super(...arguments),this.tokens=[],this.elementStack=[],this.lastElementStack=[],this.nextTokenIndex=0,this.stackSize=0}action(){}construct(){}parse(e){this.resetState();const t=this.lexer.tokenize(e);return this.tokens=t.tokens,this.wrapper.input=[...this.tokens],this.mainRule.call(this.wrapper,{}),this.unorderedGroups.clear(),{tokens:this.tokens,elementStack:[...this.lastElementStack],tokenIndex:this.nextTokenIndex}}rule(e,t){const r=this.wrapper.DEFINE_RULE(tc(e.name),this.startImplementation(t).bind(this));return e.entry&&(this.mainRule=r),r}resetState(){this.elementStack=[],this.lastElementStack=[],this.nextTokenIndex=0,this.stackSize=0}startImplementation(e){return t=>{const r=this.keepStackSize();try{e(t)}finally{this.resetStackSize(r)}}}removeUnexpectedElements(){this.elementStack.splice(this.stackSize)}keepStackSize(){const e=this.elementStack.length;return this.stackSize=e,e}resetStackSize(e){this.removeUnexpectedElements(),this.stackSize=e}consume(e,t,r){this.wrapper.wrapConsume(e,t),this.isRecording()||(this.lastElementStack=[...this.elementStack,r],this.nextTokenIndex=this.currIdx+1)}subrule(e,t,r,i){this.before(r),this.wrapper.wrapSubrule(e,t,i),this.after(r)}before(e){this.isRecording()||this.elementStack.push(e)}after(e){if(!this.isRecording()){const t=this.elementStack.lastIndexOf(e);t>=0&&this.elementStack.splice(t)}}get currIdx(){return this.wrapper.currIdx}}const Op={recoveryEnabled:!0,nodeLocationTracking:"full",skipValidations:!0,errorMessageProvider:new rc};class Lp extends Uh{constructor(e,t){const r=t&&"maxLookahead"in t;super(e,Object.assign(Object.assign(Object.assign({},Op),{lookaheadStrategy:r?new Pi({maxLookahead:t.maxLookahead}):new op}),t))}get IS_RECORDING(){return this.RECORDING_PHASE}DEFINE_RULE(e,t){return this.RULE(e,t)}wrapSelfAnalysis(){this.performSelfAnalysis()}wrapConsume(e,t){return this.consume(e,t)}wrapSubrule(e,t,r){return this.subrule(e,t,{ARGS:[r]})}wrapOr(e,t){this.or(e,t)}wrapOption(e,t){this.option(e,t)}wrapMany(e,t){this.many(e,t)}wrapAtLeastOne(e,t){this.atLeastOne(e,t)}}function ic(n,e,t){return $p({parser:e,tokens:t,rules:new Map,ruleNames:new Map},n),e}function $p(n,e){const t=nl(e,!1),r=Q(e.rules).filter(Se).filter(i=>t.has(i));for(const i of r){const s=Object.assign(Object.assign({},n),{consume:1,optional:1,subrule:1,many:1,or:1});s.rules.set(i.name,n.parser.rule(i,pt(s,i.definition)))}}function pt(n,e,t=!1){let r;if(dt(e))r=Fp(n,e);else if(sr(e))r=Pp(n,e);else if(ut(e))r=pt(n,e.terminal);else if(bi(e))r=sc(n,e);else if(ft(e))r=Mp(n,e);else if(Po(e))r=jp(n,e);else if(Yo(e))r=Gp(n,e);else if(Ni(e))r=Up(n,e);else if(Zu(e)){const i=n.consume++;r=()=>n.parser.consume(i,tt,e)}else throw new To(e.$cstNode,`Unexpected element type: ${e.$type}`);return ac(n,t?void 0:Xn(e),r,e.cardinality)}function Pp(n,e){const t=cr(e);return()=>n.parser.action(t,e)}function Mp(n,e){const t=e.rule.ref;if(Se(t)){const r=n.subrule++,i=e.arguments.length>0?Dp(t,e.arguments):()=>({});return s=>n.parser.subrule(r,oc(n,t),e,i(s))}else if(gt(t)){const r=n.consume++,i=ui(n,t.name);return()=>n.parser.consume(r,i,e)}else if(t)ir();else throw new To(e.$cstNode,`Undefined rule type: ${e.$type}`)}function Dp(n,e){const t=e.map(r=>We(r.value));return r=>{const i={};for(let s=0;se(r)||t(r)}else if(Gu(n)){const e=We(n.left),t=We(n.right);return r=>e(r)&&t(r)}else if(Bu(n)){const e=We(n.value);return t=>!e(t)}else if(Wu(n)){const e=n.parameter.ref.name;return t=>t!==void 0&&t[e]===!0}else if(ju(n)){const e=!!n.true;return()=>e}ir()}function jp(n,e){if(e.elements.length===1)return pt(n,e.elements[0]);{const t=[];for(const i of e.elements){const s={ALT:pt(n,i,!0)},a=Xn(i);a&&(s.GATE=We(a)),t.push(s)}const r=n.or++;return i=>n.parser.alternatives(r,t.map(s=>{const a={ALT:()=>s.ALT(i)},o=s.GATE;return o&&(a.GATE=()=>o(i)),a}))}}function Gp(n,e){if(e.elements.length===1)return pt(n,e.elements[0]);const t=[];for(const o of e.elements){const l={ALT:pt(n,o,!0)},c=Xn(o);c&&(l.GATE=We(c)),t.push(l)}const r=n.or++,i=(o,l)=>{const c=l.getRuleStack().join("-");return`uGroup_${o}_${c}`},s=o=>n.parser.alternatives(r,t.map((l,c)=>{const u={ALT:()=>!0},d=n.parser;u.ALT=()=>{if(l.ALT(o),!d.isRecording()){const h=i(r,d);d.unorderedGroups.get(h)||d.unorderedGroups.set(h,[]);const m=d.unorderedGroups.get(h);typeof(m==null?void 0:m[c])>"u"&&(m[c]=!0)}};const f=l.GATE;return f?u.GATE=()=>f(o):u.GATE=()=>{const h=d.unorderedGroups.get(i(r,d));return!(h!=null&&h[c])},u})),a=ac(n,Xn(e),s,"*");return o=>{a(o),n.parser.isRecording()||n.parser.unorderedGroups.delete(i(r,n.parser))}}function Up(n,e){const t=e.elements.map(r=>pt(n,r));return r=>t.forEach(i=>i(r))}function Xn(n){if(Ni(n))return n.guardCondition}function sc(n,e,t=e.terminal){if(t)if(ft(t)&&Se(t.rule.ref)){const r=n.subrule++;return i=>n.parser.subrule(r,oc(n,t.rule.ref),e,i)}else if(ft(t)&>(t.rule.ref)){const r=n.consume++,i=ui(n,t.rule.ref.name);return()=>n.parser.consume(r,i,e)}else if(dt(t)){const r=n.consume++,i=ui(n,t.value);return()=>n.parser.consume(r,i,e)}else throw new Error("Could not build cross reference parser");else{if(!e.type.ref)throw new Error("Could not resolve reference to type: "+e.type.$refText);const r=sl(e.type.ref),i=r==null?void 0:r.terminal;if(!i)throw new Error("Could not find name assignment for type: "+cr(e.type.ref));return sc(n,e,i)}}function Fp(n,e){const t=n.consume++,r=n.tokens[e.value];if(!r)throw new Error("Could not find token for keyword: "+e.value);return()=>n.parser.consume(t,r,e)}function ac(n,e,t,r){const i=e&&We(e);if(!r)if(i){const s=n.or++;return a=>n.parser.alternatives(s,[{ALT:()=>t(a),GATE:()=>i(a)},{ALT:Ls(),GATE:()=>!i(a)}])}else return t;if(r==="*"){const s=n.many++;return a=>n.parser.many(s,{DEF:()=>t(a),GATE:i?()=>i(a):void 0})}else if(r==="+"){const s=n.many++;if(i){const a=n.or++;return o=>n.parser.alternatives(a,[{ALT:()=>n.parser.atLeastOne(s,{DEF:()=>t(o)}),GATE:()=>i(o)},{ALT:Ls(),GATE:()=>!i(o)}])}else return a=>n.parser.atLeastOne(s,{DEF:()=>t(a)})}else if(r==="?"){const s=n.optional++;return a=>n.parser.optional(s,{DEF:()=>t(a),GATE:i?()=>i(a):void 0})}else ir()}function oc(n,e){const t=Bp(n,e),r=n.rules.get(t);if(!r)throw new Error(`Rule "${t}" not found."`);return r}function Bp(n,e){if(Se(e))return e.name;if(n.ruleNames.has(e))return n.ruleNames.get(e);{let t=e,r=t.$container,i=e.$type;for(;!Se(r);)(Ni(r)||Po(r)||Yo(r))&&(i=r.elements.indexOf(t).toString()+":"+i),t=r,r=r.$container;return i=r.name+":"+i,n.ruleNames.set(e,i),i}}function ui(n,e){const t=n.tokens[e];if(!t)throw new Error(`Token "${e}" not found."`);return t}function Hp(n){const e=n.Grammar,t=n.parser.Lexer,r=new wp(n);return ic(e,r,t.definition),r.finalize(),r}function Vp(n){const e=Wp(n);return e.finalize(),e}function Wp(n){const e=n.Grammar,t=n.parser.Lexer,r=new xp(n);return ic(e,r,t.definition)}class lc{buildTokens(e,t){const r=Q(nl(e,!1)),i=this.buildTerminalTokens(r),s=this.buildKeywordTokens(r,i,t);return i.forEach(a=>{const o=a.PATTERN;typeof o=="object"&&o&&"test"in o&&cs(o)?s.unshift(a):s.push(a)}),s}buildTerminalTokens(e){return e.filter(gt).filter(t=>!t.fragment).map(t=>this.buildTerminalToken(t)).toArray()}buildTerminalToken(e){const t=xi(e),r=this.requiresCustomPattern(t)?this.regexPatternFunction(t):t,i={name:e.name,PATTERN:r,LINE_BREAKS:!0};return e.hidden&&(i.GROUP=cs(t)?de.SKIPPED:"hidden"),i}requiresCustomPattern(e){return e.flags.includes("u")?!0:!!(e.source.includes("?<=")||e.source.includes("?(t.lastIndex=i,t.exec(r))}buildKeywordTokens(e,t,r){return e.filter(Se).flatMap(i=>pn(i).filter(dt)).distinct(i=>i.value).toArray().sort((i,s)=>s.value.length-i.value.length).map(i=>this.buildKeywordToken(i,t,!!(r!=null&&r.caseInsensitive)))}buildKeywordToken(e,t,r){return{name:e.value,PATTERN:this.buildKeywordPattern(e,r),LONGER_ALT:this.findLongerAlt(e,t)}}buildKeywordPattern(e,t){return t?new RegExp(yd(e.value)):e.value}findLongerAlt(e,t){return t.reduce((r,i)=>{const s=i==null?void 0:i.PATTERN;return s!=null&&s.source&&Td("^"+s.source+"$",e.value)&&r.push(i),r},[])}}class cc{convert(e,t){let r=t.grammarSource;if(bi(r)&&(r=Rd(r)),ft(r)){const i=r.rule.ref;if(!i)throw new Error("This cst node was not parsed by a rule.");return this.runConverter(i,e,t)}return e}runConverter(e,t,r){var i;switch(e.name.toUpperCase()){case"INT":return Ve.convertInt(t);case"STRING":return Ve.convertString(t);case"ID":return Ve.convertID(t)}switch((i=xd(e))===null||i===void 0?void 0:i.toLowerCase()){case"number":return Ve.convertNumber(t);case"boolean":return Ve.convertBoolean(t);case"bigint":return Ve.convertBigint(t);case"date":return Ve.convertDate(t);default:return t}}}var Ve;(function(n){function e(c){let u="";for(let d=1;duc(e))}se.stringArray=Xp;var Vt={};Object.defineProperty(Vt,"__esModule",{value:!0});Vt.Emitter=Vt.Event=void 0;const Jp=yr;var Ga;(function(n){const e={dispose(){}};n.None=function(){return e}})(Ga||(Vt.Event=Ga={}));class Qp{add(e,t=null,r){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(t),Array.isArray(r)&&r.push({dispose:()=>this.remove(e,t)})}remove(e,t=null){if(!this._callbacks)return;let r=!1;for(let i=0,s=this._callbacks.length;i{this._callbacks||(this._callbacks=new Qp),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,t);const i={dispose:()=>{this._callbacks&&(this._callbacks.remove(e,t),i.dispose=Tr._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))}};return Array.isArray(r)&&r.push(i),i}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}}Vt.Emitter=Tr;Tr._noop=function(){};var X;Object.defineProperty(dn,"__esModule",{value:!0});var hi=dn.CancellationTokenSource=X=dn.CancellationToken=void 0;const Zp=yr,em=se,pi=Vt;var Jn;(function(n){n.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:pi.Event.None}),n.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:pi.Event.None});function e(t){const r=t;return r&&(r===n.None||r===n.Cancelled||em.boolean(r.isCancellationRequested)&&!!r.onCancellationRequested)}n.is=e})(Jn||(X=dn.CancellationToken=Jn={}));const tm=Object.freeze(function(n,e){const t=(0,Zp.default)().timer.setTimeout(n.bind(e),0);return{dispose(){t.dispose()}}});class Ua{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?tm:(this._emitter||(this._emitter=new pi.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}}class nm{get token(){return this._token||(this._token=new Ua),this._token}cancel(){this._token?this._token.cancel():this._token=Jn.Cancelled}dispose(){this._token?this._token instanceof Ua&&this._token.dispose():this._token=Jn.None}}hi=dn.CancellationTokenSource=nm;function rm(){return new Promise(n=>{typeof setImmediate>"u"?setTimeout(n,0):setImmediate(n)})}let Fa=0,im=10;const Qn=Symbol("OperationCancelled");function Hi(n){return n===Qn}async function Le(n){if(n===X.None)return;const e=Date.now();if(e-Fa>=im&&(Fa=e,await rm()),n.isCancellationRequested)throw Qn}class Vi{constructor(){this.promise=new Promise((e,t)=>{this.resolve=r=>(e(r),this),this.reject=r=>(t(r),this)})}}class fn{constructor(e,t,r,i){this._uri=e,this._languageId=t,this._version=r,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){const t=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(t,r)}return this._content}update(e,t){for(const r of e)if(fn.isIncremental(r)){const i=hc(r.range),s=this.offsetAt(i.start),a=this.offsetAt(i.end);this._content=this._content.substring(0,s)+r.text+this._content.substring(a,this._content.length);const o=Math.max(i.start.line,0),l=Math.max(i.end.line,0);let c=this._lineOffsets;const u=Ba(r.text,!1,s);if(l-o===u.length)for(let f=0,h=u.length;fe?i=a:r=a+1}const s=r-1;return e=this.ensureBeforeEOL(e,t[s]),{line:s,character:e-t[s]}}offsetAt(e){const t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;const r=t[e.line];if(e.character<=0)return r;const i=e.line+1t&&fc(this._content.charCodeAt(e-1));)e--;return e}get lineCount(){return this.getLineOffsets().length}static isIncremental(e){const t=e;return t!=null&&typeof t.text=="string"&&t.range!==void 0&&(t.rangeLength===void 0||typeof t.rangeLength=="number")}static isFull(e){const t=e;return t!=null&&typeof t.text=="string"&&t.range===void 0&&t.rangeLength===void 0}}var mi;(function(n){function e(i,s,a,o){return new fn(i,s,a,o)}n.create=e;function t(i,s,a){if(i instanceof fn)return i.update(s,a),i;throw new Error("TextDocument.update: document must be created by TextDocument.create")}n.update=t;function r(i,s){const a=i.getText(),o=gi(s.map(sm),(u,d)=>{const f=u.range.start.line-d.range.start.line;return f===0?u.range.start.character-d.range.start.character:f});let l=0;const c=[];for(const u of o){const d=i.offsetAt(u.range.start);if(dl&&c.push(a.substring(l,d)),u.newText.length&&c.push(u.newText),l=i.offsetAt(u.range.end)}return c.push(a.substr(l)),c.join("")}n.applyEdits=r})(mi||(mi={}));function gi(n,e){if(n.length<=1)return n;const t=n.length/2|0,r=n.slice(0,t),i=n.slice(t);gi(r,e),gi(i,e);let s=0,a=0,o=0;for(;st.line||e.line===t.line&&e.character>t.character?{start:t,end:e}:n}function sm(n){const e=hc(n.range);return e!==n.range?{newText:n.newText,range:e}:n}var wr={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:1},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_e72d6a91-80dc-48ef-805e-8b024d3e943e",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_e72d6a91-80dc-48ef-805e-8b024d3e943e",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"827",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241208.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5833",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12390458500",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_0be29237-df24-42ff-8577-19b0738a094d",INVOCATION_ID:"6082e0c4f23d452ea1611619b2624143",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"467",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 14",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_e72d6a91-80dc-48ef-805e-8b024d3e943e",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_e72d6a91-80dc-48ef-805e-8b024d3e943e",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_e72d6a91-80dc-48ef-805e-8b024d3e943e",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2179,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},pc;(()=>{var n={470:i=>{function s(l){if(typeof l!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(l))}function a(l,c){for(var u,d="",f=0,h=-1,m=0,g=0;g<=l.length;++g){if(g2){var _=d.lastIndexOf("/");if(_!==d.length-1){_===-1?(d="",f=0):f=(d=d.slice(0,_)).length-1-d.lastIndexOf("/"),h=g,m=0;continue}}else if(d.length===2||d.length===1){d="",f=0,h=g,m=0;continue}}c&&(d.length>0?d+="/..":d="..",f=2)}else d.length>0?d+="/"+l.slice(h+1,g):d=l.slice(h+1,g),f=g-h-1;h=g,m=0}else u===46&&m!==-1?++m:m=-1}return d}var o={resolve:function(){for(var l,c="",u=!1,d=arguments.length-1;d>=-1&&!u;d--){var f;d>=0?f=arguments[d]:(l===void 0&&(l=wr.cwd()),f=l),s(f),f.length!==0&&(c=f+"/"+c,u=f.charCodeAt(0)===47)}return c=a(c,!u),u?c.length>0?"/"+c:"/":c.length>0?c:"."},normalize:function(l){if(s(l),l.length===0)return".";var c=l.charCodeAt(0)===47,u=l.charCodeAt(l.length-1)===47;return(l=a(l,!c)).length!==0||c||(l="."),l.length>0&&u&&(l+="/"),c?"/"+l:l},isAbsolute:function(l){return s(l),l.length>0&&l.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var l,c=0;c0&&(l===void 0?l=u:l+="/"+u)}return l===void 0?".":o.normalize(l)},relative:function(l,c){if(s(l),s(c),l===c||(l=o.resolve(l))===(c=o.resolve(c)))return"";for(var u=1;ug){if(c.charCodeAt(h+y)===47)return c.slice(h+y+1);if(y===0)return c.slice(h+y)}else f>g&&(l.charCodeAt(u+y)===47?_=y:y===0&&(_=0));break}var E=l.charCodeAt(u+y);if(E!==c.charCodeAt(h+y))break;E===47&&(_=y)}var v="";for(y=u+_+1;y<=d;++y)y!==d&&l.charCodeAt(y)!==47||(v.length===0?v+="..":v+="/..");return v.length>0?v+c.slice(h+_):(h+=_,c.charCodeAt(h)===47&&++h,c.slice(h))},_makeLong:function(l){return l},dirname:function(l){if(s(l),l.length===0)return".";for(var c=l.charCodeAt(0),u=c===47,d=-1,f=!0,h=l.length-1;h>=1;--h)if((c=l.charCodeAt(h))===47){if(!f){d=h;break}}else f=!1;return d===-1?u?"/":".":u&&d===1?"//":l.slice(0,d)},basename:function(l,c){if(c!==void 0&&typeof c!="string")throw new TypeError('"ext" argument must be a string');s(l);var u,d=0,f=-1,h=!0;if(c!==void 0&&c.length>0&&c.length<=l.length){if(c.length===l.length&&c===l)return"";var m=c.length-1,g=-1;for(u=l.length-1;u>=0;--u){var _=l.charCodeAt(u);if(_===47){if(!h){d=u+1;break}}else g===-1&&(h=!1,g=u+1),m>=0&&(_===c.charCodeAt(m)?--m==-1&&(f=u):(m=-1,f=g))}return d===f?f=g:f===-1&&(f=l.length),l.slice(d,f)}for(u=l.length-1;u>=0;--u)if(l.charCodeAt(u)===47){if(!h){d=u+1;break}}else f===-1&&(h=!1,f=u+1);return f===-1?"":l.slice(d,f)},extname:function(l){s(l);for(var c=-1,u=0,d=-1,f=!0,h=0,m=l.length-1;m>=0;--m){var g=l.charCodeAt(m);if(g!==47)d===-1&&(f=!1,d=m+1),g===46?c===-1?c=m:h!==1&&(h=1):c!==-1&&(h=-1);else if(!f){u=m+1;break}}return c===-1||d===-1||h===0||h===1&&c===d-1&&c===u+1?"":l.slice(c,d)},format:function(l){if(l===null||typeof l!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof l);return function(c,u){var d=u.dir||u.root,f=u.base||(u.name||"")+(u.ext||"");return d?d===u.root?d+f:d+"/"+f:f}(0,l)},parse:function(l){s(l);var c={root:"",dir:"",base:"",ext:"",name:""};if(l.length===0)return c;var u,d=l.charCodeAt(0),f=d===47;f?(c.root="/",u=1):u=0;for(var h=-1,m=0,g=-1,_=!0,y=l.length-1,E=0;y>=u;--y)if((d=l.charCodeAt(y))!==47)g===-1&&(_=!1,g=y+1),d===46?h===-1?h=y:E!==1&&(E=1):h!==-1&&(E=-1);else if(!_){m=y+1;break}return h===-1||g===-1||E===0||E===1&&h===g-1&&h===m+1?g!==-1&&(c.base=c.name=m===0&&f?l.slice(1,g):l.slice(m,g)):(m===0&&f?(c.name=l.slice(1,h),c.base=l.slice(1,g)):(c.name=l.slice(m,h),c.base=l.slice(m,g)),c.ext=l.slice(h,g)),m>0?c.dir=l.slice(0,m-1):f&&(c.dir="/"),c},sep:"/",delimiter:":",win32:null,posix:null};o.posix=o,i.exports=o}},e={};function t(i){var s=e[i];if(s!==void 0)return s.exports;var a=e[i]={exports:{}};return n[i](a,a.exports,t),a.exports}t.d=(i,s)=>{for(var a in s)t.o(s,a)&&!t.o(i,a)&&Object.defineProperty(i,a,{enumerable:!0,get:s[a]})},t.o=(i,s)=>Object.prototype.hasOwnProperty.call(i,s),t.r=i=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var r={};(()=>{let i;t.r(r),t.d(r,{URI:()=>f,Utils:()=>be}),typeof wr=="object"?i=wr.platform==="win32":typeof navigator=="object"&&(i=navigator.userAgent.indexOf("Windows")>=0);const s=/^\w[\w\d+.-]*$/,a=/^\//,o=/^\/\//;function l(A,T){if(!A.scheme&&T)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${A.authority}", path: "${A.path}", query: "${A.query}", fragment: "${A.fragment}"}`);if(A.scheme&&!s.test(A.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(A.path){if(A.authority){if(!a.test(A.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(o.test(A.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}const c="",u="/",d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class f{constructor(T,R,N,L,O,w=!1){Je(this,"scheme");Je(this,"authority");Je(this,"path");Je(this,"query");Je(this,"fragment");typeof T=="object"?(this.scheme=T.scheme||c,this.authority=T.authority||c,this.path=T.path||c,this.query=T.query||c,this.fragment=T.fragment||c):(this.scheme=function(ye,z){return ye||z?ye:"file"}(T,w),this.authority=R||c,this.path=function(ye,z){switch(ye){case"https":case"http":case"file":z?z[0]!==u&&(z=u+z):z=u}return z}(this.scheme,N||c),this.query=L||c,this.fragment=O||c,l(this,w))}static isUri(T){return T instanceof f||!!T&&typeof T.authority=="string"&&typeof T.fragment=="string"&&typeof T.path=="string"&&typeof T.query=="string"&&typeof T.scheme=="string"&&typeof T.fsPath=="string"&&typeof T.with=="function"&&typeof T.toString=="function"}get fsPath(){return E(this)}with(T){if(!T)return this;let{scheme:R,authority:N,path:L,query:O,fragment:w}=T;return R===void 0?R=this.scheme:R===null&&(R=c),N===void 0?N=this.authority:N===null&&(N=c),L===void 0?L=this.path:L===null&&(L=c),O===void 0?O=this.query:O===null&&(O=c),w===void 0?w=this.fragment:w===null&&(w=c),R===this.scheme&&N===this.authority&&L===this.path&&O===this.query&&w===this.fragment?this:new m(R,N,L,O,w)}static parse(T,R=!1){const N=d.exec(T);return N?new m(N[2]||c,ne(N[4]||c),ne(N[5]||c),ne(N[7]||c),ne(N[9]||c),R):new m(c,c,c,c,c)}static file(T){let R=c;if(i&&(T=T.replace(/\\/g,u)),T[0]===u&&T[1]===u){const N=T.indexOf(u,2);N===-1?(R=T.substring(2),T=u):(R=T.substring(2,N),T=T.substring(N)||u)}return new m("file",R,T,c,c)}static from(T){const R=new m(T.scheme,T.authority,T.path,T.query,T.fragment);return l(R,!0),R}toString(T=!1){return v(this,T)}toJSON(){return this}static revive(T){if(T){if(T instanceof f)return T;{const R=new m(T);return R._formatted=T.external,R._fsPath=T._sep===h?T.fsPath:null,R}}return T}}const h=i?1:void 0;class m extends f{constructor(){super(...arguments);Je(this,"_formatted",null);Je(this,"_fsPath",null)}get fsPath(){return this._fsPath||(this._fsPath=E(this)),this._fsPath}toString(R=!1){return R?v(this,!0):(this._formatted||(this._formatted=v(this,!1)),this._formatted)}toJSON(){const R={$mid:1};return this._fsPath&&(R.fsPath=this._fsPath,R._sep=h),this._formatted&&(R.external=this._formatted),this.path&&(R.path=this.path),this.scheme&&(R.scheme=this.scheme),this.authority&&(R.authority=this.authority),this.query&&(R.query=this.query),this.fragment&&(R.fragment=this.fragment),R}}const g={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function _(A,T,R){let N,L=-1;for(let O=0;O=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===45||w===46||w===95||w===126||T&&w===47||R&&w===91||R&&w===93||R&&w===58)L!==-1&&(N+=encodeURIComponent(A.substring(L,O)),L=-1),N!==void 0&&(N+=A.charAt(O));else{N===void 0&&(N=A.substr(0,O));const ye=g[w];ye!==void 0?(L!==-1&&(N+=encodeURIComponent(A.substring(L,O)),L=-1),N+=ye):L===-1&&(L=O)}}return L!==-1&&(N+=encodeURIComponent(A.substring(L))),N!==void 0?N:A}function y(A){let T;for(let R=0;R1&&A.scheme==="file"?`//${A.authority}${A.path}`:A.path.charCodeAt(0)===47&&(A.path.charCodeAt(1)>=65&&A.path.charCodeAt(1)<=90||A.path.charCodeAt(1)>=97&&A.path.charCodeAt(1)<=122)&&A.path.charCodeAt(2)===58?A.path[1].toLowerCase()+A.path.substr(2):A.path,i&&(R=R.replace(/\//g,"\\")),R}function v(A,T){const R=T?y:_;let N="",{scheme:L,authority:O,path:w,query:ye,fragment:z}=A;if(L&&(N+=L,N+=":"),(O||L==="file")&&(N+=u,N+=u),O){let B=O.indexOf("@");if(B!==-1){const at=O.substr(0,B);O=O.substr(B+1),B=at.lastIndexOf(":"),B===-1?N+=R(at,!1,!1):(N+=R(at.substr(0,B),!1,!1),N+=":",N+=R(at.substr(B+1),!1,!0)),N+="@"}O=O.toLowerCase(),B=O.lastIndexOf(":"),B===-1?N+=R(O,!1,!0):(N+=R(O.substr(0,B),!1,!0),N+=O.substr(B))}if(w){if(w.length>=3&&w.charCodeAt(0)===47&&w.charCodeAt(2)===58){const B=w.charCodeAt(1);B>=65&&B<=90&&(w=`/${String.fromCharCode(B+32)}:${w.substr(3)}`)}else if(w.length>=2&&w.charCodeAt(1)===58){const B=w.charCodeAt(0);B>=65&&B<=90&&(w=`${String.fromCharCode(B+32)}:${w.substr(2)}`)}N+=R(w,!0,!1)}return ye&&(N+="?",N+=R(ye,!1,!1)),z&&(N+="#",N+=T?z:_(z,!1,!1)),N}function I(A){try{return decodeURIComponent(A)}catch{return A.length>3?A.substr(0,3)+I(A.substr(3)):A}}const j=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function ne(A){return A.match(j)?A.replace(j,T=>I(T)):A}var Ce=t(470);const ge=Ce.posix||Ce,De="/";var be;(function(A){A.joinPath=function(T,...R){return T.with({path:ge.join(T.path,...R)})},A.resolvePath=function(T,...R){let N=T.path,L=!1;N[0]!==De&&(N=De+N,L=!0);let O=ge.resolve(N,...R);return L&&O[0]===De&&!T.authority&&(O=O.substring(1)),T.with({path:O})},A.dirname=function(T){if(T.path.length===0||T.path===De)return T;let R=ge.dirname(T.path);return R.length===1&&R.charCodeAt(0)===46&&(R=""),T.with({path:R})},A.basename=function(T){return ge.basename(T.path)},A.extname=function(T){return ge.extname(T.path)}})(be||(be={}))})(),pc=r})();const{URI:Wt,Utils:sn}=pc;var rt;(function(n){n.basename=sn.basename,n.dirname=sn.dirname,n.extname=sn.extname,n.joinPath=sn.joinPath,n.resolvePath=sn.resolvePath;function e(r,i){return(r==null?void 0:r.toString())===(i==null?void 0:i.toString())}n.equals=e;function t(r,i){const s=typeof r=="string"?r:r.path,a=typeof i=="string"?i:i.path,o=s.split("/").filter(f=>f.length>0),l=a.split("/").filter(f=>f.length>0);let c=0;for(;ci??(i=mi.create(e.toString(),r.getServices(e).LanguageMetaData.languageId,0,t??""))}}class om{constructor(e){this.documentMap=new Map,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory}get all(){return Q(this.documentMap.values())}addDocument(e){const t=e.uri.toString();if(this.documentMap.has(t))throw new Error(`A document with the URI '${t}' is already present.`);this.documentMap.set(t,e)}getDocument(e){const t=e.toString();return this.documentMap.get(t)}async getOrCreateDocument(e,t){let r=this.getDocument(e);return r||(r=await this.langiumDocumentFactory.fromUri(e,t),this.addDocument(r),r)}createDocument(e,t,r){if(r)return this.langiumDocumentFactory.fromString(t,e,r).then(i=>(this.addDocument(i),i));{const i=this.langiumDocumentFactory.fromString(t,e);return this.addDocument(i),i}}hasDocument(e){return this.documentMap.has(e.toString())}invalidateDocument(e){const t=e.toString(),r=this.documentMap.get(t);return r&&(r.state=U.Changed,r.precomputedScopes=void 0,r.references=[],r.diagnostics=void 0),r}deleteDocument(e){const t=e.toString(),r=this.documentMap.get(t);return r&&(r.state=U.Changed,this.documentMap.delete(t)),r}}class lm{constructor(e){this.reflection=e.shared.AstReflection,this.langiumDocuments=()=>e.shared.workspace.LangiumDocuments,this.scopeProvider=e.references.ScopeProvider,this.astNodeLocator=e.workspace.AstNodeLocator}async link(e,t=X.None){for(const r of Et(e.parseResult.value))await Le(t),Zo(r).forEach(i=>this.doLink(i,e))}doLink(e,t){const r=e.reference;if(r._ref===void 0)try{const i=this.getCandidate(e);if(kn(i))r._ref=i;else if(r._nodeDescription=i,this.langiumDocuments().hasDocument(i.documentUri)){const s=this.loadAstNode(i);r._ref=s??this.createLinkingError(e,i)}}catch(i){r._ref=Object.assign(Object.assign({},e),{message:`An error occurred while resolving reference to '${r.$refText}': ${i}`})}t.references.push(r)}unlink(e){for(const t of e.references)delete t._ref,delete t._nodeDescription;e.references=[]}getCandidate(e){const r=this.scopeProvider.getScope(e).getElement(e.reference.$refText);return r??this.createLinkingError(e)}buildReference(e,t,r,i){const s=this,a={$refNode:r,$refText:i,get ref(){var o;if(ae(this._ref))return this._ref;if(Nu(this._nodeDescription)){const l=s.loadAstNode(this._nodeDescription);this._ref=l??s.createLinkingError({reference:a,container:e,property:t},this._nodeDescription)}else if(this._ref===void 0){const l=s.getLinkedNode({reference:a,container:e,property:t});if(l.error&&Ue(e).state=e.end)return s.ref}}if(r){const i=this.nameProvider.getNameNode(r);if(i&&(i===e||Su(e,i)))return r}}}findDeclarationNode(e){const t=this.findDeclaration(e);if(t!=null&&t.$cstNode){const r=this.nameProvider.getNameNode(t);return r??t.$cstNode}}findReferences(e,t){const r=[];if(t.includeDeclaration){const s=this.getReferenceToSelf(e);s&&r.push(s)}let i=this.index.findAllReferences(e,this.nodeLocator.getAstNodePath(e));return t.documentUri&&(i=i.filter(s=>rt.equals(s.sourceUri,t.documentUri))),r.push(...i),Q(r)}getReferenceToSelf(e){const t=this.nameProvider.getNameNode(e);if(t){const r=Ue(e),i=this.nodeLocator.getAstNodePath(e);return{sourceUri:r.uri,sourcePath:i,targetUri:r.uri,targetPath:i,segment:Ln(t),local:!0}}}}class Wi{constructor(e){if(this.map=new Map,e)for(const[t,r]of e)this.add(t,r)}get size(){return Pr.sum(Q(this.map.values()).map(e=>e.length))}clear(){this.map.clear()}delete(e,t){if(t===void 0)return this.map.delete(e);{const r=this.map.get(e);if(r){const i=r.indexOf(t);if(i>=0)return r.length===1?this.map.delete(e):r.splice(i,1),!0}return!1}}get(e){var t;return(t=this.map.get(e))!==null&&t!==void 0?t:[]}has(e,t){if(t===void 0)return this.map.has(e);{const r=this.map.get(e);return r?r.indexOf(t)>=0:!1}}add(e,t){return this.map.has(e)?this.map.get(e).push(t):this.map.set(e,[t]),this}addAll(e,t){return this.map.has(e)?this.map.get(e).push(...t):this.map.set(e,Array.from(t)),this}forEach(e){this.map.forEach((t,r)=>t.forEach(i=>e(i,r,this)))}[Symbol.iterator](){return this.entries().iterator()}entries(){return Q(this.map.entries()).flatMap(([e,t])=>t.map(r=>[e,r]))}keys(){return Q(this.map.keys())}values(){return Q(this.map.values()).flat()}entriesGroupedByKey(){return Q(this.map.entries())}}class Ha{get size(){return this.map.size}constructor(e){if(this.map=new Map,this.inverse=new Map,e)for(const[t,r]of e)this.set(t,r)}clear(){this.map.clear(),this.inverse.clear()}set(e,t){return this.map.set(e,t),this.inverse.set(t,e),this}get(e){return this.map.get(e)}getKey(e){return this.inverse.get(e)}delete(e){const t=this.map.get(e);return t!==void 0?(this.map.delete(e),this.inverse.delete(t),!0):!1}}class fm{constructor(e){this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider}async computeExports(e,t=X.None){return this.computeExportsForNode(e.parseResult.value,e,void 0,t)}async computeExportsForNode(e,t,r=ki,i=X.None){const s=[];this.exportNode(e,s,t);for(const a of r(e))await Le(i),this.exportNode(a,s,t);return s}exportNode(e,t,r){const i=this.nameProvider.getName(e);i&&t.push(this.descriptions.createDescription(e,i,r))}async computeLocalScopes(e,t=X.None){const r=e.parseResult.value,i=new Wi;for(const s of pn(r))await Le(t),this.processNode(s,e,i);return i}processNode(e,t,r){const i=e.$container;if(i){const s=this.nameProvider.getName(e);s&&r.add(i,this.descriptions.createDescription(e,s,t))}}}class Va{constructor(e,t,r){var i;this.elements=e,this.outerScope=t,this.caseInsensitive=(i=r==null?void 0:r.caseInsensitive)!==null&&i!==void 0?i:!1}getAllElements(){return this.outerScope?this.elements.concat(this.outerScope.getAllElements()):this.elements}getElement(e){const t=this.caseInsensitive?this.elements.find(r=>r.name.toLowerCase()===e.toLowerCase()):this.elements.find(r=>r.name===e);if(t)return t;if(this.outerScope)return this.outerScope.getElement(e)}}class hm{constructor(e,t,r){var i;this.elements=new Map,this.caseInsensitive=(i=r==null?void 0:r.caseInsensitive)!==null&&i!==void 0?i:!1;for(const s of e){const a=this.caseInsensitive?s.name.toLowerCase():s.name;this.elements.set(a,s)}this.outerScope=t}getElement(e){const t=this.caseInsensitive?e.toLowerCase():e,r=this.elements.get(t);if(r)return r;if(this.outerScope)return this.outerScope.getElement(e)}getAllElements(){let e=Q(this.elements.values());return this.outerScope&&(e=e.concat(this.outerScope.getAllElements())),e}}class mc{constructor(){this.toDispose=[],this.isDisposed=!1}onDispose(e){this.toDispose.push(e)}dispose(){this.throwIfDisposed(),this.clear(),this.isDisposed=!0,this.toDispose.forEach(e=>e.dispose())}throwIfDisposed(){if(this.isDisposed)throw new Error("This cache has already been disposed")}}class pm extends mc{constructor(){super(...arguments),this.cache=new Map}has(e){return this.throwIfDisposed(),this.cache.has(e)}set(e,t){this.throwIfDisposed(),this.cache.set(e,t)}get(e,t){if(this.throwIfDisposed(),this.cache.has(e))return this.cache.get(e);if(t){const r=t();return this.cache.set(e,r),r}else return}delete(e){return this.throwIfDisposed(),this.cache.delete(e)}clear(){this.throwIfDisposed(),this.cache.clear()}}class mm extends mc{constructor(e){super(),this.cache=new Map,this.converter=e??(t=>t)}has(e,t){return this.throwIfDisposed(),this.cacheForContext(e).has(t)}set(e,t,r){this.throwIfDisposed(),this.cacheForContext(e).set(t,r)}get(e,t,r){this.throwIfDisposed();const i=this.cacheForContext(e);if(i.has(t))return i.get(t);if(r){const s=r();return i.set(t,s),s}else return}delete(e,t){return this.throwIfDisposed(),this.cacheForContext(e).delete(t)}clear(e){if(this.throwIfDisposed(),e){const t=this.converter(e);this.cache.delete(t)}else this.cache.clear()}cacheForContext(e){const t=this.converter(e);let r=this.cache.get(t);return r||(r=new Map,this.cache.set(t,r)),r}}class gm extends pm{constructor(e){super(),this.onDispose(e.workspace.DocumentBuilder.onUpdate(()=>{this.clear()}))}}class ym{constructor(e){this.reflection=e.shared.AstReflection,this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider,this.indexManager=e.shared.workspace.IndexManager,this.globalScopeCache=new gm(e.shared)}getScope(e){const t=[],r=this.reflection.getReferenceType(e),i=Ue(e.container).precomputedScopes;if(i){let a=e.container;do{const o=i.get(a);o.length>0&&t.push(Q(o).filter(l=>this.reflection.isSubtype(l.type,r))),a=a.$container}while(a)}let s=this.getGlobalScope(r,e);for(let a=t.length-1;a>=0;a--)s=this.createScope(t[a],s);return s}createScope(e,t,r){return new Va(Q(e),t,r)}createScopeForNodes(e,t,r){const i=Q(e).map(s=>{const a=this.nameProvider.getName(s);if(a)return this.descriptions.createDescription(s,a)}).nonNullable();return new Va(i,t,r)}getGlobalScope(e,t){return this.globalScopeCache.get(e,()=>new hm(this.indexManager.allElements(e)))}}function Tm(n){return typeof n.$comment=="string"}function Wa(n){return typeof n=="object"&&!!n&&("$ref"in n||"$error"in n)}class vm{constructor(e){this.ignoreProperties=new Set(["$container","$containerProperty","$containerIndex","$document","$cstNode"]),this.langiumDocuments=e.shared.workspace.LangiumDocuments,this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider,this.commentProvider=e.documentation.CommentProvider}serialize(e,t={}){const r=t==null?void 0:t.replacer,i=(a,o)=>this.replacer(a,o,t),s=r?(a,o)=>r(a,o,i):i;try{return this.currentDocument=Ue(e),JSON.stringify(e,s,t==null?void 0:t.space)}finally{this.currentDocument=void 0}}deserialize(e,t={}){const r=JSON.parse(e);return this.linkNode(r,r,t),r}replacer(e,t,{refText:r,sourceText:i,textRegions:s,comments:a,uriConverter:o}){var l,c,u,d;if(!this.ignoreProperties.has(e))if(Ge(t)){const f=t.ref,h=r?t.$refText:void 0;if(f){const m=Ue(f);let g="";this.currentDocument&&this.currentDocument!==m&&(o?g=o(m.uri,t):g=m.uri.toString());const _=this.astNodeLocator.getAstNodePath(f);return{$ref:`${g}#${_}`,$refText:h}}else return{$error:(c=(l=t.error)===null||l===void 0?void 0:l.message)!==null&&c!==void 0?c:"Could not resolve reference",$refText:h}}else if(ae(t)){let f;if(s&&(f=this.addAstNodeRegionWithAssignmentsTo(Object.assign({},t)),(!e||t.$document)&&(f!=null&&f.$textRegion)&&(f.$textRegion.documentURI=(u=this.currentDocument)===null||u===void 0?void 0:u.uri.toString())),i&&!e&&(f??(f=Object.assign({},t)),f.$sourceText=(d=t.$cstNode)===null||d===void 0?void 0:d.text),a){f??(f=Object.assign({},t));const h=this.commentProvider.getComment(t);h&&(f.$comment=h.replace(/\r/g,""))}return f??t}else return t}addAstNodeRegionWithAssignmentsTo(e){const t=r=>({offset:r.offset,end:r.end,length:r.length,range:r.range});if(e.$cstNode){const r=e.$textRegion=t(e.$cstNode),i=r.assignments={};return Object.keys(e).filter(s=>!s.startsWith("$")).forEach(s=>{const a=bd(e.$cstNode,s).map(t);a.length!==0&&(i[s]=a)}),e}}linkNode(e,t,r,i,s,a){for(const[l,c]of Object.entries(e))if(Array.isArray(c))for(let u=0;u{try{await e.call(t,r,i,s)}catch(a){if(Hi(a))throw a;console.error("An error occurred during validation:",a);const o=a instanceof Error?a.message:String(a);a instanceof Error&&a.stack&&console.error(a.stack),i("error","An error occurred during validation: "+o,{node:r})}}}addEntry(e,t){if(e==="AstNode"){this.entries.add("AstNode",t);return}for(const r of this.reflection.getAllSubTypes(e))this.entries.add(r,t)}getChecks(e,t){let r=Q(this.entries.get(e)).concat(this.entries.get("AstNode"));return t&&(r=r.filter(i=>t.includes(i.category))),r.map(i=>i.check)}}class Rm{constructor(e){this.validationRegistry=e.validation.ValidationRegistry,this.metadata=e.LanguageMetaData}async validateDocument(e,t={},r=X.None){const i=e.parseResult,s=[];if(await Le(r),(!t.categories||t.categories.includes("built-in"))&&(this.processLexingErrors(i,s,t),t.stopAfterLexingErrors&&s.some(a=>{var o;return((o=a.data)===null||o===void 0?void 0:o.code)===Qe.LexingError})||(this.processParsingErrors(i,s,t),t.stopAfterParsingErrors&&s.some(a=>{var o;return((o=a.data)===null||o===void 0?void 0:o.code)===Qe.ParsingError}))||(this.processLinkingErrors(e,s,t),t.stopAfterLinkingErrors&&s.some(a=>{var o;return((o=a.data)===null||o===void 0?void 0:o.code)===Qe.LinkingError}))))return s;try{s.push(...await this.validateAst(i.value,t,r))}catch(a){if(Hi(a))throw a;console.error("An error occurred during validation:",a)}return await Le(r),s}processLexingErrors(e,t,r){for(const i of e.lexerErrors){const s={severity:Or("error"),range:{start:{line:i.line-1,character:i.column-1},end:{line:i.line-1,character:i.column+i.length-1}},message:i.message,data:Ka(Qe.LexingError),source:this.getSource()};t.push(s)}}processParsingErrors(e,t,r){for(const i of e.parserErrors){let s;if(isNaN(i.token.startOffset)){if("previousToken"in i){const a=i.previousToken;if(isNaN(a.startOffset)){const o={line:0,character:0};s={start:o,end:o}}else{const o={line:a.endLine-1,character:a.endColumn};s={start:o,end:o}}}}else s=Dr(i.token);if(s){const a={severity:Or("error"),range:s,message:i.message,data:Ka(Qe.ParsingError),source:this.getSource()};t.push(a)}}}processLinkingErrors(e,t,r){for(const i of e.references){const s=i.error;if(s){const a={node:s.container,property:s.property,index:s.index,data:{code:Qe.LinkingError,containerType:s.container.$type,property:s.property,refText:s.reference.$refText}};t.push(this.toDiagnostic("error",s.message,a))}}}async validateAst(e,t,r=X.None){const i=[],s=(a,o,l)=>{i.push(this.toDiagnostic(a,o,l))};return await Promise.all(Et(e).map(async a=>{await Le(r);const o=this.validationRegistry.getChecks(a.$type,t.categories);for(const l of o)await l(a,s,r)})),i}toDiagnostic(e,t,r){return{message:t,range:Am(r),severity:Or(e),code:r.code,codeDescription:r.codeDescription,tags:r.tags,relatedInformation:r.relatedInformation,data:r.data,source:this.getSource()}}getSource(){return this.metadata.languageId}}function Am(n){if(n.range)return n.range;let e;return typeof n.property=="string"?e=il(n.node.$cstNode,n.property,n.index):typeof n.keyword=="string"&&(e=Nd(n.node.$cstNode,n.keyword,n.index)),e??(e=n.node.$cstNode),e?e.range:{start:{line:0,character:0},end:{line:0,character:0}}}function Or(n){switch(n){case"error":return 1;case"warning":return 2;case"info":return 3;case"hint":return 4;default:throw new Error("Invalid diagnostic severity: "+n)}}var Qe;(function(n){n.LexingError="lexing-error",n.ParsingError="parsing-error",n.LinkingError="linking-error"})(Qe||(Qe={}));class bm{constructor(e){this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider}createDescription(e,t,r=Ue(e)){t??(t=this.nameProvider.getName(e));const i=this.astNodeLocator.getAstNodePath(e);if(!t)throw new Error(`Node at path ${i} has no name.`);let s;const a=()=>{var o;return s??(s=Ln((o=this.nameProvider.getNameNode(e))!==null&&o!==void 0?o:e.$cstNode))};return{node:e,name:t,get nameSegment(){return a()},selectionSegment:Ln(e.$cstNode),type:e.$type,documentUri:r.uri,path:i}}}class Nm{constructor(e){this.nodeLocator=e.workspace.AstNodeLocator}async createDescriptions(e,t=X.None){const r=[],i=e.parseResult.value;for(const s of Et(i))await Le(t),Zo(s).filter(a=>!kn(a)).forEach(a=>{const o=this.createDescription(a);o&&r.push(o)});return r}createDescription(e){const t=e.reference.$nodeDescription,r=e.reference.$refNode;if(!t||!r)return;const i=Ue(e.container).uri;return{sourceUri:i,sourcePath:this.nodeLocator.getAstNodePath(e.container),targetUri:t.documentUri,targetPath:t.path,segment:Ln(r),local:rt.equals(t.documentUri,i)}}}class km{constructor(){this.segmentSeparator="/",this.indexSeparator="@"}getAstNodePath(e){if(e.$container){const t=this.getAstNodePath(e.$container),r=this.getPathSegment(e);return t+this.segmentSeparator+r}return""}getPathSegment({$containerProperty:e,$containerIndex:t}){if(!e)throw new Error("Missing '$containerProperty' in AST node.");return t!==void 0?e+this.indexSeparator+t:e}getAstNode(e,t){return t.split(this.segmentSeparator).reduce((i,s)=>{if(!i||s.length===0)return i;const a=s.indexOf(this.indexSeparator);if(a>0){const o=s.substring(0,a),l=parseInt(s.substring(a+1)),c=i[o];return c==null?void 0:c[l]}return i[s]},e)}}class Im{constructor(e){this._ready=new Vi,this.settings={},this.workspaceConfig=!1,this.serviceRegistry=e.ServiceRegistry}get ready(){return this._ready.promise}initialize(e){var t,r;this.workspaceConfig=(r=(t=e.capabilities.workspace)===null||t===void 0?void 0:t.configuration)!==null&&r!==void 0?r:!1}async initialized(e){if(this.workspaceConfig){if(e.register){const t=this.serviceRegistry.all;e.register({section:t.map(r=>this.toSectionName(r.LanguageMetaData.languageId))})}if(e.fetchConfiguration){const t=this.serviceRegistry.all.map(i=>({section:this.toSectionName(i.LanguageMetaData.languageId)})),r=await e.fetchConfiguration(t);t.forEach((i,s)=>{this.updateSectionConfiguration(i.section,r[s])})}}this._ready.resolve()}updateConfiguration(e){e.settings&&Object.keys(e.settings).forEach(t=>{this.updateSectionConfiguration(t,e.settings[t])})}updateSectionConfiguration(e,t){this.settings[e]=t}async getConfiguration(e,t){await this.ready;const r=this.toSectionName(e);if(this.settings[r])return this.settings[r][t]}toSectionName(e){return`${e}`}}var er;(function(n){function e(t){return{dispose:async()=>await t()}}n.create=e})(er||(er={}));class Sm{constructor(e){this.updateBuildOptions={validation:{categories:["built-in","fast"]}},this.updateListeners=[],this.buildPhaseListeners=new Wi,this.buildState=new Map,this.documentBuildWaiters=new Map,this.currentState=U.Changed,this.langiumDocuments=e.workspace.LangiumDocuments,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory,this.indexManager=e.workspace.IndexManager,this.serviceRegistry=e.ServiceRegistry}async build(e,t={},r=X.None){var i,s;for(const a of e){const o=a.uri.toString();if(a.state===U.Validated){if(typeof t.validation=="boolean"&&t.validation)a.state=U.IndexedReferences,a.diagnostics=void 0,this.buildState.delete(o);else if(typeof t.validation=="object"){const l=this.buildState.get(o),c=(i=l==null?void 0:l.result)===null||i===void 0?void 0:i.validationChecks;if(c){const d=((s=t.validation.categories)!==null&&s!==void 0?s:Zn.all).filter(f=>!c.includes(f));d.length>0&&(this.buildState.set(o,{completed:!1,options:{validation:Object.assign(Object.assign({},t.validation),{categories:d})},result:l.result}),a.state=U.IndexedReferences)}}}else this.buildState.delete(o)}this.currentState=U.Changed,await this.emitUpdate(e.map(a=>a.uri),[]),await this.buildDocuments(e,t,r)}async update(e,t,r=X.None){this.currentState=U.Changed;for(const a of t)this.langiumDocuments.deleteDocument(a),this.buildState.delete(a.toString()),this.indexManager.remove(a);for(const a of e){if(!this.langiumDocuments.invalidateDocument(a)){const l=this.langiumDocumentFactory.fromModel({$type:"INVALID"},a);l.state=U.Changed,this.langiumDocuments.addDocument(l)}this.buildState.delete(a.toString())}const i=Q(e).concat(t).map(a=>a.toString()).toSet();this.langiumDocuments.all.filter(a=>!i.has(a.uri.toString())&&this.shouldRelink(a,i)).forEach(a=>{this.serviceRegistry.getServices(a.uri).references.Linker.unlink(a),a.state=Math.min(a.state,U.ComputedScopes),a.diagnostics=void 0}),await this.emitUpdate(e,t),await Le(r);const s=this.langiumDocuments.all.filter(a=>{var o;return a.stater(e,t)))}shouldRelink(e,t){return e.references.some(r=>r.error!==void 0)?!0:this.indexManager.isAffected(e,t)}onUpdate(e){return this.updateListeners.push(e),er.create(()=>{const t=this.updateListeners.indexOf(e);t>=0&&this.updateListeners.splice(t,1)})}async buildDocuments(e,t,r){this.prepareBuild(e,t),await this.runCancelable(e,U.Parsed,r,s=>this.langiumDocumentFactory.update(s,r)),await this.runCancelable(e,U.IndexedContent,r,s=>this.indexManager.updateContent(s,r)),await this.runCancelable(e,U.ComputedScopes,r,async s=>{const a=this.serviceRegistry.getServices(s.uri).references.ScopeComputation;s.precomputedScopes=await a.computeLocalScopes(s,r)}),await this.runCancelable(e,U.Linked,r,s=>this.serviceRegistry.getServices(s.uri).references.Linker.link(s,r)),await this.runCancelable(e,U.IndexedReferences,r,s=>this.indexManager.updateReferences(s,r));const i=e.filter(s=>this.shouldValidate(s));await this.runCancelable(i,U.Validated,r,s=>this.validate(s,r));for(const s of e){const a=this.buildState.get(s.uri.toString());a&&(a.completed=!0)}}prepareBuild(e,t){for(const r of e){const i=r.uri.toString(),s=this.buildState.get(i);(!s||s.completed)&&this.buildState.set(i,{completed:!1,options:t,result:s==null?void 0:s.result})}}async runCancelable(e,t,r,i){const s=e.filter(a=>a.state{this.buildPhaseListeners.delete(e,t)})}waitUntil(e,t,r){let i;if(t&&"path"in t?i=t:r=t,r??(r=X.None),i){const s=this.langiumDocuments.getDocument(i);if(s&&s.state>e)return Promise.resolve(i)}return this.currentState>=e?Promise.resolve(void 0):r.isCancellationRequested?Promise.reject(Qn):new Promise((s,a)=>{const o=this.onBuildPhase(e,()=>{if(o.dispose(),l.dispose(),i){const c=this.langiumDocuments.getDocument(i);s(c==null?void 0:c.uri)}else s(void 0)}),l=r.onCancellationRequested(()=>{o.dispose(),l.dispose(),a(Qn)})})}async notifyBuildPhase(e,t,r){if(e.length===0)return;const i=this.buildPhaseListeners.get(t);for(const s of i)await Le(r),await s(e,r)}shouldValidate(e){return!!this.getBuildOptions(e).validation}async validate(e,t){var r,i;const s=this.serviceRegistry.getServices(e.uri).validation.DocumentValidator,a=this.getBuildOptions(e).validation,o=typeof a=="object"?a:void 0,l=await s.validateDocument(e,o,t);e.diagnostics?e.diagnostics.push(...l):e.diagnostics=l;const c=this.buildState.get(e.uri.toString());if(c){(r=c.result)!==null&&r!==void 0||(c.result={});const u=(i=o==null?void 0:o.categories)!==null&&i!==void 0?i:Zn.all;c.result.validationChecks?c.result.validationChecks.push(...u):c.result.validationChecks=[...u]}}getBuildOptions(e){var t,r;return(r=(t=this.buildState.get(e.uri.toString()))===null||t===void 0?void 0:t.options)!==null&&r!==void 0?r:{}}}class xm{constructor(e){this.symbolIndex=new Map,this.symbolByTypeIndex=new mm,this.referenceIndex=new Map,this.documents=e.workspace.LangiumDocuments,this.serviceRegistry=e.ServiceRegistry,this.astReflection=e.AstReflection}findAllReferences(e,t){const r=Ue(e).uri,i=[];return this.referenceIndex.forEach(s=>{s.forEach(a=>{rt.equals(a.targetUri,r)&&a.targetPath===t&&i.push(a)})}),Q(i)}allElements(e,t){let r=Q(this.symbolIndex.keys());return t&&(r=r.filter(i=>!t||t.has(i))),r.map(i=>this.getFileDescriptions(i,e)).flat()}getFileDescriptions(e,t){var r;return t?this.symbolByTypeIndex.get(e,t,()=>{var s;return((s=this.symbolIndex.get(e))!==null&&s!==void 0?s:[]).filter(o=>this.astReflection.isSubtype(o.type,t))}):(r=this.symbolIndex.get(e))!==null&&r!==void 0?r:[]}remove(e){const t=e.toString();this.symbolIndex.delete(t),this.symbolByTypeIndex.clear(t),this.referenceIndex.delete(t)}async updateContent(e,t=X.None){const i=await this.serviceRegistry.getServices(e.uri).references.ScopeComputation.computeExports(e,t),s=e.uri.toString();this.symbolIndex.set(s,i),this.symbolByTypeIndex.clear(s)}async updateReferences(e,t=X.None){const i=await this.serviceRegistry.getServices(e.uri).workspace.ReferenceDescriptionProvider.createDescriptions(e,t);this.referenceIndex.set(e.uri.toString(),i)}isAffected(e,t){const r=this.referenceIndex.get(e.uri.toString());return r?r.some(i=>!i.local&&t.has(i.targetUri.toString())):!1}}class Cm{constructor(e){this.initialBuildOptions={},this._ready=new Vi,this.serviceRegistry=e.ServiceRegistry,this.langiumDocuments=e.workspace.LangiumDocuments,this.documentBuilder=e.workspace.DocumentBuilder,this.fileSystemProvider=e.workspace.FileSystemProvider,this.mutex=e.workspace.WorkspaceLock}get ready(){return this._ready.promise}initialize(e){var t;this.folders=(t=e.workspaceFolders)!==null&&t!==void 0?t:void 0}initialized(e){return this.mutex.write(t=>{var r;return this.initializeWorkspace((r=this.folders)!==null&&r!==void 0?r:[],t)})}async initializeWorkspace(e,t=X.None){const r=await this.performStartup(e);await Le(t),await this.documentBuilder.build(r,this.initialBuildOptions,t)}async performStartup(e){const t=this.serviceRegistry.all.flatMap(s=>s.LanguageMetaData.fileExtensions),r=[],i=s=>{r.push(s),this.langiumDocuments.hasDocument(s.uri)||this.langiumDocuments.addDocument(s)};return await this.loadAdditionalDocuments(e,i),await Promise.all(e.map(s=>[s,this.getRootFolder(s)]).map(async s=>this.traverseFolder(...s,t,i))),this._ready.resolve(),r}loadAdditionalDocuments(e,t){return Promise.resolve()}getRootFolder(e){return Wt.parse(e.uri)}async traverseFolder(e,t,r,i){const s=await this.fileSystemProvider.readDirectory(t);await Promise.all(s.map(async a=>{if(this.includeEntry(e,a,r)){if(a.isDirectory)await this.traverseFolder(e,a.uri,r,i);else if(a.isFile){const o=await this.langiumDocuments.getOrCreateDocument(a.uri);i(o)}}}))}includeEntry(e,t,r){const i=rt.basename(t.uri);if(i.startsWith("."))return!1;if(t.isDirectory)return i!=="node_modules"&&i!=="out";if(t.isFile){const s=rt.extname(t.uri);return r.includes(s)}return!1}}class wm{constructor(e){const t=e.parser.TokenBuilder.buildTokens(e.Grammar,{caseInsensitive:e.LanguageMetaData.caseInsensitive});this.tokenTypes=this.toTokenTypeDictionary(t);const r=za(t)?Object.values(t):t;this.chevrotainLexer=new de(r,{positionTracking:"full"})}get definition(){return this.tokenTypes}tokenize(e){var t;const r=this.chevrotainLexer.tokenize(e);return{tokens:r.tokens,errors:r.errors,hidden:(t=r.groups.hidden)!==null&&t!==void 0?t:[]}}toTokenTypeDictionary(e){if(za(e))return e;const t=gc(e)?Object.values(e.modes).flat():e,r={};return t.forEach(i=>r[i.name]=i),r}}function Om(n){return Array.isArray(n)&&(n.length===0||"name"in n[0])}function gc(n){return n&&"modes"in n&&"defaultMode"in n}function za(n){return!Om(n)&&!gc(n)}function Lm(n,e,t){let r,i;typeof n=="string"?(i=e,r=t):(i=n.range.start,r=e),i||(i=P.create(0,0));const s=yc(n),a=Ki(r),o=Mm({lines:s,position:i,options:a});return Fm({index:0,tokens:o,position:i})}function $m(n,e){const t=Ki(e),r=yc(n);if(r.length===0)return!1;const i=r[0],s=r[r.length-1],a=t.start,o=t.end;return!!(a!=null&&a.exec(i))&&!!(o!=null&&o.exec(s))}function yc(n){let e="";return typeof n=="string"?e=n:e=n.text,e.split(hd)}const qa=/\s*(@([\p{L}][\p{L}\p{N}]*)?)/uy,Pm=/\{(@[\p{L}][\p{L}\p{N}]*)(\s*)([^\r\n}]+)?\}/gu;function Mm(n){var e,t,r;const i=[];let s=n.position.line,a=n.position.character;for(let o=0;o=u.length){if(i.length>0){const h=P.create(s,a);i.push({type:"break",content:"",range:$.create(h,h)})}}else{qa.lastIndex=d;const h=qa.exec(u);if(h){const m=h[0],g=h[1],_=P.create(s,a+d),y=P.create(s,a+d+m.length);i.push({type:"tag",content:g,range:$.create(_,y)}),d+=m.length,d=yi(u,d)}if(d0&&i[i.length-1].type==="break"?i.slice(0,-1):i}function Dm(n,e,t,r){const i=[];if(n.length===0){const s=P.create(t,r),a=P.create(t,r+e.length);i.push({type:"text",content:e,range:$.create(s,a)})}else{let s=0;for(const o of n){const l=o.index,c=e.substring(s,l);c.length>0&&i.push({type:"text",content:e.substring(s,l),range:$.create(P.create(t,s+r),P.create(t,l+r))});let u=c.length+1;const d=o[1];if(i.push({type:"inline-tag",content:d,range:$.create(P.create(t,s+u+r),P.create(t,s+u+d.length+r))}),u+=d.length,o.length===4){u+=o[2].length;const f=o[3];i.push({type:"text",content:f,range:$.create(P.create(t,s+u+r),P.create(t,s+u+f.length+r))})}else i.push({type:"text",content:"",range:$.create(P.create(t,s+u+r),P.create(t,s+u+r))});s=l+o[0].length}const a=e.substring(s);a.length>0&&i.push({type:"text",content:a,range:$.create(P.create(t,s+r),P.create(t,s+r+a.length))})}return i}const jm=/\S/,Gm=/\s*$/;function yi(n,e){const t=n.substring(e).match(jm);return t?e+t.index:n.length}function Um(n){const e=n.match(Gm);if(e&&typeof e.index=="number")return e.index}function Fm(n){var e,t,r,i;const s=P.create(n.position.line,n.position.character);if(n.tokens.length===0)return new Ya([],$.create(s,s));const a=[];for(;n.indext.name===e)}getTags(e){return this.getAllTags().filter(t=>t.name===e)}getAllTags(){return this.elements.filter(e=>"name"in e)}toString(){let e="";for(const t of this.elements)if(e.length===0)e=t.toString();else{const r=t.toString();e+=Xa(e)+r}return e.trim()}toMarkdown(e){let t="";for(const r of this.elements)if(t.length===0)t=r.toMarkdown(e);else{const i=r.toMarkdown(e);t+=Xa(t)+i}return t.trim()}}class $r{constructor(e,t,r,i){this.name=e,this.content=t,this.inline=r,this.range=i}toString(){let e=`@${this.name}`;const t=this.content.toString();return this.content.inlines.length===1?e=`${e} ${t}`:this.content.inlines.length>1&&(e=`${e} +`;case"r":return"\r";case"t":return" ";case"v":return"\v";case"0":return"\0";default:return c}}function r(c){return c.charAt(0)==="^"?c.substring(1):c}n.convertID=r;function i(c){return parseInt(c)}n.convertInt=i;function s(c){return BigInt(c)}n.convertBigint=s;function a(c){return new Date(c)}n.convertDate=a;function o(c){return Number(c)}n.convertNumber=o;function l(c){return c.toLowerCase()==="true"}n.convertBoolean=l})(Ve||(Ve={}));var dn={},yr={};Object.defineProperty(yr,"__esModule",{value:!0});let di;function fi(){if(di===void 0)throw new Error("No runtime abstraction layer installed");return di}(function(n){function e(t){if(t===void 0)throw new Error("No runtime abstraction layer provided");di=t}n.install=e})(fi||(fi={}));yr.default=fi;var se={};Object.defineProperty(se,"__esModule",{value:!0});se.stringArray=se.array=se.func=se.error=se.number=se.string=se.boolean=void 0;function Kp(n){return n===!0||n===!1}se.boolean=Kp;function uc(n){return typeof n=="string"||n instanceof String}se.string=uc;function zp(n){return typeof n=="number"||n instanceof Number}se.number=zp;function qp(n){return n instanceof Error}se.error=qp;function Yp(n){return typeof n=="function"}se.func=Yp;function dc(n){return Array.isArray(n)}se.array=dc;function Xp(n){return dc(n)&&n.every(e=>uc(e))}se.stringArray=Xp;var Vt={};Object.defineProperty(Vt,"__esModule",{value:!0});Vt.Emitter=Vt.Event=void 0;const Jp=yr;var Ga;(function(n){const e={dispose(){}};n.None=function(){return e}})(Ga||(Vt.Event=Ga={}));class Qp{add(e,t=null,r){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(t),Array.isArray(r)&&r.push({dispose:()=>this.remove(e,t)})}remove(e,t=null){if(!this._callbacks)return;let r=!1;for(let i=0,s=this._callbacks.length;i{this._callbacks||(this._callbacks=new Qp),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,t);const i={dispose:()=>{this._callbacks&&(this._callbacks.remove(e,t),i.dispose=Tr._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))}};return Array.isArray(r)&&r.push(i),i}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}}Vt.Emitter=Tr;Tr._noop=function(){};var X;Object.defineProperty(dn,"__esModule",{value:!0});var hi=dn.CancellationTokenSource=X=dn.CancellationToken=void 0;const Zp=yr,em=se,pi=Vt;var Jn;(function(n){n.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:pi.Event.None}),n.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:pi.Event.None});function e(t){const r=t;return r&&(r===n.None||r===n.Cancelled||em.boolean(r.isCancellationRequested)&&!!r.onCancellationRequested)}n.is=e})(Jn||(X=dn.CancellationToken=Jn={}));const tm=Object.freeze(function(n,e){const t=(0,Zp.default)().timer.setTimeout(n.bind(e),0);return{dispose(){t.dispose()}}});class Ua{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?tm:(this._emitter||(this._emitter=new pi.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}}class nm{get token(){return this._token||(this._token=new Ua),this._token}cancel(){this._token?this._token.cancel():this._token=Jn.Cancelled}dispose(){this._token?this._token instanceof Ua&&this._token.dispose():this._token=Jn.None}}hi=dn.CancellationTokenSource=nm;function rm(){return new Promise(n=>{typeof setImmediate>"u"?setTimeout(n,0):setImmediate(n)})}let Fa=0,im=10;const Qn=Symbol("OperationCancelled");function Hi(n){return n===Qn}async function Le(n){if(n===X.None)return;const e=Date.now();if(e-Fa>=im&&(Fa=e,await rm()),n.isCancellationRequested)throw Qn}class Vi{constructor(){this.promise=new Promise((e,t)=>{this.resolve=r=>(e(r),this),this.reject=r=>(t(r),this)})}}class fn{constructor(e,t,r,i){this._uri=e,this._languageId=t,this._version=r,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){const t=this.offsetAt(e.start),r=this.offsetAt(e.end);return this._content.substring(t,r)}return this._content}update(e,t){for(const r of e)if(fn.isIncremental(r)){const i=hc(r.range),s=this.offsetAt(i.start),a=this.offsetAt(i.end);this._content=this._content.substring(0,s)+r.text+this._content.substring(a,this._content.length);const o=Math.max(i.start.line,0),l=Math.max(i.end.line,0);let c=this._lineOffsets;const u=Ba(r.text,!1,s);if(l-o===u.length)for(let f=0,h=u.length;fe?i=a:r=a+1}const s=r-1;return e=this.ensureBeforeEOL(e,t[s]),{line:s,character:e-t[s]}}offsetAt(e){const t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;const r=t[e.line];if(e.character<=0)return r;const i=e.line+1t&&fc(this._content.charCodeAt(e-1));)e--;return e}get lineCount(){return this.getLineOffsets().length}static isIncremental(e){const t=e;return t!=null&&typeof t.text=="string"&&t.range!==void 0&&(t.rangeLength===void 0||typeof t.rangeLength=="number")}static isFull(e){const t=e;return t!=null&&typeof t.text=="string"&&t.range===void 0&&t.rangeLength===void 0}}var mi;(function(n){function e(i,s,a,o){return new fn(i,s,a,o)}n.create=e;function t(i,s,a){if(i instanceof fn)return i.update(s,a),i;throw new Error("TextDocument.update: document must be created by TextDocument.create")}n.update=t;function r(i,s){const a=i.getText(),o=gi(s.map(sm),(u,d)=>{const f=u.range.start.line-d.range.start.line;return f===0?u.range.start.character-d.range.start.character:f});let l=0;const c=[];for(const u of o){const d=i.offsetAt(u.range.start);if(dl&&c.push(a.substring(l,d)),u.newText.length&&c.push(u.newText),l=i.offsetAt(u.range.end)}return c.push(a.substr(l)),c.join("")}n.applyEdits=r})(mi||(mi={}));function gi(n,e){if(n.length<=1)return n;const t=n.length/2|0,r=n.slice(0,t),i=n.slice(t);gi(r,e),gi(i,e);let s=0,a=0,o=0;for(;st.line||e.line===t.line&&e.character>t.character?{start:t,end:e}:n}function sm(n){const e=hc(n.range);return e!==n.range?{newText:n.newText,range:e}:n}var wr={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_9b3b18d1-9340-49ab-b4e8-5023772e0970",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_9b3b18d1-9340-49ab-b4e8-5023772e0970",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:1985",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12403591553",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_77bf6c2e-16c6-46b5-9674-d636e159247f",INVOCATION_ID:"2e23158896aa43b4b0c7cc0c353d16fa",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"468",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 17",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_9b3b18d1-9340-49ab-b4e8-5023772e0970",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_9b3b18d1-9340-49ab-b4e8-5023772e0970",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_9b3b18d1-9340-49ab-b4e8-5023772e0970",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2165,ppid:2164,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},pc;(()=>{var n={470:i=>{function s(l){if(typeof l!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(l))}function a(l,c){for(var u,d="",f=0,h=-1,m=0,g=0;g<=l.length;++g){if(g2){var _=d.lastIndexOf("/");if(_!==d.length-1){_===-1?(d="",f=0):f=(d=d.slice(0,_)).length-1-d.lastIndexOf("/"),h=g,m=0;continue}}else if(d.length===2||d.length===1){d="",f=0,h=g,m=0;continue}}c&&(d.length>0?d+="/..":d="..",f=2)}else d.length>0?d+="/"+l.slice(h+1,g):d=l.slice(h+1,g),f=g-h-1;h=g,m=0}else u===46&&m!==-1?++m:m=-1}return d}var o={resolve:function(){for(var l,c="",u=!1,d=arguments.length-1;d>=-1&&!u;d--){var f;d>=0?f=arguments[d]:(l===void 0&&(l=wr.cwd()),f=l),s(f),f.length!==0&&(c=f+"/"+c,u=f.charCodeAt(0)===47)}return c=a(c,!u),u?c.length>0?"/"+c:"/":c.length>0?c:"."},normalize:function(l){if(s(l),l.length===0)return".";var c=l.charCodeAt(0)===47,u=l.charCodeAt(l.length-1)===47;return(l=a(l,!c)).length!==0||c||(l="."),l.length>0&&u&&(l+="/"),c?"/"+l:l},isAbsolute:function(l){return s(l),l.length>0&&l.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var l,c=0;c0&&(l===void 0?l=u:l+="/"+u)}return l===void 0?".":o.normalize(l)},relative:function(l,c){if(s(l),s(c),l===c||(l=o.resolve(l))===(c=o.resolve(c)))return"";for(var u=1;ug){if(c.charCodeAt(h+y)===47)return c.slice(h+y+1);if(y===0)return c.slice(h+y)}else f>g&&(l.charCodeAt(u+y)===47?_=y:y===0&&(_=0));break}var E=l.charCodeAt(u+y);if(E!==c.charCodeAt(h+y))break;E===47&&(_=y)}var v="";for(y=u+_+1;y<=d;++y)y!==d&&l.charCodeAt(y)!==47||(v.length===0?v+="..":v+="/..");return v.length>0?v+c.slice(h+_):(h+=_,c.charCodeAt(h)===47&&++h,c.slice(h))},_makeLong:function(l){return l},dirname:function(l){if(s(l),l.length===0)return".";for(var c=l.charCodeAt(0),u=c===47,d=-1,f=!0,h=l.length-1;h>=1;--h)if((c=l.charCodeAt(h))===47){if(!f){d=h;break}}else f=!1;return d===-1?u?"/":".":u&&d===1?"//":l.slice(0,d)},basename:function(l,c){if(c!==void 0&&typeof c!="string")throw new TypeError('"ext" argument must be a string');s(l);var u,d=0,f=-1,h=!0;if(c!==void 0&&c.length>0&&c.length<=l.length){if(c.length===l.length&&c===l)return"";var m=c.length-1,g=-1;for(u=l.length-1;u>=0;--u){var _=l.charCodeAt(u);if(_===47){if(!h){d=u+1;break}}else g===-1&&(h=!1,g=u+1),m>=0&&(_===c.charCodeAt(m)?--m==-1&&(f=u):(m=-1,f=g))}return d===f?f=g:f===-1&&(f=l.length),l.slice(d,f)}for(u=l.length-1;u>=0;--u)if(l.charCodeAt(u)===47){if(!h){d=u+1;break}}else f===-1&&(h=!1,f=u+1);return f===-1?"":l.slice(d,f)},extname:function(l){s(l);for(var c=-1,u=0,d=-1,f=!0,h=0,m=l.length-1;m>=0;--m){var g=l.charCodeAt(m);if(g!==47)d===-1&&(f=!1,d=m+1),g===46?c===-1?c=m:h!==1&&(h=1):c!==-1&&(h=-1);else if(!f){u=m+1;break}}return c===-1||d===-1||h===0||h===1&&c===d-1&&c===u+1?"":l.slice(c,d)},format:function(l){if(l===null||typeof l!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof l);return function(c,u){var d=u.dir||u.root,f=u.base||(u.name||"")+(u.ext||"");return d?d===u.root?d+f:d+"/"+f:f}(0,l)},parse:function(l){s(l);var c={root:"",dir:"",base:"",ext:"",name:""};if(l.length===0)return c;var u,d=l.charCodeAt(0),f=d===47;f?(c.root="/",u=1):u=0;for(var h=-1,m=0,g=-1,_=!0,y=l.length-1,E=0;y>=u;--y)if((d=l.charCodeAt(y))!==47)g===-1&&(_=!1,g=y+1),d===46?h===-1?h=y:E!==1&&(E=1):h!==-1&&(E=-1);else if(!_){m=y+1;break}return h===-1||g===-1||E===0||E===1&&h===g-1&&h===m+1?g!==-1&&(c.base=c.name=m===0&&f?l.slice(1,g):l.slice(m,g)):(m===0&&f?(c.name=l.slice(1,h),c.base=l.slice(1,g)):(c.name=l.slice(m,h),c.base=l.slice(m,g)),c.ext=l.slice(h,g)),m>0?c.dir=l.slice(0,m-1):f&&(c.dir="/"),c},sep:"/",delimiter:":",win32:null,posix:null};o.posix=o,i.exports=o}},e={};function t(i){var s=e[i];if(s!==void 0)return s.exports;var a=e[i]={exports:{}};return n[i](a,a.exports,t),a.exports}t.d=(i,s)=>{for(var a in s)t.o(s,a)&&!t.o(i,a)&&Object.defineProperty(i,a,{enumerable:!0,get:s[a]})},t.o=(i,s)=>Object.prototype.hasOwnProperty.call(i,s),t.r=i=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var r={};(()=>{let i;t.r(r),t.d(r,{URI:()=>f,Utils:()=>be}),typeof wr=="object"?i=wr.platform==="win32":typeof navigator=="object"&&(i=navigator.userAgent.indexOf("Windows")>=0);const s=/^\w[\w\d+.-]*$/,a=/^\//,o=/^\/\//;function l(A,T){if(!A.scheme&&T)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${A.authority}", path: "${A.path}", query: "${A.query}", fragment: "${A.fragment}"}`);if(A.scheme&&!s.test(A.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(A.path){if(A.authority){if(!a.test(A.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(o.test(A.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}const c="",u="/",d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class f{constructor(T,R,N,L,O,w=!1){Je(this,"scheme");Je(this,"authority");Je(this,"path");Je(this,"query");Je(this,"fragment");typeof T=="object"?(this.scheme=T.scheme||c,this.authority=T.authority||c,this.path=T.path||c,this.query=T.query||c,this.fragment=T.fragment||c):(this.scheme=function(ye,z){return ye||z?ye:"file"}(T,w),this.authority=R||c,this.path=function(ye,z){switch(ye){case"https":case"http":case"file":z?z[0]!==u&&(z=u+z):z=u}return z}(this.scheme,N||c),this.query=L||c,this.fragment=O||c,l(this,w))}static isUri(T){return T instanceof f||!!T&&typeof T.authority=="string"&&typeof T.fragment=="string"&&typeof T.path=="string"&&typeof T.query=="string"&&typeof T.scheme=="string"&&typeof T.fsPath=="string"&&typeof T.with=="function"&&typeof T.toString=="function"}get fsPath(){return E(this)}with(T){if(!T)return this;let{scheme:R,authority:N,path:L,query:O,fragment:w}=T;return R===void 0?R=this.scheme:R===null&&(R=c),N===void 0?N=this.authority:N===null&&(N=c),L===void 0?L=this.path:L===null&&(L=c),O===void 0?O=this.query:O===null&&(O=c),w===void 0?w=this.fragment:w===null&&(w=c),R===this.scheme&&N===this.authority&&L===this.path&&O===this.query&&w===this.fragment?this:new m(R,N,L,O,w)}static parse(T,R=!1){const N=d.exec(T);return N?new m(N[2]||c,ne(N[4]||c),ne(N[5]||c),ne(N[7]||c),ne(N[9]||c),R):new m(c,c,c,c,c)}static file(T){let R=c;if(i&&(T=T.replace(/\\/g,u)),T[0]===u&&T[1]===u){const N=T.indexOf(u,2);N===-1?(R=T.substring(2),T=u):(R=T.substring(2,N),T=T.substring(N)||u)}return new m("file",R,T,c,c)}static from(T){const R=new m(T.scheme,T.authority,T.path,T.query,T.fragment);return l(R,!0),R}toString(T=!1){return v(this,T)}toJSON(){return this}static revive(T){if(T){if(T instanceof f)return T;{const R=new m(T);return R._formatted=T.external,R._fsPath=T._sep===h?T.fsPath:null,R}}return T}}const h=i?1:void 0;class m extends f{constructor(){super(...arguments);Je(this,"_formatted",null);Je(this,"_fsPath",null)}get fsPath(){return this._fsPath||(this._fsPath=E(this)),this._fsPath}toString(R=!1){return R?v(this,!0):(this._formatted||(this._formatted=v(this,!1)),this._formatted)}toJSON(){const R={$mid:1};return this._fsPath&&(R.fsPath=this._fsPath,R._sep=h),this._formatted&&(R.external=this._formatted),this.path&&(R.path=this.path),this.scheme&&(R.scheme=this.scheme),this.authority&&(R.authority=this.authority),this.query&&(R.query=this.query),this.fragment&&(R.fragment=this.fragment),R}}const g={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function _(A,T,R){let N,L=-1;for(let O=0;O=97&&w<=122||w>=65&&w<=90||w>=48&&w<=57||w===45||w===46||w===95||w===126||T&&w===47||R&&w===91||R&&w===93||R&&w===58)L!==-1&&(N+=encodeURIComponent(A.substring(L,O)),L=-1),N!==void 0&&(N+=A.charAt(O));else{N===void 0&&(N=A.substr(0,O));const ye=g[w];ye!==void 0?(L!==-1&&(N+=encodeURIComponent(A.substring(L,O)),L=-1),N+=ye):L===-1&&(L=O)}}return L!==-1&&(N+=encodeURIComponent(A.substring(L))),N!==void 0?N:A}function y(A){let T;for(let R=0;R1&&A.scheme==="file"?`//${A.authority}${A.path}`:A.path.charCodeAt(0)===47&&(A.path.charCodeAt(1)>=65&&A.path.charCodeAt(1)<=90||A.path.charCodeAt(1)>=97&&A.path.charCodeAt(1)<=122)&&A.path.charCodeAt(2)===58?A.path[1].toLowerCase()+A.path.substr(2):A.path,i&&(R=R.replace(/\//g,"\\")),R}function v(A,T){const R=T?y:_;let N="",{scheme:L,authority:O,path:w,query:ye,fragment:z}=A;if(L&&(N+=L,N+=":"),(O||L==="file")&&(N+=u,N+=u),O){let B=O.indexOf("@");if(B!==-1){const at=O.substr(0,B);O=O.substr(B+1),B=at.lastIndexOf(":"),B===-1?N+=R(at,!1,!1):(N+=R(at.substr(0,B),!1,!1),N+=":",N+=R(at.substr(B+1),!1,!0)),N+="@"}O=O.toLowerCase(),B=O.lastIndexOf(":"),B===-1?N+=R(O,!1,!0):(N+=R(O.substr(0,B),!1,!0),N+=O.substr(B))}if(w){if(w.length>=3&&w.charCodeAt(0)===47&&w.charCodeAt(2)===58){const B=w.charCodeAt(1);B>=65&&B<=90&&(w=`/${String.fromCharCode(B+32)}:${w.substr(3)}`)}else if(w.length>=2&&w.charCodeAt(1)===58){const B=w.charCodeAt(0);B>=65&&B<=90&&(w=`${String.fromCharCode(B+32)}:${w.substr(2)}`)}N+=R(w,!0,!1)}return ye&&(N+="?",N+=R(ye,!1,!1)),z&&(N+="#",N+=T?z:_(z,!1,!1)),N}function I(A){try{return decodeURIComponent(A)}catch{return A.length>3?A.substr(0,3)+I(A.substr(3)):A}}const j=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function ne(A){return A.match(j)?A.replace(j,T=>I(T)):A}var Ce=t(470);const ge=Ce.posix||Ce,De="/";var be;(function(A){A.joinPath=function(T,...R){return T.with({path:ge.join(T.path,...R)})},A.resolvePath=function(T,...R){let N=T.path,L=!1;N[0]!==De&&(N=De+N,L=!0);let O=ge.resolve(N,...R);return L&&O[0]===De&&!T.authority&&(O=O.substring(1)),T.with({path:O})},A.dirname=function(T){if(T.path.length===0||T.path===De)return T;let R=ge.dirname(T.path);return R.length===1&&R.charCodeAt(0)===46&&(R=""),T.with({path:R})},A.basename=function(T){return ge.basename(T.path)},A.extname=function(T){return ge.extname(T.path)}})(be||(be={}))})(),pc=r})();const{URI:Wt,Utils:sn}=pc;var rt;(function(n){n.basename=sn.basename,n.dirname=sn.dirname,n.extname=sn.extname,n.joinPath=sn.joinPath,n.resolvePath=sn.resolvePath;function e(r,i){return(r==null?void 0:r.toString())===(i==null?void 0:i.toString())}n.equals=e;function t(r,i){const s=typeof r=="string"?r:r.path,a=typeof i=="string"?i:i.path,o=s.split("/").filter(f=>f.length>0),l=a.split("/").filter(f=>f.length>0);let c=0;for(;ci??(i=mi.create(e.toString(),r.getServices(e).LanguageMetaData.languageId,0,t??""))}}class om{constructor(e){this.documentMap=new Map,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory}get all(){return Q(this.documentMap.values())}addDocument(e){const t=e.uri.toString();if(this.documentMap.has(t))throw new Error(`A document with the URI '${t}' is already present.`);this.documentMap.set(t,e)}getDocument(e){const t=e.toString();return this.documentMap.get(t)}async getOrCreateDocument(e,t){let r=this.getDocument(e);return r||(r=await this.langiumDocumentFactory.fromUri(e,t),this.addDocument(r),r)}createDocument(e,t,r){if(r)return this.langiumDocumentFactory.fromString(t,e,r).then(i=>(this.addDocument(i),i));{const i=this.langiumDocumentFactory.fromString(t,e);return this.addDocument(i),i}}hasDocument(e){return this.documentMap.has(e.toString())}invalidateDocument(e){const t=e.toString(),r=this.documentMap.get(t);return r&&(r.state=U.Changed,r.precomputedScopes=void 0,r.references=[],r.diagnostics=void 0),r}deleteDocument(e){const t=e.toString(),r=this.documentMap.get(t);return r&&(r.state=U.Changed,this.documentMap.delete(t)),r}}class lm{constructor(e){this.reflection=e.shared.AstReflection,this.langiumDocuments=()=>e.shared.workspace.LangiumDocuments,this.scopeProvider=e.references.ScopeProvider,this.astNodeLocator=e.workspace.AstNodeLocator}async link(e,t=X.None){for(const r of Et(e.parseResult.value))await Le(t),Zo(r).forEach(i=>this.doLink(i,e))}doLink(e,t){const r=e.reference;if(r._ref===void 0)try{const i=this.getCandidate(e);if(kn(i))r._ref=i;else if(r._nodeDescription=i,this.langiumDocuments().hasDocument(i.documentUri)){const s=this.loadAstNode(i);r._ref=s??this.createLinkingError(e,i)}}catch(i){r._ref=Object.assign(Object.assign({},e),{message:`An error occurred while resolving reference to '${r.$refText}': ${i}`})}t.references.push(r)}unlink(e){for(const t of e.references)delete t._ref,delete t._nodeDescription;e.references=[]}getCandidate(e){const r=this.scopeProvider.getScope(e).getElement(e.reference.$refText);return r??this.createLinkingError(e)}buildReference(e,t,r,i){const s=this,a={$refNode:r,$refText:i,get ref(){var o;if(ae(this._ref))return this._ref;if(Nu(this._nodeDescription)){const l=s.loadAstNode(this._nodeDescription);this._ref=l??s.createLinkingError({reference:a,container:e,property:t},this._nodeDescription)}else if(this._ref===void 0){const l=s.getLinkedNode({reference:a,container:e,property:t});if(l.error&&Ue(e).state=e.end)return s.ref}}if(r){const i=this.nameProvider.getNameNode(r);if(i&&(i===e||Su(e,i)))return r}}}findDeclarationNode(e){const t=this.findDeclaration(e);if(t!=null&&t.$cstNode){const r=this.nameProvider.getNameNode(t);return r??t.$cstNode}}findReferences(e,t){const r=[];if(t.includeDeclaration){const s=this.getReferenceToSelf(e);s&&r.push(s)}let i=this.index.findAllReferences(e,this.nodeLocator.getAstNodePath(e));return t.documentUri&&(i=i.filter(s=>rt.equals(s.sourceUri,t.documentUri))),r.push(...i),Q(r)}getReferenceToSelf(e){const t=this.nameProvider.getNameNode(e);if(t){const r=Ue(e),i=this.nodeLocator.getAstNodePath(e);return{sourceUri:r.uri,sourcePath:i,targetUri:r.uri,targetPath:i,segment:Ln(t),local:!0}}}}class Wi{constructor(e){if(this.map=new Map,e)for(const[t,r]of e)this.add(t,r)}get size(){return Pr.sum(Q(this.map.values()).map(e=>e.length))}clear(){this.map.clear()}delete(e,t){if(t===void 0)return this.map.delete(e);{const r=this.map.get(e);if(r){const i=r.indexOf(t);if(i>=0)return r.length===1?this.map.delete(e):r.splice(i,1),!0}return!1}}get(e){var t;return(t=this.map.get(e))!==null&&t!==void 0?t:[]}has(e,t){if(t===void 0)return this.map.has(e);{const r=this.map.get(e);return r?r.indexOf(t)>=0:!1}}add(e,t){return this.map.has(e)?this.map.get(e).push(t):this.map.set(e,[t]),this}addAll(e,t){return this.map.has(e)?this.map.get(e).push(...t):this.map.set(e,Array.from(t)),this}forEach(e){this.map.forEach((t,r)=>t.forEach(i=>e(i,r,this)))}[Symbol.iterator](){return this.entries().iterator()}entries(){return Q(this.map.entries()).flatMap(([e,t])=>t.map(r=>[e,r]))}keys(){return Q(this.map.keys())}values(){return Q(this.map.values()).flat()}entriesGroupedByKey(){return Q(this.map.entries())}}class Ha{get size(){return this.map.size}constructor(e){if(this.map=new Map,this.inverse=new Map,e)for(const[t,r]of e)this.set(t,r)}clear(){this.map.clear(),this.inverse.clear()}set(e,t){return this.map.set(e,t),this.inverse.set(t,e),this}get(e){return this.map.get(e)}getKey(e){return this.inverse.get(e)}delete(e){const t=this.map.get(e);return t!==void 0?(this.map.delete(e),this.inverse.delete(t),!0):!1}}class fm{constructor(e){this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider}async computeExports(e,t=X.None){return this.computeExportsForNode(e.parseResult.value,e,void 0,t)}async computeExportsForNode(e,t,r=ki,i=X.None){const s=[];this.exportNode(e,s,t);for(const a of r(e))await Le(i),this.exportNode(a,s,t);return s}exportNode(e,t,r){const i=this.nameProvider.getName(e);i&&t.push(this.descriptions.createDescription(e,i,r))}async computeLocalScopes(e,t=X.None){const r=e.parseResult.value,i=new Wi;for(const s of pn(r))await Le(t),this.processNode(s,e,i);return i}processNode(e,t,r){const i=e.$container;if(i){const s=this.nameProvider.getName(e);s&&r.add(i,this.descriptions.createDescription(e,s,t))}}}class Va{constructor(e,t,r){var i;this.elements=e,this.outerScope=t,this.caseInsensitive=(i=r==null?void 0:r.caseInsensitive)!==null&&i!==void 0?i:!1}getAllElements(){return this.outerScope?this.elements.concat(this.outerScope.getAllElements()):this.elements}getElement(e){const t=this.caseInsensitive?this.elements.find(r=>r.name.toLowerCase()===e.toLowerCase()):this.elements.find(r=>r.name===e);if(t)return t;if(this.outerScope)return this.outerScope.getElement(e)}}class hm{constructor(e,t,r){var i;this.elements=new Map,this.caseInsensitive=(i=r==null?void 0:r.caseInsensitive)!==null&&i!==void 0?i:!1;for(const s of e){const a=this.caseInsensitive?s.name.toLowerCase():s.name;this.elements.set(a,s)}this.outerScope=t}getElement(e){const t=this.caseInsensitive?e.toLowerCase():e,r=this.elements.get(t);if(r)return r;if(this.outerScope)return this.outerScope.getElement(e)}getAllElements(){let e=Q(this.elements.values());return this.outerScope&&(e=e.concat(this.outerScope.getAllElements())),e}}class mc{constructor(){this.toDispose=[],this.isDisposed=!1}onDispose(e){this.toDispose.push(e)}dispose(){this.throwIfDisposed(),this.clear(),this.isDisposed=!0,this.toDispose.forEach(e=>e.dispose())}throwIfDisposed(){if(this.isDisposed)throw new Error("This cache has already been disposed")}}class pm extends mc{constructor(){super(...arguments),this.cache=new Map}has(e){return this.throwIfDisposed(),this.cache.has(e)}set(e,t){this.throwIfDisposed(),this.cache.set(e,t)}get(e,t){if(this.throwIfDisposed(),this.cache.has(e))return this.cache.get(e);if(t){const r=t();return this.cache.set(e,r),r}else return}delete(e){return this.throwIfDisposed(),this.cache.delete(e)}clear(){this.throwIfDisposed(),this.cache.clear()}}class mm extends mc{constructor(e){super(),this.cache=new Map,this.converter=e??(t=>t)}has(e,t){return this.throwIfDisposed(),this.cacheForContext(e).has(t)}set(e,t,r){this.throwIfDisposed(),this.cacheForContext(e).set(t,r)}get(e,t,r){this.throwIfDisposed();const i=this.cacheForContext(e);if(i.has(t))return i.get(t);if(r){const s=r();return i.set(t,s),s}else return}delete(e,t){return this.throwIfDisposed(),this.cacheForContext(e).delete(t)}clear(e){if(this.throwIfDisposed(),e){const t=this.converter(e);this.cache.delete(t)}else this.cache.clear()}cacheForContext(e){const t=this.converter(e);let r=this.cache.get(t);return r||(r=new Map,this.cache.set(t,r)),r}}class gm extends pm{constructor(e){super(),this.onDispose(e.workspace.DocumentBuilder.onUpdate(()=>{this.clear()}))}}class ym{constructor(e){this.reflection=e.shared.AstReflection,this.nameProvider=e.references.NameProvider,this.descriptions=e.workspace.AstNodeDescriptionProvider,this.indexManager=e.shared.workspace.IndexManager,this.globalScopeCache=new gm(e.shared)}getScope(e){const t=[],r=this.reflection.getReferenceType(e),i=Ue(e.container).precomputedScopes;if(i){let a=e.container;do{const o=i.get(a);o.length>0&&t.push(Q(o).filter(l=>this.reflection.isSubtype(l.type,r))),a=a.$container}while(a)}let s=this.getGlobalScope(r,e);for(let a=t.length-1;a>=0;a--)s=this.createScope(t[a],s);return s}createScope(e,t,r){return new Va(Q(e),t,r)}createScopeForNodes(e,t,r){const i=Q(e).map(s=>{const a=this.nameProvider.getName(s);if(a)return this.descriptions.createDescription(s,a)}).nonNullable();return new Va(i,t,r)}getGlobalScope(e,t){return this.globalScopeCache.get(e,()=>new hm(this.indexManager.allElements(e)))}}function Tm(n){return typeof n.$comment=="string"}function Wa(n){return typeof n=="object"&&!!n&&("$ref"in n||"$error"in n)}class vm{constructor(e){this.ignoreProperties=new Set(["$container","$containerProperty","$containerIndex","$document","$cstNode"]),this.langiumDocuments=e.shared.workspace.LangiumDocuments,this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider,this.commentProvider=e.documentation.CommentProvider}serialize(e,t={}){const r=t==null?void 0:t.replacer,i=(a,o)=>this.replacer(a,o,t),s=r?(a,o)=>r(a,o,i):i;try{return this.currentDocument=Ue(e),JSON.stringify(e,s,t==null?void 0:t.space)}finally{this.currentDocument=void 0}}deserialize(e,t={}){const r=JSON.parse(e);return this.linkNode(r,r,t),r}replacer(e,t,{refText:r,sourceText:i,textRegions:s,comments:a,uriConverter:o}){var l,c,u,d;if(!this.ignoreProperties.has(e))if(Ge(t)){const f=t.ref,h=r?t.$refText:void 0;if(f){const m=Ue(f);let g="";this.currentDocument&&this.currentDocument!==m&&(o?g=o(m.uri,t):g=m.uri.toString());const _=this.astNodeLocator.getAstNodePath(f);return{$ref:`${g}#${_}`,$refText:h}}else return{$error:(c=(l=t.error)===null||l===void 0?void 0:l.message)!==null&&c!==void 0?c:"Could not resolve reference",$refText:h}}else if(ae(t)){let f;if(s&&(f=this.addAstNodeRegionWithAssignmentsTo(Object.assign({},t)),(!e||t.$document)&&(f!=null&&f.$textRegion)&&(f.$textRegion.documentURI=(u=this.currentDocument)===null||u===void 0?void 0:u.uri.toString())),i&&!e&&(f??(f=Object.assign({},t)),f.$sourceText=(d=t.$cstNode)===null||d===void 0?void 0:d.text),a){f??(f=Object.assign({},t));const h=this.commentProvider.getComment(t);h&&(f.$comment=h.replace(/\r/g,""))}return f??t}else return t}addAstNodeRegionWithAssignmentsTo(e){const t=r=>({offset:r.offset,end:r.end,length:r.length,range:r.range});if(e.$cstNode){const r=e.$textRegion=t(e.$cstNode),i=r.assignments={};return Object.keys(e).filter(s=>!s.startsWith("$")).forEach(s=>{const a=bd(e.$cstNode,s).map(t);a.length!==0&&(i[s]=a)}),e}}linkNode(e,t,r,i,s,a){for(const[l,c]of Object.entries(e))if(Array.isArray(c))for(let u=0;u{try{await e.call(t,r,i,s)}catch(a){if(Hi(a))throw a;console.error("An error occurred during validation:",a);const o=a instanceof Error?a.message:String(a);a instanceof Error&&a.stack&&console.error(a.stack),i("error","An error occurred during validation: "+o,{node:r})}}}addEntry(e,t){if(e==="AstNode"){this.entries.add("AstNode",t);return}for(const r of this.reflection.getAllSubTypes(e))this.entries.add(r,t)}getChecks(e,t){let r=Q(this.entries.get(e)).concat(this.entries.get("AstNode"));return t&&(r=r.filter(i=>t.includes(i.category))),r.map(i=>i.check)}}class Rm{constructor(e){this.validationRegistry=e.validation.ValidationRegistry,this.metadata=e.LanguageMetaData}async validateDocument(e,t={},r=X.None){const i=e.parseResult,s=[];if(await Le(r),(!t.categories||t.categories.includes("built-in"))&&(this.processLexingErrors(i,s,t),t.stopAfterLexingErrors&&s.some(a=>{var o;return((o=a.data)===null||o===void 0?void 0:o.code)===Qe.LexingError})||(this.processParsingErrors(i,s,t),t.stopAfterParsingErrors&&s.some(a=>{var o;return((o=a.data)===null||o===void 0?void 0:o.code)===Qe.ParsingError}))||(this.processLinkingErrors(e,s,t),t.stopAfterLinkingErrors&&s.some(a=>{var o;return((o=a.data)===null||o===void 0?void 0:o.code)===Qe.LinkingError}))))return s;try{s.push(...await this.validateAst(i.value,t,r))}catch(a){if(Hi(a))throw a;console.error("An error occurred during validation:",a)}return await Le(r),s}processLexingErrors(e,t,r){for(const i of e.lexerErrors){const s={severity:Or("error"),range:{start:{line:i.line-1,character:i.column-1},end:{line:i.line-1,character:i.column+i.length-1}},message:i.message,data:Ka(Qe.LexingError),source:this.getSource()};t.push(s)}}processParsingErrors(e,t,r){for(const i of e.parserErrors){let s;if(isNaN(i.token.startOffset)){if("previousToken"in i){const a=i.previousToken;if(isNaN(a.startOffset)){const o={line:0,character:0};s={start:o,end:o}}else{const o={line:a.endLine-1,character:a.endColumn};s={start:o,end:o}}}}else s=Dr(i.token);if(s){const a={severity:Or("error"),range:s,message:i.message,data:Ka(Qe.ParsingError),source:this.getSource()};t.push(a)}}}processLinkingErrors(e,t,r){for(const i of e.references){const s=i.error;if(s){const a={node:s.container,property:s.property,index:s.index,data:{code:Qe.LinkingError,containerType:s.container.$type,property:s.property,refText:s.reference.$refText}};t.push(this.toDiagnostic("error",s.message,a))}}}async validateAst(e,t,r=X.None){const i=[],s=(a,o,l)=>{i.push(this.toDiagnostic(a,o,l))};return await Promise.all(Et(e).map(async a=>{await Le(r);const o=this.validationRegistry.getChecks(a.$type,t.categories);for(const l of o)await l(a,s,r)})),i}toDiagnostic(e,t,r){return{message:t,range:Am(r),severity:Or(e),code:r.code,codeDescription:r.codeDescription,tags:r.tags,relatedInformation:r.relatedInformation,data:r.data,source:this.getSource()}}getSource(){return this.metadata.languageId}}function Am(n){if(n.range)return n.range;let e;return typeof n.property=="string"?e=il(n.node.$cstNode,n.property,n.index):typeof n.keyword=="string"&&(e=Nd(n.node.$cstNode,n.keyword,n.index)),e??(e=n.node.$cstNode),e?e.range:{start:{line:0,character:0},end:{line:0,character:0}}}function Or(n){switch(n){case"error":return 1;case"warning":return 2;case"info":return 3;case"hint":return 4;default:throw new Error("Invalid diagnostic severity: "+n)}}var Qe;(function(n){n.LexingError="lexing-error",n.ParsingError="parsing-error",n.LinkingError="linking-error"})(Qe||(Qe={}));class bm{constructor(e){this.astNodeLocator=e.workspace.AstNodeLocator,this.nameProvider=e.references.NameProvider}createDescription(e,t,r=Ue(e)){t??(t=this.nameProvider.getName(e));const i=this.astNodeLocator.getAstNodePath(e);if(!t)throw new Error(`Node at path ${i} has no name.`);let s;const a=()=>{var o;return s??(s=Ln((o=this.nameProvider.getNameNode(e))!==null&&o!==void 0?o:e.$cstNode))};return{node:e,name:t,get nameSegment(){return a()},selectionSegment:Ln(e.$cstNode),type:e.$type,documentUri:r.uri,path:i}}}class Nm{constructor(e){this.nodeLocator=e.workspace.AstNodeLocator}async createDescriptions(e,t=X.None){const r=[],i=e.parseResult.value;for(const s of Et(i))await Le(t),Zo(s).filter(a=>!kn(a)).forEach(a=>{const o=this.createDescription(a);o&&r.push(o)});return r}createDescription(e){const t=e.reference.$nodeDescription,r=e.reference.$refNode;if(!t||!r)return;const i=Ue(e.container).uri;return{sourceUri:i,sourcePath:this.nodeLocator.getAstNodePath(e.container),targetUri:t.documentUri,targetPath:t.path,segment:Ln(r),local:rt.equals(t.documentUri,i)}}}class km{constructor(){this.segmentSeparator="/",this.indexSeparator="@"}getAstNodePath(e){if(e.$container){const t=this.getAstNodePath(e.$container),r=this.getPathSegment(e);return t+this.segmentSeparator+r}return""}getPathSegment({$containerProperty:e,$containerIndex:t}){if(!e)throw new Error("Missing '$containerProperty' in AST node.");return t!==void 0?e+this.indexSeparator+t:e}getAstNode(e,t){return t.split(this.segmentSeparator).reduce((i,s)=>{if(!i||s.length===0)return i;const a=s.indexOf(this.indexSeparator);if(a>0){const o=s.substring(0,a),l=parseInt(s.substring(a+1)),c=i[o];return c==null?void 0:c[l]}return i[s]},e)}}class Im{constructor(e){this._ready=new Vi,this.settings={},this.workspaceConfig=!1,this.serviceRegistry=e.ServiceRegistry}get ready(){return this._ready.promise}initialize(e){var t,r;this.workspaceConfig=(r=(t=e.capabilities.workspace)===null||t===void 0?void 0:t.configuration)!==null&&r!==void 0?r:!1}async initialized(e){if(this.workspaceConfig){if(e.register){const t=this.serviceRegistry.all;e.register({section:t.map(r=>this.toSectionName(r.LanguageMetaData.languageId))})}if(e.fetchConfiguration){const t=this.serviceRegistry.all.map(i=>({section:this.toSectionName(i.LanguageMetaData.languageId)})),r=await e.fetchConfiguration(t);t.forEach((i,s)=>{this.updateSectionConfiguration(i.section,r[s])})}}this._ready.resolve()}updateConfiguration(e){e.settings&&Object.keys(e.settings).forEach(t=>{this.updateSectionConfiguration(t,e.settings[t])})}updateSectionConfiguration(e,t){this.settings[e]=t}async getConfiguration(e,t){await this.ready;const r=this.toSectionName(e);if(this.settings[r])return this.settings[r][t]}toSectionName(e){return`${e}`}}var er;(function(n){function e(t){return{dispose:async()=>await t()}}n.create=e})(er||(er={}));class Sm{constructor(e){this.updateBuildOptions={validation:{categories:["built-in","fast"]}},this.updateListeners=[],this.buildPhaseListeners=new Wi,this.buildState=new Map,this.documentBuildWaiters=new Map,this.currentState=U.Changed,this.langiumDocuments=e.workspace.LangiumDocuments,this.langiumDocumentFactory=e.workspace.LangiumDocumentFactory,this.indexManager=e.workspace.IndexManager,this.serviceRegistry=e.ServiceRegistry}async build(e,t={},r=X.None){var i,s;for(const a of e){const o=a.uri.toString();if(a.state===U.Validated){if(typeof t.validation=="boolean"&&t.validation)a.state=U.IndexedReferences,a.diagnostics=void 0,this.buildState.delete(o);else if(typeof t.validation=="object"){const l=this.buildState.get(o),c=(i=l==null?void 0:l.result)===null||i===void 0?void 0:i.validationChecks;if(c){const d=((s=t.validation.categories)!==null&&s!==void 0?s:Zn.all).filter(f=>!c.includes(f));d.length>0&&(this.buildState.set(o,{completed:!1,options:{validation:Object.assign(Object.assign({},t.validation),{categories:d})},result:l.result}),a.state=U.IndexedReferences)}}}else this.buildState.delete(o)}this.currentState=U.Changed,await this.emitUpdate(e.map(a=>a.uri),[]),await this.buildDocuments(e,t,r)}async update(e,t,r=X.None){this.currentState=U.Changed;for(const a of t)this.langiumDocuments.deleteDocument(a),this.buildState.delete(a.toString()),this.indexManager.remove(a);for(const a of e){if(!this.langiumDocuments.invalidateDocument(a)){const l=this.langiumDocumentFactory.fromModel({$type:"INVALID"},a);l.state=U.Changed,this.langiumDocuments.addDocument(l)}this.buildState.delete(a.toString())}const i=Q(e).concat(t).map(a=>a.toString()).toSet();this.langiumDocuments.all.filter(a=>!i.has(a.uri.toString())&&this.shouldRelink(a,i)).forEach(a=>{this.serviceRegistry.getServices(a.uri).references.Linker.unlink(a),a.state=Math.min(a.state,U.ComputedScopes),a.diagnostics=void 0}),await this.emitUpdate(e,t),await Le(r);const s=this.langiumDocuments.all.filter(a=>{var o;return a.stater(e,t)))}shouldRelink(e,t){return e.references.some(r=>r.error!==void 0)?!0:this.indexManager.isAffected(e,t)}onUpdate(e){return this.updateListeners.push(e),er.create(()=>{const t=this.updateListeners.indexOf(e);t>=0&&this.updateListeners.splice(t,1)})}async buildDocuments(e,t,r){this.prepareBuild(e,t),await this.runCancelable(e,U.Parsed,r,s=>this.langiumDocumentFactory.update(s,r)),await this.runCancelable(e,U.IndexedContent,r,s=>this.indexManager.updateContent(s,r)),await this.runCancelable(e,U.ComputedScopes,r,async s=>{const a=this.serviceRegistry.getServices(s.uri).references.ScopeComputation;s.precomputedScopes=await a.computeLocalScopes(s,r)}),await this.runCancelable(e,U.Linked,r,s=>this.serviceRegistry.getServices(s.uri).references.Linker.link(s,r)),await this.runCancelable(e,U.IndexedReferences,r,s=>this.indexManager.updateReferences(s,r));const i=e.filter(s=>this.shouldValidate(s));await this.runCancelable(i,U.Validated,r,s=>this.validate(s,r));for(const s of e){const a=this.buildState.get(s.uri.toString());a&&(a.completed=!0)}}prepareBuild(e,t){for(const r of e){const i=r.uri.toString(),s=this.buildState.get(i);(!s||s.completed)&&this.buildState.set(i,{completed:!1,options:t,result:s==null?void 0:s.result})}}async runCancelable(e,t,r,i){const s=e.filter(a=>a.state{this.buildPhaseListeners.delete(e,t)})}waitUntil(e,t,r){let i;if(t&&"path"in t?i=t:r=t,r??(r=X.None),i){const s=this.langiumDocuments.getDocument(i);if(s&&s.state>e)return Promise.resolve(i)}return this.currentState>=e?Promise.resolve(void 0):r.isCancellationRequested?Promise.reject(Qn):new Promise((s,a)=>{const o=this.onBuildPhase(e,()=>{if(o.dispose(),l.dispose(),i){const c=this.langiumDocuments.getDocument(i);s(c==null?void 0:c.uri)}else s(void 0)}),l=r.onCancellationRequested(()=>{o.dispose(),l.dispose(),a(Qn)})})}async notifyBuildPhase(e,t,r){if(e.length===0)return;const i=this.buildPhaseListeners.get(t);for(const s of i)await Le(r),await s(e,r)}shouldValidate(e){return!!this.getBuildOptions(e).validation}async validate(e,t){var r,i;const s=this.serviceRegistry.getServices(e.uri).validation.DocumentValidator,a=this.getBuildOptions(e).validation,o=typeof a=="object"?a:void 0,l=await s.validateDocument(e,o,t);e.diagnostics?e.diagnostics.push(...l):e.diagnostics=l;const c=this.buildState.get(e.uri.toString());if(c){(r=c.result)!==null&&r!==void 0||(c.result={});const u=(i=o==null?void 0:o.categories)!==null&&i!==void 0?i:Zn.all;c.result.validationChecks?c.result.validationChecks.push(...u):c.result.validationChecks=[...u]}}getBuildOptions(e){var t,r;return(r=(t=this.buildState.get(e.uri.toString()))===null||t===void 0?void 0:t.options)!==null&&r!==void 0?r:{}}}class xm{constructor(e){this.symbolIndex=new Map,this.symbolByTypeIndex=new mm,this.referenceIndex=new Map,this.documents=e.workspace.LangiumDocuments,this.serviceRegistry=e.ServiceRegistry,this.astReflection=e.AstReflection}findAllReferences(e,t){const r=Ue(e).uri,i=[];return this.referenceIndex.forEach(s=>{s.forEach(a=>{rt.equals(a.targetUri,r)&&a.targetPath===t&&i.push(a)})}),Q(i)}allElements(e,t){let r=Q(this.symbolIndex.keys());return t&&(r=r.filter(i=>!t||t.has(i))),r.map(i=>this.getFileDescriptions(i,e)).flat()}getFileDescriptions(e,t){var r;return t?this.symbolByTypeIndex.get(e,t,()=>{var s;return((s=this.symbolIndex.get(e))!==null&&s!==void 0?s:[]).filter(o=>this.astReflection.isSubtype(o.type,t))}):(r=this.symbolIndex.get(e))!==null&&r!==void 0?r:[]}remove(e){const t=e.toString();this.symbolIndex.delete(t),this.symbolByTypeIndex.clear(t),this.referenceIndex.delete(t)}async updateContent(e,t=X.None){const i=await this.serviceRegistry.getServices(e.uri).references.ScopeComputation.computeExports(e,t),s=e.uri.toString();this.symbolIndex.set(s,i),this.symbolByTypeIndex.clear(s)}async updateReferences(e,t=X.None){const i=await this.serviceRegistry.getServices(e.uri).workspace.ReferenceDescriptionProvider.createDescriptions(e,t);this.referenceIndex.set(e.uri.toString(),i)}isAffected(e,t){const r=this.referenceIndex.get(e.uri.toString());return r?r.some(i=>!i.local&&t.has(i.targetUri.toString())):!1}}class Cm{constructor(e){this.initialBuildOptions={},this._ready=new Vi,this.serviceRegistry=e.ServiceRegistry,this.langiumDocuments=e.workspace.LangiumDocuments,this.documentBuilder=e.workspace.DocumentBuilder,this.fileSystemProvider=e.workspace.FileSystemProvider,this.mutex=e.workspace.WorkspaceLock}get ready(){return this._ready.promise}initialize(e){var t;this.folders=(t=e.workspaceFolders)!==null&&t!==void 0?t:void 0}initialized(e){return this.mutex.write(t=>{var r;return this.initializeWorkspace((r=this.folders)!==null&&r!==void 0?r:[],t)})}async initializeWorkspace(e,t=X.None){const r=await this.performStartup(e);await Le(t),await this.documentBuilder.build(r,this.initialBuildOptions,t)}async performStartup(e){const t=this.serviceRegistry.all.flatMap(s=>s.LanguageMetaData.fileExtensions),r=[],i=s=>{r.push(s),this.langiumDocuments.hasDocument(s.uri)||this.langiumDocuments.addDocument(s)};return await this.loadAdditionalDocuments(e,i),await Promise.all(e.map(s=>[s,this.getRootFolder(s)]).map(async s=>this.traverseFolder(...s,t,i))),this._ready.resolve(),r}loadAdditionalDocuments(e,t){return Promise.resolve()}getRootFolder(e){return Wt.parse(e.uri)}async traverseFolder(e,t,r,i){const s=await this.fileSystemProvider.readDirectory(t);await Promise.all(s.map(async a=>{if(this.includeEntry(e,a,r)){if(a.isDirectory)await this.traverseFolder(e,a.uri,r,i);else if(a.isFile){const o=await this.langiumDocuments.getOrCreateDocument(a.uri);i(o)}}}))}includeEntry(e,t,r){const i=rt.basename(t.uri);if(i.startsWith("."))return!1;if(t.isDirectory)return i!=="node_modules"&&i!=="out";if(t.isFile){const s=rt.extname(t.uri);return r.includes(s)}return!1}}class wm{constructor(e){const t=e.parser.TokenBuilder.buildTokens(e.Grammar,{caseInsensitive:e.LanguageMetaData.caseInsensitive});this.tokenTypes=this.toTokenTypeDictionary(t);const r=za(t)?Object.values(t):t;this.chevrotainLexer=new de(r,{positionTracking:"full"})}get definition(){return this.tokenTypes}tokenize(e){var t;const r=this.chevrotainLexer.tokenize(e);return{tokens:r.tokens,errors:r.errors,hidden:(t=r.groups.hidden)!==null&&t!==void 0?t:[]}}toTokenTypeDictionary(e){if(za(e))return e;const t=gc(e)?Object.values(e.modes).flat():e,r={};return t.forEach(i=>r[i.name]=i),r}}function Om(n){return Array.isArray(n)&&(n.length===0||"name"in n[0])}function gc(n){return n&&"modes"in n&&"defaultMode"in n}function za(n){return!Om(n)&&!gc(n)}function Lm(n,e,t){let r,i;typeof n=="string"?(i=e,r=t):(i=n.range.start,r=e),i||(i=P.create(0,0));const s=yc(n),a=Ki(r),o=Mm({lines:s,position:i,options:a});return Fm({index:0,tokens:o,position:i})}function $m(n,e){const t=Ki(e),r=yc(n);if(r.length===0)return!1;const i=r[0],s=r[r.length-1],a=t.start,o=t.end;return!!(a!=null&&a.exec(i))&&!!(o!=null&&o.exec(s))}function yc(n){let e="";return typeof n=="string"?e=n:e=n.text,e.split(hd)}const qa=/\s*(@([\p{L}][\p{L}\p{N}]*)?)/uy,Pm=/\{(@[\p{L}][\p{L}\p{N}]*)(\s*)([^\r\n}]+)?\}/gu;function Mm(n){var e,t,r;const i=[];let s=n.position.line,a=n.position.character;for(let o=0;o=u.length){if(i.length>0){const h=P.create(s,a);i.push({type:"break",content:"",range:$.create(h,h)})}}else{qa.lastIndex=d;const h=qa.exec(u);if(h){const m=h[0],g=h[1],_=P.create(s,a+d),y=P.create(s,a+d+m.length);i.push({type:"tag",content:g,range:$.create(_,y)}),d+=m.length,d=yi(u,d)}if(d0&&i[i.length-1].type==="break"?i.slice(0,-1):i}function Dm(n,e,t,r){const i=[];if(n.length===0){const s=P.create(t,r),a=P.create(t,r+e.length);i.push({type:"text",content:e,range:$.create(s,a)})}else{let s=0;for(const o of n){const l=o.index,c=e.substring(s,l);c.length>0&&i.push({type:"text",content:e.substring(s,l),range:$.create(P.create(t,s+r),P.create(t,l+r))});let u=c.length+1;const d=o[1];if(i.push({type:"inline-tag",content:d,range:$.create(P.create(t,s+u+r),P.create(t,s+u+d.length+r))}),u+=d.length,o.length===4){u+=o[2].length;const f=o[3];i.push({type:"text",content:f,range:$.create(P.create(t,s+u+r),P.create(t,s+u+f.length+r))})}else i.push({type:"text",content:"",range:$.create(P.create(t,s+u+r),P.create(t,s+u+r))});s=l+o[0].length}const a=e.substring(s);a.length>0&&i.push({type:"text",content:a,range:$.create(P.create(t,s+r),P.create(t,s+r+a.length))})}return i}const jm=/\S/,Gm=/\s*$/;function yi(n,e){const t=n.substring(e).match(jm);return t?e+t.index:n.length}function Um(n){const e=n.match(Gm);if(e&&typeof e.index=="number")return e.index}function Fm(n){var e,t,r,i;const s=P.create(n.position.line,n.position.character);if(n.tokens.length===0)return new Ya([],$.create(s,s));const a=[];for(;n.indext.name===e)}getTags(e){return this.getAllTags().filter(t=>t.name===e)}getAllTags(){return this.elements.filter(e=>"name"in e)}toString(){let e="";for(const t of this.elements)if(e.length===0)e=t.toString();else{const r=t.toString();e+=Xa(e)+r}return e.trim()}toMarkdown(e){let t="";for(const r of this.elements)if(t.length===0)t=r.toMarkdown(e);else{const i=r.toMarkdown(e);t+=Xa(t)+i}return t.trim()}}class $r{constructor(e,t,r,i){this.name=e,this.content=t,this.inline=r,this.range=i}toString(){let e=`@${this.name}`;const t=this.content.toString();return this.content.inlines.length===1?e=`${e} ${t}`:this.content.inlines.length>1&&(e=`${e} ${t}`),this.inline?`{${e}}`:e}toMarkdown(e){var t,r;return(r=(t=e==null?void 0:e.renderTag)===null||t===void 0?void 0:t.call(e,this))!==null&&r!==void 0?r:this.toMarkdownDefault(e)}toMarkdownDefault(e){const t=this.content.toMarkdown(e);if(this.inline){const s=Wm(this.name,t,e??{});if(typeof s=="string")return s}let r="";(e==null?void 0:e.tag)==="italic"||(e==null?void 0:e.tag)===void 0?r="*":(e==null?void 0:e.tag)==="bold"?r="**":(e==null?void 0:e.tag)==="bold-italic"&&(r="***");let i=`${r}@${this.name}${r}`;return this.content.inlines.length===1?i=`${i} — ${t}`:this.content.inlines.length>1&&(i=`${i} ${t}`),this.inline?`{${i}}`:i}}function Wm(n,e,t){var r,i;if(n==="linkplain"||n==="linkcode"||n==="link"){const s=e.indexOf(" ");let a=e;if(s>0){const l=yi(e,s);a=e.substring(l),e=e.substring(0,s)}return(n==="linkcode"||n==="link"&&t.link==="code")&&(a=`\`${a}\``),(i=(r=t.renderLink)===null||r===void 0?void 0:r.call(t,e,a))!==null&&i!==void 0?i:Km(e,a)}}function Km(n,e){try{return Wt.parse(n,!0),`[${e}](${n})`}catch{return n}}class Ti{constructor(e,t){this.inlines=e,this.range=t}toString(){let e="";for(let t=0;tr.range.start.line&&(e+=` `)}return e}toMarkdown(e){let t="";for(let r=0;ri.range.start.line&&(t+=` diff --git a/assets/gitGraphDiagram-NRZ2UAAF-BdAcDn91.js b/assets/gitGraphDiagram-NRZ2UAAF-VU2wDnYX.js similarity index 98% rename from assets/gitGraphDiagram-NRZ2UAAF-BdAcDn91.js rename to assets/gitGraphDiagram-NRZ2UAAF-VU2wDnYX.js index ca0acec0b..da0dd3402 100644 --- a/assets/gitGraphDiagram-NRZ2UAAF-BdAcDn91.js +++ b/assets/gitGraphDiagram-NRZ2UAAF-VU2wDnYX.js @@ -1,4 +1,4 @@ -import{p as Z}from"./chunk-TMUBEWPD-DKkhX1hR.js";import{I as F}from"./chunk-KFBOBJHC-CGCgZoFv.js";import{B as U,_ as h,d as rr,C as er,D as tr,E as ar,l as w,s as nr,g as sr,b as or,c as cr,p as ir,q as dr,e as B,v as hr,j as lr,u as $r,F as fr}from"./index-Dq-yb_Rq.js";import{p as gr}from"./gitGraph-YCYPL57B-DpeDajKN.js";import"./_baseUniq-4k_gUsXm.js";import"./_basePickBy-DFtYmPO_.js";import"./clone-BJk3Zf2Y.js";var x={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},yr=U.gitGraph,z=h(()=>er({...yr,...tr().gitGraph}),"getConfig"),i=new F(()=>{const t=z(),r=t.mainBranchName,a=t.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:a}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function j(){return ar({length:7})}h(j,"getID");function N(t,r){const a=Object.create(null);return t.reduce((s,e)=>{const n=r(e);return a[n]||(a[n]=!0,s.push(e)),s},[])}h(N,"uniqBy");var ur=h(function(t){i.records.direction=t},"setDirection"),xr=h(function(t){w.debug("options str",t),t=t==null?void 0:t.trim(),t=t||"{}";try{i.records.options=JSON.parse(t)}catch(r){w.error("error while parsing gitGraph options",r.message)}},"setOptions"),pr=h(function(){return i.records.options},"getOptions"),br=h(function(t){let r=t.msg,a=t.id;const s=t.type;let e=t.tags;w.info("commit",r,a,s,e),w.debug("Entering commit:",r,a,s,e);const n=z();a=B.sanitizeText(a,n),r=B.sanitizeText(r,n),e=e==null?void 0:e.map(o=>B.sanitizeText(o,n));const c={id:a||i.records.seq+"-"+j(),message:r,seq:i.records.seq++,type:s??x.NORMAL,tags:e??[],parents:i.records.head==null?[]:[i.records.head.id],branch:i.records.currBranch};i.records.head=c,w.info("main branch",n.mainBranchName),i.records.commits.set(c.id,c),i.records.branches.set(i.records.currBranch,c.id),w.debug("in pushCommit "+c.id)},"commit"),mr=h(function(t){let r=t.name;const a=t.order;if(r=B.sanitizeText(r,z()),i.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);i.records.branches.set(r,i.records.head!=null?i.records.head.id:null),i.records.branchConfig.set(r,{name:r,order:a}),_(r),w.debug("in createBranch")},"branch"),wr=h(t=>{let r=t.branch,a=t.id;const s=t.type,e=t.tags,n=z();r=B.sanitizeText(r,n),a&&(a=B.sanitizeText(a,n));const c=i.records.branches.get(i.records.currBranch),o=i.records.branches.get(r),$=c?i.records.commits.get(c):void 0,l=o?i.records.commits.get(o):void 0;if($&&l&&$.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(i.records.currBranch===r){const d=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},d}if($===void 0||!$){const d=new Error(`Incorrect usage of "merge". Current branch (${i.records.currBranch})has no commits`);throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},d}if(!i.records.branches.has(r)){const d=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},d}if(l===void 0||!l){const d=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},d}if($===l){const d=new Error('Incorrect usage of "merge". Both branches have same head');throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},d}if(a&&i.records.commits.has(a)){const d=new Error('Incorrect usage of "merge". Commit with id:'+a+" already exists, use different custom Id");throw d.hash={text:`merge ${r} ${a} ${s} ${e==null?void 0:e.join(" ")}`,token:`merge ${r} ${a} ${s} ${e==null?void 0:e.join(" ")}`,expected:[`merge ${r} ${a}_UNIQUE ${s} ${e==null?void 0:e.join(" ")}`]},d}const f=o||"",g={id:a||`${i.records.seq}-${j()}`,message:`merged branch ${r} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,f],branch:i.records.currBranch,type:x.MERGE,customType:s,customId:!!a,tags:e??[]};i.records.head=g,i.records.commits.set(g.id,g),i.records.branches.set(i.records.currBranch,g.id),w.debug(i.records.branches),w.debug("in mergeBranch")},"merge"),vr=h(function(t){let r=t.id,a=t.targetId,s=t.tags,e=t.parent;w.debug("Entering cherryPick:",r,a,s);const n=z();if(r=B.sanitizeText(r,n),a=B.sanitizeText(a,n),s=s==null?void 0:s.map($=>B.sanitizeText($,n)),e=B.sanitizeText(e,n),!r||!i.records.commits.has(r)){const $=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw $.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},$}const c=i.records.commits.get(r);if(c===void 0||!c)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(e&&!(Array.isArray(c.parents)&&c.parents.includes(e)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const o=c.branch;if(c.type===x.MERGE&&!e)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!a||!i.records.commits.has(a)){if(o===i.records.currBranch){const g=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw g.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},g}const $=i.records.branches.get(i.records.currBranch);if($===void 0||!$){const g=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw g.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},g}const l=i.records.commits.get($);if(l===void 0||!l){const g=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw g.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},g}const f={id:i.records.seq+"-"+j(),message:`cherry-picked ${c==null?void 0:c.message} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,c.id],branch:i.records.currBranch,type:x.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${c.id}${c.type===x.MERGE?`|parent:${e}`:""}`]};i.records.head=f,i.records.commits.set(f.id,f),i.records.branches.set(i.records.currBranch,f.id),w.debug(i.records.branches),w.debug("in cherryPick")}},"cherryPick"),_=h(function(t){if(t=B.sanitizeText(t,z()),i.records.branches.has(t)){i.records.currBranch=t;const r=i.records.branches.get(i.records.currBranch);r===void 0||!r?i.records.head=null:i.records.head=i.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`);throw r.hash={text:`checkout ${t}`,token:`checkout ${t}`,expected:[`branch ${t}`]},r}},"checkout");function A(t,r,a){const s=t.indexOf(r);s===-1?t.push(a):t.splice(s,1,a)}h(A,"upsert");function D(t){const r=t.reduce((e,n)=>e.seq>n.seq?e:n,t[0]);let a="";t.forEach(function(e){e===r?a+=" *":a+=" |"});const s=[a,r.id,r.seq];for(const e in i.records.branches)i.records.branches.get(e)===r.id&&s.push(e);if(w.debug(s.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const e=i.records.commits.get(r.parents[0]);A(t,r,e),r.parents[1]&&t.push(i.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const e=i.records.commits.get(r.parents[0]);A(t,r,e)}}t=N(t,e=>e.id),D(t)}h(D,"prettyPrintCommitHistory");var Cr=h(function(){w.debug(i.records.commits);const t=V()[0];D([t])},"prettyPrint"),Er=h(function(){i.reset(),hr()},"clear"),Br=h(function(){return[...i.records.branchConfig.values()].map((r,a)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${a}`)}).sort((r,a)=>(r.order??0)-(a.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),kr=h(function(){return i.records.branches},"getBranches"),Lr=h(function(){return i.records.commits},"getCommits"),V=h(function(){const t=[...i.records.commits.values()];return t.forEach(function(r){w.debug(r.id)}),t.sort((r,a)=>r.seq-a.seq),t},"getCommitsArray"),Tr=h(function(){return i.records.currBranch},"getCurrentBranch"),Mr=h(function(){return i.records.direction},"getDirection"),Rr=h(function(){return i.records.head},"getHead"),X={commitType:x,getConfig:z,setDirection:ur,setOptions:xr,getOptions:pr,commit:br,branch:mr,merge:wr,cherryPick:vr,checkout:_,prettyPrint:Cr,clear:Er,getBranchesAsObjArray:Br,getBranches:kr,getCommits:Lr,getCommitsArray:V,getCurrentBranch:Tr,getDirection:Mr,getHead:Rr,setAccTitle:nr,getAccTitle:sr,getAccDescription:or,setAccDescription:cr,setDiagramTitle:ir,getDiagramTitle:dr},Ir=h((t,r)=>{Z(t,r),t.dir&&r.setDirection(t.dir);for(const a of t.statements)qr(a,r)},"populate"),qr=h((t,r)=>{const s={Commit:h(e=>r.commit(Or(e)),"Commit"),Branch:h(e=>r.branch(zr(e)),"Branch"),Merge:h(e=>r.merge(Gr(e)),"Merge"),Checkout:h(e=>r.checkout(Hr(e)),"Checkout"),CherryPicking:h(e=>r.cherryPick(Pr(e)),"CherryPicking")}[t.$type];s?s(t):w.error(`Unknown statement type: ${t.$type}`)},"parseStatement"),Or=h(t=>({id:t.id,msg:t.message??"",type:t.type!==void 0?x[t.type]:x.NORMAL,tags:t.tags??void 0}),"parseCommit"),zr=h(t=>({name:t.name,order:t.order??0}),"parseBranch"),Gr=h(t=>({branch:t.branch,id:t.id??"",type:t.type!==void 0?x[t.type]:void 0,tags:t.tags??void 0}),"parseMerge"),Hr=h(t=>t.branch,"parseCheckout"),Pr=h(t=>{var a;return{id:t.id,targetId:"",tags:((a=t.tags)==null?void 0:a.length)===0?void 0:t.tags,parent:t.parent}},"parseCherryPicking"),Wr={parse:h(async t=>{const r=await gr("gitGraph",t);w.debug(r),Ir(r,X)},"parse")},S=rr(),b=S==null?void 0:S.gitGraph,R=10,I=40,k=4,L=2,O=8,C=new Map,E=new Map,P=30,G=new Map,W=[],M=0,u="LR",jr=h(()=>{C.clear(),E.clear(),G.clear(),M=0,W=[],u="LR"},"clear"),J=h(t=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof t=="string"?t.split(/\\n|\n|/gi):t).forEach(s=>{const e=document.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","0"),e.setAttribute("class","row"),e.textContent=s.trim(),r.appendChild(e)}),r},"drawText"),Q=h(t=>{let r,a,s;return u==="BT"?(a=h((e,n)=>e<=n,"comparisonFunc"),s=1/0):(a=h((e,n)=>e>=n,"comparisonFunc"),s=0),t.forEach(e=>{var c,o;const n=u==="TB"||u=="BT"?(c=E.get(e))==null?void 0:c.y:(o=E.get(e))==null?void 0:o.x;n!==void 0&&a(n,s)&&(r=e,s=n)}),r},"findClosestParent"),Sr=h(t=>{let r="",a=1/0;return t.forEach(s=>{const e=E.get(s).y;e<=a&&(r=s,a=e)}),r||void 0},"findClosestParentBT"),Ar=h((t,r,a)=>{let s=a,e=a;const n=[];t.forEach(c=>{const o=r.get(c);if(!o)throw new Error(`Commit not found for key ${c}`);o.parents.length?(s=Yr(o),e=Math.max(s,e)):n.push(o),Kr(o,s)}),s=e,n.forEach(c=>{Nr(c,s,a)}),t.forEach(c=>{const o=r.get(c);if(o!=null&&o.parents.length){const $=Sr(o.parents);s=E.get($).y-I,s<=e&&(e=s);const l=C.get(o.branch).pos,f=s-R;E.set(o.id,{x:l,y:f})}})},"setParallelBTPos"),Dr=h(t=>{var s;const r=Q(t.parents.filter(e=>e!==null));if(!r)throw new Error(`Closest parent not found for commit ${t.id}`);const a=(s=E.get(r))==null?void 0:s.y;if(a===void 0)throw new Error(`Closest parent position not found for commit ${t.id}`);return a},"findClosestParentPos"),Yr=h(t=>Dr(t)+I,"calculateCommitPosition"),Kr=h((t,r)=>{const a=C.get(t.branch);if(!a)throw new Error(`Branch not found for commit ${t.id}`);const s=a.pos,e=r+R;return E.set(t.id,{x:s,y:e}),{x:s,y:e}},"setCommitPosition"),Nr=h((t,r,a)=>{const s=C.get(t.branch);if(!s)throw new Error(`Branch not found for commit ${t.id}`);const e=r+a,n=s.pos;E.set(t.id,{x:n,y:e})},"setRootPosition"),_r=h((t,r,a,s,e,n)=>{if(n===x.HIGHLIGHT)t.append("rect").attr("x",a.x-10).attr("y",a.y-10).attr("width",20).attr("height",20).attr("class",`commit ${r.id} commit-highlight${e%O} ${s}-outer`),t.append("rect").attr("x",a.x-6).attr("y",a.y-6).attr("width",12).attr("height",12).attr("class",`commit ${r.id} commit${e%O} ${s}-inner`);else if(n===x.CHERRY_PICK)t.append("circle").attr("cx",a.x).attr("cy",a.y).attr("r",10).attr("class",`commit ${r.id} ${s}`),t.append("circle").attr("cx",a.x-3).attr("cy",a.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${s}`),t.append("circle").attr("cx",a.x+3).attr("cy",a.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${s}`),t.append("line").attr("x1",a.x+3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${s}`),t.append("line").attr("x1",a.x-3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${s}`);else{const c=t.append("circle");if(c.attr("cx",a.x),c.attr("cy",a.y),c.attr("r",r.type===x.MERGE?9:10),c.attr("class",`commit ${r.id} commit${e%O}`),n===x.MERGE){const o=t.append("circle");o.attr("cx",a.x),o.attr("cy",a.y),o.attr("r",6),o.attr("class",`commit ${s} ${r.id} commit${e%O}`)}n===x.REVERSE&&t.append("path").attr("d",`M ${a.x-5},${a.y-5}L${a.x+5},${a.y+5}M${a.x-5},${a.y+5}L${a.x+5},${a.y-5}`).attr("class",`commit ${s} ${r.id} commit${e%O}`)}},"drawCommitBullet"),Vr=h((t,r,a,s)=>{var e;if(r.type!==x.CHERRY_PICK&&(r.customId&&r.type===x.MERGE||r.type!==x.MERGE)&&(b!=null&&b.showCommitLabel)){const n=t.append("g"),c=n.insert("rect").attr("class","commit-label-bkg"),o=n.append("text").attr("x",s).attr("y",a.y+25).attr("class","commit-label").text(r.id),$=(e=o.node())==null?void 0:e.getBBox();if($&&(c.attr("x",a.posWithOffset-$.width/2-L).attr("y",a.y+13.5).attr("width",$.width+2*L).attr("height",$.height+2*L),u==="TB"||u==="BT"?(c.attr("x",a.x-($.width+4*k+5)).attr("y",a.y-12),o.attr("x",a.x-($.width+4*k)).attr("y",a.y+$.height-12)):o.attr("x",a.posWithOffset-$.width/2),b.rotateCommitLabel))if(u==="TB"||u==="BT")o.attr("transform","rotate(-45, "+a.x+", "+a.y+")"),c.attr("transform","rotate(-45, "+a.x+", "+a.y+")");else{const l=-7.5-($.width+10)/25*9.5,f=10+$.width/25*8.5;n.attr("transform","translate("+l+", "+f+") rotate(-45, "+s+", "+a.y+")")}}},"drawCommitLabel"),Xr=h((t,r,a,s)=>{var e;if(r.tags.length>0){let n=0,c=0,o=0;const $=[];for(const l of r.tags.reverse()){const f=t.insert("polygon"),g=t.append("circle"),d=t.append("text").attr("y",a.y-16-n).attr("class","tag-label").text(l),y=(e=d.node())==null?void 0:e.getBBox();if(!y)throw new Error("Tag bbox not found");c=Math.max(c,y.width),o=Math.max(o,y.height),d.attr("x",a.posWithOffset-y.width/2),$.push({tag:d,hole:g,rect:f,yOffset:n}),n+=20}for(const{tag:l,hole:f,rect:g,yOffset:d}of $){const y=o/2,p=a.y-19.2-d;if(g.attr("class","tag-label-bkg").attr("points",` +import{p as Z}from"./chunk-TMUBEWPD-DJMHR1yx.js";import{I as F}from"./chunk-KFBOBJHC-K9iYjR43.js";import{B as U,_ as h,d as rr,C as er,D as tr,E as ar,l as w,s as nr,g as sr,b as or,c as cr,p as ir,q as dr,e as B,v as hr,j as lr,u as $r,F as fr}from"./index-BxMsVRSP.js";import{p as gr}from"./gitGraph-YCYPL57B-XVjt0la2.js";import"./_baseUniq-QkQtF8Yx.js";import"./_basePickBy-DAcC5mcM.js";import"./clone-BKg_06cU.js";var x={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},yr=U.gitGraph,z=h(()=>er({...yr,...tr().gitGraph}),"getConfig"),i=new F(()=>{const t=z(),r=t.mainBranchName,a=t.mainBranchOrder;return{mainBranchName:r,commits:new Map,head:null,branchConfig:new Map([[r,{name:r,order:a}]]),branches:new Map([[r,null]]),currBranch:r,direction:"LR",seq:0,options:{}}});function j(){return ar({length:7})}h(j,"getID");function N(t,r){const a=Object.create(null);return t.reduce((s,e)=>{const n=r(e);return a[n]||(a[n]=!0,s.push(e)),s},[])}h(N,"uniqBy");var ur=h(function(t){i.records.direction=t},"setDirection"),xr=h(function(t){w.debug("options str",t),t=t==null?void 0:t.trim(),t=t||"{}";try{i.records.options=JSON.parse(t)}catch(r){w.error("error while parsing gitGraph options",r.message)}},"setOptions"),pr=h(function(){return i.records.options},"getOptions"),br=h(function(t){let r=t.msg,a=t.id;const s=t.type;let e=t.tags;w.info("commit",r,a,s,e),w.debug("Entering commit:",r,a,s,e);const n=z();a=B.sanitizeText(a,n),r=B.sanitizeText(r,n),e=e==null?void 0:e.map(o=>B.sanitizeText(o,n));const c={id:a||i.records.seq+"-"+j(),message:r,seq:i.records.seq++,type:s??x.NORMAL,tags:e??[],parents:i.records.head==null?[]:[i.records.head.id],branch:i.records.currBranch};i.records.head=c,w.info("main branch",n.mainBranchName),i.records.commits.set(c.id,c),i.records.branches.set(i.records.currBranch,c.id),w.debug("in pushCommit "+c.id)},"commit"),mr=h(function(t){let r=t.name;const a=t.order;if(r=B.sanitizeText(r,z()),i.records.branches.has(r))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);i.records.branches.set(r,i.records.head!=null?i.records.head.id:null),i.records.branchConfig.set(r,{name:r,order:a}),_(r),w.debug("in createBranch")},"branch"),wr=h(t=>{let r=t.branch,a=t.id;const s=t.type,e=t.tags,n=z();r=B.sanitizeText(r,n),a&&(a=B.sanitizeText(a,n));const c=i.records.branches.get(i.records.currBranch),o=i.records.branches.get(r),$=c?i.records.commits.get(c):void 0,l=o?i.records.commits.get(o):void 0;if($&&l&&$.branch===r)throw new Error(`Cannot merge branch '${r}' into itself.`);if(i.records.currBranch===r){const d=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},d}if($===void 0||!$){const d=new Error(`Incorrect usage of "merge". Current branch (${i.records.currBranch})has no commits`);throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["commit"]},d}if(!i.records.branches.has(r)){const d=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") does not exist");throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},d}if(l===void 0||!l){const d=new Error('Incorrect usage of "merge". Branch to be merged ('+r+") has no commits");throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:['"commit"']},d}if($===l){const d=new Error('Incorrect usage of "merge". Both branches have same head');throw d.hash={text:`merge ${r}`,token:`merge ${r}`,expected:["branch abc"]},d}if(a&&i.records.commits.has(a)){const d=new Error('Incorrect usage of "merge". Commit with id:'+a+" already exists, use different custom Id");throw d.hash={text:`merge ${r} ${a} ${s} ${e==null?void 0:e.join(" ")}`,token:`merge ${r} ${a} ${s} ${e==null?void 0:e.join(" ")}`,expected:[`merge ${r} ${a}_UNIQUE ${s} ${e==null?void 0:e.join(" ")}`]},d}const f=o||"",g={id:a||`${i.records.seq}-${j()}`,message:`merged branch ${r} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,f],branch:i.records.currBranch,type:x.MERGE,customType:s,customId:!!a,tags:e??[]};i.records.head=g,i.records.commits.set(g.id,g),i.records.branches.set(i.records.currBranch,g.id),w.debug(i.records.branches),w.debug("in mergeBranch")},"merge"),vr=h(function(t){let r=t.id,a=t.targetId,s=t.tags,e=t.parent;w.debug("Entering cherryPick:",r,a,s);const n=z();if(r=B.sanitizeText(r,n),a=B.sanitizeText(a,n),s=s==null?void 0:s.map($=>B.sanitizeText($,n)),e=B.sanitizeText(e,n),!r||!i.records.commits.has(r)){const $=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw $.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},$}const c=i.records.commits.get(r);if(c===void 0||!c)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(e&&!(Array.isArray(c.parents)&&c.parents.includes(e)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");const o=c.branch;if(c.type===x.MERGE&&!e)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!a||!i.records.commits.has(a)){if(o===i.records.currBranch){const g=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw g.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},g}const $=i.records.branches.get(i.records.currBranch);if($===void 0||!$){const g=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw g.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},g}const l=i.records.commits.get($);if(l===void 0||!l){const g=new Error(`Incorrect usage of "cherry-pick". Current branch (${i.records.currBranch})has no commits`);throw g.hash={text:`cherryPick ${r} ${a}`,token:`cherryPick ${r} ${a}`,expected:["cherry-pick abc"]},g}const f={id:i.records.seq+"-"+j(),message:`cherry-picked ${c==null?void 0:c.message} into ${i.records.currBranch}`,seq:i.records.seq++,parents:i.records.head==null?[]:[i.records.head.id,c.id],branch:i.records.currBranch,type:x.CHERRY_PICK,tags:s?s.filter(Boolean):[`cherry-pick:${c.id}${c.type===x.MERGE?`|parent:${e}`:""}`]};i.records.head=f,i.records.commits.set(f.id,f),i.records.branches.set(i.records.currBranch,f.id),w.debug(i.records.branches),w.debug("in cherryPick")}},"cherryPick"),_=h(function(t){if(t=B.sanitizeText(t,z()),i.records.branches.has(t)){i.records.currBranch=t;const r=i.records.branches.get(i.records.currBranch);r===void 0||!r?i.records.head=null:i.records.head=i.records.commits.get(r)??null}else{const r=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`);throw r.hash={text:`checkout ${t}`,token:`checkout ${t}`,expected:[`branch ${t}`]},r}},"checkout");function A(t,r,a){const s=t.indexOf(r);s===-1?t.push(a):t.splice(s,1,a)}h(A,"upsert");function D(t){const r=t.reduce((e,n)=>e.seq>n.seq?e:n,t[0]);let a="";t.forEach(function(e){e===r?a+=" *":a+=" |"});const s=[a,r.id,r.seq];for(const e in i.records.branches)i.records.branches.get(e)===r.id&&s.push(e);if(w.debug(s.join(" ")),r.parents&&r.parents.length==2&&r.parents[0]&&r.parents[1]){const e=i.records.commits.get(r.parents[0]);A(t,r,e),r.parents[1]&&t.push(i.records.commits.get(r.parents[1]))}else{if(r.parents.length==0)return;if(r.parents[0]){const e=i.records.commits.get(r.parents[0]);A(t,r,e)}}t=N(t,e=>e.id),D(t)}h(D,"prettyPrintCommitHistory");var Cr=h(function(){w.debug(i.records.commits);const t=V()[0];D([t])},"prettyPrint"),Er=h(function(){i.reset(),hr()},"clear"),Br=h(function(){return[...i.records.branchConfig.values()].map((r,a)=>r.order!==null&&r.order!==void 0?r:{...r,order:parseFloat(`0.${a}`)}).sort((r,a)=>(r.order??0)-(a.order??0)).map(({name:r})=>({name:r}))},"getBranchesAsObjArray"),kr=h(function(){return i.records.branches},"getBranches"),Lr=h(function(){return i.records.commits},"getCommits"),V=h(function(){const t=[...i.records.commits.values()];return t.forEach(function(r){w.debug(r.id)}),t.sort((r,a)=>r.seq-a.seq),t},"getCommitsArray"),Tr=h(function(){return i.records.currBranch},"getCurrentBranch"),Mr=h(function(){return i.records.direction},"getDirection"),Rr=h(function(){return i.records.head},"getHead"),X={commitType:x,getConfig:z,setDirection:ur,setOptions:xr,getOptions:pr,commit:br,branch:mr,merge:wr,cherryPick:vr,checkout:_,prettyPrint:Cr,clear:Er,getBranchesAsObjArray:Br,getBranches:kr,getCommits:Lr,getCommitsArray:V,getCurrentBranch:Tr,getDirection:Mr,getHead:Rr,setAccTitle:nr,getAccTitle:sr,getAccDescription:or,setAccDescription:cr,setDiagramTitle:ir,getDiagramTitle:dr},Ir=h((t,r)=>{Z(t,r),t.dir&&r.setDirection(t.dir);for(const a of t.statements)qr(a,r)},"populate"),qr=h((t,r)=>{const s={Commit:h(e=>r.commit(Or(e)),"Commit"),Branch:h(e=>r.branch(zr(e)),"Branch"),Merge:h(e=>r.merge(Gr(e)),"Merge"),Checkout:h(e=>r.checkout(Hr(e)),"Checkout"),CherryPicking:h(e=>r.cherryPick(Pr(e)),"CherryPicking")}[t.$type];s?s(t):w.error(`Unknown statement type: ${t.$type}`)},"parseStatement"),Or=h(t=>({id:t.id,msg:t.message??"",type:t.type!==void 0?x[t.type]:x.NORMAL,tags:t.tags??void 0}),"parseCommit"),zr=h(t=>({name:t.name,order:t.order??0}),"parseBranch"),Gr=h(t=>({branch:t.branch,id:t.id??"",type:t.type!==void 0?x[t.type]:void 0,tags:t.tags??void 0}),"parseMerge"),Hr=h(t=>t.branch,"parseCheckout"),Pr=h(t=>{var a;return{id:t.id,targetId:"",tags:((a=t.tags)==null?void 0:a.length)===0?void 0:t.tags,parent:t.parent}},"parseCherryPicking"),Wr={parse:h(async t=>{const r=await gr("gitGraph",t);w.debug(r),Ir(r,X)},"parse")},S=rr(),b=S==null?void 0:S.gitGraph,R=10,I=40,k=4,L=2,O=8,C=new Map,E=new Map,P=30,G=new Map,W=[],M=0,u="LR",jr=h(()=>{C.clear(),E.clear(),G.clear(),M=0,W=[],u="LR"},"clear"),J=h(t=>{const r=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof t=="string"?t.split(/\\n|\n|/gi):t).forEach(s=>{const e=document.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","0"),e.setAttribute("class","row"),e.textContent=s.trim(),r.appendChild(e)}),r},"drawText"),Q=h(t=>{let r,a,s;return u==="BT"?(a=h((e,n)=>e<=n,"comparisonFunc"),s=1/0):(a=h((e,n)=>e>=n,"comparisonFunc"),s=0),t.forEach(e=>{var c,o;const n=u==="TB"||u=="BT"?(c=E.get(e))==null?void 0:c.y:(o=E.get(e))==null?void 0:o.x;n!==void 0&&a(n,s)&&(r=e,s=n)}),r},"findClosestParent"),Sr=h(t=>{let r="",a=1/0;return t.forEach(s=>{const e=E.get(s).y;e<=a&&(r=s,a=e)}),r||void 0},"findClosestParentBT"),Ar=h((t,r,a)=>{let s=a,e=a;const n=[];t.forEach(c=>{const o=r.get(c);if(!o)throw new Error(`Commit not found for key ${c}`);o.parents.length?(s=Yr(o),e=Math.max(s,e)):n.push(o),Kr(o,s)}),s=e,n.forEach(c=>{Nr(c,s,a)}),t.forEach(c=>{const o=r.get(c);if(o!=null&&o.parents.length){const $=Sr(o.parents);s=E.get($).y-I,s<=e&&(e=s);const l=C.get(o.branch).pos,f=s-R;E.set(o.id,{x:l,y:f})}})},"setParallelBTPos"),Dr=h(t=>{var s;const r=Q(t.parents.filter(e=>e!==null));if(!r)throw new Error(`Closest parent not found for commit ${t.id}`);const a=(s=E.get(r))==null?void 0:s.y;if(a===void 0)throw new Error(`Closest parent position not found for commit ${t.id}`);return a},"findClosestParentPos"),Yr=h(t=>Dr(t)+I,"calculateCommitPosition"),Kr=h((t,r)=>{const a=C.get(t.branch);if(!a)throw new Error(`Branch not found for commit ${t.id}`);const s=a.pos,e=r+R;return E.set(t.id,{x:s,y:e}),{x:s,y:e}},"setCommitPosition"),Nr=h((t,r,a)=>{const s=C.get(t.branch);if(!s)throw new Error(`Branch not found for commit ${t.id}`);const e=r+a,n=s.pos;E.set(t.id,{x:n,y:e})},"setRootPosition"),_r=h((t,r,a,s,e,n)=>{if(n===x.HIGHLIGHT)t.append("rect").attr("x",a.x-10).attr("y",a.y-10).attr("width",20).attr("height",20).attr("class",`commit ${r.id} commit-highlight${e%O} ${s}-outer`),t.append("rect").attr("x",a.x-6).attr("y",a.y-6).attr("width",12).attr("height",12).attr("class",`commit ${r.id} commit${e%O} ${s}-inner`);else if(n===x.CHERRY_PICK)t.append("circle").attr("cx",a.x).attr("cy",a.y).attr("r",10).attr("class",`commit ${r.id} ${s}`),t.append("circle").attr("cx",a.x-3).attr("cy",a.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${s}`),t.append("circle").attr("cx",a.x+3).attr("cy",a.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${r.id} ${s}`),t.append("line").attr("x1",a.x+3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${s}`),t.append("line").attr("x1",a.x-3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke","#fff").attr("class",`commit ${r.id} ${s}`);else{const c=t.append("circle");if(c.attr("cx",a.x),c.attr("cy",a.y),c.attr("r",r.type===x.MERGE?9:10),c.attr("class",`commit ${r.id} commit${e%O}`),n===x.MERGE){const o=t.append("circle");o.attr("cx",a.x),o.attr("cy",a.y),o.attr("r",6),o.attr("class",`commit ${s} ${r.id} commit${e%O}`)}n===x.REVERSE&&t.append("path").attr("d",`M ${a.x-5},${a.y-5}L${a.x+5},${a.y+5}M${a.x-5},${a.y+5}L${a.x+5},${a.y-5}`).attr("class",`commit ${s} ${r.id} commit${e%O}`)}},"drawCommitBullet"),Vr=h((t,r,a,s)=>{var e;if(r.type!==x.CHERRY_PICK&&(r.customId&&r.type===x.MERGE||r.type!==x.MERGE)&&(b!=null&&b.showCommitLabel)){const n=t.append("g"),c=n.insert("rect").attr("class","commit-label-bkg"),o=n.append("text").attr("x",s).attr("y",a.y+25).attr("class","commit-label").text(r.id),$=(e=o.node())==null?void 0:e.getBBox();if($&&(c.attr("x",a.posWithOffset-$.width/2-L).attr("y",a.y+13.5).attr("width",$.width+2*L).attr("height",$.height+2*L),u==="TB"||u==="BT"?(c.attr("x",a.x-($.width+4*k+5)).attr("y",a.y-12),o.attr("x",a.x-($.width+4*k)).attr("y",a.y+$.height-12)):o.attr("x",a.posWithOffset-$.width/2),b.rotateCommitLabel))if(u==="TB"||u==="BT")o.attr("transform","rotate(-45, "+a.x+", "+a.y+")"),c.attr("transform","rotate(-45, "+a.x+", "+a.y+")");else{const l=-7.5-($.width+10)/25*9.5,f=10+$.width/25*8.5;n.attr("transform","translate("+l+", "+f+") rotate(-45, "+s+", "+a.y+")")}}},"drawCommitLabel"),Xr=h((t,r,a,s)=>{var e;if(r.tags.length>0){let n=0,c=0,o=0;const $=[];for(const l of r.tags.reverse()){const f=t.insert("polygon"),g=t.append("circle"),d=t.append("text").attr("y",a.y-16-n).attr("class","tag-label").text(l),y=(e=d.node())==null?void 0:e.getBBox();if(!y)throw new Error("Tag bbox not found");c=Math.max(c,y.width),o=Math.max(o,y.height),d.attr("x",a.posWithOffset-y.width/2),$.push({tag:d,hole:g,rect:f,yOffset:n}),n+=20}for(const{tag:l,hole:f,rect:g,yOffset:d}of $){const y=o/2,p=a.y-19.2-d;if(g.attr("class","tag-label-bkg").attr("points",` ${s-c/2-k/2},${p+L} ${s-c/2-k/2},${p-L} ${a.posWithOffset-c/2-k},${p-y-L} diff --git a/assets/graph-IuN8xJxa.js b/assets/graph-CIloxWRz.js similarity index 96% rename from assets/graph-IuN8xJxa.js rename to assets/graph-CIloxWRz.js index 96215e322..b5602b2db 100644 --- a/assets/graph-IuN8xJxa.js +++ b/assets/graph-CIloxWRz.js @@ -1 +1 @@ -import{aA as N,aB as j,aC as f,aD as b,aE as E}from"./index-Dq-yb_Rq.js";import{a as v,c as P,k as _,f as g,d,i as l,v as p,r as D}from"./_baseUniq-4k_gUsXm.js";var w=N(function(o){return v(P(o,1,j,!0))}),F="\0",a="\0",O="";class L{constructor(e={}){this._isDirected=Object.prototype.hasOwnProperty.call(e,"directed")?e.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(e,"multigraph")?e.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(e,"compound")?e.compound:!1,this._label=void 0,this._defaultNodeLabelFn=f(void 0),this._defaultEdgeLabelFn=f(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[a]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return b(e)||(e=f(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return _(this._nodes)}sources(){var e=this;return g(this.nodes(),function(t){return E(e._in[t])})}sinks(){var e=this;return g(this.nodes(),function(t){return E(e._out[t])})}setNodes(e,t){var s=arguments,i=this;return d(e,function(r){s.length>1?i.setNode(r,t):i.setNode(r)}),this}setNode(e,t){return Object.prototype.hasOwnProperty.call(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=a,this._children[e]={},this._children[a][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return Object.prototype.hasOwnProperty.call(this._nodes,e)}removeNode(e){if(Object.prototype.hasOwnProperty.call(this._nodes,e)){var t=s=>this.removeEdge(this._edgeObjs[s]);delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],d(this.children(e),s=>{this.setParent(s)}),delete this._children[e]),d(_(this._in[e]),t),delete this._in[e],delete this._preds[e],d(_(this._out[e]),t),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(l(t))t=a;else{t+="";for(var s=t;!l(s);s=this.parent(s))if(s===e)throw new Error("Setting "+t+" as parent of "+e+" would create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var t=this._parent[e];if(t!==a)return t}}children(e){if(l(e)&&(e=a),this._isCompound){var t=this._children[e];if(t)return _(t)}else{if(e===a)return this.nodes();if(this.hasNode(e))return[]}}predecessors(e){var t=this._preds[e];if(t)return _(t)}successors(e){var t=this._sucs[e];if(t)return _(t)}neighbors(e){var t=this.predecessors(e);if(t)return w(t,this.successors(e))}isLeaf(e){var t;return this.isDirected()?t=this.successors(e):t=this.neighbors(e),t.length===0}filterNodes(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var s=this;d(this._nodes,function(n,h){e(h)&&t.setNode(h,n)}),d(this._edgeObjs,function(n){t.hasNode(n.v)&&t.hasNode(n.w)&&t.setEdge(n,s.edge(n))});var i={};function r(n){var h=s.parent(n);return h===void 0||t.hasNode(h)?(i[n]=h,h):h in i?i[h]:r(h)}return this._isCompound&&d(t.nodes(),function(n){t.setParent(n,r(n))}),t}setDefaultEdgeLabel(e){return b(e)||(e=f(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return p(this._edgeObjs)}setPath(e,t){var s=this,i=arguments;return D(e,function(r,n){return i.length>1?s.setEdge(r,n,t):s.setEdge(r,n),n}),this}setEdge(){var e,t,s,i,r=!1,n=arguments[0];typeof n=="object"&&n!==null&&"v"in n?(e=n.v,t=n.w,s=n.name,arguments.length===2&&(i=arguments[1],r=!0)):(e=n,t=arguments[1],s=arguments[3],arguments.length>2&&(i=arguments[2],r=!0)),e=""+e,t=""+t,l(s)||(s=""+s);var h=c(this._isDirected,e,t,s);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,h))return r&&(this._edgeLabels[h]=i),this;if(!l(s)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(t),this._edgeLabels[h]=r?i:this._defaultEdgeLabelFn(e,t,s);var u=M(this._isDirected,e,t,s);return e=u.v,t=u.w,Object.freeze(u),this._edgeObjs[h]=u,C(this._preds[t],e),C(this._sucs[e],t),this._in[t][h]=u,this._out[e][h]=u,this._edgeCount++,this}edge(e,t,s){var i=arguments.length===1?m(this._isDirected,arguments[0]):c(this._isDirected,e,t,s);return this._edgeLabels[i]}hasEdge(e,t,s){var i=arguments.length===1?m(this._isDirected,arguments[0]):c(this._isDirected,e,t,s);return Object.prototype.hasOwnProperty.call(this._edgeLabels,i)}removeEdge(e,t,s){var i=arguments.length===1?m(this._isDirected,arguments[0]):c(this._isDirected,e,t,s),r=this._edgeObjs[i];return r&&(e=r.v,t=r.w,delete this._edgeLabels[i],delete this._edgeObjs[i],y(this._preds[t],e),y(this._sucs[e],t),delete this._in[t][i],delete this._out[e][i],this._edgeCount--),this}inEdges(e,t){var s=this._in[e];if(s){var i=p(s);return t?g(i,function(r){return r.v===t}):i}}outEdges(e,t){var s=this._out[e];if(s){var i=p(s);return t?g(i,function(r){return r.w===t}):i}}nodeEdges(e,t){var s=this.inEdges(e,t);if(s)return s.concat(this.outEdges(e,t))}}L.prototype._nodeCount=0;L.prototype._edgeCount=0;function C(o,e){o[e]?o[e]++:o[e]=1}function y(o,e){--o[e]||delete o[e]}function c(o,e,t,s){var i=""+e,r=""+t;if(!o&&i>r){var n=i;i=r,r=n}return i+O+r+O+(l(s)?F:s)}function M(o,e,t,s){var i=""+e,r=""+t;if(!o&&i>r){var n=i;i=r,r=n}var h={v:i,w:r};return s&&(h.name=s),h}function m(o,e){return c(o,e.v,e.w,e.name)}export{L as G}; +import{aA as N,aB as j,aC as f,aD as b,aE as E}from"./index-BxMsVRSP.js";import{a as v,c as P,k as _,f as g,d,i as l,v as p,r as D}from"./_baseUniq-QkQtF8Yx.js";var w=N(function(o){return v(P(o,1,j,!0))}),F="\0",a="\0",O="";class L{constructor(e={}){this._isDirected=Object.prototype.hasOwnProperty.call(e,"directed")?e.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(e,"multigraph")?e.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(e,"compound")?e.compound:!1,this._label=void 0,this._defaultNodeLabelFn=f(void 0),this._defaultEdgeLabelFn=f(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[a]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return b(e)||(e=f(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return _(this._nodes)}sources(){var e=this;return g(this.nodes(),function(t){return E(e._in[t])})}sinks(){var e=this;return g(this.nodes(),function(t){return E(e._out[t])})}setNodes(e,t){var s=arguments,i=this;return d(e,function(r){s.length>1?i.setNode(r,t):i.setNode(r)}),this}setNode(e,t){return Object.prototype.hasOwnProperty.call(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=a,this._children[e]={},this._children[a][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return Object.prototype.hasOwnProperty.call(this._nodes,e)}removeNode(e){if(Object.prototype.hasOwnProperty.call(this._nodes,e)){var t=s=>this.removeEdge(this._edgeObjs[s]);delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],d(this.children(e),s=>{this.setParent(s)}),delete this._children[e]),d(_(this._in[e]),t),delete this._in[e],delete this._preds[e],d(_(this._out[e]),t),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,t){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(l(t))t=a;else{t+="";for(var s=t;!l(s);s=this.parent(s))if(s===e)throw new Error("Setting "+t+" as parent of "+e+" would create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var t=this._parent[e];if(t!==a)return t}}children(e){if(l(e)&&(e=a),this._isCompound){var t=this._children[e];if(t)return _(t)}else{if(e===a)return this.nodes();if(this.hasNode(e))return[]}}predecessors(e){var t=this._preds[e];if(t)return _(t)}successors(e){var t=this._sucs[e];if(t)return _(t)}neighbors(e){var t=this.predecessors(e);if(t)return w(t,this.successors(e))}isLeaf(e){var t;return this.isDirected()?t=this.successors(e):t=this.neighbors(e),t.length===0}filterNodes(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var s=this;d(this._nodes,function(n,h){e(h)&&t.setNode(h,n)}),d(this._edgeObjs,function(n){t.hasNode(n.v)&&t.hasNode(n.w)&&t.setEdge(n,s.edge(n))});var i={};function r(n){var h=s.parent(n);return h===void 0||t.hasNode(h)?(i[n]=h,h):h in i?i[h]:r(h)}return this._isCompound&&d(t.nodes(),function(n){t.setParent(n,r(n))}),t}setDefaultEdgeLabel(e){return b(e)||(e=f(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return p(this._edgeObjs)}setPath(e,t){var s=this,i=arguments;return D(e,function(r,n){return i.length>1?s.setEdge(r,n,t):s.setEdge(r,n),n}),this}setEdge(){var e,t,s,i,r=!1,n=arguments[0];typeof n=="object"&&n!==null&&"v"in n?(e=n.v,t=n.w,s=n.name,arguments.length===2&&(i=arguments[1],r=!0)):(e=n,t=arguments[1],s=arguments[3],arguments.length>2&&(i=arguments[2],r=!0)),e=""+e,t=""+t,l(s)||(s=""+s);var h=c(this._isDirected,e,t,s);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,h))return r&&(this._edgeLabels[h]=i),this;if(!l(s)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(t),this._edgeLabels[h]=r?i:this._defaultEdgeLabelFn(e,t,s);var u=M(this._isDirected,e,t,s);return e=u.v,t=u.w,Object.freeze(u),this._edgeObjs[h]=u,C(this._preds[t],e),C(this._sucs[e],t),this._in[t][h]=u,this._out[e][h]=u,this._edgeCount++,this}edge(e,t,s){var i=arguments.length===1?m(this._isDirected,arguments[0]):c(this._isDirected,e,t,s);return this._edgeLabels[i]}hasEdge(e,t,s){var i=arguments.length===1?m(this._isDirected,arguments[0]):c(this._isDirected,e,t,s);return Object.prototype.hasOwnProperty.call(this._edgeLabels,i)}removeEdge(e,t,s){var i=arguments.length===1?m(this._isDirected,arguments[0]):c(this._isDirected,e,t,s),r=this._edgeObjs[i];return r&&(e=r.v,t=r.w,delete this._edgeLabels[i],delete this._edgeObjs[i],y(this._preds[t],e),y(this._sucs[e],t),delete this._in[t][i],delete this._out[e][i],this._edgeCount--),this}inEdges(e,t){var s=this._in[e];if(s){var i=p(s);return t?g(i,function(r){return r.v===t}):i}}outEdges(e,t){var s=this._out[e];if(s){var i=p(s);return t?g(i,function(r){return r.w===t}):i}}nodeEdges(e,t){var s=this.inEdges(e,t);if(s)return s.concat(this.outEdges(e,t))}}L.prototype._nodeCount=0;L.prototype._edgeCount=0;function C(o,e){o[e]?o[e]++:o[e]=1}function y(o,e){--o[e]||delete o[e]}function c(o,e,t,s){var i=""+e,r=""+t;if(!o&&i>r){var n=i;i=r,r=n}return i+O+r+O+(l(s)?F:s)}function M(o,e,t,s){var i=""+e,r=""+t;if(!o&&i>r){var n=i;i=r,r=n}var h={v:i,w:r};return s&&(h.name=s),h}function m(o,e){return c(o,e.v,e.w,e.name)}export{L as G}; diff --git a/assets/index-Dq-yb_Rq.js b/assets/index-BxMsVRSP.js similarity index 84% rename from assets/index-Dq-yb_Rq.js rename to assets/index-BxMsVRSP.js index d7ce1610a..e867ff724 100644 --- a/assets/index-Dq-yb_Rq.js +++ b/assets/index-BxMsVRSP.js @@ -1,4 +1,4 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/dagre-4EVJKHTY-D1cZbDqV.js","assets/graph-IuN8xJxa.js","assets/_baseUniq-4k_gUsXm.js","assets/layout-DmYEI147.js","assets/_basePickBy-DFtYmPO_.js","assets/clone-BJk3Zf2Y.js","assets/c4Diagram-6F5ED5ID-9Wg7_Mwa.js","assets/chunk-ASOPGD6M-CUw5NolE.js","assets/flowDiagram-7ASYPVHJ-pp3MCGLE.js","assets/chunk-5HRBRIJM-C3cKZcXu.js","assets/channel-SpFC1OZH.js","assets/erDiagram-6RL3IURR-BDkDyFiO.js","assets/gitGraphDiagram-NRZ2UAAF-BdAcDn91.js","assets/chunk-TMUBEWPD-DKkhX1hR.js","assets/chunk-KFBOBJHC-CGCgZoFv.js","assets/gitGraph-YCYPL57B-DpeDajKN.js","assets/ganttDiagram-NTVNEXSI-CgzSxtw6.js","assets/linear-CcPs0ftO.js","assets/init-Gi6I4Gst.js","assets/infoDiagram-A4XQUW5V-CoidIO8K.js","assets/pieDiagram-YF2LJOPJ-BEpyx4VT.js","assets/arc-CLrr7Muw.js","assets/ordinal-Cboi1Yqb.js","assets/quadrantDiagram-OS5C2QUG-CdtJmL4_.js","assets/xychartDiagram-6QU3TZC5-VRiQJkPg.js","assets/requirementDiagram-MIRIMTAZ-BBKXnwh3.js","assets/sequenceDiagram-G6AWOVSC-CVRturCJ.js","assets/classDiagram-LNE6IOMH-78if3RKq.js","assets/chunk-T2TOU4HS-DrMX8m-T.js","assets/classDiagram-v2-MQ7JQ4JX-78if3RKq.js","assets/stateDiagram-MAYHULR4-C8Lys57U.js","assets/chunk-7U56Z5CX-svwneYgX.js","assets/stateDiagram-v2-4JROLMXI-Dm8_0oIV.js","assets/journeyDiagram-G5WM74LC-DDbuibT0.js","assets/timeline-definition-U7ZMHBDA-CqKQ3g42.js","assets/mindmap-definition-GWI6TPTV-CQ2MtWvi.js","assets/cytoscape.esm-68h7XOLx.js","assets/sankeyDiagram-Y46BX6SQ-BK-15gPt.js","assets/diagram-QW4FP2JN-Clw8SM21.js","assets/blockDiagram-ZHA2E4KO-CcoRJKzX.js","assets/architectureDiagram-UYN6MBPD-DZaLK1PV.js"])))=>i.map(i=>d[i]); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/dagre-4EVJKHTY-sS9TCCQf.js","assets/graph-CIloxWRz.js","assets/_baseUniq-QkQtF8Yx.js","assets/layout-BVquG3NB.js","assets/_basePickBy-DAcC5mcM.js","assets/clone-BKg_06cU.js","assets/c4Diagram-6F5ED5ID-DblkNTG8.js","assets/chunk-ASOPGD6M-CSgx0Qv3.js","assets/flowDiagram-7ASYPVHJ-FCjrBI2s.js","assets/chunk-5HRBRIJM-BsvwIDm-.js","assets/channel-DMEAHO2p.js","assets/erDiagram-6RL3IURR-qh8DmJnP.js","assets/gitGraphDiagram-NRZ2UAAF-VU2wDnYX.js","assets/chunk-TMUBEWPD-DJMHR1yx.js","assets/chunk-KFBOBJHC-K9iYjR43.js","assets/gitGraph-YCYPL57B-XVjt0la2.js","assets/ganttDiagram-NTVNEXSI-CxPT1Il4.js","assets/linear-BP5rAFKr.js","assets/init-Gi6I4Gst.js","assets/infoDiagram-A4XQUW5V-BqFBV1cP.js","assets/pieDiagram-YF2LJOPJ-DGRy5v3C.js","assets/arc-B3F-a6Ej.js","assets/ordinal-Cboi1Yqb.js","assets/quadrantDiagram-OS5C2QUG-IN1gHsx9.js","assets/xychartDiagram-6QU3TZC5-qdBpIAS5.js","assets/requirementDiagram-MIRIMTAZ-X82VVPdG.js","assets/sequenceDiagram-G6AWOVSC-DWLHp1zH.js","assets/classDiagram-LNE6IOMH-B8v8UOMF.js","assets/chunk-T2TOU4HS-B3l11Eft.js","assets/classDiagram-v2-MQ7JQ4JX-B8v8UOMF.js","assets/stateDiagram-MAYHULR4-BipN3LkY.js","assets/chunk-7U56Z5CX-CtkcuCGQ.js","assets/stateDiagram-v2-4JROLMXI-DVegFWL5.js","assets/journeyDiagram-G5WM74LC-D0VsFZ7P.js","assets/timeline-definition-U7ZMHBDA-B9XL_Ldh.js","assets/mindmap-definition-GWI6TPTV-BGV2PEp3.js","assets/cytoscape.esm-CIjMI8L_.js","assets/sankeyDiagram-Y46BX6SQ-DCVYh-1b.js","assets/diagram-QW4FP2JN-D7aDCH16.js","assets/blockDiagram-ZHA2E4KO-BwVkTNHx.js","assets/architectureDiagram-UYN6MBPD-83VUaGyQ.js"])))=>i.map(i=>d[i]); var LN=Object.defineProperty;var Ix=Ra=>{throw TypeError(Ra)};var BN=(Ra,qa,nd)=>qa in Ra?LN(Ra,qa,{enumerable:!0,configurable:!0,writable:!0,value:nd}):Ra[qa]=nd;var p_=(Ra,qa,nd)=>BN(Ra,typeof qa!="symbol"?qa+"":qa,nd),FN=(Ra,qa,nd)=>qa.has(Ra)||Ix("Cannot "+nd);var Ox=(Ra,qa,nd)=>qa.has(Ra)?Ix("Cannot add the same private member more than once"):qa instanceof WeakSet?qa.add(Ra):qa.set(Ra,nd);var ZT=(Ra,qa,nd)=>(FN(Ra,qa,"access private method"),nd);(function(){const qa=document.createElement("link").relList;if(qa&&qa.supports&&qa.supports("modulepreload"))return;for(const ld of document.querySelectorAll('link[rel="modulepreload"]'))od(ld);new MutationObserver(ld=>{for(const ud of ld)if(ud.type==="childList")for(const cd of ud.addedNodes)cd.tagName==="LINK"&&cd.rel==="modulepreload"&&od(cd)}).observe(document,{childList:!0,subtree:!0});function nd(ld){const ud={};return ld.integrity&&(ud.integrity=ld.integrity),ld.referrerPolicy&&(ud.referrerPolicy=ld.referrerPolicy),ld.crossOrigin==="use-credentials"?ud.credentials="include":ld.crossOrigin==="anonymous"?ud.credentials="omit":ud.credentials="same-origin",ud}function od(ld){if(ld.ep)return;ld.ep=!0;const ud=nd(ld);fetch(ld.href,ud)}})();const global$1=globalThis||void 0||self;/** * @vue/shared v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors @@ -7,20 +7,20 @@ var LN=Object.defineProperty;var Ix=Ra=>{throw TypeError(Ra)};var BN=(Ra,qa,nd)= * @vue/reactivity v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let activeEffectScope;class EffectScope{constructor(qa=!1){this.detached=qa,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!qa&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let qa,nd;if(this.scopes)for(qa=0,nd=this.scopes.length;qa0)return;if(batchedComputed){let qa=batchedComputed;for(batchedComputed=void 0;qa;){const nd=qa.next;qa.next=void 0,qa.flags&=-9,qa=nd}}let Ra;for(;batchedSub;){let qa=batchedSub;for(batchedSub=void 0;qa;){const nd=qa.next;if(qa.next=void 0,qa.flags&=-9,qa.flags&1)try{qa.trigger()}catch(od){Ra||(Ra=od)}qa=nd}}if(Ra)throw Ra}function prepareDeps(Ra){for(let qa=Ra.deps;qa;qa=qa.nextDep)qa.version=-1,qa.prevActiveLink=qa.dep.activeLink,qa.dep.activeLink=qa}function cleanupDeps(Ra){let qa,nd=Ra.depsTail,od=nd;for(;od;){const ld=od.prevDep;od.version===-1?(od===nd&&(nd=ld),removeSub(od),removeDep(od)):qa=od,od.dep.activeLink=od.prevActiveLink,od.prevActiveLink=void 0,od=ld}Ra.deps=qa,Ra.depsTail=nd}function isDirty(Ra){for(let qa=Ra.deps;qa;qa=qa.nextDep)if(qa.dep.version!==qa.version||qa.dep.computed&&(refreshComputed(qa.dep.computed)||qa.dep.version!==qa.version))return!0;return!!Ra._dirty}function refreshComputed(Ra){if(Ra.flags&4&&!(Ra.flags&16)||(Ra.flags&=-17,Ra.globalVersion===globalVersion))return;Ra.globalVersion=globalVersion;const qa=Ra.dep;if(Ra.flags|=2,qa.version>0&&!Ra.isSSR&&Ra.deps&&!isDirty(Ra)){Ra.flags&=-3;return}const nd=activeSub,od=shouldTrack;activeSub=Ra,shouldTrack=!0;try{prepareDeps(Ra);const ld=Ra.fn(Ra._value);(qa.version===0||hasChanged(ld,Ra._value))&&(Ra._value=ld,qa.version++)}catch(ld){throw qa.version++,ld}finally{activeSub=nd,shouldTrack=od,cleanupDeps(Ra),Ra.flags&=-3}}function removeSub(Ra,qa=!1){const{dep:nd,prevSub:od,nextSub:ld}=Ra;if(od&&(od.nextSub=ld,Ra.prevSub=void 0),ld&&(ld.prevSub=od,Ra.nextSub=void 0),nd.subs===Ra&&(nd.subs=od,!od&&nd.computed)){nd.computed.flags&=-5;for(let ud=nd.computed.deps;ud;ud=ud.nextDep)removeSub(ud,!0)}!qa&&!--nd.sc&&nd.map&&nd.map.delete(nd.key)}function removeDep(Ra){const{prevDep:qa,nextDep:nd}=Ra;qa&&(qa.nextDep=nd,Ra.prevDep=void 0),nd&&(nd.prevDep=qa,Ra.nextDep=void 0)}let shouldTrack=!0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const Ra=trackStack.pop();shouldTrack=Ra===void 0?!0:Ra}function cleanupEffect(Ra){const{cleanup:qa}=Ra;if(Ra.cleanup=void 0,qa){const nd=activeSub;activeSub=void 0;try{qa()}finally{activeSub=nd}}}let globalVersion=0;class Link{constructor(qa,nd){this.sub=qa,this.dep=nd,this.version=nd.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Dep{constructor(qa){this.computed=qa,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(qa){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let nd=this.activeLink;if(nd===void 0||nd.sub!==activeSub)nd=this.activeLink=new Link(activeSub,this),activeSub.deps?(nd.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=nd,activeSub.depsTail=nd):activeSub.deps=activeSub.depsTail=nd,addSub(nd);else if(nd.version===-1&&(nd.version=this.version,nd.nextDep)){const od=nd.nextDep;od.prevDep=nd.prevDep,nd.prevDep&&(nd.prevDep.nextDep=od),nd.prevDep=activeSub.depsTail,nd.nextDep=void 0,activeSub.depsTail.nextDep=nd,activeSub.depsTail=nd,activeSub.deps===nd&&(activeSub.deps=od)}return nd}trigger(qa){this.version++,globalVersion++,this.notify(qa)}notify(qa){startBatch();try{for(let nd=this.subs;nd;nd=nd.prevSub)nd.sub.notify()&&nd.sub.dep.notify()}finally{endBatch()}}}function addSub(Ra){if(Ra.dep.sc++,Ra.sub.flags&4){const qa=Ra.dep.computed;if(qa&&!Ra.dep.subs){qa.flags|=20;for(let od=qa.deps;od;od=od.nextDep)addSub(od)}const nd=Ra.dep.subs;nd!==Ra&&(Ra.prevSub=nd,nd&&(nd.nextSub=Ra)),Ra.dep.subs=Ra}}const targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol(""),ARRAY_ITERATE_KEY=Symbol("");function track(Ra,qa,nd){if(shouldTrack&&activeSub){let od=targetMap.get(Ra);od||targetMap.set(Ra,od=new Map);let ld=od.get(nd);ld||(od.set(nd,ld=new Dep),ld.map=od,ld.key=nd),ld.track()}}function trigger(Ra,qa,nd,od,ld,ud){const cd=targetMap.get(Ra);if(!cd){globalVersion++;return}const dd=pd=>{pd&&pd.trigger()};if(startBatch(),qa==="clear")cd.forEach(dd);else{const pd=isArray$2(Ra),fd=pd&&isIntegerKey(nd);if(pd&&nd==="length"){const md=Number(od);cd.forEach((vd,Ad)=>{(Ad==="length"||Ad===ARRAY_ITERATE_KEY||!isSymbol(Ad)&&Ad>=md)&&dd(vd)})}else switch((nd!==void 0||cd.has(void 0))&&dd(cd.get(nd)),fd&&dd(cd.get(ARRAY_ITERATE_KEY)),qa){case"add":pd?fd&&dd(cd.get("length")):(dd(cd.get(ITERATE_KEY)),isMap(Ra)&&dd(cd.get(MAP_KEY_ITERATE_KEY)));break;case"delete":pd||(dd(cd.get(ITERATE_KEY)),isMap(Ra)&&dd(cd.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap(Ra)&&dd(cd.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(Ra,qa){const nd=targetMap.get(Ra);return nd&&nd.get(qa)}function reactiveReadArray(Ra){const qa=toRaw(Ra);return qa===Ra?qa:(track(qa,"iterate",ARRAY_ITERATE_KEY),isShallow(Ra)?qa:qa.map(toReactive))}function shallowReadArray(Ra){return track(Ra=toRaw(Ra),"iterate",ARRAY_ITERATE_KEY),Ra}const arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...Ra){return reactiveReadArray(this).concat(...Ra.map(qa=>isArray$2(qa)?reactiveReadArray(qa):qa))},entries(){return iterator(this,"entries",Ra=>(Ra[1]=toReactive(Ra[1]),Ra))},every(Ra,qa){return apply$3(this,"every",Ra,qa,void 0,arguments)},filter(Ra,qa){return apply$3(this,"filter",Ra,qa,nd=>nd.map(toReactive),arguments)},find(Ra,qa){return apply$3(this,"find",Ra,qa,toReactive,arguments)},findIndex(Ra,qa){return apply$3(this,"findIndex",Ra,qa,void 0,arguments)},findLast(Ra,qa){return apply$3(this,"findLast",Ra,qa,toReactive,arguments)},findLastIndex(Ra,qa){return apply$3(this,"findLastIndex",Ra,qa,void 0,arguments)},forEach(Ra,qa){return apply$3(this,"forEach",Ra,qa,void 0,arguments)},includes(...Ra){return searchProxy(this,"includes",Ra)},indexOf(...Ra){return searchProxy(this,"indexOf",Ra)},join(Ra){return reactiveReadArray(this).join(Ra)},lastIndexOf(...Ra){return searchProxy(this,"lastIndexOf",Ra)},map(Ra,qa){return apply$3(this,"map",Ra,qa,void 0,arguments)},pop(){return noTracking(this,"pop")},push(...Ra){return noTracking(this,"push",Ra)},reduce(Ra,...qa){return reduce$2(this,"reduce",Ra,qa)},reduceRight(Ra,...qa){return reduce$2(this,"reduceRight",Ra,qa)},shift(){return noTracking(this,"shift")},some(Ra,qa){return apply$3(this,"some",Ra,qa,void 0,arguments)},splice(...Ra){return noTracking(this,"splice",Ra)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(Ra){return reactiveReadArray(this).toSorted(Ra)},toSpliced(...Ra){return reactiveReadArray(this).toSpliced(...Ra)},unshift(...Ra){return noTracking(this,"unshift",Ra)},values(){return iterator(this,"values",toReactive)}};function iterator(Ra,qa,nd){const od=shallowReadArray(Ra),ld=od[qa]();return od!==Ra&&!isShallow(Ra)&&(ld._next=ld.next,ld.next=()=>{const ud=ld._next();return ud.value&&(ud.value=nd(ud.value)),ud}),ld}const arrayProto$1=Array.prototype;function apply$3(Ra,qa,nd,od,ld,ud){const cd=shallowReadArray(Ra),dd=cd!==Ra&&!isShallow(Ra),pd=cd[qa];if(pd!==arrayProto$1[qa]){const vd=pd.apply(Ra,ud);return dd?toReactive(vd):vd}let fd=nd;cd!==Ra&&(dd?fd=function(vd,Ad){return nd.call(this,toReactive(vd),Ad,Ra)}:nd.length>2&&(fd=function(vd,Ad){return nd.call(this,vd,Ad,Ra)}));const md=pd.call(cd,fd,od);return dd&&ld?ld(md):md}function reduce$2(Ra,qa,nd,od){const ld=shallowReadArray(Ra);let ud=nd;return ld!==Ra&&(isShallow(Ra)?nd.length>3&&(ud=function(cd,dd,pd){return nd.call(this,cd,dd,pd,Ra)}):ud=function(cd,dd,pd){return nd.call(this,cd,toReactive(dd),pd,Ra)}),ld[qa](ud,...od)}function searchProxy(Ra,qa,nd){const od=toRaw(Ra);track(od,"iterate",ARRAY_ITERATE_KEY);const ld=od[qa](...nd);return(ld===-1||ld===!1)&&isProxy(nd[0])?(nd[0]=toRaw(nd[0]),od[qa](...nd)):ld}function noTracking(Ra,qa,nd=[]){pauseTracking(),startBatch();const od=toRaw(Ra)[qa].apply(Ra,nd);return endBatch(),resetTracking(),od}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(Ra=>Ra!=="arguments"&&Ra!=="caller").map(Ra=>Symbol[Ra]).filter(isSymbol));function hasOwnProperty$e(Ra){isSymbol(Ra)||(Ra=String(Ra));const qa=toRaw(this);return track(qa,"has",Ra),qa.hasOwnProperty(Ra)}class BaseReactiveHandler{constructor(qa=!1,nd=!1){this._isReadonly=qa,this._isShallow=nd}get(qa,nd,od){if(nd==="__v_skip")return qa.__v_skip;const ld=this._isReadonly,ud=this._isShallow;if(nd==="__v_isReactive")return!ld;if(nd==="__v_isReadonly")return ld;if(nd==="__v_isShallow")return ud;if(nd==="__v_raw")return od===(ld?ud?shallowReadonlyMap:readonlyMap:ud?shallowReactiveMap:reactiveMap).get(qa)||Object.getPrototypeOf(qa)===Object.getPrototypeOf(od)?qa:void 0;const cd=isArray$2(qa);if(!ld){let pd;if(cd&&(pd=arrayInstrumentations[nd]))return pd;if(nd==="hasOwnProperty")return hasOwnProperty$e}const dd=Reflect.get(qa,nd,isRef(qa)?qa:od);return(isSymbol(nd)?builtInSymbols.has(nd):isNonTrackableKeys(nd))||(ld||track(qa,"get",nd),ud)?dd:isRef(dd)?cd&&isIntegerKey(nd)?dd:dd.value:isObject$5(dd)?ld?readonly(dd):reactive(dd):dd}}class MutableReactiveHandler extends BaseReactiveHandler{constructor(qa=!1){super(!1,qa)}set(qa,nd,od,ld){let ud=qa[nd];if(!this._isShallow){const pd=isReadonly(ud);if(!isShallow(od)&&!isReadonly(od)&&(ud=toRaw(ud),od=toRaw(od)),!isArray$2(qa)&&isRef(ud)&&!isRef(od))return pd?!1:(ud.value=od,!0)}const cd=isArray$2(qa)&&isIntegerKey(nd)?Number(nd)Ra,getProto$2=Ra=>Reflect.getPrototypeOf(Ra);function createIterableMethod(Ra,qa,nd){return function(...od){const ld=this.__v_raw,ud=toRaw(ld),cd=isMap(ud),dd=Ra==="entries"||Ra===Symbol.iterator&&cd,pd=Ra==="keys"&&cd,fd=ld[Ra](...od),md=nd?toShallow:qa?toReadonly:toReactive;return!qa&&track(ud,"iterate",pd?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:vd,done:Ad}=fd.next();return Ad?{value:vd,done:Ad}:{value:dd?[md(vd[0]),md(vd[1])]:md(vd),done:Ad}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(Ra){return function(...qa){return Ra==="delete"?!1:Ra==="clear"?void 0:this}}function createInstrumentations(Ra,qa){const nd={get(ld){const ud=this.__v_raw,cd=toRaw(ud),dd=toRaw(ld);Ra||(hasChanged(ld,dd)&&track(cd,"get",ld),track(cd,"get",dd));const{has:pd}=getProto$2(cd),fd=qa?toShallow:Ra?toReadonly:toReactive;if(pd.call(cd,ld))return fd(ud.get(ld));if(pd.call(cd,dd))return fd(ud.get(dd));ud!==cd&&ud.get(ld)},get size(){const ld=this.__v_raw;return!Ra&&track(toRaw(ld),"iterate",ITERATE_KEY),Reflect.get(ld,"size",ld)},has(ld){const ud=this.__v_raw,cd=toRaw(ud),dd=toRaw(ld);return Ra||(hasChanged(ld,dd)&&track(cd,"has",ld),track(cd,"has",dd)),ld===dd?ud.has(ld):ud.has(ld)||ud.has(dd)},forEach(ld,ud){const cd=this,dd=cd.__v_raw,pd=toRaw(dd),fd=qa?toShallow:Ra?toReadonly:toReactive;return!Ra&&track(pd,"iterate",ITERATE_KEY),dd.forEach((md,vd)=>ld.call(ud,fd(md),fd(vd),cd))}};return extend$3(nd,Ra?{add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear")}:{add(ld){!qa&&!isShallow(ld)&&!isReadonly(ld)&&(ld=toRaw(ld));const ud=toRaw(this);return getProto$2(ud).has.call(ud,ld)||(ud.add(ld),trigger(ud,"add",ld,ld)),this},set(ld,ud){!qa&&!isShallow(ud)&&!isReadonly(ud)&&(ud=toRaw(ud));const cd=toRaw(this),{has:dd,get:pd}=getProto$2(cd);let fd=dd.call(cd,ld);fd||(ld=toRaw(ld),fd=dd.call(cd,ld));const md=pd.call(cd,ld);return cd.set(ld,ud),fd?hasChanged(ud,md)&&trigger(cd,"set",ld,ud):trigger(cd,"add",ld,ud),this},delete(ld){const ud=toRaw(this),{has:cd,get:dd}=getProto$2(ud);let pd=cd.call(ud,ld);pd||(ld=toRaw(ld),pd=cd.call(ud,ld)),dd&&dd.call(ud,ld);const fd=ud.delete(ld);return pd&&trigger(ud,"delete",ld,void 0),fd},clear(){const ld=toRaw(this),ud=ld.size!==0,cd=ld.clear();return ud&&trigger(ld,"clear",void 0,void 0),cd}}),["keys","values","entries",Symbol.iterator].forEach(ld=>{nd[ld]=createIterableMethod(ld,Ra,qa)}),nd}function createInstrumentationGetter(Ra,qa){const nd=createInstrumentations(Ra,qa);return(od,ld,ud)=>ld==="__v_isReactive"?!Ra:ld==="__v_isReadonly"?Ra:ld==="__v_raw"?od:Reflect.get(hasOwn$3(nd,ld)&&ld in od?nd:od,ld,ud)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(Ra){switch(Ra){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(Ra){return Ra.__v_skip||!Object.isExtensible(Ra)?0:targetTypeMap(toRawType(Ra))}function reactive(Ra){return isReadonly(Ra)?Ra:createReactiveObject(Ra,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(Ra){return createReactiveObject(Ra,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(Ra){return createReactiveObject(Ra,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(Ra){return createReactiveObject(Ra,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(Ra,qa,nd,od,ld){if(!isObject$5(Ra)||Ra.__v_raw&&!(qa&&Ra.__v_isReactive))return Ra;const ud=ld.get(Ra);if(ud)return ud;const cd=getTargetType(Ra);if(cd===0)return Ra;const dd=new Proxy(Ra,cd===2?od:nd);return ld.set(Ra,dd),dd}function isReactive(Ra){return isReadonly(Ra)?isReactive(Ra.__v_raw):!!(Ra&&Ra.__v_isReactive)}function isReadonly(Ra){return!!(Ra&&Ra.__v_isReadonly)}function isShallow(Ra){return!!(Ra&&Ra.__v_isShallow)}function isProxy(Ra){return Ra?!!Ra.__v_raw:!1}function toRaw(Ra){const qa=Ra&&Ra.__v_raw;return qa?toRaw(qa):Ra}function markRaw(Ra){return!hasOwn$3(Ra,"__v_skip")&&Object.isExtensible(Ra)&&def$2(Ra,"__v_skip",!0),Ra}const toReactive=Ra=>isObject$5(Ra)?reactive(Ra):Ra,toReadonly=Ra=>isObject$5(Ra)?readonly(Ra):Ra;function isRef(Ra){return Ra?Ra.__v_isRef===!0:!1}function ref$1(Ra){return createRef(Ra,!1)}function shallowRef(Ra){return createRef(Ra,!0)}function createRef(Ra,qa){return isRef(Ra)?Ra:new RefImpl(Ra,qa)}class RefImpl{constructor(qa,nd){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=nd?qa:toRaw(qa),this._value=nd?qa:toReactive(qa),this.__v_isShallow=nd}get value(){return this.dep.track(),this._value}set value(qa){const nd=this._rawValue,od=this.__v_isShallow||isShallow(qa)||isReadonly(qa);qa=od?qa:toRaw(qa),hasChanged(qa,nd)&&(this._rawValue=qa,this._value=od?qa:toReactive(qa),this.dep.trigger())}}function unref(Ra){return isRef(Ra)?Ra.value:Ra}const shallowUnwrapHandlers={get:(Ra,qa,nd)=>qa==="__v_raw"?Ra:unref(Reflect.get(Ra,qa,nd)),set:(Ra,qa,nd,od)=>{const ld=Ra[qa];return isRef(ld)&&!isRef(nd)?(ld.value=nd,!0):Reflect.set(Ra,qa,nd,od)}};function proxyRefs(Ra){return isReactive(Ra)?Ra:new Proxy(Ra,shallowUnwrapHandlers)}class CustomRefImpl{constructor(qa){this.__v_isRef=!0,this._value=void 0;const nd=this.dep=new Dep,{get:od,set:ld}=qa(nd.track.bind(nd),nd.trigger.bind(nd));this._get=od,this._set=ld}get value(){return this._value=this._get()}set value(qa){this._set(qa)}}function customRef(Ra){return new CustomRefImpl(Ra)}function toRefs(Ra){const qa=isArray$2(Ra)?new Array(Ra.length):{};for(const nd in Ra)qa[nd]=propertyToRef(Ra,nd);return qa}class ObjectRefImpl{constructor(qa,nd,od){this._object=qa,this._key=nd,this._defaultValue=od,this.__v_isRef=!0,this._value=void 0}get value(){const qa=this._object[this._key];return this._value=qa===void 0?this._defaultValue:qa}set value(qa){this._object[this._key]=qa}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}}class GetterRefImpl{constructor(qa){this._getter=qa,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function toRef$1(Ra,qa,nd){return isRef(Ra)?Ra:isFunction$3(Ra)?new GetterRefImpl(Ra):isObject$5(Ra)&&arguments.length>1?propertyToRef(Ra,qa,nd):ref$1(Ra)}function propertyToRef(Ra,qa,nd){const od=Ra[qa];return isRef(od)?od:new ObjectRefImpl(Ra,qa,nd)}class ComputedRefImpl{constructor(qa,nd,od){this.fn=qa,this.setter=nd,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!nd,this.isSSR=od}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){const qa=this.dep.track();return refreshComputed(this),qa&&(qa.version=this.dep.version),this._value}set value(qa){this.setter&&this.setter(qa)}}function computed$1(Ra,qa,nd=!1){let od,ld;return isFunction$3(Ra)?od=Ra:(od=Ra.get,ld=Ra.set),new ComputedRefImpl(od,ld,nd)}const INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap;let activeWatcher;function onWatcherCleanup(Ra,qa=!1,nd=activeWatcher){if(nd){let od=cleanupMap.get(nd);od||cleanupMap.set(nd,od=[]),od.push(Ra)}}function watch$1(Ra,qa,nd=EMPTY_OBJ){const{immediate:od,deep:ld,once:ud,scheduler:cd,augmentJob:dd,call:pd}=nd,fd=Hd=>ld?Hd:isShallow(Hd)||ld===!1||ld===0?traverse(Hd,1):traverse(Hd);let md,vd,Ad,Nd,Id=!1,kd=!1;if(isRef(Ra)?(vd=()=>Ra.value,Id=isShallow(Ra)):isReactive(Ra)?(vd=()=>fd(Ra),Id=!0):isArray$2(Ra)?(kd=!0,Id=Ra.some(Hd=>isReactive(Hd)||isShallow(Hd)),vd=()=>Ra.map(Hd=>{if(isRef(Hd))return Hd.value;if(isReactive(Hd))return fd(Hd);if(isFunction$3(Hd))return pd?pd(Hd,2):Hd()})):isFunction$3(Ra)?qa?vd=pd?()=>pd(Ra,2):Ra:vd=()=>{if(Ad){pauseTracking();try{Ad()}finally{resetTracking()}}const Hd=activeWatcher;activeWatcher=md;try{return pd?pd(Ra,3,[Nd]):Ra(Nd)}finally{activeWatcher=Hd}}:vd=NOOP,qa&&ld){const Hd=vd,Gd=ld===!0?1/0:ld;vd=()=>traverse(Hd(),Gd)}const jd=getCurrentScope(),Fd=()=>{md.stop(),jd&&jd.active&&remove$2(jd.effects,md)};if(ud&&qa){const Hd=qa;qa=(...Gd)=>{Hd(...Gd),Fd()}}let Md=kd?new Array(Ra.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const Ld=Hd=>{if(!(!(md.flags&1)||!md.dirty&&!Hd))if(qa){const Gd=md.run();if(ld||Id||(kd?Gd.some((Vd,Qd)=>hasChanged(Vd,Md[Qd])):hasChanged(Gd,Md))){Ad&&Ad();const Vd=activeWatcher;activeWatcher=md;try{const Qd=[Gd,Md===INITIAL_WATCHER_VALUE?void 0:kd&&Md[0]===INITIAL_WATCHER_VALUE?[]:Md,Nd];pd?pd(qa,3,Qd):qa(...Qd),Md=Gd}finally{activeWatcher=Vd}}}else md.run()};return dd&&dd(Ld),md=new ReactiveEffect(vd),md.scheduler=cd?()=>cd(Ld,!1):Ld,Nd=Hd=>onWatcherCleanup(Hd,!1,md),Ad=md.onStop=()=>{const Hd=cleanupMap.get(md);if(Hd){if(pd)pd(Hd,4);else for(const Gd of Hd)Gd();cleanupMap.delete(md)}},qa?od?Ld(!0):Md=md.run():cd?cd(Ld.bind(null,!0),!0):md.run(),Fd.pause=md.pause.bind(md),Fd.resume=md.resume.bind(md),Fd.stop=Fd,Fd}function traverse(Ra,qa=1/0,nd){if(qa<=0||!isObject$5(Ra)||Ra.__v_skip||(nd=nd||new Set,nd.has(Ra)))return Ra;if(nd.add(Ra),qa--,isRef(Ra))traverse(Ra.value,qa,nd);else if(isArray$2(Ra))for(let od=0;od{traverse(od,qa,nd)});else if(isPlainObject$4(Ra)){for(const od in Ra)traverse(Ra[od],qa,nd);for(const od of Object.getOwnPropertySymbols(Ra))Object.prototype.propertyIsEnumerable.call(Ra,od)&&traverse(Ra[od],qa,nd)}return Ra}/** +**/let activeEffectScope;class EffectScope{constructor(qa=!1){this.detached=qa,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!qa&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let qa,nd;if(this.scopes)for(qa=0,nd=this.scopes.length;qa0)return;if(batchedComputed){let qa=batchedComputed;for(batchedComputed=void 0;qa;){const nd=qa.next;qa.next=void 0,qa.flags&=-9,qa=nd}}let Ra;for(;batchedSub;){let qa=batchedSub;for(batchedSub=void 0;qa;){const nd=qa.next;if(qa.next=void 0,qa.flags&=-9,qa.flags&1)try{qa.trigger()}catch(od){Ra||(Ra=od)}qa=nd}}if(Ra)throw Ra}function prepareDeps(Ra){for(let qa=Ra.deps;qa;qa=qa.nextDep)qa.version=-1,qa.prevActiveLink=qa.dep.activeLink,qa.dep.activeLink=qa}function cleanupDeps(Ra){let qa,nd=Ra.depsTail,od=nd;for(;od;){const ld=od.prevDep;od.version===-1?(od===nd&&(nd=ld),removeSub(od),removeDep(od)):qa=od,od.dep.activeLink=od.prevActiveLink,od.prevActiveLink=void 0,od=ld}Ra.deps=qa,Ra.depsTail=nd}function isDirty(Ra){for(let qa=Ra.deps;qa;qa=qa.nextDep)if(qa.dep.version!==qa.version||qa.dep.computed&&(refreshComputed(qa.dep.computed)||qa.dep.version!==qa.version))return!0;return!!Ra._dirty}function refreshComputed(Ra){if(Ra.flags&4&&!(Ra.flags&16)||(Ra.flags&=-17,Ra.globalVersion===globalVersion))return;Ra.globalVersion=globalVersion;const qa=Ra.dep;if(Ra.flags|=2,qa.version>0&&!Ra.isSSR&&Ra.deps&&!isDirty(Ra)){Ra.flags&=-3;return}const nd=activeSub,od=shouldTrack;activeSub=Ra,shouldTrack=!0;try{prepareDeps(Ra);const ld=Ra.fn(Ra._value);(qa.version===0||hasChanged(ld,Ra._value))&&(Ra._value=ld,qa.version++)}catch(ld){throw qa.version++,ld}finally{activeSub=nd,shouldTrack=od,cleanupDeps(Ra),Ra.flags&=-3}}function removeSub(Ra,qa=!1){const{dep:nd,prevSub:od,nextSub:ld}=Ra;if(od&&(od.nextSub=ld,Ra.prevSub=void 0),ld&&(ld.prevSub=od,Ra.nextSub=void 0),nd.subs===Ra&&(nd.subs=od,!od&&nd.computed)){nd.computed.flags&=-5;for(let ud=nd.computed.deps;ud;ud=ud.nextDep)removeSub(ud,!0)}!qa&&!--nd.sc&&nd.map&&nd.map.delete(nd.key)}function removeDep(Ra){const{prevDep:qa,nextDep:nd}=Ra;qa&&(qa.nextDep=nd,Ra.prevDep=void 0),nd&&(nd.prevDep=qa,Ra.nextDep=void 0)}let shouldTrack=!0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const Ra=trackStack.pop();shouldTrack=Ra===void 0?!0:Ra}function cleanupEffect(Ra){const{cleanup:qa}=Ra;if(Ra.cleanup=void 0,qa){const nd=activeSub;activeSub=void 0;try{qa()}finally{activeSub=nd}}}let globalVersion=0;class Link{constructor(qa,nd){this.sub=qa,this.dep=nd,this.version=nd.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Dep{constructor(qa){this.computed=qa,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(qa){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let nd=this.activeLink;if(nd===void 0||nd.sub!==activeSub)nd=this.activeLink=new Link(activeSub,this),activeSub.deps?(nd.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=nd,activeSub.depsTail=nd):activeSub.deps=activeSub.depsTail=nd,addSub(nd);else if(nd.version===-1&&(nd.version=this.version,nd.nextDep)){const od=nd.nextDep;od.prevDep=nd.prevDep,nd.prevDep&&(nd.prevDep.nextDep=od),nd.prevDep=activeSub.depsTail,nd.nextDep=void 0,activeSub.depsTail.nextDep=nd,activeSub.depsTail=nd,activeSub.deps===nd&&(activeSub.deps=od)}return nd}trigger(qa){this.version++,globalVersion++,this.notify(qa)}notify(qa){startBatch();try{for(let nd=this.subs;nd;nd=nd.prevSub)nd.sub.notify()&&nd.sub.dep.notify()}finally{endBatch()}}}function addSub(Ra){if(Ra.dep.sc++,Ra.sub.flags&4){const qa=Ra.dep.computed;if(qa&&!Ra.dep.subs){qa.flags|=20;for(let od=qa.deps;od;od=od.nextDep)addSub(od)}const nd=Ra.dep.subs;nd!==Ra&&(Ra.prevSub=nd,nd&&(nd.nextSub=Ra)),Ra.dep.subs=Ra}}const targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol(""),ARRAY_ITERATE_KEY=Symbol("");function track(Ra,qa,nd){if(shouldTrack&&activeSub){let od=targetMap.get(Ra);od||targetMap.set(Ra,od=new Map);let ld=od.get(nd);ld||(od.set(nd,ld=new Dep),ld.map=od,ld.key=nd),ld.track()}}function trigger(Ra,qa,nd,od,ld,ud){const cd=targetMap.get(Ra);if(!cd){globalVersion++;return}const dd=pd=>{pd&&pd.trigger()};if(startBatch(),qa==="clear")cd.forEach(dd);else{const pd=isArray$2(Ra),fd=pd&&isIntegerKey(nd);if(pd&&nd==="length"){const md=Number(od);cd.forEach((vd,Ad)=>{(Ad==="length"||Ad===ARRAY_ITERATE_KEY||!isSymbol(Ad)&&Ad>=md)&&dd(vd)})}else switch((nd!==void 0||cd.has(void 0))&&dd(cd.get(nd)),fd&&dd(cd.get(ARRAY_ITERATE_KEY)),qa){case"add":pd?fd&&dd(cd.get("length")):(dd(cd.get(ITERATE_KEY)),isMap(Ra)&&dd(cd.get(MAP_KEY_ITERATE_KEY)));break;case"delete":pd||(dd(cd.get(ITERATE_KEY)),isMap(Ra)&&dd(cd.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap(Ra)&&dd(cd.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(Ra,qa){const nd=targetMap.get(Ra);return nd&&nd.get(qa)}function reactiveReadArray(Ra){const qa=toRaw(Ra);return qa===Ra?qa:(track(qa,"iterate",ARRAY_ITERATE_KEY),isShallow(Ra)?qa:qa.map(toReactive))}function shallowReadArray(Ra){return track(Ra=toRaw(Ra),"iterate",ARRAY_ITERATE_KEY),Ra}const arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...Ra){return reactiveReadArray(this).concat(...Ra.map(qa=>isArray$2(qa)?reactiveReadArray(qa):qa))},entries(){return iterator(this,"entries",Ra=>(Ra[1]=toReactive(Ra[1]),Ra))},every(Ra,qa){return apply$3(this,"every",Ra,qa,void 0,arguments)},filter(Ra,qa){return apply$3(this,"filter",Ra,qa,nd=>nd.map(toReactive),arguments)},find(Ra,qa){return apply$3(this,"find",Ra,qa,toReactive,arguments)},findIndex(Ra,qa){return apply$3(this,"findIndex",Ra,qa,void 0,arguments)},findLast(Ra,qa){return apply$3(this,"findLast",Ra,qa,toReactive,arguments)},findLastIndex(Ra,qa){return apply$3(this,"findLastIndex",Ra,qa,void 0,arguments)},forEach(Ra,qa){return apply$3(this,"forEach",Ra,qa,void 0,arguments)},includes(...Ra){return searchProxy(this,"includes",Ra)},indexOf(...Ra){return searchProxy(this,"indexOf",Ra)},join(Ra){return reactiveReadArray(this).join(Ra)},lastIndexOf(...Ra){return searchProxy(this,"lastIndexOf",Ra)},map(Ra,qa){return apply$3(this,"map",Ra,qa,void 0,arguments)},pop(){return noTracking(this,"pop")},push(...Ra){return noTracking(this,"push",Ra)},reduce(Ra,...qa){return reduce$2(this,"reduce",Ra,qa)},reduceRight(Ra,...qa){return reduce$2(this,"reduceRight",Ra,qa)},shift(){return noTracking(this,"shift")},some(Ra,qa){return apply$3(this,"some",Ra,qa,void 0,arguments)},splice(...Ra){return noTracking(this,"splice",Ra)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(Ra){return reactiveReadArray(this).toSorted(Ra)},toSpliced(...Ra){return reactiveReadArray(this).toSpliced(...Ra)},unshift(...Ra){return noTracking(this,"unshift",Ra)},values(){return iterator(this,"values",toReactive)}};function iterator(Ra,qa,nd){const od=shallowReadArray(Ra),ld=od[qa]();return od!==Ra&&!isShallow(Ra)&&(ld._next=ld.next,ld.next=()=>{const ud=ld._next();return ud.value&&(ud.value=nd(ud.value)),ud}),ld}const arrayProto$1=Array.prototype;function apply$3(Ra,qa,nd,od,ld,ud){const cd=shallowReadArray(Ra),dd=cd!==Ra&&!isShallow(Ra),pd=cd[qa];if(pd!==arrayProto$1[qa]){const vd=pd.apply(Ra,ud);return dd?toReactive(vd):vd}let fd=nd;cd!==Ra&&(dd?fd=function(vd,Ad){return nd.call(this,toReactive(vd),Ad,Ra)}:nd.length>2&&(fd=function(vd,Ad){return nd.call(this,vd,Ad,Ra)}));const md=pd.call(cd,fd,od);return dd&&ld?ld(md):md}function reduce$2(Ra,qa,nd,od){const ld=shallowReadArray(Ra);let ud=nd;return ld!==Ra&&(isShallow(Ra)?nd.length>3&&(ud=function(cd,dd,pd){return nd.call(this,cd,dd,pd,Ra)}):ud=function(cd,dd,pd){return nd.call(this,cd,toReactive(dd),pd,Ra)}),ld[qa](ud,...od)}function searchProxy(Ra,qa,nd){const od=toRaw(Ra);track(od,"iterate",ARRAY_ITERATE_KEY);const ld=od[qa](...nd);return(ld===-1||ld===!1)&&isProxy(nd[0])?(nd[0]=toRaw(nd[0]),od[qa](...nd)):ld}function noTracking(Ra,qa,nd=[]){pauseTracking(),startBatch();const od=toRaw(Ra)[qa].apply(Ra,nd);return endBatch(),resetTracking(),od}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(Ra=>Ra!=="arguments"&&Ra!=="caller").map(Ra=>Symbol[Ra]).filter(isSymbol));function hasOwnProperty$e(Ra){isSymbol(Ra)||(Ra=String(Ra));const qa=toRaw(this);return track(qa,"has",Ra),qa.hasOwnProperty(Ra)}class BaseReactiveHandler{constructor(qa=!1,nd=!1){this._isReadonly=qa,this._isShallow=nd}get(qa,nd,od){if(nd==="__v_skip")return qa.__v_skip;const ld=this._isReadonly,ud=this._isShallow;if(nd==="__v_isReactive")return!ld;if(nd==="__v_isReadonly")return ld;if(nd==="__v_isShallow")return ud;if(nd==="__v_raw")return od===(ld?ud?shallowReadonlyMap:readonlyMap:ud?shallowReactiveMap:reactiveMap).get(qa)||Object.getPrototypeOf(qa)===Object.getPrototypeOf(od)?qa:void 0;const cd=isArray$2(qa);if(!ld){let pd;if(cd&&(pd=arrayInstrumentations[nd]))return pd;if(nd==="hasOwnProperty")return hasOwnProperty$e}const dd=Reflect.get(qa,nd,isRef(qa)?qa:od);return(isSymbol(nd)?builtInSymbols.has(nd):isNonTrackableKeys(nd))||(ld||track(qa,"get",nd),ud)?dd:isRef(dd)?cd&&isIntegerKey(nd)?dd:dd.value:isObject$5(dd)?ld?readonly(dd):reactive(dd):dd}}class MutableReactiveHandler extends BaseReactiveHandler{constructor(qa=!1){super(!1,qa)}set(qa,nd,od,ld){let ud=qa[nd];if(!this._isShallow){const pd=isReadonly(ud);if(!isShallow(od)&&!isReadonly(od)&&(ud=toRaw(ud),od=toRaw(od)),!isArray$2(qa)&&isRef(ud)&&!isRef(od))return pd?!1:(ud.value=od,!0)}const cd=isArray$2(qa)&&isIntegerKey(nd)?Number(nd)Ra,getProto$2=Ra=>Reflect.getPrototypeOf(Ra);function createIterableMethod(Ra,qa,nd){return function(...od){const ld=this.__v_raw,ud=toRaw(ld),cd=isMap(ud),dd=Ra==="entries"||Ra===Symbol.iterator&&cd,pd=Ra==="keys"&&cd,fd=ld[Ra](...od),md=nd?toShallow:qa?toReadonly:toReactive;return!qa&&track(ud,"iterate",pd?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:vd,done:Ad}=fd.next();return Ad?{value:vd,done:Ad}:{value:dd?[md(vd[0]),md(vd[1])]:md(vd),done:Ad}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(Ra){return function(...qa){return Ra==="delete"?!1:Ra==="clear"?void 0:this}}function createInstrumentations(Ra,qa){const nd={get(ld){const ud=this.__v_raw,cd=toRaw(ud),dd=toRaw(ld);Ra||(hasChanged(ld,dd)&&track(cd,"get",ld),track(cd,"get",dd));const{has:pd}=getProto$2(cd),fd=qa?toShallow:Ra?toReadonly:toReactive;if(pd.call(cd,ld))return fd(ud.get(ld));if(pd.call(cd,dd))return fd(ud.get(dd));ud!==cd&&ud.get(ld)},get size(){const ld=this.__v_raw;return!Ra&&track(toRaw(ld),"iterate",ITERATE_KEY),Reflect.get(ld,"size",ld)},has(ld){const ud=this.__v_raw,cd=toRaw(ud),dd=toRaw(ld);return Ra||(hasChanged(ld,dd)&&track(cd,"has",ld),track(cd,"has",dd)),ld===dd?ud.has(ld):ud.has(ld)||ud.has(dd)},forEach(ld,ud){const cd=this,dd=cd.__v_raw,pd=toRaw(dd),fd=qa?toShallow:Ra?toReadonly:toReactive;return!Ra&&track(pd,"iterate",ITERATE_KEY),dd.forEach((md,vd)=>ld.call(ud,fd(md),fd(vd),cd))}};return extend$3(nd,Ra?{add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear")}:{add(ld){!qa&&!isShallow(ld)&&!isReadonly(ld)&&(ld=toRaw(ld));const ud=toRaw(this);return getProto$2(ud).has.call(ud,ld)||(ud.add(ld),trigger(ud,"add",ld,ld)),this},set(ld,ud){!qa&&!isShallow(ud)&&!isReadonly(ud)&&(ud=toRaw(ud));const cd=toRaw(this),{has:dd,get:pd}=getProto$2(cd);let fd=dd.call(cd,ld);fd||(ld=toRaw(ld),fd=dd.call(cd,ld));const md=pd.call(cd,ld);return cd.set(ld,ud),fd?hasChanged(ud,md)&&trigger(cd,"set",ld,ud):trigger(cd,"add",ld,ud),this},delete(ld){const ud=toRaw(this),{has:cd,get:dd}=getProto$2(ud);let pd=cd.call(ud,ld);pd||(ld=toRaw(ld),pd=cd.call(ud,ld)),dd&&dd.call(ud,ld);const fd=ud.delete(ld);return pd&&trigger(ud,"delete",ld,void 0),fd},clear(){const ld=toRaw(this),ud=ld.size!==0,cd=ld.clear();return ud&&trigger(ld,"clear",void 0,void 0),cd}}),["keys","values","entries",Symbol.iterator].forEach(ld=>{nd[ld]=createIterableMethod(ld,Ra,qa)}),nd}function createInstrumentationGetter(Ra,qa){const nd=createInstrumentations(Ra,qa);return(od,ld,ud)=>ld==="__v_isReactive"?!Ra:ld==="__v_isReadonly"?Ra:ld==="__v_raw"?od:Reflect.get(hasOwn$3(nd,ld)&&ld in od?nd:od,ld,ud)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(Ra){switch(Ra){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(Ra){return Ra.__v_skip||!Object.isExtensible(Ra)?0:targetTypeMap(toRawType(Ra))}function reactive(Ra){return isReadonly(Ra)?Ra:createReactiveObject(Ra,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(Ra){return createReactiveObject(Ra,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(Ra){return createReactiveObject(Ra,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(Ra){return createReactiveObject(Ra,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(Ra,qa,nd,od,ld){if(!isObject$5(Ra)||Ra.__v_raw&&!(qa&&Ra.__v_isReactive))return Ra;const ud=ld.get(Ra);if(ud)return ud;const cd=getTargetType(Ra);if(cd===0)return Ra;const dd=new Proxy(Ra,cd===2?od:nd);return ld.set(Ra,dd),dd}function isReactive(Ra){return isReadonly(Ra)?isReactive(Ra.__v_raw):!!(Ra&&Ra.__v_isReactive)}function isReadonly(Ra){return!!(Ra&&Ra.__v_isReadonly)}function isShallow(Ra){return!!(Ra&&Ra.__v_isShallow)}function isProxy(Ra){return Ra?!!Ra.__v_raw:!1}function toRaw(Ra){const qa=Ra&&Ra.__v_raw;return qa?toRaw(qa):Ra}function markRaw(Ra){return!hasOwn$3(Ra,"__v_skip")&&Object.isExtensible(Ra)&&def$2(Ra,"__v_skip",!0),Ra}const toReactive=Ra=>isObject$5(Ra)?reactive(Ra):Ra,toReadonly=Ra=>isObject$5(Ra)?readonly(Ra):Ra;function isRef(Ra){return Ra?Ra.__v_isRef===!0:!1}function ref$1(Ra){return createRef(Ra,!1)}function shallowRef(Ra){return createRef(Ra,!0)}function createRef(Ra,qa){return isRef(Ra)?Ra:new RefImpl(Ra,qa)}class RefImpl{constructor(qa,nd){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=nd?qa:toRaw(qa),this._value=nd?qa:toReactive(qa),this.__v_isShallow=nd}get value(){return this.dep.track(),this._value}set value(qa){const nd=this._rawValue,od=this.__v_isShallow||isShallow(qa)||isReadonly(qa);qa=od?qa:toRaw(qa),hasChanged(qa,nd)&&(this._rawValue=qa,this._value=od?qa:toReactive(qa),this.dep.trigger())}}function unref(Ra){return isRef(Ra)?Ra.value:Ra}const shallowUnwrapHandlers={get:(Ra,qa,nd)=>qa==="__v_raw"?Ra:unref(Reflect.get(Ra,qa,nd)),set:(Ra,qa,nd,od)=>{const ld=Ra[qa];return isRef(ld)&&!isRef(nd)?(ld.value=nd,!0):Reflect.set(Ra,qa,nd,od)}};function proxyRefs(Ra){return isReactive(Ra)?Ra:new Proxy(Ra,shallowUnwrapHandlers)}class CustomRefImpl{constructor(qa){this.__v_isRef=!0,this._value=void 0;const nd=this.dep=new Dep,{get:od,set:ld}=qa(nd.track.bind(nd),nd.trigger.bind(nd));this._get=od,this._set=ld}get value(){return this._value=this._get()}set value(qa){this._set(qa)}}function customRef(Ra){return new CustomRefImpl(Ra)}function toRefs(Ra){const qa=isArray$2(Ra)?new Array(Ra.length):{};for(const nd in Ra)qa[nd]=propertyToRef(Ra,nd);return qa}class ObjectRefImpl{constructor(qa,nd,od){this._object=qa,this._key=nd,this._defaultValue=od,this.__v_isRef=!0,this._value=void 0}get value(){const qa=this._object[this._key];return this._value=qa===void 0?this._defaultValue:qa}set value(qa){this._object[this._key]=qa}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}}class GetterRefImpl{constructor(qa){this._getter=qa,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function toRef$1(Ra,qa,nd){return isRef(Ra)?Ra:isFunction$3(Ra)?new GetterRefImpl(Ra):isObject$5(Ra)&&arguments.length>1?propertyToRef(Ra,qa,nd):ref$1(Ra)}function propertyToRef(Ra,qa,nd){const od=Ra[qa];return isRef(od)?od:new ObjectRefImpl(Ra,qa,nd)}class ComputedRefImpl{constructor(qa,nd,od){this.fn=qa,this.setter=nd,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!nd,this.isSSR=od}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){const qa=this.dep.track();return refreshComputed(this),qa&&(qa.version=this.dep.version),this._value}set value(qa){this.setter&&this.setter(qa)}}function computed$1(Ra,qa,nd=!1){let od,ld;return isFunction$3(Ra)?od=Ra:(od=Ra.get,ld=Ra.set),new ComputedRefImpl(od,ld,nd)}const INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap;let activeWatcher;function onWatcherCleanup(Ra,qa=!1,nd=activeWatcher){if(nd){let od=cleanupMap.get(nd);od||cleanupMap.set(nd,od=[]),od.push(Ra)}}function watch$1(Ra,qa,nd=EMPTY_OBJ){const{immediate:od,deep:ld,once:ud,scheduler:cd,augmentJob:dd,call:pd}=nd,fd=Hd=>ld?Hd:isShallow(Hd)||ld===!1||ld===0?traverse(Hd,1):traverse(Hd);let md,vd,Ad,Nd,Id=!1,kd=!1;if(isRef(Ra)?(vd=()=>Ra.value,Id=isShallow(Ra)):isReactive(Ra)?(vd=()=>fd(Ra),Id=!0):isArray$2(Ra)?(kd=!0,Id=Ra.some(Hd=>isReactive(Hd)||isShallow(Hd)),vd=()=>Ra.map(Hd=>{if(isRef(Hd))return Hd.value;if(isReactive(Hd))return fd(Hd);if(isFunction$3(Hd))return pd?pd(Hd,2):Hd()})):isFunction$3(Ra)?qa?vd=pd?()=>pd(Ra,2):Ra:vd=()=>{if(Ad){pauseTracking();try{Ad()}finally{resetTracking()}}const Hd=activeWatcher;activeWatcher=md;try{return pd?pd(Ra,3,[Nd]):Ra(Nd)}finally{activeWatcher=Hd}}:vd=NOOP,qa&&ld){const Hd=vd,Gd=ld===!0?1/0:ld;vd=()=>traverse(Hd(),Gd)}const jd=getCurrentScope(),Fd=()=>{md.stop(),jd&&jd.active&&remove$2(jd.effects,md)};if(ud&&qa){const Hd=qa;qa=(...Gd)=>{Hd(...Gd),Fd()}}let Md=kd?new Array(Ra.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const Ld=Hd=>{if(!(!(md.flags&1)||!md.dirty&&!Hd))if(qa){const Gd=md.run();if(ld||Id||(kd?Gd.some((Vd,Kd)=>hasChanged(Vd,Md[Kd])):hasChanged(Gd,Md))){Ad&&Ad();const Vd=activeWatcher;activeWatcher=md;try{const Kd=[Gd,Md===INITIAL_WATCHER_VALUE?void 0:kd&&Md[0]===INITIAL_WATCHER_VALUE?[]:Md,Nd];pd?pd(qa,3,Kd):qa(...Kd),Md=Gd}finally{activeWatcher=Vd}}}else md.run()};return dd&&dd(Ld),md=new ReactiveEffect(vd),md.scheduler=cd?()=>cd(Ld,!1):Ld,Nd=Hd=>onWatcherCleanup(Hd,!1,md),Ad=md.onStop=()=>{const Hd=cleanupMap.get(md);if(Hd){if(pd)pd(Hd,4);else for(const Gd of Hd)Gd();cleanupMap.delete(md)}},qa?od?Ld(!0):Md=md.run():cd?cd(Ld.bind(null,!0),!0):md.run(),Fd.pause=md.pause.bind(md),Fd.resume=md.resume.bind(md),Fd.stop=Fd,Fd}function traverse(Ra,qa=1/0,nd){if(qa<=0||!isObject$5(Ra)||Ra.__v_skip||(nd=nd||new Set,nd.has(Ra)))return Ra;if(nd.add(Ra),qa--,isRef(Ra))traverse(Ra.value,qa,nd);else if(isArray$2(Ra))for(let od=0;od{traverse(od,qa,nd)});else if(isPlainObject$4(Ra)){for(const od in Ra)traverse(Ra[od],qa,nd);for(const od of Object.getOwnPropertySymbols(Ra))Object.prototype.propertyIsEnumerable.call(Ra,od)&&traverse(Ra[od],qa,nd)}return Ra}/** * @vue/runtime-core v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const stack=[];let isWarning=!1;function warn$1(Ra,...qa){if(isWarning)return;isWarning=!0,pauseTracking();const nd=stack.length?stack[stack.length-1].component:null,od=nd&&nd.appContext.config.warnHandler,ld=getComponentTrace();if(od)callWithErrorHandling(od,nd,11,[Ra+qa.map(ud=>{var cd,dd;return(dd=(cd=ud.toString)==null?void 0:cd.call(ud))!=null?dd:JSON.stringify(ud)}).join(""),nd&&nd.proxy,ld.map(({vnode:ud})=>`at <${formatComponentName(nd,ud.type)}>`).join(` `),ld]);else{const ud=[`[Vue warn]: ${Ra}`,...qa];ld.length&&ud.push(` `,...formatTrace(ld)),console.warn(...ud)}resetTracking(),isWarning=!1}function getComponentTrace(){let Ra=stack[stack.length-1];if(!Ra)return[];const qa=[];for(;Ra;){const nd=qa[0];nd&&nd.vnode===Ra?nd.recurseCount++:qa.push({vnode:Ra,recurseCount:0});const od=Ra.component&&Ra.component.parent;Ra=od&&od.vnode}return qa}function formatTrace(Ra){const qa=[];return Ra.forEach((nd,od)=>{qa.push(...od===0?[]:[` -`],...formatTraceEntry(nd))}),qa}function formatTraceEntry({vnode:Ra,recurseCount:qa}){const nd=qa>0?`... (${qa} recursive calls)`:"",od=Ra.component?Ra.component.parent==null:!1,ld=` at <${formatComponentName(Ra.component,Ra.type,od)}`,ud=">"+nd;return Ra.props?[ld,...formatProps(Ra.props),ud]:[ld+ud]}function formatProps(Ra){const qa=[],nd=Object.keys(Ra);return nd.slice(0,3).forEach(od=>{qa.push(...formatProp(od,Ra[od]))}),nd.length>3&&qa.push(" ..."),qa}function formatProp(Ra,qa,nd){return isString$2(qa)?(qa=JSON.stringify(qa),nd?qa:[`${Ra}=${qa}`]):typeof qa=="number"||typeof qa=="boolean"||qa==null?nd?qa:[`${Ra}=${qa}`]:isRef(qa)?(qa=formatProp(Ra,toRaw(qa.value),!0),nd?qa:[`${Ra}=Ref<`,qa,">"]):isFunction$3(qa)?[`${Ra}=fn${qa.name?`<${qa.name}>`:""}`]:(qa=toRaw(qa),nd?qa:[`${Ra}=`,qa])}function callWithErrorHandling(Ra,qa,nd,od){try{return od?Ra(...od):Ra()}catch(ld){handleError$1(ld,qa,nd)}}function callWithAsyncErrorHandling(Ra,qa,nd,od){if(isFunction$3(Ra)){const ld=callWithErrorHandling(Ra,qa,nd,od);return ld&&isPromise(ld)&&ld.catch(ud=>{handleError$1(ud,qa,nd)}),ld}if(isArray$2(Ra)){const ld=[];for(let ud=0;ud>>1,ld=queue$2[od],ud=getId(ld);ud=getId(nd)?queue$2.push(Ra):queue$2.splice(findInsertionIndex(qa),0,Ra),Ra.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||(currentFlushPromise=resolvedPromise.then(flushJobs))}function queuePostFlushCb(Ra){isArray$2(Ra)?pendingPostFlushCbs.push(...Ra):activePostFlushCbs&&Ra.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,Ra):Ra.flags&1||(pendingPostFlushCbs.push(Ra),Ra.flags|=1),queueFlush()}function flushPreFlushCbs(Ra,qa,nd=flushIndex+1){for(;ndgetId(nd)-getId(od));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...qa);return}for(activePostFlushCbs=qa,postFlushIndex=0;postFlushIndexRa.id==null?Ra.flags&2?-1:1/0:Ra.id;function flushJobs(Ra){try{for(flushIndex=0;flushIndex{od._d&&setBlockTracking(-1);const ud=setCurrentRenderingInstance(qa);let cd;try{cd=Ra(...ld)}finally{setCurrentRenderingInstance(ud),od._d&&setBlockTracking(1)}return cd};return od._n=!0,od._c=!0,od._d=!0,od}function withDirectives(Ra,qa){if(currentRenderingInstance===null)return Ra;const nd=getComponentPublicInstance(currentRenderingInstance),od=Ra.dirs||(Ra.dirs=[]);for(let ld=0;ldRa.__isTeleport,isTeleportDisabled=Ra=>Ra&&(Ra.disabled||Ra.disabled===""),isTeleportDeferred=Ra=>Ra&&(Ra.defer||Ra.defer===""),isTargetSVG=Ra=>typeof SVGElement<"u"&&Ra instanceof SVGElement,isTargetMathML=Ra=>typeof MathMLElement=="function"&&Ra instanceof MathMLElement,resolveTarget=(Ra,qa)=>{const nd=Ra&&Ra.to;return isString$2(nd)?qa?qa(nd):null:nd},TeleportImpl={name:"Teleport",__isTeleport:!0,process(Ra,qa,nd,od,ld,ud,cd,dd,pd,fd){const{mc:md,pc:vd,pbc:Ad,o:{insert:Nd,querySelector:Id,createText:kd,createComment:jd}}=fd,Fd=isTeleportDisabled(qa.props);let{shapeFlag:Md,children:Ld,dynamicChildren:Hd}=qa;if(Ra==null){const Gd=qa.el=kd(""),Vd=qa.anchor=kd("");Nd(Gd,nd,od),Nd(Vd,nd,od);const Qd=(Yd,Zd)=>{Md&16&&(ld&&ld.isCE&&(ld.ce._teleportTarget=Yd),md(Ld,Yd,Zd,ld,ud,cd,dd,pd))},mf=()=>{const Yd=qa.target=resolveTarget(qa.props,Id),Zd=prepareAnchor(Yd,qa,kd,Nd);Yd&&(cd!=="svg"&&isTargetSVG(Yd)?cd="svg":cd!=="mathml"&&isTargetMathML(Yd)&&(cd="mathml"),Fd||(Qd(Yd,Zd),updateCssVars(qa,!1)))};Fd&&(Qd(nd,Vd),updateCssVars(qa,!0)),isTeleportDeferred(qa.props)?queuePostRenderEffect(()=>{mf(),qa.el.__isMounted=!0},ud):mf()}else{if(isTeleportDeferred(qa.props)&&!Ra.el.__isMounted){queuePostRenderEffect(()=>{TeleportImpl.process(Ra,qa,nd,od,ld,ud,cd,dd,pd,fd),delete Ra.el.__isMounted},ud);return}qa.el=Ra.el,qa.targetStart=Ra.targetStart;const Gd=qa.anchor=Ra.anchor,Vd=qa.target=Ra.target,Qd=qa.targetAnchor=Ra.targetAnchor,mf=isTeleportDisabled(Ra.props),Yd=mf?nd:Vd,Zd=mf?Gd:Qd;if(cd==="svg"||isTargetSVG(Vd)?cd="svg":(cd==="mathml"||isTargetMathML(Vd))&&(cd="mathml"),Hd?(Ad(Ra.dynamicChildren,Hd,Yd,ld,ud,cd,dd),traverseStaticChildren(Ra,qa,!0)):pd||vd(Ra,qa,Yd,Zd,ld,ud,cd,dd,!1),Fd)mf?qa.props&&Ra.props&&qa.props.to!==Ra.props.to&&(qa.props.to=Ra.props.to):moveTeleport(qa,nd,Gd,fd,1);else if((qa.props&&qa.props.to)!==(Ra.props&&Ra.props.to)){const Kd=qa.target=resolveTarget(qa.props,Id);Kd&&moveTeleport(qa,Kd,null,fd,0)}else mf&&moveTeleport(qa,Vd,Qd,fd,1);updateCssVars(qa,Fd)}},remove(Ra,qa,nd,{um:od,o:{remove:ld}},ud){const{shapeFlag:cd,children:dd,anchor:pd,targetStart:fd,targetAnchor:md,target:vd,props:Ad}=Ra;if(vd&&(ld(fd),ld(md)),ud&&ld(pd),cd&16){const Nd=ud||!isTeleportDisabled(Ad);for(let Id=0;Id{Ra.isMounted=!0}),onBeforeUnmount(()=>{Ra.isUnmounting=!0}),Ra}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=Ra=>{const qa=Ra.subTree;return qa.component?recursiveGetSubtree(qa.component):qa},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(Ra,{slots:qa}){const nd=getCurrentInstance(),od=useTransitionState();return()=>{const ld=qa.default&&getTransitionRawChildren(qa.default(),!0);if(!ld||!ld.length)return;const ud=findNonCommentChild(ld),cd=toRaw(Ra),{mode:dd}=cd;if(od.isLeaving)return emptyPlaceholder(ud);const pd=getInnerChild$1(ud);if(!pd)return emptyPlaceholder(ud);let fd=resolveTransitionHooks(pd,cd,od,nd,vd=>fd=vd);pd.type!==Comment$2&&setTransitionHooks(pd,fd);let md=nd.subTree&&getInnerChild$1(nd.subTree);if(md&&md.type!==Comment$2&&!isSameVNodeType(pd,md)&&recursiveGetSubtree(nd).type!==Comment$2){let vd=resolveTransitionHooks(md,cd,od,nd);if(setTransitionHooks(md,vd),dd==="out-in"&&pd.type!==Comment$2)return od.isLeaving=!0,vd.afterLeave=()=>{od.isLeaving=!1,nd.job.flags&8||nd.update(),delete vd.afterLeave,md=void 0},emptyPlaceholder(ud);dd==="in-out"&&pd.type!==Comment$2?vd.delayLeave=(Ad,Nd,Id)=>{const kd=getLeavingNodesForType(od,md);kd[String(md.key)]=md,Ad[leaveCbKey]=()=>{Nd(),Ad[leaveCbKey]=void 0,delete fd.delayedLeave,md=void 0},fd.delayedLeave=()=>{Id(),delete fd.delayedLeave,md=void 0}}:md=void 0}else md&&(md=void 0);return ud}}};function findNonCommentChild(Ra){let qa=Ra[0];if(Ra.length>1){for(const nd of Ra)if(nd.type!==Comment$2){qa=nd;break}}return qa}const BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(Ra,qa){const{leavingVNodes:nd}=Ra;let od=nd.get(qa.type);return od||(od=Object.create(null),nd.set(qa.type,od)),od}function resolveTransitionHooks(Ra,qa,nd,od,ld){const{appear:ud,mode:cd,persisted:dd=!1,onBeforeEnter:pd,onEnter:fd,onAfterEnter:md,onEnterCancelled:vd,onBeforeLeave:Ad,onLeave:Nd,onAfterLeave:Id,onLeaveCancelled:kd,onBeforeAppear:jd,onAppear:Fd,onAfterAppear:Md,onAppearCancelled:Ld}=qa,Hd=String(Ra.key),Gd=getLeavingNodesForType(nd,Ra),Vd=(Yd,Zd)=>{Yd&&callWithAsyncErrorHandling(Yd,od,9,Zd)},Qd=(Yd,Zd)=>{const Kd=Zd[1];Vd(Yd,Zd),isArray$2(Yd)?Yd.every(bf=>bf.length<=1)&&Kd():Yd.length<=1&&Kd()},mf={mode:cd,persisted:dd,beforeEnter(Yd){let Zd=pd;if(!nd.isMounted)if(ud)Zd=jd||pd;else return;Yd[leaveCbKey]&&Yd[leaveCbKey](!0);const Kd=Gd[Hd];Kd&&isSameVNodeType(Ra,Kd)&&Kd.el[leaveCbKey]&&Kd.el[leaveCbKey](),Vd(Zd,[Yd])},enter(Yd){let Zd=fd,Kd=md,bf=vd;if(!nd.isMounted)if(ud)Zd=Fd||fd,Kd=Md||md,bf=Ld||vd;else return;let gf=!1;const Ef=Yd[enterCbKey]=yf=>{gf||(gf=!0,yf?Vd(bf,[Yd]):Vd(Kd,[Yd]),mf.delayedLeave&&mf.delayedLeave(),Yd[enterCbKey]=void 0)};Zd?Qd(Zd,[Yd,Ef]):Ef()},leave(Yd,Zd){const Kd=String(Ra.key);if(Yd[enterCbKey]&&Yd[enterCbKey](!0),nd.isUnmounting)return Zd();Vd(Ad,[Yd]);let bf=!1;const gf=Yd[leaveCbKey]=Ef=>{bf||(bf=!0,Zd(),Ef?Vd(kd,[Yd]):Vd(Id,[Yd]),Yd[leaveCbKey]=void 0,Gd[Kd]===Ra&&delete Gd[Kd])};Gd[Kd]=Ra,Nd?Qd(Nd,[Yd,gf]):gf()},clone(Yd){const Zd=resolveTransitionHooks(Yd,qa,nd,od,ld);return ld&&ld(Zd),Zd}};return mf}function emptyPlaceholder(Ra){if(isKeepAlive(Ra))return Ra=cloneVNode(Ra),Ra.children=null,Ra}function getInnerChild$1(Ra){if(!isKeepAlive(Ra))return isTeleport(Ra.type)&&Ra.children?findNonCommentChild(Ra.children):Ra;const{shapeFlag:qa,children:nd}=Ra;if(nd){if(qa&16)return nd[0];if(qa&32&&isFunction$3(nd.default))return nd.default()}}function setTransitionHooks(Ra,qa){Ra.shapeFlag&6&&Ra.component?(Ra.transition=qa,setTransitionHooks(Ra.component.subTree,qa)):Ra.shapeFlag&128?(Ra.ssContent.transition=qa.clone(Ra.ssContent),Ra.ssFallback.transition=qa.clone(Ra.ssFallback)):Ra.transition=qa}function getTransitionRawChildren(Ra,qa=!1,nd){let od=[],ld=0;for(let ud=0;ud1)for(let ud=0;udnd.value,set:ud=>nd.value=ud})}return nd}function setRef(Ra,qa,nd,od,ld=!1){if(isArray$2(Ra)){Ra.forEach((Id,kd)=>setRef(Id,qa&&(isArray$2(qa)?qa[kd]:qa),nd,od,ld));return}if(isAsyncWrapper(od)&&!ld){od.shapeFlag&512&&od.type.__asyncResolved&&od.component.subTree.component&&setRef(Ra,qa,nd,od.component.subTree);return}const ud=od.shapeFlag&4?getComponentPublicInstance(od.component):od.el,cd=ld?null:ud,{i:dd,r:pd}=Ra,fd=qa&&qa.r,md=dd.refs===EMPTY_OBJ?dd.refs={}:dd.refs,vd=dd.setupState,Ad=toRaw(vd),Nd=vd===EMPTY_OBJ?()=>!1:Id=>hasOwn$3(Ad,Id);if(fd!=null&&fd!==pd&&(isString$2(fd)?(md[fd]=null,Nd(fd)&&(vd[fd]=null)):isRef(fd)&&(fd.value=null)),isFunction$3(pd))callWithErrorHandling(pd,dd,12,[cd,md]);else{const Id=isString$2(pd),kd=isRef(pd);if(Id||kd){const jd=()=>{if(Ra.f){const Fd=Id?Nd(pd)?vd[pd]:md[pd]:pd.value;ld?isArray$2(Fd)&&remove$2(Fd,ud):isArray$2(Fd)?Fd.includes(ud)||Fd.push(ud):Id?(md[pd]=[ud],Nd(pd)&&(vd[pd]=md[pd])):(pd.value=[ud],Ra.k&&(md[Ra.k]=pd.value))}else Id?(md[pd]=cd,Nd(pd)&&(vd[pd]=cd)):kd&&(pd.value=cd,Ra.k&&(md[Ra.k]=cd))};cd?(jd.id=-1,queuePostRenderEffect(jd,nd)):jd()}}}getGlobalThis().requestIdleCallback;getGlobalThis().cancelIdleCallback;const isAsyncWrapper=Ra=>!!Ra.type.__asyncLoader,isKeepAlive=Ra=>Ra.type.__isKeepAlive;function onActivated(Ra,qa){registerKeepAliveHook(Ra,"a",qa)}function onDeactivated(Ra,qa){registerKeepAliveHook(Ra,"da",qa)}function registerKeepAliveHook(Ra,qa,nd=currentInstance){const od=Ra.__wdc||(Ra.__wdc=()=>{let ld=nd;for(;ld;){if(ld.isDeactivated)return;ld=ld.parent}return Ra()});if(injectHook(qa,od,nd),nd){let ld=nd.parent;for(;ld&&ld.parent;)isKeepAlive(ld.parent.vnode)&&injectToKeepAliveRoot(od,qa,nd,ld),ld=ld.parent}}function injectToKeepAliveRoot(Ra,qa,nd,od){const ld=injectHook(qa,Ra,od,!0);onUnmounted(()=>{remove$2(od[qa],ld)},nd)}function injectHook(Ra,qa,nd=currentInstance,od=!1){if(nd){const ld=nd[Ra]||(nd[Ra]=[]),ud=qa.__weh||(qa.__weh=(...cd)=>{pauseTracking();const dd=setCurrentInstance(nd),pd=callWithAsyncErrorHandling(qa,nd,Ra,cd);return dd(),resetTracking(),pd});return od?ld.unshift(ud):ld.push(ud),ud}}const createHook=Ra=>(qa,nd=currentInstance)=>{(!isInSSRComponentSetup||Ra==="sp")&&injectHook(Ra,(...od)=>qa(...od),nd)},onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(Ra,qa=currentInstance){injectHook("ec",Ra,qa)}const COMPONENTS="components";function resolveComponent(Ra,qa){return resolveAsset(COMPONENTS,Ra,!0,qa)||Ra}const NULL_DYNAMIC_COMPONENT=Symbol.for("v-ndc");function resolveDynamicComponent(Ra){return isString$2(Ra)?resolveAsset(COMPONENTS,Ra,!1)||Ra:Ra||NULL_DYNAMIC_COMPONENT}function resolveAsset(Ra,qa,nd=!0,od=!1){const ld=currentRenderingInstance||currentInstance;if(ld){const ud=ld.type;{const dd=getComponentName(ud,!1);if(dd&&(dd===qa||dd===camelize(qa)||dd===capitalize(camelize(qa))))return ud}const cd=resolve$1(ld[Ra]||ud[Ra],qa)||resolve$1(ld.appContext[Ra],qa);return!cd&&od?ud:cd}}function resolve$1(Ra,qa){return Ra&&(Ra[qa]||Ra[camelize(qa)]||Ra[capitalize(camelize(qa))])}function renderList(Ra,qa,nd,od){let ld;const ud=nd,cd=isArray$2(Ra);if(cd||isString$2(Ra)){const dd=cd&&isReactive(Ra);let pd=!1;dd&&(pd=!isShallow(Ra),Ra=shallowReadArray(Ra)),ld=new Array(Ra.length);for(let fd=0,md=Ra.length;fdqa(dd,pd,void 0,ud));else{const dd=Object.keys(Ra);ld=new Array(dd.length);for(let pd=0,fd=dd.length;pdisVNode(qa)?!(qa.type===Comment$2||qa.type===Fragment&&!ensureValidVNode(qa.children)):!0)?Ra:null}const getPublicInstance=Ra=>Ra?isStatefulComponent(Ra)?getComponentPublicInstance(Ra):getPublicInstance(Ra.parent):null,publicPropertiesMap=extend$3(Object.create(null),{$:Ra=>Ra,$el:Ra=>Ra.vnode.el,$data:Ra=>Ra.data,$props:Ra=>Ra.props,$attrs:Ra=>Ra.attrs,$slots:Ra=>Ra.slots,$refs:Ra=>Ra.refs,$parent:Ra=>getPublicInstance(Ra.parent),$root:Ra=>getPublicInstance(Ra.root),$host:Ra=>Ra.ce,$emit:Ra=>Ra.emit,$options:Ra=>resolveMergedOptions(Ra),$forceUpdate:Ra=>Ra.f||(Ra.f=()=>{queueJob(Ra.update)}),$nextTick:Ra=>Ra.n||(Ra.n=nextTick$1.bind(Ra.proxy)),$watch:Ra=>instanceWatch.bind(Ra)}),hasSetupBinding=(Ra,qa)=>Ra!==EMPTY_OBJ&&!Ra.__isScriptSetup&&hasOwn$3(Ra,qa),PublicInstanceProxyHandlers={get({_:Ra},qa){if(qa==="__v_skip")return!0;const{ctx:nd,setupState:od,data:ld,props:ud,accessCache:cd,type:dd,appContext:pd}=Ra;let fd;if(qa[0]!=="$"){const Nd=cd[qa];if(Nd!==void 0)switch(Nd){case 1:return od[qa];case 2:return ld[qa];case 4:return nd[qa];case 3:return ud[qa]}else{if(hasSetupBinding(od,qa))return cd[qa]=1,od[qa];if(ld!==EMPTY_OBJ&&hasOwn$3(ld,qa))return cd[qa]=2,ld[qa];if((fd=Ra.propsOptions[0])&&hasOwn$3(fd,qa))return cd[qa]=3,ud[qa];if(nd!==EMPTY_OBJ&&hasOwn$3(nd,qa))return cd[qa]=4,nd[qa];shouldCacheAccess&&(cd[qa]=0)}}const md=publicPropertiesMap[qa];let vd,Ad;if(md)return qa==="$attrs"&&track(Ra.attrs,"get",""),md(Ra);if((vd=dd.__cssModules)&&(vd=vd[qa]))return vd;if(nd!==EMPTY_OBJ&&hasOwn$3(nd,qa))return cd[qa]=4,nd[qa];if(Ad=pd.config.globalProperties,hasOwn$3(Ad,qa))return Ad[qa]},set({_:Ra},qa,nd){const{data:od,setupState:ld,ctx:ud}=Ra;return hasSetupBinding(ld,qa)?(ld[qa]=nd,!0):od!==EMPTY_OBJ&&hasOwn$3(od,qa)?(od[qa]=nd,!0):hasOwn$3(Ra.props,qa)||qa[0]==="$"&&qa.slice(1)in Ra?!1:(ud[qa]=nd,!0)},has({_:{data:Ra,setupState:qa,accessCache:nd,ctx:od,appContext:ld,propsOptions:ud}},cd){let dd;return!!nd[cd]||Ra!==EMPTY_OBJ&&hasOwn$3(Ra,cd)||hasSetupBinding(qa,cd)||(dd=ud[0])&&hasOwn$3(dd,cd)||hasOwn$3(od,cd)||hasOwn$3(publicPropertiesMap,cd)||hasOwn$3(ld.config.globalProperties,cd)},defineProperty(Ra,qa,nd){return nd.get!=null?Ra._.accessCache[qa]=0:hasOwn$3(nd,"value")&&this.set(Ra,qa,nd.value,null),Reflect.defineProperty(Ra,qa,nd)}};function useSlots(){return getContext().slots}function useAttrs(){return getContext().attrs}function getContext(){const Ra=getCurrentInstance();return Ra.setupContext||(Ra.setupContext=createSetupContext(Ra))}function normalizePropsOrEmits(Ra){return isArray$2(Ra)?Ra.reduce((qa,nd)=>(qa[nd]=null,qa),{}):Ra}function mergeDefaults(Ra,qa){const nd=normalizePropsOrEmits(Ra);for(const od in qa){if(od.startsWith("__skip"))continue;let ld=nd[od];ld?isArray$2(ld)||isFunction$3(ld)?ld=nd[od]={type:ld,default:qa[od]}:ld.default=qa[od]:ld===null&&(ld=nd[od]={default:qa[od]}),ld&&qa[`__skip_${od}`]&&(ld.skipFactory=!0)}return nd}let shouldCacheAccess=!0;function applyOptions(Ra){const qa=resolveMergedOptions(Ra),nd=Ra.proxy,od=Ra.ctx;shouldCacheAccess=!1,qa.beforeCreate&&callHook$1(qa.beforeCreate,Ra,"bc");const{data:ld,computed:ud,methods:cd,watch:dd,provide:pd,inject:fd,created:md,beforeMount:vd,mounted:Ad,beforeUpdate:Nd,updated:Id,activated:kd,deactivated:jd,beforeDestroy:Fd,beforeUnmount:Md,destroyed:Ld,unmounted:Hd,render:Gd,renderTracked:Vd,renderTriggered:Qd,errorCaptured:mf,serverPrefetch:Yd,expose:Zd,inheritAttrs:Kd,components:bf,directives:gf,filters:Ef}=qa;if(fd&&resolveInjections(fd,od,null),cd)for(const Af in cd){const Lf=cd[Af];isFunction$3(Lf)&&(od[Af]=Lf.bind(nd))}if(ld){const Af=ld.call(nd,nd);isObject$5(Af)&&(Ra.data=reactive(Af))}if(shouldCacheAccess=!0,ud)for(const Af in ud){const Lf=ud[Af],Xf=isFunction$3(Lf)?Lf.bind(nd,nd):isFunction$3(Lf.get)?Lf.get.bind(nd,nd):NOOP,ih=!isFunction$3(Lf)&&isFunction$3(Lf.set)?Lf.set.bind(nd):NOOP,Zf=computed({get:Xf,set:ih});Object.defineProperty(od,Af,{enumerable:!0,configurable:!0,get:()=>Zf.value,set:jf=>Zf.value=jf})}if(dd)for(const Af in dd)createWatcher(dd[Af],od,nd,Af);if(pd){const Af=isFunction$3(pd)?pd.call(nd):pd;Reflect.ownKeys(Af).forEach(Lf=>{provide(Lf,Af[Lf])})}md&&callHook$1(md,Ra,"c");function xf(Af,Lf){isArray$2(Lf)?Lf.forEach(Xf=>Af(Xf.bind(nd))):Lf&&Af(Lf.bind(nd))}if(xf(onBeforeMount,vd),xf(onMounted,Ad),xf(onBeforeUpdate,Nd),xf(onUpdated,Id),xf(onActivated,kd),xf(onDeactivated,jd),xf(onErrorCaptured,mf),xf(onRenderTracked,Vd),xf(onRenderTriggered,Qd),xf(onBeforeUnmount,Md),xf(onUnmounted,Hd),xf(onServerPrefetch,Yd),isArray$2(Zd))if(Zd.length){const Af=Ra.exposed||(Ra.exposed={});Zd.forEach(Lf=>{Object.defineProperty(Af,Lf,{get:()=>nd[Lf],set:Xf=>nd[Lf]=Xf})})}else Ra.exposed||(Ra.exposed={});Gd&&Ra.render===NOOP&&(Ra.render=Gd),Kd!=null&&(Ra.inheritAttrs=Kd),bf&&(Ra.components=bf),gf&&(Ra.directives=gf),Yd&&markAsyncBoundary(Ra)}function resolveInjections(Ra,qa,nd=NOOP){isArray$2(Ra)&&(Ra=normalizeInject(Ra));for(const od in Ra){const ld=Ra[od];let ud;isObject$5(ld)?"default"in ld?ud=inject(ld.from||od,ld.default,!0):ud=inject(ld.from||od):ud=inject(ld),isRef(ud)?Object.defineProperty(qa,od,{enumerable:!0,configurable:!0,get:()=>ud.value,set:cd=>ud.value=cd}):qa[od]=ud}}function callHook$1(Ra,qa,nd){callWithAsyncErrorHandling(isArray$2(Ra)?Ra.map(od=>od.bind(qa.proxy)):Ra.bind(qa.proxy),qa,nd)}function createWatcher(Ra,qa,nd,od){let ld=od.includes(".")?createPathGetter(nd,od):()=>nd[od];if(isString$2(Ra)){const ud=qa[Ra];isFunction$3(ud)&&watch(ld,ud)}else if(isFunction$3(Ra))watch(ld,Ra.bind(nd));else if(isObject$5(Ra))if(isArray$2(Ra))Ra.forEach(ud=>createWatcher(ud,qa,nd,od));else{const ud=isFunction$3(Ra.handler)?Ra.handler.bind(nd):qa[Ra.handler];isFunction$3(ud)&&watch(ld,ud,Ra)}}function resolveMergedOptions(Ra){const qa=Ra.type,{mixins:nd,extends:od}=qa,{mixins:ld,optionsCache:ud,config:{optionMergeStrategies:cd}}=Ra.appContext,dd=ud.get(qa);let pd;return dd?pd=dd:!ld.length&&!nd&&!od?pd=qa:(pd={},ld.length&&ld.forEach(fd=>mergeOptions(pd,fd,cd,!0)),mergeOptions(pd,qa,cd)),isObject$5(qa)&&ud.set(qa,pd),pd}function mergeOptions(Ra,qa,nd,od=!1){const{mixins:ld,extends:ud}=qa;ud&&mergeOptions(Ra,ud,nd,!0),ld&&ld.forEach(cd=>mergeOptions(Ra,cd,nd,!0));for(const cd in qa)if(!(od&&cd==="expose")){const dd=internalOptionMergeStrats[cd]||nd&&nd[cd];Ra[cd]=dd?dd(Ra[cd],qa[cd]):qa[cd]}return Ra}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(Ra,qa){return qa?Ra?function(){return extend$3(isFunction$3(Ra)?Ra.call(this,this):Ra,isFunction$3(qa)?qa.call(this,this):qa)}:qa:Ra}function mergeInject(Ra,qa){return mergeObjectOptions(normalizeInject(Ra),normalizeInject(qa))}function normalizeInject(Ra){if(isArray$2(Ra)){const qa={};for(let nd=0;nd1)return nd&&isFunction$3(qa)?qa.call(od&&od.proxy):qa}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}const internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=Ra=>Object.getPrototypeOf(Ra)===internalObjectProto;function initProps(Ra,qa,nd,od=!1){const ld={},ud=createInternalObject();Ra.propsDefaults=Object.create(null),setFullProps(Ra,qa,ld,ud);for(const cd in Ra.propsOptions[0])cd in ld||(ld[cd]=void 0);nd?Ra.props=od?ld:shallowReactive(ld):Ra.type.props?Ra.props=ld:Ra.props=ud,Ra.attrs=ud}function updateProps(Ra,qa,nd,od){const{props:ld,attrs:ud,vnode:{patchFlag:cd}}=Ra,dd=toRaw(ld),[pd]=Ra.propsOptions;let fd=!1;if((od||cd>0)&&!(cd&16)){if(cd&8){const md=Ra.vnode.dynamicProps;for(let vd=0;vd{pd=!0;const[Ad,Nd]=normalizePropsOptions(vd,qa,!0);extend$3(cd,Ad),Nd&&dd.push(...Nd)};!nd&&qa.mixins.length&&qa.mixins.forEach(md),Ra.extends&&md(Ra.extends),Ra.mixins&&Ra.mixins.forEach(md)}if(!ud&&!pd)return isObject$5(Ra)&&od.set(Ra,EMPTY_ARR),EMPTY_ARR;if(isArray$2(ud))for(let md=0;mdRa[0]==="_"||Ra==="$stable",normalizeSlotValue=Ra=>isArray$2(Ra)?Ra.map(normalizeVNode):[normalizeVNode(Ra)],normalizeSlot=(Ra,qa,nd)=>{if(qa._n)return qa;const od=withCtx((...ld)=>normalizeSlotValue(qa(...ld)),nd);return od._c=!1,od},normalizeObjectSlots=(Ra,qa,nd)=>{const od=Ra._ctx;for(const ld in Ra){if(isInternalKey(ld))continue;const ud=Ra[ld];if(isFunction$3(ud))qa[ld]=normalizeSlot(ld,ud,od);else if(ud!=null){const cd=normalizeSlotValue(ud);qa[ld]=()=>cd}}},normalizeVNodeSlots=(Ra,qa)=>{const nd=normalizeSlotValue(qa);Ra.slots.default=()=>nd},assignSlots=(Ra,qa,nd)=>{for(const od in qa)(nd||od!=="_")&&(Ra[od]=qa[od])},initSlots=(Ra,qa,nd)=>{const od=Ra.slots=createInternalObject();if(Ra.vnode.shapeFlag&32){const ld=qa._;ld?(assignSlots(od,qa,nd),nd&&def$2(od,"_",ld,!0)):normalizeObjectSlots(qa,od)}else qa&&normalizeVNodeSlots(Ra,qa)},updateSlots=(Ra,qa,nd)=>{const{vnode:od,slots:ld}=Ra;let ud=!0,cd=EMPTY_OBJ;if(od.shapeFlag&32){const dd=qa._;dd?nd&&dd===1?ud=!1:assignSlots(ld,qa,nd):(ud=!qa.$stable,normalizeObjectSlots(qa,ld)),cd=qa}else qa&&(normalizeVNodeSlots(Ra,qa),cd={default:1});if(ud)for(const dd in ld)!isInternalKey(dd)&&cd[dd]==null&&delete ld[dd]},queuePostRenderEffect=queueEffectWithSuspense;function createRenderer$1(Ra){return baseCreateRenderer(Ra)}function baseCreateRenderer(Ra,qa){const nd=getGlobalThis();nd.__VUE__=!0;const{insert:od,remove:ld,patchProp:ud,createElement:cd,createText:dd,createComment:pd,setText:fd,setElementText:md,parentNode:vd,nextSibling:Ad,setScopeId:Nd=NOOP,insertStaticContent:Id}=Ra,kd=(Pf,uh,xh,Qf=null,Nf=null,$f=null,Wf=void 0,vh=null,Th=!!uh.dynamicChildren)=>{if(Pf===uh)return;Pf&&!isSameVNodeType(Pf,uh)&&(Qf=Tf(Pf),jf(Pf,Nf,$f,!0),Pf=null),uh.patchFlag===-2&&(Th=!1,uh.dynamicChildren=null);const{type:dh,ref:Vh,shapeFlag:wh}=uh;switch(dh){case Text$2:jd(Pf,uh,xh,Qf);break;case Comment$2:Fd(Pf,uh,xh,Qf);break;case Static:Pf==null&&Md(uh,xh,Qf,Wf);break;case Fragment:bf(Pf,uh,xh,Qf,Nf,$f,Wf,vh,Th);break;default:wh&1?Gd(Pf,uh,xh,Qf,Nf,$f,Wf,vh,Th):wh&6?gf(Pf,uh,xh,Qf,Nf,$f,Wf,vh,Th):(wh&64||wh&128)&&dh.process(Pf,uh,xh,Qf,Nf,$f,Wf,vh,Th,Jf)}Vh!=null&&Nf&&setRef(Vh,Pf&&Pf.ref,$f,uh||Pf,!uh)},jd=(Pf,uh,xh,Qf)=>{if(Pf==null)od(uh.el=dd(uh.children),xh,Qf);else{const Nf=uh.el=Pf.el;uh.children!==Pf.children&&fd(Nf,uh.children)}},Fd=(Pf,uh,xh,Qf)=>{Pf==null?od(uh.el=pd(uh.children||""),xh,Qf):uh.el=Pf.el},Md=(Pf,uh,xh,Qf)=>{[Pf.el,Pf.anchor]=Id(Pf.children,uh,xh,Qf,Pf.el,Pf.anchor)},Ld=({el:Pf,anchor:uh},xh,Qf)=>{let Nf;for(;Pf&&Pf!==uh;)Nf=Ad(Pf),od(Pf,xh,Qf),Pf=Nf;od(uh,xh,Qf)},Hd=({el:Pf,anchor:uh})=>{let xh;for(;Pf&&Pf!==uh;)xh=Ad(Pf),ld(Pf),Pf=xh;ld(uh)},Gd=(Pf,uh,xh,Qf,Nf,$f,Wf,vh,Th)=>{uh.type==="svg"?Wf="svg":uh.type==="math"&&(Wf="mathml"),Pf==null?Vd(uh,xh,Qf,Nf,$f,Wf,vh,Th):Yd(Pf,uh,Nf,$f,Wf,vh,Th)},Vd=(Pf,uh,xh,Qf,Nf,$f,Wf,vh)=>{let Th,dh;const{props:Vh,shapeFlag:wh,transition:fm,dirs:Nm}=Pf;if(Th=Pf.el=cd(Pf.type,$f,Vh&&Vh.is,Vh),wh&8?md(Th,Pf.children):wh&16&&mf(Pf.children,Th,null,Qf,Nf,resolveChildrenNamespace(Pf,$f),Wf,vh),Nm&&invokeDirectiveHook(Pf,null,Qf,"created"),Qd(Th,Pf,Pf.scopeId,Wf,Qf),Vh){for(const Sm in Vh)Sm!=="value"&&!isReservedProp(Sm)&&ud(Th,Sm,null,Vh[Sm],$f,Qf);"value"in Vh&&ud(Th,"value",null,Vh.value,$f),(dh=Vh.onVnodeBeforeMount)&&invokeVNodeHook(dh,Qf,Pf)}Nm&&invokeDirectiveHook(Pf,null,Qf,"beforeMount");const cm=needTransition(Nf,fm);cm&&fm.beforeEnter(Th),od(Th,uh,xh),((dh=Vh&&Vh.onVnodeMounted)||cm||Nm)&&queuePostRenderEffect(()=>{dh&&invokeVNodeHook(dh,Qf,Pf),cm&&fm.enter(Th),Nm&&invokeDirectiveHook(Pf,null,Qf,"mounted")},Nf)},Qd=(Pf,uh,xh,Qf,Nf)=>{if(xh&&Nd(Pf,xh),Qf)for(let $f=0;$f{for(let dh=Th;dh{const vh=uh.el=Pf.el;let{patchFlag:Th,dynamicChildren:dh,dirs:Vh}=uh;Th|=Pf.patchFlag&16;const wh=Pf.props||EMPTY_OBJ,fm=uh.props||EMPTY_OBJ;let Nm;if(xh&&toggleRecurse(xh,!1),(Nm=fm.onVnodeBeforeUpdate)&&invokeVNodeHook(Nm,xh,uh,Pf),Vh&&invokeDirectiveHook(uh,Pf,xh,"beforeUpdate"),xh&&toggleRecurse(xh,!0),(wh.innerHTML&&fm.innerHTML==null||wh.textContent&&fm.textContent==null)&&md(vh,""),dh?Zd(Pf.dynamicChildren,dh,vh,xh,Qf,resolveChildrenNamespace(uh,Nf),$f):Wf||Lf(Pf,uh,vh,null,xh,Qf,resolveChildrenNamespace(uh,Nf),$f,!1),Th>0){if(Th&16)Kd(vh,wh,fm,xh,Nf);else if(Th&2&&wh.class!==fm.class&&ud(vh,"class",null,fm.class,Nf),Th&4&&ud(vh,"style",wh.style,fm.style,Nf),Th&8){const cm=uh.dynamicProps;for(let Sm=0;Sm{Nm&&invokeVNodeHook(Nm,xh,uh,Pf),Vh&&invokeDirectiveHook(uh,Pf,xh,"updated")},Qf)},Zd=(Pf,uh,xh,Qf,Nf,$f,Wf)=>{for(let vh=0;vh{if(uh!==xh){if(uh!==EMPTY_OBJ)for(const $f in uh)!isReservedProp($f)&&!($f in xh)&&ud(Pf,$f,uh[$f],null,Nf,Qf);for(const $f in xh){if(isReservedProp($f))continue;const Wf=xh[$f],vh=uh[$f];Wf!==vh&&$f!=="value"&&ud(Pf,$f,vh,Wf,Nf,Qf)}"value"in xh&&ud(Pf,"value",uh.value,xh.value,Nf)}},bf=(Pf,uh,xh,Qf,Nf,$f,Wf,vh,Th)=>{const dh=uh.el=Pf?Pf.el:dd(""),Vh=uh.anchor=Pf?Pf.anchor:dd("");let{patchFlag:wh,dynamicChildren:fm,slotScopeIds:Nm}=uh;Nm&&(vh=vh?vh.concat(Nm):Nm),Pf==null?(od(dh,xh,Qf),od(Vh,xh,Qf),mf(uh.children||[],xh,Vh,Nf,$f,Wf,vh,Th)):wh>0&&wh&64&&fm&&Pf.dynamicChildren?(Zd(Pf.dynamicChildren,fm,xh,Nf,$f,Wf,vh),(uh.key!=null||Nf&&uh===Nf.subTree)&&traverseStaticChildren(Pf,uh,!0)):Lf(Pf,uh,xh,Vh,Nf,$f,Wf,vh,Th)},gf=(Pf,uh,xh,Qf,Nf,$f,Wf,vh,Th)=>{uh.slotScopeIds=vh,Pf==null?uh.shapeFlag&512?Nf.ctx.activate(uh,xh,Qf,Wf,Th):Ef(uh,xh,Qf,Nf,$f,Wf,Th):yf(Pf,uh,Th)},Ef=(Pf,uh,xh,Qf,Nf,$f,Wf)=>{const vh=Pf.component=createComponentInstance(Pf,Qf,Nf);if(isKeepAlive(Pf)&&(vh.ctx.renderer=Jf),setupComponent(vh,!1,Wf),vh.asyncDep){if(Nf&&Nf.registerDep(vh,xf,Wf),!Pf.el){const Th=vh.subTree=createVNode(Comment$2);Fd(null,Th,uh,xh)}}else xf(vh,Pf,uh,xh,Nf,$f,Wf)},yf=(Pf,uh,xh)=>{const Qf=uh.component=Pf.component;if(shouldUpdateComponent(Pf,uh,xh))if(Qf.asyncDep&&!Qf.asyncResolved){Af(Qf,uh,xh);return}else Qf.next=uh,Qf.update();else uh.el=Pf.el,Qf.vnode=uh},xf=(Pf,uh,xh,Qf,Nf,$f,Wf)=>{const vh=()=>{if(Pf.isMounted){let{next:wh,bu:fm,u:Nm,parent:cm,vnode:Sm}=Pf;{const ch=locateNonHydratedAsyncRoot(Pf);if(ch){wh&&(wh.el=Sm.el,Af(Pf,wh,Wf)),ch.asyncDep.then(()=>{Pf.isUnmounted||vh()});return}}let $m=wh,ph;toggleRecurse(Pf,!1),wh?(wh.el=Sm.el,Af(Pf,wh,Wf)):wh=Sm,fm&&invokeArrayFns(fm),(ph=wh.props&&wh.props.onVnodeBeforeUpdate)&&invokeVNodeHook(ph,cm,wh,Sm),toggleRecurse(Pf,!0);const Rf=renderComponentRoot(Pf),wf=Pf.subTree;Pf.subTree=Rf,kd(wf,Rf,vd(wf.el),Tf(wf),Pf,Nf,$f),wh.el=Rf.el,$m===null&&updateHOCHostEl(Pf,Rf.el),Nm&&queuePostRenderEffect(Nm,Nf),(ph=wh.props&&wh.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(ph,cm,wh,Sm),Nf)}else{let wh;const{el:fm,props:Nm}=uh,{bm:cm,m:Sm,parent:$m,root:ph,type:Rf}=Pf,wf=isAsyncWrapper(uh);if(toggleRecurse(Pf,!1),cm&&invokeArrayFns(cm),!wf&&(wh=Nm&&Nm.onVnodeBeforeMount)&&invokeVNodeHook(wh,$m,uh),toggleRecurse(Pf,!0),fm&&th){const ch=()=>{Pf.subTree=renderComponentRoot(Pf),th(fm,Pf.subTree,Pf,Nf,null)};wf&&Rf.__asyncHydrate?Rf.__asyncHydrate(fm,Pf,ch):ch()}else{ph.ce&&ph.ce._injectChildStyle(Rf);const ch=Pf.subTree=renderComponentRoot(Pf);kd(null,ch,xh,Qf,Pf,Nf,$f),uh.el=ch.el}if(Sm&&queuePostRenderEffect(Sm,Nf),!wf&&(wh=Nm&&Nm.onVnodeMounted)){const ch=uh;queuePostRenderEffect(()=>invokeVNodeHook(wh,$m,ch),Nf)}(uh.shapeFlag&256||$m&&isAsyncWrapper($m.vnode)&&$m.vnode.shapeFlag&256)&&Pf.a&&queuePostRenderEffect(Pf.a,Nf),Pf.isMounted=!0,uh=xh=Qf=null}};Pf.scope.on();const Th=Pf.effect=new ReactiveEffect(vh);Pf.scope.off();const dh=Pf.update=Th.run.bind(Th),Vh=Pf.job=Th.runIfDirty.bind(Th);Vh.i=Pf,Vh.id=Pf.uid,Th.scheduler=()=>queueJob(Vh),toggleRecurse(Pf,!0),dh()},Af=(Pf,uh,xh)=>{uh.component=Pf;const Qf=Pf.vnode.props;Pf.vnode=uh,Pf.next=null,updateProps(Pf,uh.props,Qf,xh),updateSlots(Pf,uh.children,xh),pauseTracking(),flushPreFlushCbs(Pf),resetTracking()},Lf=(Pf,uh,xh,Qf,Nf,$f,Wf,vh,Th=!1)=>{const dh=Pf&&Pf.children,Vh=Pf?Pf.shapeFlag:0,wh=uh.children,{patchFlag:fm,shapeFlag:Nm}=uh;if(fm>0){if(fm&128){ih(dh,wh,xh,Qf,Nf,$f,Wf,vh,Th);return}else if(fm&256){Xf(dh,wh,xh,Qf,Nf,$f,Wf,vh,Th);return}}Nm&8?(Vh&16&&Kf(dh,Nf,$f),wh!==dh&&md(xh,wh)):Vh&16?Nm&16?ih(dh,wh,xh,Qf,Nf,$f,Wf,vh,Th):Kf(dh,Nf,$f,!0):(Vh&8&&md(xh,""),Nm&16&&mf(wh,xh,Qf,Nf,$f,Wf,vh,Th))},Xf=(Pf,uh,xh,Qf,Nf,$f,Wf,vh,Th)=>{Pf=Pf||EMPTY_ARR,uh=uh||EMPTY_ARR;const dh=Pf.length,Vh=uh.length,wh=Math.min(dh,Vh);let fm;for(fm=0;fmVh?Kf(Pf,Nf,$f,!0,!1,wh):mf(uh,xh,Qf,Nf,$f,Wf,vh,Th,wh)},ih=(Pf,uh,xh,Qf,Nf,$f,Wf,vh,Th)=>{let dh=0;const Vh=uh.length;let wh=Pf.length-1,fm=Vh-1;for(;dh<=wh&&dh<=fm;){const Nm=Pf[dh],cm=uh[dh]=Th?cloneIfMounted(uh[dh]):normalizeVNode(uh[dh]);if(isSameVNodeType(Nm,cm))kd(Nm,cm,xh,null,Nf,$f,Wf,vh,Th);else break;dh++}for(;dh<=wh&&dh<=fm;){const Nm=Pf[wh],cm=uh[fm]=Th?cloneIfMounted(uh[fm]):normalizeVNode(uh[fm]);if(isSameVNodeType(Nm,cm))kd(Nm,cm,xh,null,Nf,$f,Wf,vh,Th);else break;wh--,fm--}if(dh>wh){if(dh<=fm){const Nm=fm+1,cm=Nmfm)for(;dh<=wh;)jf(Pf[dh],Nf,$f,!0),dh++;else{const Nm=dh,cm=dh,Sm=new Map;for(dh=cm;dh<=fm;dh++){const Zh=uh[dh]=Th?cloneIfMounted(uh[dh]):normalizeVNode(uh[dh]);Zh.key!=null&&Sm.set(Zh.key,dh)}let $m,ph=0;const Rf=fm-cm+1;let wf=!1,ch=0;const yh=new Array(Rf);for(dh=0;dh=Rf){jf(Zh,Nf,$f,!0);continue}let _m;if(Zh.key!=null)_m=Sm.get(Zh.key);else for($m=cm;$m<=fm;$m++)if(yh[$m-cm]===0&&isSameVNodeType(Zh,uh[$m])){_m=$m;break}_m===void 0?jf(Zh,Nf,$f,!0):(yh[_m-cm]=dh+1,_m>=ch?ch=_m:wf=!0,kd(Zh,uh[_m],xh,null,Nf,$f,Wf,vh,Th),ph++)}const Uh=wf?getSequence(yh):EMPTY_ARR;for($m=Uh.length-1,dh=Rf-1;dh>=0;dh--){const Zh=cm+dh,_m=uh[Zh],Um=Zh+1{const{el:$f,type:Wf,transition:vh,children:Th,shapeFlag:dh}=Pf;if(dh&6){Zf(Pf.component.subTree,uh,xh,Qf);return}if(dh&128){Pf.suspense.move(uh,xh,Qf);return}if(dh&64){Wf.move(Pf,uh,xh,Jf);return}if(Wf===Fragment){od($f,uh,xh);for(let wh=0;whvh.enter($f),Nf);else{const{leave:wh,delayLeave:fm,afterLeave:Nm}=vh,cm=()=>od($f,uh,xh),Sm=()=>{wh($f,()=>{cm(),Nm&&Nm()})};fm?fm($f,cm,Sm):Sm()}else od($f,uh,xh)},jf=(Pf,uh,xh,Qf=!1,Nf=!1)=>{const{type:$f,props:Wf,ref:vh,children:Th,dynamicChildren:dh,shapeFlag:Vh,patchFlag:wh,dirs:fm,cacheIndex:Nm}=Pf;if(wh===-2&&(Nf=!1),vh!=null&&setRef(vh,null,xh,Pf,!0),Nm!=null&&(uh.renderCache[Nm]=void 0),Vh&256){uh.ctx.deactivate(Pf);return}const cm=Vh&1&&fm,Sm=!isAsyncWrapper(Pf);let $m;if(Sm&&($m=Wf&&Wf.onVnodeBeforeUnmount)&&invokeVNodeHook($m,uh,Pf),Vh&6)qf(Pf.component,xh,Qf);else{if(Vh&128){Pf.suspense.unmount(xh,Qf);return}cm&&invokeDirectiveHook(Pf,null,uh,"beforeUnmount"),Vh&64?Pf.type.remove(Pf,uh,xh,Jf,Qf):dh&&!dh.hasOnce&&($f!==Fragment||wh>0&&wh&64)?Kf(dh,uh,xh,!1,!0):($f===Fragment&&wh&384||!Nf&&Vh&16)&&Kf(Th,uh,xh),Qf&&If(Pf)}(Sm&&($m=Wf&&Wf.onVnodeUnmounted)||cm)&&queuePostRenderEffect(()=>{$m&&invokeVNodeHook($m,uh,Pf),cm&&invokeDirectiveHook(Pf,null,uh,"unmounted")},xh)},If=Pf=>{const{type:uh,el:xh,anchor:Qf,transition:Nf}=Pf;if(uh===Fragment){Uf(xh,Qf);return}if(uh===Static){Hd(Pf);return}const $f=()=>{ld(xh),Nf&&!Nf.persisted&&Nf.afterLeave&&Nf.afterLeave()};if(Pf.shapeFlag&1&&Nf&&!Nf.persisted){const{leave:Wf,delayLeave:vh}=Nf,Th=()=>Wf(xh,$f);vh?vh(Pf.el,$f,Th):Th()}else $f()},Uf=(Pf,uh)=>{let xh;for(;Pf!==uh;)xh=Ad(Pf),ld(Pf),Pf=xh;ld(uh)},qf=(Pf,uh,xh)=>{const{bum:Qf,scope:Nf,job:$f,subTree:Wf,um:vh,m:Th,a:dh}=Pf;invalidateMount(Th),invalidateMount(dh),Qf&&invokeArrayFns(Qf),Nf.stop(),$f&&($f.flags|=8,jf(Wf,Pf,uh,xh)),vh&&queuePostRenderEffect(vh,uh),queuePostRenderEffect(()=>{Pf.isUnmounted=!0},uh),uh&&uh.pendingBranch&&!uh.isUnmounted&&Pf.asyncDep&&!Pf.asyncResolved&&Pf.suspenseId===uh.pendingId&&(uh.deps--,uh.deps===0&&uh.resolve())},Kf=(Pf,uh,xh,Qf=!1,Nf=!1,$f=0)=>{for(let Wf=$f;Wf{if(Pf.shapeFlag&6)return Tf(Pf.component.subTree);if(Pf.shapeFlag&128)return Pf.suspense.next();const uh=Ad(Pf.anchor||Pf.el),xh=uh&&uh[TeleportEndKey];return xh?Ad(xh):uh};let vf=!1;const Gf=(Pf,uh,xh)=>{Pf==null?uh._vnode&&jf(uh._vnode,null,null,!0):kd(uh._vnode||null,Pf,uh,null,null,null,xh),uh._vnode=Pf,vf||(vf=!0,flushPreFlushCbs(),flushPostFlushCbs(),vf=!1)},Jf={p:kd,um:jf,m:Zf,r:If,mt:Ef,mc:mf,pc:Lf,pbc:Zd,n:Tf,o:Ra};let gh,th;return{render:Gf,hydrate:gh,createApp:createAppAPI(Gf,gh)}}function resolveChildrenNamespace({type:Ra,props:qa},nd){return nd==="svg"&&Ra==="foreignObject"||nd==="mathml"&&Ra==="annotation-xml"&&qa&&qa.encoding&&qa.encoding.includes("html")?void 0:nd}function toggleRecurse({effect:Ra,job:qa},nd){nd?(Ra.flags|=32,qa.flags|=4):(Ra.flags&=-33,qa.flags&=-5)}function needTransition(Ra,qa){return(!Ra||Ra&&!Ra.pendingBranch)&&qa&&!qa.persisted}function traverseStaticChildren(Ra,qa,nd=!1){const od=Ra.children,ld=qa.children;if(isArray$2(od)&&isArray$2(ld))for(let ud=0;ud>1,Ra[nd[dd]]0&&(qa[od]=nd[ud-1]),nd[ud]=od)}}for(ud=nd.length,cd=nd[ud-1];ud-- >0;)nd[ud]=cd,cd=qa[cd];return nd}function locateNonHydratedAsyncRoot(Ra){const qa=Ra.subTree.component;if(qa)return qa.asyncDep&&!qa.asyncResolved?qa:locateNonHydratedAsyncRoot(qa)}function invalidateMount(Ra){if(Ra)for(let qa=0;qainject(ssrContextKey);function watchEffect(Ra,qa){return doWatch(Ra,null,qa)}function watchPostEffect(Ra,qa){return doWatch(Ra,null,{flush:"post"})}function watch(Ra,qa,nd){return doWatch(Ra,qa,nd)}function doWatch(Ra,qa,nd=EMPTY_OBJ){const{immediate:od,deep:ld,flush:ud,once:cd}=nd,dd=extend$3({},nd),pd=qa&&od||!qa&&ud!=="post";let fd;if(isInSSRComponentSetup){if(ud==="sync"){const Nd=useSSRContext();fd=Nd.__watcherHandles||(Nd.__watcherHandles=[])}else if(!pd){const Nd=()=>{};return Nd.stop=NOOP,Nd.resume=NOOP,Nd.pause=NOOP,Nd}}const md=currentInstance;dd.call=(Nd,Id,kd)=>callWithAsyncErrorHandling(Nd,md,Id,kd);let vd=!1;ud==="post"?dd.scheduler=Nd=>{queuePostRenderEffect(Nd,md&&md.suspense)}:ud!=="sync"&&(vd=!0,dd.scheduler=(Nd,Id)=>{Id?Nd():queueJob(Nd)}),dd.augmentJob=Nd=>{qa&&(Nd.flags|=4),vd&&(Nd.flags|=2,md&&(Nd.id=md.uid,Nd.i=md))};const Ad=watch$1(Ra,qa,dd);return isInSSRComponentSetup&&(fd?fd.push(Ad):pd&&Ad()),Ad}function instanceWatch(Ra,qa,nd){const od=this.proxy,ld=isString$2(Ra)?Ra.includes(".")?createPathGetter(od,Ra):()=>od[Ra]:Ra.bind(od,od);let ud;isFunction$3(qa)?ud=qa:(ud=qa.handler,nd=qa);const cd=setCurrentInstance(this),dd=doWatch(ld,ud.bind(od),nd);return cd(),dd}function createPathGetter(Ra,qa){const nd=qa.split(".");return()=>{let od=Ra;for(let ld=0;ldqa==="modelValue"||qa==="model-value"?Ra.modelModifiers:Ra[`${qa}Modifiers`]||Ra[`${camelize(qa)}Modifiers`]||Ra[`${hyphenate(qa)}Modifiers`];function emit(Ra,qa,...nd){if(Ra.isUnmounted)return;const od=Ra.vnode.props||EMPTY_OBJ;let ld=nd;const ud=qa.startsWith("update:"),cd=ud&&getModelModifiers(od,qa.slice(7));cd&&(cd.trim&&(ld=nd.map(md=>isString$2(md)?md.trim():md)),cd.number&&(ld=nd.map(looseToNumber)));let dd,pd=od[dd=toHandlerKey(qa)]||od[dd=toHandlerKey(camelize(qa))];!pd&&ud&&(pd=od[dd=toHandlerKey(hyphenate(qa))]),pd&&callWithAsyncErrorHandling(pd,Ra,6,ld);const fd=od[dd+"Once"];if(fd){if(!Ra.emitted)Ra.emitted={};else if(Ra.emitted[dd])return;Ra.emitted[dd]=!0,callWithAsyncErrorHandling(fd,Ra,6,ld)}}function normalizeEmitsOptions(Ra,qa,nd=!1){const od=qa.emitsCache,ld=od.get(Ra);if(ld!==void 0)return ld;const ud=Ra.emits;let cd={},dd=!1;if(!isFunction$3(Ra)){const pd=fd=>{const md=normalizeEmitsOptions(fd,qa,!0);md&&(dd=!0,extend$3(cd,md))};!nd&&qa.mixins.length&&qa.mixins.forEach(pd),Ra.extends&&pd(Ra.extends),Ra.mixins&&Ra.mixins.forEach(pd)}return!ud&&!dd?(isObject$5(Ra)&&od.set(Ra,null),null):(isArray$2(ud)?ud.forEach(pd=>cd[pd]=null):extend$3(cd,ud),isObject$5(Ra)&&od.set(Ra,cd),cd)}function isEmitListener(Ra,qa){return!Ra||!isOn(qa)?!1:(qa=qa.slice(2).replace(/Once$/,""),hasOwn$3(Ra,qa[0].toLowerCase()+qa.slice(1))||hasOwn$3(Ra,hyphenate(qa))||hasOwn$3(Ra,qa))}function markAttrsAccessed(){}function renderComponentRoot(Ra){const{type:qa,vnode:nd,proxy:od,withProxy:ld,propsOptions:[ud],slots:cd,attrs:dd,emit:pd,render:fd,renderCache:md,props:vd,data:Ad,setupState:Nd,ctx:Id,inheritAttrs:kd}=Ra,jd=setCurrentRenderingInstance(Ra);let Fd,Md;try{if(nd.shapeFlag&4){const Hd=ld||od,Gd=Hd;Fd=normalizeVNode(fd.call(Gd,Hd,md,vd,Nd,Ad,Id)),Md=dd}else{const Hd=qa;Fd=normalizeVNode(Hd.length>1?Hd(vd,{attrs:dd,slots:cd,emit:pd}):Hd(vd,null)),Md=qa.props?dd:getFunctionalFallthrough(dd)}}catch(Hd){blockStack.length=0,handleError$1(Hd,Ra,1),Fd=createVNode(Comment$2)}let Ld=Fd;if(Md&&kd!==!1){const Hd=Object.keys(Md),{shapeFlag:Gd}=Ld;Hd.length&&Gd&7&&(ud&&Hd.some(isModelListener)&&(Md=filterModelListeners(Md,ud)),Ld=cloneVNode(Ld,Md,!1,!0))}return nd.dirs&&(Ld=cloneVNode(Ld,null,!1,!0),Ld.dirs=Ld.dirs?Ld.dirs.concat(nd.dirs):nd.dirs),nd.transition&&setTransitionHooks(Ld,nd.transition),Fd=Ld,setCurrentRenderingInstance(jd),Fd}const getFunctionalFallthrough=Ra=>{let qa;for(const nd in Ra)(nd==="class"||nd==="style"||isOn(nd))&&((qa||(qa={}))[nd]=Ra[nd]);return qa},filterModelListeners=(Ra,qa)=>{const nd={};for(const od in Ra)(!isModelListener(od)||!(od.slice(9)in qa))&&(nd[od]=Ra[od]);return nd};function shouldUpdateComponent(Ra,qa,nd){const{props:od,children:ld,component:ud}=Ra,{props:cd,children:dd,patchFlag:pd}=qa,fd=ud.emitsOptions;if(qa.dirs||qa.transition)return!0;if(nd&&pd>=0){if(pd&1024)return!0;if(pd&16)return od?hasPropsChanged(od,cd,fd):!!cd;if(pd&8){const md=qa.dynamicProps;for(let vd=0;vdRa.__isSuspense;function queueEffectWithSuspense(Ra,qa){qa&&qa.pendingBranch?isArray$2(Ra)?qa.effects.push(...Ra):qa.effects.push(Ra):queuePostFlushCb(Ra)}const Fragment=Symbol.for("v-fgt"),Text$2=Symbol.for("v-txt"),Comment$2=Symbol.for("v-cmt"),Static=Symbol.for("v-stc"),blockStack=[];let currentBlock=null;function openBlock(Ra=!1){blockStack.push(currentBlock=Ra?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(Ra,qa=!1){isBlockTreeEnabled+=Ra,Ra<0&¤tBlock&&qa&&(currentBlock.hasOnce=!0)}function setupBlock(Ra){return Ra.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(Ra),Ra}function createElementBlock(Ra,qa,nd,od,ld,ud){return setupBlock(createBaseVNode(Ra,qa,nd,od,ld,ud,!0))}function createBlock(Ra,qa,nd,od,ld){return setupBlock(createVNode(Ra,qa,nd,od,ld,!0))}function isVNode(Ra){return Ra?Ra.__v_isVNode===!0:!1}function isSameVNodeType(Ra,qa){return Ra.type===qa.type&&Ra.key===qa.key}const normalizeKey=({key:Ra})=>Ra??null,normalizeRef=({ref:Ra,ref_key:qa,ref_for:nd})=>(typeof Ra=="number"&&(Ra=""+Ra),Ra!=null?isString$2(Ra)||isRef(Ra)||isFunction$3(Ra)?{i:currentRenderingInstance,r:Ra,k:qa,f:!!nd}:Ra:null);function createBaseVNode(Ra,qa=null,nd=null,od=0,ld=null,ud=Ra===Fragment?0:1,cd=!1,dd=!1){const pd={__v_isVNode:!0,__v_skip:!0,type:Ra,props:qa,key:qa&&normalizeKey(qa),ref:qa&&normalizeRef(qa),scopeId:currentScopeId,slotScopeIds:null,children:nd,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:ud,patchFlag:od,dynamicProps:ld,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return dd?(normalizeChildren(pd,nd),ud&128&&Ra.normalize(pd)):nd&&(pd.shapeFlag|=isString$2(nd)?8:16),isBlockTreeEnabled>0&&!cd&¤tBlock&&(pd.patchFlag>0||ud&6)&&pd.patchFlag!==32&¤tBlock.push(pd),pd}const createVNode=_createVNode;function _createVNode(Ra,qa=null,nd=null,od=0,ld=null,ud=!1){if((!Ra||Ra===NULL_DYNAMIC_COMPONENT)&&(Ra=Comment$2),isVNode(Ra)){const dd=cloneVNode(Ra,qa,!0);return nd&&normalizeChildren(dd,nd),isBlockTreeEnabled>0&&!ud&¤tBlock&&(dd.shapeFlag&6?currentBlock[currentBlock.indexOf(Ra)]=dd:currentBlock.push(dd)),dd.patchFlag=-2,dd}if(isClassComponent(Ra)&&(Ra=Ra.__vccOpts),qa){qa=guardReactiveProps(qa);let{class:dd,style:pd}=qa;dd&&!isString$2(dd)&&(qa.class=normalizeClass(dd)),isObject$5(pd)&&(isProxy(pd)&&!isArray$2(pd)&&(pd=extend$3({},pd)),qa.style=normalizeStyle(pd))}const cd=isString$2(Ra)?1:isSuspense(Ra)?128:isTeleport(Ra)?64:isObject$5(Ra)?4:isFunction$3(Ra)?2:0;return createBaseVNode(Ra,qa,nd,od,ld,cd,ud,!0)}function guardReactiveProps(Ra){return Ra?isProxy(Ra)||isInternalObject(Ra)?extend$3({},Ra):Ra:null}function cloneVNode(Ra,qa,nd=!1,od=!1){const{props:ld,ref:ud,patchFlag:cd,children:dd,transition:pd}=Ra,fd=qa?mergeProps(ld||{},qa):ld,md={__v_isVNode:!0,__v_skip:!0,type:Ra.type,props:fd,key:fd&&normalizeKey(fd),ref:qa&&qa.ref?nd&&ud?isArray$2(ud)?ud.concat(normalizeRef(qa)):[ud,normalizeRef(qa)]:normalizeRef(qa):ud,scopeId:Ra.scopeId,slotScopeIds:Ra.slotScopeIds,children:dd,target:Ra.target,targetStart:Ra.targetStart,targetAnchor:Ra.targetAnchor,staticCount:Ra.staticCount,shapeFlag:Ra.shapeFlag,patchFlag:qa&&Ra.type!==Fragment?cd===-1?16:cd|16:cd,dynamicProps:Ra.dynamicProps,dynamicChildren:Ra.dynamicChildren,appContext:Ra.appContext,dirs:Ra.dirs,transition:pd,component:Ra.component,suspense:Ra.suspense,ssContent:Ra.ssContent&&cloneVNode(Ra.ssContent),ssFallback:Ra.ssFallback&&cloneVNode(Ra.ssFallback),el:Ra.el,anchor:Ra.anchor,ctx:Ra.ctx,ce:Ra.ce};return pd&&od&&setTransitionHooks(md,pd.clone(md)),md}function createTextVNode(Ra=" ",qa=0){return createVNode(Text$2,null,Ra,qa)}function createCommentVNode(Ra="",qa=!1){return qa?(openBlock(),createBlock(Comment$2,null,Ra)):createVNode(Comment$2,null,Ra)}function normalizeVNode(Ra){return Ra==null||typeof Ra=="boolean"?createVNode(Comment$2):isArray$2(Ra)?createVNode(Fragment,null,Ra.slice()):isVNode(Ra)?cloneIfMounted(Ra):createVNode(Text$2,null,String(Ra))}function cloneIfMounted(Ra){return Ra.el===null&&Ra.patchFlag!==-1||Ra.memo?Ra:cloneVNode(Ra)}function normalizeChildren(Ra,qa){let nd=0;const{shapeFlag:od}=Ra;if(qa==null)qa=null;else if(isArray$2(qa))nd=16;else if(typeof qa=="object")if(od&65){const ld=qa.default;ld&&(ld._c&&(ld._d=!1),normalizeChildren(Ra,ld()),ld._c&&(ld._d=!0));return}else{nd=32;const ld=qa._;!ld&&!isInternalObject(qa)?qa._ctx=currentRenderingInstance:ld===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?qa._=1:(qa._=2,Ra.patchFlag|=1024))}else isFunction$3(qa)?(qa={default:qa,_ctx:currentRenderingInstance},nd=32):(qa=String(qa),od&64?(nd=16,qa=[createTextVNode(qa)]):nd=8);Ra.children=qa,Ra.shapeFlag|=nd}function mergeProps(...Ra){const qa={};for(let nd=0;ndcurrentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const Ra=getGlobalThis(),qa=(nd,od)=>{let ld;return(ld=Ra[nd])||(ld=Ra[nd]=[]),ld.push(od),ud=>{ld.length>1?ld.forEach(cd=>cd(ud)):ld[0](ud)}};internalSetCurrentInstance=qa("__VUE_INSTANCE_SETTERS__",nd=>currentInstance=nd),setInSSRSetupState=qa("__VUE_SSR_SETTERS__",nd=>isInSSRComponentSetup=nd)}const setCurrentInstance=Ra=>{const qa=currentInstance;return internalSetCurrentInstance(Ra),Ra.scope.on(),()=>{Ra.scope.off(),internalSetCurrentInstance(qa)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(Ra){return Ra.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(Ra,qa=!1,nd=!1){qa&&setInSSRSetupState(qa);const{props:od,children:ld}=Ra.vnode,ud=isStatefulComponent(Ra);initProps(Ra,od,ud,qa),initSlots(Ra,ld,nd);const cd=ud?setupStatefulComponent(Ra,qa):void 0;return qa&&setInSSRSetupState(!1),cd}function setupStatefulComponent(Ra,qa){const nd=Ra.type;Ra.accessCache=Object.create(null),Ra.proxy=new Proxy(Ra.ctx,PublicInstanceProxyHandlers);const{setup:od}=nd;if(od){pauseTracking();const ld=Ra.setupContext=od.length>1?createSetupContext(Ra):null,ud=setCurrentInstance(Ra),cd=callWithErrorHandling(od,Ra,0,[Ra.props,ld]),dd=isPromise(cd);if(resetTracking(),ud(),(dd||Ra.sp)&&!isAsyncWrapper(Ra)&&markAsyncBoundary(Ra),dd){if(cd.then(unsetCurrentInstance,unsetCurrentInstance),qa)return cd.then(pd=>{handleSetupResult(Ra,pd,qa)}).catch(pd=>{handleError$1(pd,Ra,0)});Ra.asyncDep=cd}else handleSetupResult(Ra,cd,qa)}else finishComponentSetup(Ra,qa)}function handleSetupResult(Ra,qa,nd){isFunction$3(qa)?Ra.type.__ssrInlineRender?Ra.ssrRender=qa:Ra.render=qa:isObject$5(qa)&&(Ra.setupState=proxyRefs(qa)),finishComponentSetup(Ra,nd)}let compile$2;function finishComponentSetup(Ra,qa,nd){const od=Ra.type;if(!Ra.render){if(!qa&&compile$2&&!od.render){const ld=od.template||resolveMergedOptions(Ra).template;if(ld){const{isCustomElement:ud,compilerOptions:cd}=Ra.appContext.config,{delimiters:dd,compilerOptions:pd}=od,fd=extend$3(extend$3({isCustomElement:ud,delimiters:dd},cd),pd);od.render=compile$2(ld,fd)}}Ra.render=od.render||NOOP}{const ld=setCurrentInstance(Ra);pauseTracking();try{applyOptions(Ra)}finally{resetTracking(),ld()}}}const attrsProxyHandlers={get(Ra,qa){return track(Ra,"get",""),Ra[qa]}};function createSetupContext(Ra){const qa=nd=>{Ra.exposed=nd||{}};return{attrs:new Proxy(Ra.attrs,attrsProxyHandlers),slots:Ra.slots,emit:Ra.emit,expose:qa}}function getComponentPublicInstance(Ra){return Ra.exposed?Ra.exposeProxy||(Ra.exposeProxy=new Proxy(proxyRefs(markRaw(Ra.exposed)),{get(qa,nd){if(nd in qa)return qa[nd];if(nd in publicPropertiesMap)return publicPropertiesMap[nd](Ra)},has(qa,nd){return nd in qa||nd in publicPropertiesMap}})):Ra.proxy}const classifyRE=/(?:^|[-_])(\w)/g,classify=Ra=>Ra.replace(classifyRE,qa=>qa.toUpperCase()).replace(/[-_]/g,"");function getComponentName(Ra,qa=!0){return isFunction$3(Ra)?Ra.displayName||Ra.name:Ra.name||qa&&Ra.__name}function formatComponentName(Ra,qa,nd=!1){let od=getComponentName(qa);if(!od&&qa.__file){const ld=qa.__file.match(/([^/\\]+)\.\w+$/);ld&&(od=ld[1])}if(!od&&Ra&&Ra.parent){const ld=ud=>{for(const cd in ud)if(ud[cd]===qa)return cd};od=ld(Ra.components||Ra.parent.type.components)||ld(Ra.appContext.components)}return od?classify(od):nd?"App":"Anonymous"}function isClassComponent(Ra){return isFunction$3(Ra)&&"__vccOpts"in Ra}const computed=(Ra,qa)=>computed$1(Ra,qa,isInSSRComponentSetup);function h$1(Ra,qa,nd){const od=arguments.length;return od===2?isObject$5(qa)&&!isArray$2(qa)?isVNode(qa)?createVNode(Ra,null,[qa]):createVNode(Ra,qa):createVNode(Ra,null,qa):(od>3?nd=Array.prototype.slice.call(arguments,2):od===3&&isVNode(nd)&&(nd=[nd]),createVNode(Ra,qa,nd))}const version$2="3.5.13";/** +`],...formatTraceEntry(nd))}),qa}function formatTraceEntry({vnode:Ra,recurseCount:qa}){const nd=qa>0?`... (${qa} recursive calls)`:"",od=Ra.component?Ra.component.parent==null:!1,ld=` at <${formatComponentName(Ra.component,Ra.type,od)}`,ud=">"+nd;return Ra.props?[ld,...formatProps(Ra.props),ud]:[ld+ud]}function formatProps(Ra){const qa=[],nd=Object.keys(Ra);return nd.slice(0,3).forEach(od=>{qa.push(...formatProp(od,Ra[od]))}),nd.length>3&&qa.push(" ..."),qa}function formatProp(Ra,qa,nd){return isString$2(qa)?(qa=JSON.stringify(qa),nd?qa:[`${Ra}=${qa}`]):typeof qa=="number"||typeof qa=="boolean"||qa==null?nd?qa:[`${Ra}=${qa}`]:isRef(qa)?(qa=formatProp(Ra,toRaw(qa.value),!0),nd?qa:[`${Ra}=Ref<`,qa,">"]):isFunction$3(qa)?[`${Ra}=fn${qa.name?`<${qa.name}>`:""}`]:(qa=toRaw(qa),nd?qa:[`${Ra}=`,qa])}function callWithErrorHandling(Ra,qa,nd,od){try{return od?Ra(...od):Ra()}catch(ld){handleError$1(ld,qa,nd)}}function callWithAsyncErrorHandling(Ra,qa,nd,od){if(isFunction$3(Ra)){const ld=callWithErrorHandling(Ra,qa,nd,od);return ld&&isPromise(ld)&&ld.catch(ud=>{handleError$1(ud,qa,nd)}),ld}if(isArray$2(Ra)){const ld=[];for(let ud=0;ud>>1,ld=queue$2[od],ud=getId(ld);ud=getId(nd)?queue$2.push(Ra):queue$2.splice(findInsertionIndex(qa),0,Ra),Ra.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||(currentFlushPromise=resolvedPromise.then(flushJobs))}function queuePostFlushCb(Ra){isArray$2(Ra)?pendingPostFlushCbs.push(...Ra):activePostFlushCbs&&Ra.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,Ra):Ra.flags&1||(pendingPostFlushCbs.push(Ra),Ra.flags|=1),queueFlush()}function flushPreFlushCbs(Ra,qa,nd=flushIndex+1){for(;ndgetId(nd)-getId(od));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...qa);return}for(activePostFlushCbs=qa,postFlushIndex=0;postFlushIndexRa.id==null?Ra.flags&2?-1:1/0:Ra.id;function flushJobs(Ra){try{for(flushIndex=0;flushIndex{od._d&&setBlockTracking(-1);const ud=setCurrentRenderingInstance(qa);let cd;try{cd=Ra(...ld)}finally{setCurrentRenderingInstance(ud),od._d&&setBlockTracking(1)}return cd};return od._n=!0,od._c=!0,od._d=!0,od}function withDirectives(Ra,qa){if(currentRenderingInstance===null)return Ra;const nd=getComponentPublicInstance(currentRenderingInstance),od=Ra.dirs||(Ra.dirs=[]);for(let ld=0;ldRa.__isTeleport,isTeleportDisabled=Ra=>Ra&&(Ra.disabled||Ra.disabled===""),isTeleportDeferred=Ra=>Ra&&(Ra.defer||Ra.defer===""),isTargetSVG=Ra=>typeof SVGElement<"u"&&Ra instanceof SVGElement,isTargetMathML=Ra=>typeof MathMLElement=="function"&&Ra instanceof MathMLElement,resolveTarget=(Ra,qa)=>{const nd=Ra&&Ra.to;return isString$2(nd)?qa?qa(nd):null:nd},TeleportImpl={name:"Teleport",__isTeleport:!0,process(Ra,qa,nd,od,ld,ud,cd,dd,pd,fd){const{mc:md,pc:vd,pbc:Ad,o:{insert:Nd,querySelector:Id,createText:kd,createComment:jd}}=fd,Fd=isTeleportDisabled(qa.props);let{shapeFlag:Md,children:Ld,dynamicChildren:Hd}=qa;if(Ra==null){const Gd=qa.el=kd(""),Vd=qa.anchor=kd("");Nd(Gd,nd,od),Nd(Vd,nd,od);const Kd=(Wd,Zd)=>{Md&16&&(ld&&ld.isCE&&(ld.ce._teleportTarget=Wd),md(Ld,Wd,Zd,ld,ud,cd,dd,pd))},mf=()=>{const Wd=qa.target=resolveTarget(qa.props,Id),Zd=prepareAnchor(Wd,qa,kd,Nd);Wd&&(cd!=="svg"&&isTargetSVG(Wd)?cd="svg":cd!=="mathml"&&isTargetMathML(Wd)&&(cd="mathml"),Fd||(Kd(Wd,Zd),updateCssVars(qa,!1)))};Fd&&(Kd(nd,Vd),updateCssVars(qa,!0)),isTeleportDeferred(qa.props)?queuePostRenderEffect(()=>{mf(),qa.el.__isMounted=!0},ud):mf()}else{if(isTeleportDeferred(qa.props)&&!Ra.el.__isMounted){queuePostRenderEffect(()=>{TeleportImpl.process(Ra,qa,nd,od,ld,ud,cd,dd,pd,fd),delete Ra.el.__isMounted},ud);return}qa.el=Ra.el,qa.targetStart=Ra.targetStart;const Gd=qa.anchor=Ra.anchor,Vd=qa.target=Ra.target,Kd=qa.targetAnchor=Ra.targetAnchor,mf=isTeleportDisabled(Ra.props),Wd=mf?nd:Vd,Zd=mf?Gd:Kd;if(cd==="svg"||isTargetSVG(Vd)?cd="svg":(cd==="mathml"||isTargetMathML(Vd))&&(cd="mathml"),Hd?(Ad(Ra.dynamicChildren,Hd,Wd,ld,ud,cd,dd),traverseStaticChildren(Ra,qa,!0)):pd||vd(Ra,qa,Wd,Zd,ld,ud,cd,dd,!1),Fd)mf?qa.props&&Ra.props&&qa.props.to!==Ra.props.to&&(qa.props.to=Ra.props.to):moveTeleport(qa,nd,Gd,fd,1);else if((qa.props&&qa.props.to)!==(Ra.props&&Ra.props.to)){const Xd=qa.target=resolveTarget(qa.props,Id);Xd&&moveTeleport(qa,Xd,null,fd,0)}else mf&&moveTeleport(qa,Vd,Kd,fd,1);updateCssVars(qa,Fd)}},remove(Ra,qa,nd,{um:od,o:{remove:ld}},ud){const{shapeFlag:cd,children:dd,anchor:pd,targetStart:fd,targetAnchor:md,target:vd,props:Ad}=Ra;if(vd&&(ld(fd),ld(md)),ud&&ld(pd),cd&16){const Nd=ud||!isTeleportDisabled(Ad);for(let Id=0;Id{Ra.isMounted=!0}),onBeforeUnmount(()=>{Ra.isUnmounting=!0}),Ra}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=Ra=>{const qa=Ra.subTree;return qa.component?recursiveGetSubtree(qa.component):qa},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(Ra,{slots:qa}){const nd=getCurrentInstance(),od=useTransitionState();return()=>{const ld=qa.default&&getTransitionRawChildren(qa.default(),!0);if(!ld||!ld.length)return;const ud=findNonCommentChild(ld),cd=toRaw(Ra),{mode:dd}=cd;if(od.isLeaving)return emptyPlaceholder(ud);const pd=getInnerChild$1(ud);if(!pd)return emptyPlaceholder(ud);let fd=resolveTransitionHooks(pd,cd,od,nd,vd=>fd=vd);pd.type!==Comment$2&&setTransitionHooks(pd,fd);let md=nd.subTree&&getInnerChild$1(nd.subTree);if(md&&md.type!==Comment$2&&!isSameVNodeType(pd,md)&&recursiveGetSubtree(nd).type!==Comment$2){let vd=resolveTransitionHooks(md,cd,od,nd);if(setTransitionHooks(md,vd),dd==="out-in"&&pd.type!==Comment$2)return od.isLeaving=!0,vd.afterLeave=()=>{od.isLeaving=!1,nd.job.flags&8||nd.update(),delete vd.afterLeave,md=void 0},emptyPlaceholder(ud);dd==="in-out"&&pd.type!==Comment$2?vd.delayLeave=(Ad,Nd,Id)=>{const kd=getLeavingNodesForType(od,md);kd[String(md.key)]=md,Ad[leaveCbKey]=()=>{Nd(),Ad[leaveCbKey]=void 0,delete fd.delayedLeave,md=void 0},fd.delayedLeave=()=>{Id(),delete fd.delayedLeave,md=void 0}}:md=void 0}else md&&(md=void 0);return ud}}};function findNonCommentChild(Ra){let qa=Ra[0];if(Ra.length>1){for(const nd of Ra)if(nd.type!==Comment$2){qa=nd;break}}return qa}const BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(Ra,qa){const{leavingVNodes:nd}=Ra;let od=nd.get(qa.type);return od||(od=Object.create(null),nd.set(qa.type,od)),od}function resolveTransitionHooks(Ra,qa,nd,od,ld){const{appear:ud,mode:cd,persisted:dd=!1,onBeforeEnter:pd,onEnter:fd,onAfterEnter:md,onEnterCancelled:vd,onBeforeLeave:Ad,onLeave:Nd,onAfterLeave:Id,onLeaveCancelled:kd,onBeforeAppear:jd,onAppear:Fd,onAfterAppear:Md,onAppearCancelled:Ld}=qa,Hd=String(Ra.key),Gd=getLeavingNodesForType(nd,Ra),Vd=(Wd,Zd)=>{Wd&&callWithAsyncErrorHandling(Wd,od,9,Zd)},Kd=(Wd,Zd)=>{const Xd=Zd[1];Vd(Wd,Zd),isArray$2(Wd)?Wd.every(bf=>bf.length<=1)&&Xd():Wd.length<=1&&Xd()},mf={mode:cd,persisted:dd,beforeEnter(Wd){let Zd=pd;if(!nd.isMounted)if(ud)Zd=jd||pd;else return;Wd[leaveCbKey]&&Wd[leaveCbKey](!0);const Xd=Gd[Hd];Xd&&isSameVNodeType(Ra,Xd)&&Xd.el[leaveCbKey]&&Xd.el[leaveCbKey](),Vd(Zd,[Wd])},enter(Wd){let Zd=fd,Xd=md,bf=vd;if(!nd.isMounted)if(ud)Zd=Fd||fd,Xd=Md||md,bf=Ld||vd;else return;let yf=!1;const Ef=Wd[enterCbKey]=gf=>{yf||(yf=!0,gf?Vd(bf,[Wd]):Vd(Xd,[Wd]),mf.delayedLeave&&mf.delayedLeave(),Wd[enterCbKey]=void 0)};Zd?Kd(Zd,[Wd,Ef]):Ef()},leave(Wd,Zd){const Xd=String(Ra.key);if(Wd[enterCbKey]&&Wd[enterCbKey](!0),nd.isUnmounting)return Zd();Vd(Ad,[Wd]);let bf=!1;const yf=Wd[leaveCbKey]=Ef=>{bf||(bf=!0,Zd(),Ef?Vd(kd,[Wd]):Vd(Id,[Wd]),Wd[leaveCbKey]=void 0,Gd[Xd]===Ra&&delete Gd[Xd])};Gd[Xd]=Ra,Nd?Kd(Nd,[Wd,yf]):yf()},clone(Wd){const Zd=resolveTransitionHooks(Wd,qa,nd,od,ld);return ld&&ld(Zd),Zd}};return mf}function emptyPlaceholder(Ra){if(isKeepAlive(Ra))return Ra=cloneVNode(Ra),Ra.children=null,Ra}function getInnerChild$1(Ra){if(!isKeepAlive(Ra))return isTeleport(Ra.type)&&Ra.children?findNonCommentChild(Ra.children):Ra;const{shapeFlag:qa,children:nd}=Ra;if(nd){if(qa&16)return nd[0];if(qa&32&&isFunction$3(nd.default))return nd.default()}}function setTransitionHooks(Ra,qa){Ra.shapeFlag&6&&Ra.component?(Ra.transition=qa,setTransitionHooks(Ra.component.subTree,qa)):Ra.shapeFlag&128?(Ra.ssContent.transition=qa.clone(Ra.ssContent),Ra.ssFallback.transition=qa.clone(Ra.ssFallback)):Ra.transition=qa}function getTransitionRawChildren(Ra,qa=!1,nd){let od=[],ld=0;for(let ud=0;ud1)for(let ud=0;udnd.value,set:ud=>nd.value=ud})}return nd}function setRef(Ra,qa,nd,od,ld=!1){if(isArray$2(Ra)){Ra.forEach((Id,kd)=>setRef(Id,qa&&(isArray$2(qa)?qa[kd]:qa),nd,od,ld));return}if(isAsyncWrapper(od)&&!ld){od.shapeFlag&512&&od.type.__asyncResolved&&od.component.subTree.component&&setRef(Ra,qa,nd,od.component.subTree);return}const ud=od.shapeFlag&4?getComponentPublicInstance(od.component):od.el,cd=ld?null:ud,{i:dd,r:pd}=Ra,fd=qa&&qa.r,md=dd.refs===EMPTY_OBJ?dd.refs={}:dd.refs,vd=dd.setupState,Ad=toRaw(vd),Nd=vd===EMPTY_OBJ?()=>!1:Id=>hasOwn$3(Ad,Id);if(fd!=null&&fd!==pd&&(isString$2(fd)?(md[fd]=null,Nd(fd)&&(vd[fd]=null)):isRef(fd)&&(fd.value=null)),isFunction$3(pd))callWithErrorHandling(pd,dd,12,[cd,md]);else{const Id=isString$2(pd),kd=isRef(pd);if(Id||kd){const jd=()=>{if(Ra.f){const Fd=Id?Nd(pd)?vd[pd]:md[pd]:pd.value;ld?isArray$2(Fd)&&remove$2(Fd,ud):isArray$2(Fd)?Fd.includes(ud)||Fd.push(ud):Id?(md[pd]=[ud],Nd(pd)&&(vd[pd]=md[pd])):(pd.value=[ud],Ra.k&&(md[Ra.k]=pd.value))}else Id?(md[pd]=cd,Nd(pd)&&(vd[pd]=cd)):kd&&(pd.value=cd,Ra.k&&(md[Ra.k]=cd))};cd?(jd.id=-1,queuePostRenderEffect(jd,nd)):jd()}}}getGlobalThis().requestIdleCallback;getGlobalThis().cancelIdleCallback;const isAsyncWrapper=Ra=>!!Ra.type.__asyncLoader,isKeepAlive=Ra=>Ra.type.__isKeepAlive;function onActivated(Ra,qa){registerKeepAliveHook(Ra,"a",qa)}function onDeactivated(Ra,qa){registerKeepAliveHook(Ra,"da",qa)}function registerKeepAliveHook(Ra,qa,nd=currentInstance){const od=Ra.__wdc||(Ra.__wdc=()=>{let ld=nd;for(;ld;){if(ld.isDeactivated)return;ld=ld.parent}return Ra()});if(injectHook(qa,od,nd),nd){let ld=nd.parent;for(;ld&&ld.parent;)isKeepAlive(ld.parent.vnode)&&injectToKeepAliveRoot(od,qa,nd,ld),ld=ld.parent}}function injectToKeepAliveRoot(Ra,qa,nd,od){const ld=injectHook(qa,Ra,od,!0);onUnmounted(()=>{remove$2(od[qa],ld)},nd)}function injectHook(Ra,qa,nd=currentInstance,od=!1){if(nd){const ld=nd[Ra]||(nd[Ra]=[]),ud=qa.__weh||(qa.__weh=(...cd)=>{pauseTracking();const dd=setCurrentInstance(nd),pd=callWithAsyncErrorHandling(qa,nd,Ra,cd);return dd(),resetTracking(),pd});return od?ld.unshift(ud):ld.push(ud),ud}}const createHook=Ra=>(qa,nd=currentInstance)=>{(!isInSSRComponentSetup||Ra==="sp")&&injectHook(Ra,(...od)=>qa(...od),nd)},onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(Ra,qa=currentInstance){injectHook("ec",Ra,qa)}const COMPONENTS="components";function resolveComponent(Ra,qa){return resolveAsset(COMPONENTS,Ra,!0,qa)||Ra}const NULL_DYNAMIC_COMPONENT=Symbol.for("v-ndc");function resolveDynamicComponent(Ra){return isString$2(Ra)?resolveAsset(COMPONENTS,Ra,!1)||Ra:Ra||NULL_DYNAMIC_COMPONENT}function resolveAsset(Ra,qa,nd=!0,od=!1){const ld=currentRenderingInstance||currentInstance;if(ld){const ud=ld.type;{const dd=getComponentName(ud,!1);if(dd&&(dd===qa||dd===camelize(qa)||dd===capitalize(camelize(qa))))return ud}const cd=resolve$1(ld[Ra]||ud[Ra],qa)||resolve$1(ld.appContext[Ra],qa);return!cd&&od?ud:cd}}function resolve$1(Ra,qa){return Ra&&(Ra[qa]||Ra[camelize(qa)]||Ra[capitalize(camelize(qa))])}function renderList(Ra,qa,nd,od){let ld;const ud=nd,cd=isArray$2(Ra);if(cd||isString$2(Ra)){const dd=cd&&isReactive(Ra);let pd=!1;dd&&(pd=!isShallow(Ra),Ra=shallowReadArray(Ra)),ld=new Array(Ra.length);for(let fd=0,md=Ra.length;fdqa(dd,pd,void 0,ud));else{const dd=Object.keys(Ra);ld=new Array(dd.length);for(let pd=0,fd=dd.length;pdisVNode(qa)?!(qa.type===Comment$2||qa.type===Fragment&&!ensureValidVNode(qa.children)):!0)?Ra:null}const getPublicInstance=Ra=>Ra?isStatefulComponent(Ra)?getComponentPublicInstance(Ra):getPublicInstance(Ra.parent):null,publicPropertiesMap=extend$3(Object.create(null),{$:Ra=>Ra,$el:Ra=>Ra.vnode.el,$data:Ra=>Ra.data,$props:Ra=>Ra.props,$attrs:Ra=>Ra.attrs,$slots:Ra=>Ra.slots,$refs:Ra=>Ra.refs,$parent:Ra=>getPublicInstance(Ra.parent),$root:Ra=>getPublicInstance(Ra.root),$host:Ra=>Ra.ce,$emit:Ra=>Ra.emit,$options:Ra=>resolveMergedOptions(Ra),$forceUpdate:Ra=>Ra.f||(Ra.f=()=>{queueJob(Ra.update)}),$nextTick:Ra=>Ra.n||(Ra.n=nextTick$1.bind(Ra.proxy)),$watch:Ra=>instanceWatch.bind(Ra)}),hasSetupBinding=(Ra,qa)=>Ra!==EMPTY_OBJ&&!Ra.__isScriptSetup&&hasOwn$3(Ra,qa),PublicInstanceProxyHandlers={get({_:Ra},qa){if(qa==="__v_skip")return!0;const{ctx:nd,setupState:od,data:ld,props:ud,accessCache:cd,type:dd,appContext:pd}=Ra;let fd;if(qa[0]!=="$"){const Nd=cd[qa];if(Nd!==void 0)switch(Nd){case 1:return od[qa];case 2:return ld[qa];case 4:return nd[qa];case 3:return ud[qa]}else{if(hasSetupBinding(od,qa))return cd[qa]=1,od[qa];if(ld!==EMPTY_OBJ&&hasOwn$3(ld,qa))return cd[qa]=2,ld[qa];if((fd=Ra.propsOptions[0])&&hasOwn$3(fd,qa))return cd[qa]=3,ud[qa];if(nd!==EMPTY_OBJ&&hasOwn$3(nd,qa))return cd[qa]=4,nd[qa];shouldCacheAccess&&(cd[qa]=0)}}const md=publicPropertiesMap[qa];let vd,Ad;if(md)return qa==="$attrs"&&track(Ra.attrs,"get",""),md(Ra);if((vd=dd.__cssModules)&&(vd=vd[qa]))return vd;if(nd!==EMPTY_OBJ&&hasOwn$3(nd,qa))return cd[qa]=4,nd[qa];if(Ad=pd.config.globalProperties,hasOwn$3(Ad,qa))return Ad[qa]},set({_:Ra},qa,nd){const{data:od,setupState:ld,ctx:ud}=Ra;return hasSetupBinding(ld,qa)?(ld[qa]=nd,!0):od!==EMPTY_OBJ&&hasOwn$3(od,qa)?(od[qa]=nd,!0):hasOwn$3(Ra.props,qa)||qa[0]==="$"&&qa.slice(1)in Ra?!1:(ud[qa]=nd,!0)},has({_:{data:Ra,setupState:qa,accessCache:nd,ctx:od,appContext:ld,propsOptions:ud}},cd){let dd;return!!nd[cd]||Ra!==EMPTY_OBJ&&hasOwn$3(Ra,cd)||hasSetupBinding(qa,cd)||(dd=ud[0])&&hasOwn$3(dd,cd)||hasOwn$3(od,cd)||hasOwn$3(publicPropertiesMap,cd)||hasOwn$3(ld.config.globalProperties,cd)},defineProperty(Ra,qa,nd){return nd.get!=null?Ra._.accessCache[qa]=0:hasOwn$3(nd,"value")&&this.set(Ra,qa,nd.value,null),Reflect.defineProperty(Ra,qa,nd)}};function useSlots(){return getContext().slots}function useAttrs(){return getContext().attrs}function getContext(){const Ra=getCurrentInstance();return Ra.setupContext||(Ra.setupContext=createSetupContext(Ra))}function normalizePropsOrEmits(Ra){return isArray$2(Ra)?Ra.reduce((qa,nd)=>(qa[nd]=null,qa),{}):Ra}function mergeDefaults(Ra,qa){const nd=normalizePropsOrEmits(Ra);for(const od in qa){if(od.startsWith("__skip"))continue;let ld=nd[od];ld?isArray$2(ld)||isFunction$3(ld)?ld=nd[od]={type:ld,default:qa[od]}:ld.default=qa[od]:ld===null&&(ld=nd[od]={default:qa[od]}),ld&&qa[`__skip_${od}`]&&(ld.skipFactory=!0)}return nd}let shouldCacheAccess=!0;function applyOptions(Ra){const qa=resolveMergedOptions(Ra),nd=Ra.proxy,od=Ra.ctx;shouldCacheAccess=!1,qa.beforeCreate&&callHook$1(qa.beforeCreate,Ra,"bc");const{data:ld,computed:ud,methods:cd,watch:dd,provide:pd,inject:fd,created:md,beforeMount:vd,mounted:Ad,beforeUpdate:Nd,updated:Id,activated:kd,deactivated:jd,beforeDestroy:Fd,beforeUnmount:Md,destroyed:Ld,unmounted:Hd,render:Gd,renderTracked:Vd,renderTriggered:Kd,errorCaptured:mf,serverPrefetch:Wd,expose:Zd,inheritAttrs:Xd,components:bf,directives:yf,filters:Ef}=qa;if(fd&&resolveInjections(fd,od,null),cd)for(const Af in cd){const Lf=cd[Af];isFunction$3(Lf)&&(od[Af]=Lf.bind(nd))}if(ld){const Af=ld.call(nd,nd);isObject$5(Af)&&(Ra.data=reactive(Af))}if(shouldCacheAccess=!0,ud)for(const Af in ud){const Lf=ud[Af],Xf=isFunction$3(Lf)?Lf.bind(nd,nd):isFunction$3(Lf.get)?Lf.get.bind(nd,nd):NOOP,Jf=!isFunction$3(Lf)&&isFunction$3(Lf.set)?Lf.set.bind(nd):NOOP,Zf=computed({get:Xf,set:Jf});Object.defineProperty(od,Af,{enumerable:!0,configurable:!0,get:()=>Zf.value,set:Bf=>Zf.value=Bf})}if(dd)for(const Af in dd)createWatcher(dd[Af],od,nd,Af);if(pd){const Af=isFunction$3(pd)?pd.call(nd):pd;Reflect.ownKeys(Af).forEach(Lf=>{provide(Lf,Af[Lf])})}md&&callHook$1(md,Ra,"c");function xf(Af,Lf){isArray$2(Lf)?Lf.forEach(Xf=>Af(Xf.bind(nd))):Lf&&Af(Lf.bind(nd))}if(xf(onBeforeMount,vd),xf(onMounted,Ad),xf(onBeforeUpdate,Nd),xf(onUpdated,Id),xf(onActivated,kd),xf(onDeactivated,jd),xf(onErrorCaptured,mf),xf(onRenderTracked,Vd),xf(onRenderTriggered,Kd),xf(onBeforeUnmount,Md),xf(onUnmounted,Hd),xf(onServerPrefetch,Wd),isArray$2(Zd))if(Zd.length){const Af=Ra.exposed||(Ra.exposed={});Zd.forEach(Lf=>{Object.defineProperty(Af,Lf,{get:()=>nd[Lf],set:Xf=>nd[Lf]=Xf})})}else Ra.exposed||(Ra.exposed={});Gd&&Ra.render===NOOP&&(Ra.render=Gd),Xd!=null&&(Ra.inheritAttrs=Xd),bf&&(Ra.components=bf),yf&&(Ra.directives=yf),Wd&&markAsyncBoundary(Ra)}function resolveInjections(Ra,qa,nd=NOOP){isArray$2(Ra)&&(Ra=normalizeInject(Ra));for(const od in Ra){const ld=Ra[od];let ud;isObject$5(ld)?"default"in ld?ud=inject(ld.from||od,ld.default,!0):ud=inject(ld.from||od):ud=inject(ld),isRef(ud)?Object.defineProperty(qa,od,{enumerable:!0,configurable:!0,get:()=>ud.value,set:cd=>ud.value=cd}):qa[od]=ud}}function callHook$1(Ra,qa,nd){callWithAsyncErrorHandling(isArray$2(Ra)?Ra.map(od=>od.bind(qa.proxy)):Ra.bind(qa.proxy),qa,nd)}function createWatcher(Ra,qa,nd,od){let ld=od.includes(".")?createPathGetter(nd,od):()=>nd[od];if(isString$2(Ra)){const ud=qa[Ra];isFunction$3(ud)&&watch(ld,ud)}else if(isFunction$3(Ra))watch(ld,Ra.bind(nd));else if(isObject$5(Ra))if(isArray$2(Ra))Ra.forEach(ud=>createWatcher(ud,qa,nd,od));else{const ud=isFunction$3(Ra.handler)?Ra.handler.bind(nd):qa[Ra.handler];isFunction$3(ud)&&watch(ld,ud,Ra)}}function resolveMergedOptions(Ra){const qa=Ra.type,{mixins:nd,extends:od}=qa,{mixins:ld,optionsCache:ud,config:{optionMergeStrategies:cd}}=Ra.appContext,dd=ud.get(qa);let pd;return dd?pd=dd:!ld.length&&!nd&&!od?pd=qa:(pd={},ld.length&&ld.forEach(fd=>mergeOptions(pd,fd,cd,!0)),mergeOptions(pd,qa,cd)),isObject$5(qa)&&ud.set(qa,pd),pd}function mergeOptions(Ra,qa,nd,od=!1){const{mixins:ld,extends:ud}=qa;ud&&mergeOptions(Ra,ud,nd,!0),ld&&ld.forEach(cd=>mergeOptions(Ra,cd,nd,!0));for(const cd in qa)if(!(od&&cd==="expose")){const dd=internalOptionMergeStrats[cd]||nd&&nd[cd];Ra[cd]=dd?dd(Ra[cd],qa[cd]):qa[cd]}return Ra}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(Ra,qa){return qa?Ra?function(){return extend$3(isFunction$3(Ra)?Ra.call(this,this):Ra,isFunction$3(qa)?qa.call(this,this):qa)}:qa:Ra}function mergeInject(Ra,qa){return mergeObjectOptions(normalizeInject(Ra),normalizeInject(qa))}function normalizeInject(Ra){if(isArray$2(Ra)){const qa={};for(let nd=0;nd1)return nd&&isFunction$3(qa)?qa.call(od&&od.proxy):qa}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}const internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=Ra=>Object.getPrototypeOf(Ra)===internalObjectProto;function initProps(Ra,qa,nd,od=!1){const ld={},ud=createInternalObject();Ra.propsDefaults=Object.create(null),setFullProps(Ra,qa,ld,ud);for(const cd in Ra.propsOptions[0])cd in ld||(ld[cd]=void 0);nd?Ra.props=od?ld:shallowReactive(ld):Ra.type.props?Ra.props=ld:Ra.props=ud,Ra.attrs=ud}function updateProps(Ra,qa,nd,od){const{props:ld,attrs:ud,vnode:{patchFlag:cd}}=Ra,dd=toRaw(ld),[pd]=Ra.propsOptions;let fd=!1;if((od||cd>0)&&!(cd&16)){if(cd&8){const md=Ra.vnode.dynamicProps;for(let vd=0;vd{pd=!0;const[Ad,Nd]=normalizePropsOptions(vd,qa,!0);extend$3(cd,Ad),Nd&&dd.push(...Nd)};!nd&&qa.mixins.length&&qa.mixins.forEach(md),Ra.extends&&md(Ra.extends),Ra.mixins&&Ra.mixins.forEach(md)}if(!ud&&!pd)return isObject$5(Ra)&&od.set(Ra,EMPTY_ARR),EMPTY_ARR;if(isArray$2(ud))for(let md=0;mdRa[0]==="_"||Ra==="$stable",normalizeSlotValue=Ra=>isArray$2(Ra)?Ra.map(normalizeVNode):[normalizeVNode(Ra)],normalizeSlot=(Ra,qa,nd)=>{if(qa._n)return qa;const od=withCtx((...ld)=>normalizeSlotValue(qa(...ld)),nd);return od._c=!1,od},normalizeObjectSlots=(Ra,qa,nd)=>{const od=Ra._ctx;for(const ld in Ra){if(isInternalKey(ld))continue;const ud=Ra[ld];if(isFunction$3(ud))qa[ld]=normalizeSlot(ld,ud,od);else if(ud!=null){const cd=normalizeSlotValue(ud);qa[ld]=()=>cd}}},normalizeVNodeSlots=(Ra,qa)=>{const nd=normalizeSlotValue(qa);Ra.slots.default=()=>nd},assignSlots=(Ra,qa,nd)=>{for(const od in qa)(nd||od!=="_")&&(Ra[od]=qa[od])},initSlots=(Ra,qa,nd)=>{const od=Ra.slots=createInternalObject();if(Ra.vnode.shapeFlag&32){const ld=qa._;ld?(assignSlots(od,qa,nd),nd&&def$2(od,"_",ld,!0)):normalizeObjectSlots(qa,od)}else qa&&normalizeVNodeSlots(Ra,qa)},updateSlots=(Ra,qa,nd)=>{const{vnode:od,slots:ld}=Ra;let ud=!0,cd=EMPTY_OBJ;if(od.shapeFlag&32){const dd=qa._;dd?nd&&dd===1?ud=!1:assignSlots(ld,qa,nd):(ud=!qa.$stable,normalizeObjectSlots(qa,ld)),cd=qa}else qa&&(normalizeVNodeSlots(Ra,qa),cd={default:1});if(ud)for(const dd in ld)!isInternalKey(dd)&&cd[dd]==null&&delete ld[dd]},queuePostRenderEffect=queueEffectWithSuspense;function createRenderer$1(Ra){return baseCreateRenderer(Ra)}function baseCreateRenderer(Ra,qa){const nd=getGlobalThis();nd.__VUE__=!0;const{insert:od,remove:ld,patchProp:ud,createElement:cd,createText:dd,createComment:pd,setText:fd,setElementText:md,parentNode:vd,nextSibling:Ad,setScopeId:Nd=NOOP,insertStaticContent:Id}=Ra,kd=(Pf,uh,xh,Qf=null,wf=null,$f=null,Wf=void 0,vh=null,Th=!!uh.dynamicChildren)=>{if(Pf===uh)return;Pf&&!isSameVNodeType(Pf,uh)&&(Qf=Tf(Pf),Bf(Pf,wf,$f,!0),Pf=null),uh.patchFlag===-2&&(Th=!1,uh.dynamicChildren=null);const{type:ph,ref:Vh,shapeFlag:wh}=uh;switch(ph){case Text$2:jd(Pf,uh,xh,Qf);break;case Comment$2:Fd(Pf,uh,xh,Qf);break;case Static:Pf==null&&Md(uh,xh,Qf,Wf);break;case Fragment:bf(Pf,uh,xh,Qf,wf,$f,Wf,vh,Th);break;default:wh&1?Gd(Pf,uh,xh,Qf,wf,$f,Wf,vh,Th):wh&6?yf(Pf,uh,xh,Qf,wf,$f,Wf,vh,Th):(wh&64||wh&128)&&ph.process(Pf,uh,xh,Qf,wf,$f,Wf,vh,Th,eh)}Vh!=null&&wf&&setRef(Vh,Pf&&Pf.ref,$f,uh||Pf,!uh)},jd=(Pf,uh,xh,Qf)=>{if(Pf==null)od(uh.el=dd(uh.children),xh,Qf);else{const wf=uh.el=Pf.el;uh.children!==Pf.children&&fd(wf,uh.children)}},Fd=(Pf,uh,xh,Qf)=>{Pf==null?od(uh.el=pd(uh.children||""),xh,Qf):uh.el=Pf.el},Md=(Pf,uh,xh,Qf)=>{[Pf.el,Pf.anchor]=Id(Pf.children,uh,xh,Qf,Pf.el,Pf.anchor)},Ld=({el:Pf,anchor:uh},xh,Qf)=>{let wf;for(;Pf&&Pf!==uh;)wf=Ad(Pf),od(Pf,xh,Qf),Pf=wf;od(uh,xh,Qf)},Hd=({el:Pf,anchor:uh})=>{let xh;for(;Pf&&Pf!==uh;)xh=Ad(Pf),ld(Pf),Pf=xh;ld(uh)},Gd=(Pf,uh,xh,Qf,wf,$f,Wf,vh,Th)=>{uh.type==="svg"?Wf="svg":uh.type==="math"&&(Wf="mathml"),Pf==null?Vd(uh,xh,Qf,wf,$f,Wf,vh,Th):Wd(Pf,uh,wf,$f,Wf,vh,Th)},Vd=(Pf,uh,xh,Qf,wf,$f,Wf,vh)=>{let Th,ph;const{props:Vh,shapeFlag:wh,transition:fm,dirs:Nm}=Pf;if(Th=Pf.el=cd(Pf.type,$f,Vh&&Vh.is,Vh),wh&8?md(Th,Pf.children):wh&16&&mf(Pf.children,Th,null,Qf,wf,resolveChildrenNamespace(Pf,$f),Wf,vh),Nm&&invokeDirectiveHook(Pf,null,Qf,"created"),Kd(Th,Pf,Pf.scopeId,Wf,Qf),Vh){for(const Sm in Vh)Sm!=="value"&&!isReservedProp(Sm)&&ud(Th,Sm,null,Vh[Sm],$f,Qf);"value"in Vh&&ud(Th,"value",null,Vh.value,$f),(ph=Vh.onVnodeBeforeMount)&&invokeVNodeHook(ph,Qf,Pf)}Nm&&invokeDirectiveHook(Pf,null,Qf,"beforeMount");const cm=needTransition(wf,fm);cm&&fm.beforeEnter(Th),od(Th,uh,xh),((ph=Vh&&Vh.onVnodeMounted)||cm||Nm)&&queuePostRenderEffect(()=>{ph&&invokeVNodeHook(ph,Qf,Pf),cm&&fm.enter(Th),Nm&&invokeDirectiveHook(Pf,null,Qf,"mounted")},wf)},Kd=(Pf,uh,xh,Qf,wf)=>{if(xh&&Nd(Pf,xh),Qf)for(let $f=0;$f{for(let ph=Th;ph{const vh=uh.el=Pf.el;let{patchFlag:Th,dynamicChildren:ph,dirs:Vh}=uh;Th|=Pf.patchFlag&16;const wh=Pf.props||EMPTY_OBJ,fm=uh.props||EMPTY_OBJ;let Nm;if(xh&&toggleRecurse(xh,!1),(Nm=fm.onVnodeBeforeUpdate)&&invokeVNodeHook(Nm,xh,uh,Pf),Vh&&invokeDirectiveHook(uh,Pf,xh,"beforeUpdate"),xh&&toggleRecurse(xh,!0),(wh.innerHTML&&fm.innerHTML==null||wh.textContent&&fm.textContent==null)&&md(vh,""),ph?Zd(Pf.dynamicChildren,ph,vh,xh,Qf,resolveChildrenNamespace(uh,wf),$f):Wf||Lf(Pf,uh,vh,null,xh,Qf,resolveChildrenNamespace(uh,wf),$f,!1),Th>0){if(Th&16)Xd(vh,wh,fm,xh,wf);else if(Th&2&&wh.class!==fm.class&&ud(vh,"class",null,fm.class,wf),Th&4&&ud(vh,"style",wh.style,fm.style,wf),Th&8){const cm=uh.dynamicProps;for(let Sm=0;Sm{Nm&&invokeVNodeHook(Nm,xh,uh,Pf),Vh&&invokeDirectiveHook(uh,Pf,xh,"updated")},Qf)},Zd=(Pf,uh,xh,Qf,wf,$f,Wf)=>{for(let vh=0;vh{if(uh!==xh){if(uh!==EMPTY_OBJ)for(const $f in uh)!isReservedProp($f)&&!($f in xh)&&ud(Pf,$f,uh[$f],null,wf,Qf);for(const $f in xh){if(isReservedProp($f))continue;const Wf=xh[$f],vh=uh[$f];Wf!==vh&&$f!=="value"&&ud(Pf,$f,vh,Wf,wf,Qf)}"value"in xh&&ud(Pf,"value",uh.value,xh.value,wf)}},bf=(Pf,uh,xh,Qf,wf,$f,Wf,vh,Th)=>{const ph=uh.el=Pf?Pf.el:dd(""),Vh=uh.anchor=Pf?Pf.anchor:dd("");let{patchFlag:wh,dynamicChildren:fm,slotScopeIds:Nm}=uh;Nm&&(vh=vh?vh.concat(Nm):Nm),Pf==null?(od(ph,xh,Qf),od(Vh,xh,Qf),mf(uh.children||[],xh,Vh,wf,$f,Wf,vh,Th)):wh>0&&wh&64&&fm&&Pf.dynamicChildren?(Zd(Pf.dynamicChildren,fm,xh,wf,$f,Wf,vh),(uh.key!=null||wf&&uh===wf.subTree)&&traverseStaticChildren(Pf,uh,!0)):Lf(Pf,uh,xh,Vh,wf,$f,Wf,vh,Th)},yf=(Pf,uh,xh,Qf,wf,$f,Wf,vh,Th)=>{uh.slotScopeIds=vh,Pf==null?uh.shapeFlag&512?wf.ctx.activate(uh,xh,Qf,Wf,Th):Ef(uh,xh,Qf,wf,$f,Wf,Th):gf(Pf,uh,Th)},Ef=(Pf,uh,xh,Qf,wf,$f,Wf)=>{const vh=Pf.component=createComponentInstance(Pf,Qf,wf);if(isKeepAlive(Pf)&&(vh.ctx.renderer=eh),setupComponent(vh,!1,Wf),vh.asyncDep){if(wf&&wf.registerDep(vh,xf,Wf),!Pf.el){const Th=vh.subTree=createVNode(Comment$2);Fd(null,Th,uh,xh)}}else xf(vh,Pf,uh,xh,wf,$f,Wf)},gf=(Pf,uh,xh)=>{const Qf=uh.component=Pf.component;if(shouldUpdateComponent(Pf,uh,xh))if(Qf.asyncDep&&!Qf.asyncResolved){Af(Qf,uh,xh);return}else Qf.next=uh,Qf.update();else uh.el=Pf.el,Qf.vnode=uh},xf=(Pf,uh,xh,Qf,wf,$f,Wf)=>{const vh=()=>{if(Pf.isMounted){let{next:wh,bu:fm,u:Nm,parent:cm,vnode:Sm}=Pf;{const dh=locateNonHydratedAsyncRoot(Pf);if(dh){wh&&(wh.el=Sm.el,Af(Pf,wh,Wf)),dh.asyncDep.then(()=>{Pf.isUnmounted||vh()});return}}let $m=wh,fh;toggleRecurse(Pf,!1),wh?(wh.el=Sm.el,Af(Pf,wh,Wf)):wh=Sm,fm&&invokeArrayFns(fm),(fh=wh.props&&wh.props.onVnodeBeforeUpdate)&&invokeVNodeHook(fh,cm,wh,Sm),toggleRecurse(Pf,!0);const Rf=renderComponentRoot(Pf),If=Pf.subTree;Pf.subTree=Rf,kd(If,Rf,vd(If.el),Tf(If),Pf,wf,$f),wh.el=Rf.el,$m===null&&updateHOCHostEl(Pf,Rf.el),Nm&&queuePostRenderEffect(Nm,wf),(fh=wh.props&&wh.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(fh,cm,wh,Sm),wf)}else{let wh;const{el:fm,props:Nm}=uh,{bm:cm,m:Sm,parent:$m,root:fh,type:Rf}=Pf,If=isAsyncWrapper(uh);if(toggleRecurse(Pf,!1),cm&&invokeArrayFns(cm),!If&&(wh=Nm&&Nm.onVnodeBeforeMount)&&invokeVNodeHook(wh,$m,uh),toggleRecurse(Pf,!0),fm&&ih){const dh=()=>{Pf.subTree=renderComponentRoot(Pf),ih(fm,Pf.subTree,Pf,wf,null)};If&&Rf.__asyncHydrate?Rf.__asyncHydrate(fm,Pf,dh):dh()}else{fh.ce&&fh.ce._injectChildStyle(Rf);const dh=Pf.subTree=renderComponentRoot(Pf);kd(null,dh,xh,Qf,Pf,wf,$f),uh.el=dh.el}if(Sm&&queuePostRenderEffect(Sm,wf),!If&&(wh=Nm&&Nm.onVnodeMounted)){const dh=uh;queuePostRenderEffect(()=>invokeVNodeHook(wh,$m,dh),wf)}(uh.shapeFlag&256||$m&&isAsyncWrapper($m.vnode)&&$m.vnode.shapeFlag&256)&&Pf.a&&queuePostRenderEffect(Pf.a,wf),Pf.isMounted=!0,uh=xh=Qf=null}};Pf.scope.on();const Th=Pf.effect=new ReactiveEffect(vh);Pf.scope.off();const ph=Pf.update=Th.run.bind(Th),Vh=Pf.job=Th.runIfDirty.bind(Th);Vh.i=Pf,Vh.id=Pf.uid,Th.scheduler=()=>queueJob(Vh),toggleRecurse(Pf,!0),ph()},Af=(Pf,uh,xh)=>{uh.component=Pf;const Qf=Pf.vnode.props;Pf.vnode=uh,Pf.next=null,updateProps(Pf,uh.props,Qf,xh),updateSlots(Pf,uh.children,xh),pauseTracking(),flushPreFlushCbs(Pf),resetTracking()},Lf=(Pf,uh,xh,Qf,wf,$f,Wf,vh,Th=!1)=>{const ph=Pf&&Pf.children,Vh=Pf?Pf.shapeFlag:0,wh=uh.children,{patchFlag:fm,shapeFlag:Nm}=uh;if(fm>0){if(fm&128){Jf(ph,wh,xh,Qf,wf,$f,Wf,vh,Th);return}else if(fm&256){Xf(ph,wh,xh,Qf,wf,$f,Wf,vh,Th);return}}Nm&8?(Vh&16&&zf(ph,wf,$f),wh!==ph&&md(xh,wh)):Vh&16?Nm&16?Jf(ph,wh,xh,Qf,wf,$f,Wf,vh,Th):zf(ph,wf,$f,!0):(Vh&8&&md(xh,""),Nm&16&&mf(wh,xh,Qf,wf,$f,Wf,vh,Th))},Xf=(Pf,uh,xh,Qf,wf,$f,Wf,vh,Th)=>{Pf=Pf||EMPTY_ARR,uh=uh||EMPTY_ARR;const ph=Pf.length,Vh=uh.length,wh=Math.min(ph,Vh);let fm;for(fm=0;fmVh?zf(Pf,wf,$f,!0,!1,wh):mf(uh,xh,Qf,wf,$f,Wf,vh,Th,wh)},Jf=(Pf,uh,xh,Qf,wf,$f,Wf,vh,Th)=>{let ph=0;const Vh=uh.length;let wh=Pf.length-1,fm=Vh-1;for(;ph<=wh&&ph<=fm;){const Nm=Pf[ph],cm=uh[ph]=Th?cloneIfMounted(uh[ph]):normalizeVNode(uh[ph]);if(isSameVNodeType(Nm,cm))kd(Nm,cm,xh,null,wf,$f,Wf,vh,Th);else break;ph++}for(;ph<=wh&&ph<=fm;){const Nm=Pf[wh],cm=uh[fm]=Th?cloneIfMounted(uh[fm]):normalizeVNode(uh[fm]);if(isSameVNodeType(Nm,cm))kd(Nm,cm,xh,null,wf,$f,Wf,vh,Th);else break;wh--,fm--}if(ph>wh){if(ph<=fm){const Nm=fm+1,cm=Nmfm)for(;ph<=wh;)Bf(Pf[ph],wf,$f,!0),ph++;else{const Nm=ph,cm=ph,Sm=new Map;for(ph=cm;ph<=fm;ph++){const Zh=uh[ph]=Th?cloneIfMounted(uh[ph]):normalizeVNode(uh[ph]);Zh.key!=null&&Sm.set(Zh.key,ph)}let $m,fh=0;const Rf=fm-cm+1;let If=!1,dh=0;const yh=new Array(Rf);for(ph=0;ph=Rf){Bf(Zh,wf,$f,!0);continue}let _m;if(Zh.key!=null)_m=Sm.get(Zh.key);else for($m=cm;$m<=fm;$m++)if(yh[$m-cm]===0&&isSameVNodeType(Zh,uh[$m])){_m=$m;break}_m===void 0?Bf(Zh,wf,$f,!0):(yh[_m-cm]=ph+1,_m>=dh?dh=_m:If=!0,kd(Zh,uh[_m],xh,null,wf,$f,Wf,vh,Th),fh++)}const Uh=If?getSequence(yh):EMPTY_ARR;for($m=Uh.length-1,ph=Rf-1;ph>=0;ph--){const Zh=cm+ph,_m=uh[Zh],Um=Zh+1{const{el:$f,type:Wf,transition:vh,children:Th,shapeFlag:ph}=Pf;if(ph&6){Zf(Pf.component.subTree,uh,xh,Qf);return}if(ph&128){Pf.suspense.move(uh,xh,Qf);return}if(ph&64){Wf.move(Pf,uh,xh,eh);return}if(Wf===Fragment){od($f,uh,xh);for(let wh=0;whvh.enter($f),wf);else{const{leave:wh,delayLeave:fm,afterLeave:Nm}=vh,cm=()=>od($f,uh,xh),Sm=()=>{wh($f,()=>{cm(),Nm&&Nm()})};fm?fm($f,cm,Sm):Sm()}else od($f,uh,xh)},Bf=(Pf,uh,xh,Qf=!1,wf=!1)=>{const{type:$f,props:Wf,ref:vh,children:Th,dynamicChildren:ph,shapeFlag:Vh,patchFlag:wh,dirs:fm,cacheIndex:Nm}=Pf;if(wh===-2&&(wf=!1),vh!=null&&setRef(vh,null,xh,Pf,!0),Nm!=null&&(uh.renderCache[Nm]=void 0),Vh&256){uh.ctx.deactivate(Pf);return}const cm=Vh&1&&fm,Sm=!isAsyncWrapper(Pf);let $m;if(Sm&&($m=Wf&&Wf.onVnodeBeforeUnmount)&&invokeVNodeHook($m,uh,Pf),Vh&6)Gf(Pf.component,xh,Qf);else{if(Vh&128){Pf.suspense.unmount(xh,Qf);return}cm&&invokeDirectiveHook(Pf,null,uh,"beforeUnmount"),Vh&64?Pf.type.remove(Pf,uh,xh,eh,Qf):ph&&!ph.hasOnce&&($f!==Fragment||wh>0&&wh&64)?zf(ph,uh,xh,!1,!0):($f===Fragment&&wh&384||!wf&&Vh&16)&&zf(Th,uh,xh),Qf&&Df(Pf)}(Sm&&($m=Wf&&Wf.onVnodeUnmounted)||cm)&&queuePostRenderEffect(()=>{$m&&invokeVNodeHook($m,uh,Pf),cm&&invokeDirectiveHook(Pf,null,uh,"unmounted")},xh)},Df=Pf=>{const{type:uh,el:xh,anchor:Qf,transition:wf}=Pf;if(uh===Fragment){Uf(xh,Qf);return}if(uh===Static){Hd(Pf);return}const $f=()=>{ld(xh),wf&&!wf.persisted&&wf.afterLeave&&wf.afterLeave()};if(Pf.shapeFlag&1&&wf&&!wf.persisted){const{leave:Wf,delayLeave:vh}=wf,Th=()=>Wf(xh,$f);vh?vh(Pf.el,$f,Th):Th()}else $f()},Uf=(Pf,uh)=>{let xh;for(;Pf!==uh;)xh=Ad(Pf),ld(Pf),Pf=xh;ld(uh)},Gf=(Pf,uh,xh)=>{const{bum:Qf,scope:wf,job:$f,subTree:Wf,um:vh,m:Th,a:ph}=Pf;invalidateMount(Th),invalidateMount(ph),Qf&&invokeArrayFns(Qf),wf.stop(),$f&&($f.flags|=8,Bf(Wf,Pf,uh,xh)),vh&&queuePostRenderEffect(vh,uh),queuePostRenderEffect(()=>{Pf.isUnmounted=!0},uh),uh&&uh.pendingBranch&&!uh.isUnmounted&&Pf.asyncDep&&!Pf.asyncResolved&&Pf.suspenseId===uh.pendingId&&(uh.deps--,uh.deps===0&&uh.resolve())},zf=(Pf,uh,xh,Qf=!1,wf=!1,$f=0)=>{for(let Wf=$f;Wf{if(Pf.shapeFlag&6)return Tf(Pf.component.subTree);if(Pf.shapeFlag&128)return Pf.suspense.next();const uh=Ad(Pf.anchor||Pf.el),xh=uh&&uh[TeleportEndKey];return xh?Ad(xh):uh};let vf=!1;const qf=(Pf,uh,xh)=>{Pf==null?uh._vnode&&Bf(uh._vnode,null,null,!0):kd(uh._vnode||null,Pf,uh,null,null,null,xh),uh._vnode=Pf,vf||(vf=!0,flushPreFlushCbs(),flushPostFlushCbs(),vf=!1)},eh={p:kd,um:Bf,m:Zf,r:Df,mt:Ef,mc:mf,pc:Lf,pbc:Zd,n:Tf,o:Ra};let ch,ih;return{render:qf,hydrate:ch,createApp:createAppAPI(qf,ch)}}function resolveChildrenNamespace({type:Ra,props:qa},nd){return nd==="svg"&&Ra==="foreignObject"||nd==="mathml"&&Ra==="annotation-xml"&&qa&&qa.encoding&&qa.encoding.includes("html")?void 0:nd}function toggleRecurse({effect:Ra,job:qa},nd){nd?(Ra.flags|=32,qa.flags|=4):(Ra.flags&=-33,qa.flags&=-5)}function needTransition(Ra,qa){return(!Ra||Ra&&!Ra.pendingBranch)&&qa&&!qa.persisted}function traverseStaticChildren(Ra,qa,nd=!1){const od=Ra.children,ld=qa.children;if(isArray$2(od)&&isArray$2(ld))for(let ud=0;ud>1,Ra[nd[dd]]0&&(qa[od]=nd[ud-1]),nd[ud]=od)}}for(ud=nd.length,cd=nd[ud-1];ud-- >0;)nd[ud]=cd,cd=qa[cd];return nd}function locateNonHydratedAsyncRoot(Ra){const qa=Ra.subTree.component;if(qa)return qa.asyncDep&&!qa.asyncResolved?qa:locateNonHydratedAsyncRoot(qa)}function invalidateMount(Ra){if(Ra)for(let qa=0;qainject(ssrContextKey);function watchEffect(Ra,qa){return doWatch(Ra,null,qa)}function watchPostEffect(Ra,qa){return doWatch(Ra,null,{flush:"post"})}function watch(Ra,qa,nd){return doWatch(Ra,qa,nd)}function doWatch(Ra,qa,nd=EMPTY_OBJ){const{immediate:od,deep:ld,flush:ud,once:cd}=nd,dd=extend$3({},nd),pd=qa&&od||!qa&&ud!=="post";let fd;if(isInSSRComponentSetup){if(ud==="sync"){const Nd=useSSRContext();fd=Nd.__watcherHandles||(Nd.__watcherHandles=[])}else if(!pd){const Nd=()=>{};return Nd.stop=NOOP,Nd.resume=NOOP,Nd.pause=NOOP,Nd}}const md=currentInstance;dd.call=(Nd,Id,kd)=>callWithAsyncErrorHandling(Nd,md,Id,kd);let vd=!1;ud==="post"?dd.scheduler=Nd=>{queuePostRenderEffect(Nd,md&&md.suspense)}:ud!=="sync"&&(vd=!0,dd.scheduler=(Nd,Id)=>{Id?Nd():queueJob(Nd)}),dd.augmentJob=Nd=>{qa&&(Nd.flags|=4),vd&&(Nd.flags|=2,md&&(Nd.id=md.uid,Nd.i=md))};const Ad=watch$1(Ra,qa,dd);return isInSSRComponentSetup&&(fd?fd.push(Ad):pd&&Ad()),Ad}function instanceWatch(Ra,qa,nd){const od=this.proxy,ld=isString$2(Ra)?Ra.includes(".")?createPathGetter(od,Ra):()=>od[Ra]:Ra.bind(od,od);let ud;isFunction$3(qa)?ud=qa:(ud=qa.handler,nd=qa);const cd=setCurrentInstance(this),dd=doWatch(ld,ud.bind(od),nd);return cd(),dd}function createPathGetter(Ra,qa){const nd=qa.split(".");return()=>{let od=Ra;for(let ld=0;ldqa==="modelValue"||qa==="model-value"?Ra.modelModifiers:Ra[`${qa}Modifiers`]||Ra[`${camelize(qa)}Modifiers`]||Ra[`${hyphenate(qa)}Modifiers`];function emit(Ra,qa,...nd){if(Ra.isUnmounted)return;const od=Ra.vnode.props||EMPTY_OBJ;let ld=nd;const ud=qa.startsWith("update:"),cd=ud&&getModelModifiers(od,qa.slice(7));cd&&(cd.trim&&(ld=nd.map(md=>isString$2(md)?md.trim():md)),cd.number&&(ld=nd.map(looseToNumber)));let dd,pd=od[dd=toHandlerKey(qa)]||od[dd=toHandlerKey(camelize(qa))];!pd&&ud&&(pd=od[dd=toHandlerKey(hyphenate(qa))]),pd&&callWithAsyncErrorHandling(pd,Ra,6,ld);const fd=od[dd+"Once"];if(fd){if(!Ra.emitted)Ra.emitted={};else if(Ra.emitted[dd])return;Ra.emitted[dd]=!0,callWithAsyncErrorHandling(fd,Ra,6,ld)}}function normalizeEmitsOptions(Ra,qa,nd=!1){const od=qa.emitsCache,ld=od.get(Ra);if(ld!==void 0)return ld;const ud=Ra.emits;let cd={},dd=!1;if(!isFunction$3(Ra)){const pd=fd=>{const md=normalizeEmitsOptions(fd,qa,!0);md&&(dd=!0,extend$3(cd,md))};!nd&&qa.mixins.length&&qa.mixins.forEach(pd),Ra.extends&&pd(Ra.extends),Ra.mixins&&Ra.mixins.forEach(pd)}return!ud&&!dd?(isObject$5(Ra)&&od.set(Ra,null),null):(isArray$2(ud)?ud.forEach(pd=>cd[pd]=null):extend$3(cd,ud),isObject$5(Ra)&&od.set(Ra,cd),cd)}function isEmitListener(Ra,qa){return!Ra||!isOn(qa)?!1:(qa=qa.slice(2).replace(/Once$/,""),hasOwn$3(Ra,qa[0].toLowerCase()+qa.slice(1))||hasOwn$3(Ra,hyphenate(qa))||hasOwn$3(Ra,qa))}function markAttrsAccessed(){}function renderComponentRoot(Ra){const{type:qa,vnode:nd,proxy:od,withProxy:ld,propsOptions:[ud],slots:cd,attrs:dd,emit:pd,render:fd,renderCache:md,props:vd,data:Ad,setupState:Nd,ctx:Id,inheritAttrs:kd}=Ra,jd=setCurrentRenderingInstance(Ra);let Fd,Md;try{if(nd.shapeFlag&4){const Hd=ld||od,Gd=Hd;Fd=normalizeVNode(fd.call(Gd,Hd,md,vd,Nd,Ad,Id)),Md=dd}else{const Hd=qa;Fd=normalizeVNode(Hd.length>1?Hd(vd,{attrs:dd,slots:cd,emit:pd}):Hd(vd,null)),Md=qa.props?dd:getFunctionalFallthrough(dd)}}catch(Hd){blockStack.length=0,handleError$1(Hd,Ra,1),Fd=createVNode(Comment$2)}let Ld=Fd;if(Md&&kd!==!1){const Hd=Object.keys(Md),{shapeFlag:Gd}=Ld;Hd.length&&Gd&7&&(ud&&Hd.some(isModelListener)&&(Md=filterModelListeners(Md,ud)),Ld=cloneVNode(Ld,Md,!1,!0))}return nd.dirs&&(Ld=cloneVNode(Ld,null,!1,!0),Ld.dirs=Ld.dirs?Ld.dirs.concat(nd.dirs):nd.dirs),nd.transition&&setTransitionHooks(Ld,nd.transition),Fd=Ld,setCurrentRenderingInstance(jd),Fd}const getFunctionalFallthrough=Ra=>{let qa;for(const nd in Ra)(nd==="class"||nd==="style"||isOn(nd))&&((qa||(qa={}))[nd]=Ra[nd]);return qa},filterModelListeners=(Ra,qa)=>{const nd={};for(const od in Ra)(!isModelListener(od)||!(od.slice(9)in qa))&&(nd[od]=Ra[od]);return nd};function shouldUpdateComponent(Ra,qa,nd){const{props:od,children:ld,component:ud}=Ra,{props:cd,children:dd,patchFlag:pd}=qa,fd=ud.emitsOptions;if(qa.dirs||qa.transition)return!0;if(nd&&pd>=0){if(pd&1024)return!0;if(pd&16)return od?hasPropsChanged(od,cd,fd):!!cd;if(pd&8){const md=qa.dynamicProps;for(let vd=0;vdRa.__isSuspense;function queueEffectWithSuspense(Ra,qa){qa&&qa.pendingBranch?isArray$2(Ra)?qa.effects.push(...Ra):qa.effects.push(Ra):queuePostFlushCb(Ra)}const Fragment=Symbol.for("v-fgt"),Text$2=Symbol.for("v-txt"),Comment$2=Symbol.for("v-cmt"),Static=Symbol.for("v-stc"),blockStack=[];let currentBlock=null;function openBlock(Ra=!1){blockStack.push(currentBlock=Ra?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(Ra,qa=!1){isBlockTreeEnabled+=Ra,Ra<0&¤tBlock&&qa&&(currentBlock.hasOnce=!0)}function setupBlock(Ra){return Ra.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(Ra),Ra}function createElementBlock(Ra,qa,nd,od,ld,ud){return setupBlock(createBaseVNode(Ra,qa,nd,od,ld,ud,!0))}function createBlock(Ra,qa,nd,od,ld){return setupBlock(createVNode(Ra,qa,nd,od,ld,!0))}function isVNode(Ra){return Ra?Ra.__v_isVNode===!0:!1}function isSameVNodeType(Ra,qa){return Ra.type===qa.type&&Ra.key===qa.key}const normalizeKey=({key:Ra})=>Ra??null,normalizeRef=({ref:Ra,ref_key:qa,ref_for:nd})=>(typeof Ra=="number"&&(Ra=""+Ra),Ra!=null?isString$2(Ra)||isRef(Ra)||isFunction$3(Ra)?{i:currentRenderingInstance,r:Ra,k:qa,f:!!nd}:Ra:null);function createBaseVNode(Ra,qa=null,nd=null,od=0,ld=null,ud=Ra===Fragment?0:1,cd=!1,dd=!1){const pd={__v_isVNode:!0,__v_skip:!0,type:Ra,props:qa,key:qa&&normalizeKey(qa),ref:qa&&normalizeRef(qa),scopeId:currentScopeId,slotScopeIds:null,children:nd,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:ud,patchFlag:od,dynamicProps:ld,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return dd?(normalizeChildren(pd,nd),ud&128&&Ra.normalize(pd)):nd&&(pd.shapeFlag|=isString$2(nd)?8:16),isBlockTreeEnabled>0&&!cd&¤tBlock&&(pd.patchFlag>0||ud&6)&&pd.patchFlag!==32&¤tBlock.push(pd),pd}const createVNode=_createVNode;function _createVNode(Ra,qa=null,nd=null,od=0,ld=null,ud=!1){if((!Ra||Ra===NULL_DYNAMIC_COMPONENT)&&(Ra=Comment$2),isVNode(Ra)){const dd=cloneVNode(Ra,qa,!0);return nd&&normalizeChildren(dd,nd),isBlockTreeEnabled>0&&!ud&¤tBlock&&(dd.shapeFlag&6?currentBlock[currentBlock.indexOf(Ra)]=dd:currentBlock.push(dd)),dd.patchFlag=-2,dd}if(isClassComponent(Ra)&&(Ra=Ra.__vccOpts),qa){qa=guardReactiveProps(qa);let{class:dd,style:pd}=qa;dd&&!isString$2(dd)&&(qa.class=normalizeClass(dd)),isObject$5(pd)&&(isProxy(pd)&&!isArray$2(pd)&&(pd=extend$3({},pd)),qa.style=normalizeStyle(pd))}const cd=isString$2(Ra)?1:isSuspense(Ra)?128:isTeleport(Ra)?64:isObject$5(Ra)?4:isFunction$3(Ra)?2:0;return createBaseVNode(Ra,qa,nd,od,ld,cd,ud,!0)}function guardReactiveProps(Ra){return Ra?isProxy(Ra)||isInternalObject(Ra)?extend$3({},Ra):Ra:null}function cloneVNode(Ra,qa,nd=!1,od=!1){const{props:ld,ref:ud,patchFlag:cd,children:dd,transition:pd}=Ra,fd=qa?mergeProps(ld||{},qa):ld,md={__v_isVNode:!0,__v_skip:!0,type:Ra.type,props:fd,key:fd&&normalizeKey(fd),ref:qa&&qa.ref?nd&&ud?isArray$2(ud)?ud.concat(normalizeRef(qa)):[ud,normalizeRef(qa)]:normalizeRef(qa):ud,scopeId:Ra.scopeId,slotScopeIds:Ra.slotScopeIds,children:dd,target:Ra.target,targetStart:Ra.targetStart,targetAnchor:Ra.targetAnchor,staticCount:Ra.staticCount,shapeFlag:Ra.shapeFlag,patchFlag:qa&&Ra.type!==Fragment?cd===-1?16:cd|16:cd,dynamicProps:Ra.dynamicProps,dynamicChildren:Ra.dynamicChildren,appContext:Ra.appContext,dirs:Ra.dirs,transition:pd,component:Ra.component,suspense:Ra.suspense,ssContent:Ra.ssContent&&cloneVNode(Ra.ssContent),ssFallback:Ra.ssFallback&&cloneVNode(Ra.ssFallback),el:Ra.el,anchor:Ra.anchor,ctx:Ra.ctx,ce:Ra.ce};return pd&&od&&setTransitionHooks(md,pd.clone(md)),md}function createTextVNode(Ra=" ",qa=0){return createVNode(Text$2,null,Ra,qa)}function createCommentVNode(Ra="",qa=!1){return qa?(openBlock(),createBlock(Comment$2,null,Ra)):createVNode(Comment$2,null,Ra)}function normalizeVNode(Ra){return Ra==null||typeof Ra=="boolean"?createVNode(Comment$2):isArray$2(Ra)?createVNode(Fragment,null,Ra.slice()):isVNode(Ra)?cloneIfMounted(Ra):createVNode(Text$2,null,String(Ra))}function cloneIfMounted(Ra){return Ra.el===null&&Ra.patchFlag!==-1||Ra.memo?Ra:cloneVNode(Ra)}function normalizeChildren(Ra,qa){let nd=0;const{shapeFlag:od}=Ra;if(qa==null)qa=null;else if(isArray$2(qa))nd=16;else if(typeof qa=="object")if(od&65){const ld=qa.default;ld&&(ld._c&&(ld._d=!1),normalizeChildren(Ra,ld()),ld._c&&(ld._d=!0));return}else{nd=32;const ld=qa._;!ld&&!isInternalObject(qa)?qa._ctx=currentRenderingInstance:ld===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?qa._=1:(qa._=2,Ra.patchFlag|=1024))}else isFunction$3(qa)?(qa={default:qa,_ctx:currentRenderingInstance},nd=32):(qa=String(qa),od&64?(nd=16,qa=[createTextVNode(qa)]):nd=8);Ra.children=qa,Ra.shapeFlag|=nd}function mergeProps(...Ra){const qa={};for(let nd=0;ndcurrentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const Ra=getGlobalThis(),qa=(nd,od)=>{let ld;return(ld=Ra[nd])||(ld=Ra[nd]=[]),ld.push(od),ud=>{ld.length>1?ld.forEach(cd=>cd(ud)):ld[0](ud)}};internalSetCurrentInstance=qa("__VUE_INSTANCE_SETTERS__",nd=>currentInstance=nd),setInSSRSetupState=qa("__VUE_SSR_SETTERS__",nd=>isInSSRComponentSetup=nd)}const setCurrentInstance=Ra=>{const qa=currentInstance;return internalSetCurrentInstance(Ra),Ra.scope.on(),()=>{Ra.scope.off(),internalSetCurrentInstance(qa)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(Ra){return Ra.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(Ra,qa=!1,nd=!1){qa&&setInSSRSetupState(qa);const{props:od,children:ld}=Ra.vnode,ud=isStatefulComponent(Ra);initProps(Ra,od,ud,qa),initSlots(Ra,ld,nd);const cd=ud?setupStatefulComponent(Ra,qa):void 0;return qa&&setInSSRSetupState(!1),cd}function setupStatefulComponent(Ra,qa){const nd=Ra.type;Ra.accessCache=Object.create(null),Ra.proxy=new Proxy(Ra.ctx,PublicInstanceProxyHandlers);const{setup:od}=nd;if(od){pauseTracking();const ld=Ra.setupContext=od.length>1?createSetupContext(Ra):null,ud=setCurrentInstance(Ra),cd=callWithErrorHandling(od,Ra,0,[Ra.props,ld]),dd=isPromise(cd);if(resetTracking(),ud(),(dd||Ra.sp)&&!isAsyncWrapper(Ra)&&markAsyncBoundary(Ra),dd){if(cd.then(unsetCurrentInstance,unsetCurrentInstance),qa)return cd.then(pd=>{handleSetupResult(Ra,pd,qa)}).catch(pd=>{handleError$1(pd,Ra,0)});Ra.asyncDep=cd}else handleSetupResult(Ra,cd,qa)}else finishComponentSetup(Ra,qa)}function handleSetupResult(Ra,qa,nd){isFunction$3(qa)?Ra.type.__ssrInlineRender?Ra.ssrRender=qa:Ra.render=qa:isObject$5(qa)&&(Ra.setupState=proxyRefs(qa)),finishComponentSetup(Ra,nd)}let compile$2;function finishComponentSetup(Ra,qa,nd){const od=Ra.type;if(!Ra.render){if(!qa&&compile$2&&!od.render){const ld=od.template||resolveMergedOptions(Ra).template;if(ld){const{isCustomElement:ud,compilerOptions:cd}=Ra.appContext.config,{delimiters:dd,compilerOptions:pd}=od,fd=extend$3(extend$3({isCustomElement:ud,delimiters:dd},cd),pd);od.render=compile$2(ld,fd)}}Ra.render=od.render||NOOP}{const ld=setCurrentInstance(Ra);pauseTracking();try{applyOptions(Ra)}finally{resetTracking(),ld()}}}const attrsProxyHandlers={get(Ra,qa){return track(Ra,"get",""),Ra[qa]}};function createSetupContext(Ra){const qa=nd=>{Ra.exposed=nd||{}};return{attrs:new Proxy(Ra.attrs,attrsProxyHandlers),slots:Ra.slots,emit:Ra.emit,expose:qa}}function getComponentPublicInstance(Ra){return Ra.exposed?Ra.exposeProxy||(Ra.exposeProxy=new Proxy(proxyRefs(markRaw(Ra.exposed)),{get(qa,nd){if(nd in qa)return qa[nd];if(nd in publicPropertiesMap)return publicPropertiesMap[nd](Ra)},has(qa,nd){return nd in qa||nd in publicPropertiesMap}})):Ra.proxy}const classifyRE=/(?:^|[-_])(\w)/g,classify=Ra=>Ra.replace(classifyRE,qa=>qa.toUpperCase()).replace(/[-_]/g,"");function getComponentName(Ra,qa=!0){return isFunction$3(Ra)?Ra.displayName||Ra.name:Ra.name||qa&&Ra.__name}function formatComponentName(Ra,qa,nd=!1){let od=getComponentName(qa);if(!od&&qa.__file){const ld=qa.__file.match(/([^/\\]+)\.\w+$/);ld&&(od=ld[1])}if(!od&&Ra&&Ra.parent){const ld=ud=>{for(const cd in ud)if(ud[cd]===qa)return cd};od=ld(Ra.components||Ra.parent.type.components)||ld(Ra.appContext.components)}return od?classify(od):nd?"App":"Anonymous"}function isClassComponent(Ra){return isFunction$3(Ra)&&"__vccOpts"in Ra}const computed=(Ra,qa)=>computed$1(Ra,qa,isInSSRComponentSetup);function h$1(Ra,qa,nd){const od=arguments.length;return od===2?isObject$5(qa)&&!isArray$2(qa)?isVNode(qa)?createVNode(Ra,null,[qa]):createVNode(Ra,qa):createVNode(Ra,null,qa):(od>3?nd=Array.prototype.slice.call(arguments,2):od===3&&isVNode(nd)&&(nd=[nd]),createVNode(Ra,qa,nd))}const version$2="3.5.13";/** * @vue/runtime-dom v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let policy;const tt$5=typeof window<"u"&&window.trustedTypes;if(tt$5)try{policy=tt$5.createPolicy("vue",{createHTML:Ra=>Ra})}catch{}const unsafeToTrustedHTML=policy?Ra=>policy.createHTML(Ra):Ra=>Ra,svgNS="http://www.w3.org/2000/svg",mathmlNS="http://www.w3.org/1998/Math/MathML",doc=typeof document<"u"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(Ra,qa,nd)=>{qa.insertBefore(Ra,nd||null)},remove:Ra=>{const qa=Ra.parentNode;qa&&qa.removeChild(Ra)},createElement:(Ra,qa,nd,od)=>{const ld=qa==="svg"?doc.createElementNS(svgNS,Ra):qa==="mathml"?doc.createElementNS(mathmlNS,Ra):nd?doc.createElement(Ra,{is:nd}):doc.createElement(Ra);return Ra==="select"&&od&&od.multiple!=null&&ld.setAttribute("multiple",od.multiple),ld},createText:Ra=>doc.createTextNode(Ra),createComment:Ra=>doc.createComment(Ra),setText:(Ra,qa)=>{Ra.nodeValue=qa},setElementText:(Ra,qa)=>{Ra.textContent=qa},parentNode:Ra=>Ra.parentNode,nextSibling:Ra=>Ra.nextSibling,querySelector:Ra=>doc.querySelector(Ra),setScopeId(Ra,qa){Ra.setAttribute(qa,"")},insertStaticContent(Ra,qa,nd,od,ld,ud){const cd=nd?nd.previousSibling:qa.lastChild;if(ld&&(ld===ud||ld.nextSibling))for(;qa.insertBefore(ld.cloneNode(!0),nd),!(ld===ud||!(ld=ld.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(od==="svg"?`${Ra}`:od==="mathml"?`${Ra}`:Ra);const dd=templateContainer.content;if(od==="svg"||od==="mathml"){const pd=dd.firstChild;for(;pd.firstChild;)dd.appendChild(pd.firstChild);dd.removeChild(pd)}qa.insertBefore(dd,nd)}return[cd?cd.nextSibling:qa.firstChild,nd?nd.previousSibling:qa.lastChild]}},TRANSITION="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),DOMTransitionPropsValidators={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},TransitionPropsValidators=extend$3({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=Ra=>(Ra.displayName="Transition",Ra.props=TransitionPropsValidators,Ra),Transition$1=decorate$1((Ra,{slots:qa})=>h$1(BaseTransition,resolveTransitionProps(Ra),qa)),callHook=(Ra,qa=[])=>{isArray$2(Ra)?Ra.forEach(nd=>nd(...qa)):Ra&&Ra(...qa)},hasExplicitCallback=Ra=>Ra?isArray$2(Ra)?Ra.some(qa=>qa.length>1):Ra.length>1:!1;function resolveTransitionProps(Ra){const qa={};for(const bf in Ra)bf in DOMTransitionPropsValidators||(qa[bf]=Ra[bf]);if(Ra.css===!1)return qa;const{name:nd="v",type:od,duration:ld,enterFromClass:ud=`${nd}-enter-from`,enterActiveClass:cd=`${nd}-enter-active`,enterToClass:dd=`${nd}-enter-to`,appearFromClass:pd=ud,appearActiveClass:fd=cd,appearToClass:md=dd,leaveFromClass:vd=`${nd}-leave-from`,leaveActiveClass:Ad=`${nd}-leave-active`,leaveToClass:Nd=`${nd}-leave-to`}=Ra,Id=normalizeDuration(ld),kd=Id&&Id[0],jd=Id&&Id[1],{onBeforeEnter:Fd,onEnter:Md,onEnterCancelled:Ld,onLeave:Hd,onLeaveCancelled:Gd,onBeforeAppear:Vd=Fd,onAppear:Qd=Md,onAppearCancelled:mf=Ld}=qa,Yd=(bf,gf,Ef,yf)=>{bf._enterCancelled=yf,removeTransitionClass(bf,gf?md:dd),removeTransitionClass(bf,gf?fd:cd),Ef&&Ef()},Zd=(bf,gf)=>{bf._isLeaving=!1,removeTransitionClass(bf,vd),removeTransitionClass(bf,Nd),removeTransitionClass(bf,Ad),gf&&gf()},Kd=bf=>(gf,Ef)=>{const yf=bf?Qd:Md,xf=()=>Yd(gf,bf,Ef);callHook(yf,[gf,xf]),nextFrame(()=>{removeTransitionClass(gf,bf?pd:ud),addTransitionClass(gf,bf?md:dd),hasExplicitCallback(yf)||whenTransitionEnds(gf,od,kd,xf)})};return extend$3(qa,{onBeforeEnter(bf){callHook(Fd,[bf]),addTransitionClass(bf,ud),addTransitionClass(bf,cd)},onBeforeAppear(bf){callHook(Vd,[bf]),addTransitionClass(bf,pd),addTransitionClass(bf,fd)},onEnter:Kd(!1),onAppear:Kd(!0),onLeave(bf,gf){bf._isLeaving=!0;const Ef=()=>Zd(bf,gf);addTransitionClass(bf,vd),bf._enterCancelled?(addTransitionClass(bf,Ad),forceReflow()):(forceReflow(),addTransitionClass(bf,Ad)),nextFrame(()=>{bf._isLeaving&&(removeTransitionClass(bf,vd),addTransitionClass(bf,Nd),hasExplicitCallback(Hd)||whenTransitionEnds(bf,od,jd,Ef))}),callHook(Hd,[bf,Ef])},onEnterCancelled(bf){Yd(bf,!1,void 0,!0),callHook(Ld,[bf])},onAppearCancelled(bf){Yd(bf,!0,void 0,!0),callHook(mf,[bf])},onLeaveCancelled(bf){Zd(bf),callHook(Gd,[bf])}})}function normalizeDuration(Ra){if(Ra==null)return null;if(isObject$5(Ra))return[NumberOf(Ra.enter),NumberOf(Ra.leave)];{const qa=NumberOf(Ra);return[qa,qa]}}function NumberOf(Ra){return toNumber$2(Ra)}function addTransitionClass(Ra,qa){qa.split(/\s+/).forEach(nd=>nd&&Ra.classList.add(nd)),(Ra[vtcKey]||(Ra[vtcKey]=new Set)).add(qa)}function removeTransitionClass(Ra,qa){qa.split(/\s+/).forEach(od=>od&&Ra.classList.remove(od));const nd=Ra[vtcKey];nd&&(nd.delete(qa),nd.size||(Ra[vtcKey]=void 0))}function nextFrame(Ra){requestAnimationFrame(()=>{requestAnimationFrame(Ra)})}let endId=0;function whenTransitionEnds(Ra,qa,nd,od){const ld=Ra._endId=++endId,ud=()=>{ld===Ra._endId&&od()};if(nd!=null)return setTimeout(ud,nd);const{type:cd,timeout:dd,propCount:pd}=getTransitionInfo(Ra,qa);if(!cd)return od();const fd=cd+"end";let md=0;const vd=()=>{Ra.removeEventListener(fd,Ad),ud()},Ad=Nd=>{Nd.target===Ra&&++md>=pd&&vd()};setTimeout(()=>{md(nd[Id]||"").split(", "),ld=od(`${TRANSITION}Delay`),ud=od(`${TRANSITION}Duration`),cd=getTimeout(ld,ud),dd=od(`${ANIMATION}Delay`),pd=od(`${ANIMATION}Duration`),fd=getTimeout(dd,pd);let md=null,vd=0,Ad=0;qa===TRANSITION?cd>0&&(md=TRANSITION,vd=cd,Ad=ud.length):qa===ANIMATION?fd>0&&(md=ANIMATION,vd=fd,Ad=pd.length):(vd=Math.max(cd,fd),md=vd>0?cd>fd?TRANSITION:ANIMATION:null,Ad=md?md===TRANSITION?ud.length:pd.length:0);const Nd=md===TRANSITION&&/\b(transform|all)(,|$)/.test(od(`${TRANSITION}Property`).toString());return{type:md,timeout:vd,propCount:Ad,hasTransform:Nd}}function getTimeout(Ra,qa){for(;Ra.lengthtoMs(nd)+toMs(Ra[od])))}function toMs(Ra){return Ra==="auto"?0:Number(Ra.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}function patchClass(Ra,qa,nd){const od=Ra[vtcKey];od&&(qa=(qa?[qa,...od]:[...od]).join(" ")),qa==null?Ra.removeAttribute("class"):nd?Ra.setAttribute("class",qa):Ra.className=qa}const vShowOriginalDisplay=Symbol("_vod"),vShowHidden=Symbol("_vsh"),vShow={beforeMount(Ra,{value:qa},{transition:nd}){Ra[vShowOriginalDisplay]=Ra.style.display==="none"?"":Ra.style.display,nd&&qa?nd.beforeEnter(Ra):setDisplay(Ra,qa)},mounted(Ra,{value:qa},{transition:nd}){nd&&qa&&nd.enter(Ra)},updated(Ra,{value:qa,oldValue:nd},{transition:od}){!qa!=!nd&&(od?qa?(od.beforeEnter(Ra),setDisplay(Ra,!0),od.enter(Ra)):od.leave(Ra,()=>{setDisplay(Ra,!1)}):setDisplay(Ra,qa))},beforeUnmount(Ra,{value:qa}){setDisplay(Ra,qa)}};function setDisplay(Ra,qa){Ra.style.display=qa?Ra[vShowOriginalDisplay]:"none",Ra[vShowHidden]=!qa}const CSS_VAR_TEXT=Symbol(""),displayRE=/(^|;)\s*display\s*:/;function patchStyle(Ra,qa,nd){const od=Ra.style,ld=isString$2(nd);let ud=!1;if(nd&&!ld){if(qa)if(isString$2(qa))for(const cd of qa.split(";")){const dd=cd.slice(0,cd.indexOf(":")).trim();nd[dd]==null&&setStyle(od,dd,"")}else for(const cd in qa)nd[cd]==null&&setStyle(od,cd,"");for(const cd in nd)cd==="display"&&(ud=!0),setStyle(od,cd,nd[cd])}else if(ld){if(qa!==nd){const cd=od[CSS_VAR_TEXT];cd&&(nd+=";"+cd),od.cssText=nd,ud=displayRE.test(nd)}}else qa&&Ra.removeAttribute("style");vShowOriginalDisplay in Ra&&(Ra[vShowOriginalDisplay]=ud?od.display:"",Ra[vShowHidden]&&(od.display="none"))}const importantRE=/\s*!important$/;function setStyle(Ra,qa,nd){if(isArray$2(nd))nd.forEach(od=>setStyle(Ra,qa,od));else if(nd==null&&(nd=""),qa.startsWith("--"))Ra.setProperty(qa,nd);else{const od=autoPrefix(Ra,qa);importantRE.test(nd)?Ra.setProperty(hyphenate(od),nd.replace(importantRE,""),"important"):Ra[od]=nd}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(Ra,qa){const nd=prefixCache[qa];if(nd)return nd;let od=camelize(qa);if(od!=="filter"&&od in Ra)return prefixCache[qa]=od;od=capitalize(od);for(let ld=0;ldcachedNow||(p$1.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(Ra,qa){const nd=od=>{if(!od._vts)od._vts=Date.now();else if(od._vts<=nd.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(od,nd.value),qa,5,[od])};return nd.value=Ra,nd.attached=getNow(),nd}function patchStopImmediatePropagation(Ra,qa){if(isArray$2(qa)){const nd=Ra.stopImmediatePropagation;return Ra.stopImmediatePropagation=()=>{nd.call(Ra),Ra._stopped=!0},qa.map(od=>ld=>!ld._stopped&&od&&od(ld))}else return qa}const isNativeOn=Ra=>Ra.charCodeAt(0)===111&&Ra.charCodeAt(1)===110&&Ra.charCodeAt(2)>96&&Ra.charCodeAt(2)<123,patchProp=(Ra,qa,nd,od,ld,ud)=>{const cd=ld==="svg";qa==="class"?patchClass(Ra,od,cd):qa==="style"?patchStyle(Ra,nd,od):isOn(qa)?isModelListener(qa)||patchEvent(Ra,qa,nd,od,ud):(qa[0]==="."?(qa=qa.slice(1),!0):qa[0]==="^"?(qa=qa.slice(1),!1):shouldSetAsProp(Ra,qa,od,cd))?(patchDOMProp(Ra,qa,od),!Ra.tagName.includes("-")&&(qa==="value"||qa==="checked"||qa==="selected")&&patchAttr(Ra,qa,od,cd,ud,qa!=="value")):Ra._isVueCE&&(/[A-Z]/.test(qa)||!isString$2(od))?patchDOMProp(Ra,camelize(qa),od,ud,qa):(qa==="true-value"?Ra._trueValue=od:qa==="false-value"&&(Ra._falseValue=od),patchAttr(Ra,qa,od,cd))};function shouldSetAsProp(Ra,qa,nd,od){if(od)return!!(qa==="innerHTML"||qa==="textContent"||qa in Ra&&isNativeOn(qa)&&isFunction$3(nd));if(qa==="spellcheck"||qa==="draggable"||qa==="translate"||qa==="form"||qa==="list"&&Ra.tagName==="INPUT"||qa==="type"&&Ra.tagName==="TEXTAREA")return!1;if(qa==="width"||qa==="height"){const ld=Ra.tagName;if(ld==="IMG"||ld==="VIDEO"||ld==="CANVAS"||ld==="SOURCE")return!1}return isNativeOn(qa)&&isString$2(nd)?!1:qa in Ra}const getModelAssigner=Ra=>{const qa=Ra.props["onUpdate:modelValue"]||!1;return isArray$2(qa)?nd=>invokeArrayFns(qa,nd):qa};function onCompositionStart(Ra){Ra.target.composing=!0}function onCompositionEnd(Ra){const qa=Ra.target;qa.composing&&(qa.composing=!1,qa.dispatchEvent(new Event("input")))}const assignKey=Symbol("_assign"),vModelText={created(Ra,{modifiers:{lazy:qa,trim:nd,number:od}},ld){Ra[assignKey]=getModelAssigner(ld);const ud=od||ld.props&&ld.props.type==="number";addEventListener(Ra,qa?"change":"input",cd=>{if(cd.target.composing)return;let dd=Ra.value;nd&&(dd=dd.trim()),ud&&(dd=looseToNumber(dd)),Ra[assignKey](dd)}),nd&&addEventListener(Ra,"change",()=>{Ra.value=Ra.value.trim()}),qa||(addEventListener(Ra,"compositionstart",onCompositionStart),addEventListener(Ra,"compositionend",onCompositionEnd),addEventListener(Ra,"change",onCompositionEnd))},mounted(Ra,{value:qa}){Ra.value=qa??""},beforeUpdate(Ra,{value:qa,oldValue:nd,modifiers:{lazy:od,trim:ld,number:ud}},cd){if(Ra[assignKey]=getModelAssigner(cd),Ra.composing)return;const dd=(ud||Ra.type==="number")&&!/^0\d/.test(Ra.value)?looseToNumber(Ra.value):Ra.value,pd=qa??"";dd!==pd&&(document.activeElement===Ra&&Ra.type!=="range"&&(od&&qa===nd||ld&&Ra.value.trim()===pd)||(Ra.value=pd))}},vModelSelect={deep:!0,created(Ra,{value:qa,modifiers:{number:nd}},od){const ld=isSet(qa);addEventListener(Ra,"change",()=>{const ud=Array.prototype.filter.call(Ra.options,cd=>cd.selected).map(cd=>nd?looseToNumber(getValue$1(cd)):getValue$1(cd));Ra[assignKey](Ra.multiple?ld?new Set(ud):ud:ud[0]),Ra._assigning=!0,nextTick$1(()=>{Ra._assigning=!1})}),Ra[assignKey]=getModelAssigner(od)},mounted(Ra,{value:qa}){setSelected(Ra,qa)},beforeUpdate(Ra,qa,nd){Ra[assignKey]=getModelAssigner(nd)},updated(Ra,{value:qa}){Ra._assigning||setSelected(Ra,qa)}};function setSelected(Ra,qa){const nd=Ra.multiple,od=isArray$2(qa);if(!(nd&&!od&&!isSet(qa))){for(let ld=0,ud=Ra.options.length;ldString(fd)===String(dd)):cd.selected=looseIndexOf(qa,dd)>-1}else cd.selected=qa.has(dd);else if(looseEqual(getValue$1(cd),qa)){Ra.selectedIndex!==ld&&(Ra.selectedIndex=ld);return}}!nd&&Ra.selectedIndex!==-1&&(Ra.selectedIndex=-1)}}function getValue$1(Ra){return"_value"in Ra?Ra._value:Ra.value}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:Ra=>Ra.stopPropagation(),prevent:Ra=>Ra.preventDefault(),self:Ra=>Ra.target!==Ra.currentTarget,ctrl:Ra=>!Ra.ctrlKey,shift:Ra=>!Ra.shiftKey,alt:Ra=>!Ra.altKey,meta:Ra=>!Ra.metaKey,left:Ra=>"button"in Ra&&Ra.button!==0,middle:Ra=>"button"in Ra&&Ra.button!==1,right:Ra=>"button"in Ra&&Ra.button!==2,exact:(Ra,qa)=>systemModifiers.some(nd=>Ra[`${nd}Key`]&&!qa.includes(nd))},withModifiers=(Ra,qa)=>{const nd=Ra._withMods||(Ra._withMods={}),od=qa.join(".");return nd[od]||(nd[od]=(ld,...ud)=>{for(let cd=0;cd{const nd=Ra._withKeys||(Ra._withKeys={}),od=qa.join(".");return nd[od]||(nd[od]=ld=>{if(!("key"in ld))return;const ud=hyphenate(ld.key);if(qa.some(cd=>cd===ud||keyNames[cd]===ud))return Ra(ld)})},rendererOptions=extend$3({patchProp},nodeOps);let renderer$1;function ensureRenderer(){return renderer$1||(renderer$1=createRenderer$1(rendererOptions))}const createApp=(...Ra)=>{const qa=ensureRenderer().createApp(...Ra),{mount:nd}=qa;return qa.mount=od=>{const ld=normalizeContainer(od);if(!ld)return;const ud=qa._component;!isFunction$3(ud)&&!ud.render&&!ud.template&&(ud.template=ld.innerHTML),ld.nodeType===1&&(ld.textContent="");const cd=nd(ld,!1,resolveRootNamespace(ld));return ld instanceof Element&&(ld.removeAttribute("v-cloak"),ld.setAttribute("data-v-app","")),cd},qa};function resolveRootNamespace(Ra){if(Ra instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&Ra instanceof MathMLElement)return"mathml"}function normalizeContainer(Ra){return isString$2(Ra)?document.querySelector(Ra):Ra}var isVue2=!1;let activePinia;const setActivePinia=Ra=>activePinia=Ra,piniaSymbol=Symbol();function isPlainObject$3(Ra){return Ra&&typeof Ra=="object"&&Object.prototype.toString.call(Ra)==="[object Object]"&&typeof Ra.toJSON!="function"}var MutationType;(function(Ra){Ra.direct="direct",Ra.patchObject="patch object",Ra.patchFunction="patch function"})(MutationType||(MutationType={}));function createPinia(){const Ra=effectScope(!0),qa=Ra.run(()=>ref$1({}));let nd=[],od=[];const ld=markRaw({install(ud){setActivePinia(ld),ld._a=ud,ud.provide(piniaSymbol,ld),ud.config.globalProperties.$pinia=ld,od.forEach(cd=>nd.push(cd)),od=[]},use(ud){return!this._a&&!isVue2?od.push(ud):nd.push(ud),this},_p:nd,_a:null,_e:Ra,_s:new Map,state:qa});return ld}const noop$6=()=>{};function addSubscription(Ra,qa,nd,od=noop$6){Ra.push(qa);const ld=()=>{const ud=Ra.indexOf(qa);ud>-1&&(Ra.splice(ud,1),od())};return!nd&&getCurrentScope()&&onScopeDispose(ld),ld}function triggerSubscriptions(Ra,...qa){Ra.slice().forEach(nd=>{nd(...qa)})}const fallbackRunWithContext=Ra=>Ra(),ACTION_MARKER=Symbol(),ACTION_NAME=Symbol();function mergeReactiveObjects(Ra,qa){Ra instanceof Map&&qa instanceof Map?qa.forEach((nd,od)=>Ra.set(od,nd)):Ra instanceof Set&&qa instanceof Set&&qa.forEach(Ra.add,Ra);for(const nd in qa){if(!qa.hasOwnProperty(nd))continue;const od=qa[nd],ld=Ra[nd];isPlainObject$3(ld)&&isPlainObject$3(od)&&Ra.hasOwnProperty(nd)&&!isRef(od)&&!isReactive(od)?Ra[nd]=mergeReactiveObjects(ld,od):Ra[nd]=od}return Ra}const skipHydrateSymbol=Symbol();function shouldHydrate(Ra){return!isPlainObject$3(Ra)||!Ra.hasOwnProperty(skipHydrateSymbol)}const{assign}=Object;function isComputed(Ra){return!!(isRef(Ra)&&Ra.effect)}function createOptionsStore(Ra,qa,nd,od){const{state:ld,actions:ud,getters:cd}=qa,dd=nd.state.value[Ra];let pd;function fd(){dd||(nd.state.value[Ra]=ld?ld():{});const md=toRefs(nd.state.value[Ra]);return assign(md,ud,Object.keys(cd||{}).reduce((vd,Ad)=>(vd[Ad]=markRaw(computed(()=>{setActivePinia(nd);const Nd=nd._s.get(Ra);return cd[Ad].call(Nd,Nd)})),vd),{}))}return pd=createSetupStore(Ra,fd,qa,nd,od,!0),pd}function createSetupStore(Ra,qa,nd={},od,ld,ud){let cd;const dd=assign({actions:{}},nd),pd={deep:!0};let fd,md,vd=[],Ad=[],Nd;const Id=od.state.value[Ra];!ud&&!Id&&(od.state.value[Ra]={}),ref$1({});let kd;function jd(mf){let Yd;fd=md=!1,typeof mf=="function"?(mf(od.state.value[Ra]),Yd={type:MutationType.patchFunction,storeId:Ra,events:Nd}):(mergeReactiveObjects(od.state.value[Ra],mf),Yd={type:MutationType.patchObject,payload:mf,storeId:Ra,events:Nd});const Zd=kd=Symbol();nextTick$1().then(()=>{kd===Zd&&(fd=!0)}),md=!0,triggerSubscriptions(vd,Yd,od.state.value[Ra])}const Fd=ud?function(){const{state:Yd}=nd,Zd=Yd?Yd():{};this.$patch(Kd=>{assign(Kd,Zd)})}:noop$6;function Md(){cd.stop(),vd=[],Ad=[],od._s.delete(Ra)}const Ld=(mf,Yd="")=>{if(ACTION_MARKER in mf)return mf[ACTION_NAME]=Yd,mf;const Zd=function(){setActivePinia(od);const Kd=Array.from(arguments),bf=[],gf=[];function Ef(Af){bf.push(Af)}function yf(Af){gf.push(Af)}triggerSubscriptions(Ad,{args:Kd,name:Zd[ACTION_NAME],store:Gd,after:Ef,onError:yf});let xf;try{xf=mf.apply(this&&this.$id===Ra?this:Gd,Kd)}catch(Af){throw triggerSubscriptions(gf,Af),Af}return xf instanceof Promise?xf.then(Af=>(triggerSubscriptions(bf,Af),Af)).catch(Af=>(triggerSubscriptions(gf,Af),Promise.reject(Af))):(triggerSubscriptions(bf,xf),xf)};return Zd[ACTION_MARKER]=!0,Zd[ACTION_NAME]=Yd,Zd},Hd={_p:od,$id:Ra,$onAction:addSubscription.bind(null,Ad),$patch:jd,$reset:Fd,$subscribe(mf,Yd={}){const Zd=addSubscription(vd,mf,Yd.detached,()=>Kd()),Kd=cd.run(()=>watch(()=>od.state.value[Ra],bf=>{(Yd.flush==="sync"?md:fd)&&mf({storeId:Ra,type:MutationType.direct,events:Nd},bf)},assign({},pd,Yd)));return Zd},$dispose:Md},Gd=reactive(Hd);od._s.set(Ra,Gd);const Qd=(od._a&&od._a.runWithContext||fallbackRunWithContext)(()=>od._e.run(()=>(cd=effectScope()).run(()=>qa({action:Ld}))));for(const mf in Qd){const Yd=Qd[mf];if(isRef(Yd)&&!isComputed(Yd)||isReactive(Yd))ud||(Id&&shouldHydrate(Yd)&&(isRef(Yd)?Yd.value=Id[mf]:mergeReactiveObjects(Yd,Id[mf])),od.state.value[Ra][mf]=Yd);else if(typeof Yd=="function"){const Zd=Ld(Yd,mf);Qd[mf]=Zd,dd.actions[mf]=Yd}}return assign(Gd,Qd),assign(toRaw(Gd),Qd),Object.defineProperty(Gd,"$state",{get:()=>od.state.value[Ra],set:mf=>{jd(Yd=>{assign(Yd,mf)})}}),od._p.forEach(mf=>{assign(Gd,cd.run(()=>mf({store:Gd,app:od._a,pinia:od,options:dd})))}),Id&&ud&&nd.hydrate&&nd.hydrate(Gd.$state,Id),fd=!0,md=!0,Gd}/*! #__NO_SIDE_EFFECTS__ */function defineStore(Ra,qa,nd){let od,ld;const ud=typeof qa=="function";typeof Ra=="string"?(od=Ra,ld=ud?nd:qa):(ld=Ra,od=Ra.id);function cd(dd,pd){const fd=hasInjectionContext();return dd=dd||(fd?inject(piniaSymbol,null):null),dd&&setActivePinia(dd),dd=activePinia,dd._s.has(od)||(ud?createSetupStore(od,qa,ld,dd):createOptionsStore(od,ld,dd)),dd._s.get(od)}return cd.$id=od,cd}function storeToRefs(Ra){{const qa=toRaw(Ra),nd={};for(const od in qa){const ld=qa[od];(isRef(ld)||isReactive(ld))&&(nd[od]=toRef$1(Ra,od))}return nd}}const sides=["top","right","bottom","left"],min$1=Math.min,max$2=Math.max,round=Math.round,floor=Math.floor,createCoords=Ra=>({x:Ra,y:Ra}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp(Ra,qa,nd){return max$2(Ra,min$1(qa,nd))}function evaluate$1(Ra,qa){return typeof Ra=="function"?Ra(qa):Ra}function getSide(Ra){return Ra.split("-")[0]}function getAlignment(Ra){return Ra.split("-")[1]}function getOppositeAxis(Ra){return Ra==="x"?"y":"x"}function getAxisLength(Ra){return Ra==="y"?"height":"width"}function getSideAxis(Ra){return["top","bottom"].includes(getSide(Ra))?"y":"x"}function getAlignmentAxis(Ra){return getOppositeAxis(getSideAxis(Ra))}function getAlignmentSides(Ra,qa,nd){nd===void 0&&(nd=!1);const od=getAlignment(Ra),ld=getAlignmentAxis(Ra),ud=getAxisLength(ld);let cd=ld==="x"?od===(nd?"end":"start")?"right":"left":od==="start"?"bottom":"top";return qa.reference[ud]>qa.floating[ud]&&(cd=getOppositePlacement(cd)),[cd,getOppositePlacement(cd)]}function getExpandedPlacements(Ra){const qa=getOppositePlacement(Ra);return[getOppositeAlignmentPlacement(Ra),qa,getOppositeAlignmentPlacement(qa)]}function getOppositeAlignmentPlacement(Ra){return Ra.replace(/start|end/g,qa=>oppositeAlignmentMap[qa])}function getSideList(Ra,qa,nd){const od=["left","right"],ld=["right","left"],ud=["top","bottom"],cd=["bottom","top"];switch(Ra){case"top":case"bottom":return nd?qa?ld:od:qa?od:ld;case"left":case"right":return qa?ud:cd;default:return[]}}function getOppositeAxisPlacements(Ra,qa,nd,od){const ld=getAlignment(Ra);let ud=getSideList(getSide(Ra),nd==="start",od);return ld&&(ud=ud.map(cd=>cd+"-"+ld),qa&&(ud=ud.concat(ud.map(getOppositeAlignmentPlacement)))),ud}function getOppositePlacement(Ra){return Ra.replace(/left|right|bottom|top/g,qa=>oppositeSideMap[qa])}function expandPaddingObject(Ra){return{top:0,right:0,bottom:0,left:0,...Ra}}function getPaddingObject(Ra){return typeof Ra!="number"?expandPaddingObject(Ra):{top:Ra,right:Ra,bottom:Ra,left:Ra}}function rectToClientRect(Ra){const{x:qa,y:nd,width:od,height:ld}=Ra;return{width:od,height:ld,top:nd,left:qa,right:qa+od,bottom:nd+ld,x:qa,y:nd}}function computeCoordsFromPlacement(Ra,qa,nd){let{reference:od,floating:ld}=Ra;const ud=getSideAxis(qa),cd=getAlignmentAxis(qa),dd=getAxisLength(cd),pd=getSide(qa),fd=ud==="y",md=od.x+od.width/2-ld.width/2,vd=od.y+od.height/2-ld.height/2,Ad=od[dd]/2-ld[dd]/2;let Nd;switch(pd){case"top":Nd={x:md,y:od.y-ld.height};break;case"bottom":Nd={x:md,y:od.y+od.height};break;case"right":Nd={x:od.x+od.width,y:vd};break;case"left":Nd={x:od.x-ld.width,y:vd};break;default:Nd={x:od.x,y:od.y}}switch(getAlignment(qa)){case"start":Nd[cd]-=Ad*(nd&&fd?-1:1);break;case"end":Nd[cd]+=Ad*(nd&&fd?-1:1);break}return Nd}const computePosition$1=async(Ra,qa,nd)=>{const{placement:od="bottom",strategy:ld="absolute",middleware:ud=[],platform:cd}=nd,dd=ud.filter(Boolean),pd=await(cd.isRTL==null?void 0:cd.isRTL(qa));let fd=await cd.getElementRects({reference:Ra,floating:qa,strategy:ld}),{x:md,y:vd}=computeCoordsFromPlacement(fd,od,pd),Ad=od,Nd={},Id=0;for(let kd=0;kd({name:"arrow",options:Ra,async fn(qa){const{x:nd,y:od,placement:ld,rects:ud,platform:cd,elements:dd,middlewareData:pd}=qa,{element:fd,padding:md=0}=evaluate$1(Ra,qa)||{};if(fd==null)return{};const vd=getPaddingObject(md),Ad={x:nd,y:od},Nd=getAlignmentAxis(ld),Id=getAxisLength(Nd),kd=await cd.getDimensions(fd),jd=Nd==="y",Fd=jd?"top":"left",Md=jd?"bottom":"right",Ld=jd?"clientHeight":"clientWidth",Hd=ud.reference[Id]+ud.reference[Nd]-Ad[Nd]-ud.floating[Id],Gd=Ad[Nd]-ud.reference[Nd],Vd=await(cd.getOffsetParent==null?void 0:cd.getOffsetParent(fd));let Qd=Vd?Vd[Ld]:0;(!Qd||!await(cd.isElement==null?void 0:cd.isElement(Vd)))&&(Qd=dd.floating[Ld]||ud.floating[Id]);const mf=Hd/2-Gd/2,Yd=Qd/2-kd[Id]/2-1,Zd=min$1(vd[Fd],Yd),Kd=min$1(vd[Md],Yd),bf=Zd,gf=Qd-kd[Id]-Kd,Ef=Qd/2-kd[Id]/2+mf,yf=clamp(bf,Ef,gf),xf=!pd.arrow&&getAlignment(ld)!=null&&Ef!==yf&&ud.reference[Id]/2-(EfEf<=0)){var Kd,bf;const Ef=(((Kd=ud.flip)==null?void 0:Kd.index)||0)+1,yf=Qd[Ef];if(yf)return{data:{index:Ef,overflows:Zd},reset:{placement:yf}};let xf=(bf=Zd.filter(Af=>Af.overflows[0]<=0).sort((Af,Lf)=>Af.overflows[1]-Lf.overflows[1])[0])==null?void 0:bf.placement;if(!xf)switch(Nd){case"bestFit":{var gf;const Af=(gf=Zd.filter(Lf=>{if(Vd){const Xf=getSideAxis(Lf.placement);return Xf===Md||Xf==="y"}return!0}).map(Lf=>[Lf.placement,Lf.overflows.filter(Xf=>Xf>0).reduce((Xf,ih)=>Xf+ih,0)]).sort((Lf,Xf)=>Lf[1]-Xf[1])[0])==null?void 0:gf[0];Af&&(xf=Af);break}case"initialPlacement":xf=dd;break}if(ld!==xf)return{reset:{placement:xf}}}return{}}}};function getSideOffsets(Ra,qa){return{top:Ra.top-qa.height,right:Ra.right-qa.width,bottom:Ra.bottom-qa.height,left:Ra.left-qa.width}}function isAnySideFullyClipped(Ra){return sides.some(qa=>Ra[qa]>=0)}const hide$1=function(Ra){return Ra===void 0&&(Ra={}),{name:"hide",options:Ra,async fn(qa){const{rects:nd}=qa,{strategy:od="referenceHidden",...ld}=evaluate$1(Ra,qa);switch(od){case"referenceHidden":{const ud=await detectOverflow(qa,{...ld,elementContext:"reference"}),cd=getSideOffsets(ud,nd.reference);return{data:{referenceHiddenOffsets:cd,referenceHidden:isAnySideFullyClipped(cd)}}}case"escaped":{const ud=await detectOverflow(qa,{...ld,altBoundary:!0}),cd=getSideOffsets(ud,nd.floating);return{data:{escapedOffsets:cd,escaped:isAnySideFullyClipped(cd)}}}default:return{}}}}};async function convertValueToCoords(Ra,qa){const{placement:nd,platform:od,elements:ld}=Ra,ud=await(od.isRTL==null?void 0:od.isRTL(ld.floating)),cd=getSide(nd),dd=getAlignment(nd),pd=getSideAxis(nd)==="y",fd=["left","top"].includes(cd)?-1:1,md=ud&&pd?-1:1,vd=evaluate$1(qa,Ra);let{mainAxis:Ad,crossAxis:Nd,alignmentAxis:Id}=typeof vd=="number"?{mainAxis:vd,crossAxis:0,alignmentAxis:null}:{mainAxis:vd.mainAxis||0,crossAxis:vd.crossAxis||0,alignmentAxis:vd.alignmentAxis};return dd&&typeof Id=="number"&&(Nd=dd==="end"?Id*-1:Id),pd?{x:Nd*md,y:Ad*fd}:{x:Ad*fd,y:Nd*md}}const offset$1=function(Ra){return Ra===void 0&&(Ra=0),{name:"offset",options:Ra,async fn(qa){var nd,od;const{x:ld,y:ud,placement:cd,middlewareData:dd}=qa,pd=await convertValueToCoords(qa,Ra);return cd===((nd=dd.offset)==null?void 0:nd.placement)&&(od=dd.arrow)!=null&&od.alignmentOffset?{}:{x:ld+pd.x,y:ud+pd.y,data:{...pd,placement:cd}}}}},shift$1=function(Ra){return Ra===void 0&&(Ra={}),{name:"shift",options:Ra,async fn(qa){const{x:nd,y:od,placement:ld}=qa,{mainAxis:ud=!0,crossAxis:cd=!1,limiter:dd={fn:jd=>{let{x:Fd,y:Md}=jd;return{x:Fd,y:Md}}},...pd}=evaluate$1(Ra,qa),fd={x:nd,y:od},md=await detectOverflow(qa,pd),vd=getSideAxis(getSide(ld)),Ad=getOppositeAxis(vd);let Nd=fd[Ad],Id=fd[vd];if(ud){const jd=Ad==="y"?"top":"left",Fd=Ad==="y"?"bottom":"right",Md=Nd+md[jd],Ld=Nd-md[Fd];Nd=clamp(Md,Nd,Ld)}if(cd){const jd=vd==="y"?"top":"left",Fd=vd==="y"?"bottom":"right",Md=Id+md[jd],Ld=Id-md[Fd];Id=clamp(Md,Id,Ld)}const kd=dd.fn({...qa,[Ad]:Nd,[vd]:Id});return{...kd,data:{x:kd.x-nd,y:kd.y-od,enabled:{[Ad]:ud,[vd]:cd}}}}}},limitShift$1=function(Ra){return Ra===void 0&&(Ra={}),{options:Ra,fn(qa){const{x:nd,y:od,placement:ld,rects:ud,middlewareData:cd}=qa,{offset:dd=0,mainAxis:pd=!0,crossAxis:fd=!0}=evaluate$1(Ra,qa),md={x:nd,y:od},vd=getSideAxis(ld),Ad=getOppositeAxis(vd);let Nd=md[Ad],Id=md[vd];const kd=evaluate$1(dd,qa),jd=typeof kd=="number"?{mainAxis:kd,crossAxis:0}:{mainAxis:0,crossAxis:0,...kd};if(pd){const Ld=Ad==="y"?"height":"width",Hd=ud.reference[Ad]-ud.floating[Ld]+jd.mainAxis,Gd=ud.reference[Ad]+ud.reference[Ld]-jd.mainAxis;NdGd&&(Nd=Gd)}if(fd){var Fd,Md;const Ld=Ad==="y"?"width":"height",Hd=["top","left"].includes(getSide(ld)),Gd=ud.reference[vd]-ud.floating[Ld]+(Hd&&((Fd=cd.offset)==null?void 0:Fd[vd])||0)+(Hd?0:jd.crossAxis),Vd=ud.reference[vd]+ud.reference[Ld]+(Hd?0:((Md=cd.offset)==null?void 0:Md[vd])||0)-(Hd?jd.crossAxis:0);IdVd&&(Id=Vd)}return{[Ad]:Nd,[vd]:Id}}}},size$1=function(Ra){return Ra===void 0&&(Ra={}),{name:"size",options:Ra,async fn(qa){var nd,od;const{placement:ld,rects:ud,platform:cd,elements:dd}=qa,{apply:pd=()=>{},...fd}=evaluate$1(Ra,qa),md=await detectOverflow(qa,fd),vd=getSide(ld),Ad=getAlignment(ld),Nd=getSideAxis(ld)==="y",{width:Id,height:kd}=ud.floating;let jd,Fd;vd==="top"||vd==="bottom"?(jd=vd,Fd=Ad===(await(cd.isRTL==null?void 0:cd.isRTL(dd.floating))?"start":"end")?"left":"right"):(Fd=vd,jd=Ad==="end"?"top":"bottom");const Md=kd-md.top-md.bottom,Ld=Id-md.left-md.right,Hd=min$1(kd-md[jd],Md),Gd=min$1(Id-md[Fd],Ld),Vd=!qa.middlewareData.shift;let Qd=Hd,mf=Gd;if((nd=qa.middlewareData.shift)!=null&&nd.enabled.x&&(mf=Ld),(od=qa.middlewareData.shift)!=null&&od.enabled.y&&(Qd=Md),Vd&&!Ad){const Zd=max$2(md.left,0),Kd=max$2(md.right,0),bf=max$2(md.top,0),gf=max$2(md.bottom,0);Nd?mf=Id-2*(Zd!==0||Kd!==0?Zd+Kd:max$2(md.left,md.right)):Qd=kd-2*(bf!==0||gf!==0?bf+gf:max$2(md.top,md.bottom))}await pd({...qa,availableWidth:mf,availableHeight:Qd});const Yd=await cd.getDimensions(dd.floating);return Id!==Yd.width||kd!==Yd.height?{reset:{rects:!0}}:{}}}};function hasWindow(){return typeof window<"u"}function getNodeName(Ra){return isNode$2(Ra)?(Ra.nodeName||"").toLowerCase():"#document"}function getWindow(Ra){var qa;return(Ra==null||(qa=Ra.ownerDocument)==null?void 0:qa.defaultView)||window}function getDocumentElement(Ra){var qa;return(qa=(isNode$2(Ra)?Ra.ownerDocument:Ra.document)||window.document)==null?void 0:qa.documentElement}function isNode$2(Ra){return hasWindow()?Ra instanceof Node||Ra instanceof getWindow(Ra).Node:!1}function isElement$1(Ra){return hasWindow()?Ra instanceof Element||Ra instanceof getWindow(Ra).Element:!1}function isHTMLElement(Ra){return hasWindow()?Ra instanceof HTMLElement||Ra instanceof getWindow(Ra).HTMLElement:!1}function isShadowRoot(Ra){return!hasWindow()||typeof ShadowRoot>"u"?!1:Ra instanceof ShadowRoot||Ra instanceof getWindow(Ra).ShadowRoot}function isOverflowElement(Ra){const{overflow:qa,overflowX:nd,overflowY:od,display:ld}=getComputedStyle$1(Ra);return/auto|scroll|overlay|hidden|clip/.test(qa+od+nd)&&!["inline","contents"].includes(ld)}function isTableElement(Ra){return["table","td","th"].includes(getNodeName(Ra))}function isTopLayer(Ra){return[":popover-open",":modal"].some(qa=>{try{return Ra.matches(qa)}catch{return!1}})}function isContainingBlock(Ra){const qa=isWebKit(),nd=isElement$1(Ra)?getComputedStyle$1(Ra):Ra;return nd.transform!=="none"||nd.perspective!=="none"||(nd.containerType?nd.containerType!=="normal":!1)||!qa&&(nd.backdropFilter?nd.backdropFilter!=="none":!1)||!qa&&(nd.filter?nd.filter!=="none":!1)||["transform","perspective","filter"].some(od=>(nd.willChange||"").includes(od))||["paint","layout","strict","content"].some(od=>(nd.contain||"").includes(od))}function getContainingBlock(Ra){let qa=getParentNode(Ra);for(;isHTMLElement(qa)&&!isLastTraversableNode(qa);){if(isContainingBlock(qa))return qa;if(isTopLayer(qa))return null;qa=getParentNode(qa)}return null}function isWebKit(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(Ra){return["html","body","#document"].includes(getNodeName(Ra))}function getComputedStyle$1(Ra){return getWindow(Ra).getComputedStyle(Ra)}function getNodeScroll(Ra){return isElement$1(Ra)?{scrollLeft:Ra.scrollLeft,scrollTop:Ra.scrollTop}:{scrollLeft:Ra.scrollX,scrollTop:Ra.scrollY}}function getParentNode(Ra){if(getNodeName(Ra)==="html")return Ra;const qa=Ra.assignedSlot||Ra.parentNode||isShadowRoot(Ra)&&Ra.host||getDocumentElement(Ra);return isShadowRoot(qa)?qa.host:qa}function getNearestOverflowAncestor(Ra){const qa=getParentNode(Ra);return isLastTraversableNode(qa)?Ra.ownerDocument?Ra.ownerDocument.body:Ra.body:isHTMLElement(qa)&&isOverflowElement(qa)?qa:getNearestOverflowAncestor(qa)}function getOverflowAncestors(Ra,qa,nd){var od;qa===void 0&&(qa=[]),nd===void 0&&(nd=!0);const ld=getNearestOverflowAncestor(Ra),ud=ld===((od=Ra.ownerDocument)==null?void 0:od.body),cd=getWindow(ld);if(ud){const dd=getFrameElement(cd);return qa.concat(cd,cd.visualViewport||[],isOverflowElement(ld)?ld:[],dd&&nd?getOverflowAncestors(dd):[])}return qa.concat(ld,getOverflowAncestors(ld,[],nd))}function getFrameElement(Ra){return Ra.parent&&Object.getPrototypeOf(Ra.parent)?Ra.frameElement:null}function getCssDimensions(Ra){const qa=getComputedStyle$1(Ra);let nd=parseFloat(qa.width)||0,od=parseFloat(qa.height)||0;const ld=isHTMLElement(Ra),ud=ld?Ra.offsetWidth:nd,cd=ld?Ra.offsetHeight:od,dd=round(nd)!==ud||round(od)!==cd;return dd&&(nd=ud,od=cd),{width:nd,height:od,$:dd}}function unwrapElement$1(Ra){return isElement$1(Ra)?Ra:Ra.contextElement}function getScale(Ra){const qa=unwrapElement$1(Ra);if(!isHTMLElement(qa))return createCoords(1);const nd=qa.getBoundingClientRect(),{width:od,height:ld,$:ud}=getCssDimensions(qa);let cd=(ud?round(nd.width):nd.width)/od,dd=(ud?round(nd.height):nd.height)/ld;return(!cd||!Number.isFinite(cd))&&(cd=1),(!dd||!Number.isFinite(dd))&&(dd=1),{x:cd,y:dd}}const noOffsets=createCoords(0);function getVisualOffsets(Ra){const qa=getWindow(Ra);return!isWebKit()||!qa.visualViewport?noOffsets:{x:qa.visualViewport.offsetLeft,y:qa.visualViewport.offsetTop}}function shouldAddVisualOffsets(Ra,qa,nd){return qa===void 0&&(qa=!1),!nd||qa&&nd!==getWindow(Ra)?!1:qa}function getBoundingClientRect(Ra,qa,nd,od){qa===void 0&&(qa=!1),nd===void 0&&(nd=!1);const ld=Ra.getBoundingClientRect(),ud=unwrapElement$1(Ra);let cd=createCoords(1);qa&&(od?isElement$1(od)&&(cd=getScale(od)):cd=getScale(Ra));const dd=shouldAddVisualOffsets(ud,nd,od)?getVisualOffsets(ud):createCoords(0);let pd=(ld.left+dd.x)/cd.x,fd=(ld.top+dd.y)/cd.y,md=ld.width/cd.x,vd=ld.height/cd.y;if(ud){const Ad=getWindow(ud),Nd=od&&isElement$1(od)?getWindow(od):od;let Id=Ad,kd=getFrameElement(Id);for(;kd&&od&&Nd!==Id;){const jd=getScale(kd),Fd=kd.getBoundingClientRect(),Md=getComputedStyle$1(kd),Ld=Fd.left+(kd.clientLeft+parseFloat(Md.paddingLeft))*jd.x,Hd=Fd.top+(kd.clientTop+parseFloat(Md.paddingTop))*jd.y;pd*=jd.x,fd*=jd.y,md*=jd.x,vd*=jd.y,pd+=Ld,fd+=Hd,Id=getWindow(kd),kd=getFrameElement(Id)}}return rectToClientRect({width:md,height:vd,x:pd,y:fd})}function getWindowScrollBarX(Ra,qa){const nd=getNodeScroll(Ra).scrollLeft;return qa?qa.left+nd:getBoundingClientRect(getDocumentElement(Ra)).left+nd}function getHTMLOffset(Ra,qa,nd){nd===void 0&&(nd=!1);const od=Ra.getBoundingClientRect(),ld=od.left+qa.scrollLeft-(nd?0:getWindowScrollBarX(Ra,od)),ud=od.top+qa.scrollTop;return{x:ld,y:ud}}function convertOffsetParentRelativeRectToViewportRelativeRect(Ra){let{elements:qa,rect:nd,offsetParent:od,strategy:ld}=Ra;const ud=ld==="fixed",cd=getDocumentElement(od),dd=qa?isTopLayer(qa.floating):!1;if(od===cd||dd&&ud)return nd;let pd={scrollLeft:0,scrollTop:0},fd=createCoords(1);const md=createCoords(0),vd=isHTMLElement(od);if((vd||!vd&&!ud)&&((getNodeName(od)!=="body"||isOverflowElement(cd))&&(pd=getNodeScroll(od)),isHTMLElement(od))){const Nd=getBoundingClientRect(od);fd=getScale(od),md.x=Nd.x+od.clientLeft,md.y=Nd.y+od.clientTop}const Ad=cd&&!vd&&!ud?getHTMLOffset(cd,pd,!0):createCoords(0);return{width:nd.width*fd.x,height:nd.height*fd.y,x:nd.x*fd.x-pd.scrollLeft*fd.x+md.x+Ad.x,y:nd.y*fd.y-pd.scrollTop*fd.y+md.y+Ad.y}}function getClientRects(Ra){return Array.from(Ra.getClientRects())}function getDocumentRect(Ra){const qa=getDocumentElement(Ra),nd=getNodeScroll(Ra),od=Ra.ownerDocument.body,ld=max$2(qa.scrollWidth,qa.clientWidth,od.scrollWidth,od.clientWidth),ud=max$2(qa.scrollHeight,qa.clientHeight,od.scrollHeight,od.clientHeight);let cd=-nd.scrollLeft+getWindowScrollBarX(Ra);const dd=-nd.scrollTop;return getComputedStyle$1(od).direction==="rtl"&&(cd+=max$2(qa.clientWidth,od.clientWidth)-ld),{width:ld,height:ud,x:cd,y:dd}}function getViewportRect(Ra,qa){const nd=getWindow(Ra),od=getDocumentElement(Ra),ld=nd.visualViewport;let ud=od.clientWidth,cd=od.clientHeight,dd=0,pd=0;if(ld){ud=ld.width,cd=ld.height;const fd=isWebKit();(!fd||fd&&qa==="fixed")&&(dd=ld.offsetLeft,pd=ld.offsetTop)}return{width:ud,height:cd,x:dd,y:pd}}function getInnerBoundingClientRect(Ra,qa){const nd=getBoundingClientRect(Ra,!0,qa==="fixed"),od=nd.top+Ra.clientTop,ld=nd.left+Ra.clientLeft,ud=isHTMLElement(Ra)?getScale(Ra):createCoords(1),cd=Ra.clientWidth*ud.x,dd=Ra.clientHeight*ud.y,pd=ld*ud.x,fd=od*ud.y;return{width:cd,height:dd,x:pd,y:fd}}function getClientRectFromClippingAncestor(Ra,qa,nd){let od;if(qa==="viewport")od=getViewportRect(Ra,nd);else if(qa==="document")od=getDocumentRect(getDocumentElement(Ra));else if(isElement$1(qa))od=getInnerBoundingClientRect(qa,nd);else{const ld=getVisualOffsets(Ra);od={x:qa.x-ld.x,y:qa.y-ld.y,width:qa.width,height:qa.height}}return rectToClientRect(od)}function hasFixedPositionAncestor(Ra,qa){const nd=getParentNode(Ra);return nd===qa||!isElement$1(nd)||isLastTraversableNode(nd)?!1:getComputedStyle$1(nd).position==="fixed"||hasFixedPositionAncestor(nd,qa)}function getClippingElementAncestors(Ra,qa){const nd=qa.get(Ra);if(nd)return nd;let od=getOverflowAncestors(Ra,[],!1).filter(dd=>isElement$1(dd)&&getNodeName(dd)!=="body"),ld=null;const ud=getComputedStyle$1(Ra).position==="fixed";let cd=ud?getParentNode(Ra):Ra;for(;isElement$1(cd)&&!isLastTraversableNode(cd);){const dd=getComputedStyle$1(cd),pd=isContainingBlock(cd);!pd&&dd.position==="fixed"&&(ld=null),(ud?!pd&&!ld:!pd&&dd.position==="static"&&!!ld&&["absolute","fixed"].includes(ld.position)||isOverflowElement(cd)&&!pd&&hasFixedPositionAncestor(Ra,cd))?od=od.filter(md=>md!==cd):ld=dd,cd=getParentNode(cd)}return qa.set(Ra,od),od}function getClippingRect(Ra){let{element:qa,boundary:nd,rootBoundary:od,strategy:ld}=Ra;const cd=[...nd==="clippingAncestors"?isTopLayer(qa)?[]:getClippingElementAncestors(qa,this._c):[].concat(nd),od],dd=cd[0],pd=cd.reduce((fd,md)=>{const vd=getClientRectFromClippingAncestor(qa,md,ld);return fd.top=max$2(vd.top,fd.top),fd.right=min$1(vd.right,fd.right),fd.bottom=min$1(vd.bottom,fd.bottom),fd.left=max$2(vd.left,fd.left),fd},getClientRectFromClippingAncestor(qa,dd,ld));return{width:pd.right-pd.left,height:pd.bottom-pd.top,x:pd.left,y:pd.top}}function getDimensions(Ra){const{width:qa,height:nd}=getCssDimensions(Ra);return{width:qa,height:nd}}function getRectRelativeToOffsetParent(Ra,qa,nd){const od=isHTMLElement(qa),ld=getDocumentElement(qa),ud=nd==="fixed",cd=getBoundingClientRect(Ra,!0,ud,qa);let dd={scrollLeft:0,scrollTop:0};const pd=createCoords(0);if(od||!od&&!ud)if((getNodeName(qa)!=="body"||isOverflowElement(ld))&&(dd=getNodeScroll(qa)),od){const Ad=getBoundingClientRect(qa,!0,ud,qa);pd.x=Ad.x+qa.clientLeft,pd.y=Ad.y+qa.clientTop}else ld&&(pd.x=getWindowScrollBarX(ld));const fd=ld&&!od&&!ud?getHTMLOffset(ld,dd):createCoords(0),md=cd.left+dd.scrollLeft-pd.x-fd.x,vd=cd.top+dd.scrollTop-pd.y-fd.y;return{x:md,y:vd,width:cd.width,height:cd.height}}function isStaticPositioned(Ra){return getComputedStyle$1(Ra).position==="static"}function getTrueOffsetParent(Ra,qa){if(!isHTMLElement(Ra)||getComputedStyle$1(Ra).position==="fixed")return null;if(qa)return qa(Ra);let nd=Ra.offsetParent;return getDocumentElement(Ra)===nd&&(nd=nd.ownerDocument.body),nd}function getOffsetParent(Ra,qa){const nd=getWindow(Ra);if(isTopLayer(Ra))return nd;if(!isHTMLElement(Ra)){let ld=getParentNode(Ra);for(;ld&&!isLastTraversableNode(ld);){if(isElement$1(ld)&&!isStaticPositioned(ld))return ld;ld=getParentNode(ld)}return nd}let od=getTrueOffsetParent(Ra,qa);for(;od&&isTableElement(od)&&isStaticPositioned(od);)od=getTrueOffsetParent(od,qa);return od&&isLastTraversableNode(od)&&isStaticPositioned(od)&&!isContainingBlock(od)?nd:od||getContainingBlock(Ra)||nd}const getElementRects=async function(Ra){const qa=this.getOffsetParent||getOffsetParent,nd=this.getDimensions,od=await nd(Ra.floating);return{reference:getRectRelativeToOffsetParent(Ra.reference,await qa(Ra.floating),Ra.strategy),floating:{x:0,y:0,width:od.width,height:od.height}}};function isRTL(Ra){return getComputedStyle$1(Ra).direction==="rtl"}const platform$2={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement:isElement$1,isRTL};function observeMove(Ra,qa){let nd=null,od;const ld=getDocumentElement(Ra);function ud(){var dd;clearTimeout(od),(dd=nd)==null||dd.disconnect(),nd=null}function cd(dd,pd){dd===void 0&&(dd=!1),pd===void 0&&(pd=1),ud();const{left:fd,top:md,width:vd,height:Ad}=Ra.getBoundingClientRect();if(dd||qa(),!vd||!Ad)return;const Nd=floor(md),Id=floor(ld.clientWidth-(fd+vd)),kd=floor(ld.clientHeight-(md+Ad)),jd=floor(fd),Md={rootMargin:-Nd+"px "+-Id+"px "+-kd+"px "+-jd+"px",threshold:max$2(0,min$1(1,pd))||1};let Ld=!0;function Hd(Gd){const Vd=Gd[0].intersectionRatio;if(Vd!==pd){if(!Ld)return cd();Vd?cd(!1,Vd):od=setTimeout(()=>{cd(!1,1e-7)},1e3)}Ld=!1}try{nd=new IntersectionObserver(Hd,{...Md,root:ld.ownerDocument})}catch{nd=new IntersectionObserver(Hd,Md)}nd.observe(Ra)}return cd(!0),ud}function autoUpdate(Ra,qa,nd,od){od===void 0&&(od={});const{ancestorScroll:ld=!0,ancestorResize:ud=!0,elementResize:cd=typeof ResizeObserver=="function",layoutShift:dd=typeof IntersectionObserver=="function",animationFrame:pd=!1}=od,fd=unwrapElement$1(Ra),md=ld||ud?[...fd?getOverflowAncestors(fd):[],...getOverflowAncestors(qa)]:[];md.forEach(Fd=>{ld&&Fd.addEventListener("scroll",nd,{passive:!0}),ud&&Fd.addEventListener("resize",nd)});const vd=fd&&dd?observeMove(fd,nd):null;let Ad=-1,Nd=null;cd&&(Nd=new ResizeObserver(Fd=>{let[Md]=Fd;Md&&Md.target===fd&&Nd&&(Nd.unobserve(qa),cancelAnimationFrame(Ad),Ad=requestAnimationFrame(()=>{var Ld;(Ld=Nd)==null||Ld.observe(qa)})),nd()}),fd&&!pd&&Nd.observe(fd),Nd.observe(qa));let Id,kd=pd?getBoundingClientRect(Ra):null;pd&&jd();function jd(){const Fd=getBoundingClientRect(Ra);kd&&(Fd.x!==kd.x||Fd.y!==kd.y||Fd.width!==kd.width||Fd.height!==kd.height)&&nd(),kd=Fd,Id=requestAnimationFrame(jd)}return nd(),()=>{var Fd;md.forEach(Md=>{ld&&Md.removeEventListener("scroll",nd),ud&&Md.removeEventListener("resize",nd)}),vd==null||vd(),(Fd=Nd)==null||Fd.disconnect(),Nd=null,pd&&cancelAnimationFrame(Id)}}const offset=offset$1,shift=shift$1,flip=flip$1,size=size$1,hide=hide$1,arrow$1=arrow$2,limitShift=limitShift$1,computePosition=(Ra,qa,nd)=>{const od=new Map,ld={platform:platform$2,...nd},ud={...ld.platform,_c:od};return computePosition$1(Ra,qa,{...ld,platform:ud})};function isComponentPublicInstance(Ra){return Ra!=null&&typeof Ra=="object"&&"$el"in Ra}function unwrapElement(Ra){if(isComponentPublicInstance(Ra)){const qa=Ra.$el;return isNode$2(qa)&&getNodeName(qa)==="#comment"?null:qa}return Ra}function toValue$2(Ra){return typeof Ra=="function"?Ra():unref(Ra)}function arrow(Ra){return{name:"arrow",options:Ra,fn(qa){const nd=unwrapElement(toValue$2(Ra.element));return nd==null?{}:arrow$1({element:nd,padding:Ra.padding}).fn(qa)}}}function getDPR(Ra){return typeof window>"u"?1:(Ra.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(Ra,qa){const nd=getDPR(Ra);return Math.round(qa*nd)/nd}function useFloating(Ra,qa,nd){nd===void 0&&(nd={});const od=nd.whileElementsMounted,ld=computed(()=>{var Qd;return(Qd=toValue$2(nd.open))!=null?Qd:!0}),ud=computed(()=>toValue$2(nd.middleware)),cd=computed(()=>{var Qd;return(Qd=toValue$2(nd.placement))!=null?Qd:"bottom"}),dd=computed(()=>{var Qd;return(Qd=toValue$2(nd.strategy))!=null?Qd:"absolute"}),pd=computed(()=>{var Qd;return(Qd=toValue$2(nd.transform))!=null?Qd:!0}),fd=computed(()=>unwrapElement(Ra.value)),md=computed(()=>unwrapElement(qa.value)),vd=ref$1(0),Ad=ref$1(0),Nd=ref$1(dd.value),Id=ref$1(cd.value),kd=shallowRef({}),jd=ref$1(!1),Fd=computed(()=>{const Qd={position:Nd.value,left:"0",top:"0"};if(!md.value)return Qd;const mf=roundByDPR(md.value,vd.value),Yd=roundByDPR(md.value,Ad.value);return pd.value?{...Qd,transform:"translate("+mf+"px, "+Yd+"px)",...getDPR(md.value)>=1.5&&{willChange:"transform"}}:{position:Nd.value,left:mf+"px",top:Yd+"px"}});let Md;function Ld(){if(fd.value==null||md.value==null)return;const Qd=ld.value;computePosition(fd.value,md.value,{middleware:ud.value,placement:cd.value,strategy:dd.value}).then(mf=>{vd.value=mf.x,Ad.value=mf.y,Nd.value=mf.strategy,Id.value=mf.placement,kd.value=mf.middlewareData,jd.value=Qd!==!1})}function Hd(){typeof Md=="function"&&(Md(),Md=void 0)}function Gd(){if(Hd(),od===void 0){Ld();return}if(fd.value!=null&&md.value!=null){Md=od(fd.value,md.value,Ld);return}}function Vd(){ld.value||(jd.value=!1)}return watch([ud,cd,dd,ld],Ld,{flush:"sync"}),watch([fd,md],Gd,{flush:"sync"}),watch(ld,Vd,{flush:"sync"}),getCurrentScope()&&onScopeDispose(Hd),{x:shallowReadonly(vd),y:shallowReadonly(Ad),strategy:shallowReadonly(Nd),placement:shallowReadonly(Id),middlewareData:shallowReadonly(kd),isPositioned:shallowReadonly(jd),floatingStyles:Fd,update:Ld}}let $488c6ddbf4ef74c2$var$formatterCache=new Map,$488c6ddbf4ef74c2$var$supportsSignDisplay=!1;try{$488c6ddbf4ef74c2$var$supportsSignDisplay=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let $488c6ddbf4ef74c2$var$supportsUnit=!1;try{$488c6ddbf4ef74c2$var$supportsUnit=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const $488c6ddbf4ef74c2$var$UNITS={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5{format(qa){let nd="";if(!$488c6ddbf4ef74c2$var$supportsSignDisplay&&this.options.signDisplay!=null?nd=$488c6ddbf4ef74c2$export$711b50b3c525e0f2(this.numberFormatter,this.options.signDisplay,qa):nd=this.numberFormatter.format(qa),this.options.style==="unit"&&!$488c6ddbf4ef74c2$var$supportsUnit){var od;let{unit:ld,unitDisplay:ud="short",locale:cd}=this.resolvedOptions();if(!ld)return nd;let dd=(od=$488c6ddbf4ef74c2$var$UNITS[ld])===null||od===void 0?void 0:od[ud];nd+=dd[cd]||dd.default}return nd}formatToParts(qa){return this.numberFormatter.formatToParts(qa)}formatRange(qa,nd){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(qa,nd);if(nd= start date");return`${this.format(qa)} – ${this.format(nd)}`}formatRangeToParts(qa,nd){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(qa,nd);if(nd= start date");let od=this.numberFormatter.formatToParts(qa),ld=this.numberFormatter.formatToParts(nd);return[...od.map(ud=>({...ud,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...ld.map(ud=>({...ud,source:"endRange"}))]}resolvedOptions(){let qa=this.numberFormatter.resolvedOptions();return!$488c6ddbf4ef74c2$var$supportsSignDisplay&&this.options.signDisplay!=null&&(qa={...qa,signDisplay:this.options.signDisplay}),!$488c6ddbf4ef74c2$var$supportsUnit&&this.options.style==="unit"&&(qa={...qa,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),qa}constructor(qa,nd={}){this.numberFormatter=$488c6ddbf4ef74c2$var$getCachedNumberFormatter(qa,nd),this.options=nd}}function $488c6ddbf4ef74c2$var$getCachedNumberFormatter(Ra,qa={}){let{numberingSystem:nd}=qa;if(nd&&Ra.includes("-nu-")&&(Ra.includes("-u-")||(Ra+="-u-"),Ra+=`-nu-${nd}`),qa.style==="unit"&&!$488c6ddbf4ef74c2$var$supportsUnit){var od;let{unit:cd,unitDisplay:dd="short"}=qa;if(!cd)throw new Error('unit option must be provided with style: "unit"');if(!(!((od=$488c6ddbf4ef74c2$var$UNITS[cd])===null||od===void 0)&&od[dd]))throw new Error(`Unsupported unit ${cd} with unitDisplay = ${dd}`);qa={...qa,style:"decimal"}}let ld=Ra+(qa?Object.entries(qa).sort((cd,dd)=>cd[0]0||Object.is(nd,0):qa==="exceptZero"&&(Object.is(nd,-0)||Object.is(nd,0)?nd=Math.abs(nd):od=nd>0),od){let ld=Ra.format(-nd),ud=Ra.format(nd),cd=ld.replace(ud,"").replace(/\u200e|\u061C/,"");return[...cd].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),ld.replace(ud,"!!!").replace(cd,"+").replace("!!!",ud)}else return Ra.format(nd)}}const $6c7bd7858deea686$var$CURRENCY_SIGN_REGEX=new RegExp("^.*\\(.*\\).*$"),$6c7bd7858deea686$var$NUMBERING_SYSTEMS=["latn","arab","hanidec","deva","beng"];class $6c7bd7858deea686$export$cd11ab140839f11d{parse(qa){return $6c7bd7858deea686$var$getNumberParserImpl(this.locale,this.options,qa).parse(qa)}isValidPartialNumber(qa,nd,od){return $6c7bd7858deea686$var$getNumberParserImpl(this.locale,this.options,qa).isValidPartialNumber(qa,nd,od)}getNumberingSystem(qa){return $6c7bd7858deea686$var$getNumberParserImpl(this.locale,this.options,qa).options.numberingSystem}constructor(qa,nd={}){this.locale=qa,this.options=nd}}const $6c7bd7858deea686$var$numberParserCache=new Map;function $6c7bd7858deea686$var$getNumberParserImpl(Ra,qa,nd){let od=$6c7bd7858deea686$var$getCachedNumberParser(Ra,qa);if(!Ra.includes("-nu-")&&!od.isValidPartialNumber(nd)){for(let ld of $6c7bd7858deea686$var$NUMBERING_SYSTEMS)if(ld!==od.options.numberingSystem){let ud=$6c7bd7858deea686$var$getCachedNumberParser(Ra+(Ra.includes("-u-")?"-nu-":"-u-nu-")+ld,qa);if(ud.isValidPartialNumber(nd))return ud}}return od}function $6c7bd7858deea686$var$getCachedNumberParser(Ra,qa){let nd=Ra+(qa?Object.entries(qa).sort((ld,ud)=>ld[0]-1&&(nd=`-${nd}`)}let od=nd?+nd:NaN;if(isNaN(od))return NaN;if(this.options.style==="percent"){var ld,ud;let cd={...this.options,style:"decimal",minimumFractionDigits:Math.min(((ld=this.options.minimumFractionDigits)!==null&&ld!==void 0?ld:0)+2,20),maximumFractionDigits:Math.min(((ud=this.options.maximumFractionDigits)!==null&&ud!==void 0?ud:0)+2,20)};return new $6c7bd7858deea686$export$cd11ab140839f11d(this.locale,cd).parse(new $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5(this.locale,cd).format(od))}return this.options.currencySign==="accounting"&&$6c7bd7858deea686$var$CURRENCY_SIGN_REGEX.test(qa)&&(od=-1*od),od}sanitize(qa){return qa=qa.replace(this.symbols.literals,""),this.symbols.minusSign&&(qa=qa.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(qa=qa.replace(",",this.symbols.decimal),qa=qa.replace("،",this.symbols.decimal)),this.symbols.group&&(qa=$6c7bd7858deea686$var$replaceAll(qa,".",this.symbols.group))),this.options.locale==="fr-FR"&&(qa=$6c7bd7858deea686$var$replaceAll(qa,"."," ")),qa}isValidPartialNumber(qa,nd=-1/0,od=1/0){return qa=this.sanitize(qa),this.symbols.minusSign&&qa.startsWith(this.symbols.minusSign)&&nd<0?qa=qa.slice(this.symbols.minusSign.length):this.symbols.plusSign&&qa.startsWith(this.symbols.plusSign)&&od>0&&(qa=qa.slice(this.symbols.plusSign.length)),this.symbols.group&&qa.startsWith(this.symbols.group)||this.symbols.decimal&&qa.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(qa=$6c7bd7858deea686$var$replaceAll(qa,this.symbols.group,"")),qa=qa.replace(this.symbols.numeral,""),this.symbols.decimal&&(qa=qa.replace(this.symbols.decimal,"")),qa.length===0)}constructor(qa,nd={}){this.locale=qa,this.formatter=new Intl.NumberFormat(qa,nd),this.options=this.formatter.resolvedOptions(),this.symbols=$6c7bd7858deea686$var$getSymbols(qa,this.formatter,this.options,nd);var od,ld;this.options.style==="percent"&&(((od=this.options.minimumFractionDigits)!==null&&od!==void 0?od:0)>18||((ld=this.options.maximumFractionDigits)!==null&&ld!==void 0?ld:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const $6c7bd7858deea686$var$nonLiteralParts=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),$6c7bd7858deea686$var$pluralNumbers=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function $6c7bd7858deea686$var$getSymbols(Ra,qa,nd,od){var ld,ud,cd,dd;let pd=new Intl.NumberFormat(Ra,{...nd,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),fd=pd.formatToParts(-10000.111),md=pd.formatToParts(10000.111),vd=$6c7bd7858deea686$var$pluralNumbers.map(Zd=>pd.formatToParts(Zd));var Ad;let Nd=(Ad=(ld=fd.find(Zd=>Zd.type==="minusSign"))===null||ld===void 0?void 0:ld.value)!==null&&Ad!==void 0?Ad:"-",Id=(ud=md.find(Zd=>Zd.type==="plusSign"))===null||ud===void 0?void 0:ud.value;!Id&&((od==null?void 0:od.signDisplay)==="exceptZero"||(od==null?void 0:od.signDisplay)==="always")&&(Id="+");let jd=(cd=new Intl.NumberFormat(Ra,{...nd,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(Zd=>Zd.type==="decimal"))===null||cd===void 0?void 0:cd.value,Fd=(dd=fd.find(Zd=>Zd.type==="group"))===null||dd===void 0?void 0:dd.value,Md=fd.filter(Zd=>!$6c7bd7858deea686$var$nonLiteralParts.has(Zd.type)).map(Zd=>$6c7bd7858deea686$var$escapeRegex(Zd.value)),Ld=vd.flatMap(Zd=>Zd.filter(Kd=>!$6c7bd7858deea686$var$nonLiteralParts.has(Kd.type)).map(Kd=>$6c7bd7858deea686$var$escapeRegex(Kd.value))),Hd=[...new Set([...Md,...Ld])].sort((Zd,Kd)=>Kd.length-Zd.length),Gd=Hd.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${Hd.join("|")}|[\\p{White_Space}]`,"gu"),Vd=[...new Intl.NumberFormat(nd.locale,{useGrouping:!1}).format(9876543210)].reverse(),Qd=new Map(Vd.map((Zd,Kd)=>[Zd,Kd])),mf=new RegExp(`[${Vd.join("")}]`,"g");return{minusSign:Nd,plusSign:Id,decimal:jd,group:Fd,literals:Gd,numeral:mf,index:Zd=>String(Qd.get(Zd))}}function $6c7bd7858deea686$var$replaceAll(Ra,qa,nd){return Ra.replaceAll?Ra.replaceAll(qa,nd):Ra.split(qa).join(nd)}function $6c7bd7858deea686$var$escapeRegex(Ra){return Ra.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Q$6(Ra,qa){const nd=typeof Ra=="string"&&!qa?`${Ra}Context`:qa,od=Symbol(nd);return[ld=>{const ud=inject(od,ld);if(ud||ud===null)return ud;throw new Error(`Injection \`${od.toString()}\` not found. Component must be used within ${Array.isArray(Ra)?`one of the following components: ${Ra.join(", ")}`:`\`${Ra}\``}`)},ld=>(provide(od,ld),ld)]}function Ht$4(Ra,qa,nd){const od=nd.originalEvent.target,ld=new CustomEvent(Ra,{bubbles:!1,cancelable:!0,detail:nd});qa&&od.addEventListener(Ra,qa,{once:!0}),od.dispatchEvent(ld)}function Wt$4(Ra,qa=Number.NEGATIVE_INFINITY,nd=Number.POSITIVE_INFINITY){return Math.min(Math.max(Ra,qa),nd)}function Ea$1(Ra,qa){let nd=Ra;const od=qa.toString(),ld=od.indexOf("."),ud=ld>=0?od.length-ld:0;if(ud>0){const cd=10**ud;nd=Math.round(nd*cd)/cd}return nd}function Nr$4(Ra,qa,nd,od){qa=Number(qa),nd=Number(nd);const ld=(Ra-(Number.isNaN(qa)?0:qa))%od;let ud=Ea$1(Math.abs(ld)*2>=od?Ra+Math.sign(ld)*(od-Math.abs(ld)):Ra-ld,od);return Number.isNaN(qa)?!Number.isNaN(nd)&&ud>nd&&(ud=Math.floor(Ea$1(nd/od,od))*od):udnd&&(ud=qa+Math.floor(Ea$1((nd-qa)/od,od))*od),ud=Ea$1(ud,od),ud}function Kt$2(Ra){return Ra==null}function Jr$4(Ra,qa){var nd;const od=shallowRef();return watchEffect(()=>{od.value=Ra()},{...qa,flush:(nd=void 0)!=null?nd:"sync"}),readonly(od)}function ht$4(Ra){return getCurrentScope()?(onScopeDispose(Ra),!0):!1}function ia$1(){const Ra=new Set,qa=nd=>{Ra.delete(nd)};return{on:nd=>{Ra.add(nd);const od=()=>qa(nd);return ht$4(od),{off:od}},off:qa,trigger:(...nd)=>Promise.all(Array.from(Ra).map(od=>od(...nd)))}}function ei$4(Ra){let qa=!1,nd;const od=effectScope(!0);return(...ld)=>(qa||(nd=od.run(()=>Ra(...ld)),qa=!0),nd)}function xl$3(Ra){let qa=0,nd,od;const ld=()=>{qa-=1,od&&qa<=0&&(od.stop(),nd=void 0,od=void 0)};return(...ud)=>(qa+=1,nd||(od=effectScope(!0),nd=od.run(()=>Ra(...ud))),ht$4(ld),nd)}function Ke$4(Ra){return typeof Ra=="function"?Ra():unref(Ra)}function ti$4(Ra){if(!isRef(Ra))return reactive(Ra);const qa=new Proxy({},{get(nd,od,ld){return unref(Reflect.get(Ra.value,od,ld))},set(nd,od,ld){return isRef(Ra.value[od])&&!isRef(ld)?Ra.value[od].value=ld:Ra.value[od]=ld,!0},deleteProperty(nd,od){return Reflect.deleteProperty(Ra.value,od)},has(nd,od){return Reflect.has(Ra.value,od)},ownKeys(){return Object.keys(Ra.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return reactive(qa)}function Sl$3(Ra){return ti$4(computed(Ra))}const qe$3=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ai$4=Ra=>typeof Ra<"u",oi$4=Object.prototype.toString,li$4=Ra=>oi$4.call(Ra)==="[object Object]",Va$1=()=>{},zo$1=si$4();function si$4(){var Ra,qa;return qe$3&&((Ra=window==null?void 0:window.navigator)==null?void 0:Ra.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((qa=window==null?void 0:window.navigator)==null?void 0:qa.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function El$3(Ra,qa){function nd(...od){return new Promise((ld,ud)=>{Promise.resolve(Ra(()=>qa.apply(this,od),{fn:qa,thisArg:this,args:od})).then(ld).catch(ud)})}return nd}const Pl$3=Ra=>Ra();function ii$4(Ra=Pl$3){const qa=ref$1(!0);function nd(){qa.value=!1}function od(){qa.value=!0}const ld=(...ud)=>{qa.value&&Ra(...ud)};return{isActive:readonly(qa),pause:nd,resume:od,eventFilter:ld}}function Dl$3(Ra){return getCurrentInstance()}function $t$4(Ra,qa=1e4){return customRef((nd,od)=>{let ld=Ke$4(Ra),ud;const cd=()=>setTimeout(()=>{ld=Ke$4(Ra),od()},Ke$4(qa));return ht$4(()=>{clearTimeout(ud)}),{get(){return nd(),ld},set(dd){ld=dd,od(),clearTimeout(ud),ud=cd()}}})}function ui$4(Ra,qa,nd={}){const{eventFilter:od=Pl$3,...ld}=nd;return watch(Ra,El$3(od,qa),ld)}function Ko$2(Ra,qa,nd={}){const{eventFilter:od,...ld}=nd,{eventFilter:ud,pause:cd,resume:dd,isActive:pd}=ii$4(od);return{stop:ui$4(Ra,qa,{...ld,eventFilter:ud}),pause:cd,resume:dd,isActive:pd}}function di$4(Ra,qa,...[nd]){const{flush:od="sync",deep:ld=!1,immediate:ud=!0,direction:cd="both",transform:dd={}}=nd||{},pd=[],fd="ltr"in dd&&dd.ltr||(vd=>vd),md="rtl"in dd&&dd.rtl||(vd=>vd);return(cd==="both"||cd==="ltr")&&pd.push(Ko$2(Ra,vd=>{pd.forEach(Ad=>Ad.pause()),qa.value=fd(vd),pd.forEach(Ad=>Ad.resume())},{flush:od,deep:ld,immediate:ud})),(cd==="both"||cd==="rtl")&&pd.push(Ko$2(qa,vd=>{pd.forEach(Ad=>Ad.pause()),Ra.value=md(vd),pd.forEach(Ad=>Ad.resume())},{flush:od,deep:ld,immediate:ud})),()=>{pd.forEach(vd=>vd.stop())}}function ci$4(Ra,qa){Dl$3()&&onBeforeUnmount(Ra,qa)}function $e$4(Ra){var qa;const nd=Ke$4(Ra);return(qa=nd==null?void 0:nd.$el)!=null?qa:nd}const qt$5=qe$3?window:void 0;function Le$6(...Ra){let qa,nd,od,ld;if(typeof Ra[0]=="string"||Array.isArray(Ra[0])?([nd,od,ld]=Ra,qa=qt$5):[qa,nd,od,ld]=Ra,!qa)return Va$1;Array.isArray(nd)||(nd=[nd]),Array.isArray(od)||(od=[od]);const ud=[],cd=()=>{ud.forEach(md=>md()),ud.length=0},dd=(md,vd,Ad,Nd)=>(md.addEventListener(vd,Ad,Nd),()=>md.removeEventListener(vd,Ad,Nd)),pd=watch(()=>[$e$4(qa),Ke$4(ld)],([md,vd])=>{if(cd(),!md)return;const Ad=li$4(vd)?{...vd}:vd;ud.push(...nd.flatMap(Nd=>od.map(Id=>dd(md,Nd,Id,Ad))))},{immediate:!0,flush:"post"}),fd=()=>{pd(),cd()};return ht$4(fd),fd}function mi$2(Ra){return typeof Ra=="function"?Ra:typeof Ra=="string"?qa=>qa.key===Ra:Array.isArray(Ra)?qa=>Ra.includes(qa.key):()=>!0}function jn$3(...Ra){let qa,nd,od={};Ra.length===3?(qa=Ra[0],nd=Ra[1],od=Ra[2]):Ra.length===2?typeof Ra[1]=="object"?(qa=!0,nd=Ra[0],od=Ra[1]):(qa=Ra[0],nd=Ra[1]):(qa=!0,nd=Ra[0]);const{target:ld=qt$5,eventName:ud="keydown",passive:cd=!1,dedupe:dd=!1}=od,pd=mi$2(qa);return Le$6(ld,ud,fd=>{fd.repeat&&Ke$4(dd)||pd(fd)&&nd(fd)},cd)}function ja$1(){const Ra=ref$1(!1),qa=getCurrentInstance();return qa&&onMounted(()=>{Ra.value=!0},qa),Ra}function yi$3(Ra){return JSON.parse(JSON.stringify(Ra))}function ne$6(Ra,qa,nd,od={}){var ld,ud,cd;const{clone:dd=!1,passive:pd=!1,eventName:fd,deep:md=!1,defaultValue:vd,shouldEmit:Ad}=od,Nd=getCurrentInstance(),Id=nd||(Nd==null?void 0:Nd.emit)||((ld=Nd==null?void 0:Nd.$emit)==null?void 0:ld.bind(Nd))||((cd=(ud=Nd==null?void 0:Nd.proxy)==null?void 0:ud.$emit)==null?void 0:cd.bind(Nd==null?void 0:Nd.proxy));let kd=fd;qa||(qa="modelValue"),kd=kd||`update:${qa.toString()}`;const jd=Ld=>dd?typeof dd=="function"?dd(Ld):yi$3(Ld):Ld,Fd=()=>ai$4(Ra[qa])?jd(Ra[qa]):vd,Md=Ld=>{Ad?Ad(Ld)&&Id(kd,Ld):Id(kd,Ld)};if(pd){const Ld=Fd(),Hd=ref$1(Ld);let Gd=!1;return watch(()=>Ra[qa],Vd=>{Gd||(Gd=!0,Hd.value=jd(Vd),nextTick$1(()=>Gd=!1))}),watch(Hd,Vd=>{!Gd&&(Vd!==Ra[qa]||md)&&Md(Vd)},{deep:md}),Hd}else return computed({get(){return Fd()},set(Ld){Md(Ld)}})}function Ua$3(Ra){return Ra?Ra.flatMap(qa=>qa.type===Fragment?Ua$3(qa.children):[qa]):[]}const Ci$2=["INPUT","TEXTAREA"];function Bt$5(Ra,qa,nd,od={}){if(!qa||od.enableIgnoredElement&&Ci$2.includes(qa.nodeName))return null;const{arrowKeyOptions:ld="both",attributeName:ud="[data-radix-vue-collection-item]",itemsArray:cd=[],loop:dd=!0,dir:pd="ltr",preventScroll:fd=!0,focus:md=!1}=od,[vd,Ad,Nd,Id,kd,jd]=[Ra.key==="ArrowRight",Ra.key==="ArrowLeft",Ra.key==="ArrowUp",Ra.key==="ArrowDown",Ra.key==="Home",Ra.key==="End"],Fd=Nd||Id,Md=vd||Ad;if(!kd&&!jd&&(!Fd&&!Md||ld==="vertical"&&Md||ld==="horizontal"&&Fd))return null;const Ld=nd?Array.from(nd.querySelectorAll(ud)):cd;if(!Ld.length)return null;fd&&Ra.preventDefault();let Hd=null;return Md||Fd?Hd=Rl$3(Ld,qa,{goForward:Fd?Id:pd==="ltr"?vd:Ad,loop:dd}):kd?Hd=Ld.at(0)||null:jd&&(Hd=Ld.at(-1)||null),md&&(Hd==null||Hd.focus()),Hd}function Rl$3(Ra,qa,nd,od=Ra.length){if(--od===0)return null;const ld=Ra.indexOf(qa),ud=nd.goForward?ld+1:ld-1;if(!nd.loop&&(ud<0||ud>=Ra.length))return null;const cd=(ud+Ra.length)%Ra.length,dd=Ra[cd];return dd?dd.hasAttribute("disabled")&&dd.getAttribute("disabled")!=="false"?Rl$3(Ra,dd,nd,od):dd:null}function gn$4(Ra){if(Ra===null||typeof Ra!="object")return!1;const qa=Object.getPrototypeOf(Ra);return qa!==null&&qa!==Object.prototype&&Object.getPrototypeOf(qa)!==null||Symbol.iterator in Ra?!1:Symbol.toStringTag in Ra?Object.prototype.toString.call(Ra)==="[object Module]":!0}function Pn$4(Ra,qa,nd=".",od){if(!gn$4(qa))return Pn$4(Ra,{},nd);const ld=Object.assign({},qa);for(const ud in Ra){if(ud==="__proto__"||ud==="constructor")continue;const cd=Ra[ud];cd!=null&&(Array.isArray(cd)&&Array.isArray(ld[ud])?ld[ud]=[...cd,...ld[ud]]:gn$4(cd)&&gn$4(ld[ud])?ld[ud]=Pn$4(cd,ld[ud],(nd?`${nd}.`:"")+ud.toString()):ld[ud]=cd)}return ld}function wi$2(Ra){return(...qa)=>qa.reduce((nd,od)=>Pn$4(nd,od,""),{})}const _i$2=wi$2(),[Ga$2,xi$2]=Q$6("ConfigProvider");let Si$2="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Ei$2=(Ra=21)=>{let qa="",nd=Ra;for(;nd--;)qa+=Si$2[Math.random()*64|0];return qa};const Pi$2=xl$3(()=>{const Ra=ref$1(new Map),qa=ref$1(),nd=computed(()=>{for(const cd of Ra.value.values())if(cd)return!0;return!1}),od=Ga$2({scrollBody:ref$1(!0)});let ld=null;const ud=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.body.style.removeProperty("--scrollbar-width"),document.body.style.overflow=qa.value??"",zo$1&&(ld==null||ld()),qa.value=void 0};return watch(nd,(cd,dd)=>{var pd;if(!qe$3)return;if(!cd){dd&&ud();return}qa.value===void 0&&(qa.value=document.body.style.overflow);const fd=window.innerWidth-document.documentElement.clientWidth,md={padding:fd,margin:0},vd=(pd=od.scrollBody)!=null&&pd.value?typeof od.scrollBody.value=="object"?_i$2({padding:od.scrollBody.value.padding===!0?fd:od.scrollBody.value.padding,margin:od.scrollBody.value.margin===!0?fd:od.scrollBody.value.margin},md):md:{padding:0,margin:0};fd>0&&(document.body.style.paddingRight=typeof vd.padding=="number"?`${vd.padding}px`:String(vd.padding),document.body.style.marginRight=typeof vd.margin=="number"?`${vd.margin}px`:String(vd.margin),document.body.style.setProperty("--scrollbar-width",`${fd}px`),document.body.style.overflow="hidden"),zo$1&&(ld=Le$6(document,"touchmove",Ad=>Di$3(Ad),{passive:!1})),nextTick$1(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),Ra});function ha$1(Ra){const qa=Ei$2(6),nd=Pi$2();nd.value.set(qa,Ra??!1);const od=computed({get:()=>nd.value.get(qa)??!1,set:ld=>nd.value.set(qa,ld)});return ci$4(()=>{nd.value.delete(qa)}),od}function Al$3(Ra){const qa=window.getComputedStyle(Ra);if(qa.overflowX==="scroll"||qa.overflowY==="scroll"||qa.overflowX==="auto"&&Ra.clientWidth1?!0:(qa.preventDefault&&qa.cancelable&&qa.preventDefault(),!1)}const $i$2="data-radix-vue-collection-item";function Me$7(Ra,qa=$i$2){const nd=Ra??Symbol();return{createCollection:od=>{const ld=ref$1([]);function ud(){const cd=$e$4(od);return cd?ld.value=Array.from(cd.querySelectorAll(`[${qa}]:not([data-disabled])`)):ld.value=[]}return onBeforeUpdate(()=>{ld.value=[]}),onMounted(ud),onUpdated(ud),watch(()=>od==null?void 0:od.value,ud,{immediate:!0}),provide(nd,ld),ld},injectCollection:()=>inject(nd,ref$1([]))}}function be$8(Ra){const qa=Ga$2({dir:ref$1("ltr")});return computed(()=>{var nd;return(Ra==null?void 0:Ra.value)||((nd=qa.dir)==null?void 0:nd.value)||"ltr"})}function Ae$6(Ra){const qa=getCurrentInstance(),nd=qa==null?void 0:qa.type.emits,od={};return nd!=null&&nd.length||console.warn(`No emitted event found. Please check component: ${qa==null?void 0:qa.type.__name}`),nd==null||nd.forEach(ld=>{od[toHandlerKey(camelize(ld))]=(...ud)=>Ra(ld,...ud)}),od}let bn$3=0;function Gn$4(){watchEffect(Ra=>{if(!qe$3)return;const qa=document.querySelectorAll("[data-radix-focus-guard]");document.body.insertAdjacentElement("afterbegin",qa[0]??Ho$3()),document.body.insertAdjacentElement("beforeend",qa[1]??Ho$3()),bn$3++,Ra(()=>{bn$3===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(nd=>nd.remove()),bn$3--})})}function Ho$3(){const Ra=document.createElement("span");return Ra.setAttribute("data-radix-focus-guard",""),Ra.tabIndex=0,Ra.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",Ra}function Je$4(Ra){return computed(()=>{var qa;return Ke$4(Ra)?!!((qa=$e$4(Ra))!=null&&qa.closest("form")):!0})}function It$4(Ra){const qa=getCurrentInstance(),nd=Object.keys((qa==null?void 0:qa.type.props)??{}).reduce((ld,ud)=>{const cd=(qa==null?void 0:qa.type.props[ud]).default;return cd!==void 0&&(ld[ud]=cd),ld},{}),od=toRef$1(Ra);return computed(()=>{const ld={},ud=(qa==null?void 0:qa.vnode.props)??{};return Object.keys(ud).forEach(cd=>{ld[camelize(cd)]=ud[cd]}),Object.keys({...nd,...ld}).reduce((cd,dd)=>(od.value[dd]!==void 0&&(cd[dd]=od.value[dd]),cd),{})})}function xe$5(Ra,qa){const nd=It$4(Ra),od=qa?Ae$6(qa):{};return computed(()=>({...nd.value,...od}))}function R$6(){const Ra=getCurrentInstance(),qa=ref$1(),nd=computed(()=>{var cd,dd;return["#text","#comment"].includes((cd=qa.value)==null?void 0:cd.$el.nodeName)?(dd=qa.value)==null?void 0:dd.$el.nextElementSibling:$e$4(qa)}),od=Object.assign({},Ra.exposed),ld={};for(const cd in Ra.props)Object.defineProperty(ld,cd,{enumerable:!0,configurable:!0,get:()=>Ra.props[cd]});if(Object.keys(od).length>0)for(const cd in od)Object.defineProperty(ld,cd,{enumerable:!0,configurable:!0,get:()=>od[cd]});Object.defineProperty(ld,"$el",{enumerable:!0,configurable:!0,get:()=>Ra.vnode.el}),Ra.exposed=ld;function ud(cd){qa.value=cd,!(cd instanceof Element||!cd)&&(Object.defineProperty(ld,"$el",{enumerable:!0,configurable:!0,get:()=>cd.$el}),Ra.exposed=ld)}return{forwardRef:ud,currentRef:qa,currentElement:nd}}function Ol$3(Ra,qa){const nd=$t$4(!1,300),od=ref$1(null),ld=ia$1();function ud(){od.value=null,nd.value=!1}function cd(dd,pd){const fd=dd.currentTarget,md={x:dd.clientX,y:dd.clientY},vd=Bi$2(md,fd.getBoundingClientRect()),Ad=Ii$1(md,vd),Nd=Ti$2(pd.getBoundingClientRect()),Id=Ai$2([...Ad,...Nd]);od.value=Id,nd.value=!0}return watchEffect(dd=>{if(Ra.value&&qa.value){const pd=md=>cd(md,qa.value),fd=md=>cd(md,Ra.value);Ra.value.addEventListener("pointerleave",pd),qa.value.addEventListener("pointerleave",fd),dd(()=>{var md,vd;(md=Ra.value)==null||md.removeEventListener("pointerleave",pd),(vd=qa.value)==null||vd.removeEventListener("pointerleave",fd)})}}),watchEffect(dd=>{var pd;if(od.value){const fd=md=>{var vd,Ad;if(!od.value)return;const Nd=md.target,Id={x:md.clientX,y:md.clientY},kd=((vd=Ra.value)==null?void 0:vd.contains(Nd))||((Ad=qa.value)==null?void 0:Ad.contains(Nd)),jd=!Ri$1(Id,od.value),Fd=Nd.hasAttribute("data-grace-area-trigger");kd?ud():(jd||Fd)&&(ud(),ld.trigger())};(pd=Ra.value)==null||pd.ownerDocument.addEventListener("pointermove",fd),dd(()=>{var md;return(md=Ra.value)==null?void 0:md.ownerDocument.removeEventListener("pointermove",fd)})}}),{isPointerInTransit:nd,onPointerExit:ld.on}}function Bi$2(Ra,qa){const nd=Math.abs(qa.top-Ra.y),od=Math.abs(qa.bottom-Ra.y),ld=Math.abs(qa.right-Ra.x),ud=Math.abs(qa.left-Ra.x);switch(Math.min(nd,od,ld,ud)){case ud:return"left";case ld:return"right";case nd:return"top";case od:return"bottom";default:throw new Error("unreachable")}}function Ii$1(Ra,qa,nd=5){const od=[];switch(qa){case"top":od.push({x:Ra.x-nd,y:Ra.y+nd},{x:Ra.x+nd,y:Ra.y+nd});break;case"bottom":od.push({x:Ra.x-nd,y:Ra.y-nd},{x:Ra.x+nd,y:Ra.y-nd});break;case"left":od.push({x:Ra.x+nd,y:Ra.y-nd},{x:Ra.x+nd,y:Ra.y+nd});break;case"right":od.push({x:Ra.x-nd,y:Ra.y-nd},{x:Ra.x-nd,y:Ra.y+nd});break}return od}function Ti$2(Ra){const{top:qa,right:nd,bottom:od,left:ld}=Ra;return[{x:ld,y:qa},{x:nd,y:qa},{x:nd,y:od},{x:ld,y:od}]}function Ri$1(Ra,qa){const{x:nd,y:od}=Ra;let ld=!1;for(let ud=0,cd=qa.length-1;udod!=md>od&&nd<(fd-dd)*(od-pd)/(md-pd)+dd&&(ld=!ld)}return ld}function Ai$2(Ra){const qa=Ra.slice();return qa.sort((nd,od)=>nd.xod.x?1:nd.yod.y?1:0),Oi$1(qa)}function Oi$1(Ra){if(Ra.length<=1)return Ra.slice();const qa=[];for(let od=0;od=2;){const ud=qa[qa.length-1],cd=qa[qa.length-2];if((ud.x-cd.x)*(ld.y-cd.y)>=(ud.y-cd.y)*(ld.x-cd.x))qa.pop();else break}qa.push(ld)}qa.pop();const nd=[];for(let od=Ra.length-1;od>=0;od--){const ld=Ra[od];for(;nd.length>=2;){const ud=nd[nd.length-1],cd=nd[nd.length-2];if((ud.x-cd.x)*(ld.y-cd.y)>=(ud.y-cd.y)*(ld.x-cd.x))nd.pop();else break}nd.push(ld)}return nd.pop(),qa.length===1&&nd.length===1&&qa[0].x===nd[0].x&&qa[0].y===nd[0].y?qa:qa.concat(nd)}var ki$2=function(Ra){if(typeof document>"u")return null;var qa=Array.isArray(Ra)?Ra[0]:Ra;return qa.ownerDocument.body},Nt$5=new WeakMap,Pa$2=new WeakMap,Da$1={},Cn$3=0,kl$3=function(Ra){return Ra&&(Ra.host||kl$3(Ra.parentNode))},Mi$2=function(Ra,qa){return qa.map(function(nd){if(Ra.contains(nd))return nd;var od=kl$3(nd);return od&&Ra.contains(od)?od:(console.error("aria-hidden",nd,"in not contained inside",Ra,". Doing nothing"),null)}).filter(function(nd){return!!nd})},Vi$1=function(Ra,qa,nd,od){var ld=Mi$2(qa,Array.isArray(Ra)?Ra:[Ra]);Da$1[nd]||(Da$1[nd]=new WeakMap);var ud=Da$1[nd],cd=[],dd=new Set,pd=new Set(ld),fd=function(vd){!vd||dd.has(vd)||(dd.add(vd),fd(vd.parentNode))};ld.forEach(fd);var md=function(vd){!vd||pd.has(vd)||Array.prototype.forEach.call(vd.children,function(Ad){if(dd.has(Ad))md(Ad);else try{var Nd=Ad.getAttribute(od),Id=Nd!==null&&Nd!=="false",kd=(Nt$5.get(Ad)||0)+1,jd=(ud.get(Ad)||0)+1;Nt$5.set(Ad,kd),ud.set(Ad,jd),cd.push(Ad),kd===1&&Id&&Pa$2.set(Ad,!0),jd===1&&Ad.setAttribute(nd,"true"),Id||Ad.setAttribute(od,"true")}catch(Fd){console.error("aria-hidden: cannot operate on ",Ad,Fd)}})};return md(qa),dd.clear(),Cn$3++,function(){cd.forEach(function(vd){var Ad=Nt$5.get(vd)-1,Nd=ud.get(vd)-1;Nt$5.set(vd,Ad),ud.set(vd,Nd),Ad||(Pa$2.has(vd)||vd.removeAttribute(od),Pa$2.delete(vd)),Nd||vd.removeAttribute(nd)}),Cn$3--,Cn$3||(Nt$5=new WeakMap,Nt$5=new WeakMap,Pa$2=new WeakMap,Da$1={})}},Fi$2=function(Ra,qa,nd){nd===void 0&&(nd="data-aria-hidden");var od=Array.from(Array.isArray(Ra)?Ra:[Ra]),ld=ki$2(Ra);return ld?(od.push.apply(od,Array.from(ld.querySelectorAll("[aria-live]"))),Vi$1(od,ld,nd,"aria-hidden")):function(){return null}};function ya$1(Ra){let qa;watch(()=>$e$4(Ra),nd=>{nd?qa=Fi$2(nd):qa&&qa()}),onUnmounted(()=>{qa&&qa()})}let Ni$1=0;function he$4(Ra,qa="radix"){if(Ra)return Ra;const nd=Ga$2({useId:void 0});return useId?`${qa}-${useId()}`:nd.useId?`${qa}-${nd.useId()}`:`${qa}-${++Ni$1}`}function Ml$3(Ra){const qa=ref$1(),nd=computed(()=>{var ld;return((ld=qa.value)==null?void 0:ld.width)??0}),od=computed(()=>{var ld;return((ld=qa.value)==null?void 0:ld.height)??0});return onMounted(()=>{const ld=$e$4(Ra);if(ld){qa.value={width:ld.offsetWidth,height:ld.offsetHeight};const ud=new ResizeObserver(cd=>{if(!Array.isArray(cd)||!cd.length)return;const dd=cd[0];let pd,fd;if("borderBoxSize"in dd){const md=dd.borderBoxSize,vd=Array.isArray(md)?md[0]:md;pd=vd.inlineSize,fd=vd.blockSize}else pd=ld.offsetWidth,fd=ld.offsetHeight;qa.value={width:pd,height:fd}});return ud.observe(ld,{box:"border-box"}),()=>ud.unobserve(ld)}else qa.value=void 0}),{width:nd,height:od}}function Vl$3(Ra,qa){const nd=ref$1(Ra);function od(ld){return qa[nd.value][ld]??nd.value}return{state:nd,dispatch:ld=>{nd.value=od(ld)}}}function ga$2(Ra){const qa=$t$4("",1e3);return{search:qa,handleTypeaheadSearch:(nd,od)=>{var ld,ud;if(!(Ra!=null&&Ra.value)&&!od)return;qa.value=qa.value+nd;const cd=(Ra==null?void 0:Ra.value)??od,dd=document.activeElement,pd=((ud=(ld=cd.find(Ad=>Ad===dd))==null?void 0:ld.textContent)==null?void 0:ud.trim())??"",fd=cd.map(Ad=>{var Nd;return((Nd=Ad.textContent)==null?void 0:Nd.trim())??""}),md=Yn$3(fd,qa.value,pd),vd=cd.find(Ad=>{var Nd;return((Nd=Ad.textContent)==null?void 0:Nd.trim())===md});return vd&&vd.focus(),vd},resetTypeahead:()=>{qa.value=""}}}function qn$3(Ra,qa){return Ra.map((nd,od)=>Ra[(qa+od)%Ra.length])}function Yn$3(Ra,qa,nd){const od=qa.length>1&&Array.from(qa).every(dd=>dd===qa[0])?qa[0]:qa,ld=nd?Ra.indexOf(nd):-1;let ud=qn$3(Ra,Math.max(ld,0));od.length===1&&(ud=ud.filter(dd=>dd!==nd));const cd=ud.find(dd=>dd.toLowerCase().startsWith(od.toLowerCase()));return cd!==nd?cd:void 0}const Xn$4=defineComponent({name:"PrimitiveSlot",inheritAttrs:!1,setup(Ra,{attrs:qa,slots:nd}){return()=>{var od,ld;if(!nd.default)return null;const ud=Ua$3(nd.default()),cd=ud.findIndex(md=>md.type!==Comment$2);if(cd===-1)return ud;const dd=ud[cd];(od=dd.props)==null||delete od.ref;const pd=dd.props?mergeProps(qa,dd.props):qa;qa.class&&(ld=dd.props)!=null&&ld.class&&delete dd.props.class;const fd=cloneVNode(dd,pd);for(const md in pd)md.startsWith("on")&&(fd.props||(fd.props={}),fd.props[md]=pd[md]);return ud.length===1?fd:(ud[cd]=fd,ud)}}}),O$3=defineComponent({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(Ra,{attrs:qa,slots:nd}){const od=Ra.asChild?"template":Ra.as;return typeof od=="string"&&["area","img","input"].includes(od)?()=>h$1(od,qa):od!=="template"?()=>h$1(Ra.as,qa,{default:nd.default}):()=>h$1(Xn$4,qa,{default:nd.default})}});function Ie$5(){const Ra=ref$1(),qa=computed(()=>{var nd,od;return["#text","#comment"].includes((nd=Ra.value)==null?void 0:nd.$el.nodeName)?(od=Ra.value)==null?void 0:od.$el.nextElementSibling:$e$4(Ra)});return{primitiveElement:Ra,currentElement:qa}}function Wi$2(Ra,qa){const nd=ref$1({}),od=ref$1("none"),ld=Ra.value?"mounted":"unmounted",{state:ud,dispatch:cd}=Vl$3(ld,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),dd=Ad=>{var Nd;if(qe$3){const Id=new CustomEvent(Ad,{bubbles:!1,cancelable:!1});(Nd=qa.value)==null||Nd.dispatchEvent(Id)}};watch(Ra,async(Ad,Nd)=>{var Id;const kd=Nd!==Ad;if(await nextTick$1(),kd){const jd=od.value,Fd=$a$2(qa.value);Ad?(cd("MOUNT"),dd("enter"),Fd==="none"&&dd("after-enter")):Fd==="none"||((Id=nd.value)==null?void 0:Id.display)==="none"?(cd("UNMOUNT"),dd("leave"),dd("after-leave")):Nd&&jd!==Fd?(cd("ANIMATION_OUT"),dd("leave")):(cd("UNMOUNT"),dd("after-leave"))}},{immediate:!0});const pd=Ad=>{const Nd=$a$2(qa.value),Id=Nd.includes(Ad.animationName),kd=ud.value==="mounted"?"enter":"leave";Ad.target===qa.value&&Id&&(dd(`after-${kd}`),cd("ANIMATION_END")),Ad.target===qa.value&&Nd==="none"&&cd("ANIMATION_END")},fd=Ad=>{Ad.target===qa.value&&(od.value=$a$2(qa.value))},md=watch(qa,(Ad,Nd)=>{Ad?(nd.value=getComputedStyle(Ad),Ad.addEventListener("animationstart",fd),Ad.addEventListener("animationcancel",pd),Ad.addEventListener("animationend",pd)):(cd("ANIMATION_END"),Nd==null||Nd.removeEventListener("animationstart",fd),Nd==null||Nd.removeEventListener("animationcancel",pd),Nd==null||Nd.removeEventListener("animationend",pd))},{immediate:!0}),vd=watch(ud,()=>{const Ad=$a$2(qa.value);od.value=ud.value==="mounted"?Ad:"none"});return onUnmounted(()=>{md(),vd()}),{isPresent:computed(()=>["mounted","unmountSuspended"].includes(ud.value))}}function $a$2(Ra){return Ra&&getComputedStyle(Ra).animationName||"none"}const Pe$7=defineComponent({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(Ra,{slots:qa,expose:nd}){var od;const{present:ld,forceMount:ud}=toRefs(Ra),cd=ref$1(),{isPresent:dd}=Wi$2(ld,cd);nd({present:dd});let pd=qa.default({present:dd});pd=Ua$3(pd||[]);const fd=getCurrentInstance();if(pd&&(pd==null?void 0:pd.length)>1){const md=(od=fd==null?void 0:fd.parent)!=null&&od.type.name?`<${fd.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${md}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(vd=>` - ${vd}`).join(` +**/let policy;const tt$5=typeof window<"u"&&window.trustedTypes;if(tt$5)try{policy=tt$5.createPolicy("vue",{createHTML:Ra=>Ra})}catch{}const unsafeToTrustedHTML=policy?Ra=>policy.createHTML(Ra):Ra=>Ra,svgNS="http://www.w3.org/2000/svg",mathmlNS="http://www.w3.org/1998/Math/MathML",doc=typeof document<"u"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(Ra,qa,nd)=>{qa.insertBefore(Ra,nd||null)},remove:Ra=>{const qa=Ra.parentNode;qa&&qa.removeChild(Ra)},createElement:(Ra,qa,nd,od)=>{const ld=qa==="svg"?doc.createElementNS(svgNS,Ra):qa==="mathml"?doc.createElementNS(mathmlNS,Ra):nd?doc.createElement(Ra,{is:nd}):doc.createElement(Ra);return Ra==="select"&&od&&od.multiple!=null&&ld.setAttribute("multiple",od.multiple),ld},createText:Ra=>doc.createTextNode(Ra),createComment:Ra=>doc.createComment(Ra),setText:(Ra,qa)=>{Ra.nodeValue=qa},setElementText:(Ra,qa)=>{Ra.textContent=qa},parentNode:Ra=>Ra.parentNode,nextSibling:Ra=>Ra.nextSibling,querySelector:Ra=>doc.querySelector(Ra),setScopeId(Ra,qa){Ra.setAttribute(qa,"")},insertStaticContent(Ra,qa,nd,od,ld,ud){const cd=nd?nd.previousSibling:qa.lastChild;if(ld&&(ld===ud||ld.nextSibling))for(;qa.insertBefore(ld.cloneNode(!0),nd),!(ld===ud||!(ld=ld.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(od==="svg"?`${Ra}`:od==="mathml"?`${Ra}`:Ra);const dd=templateContainer.content;if(od==="svg"||od==="mathml"){const pd=dd.firstChild;for(;pd.firstChild;)dd.appendChild(pd.firstChild);dd.removeChild(pd)}qa.insertBefore(dd,nd)}return[cd?cd.nextSibling:qa.firstChild,nd?nd.previousSibling:qa.lastChild]}},TRANSITION="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),DOMTransitionPropsValidators={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},TransitionPropsValidators=extend$3({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=Ra=>(Ra.displayName="Transition",Ra.props=TransitionPropsValidators,Ra),Transition$1=decorate$1((Ra,{slots:qa})=>h$1(BaseTransition,resolveTransitionProps(Ra),qa)),callHook=(Ra,qa=[])=>{isArray$2(Ra)?Ra.forEach(nd=>nd(...qa)):Ra&&Ra(...qa)},hasExplicitCallback=Ra=>Ra?isArray$2(Ra)?Ra.some(qa=>qa.length>1):Ra.length>1:!1;function resolveTransitionProps(Ra){const qa={};for(const bf in Ra)bf in DOMTransitionPropsValidators||(qa[bf]=Ra[bf]);if(Ra.css===!1)return qa;const{name:nd="v",type:od,duration:ld,enterFromClass:ud=`${nd}-enter-from`,enterActiveClass:cd=`${nd}-enter-active`,enterToClass:dd=`${nd}-enter-to`,appearFromClass:pd=ud,appearActiveClass:fd=cd,appearToClass:md=dd,leaveFromClass:vd=`${nd}-leave-from`,leaveActiveClass:Ad=`${nd}-leave-active`,leaveToClass:Nd=`${nd}-leave-to`}=Ra,Id=normalizeDuration(ld),kd=Id&&Id[0],jd=Id&&Id[1],{onBeforeEnter:Fd,onEnter:Md,onEnterCancelled:Ld,onLeave:Hd,onLeaveCancelled:Gd,onBeforeAppear:Vd=Fd,onAppear:Kd=Md,onAppearCancelled:mf=Ld}=qa,Wd=(bf,yf,Ef,gf)=>{bf._enterCancelled=gf,removeTransitionClass(bf,yf?md:dd),removeTransitionClass(bf,yf?fd:cd),Ef&&Ef()},Zd=(bf,yf)=>{bf._isLeaving=!1,removeTransitionClass(bf,vd),removeTransitionClass(bf,Nd),removeTransitionClass(bf,Ad),yf&&yf()},Xd=bf=>(yf,Ef)=>{const gf=bf?Kd:Md,xf=()=>Wd(yf,bf,Ef);callHook(gf,[yf,xf]),nextFrame(()=>{removeTransitionClass(yf,bf?pd:ud),addTransitionClass(yf,bf?md:dd),hasExplicitCallback(gf)||whenTransitionEnds(yf,od,kd,xf)})};return extend$3(qa,{onBeforeEnter(bf){callHook(Fd,[bf]),addTransitionClass(bf,ud),addTransitionClass(bf,cd)},onBeforeAppear(bf){callHook(Vd,[bf]),addTransitionClass(bf,pd),addTransitionClass(bf,fd)},onEnter:Xd(!1),onAppear:Xd(!0),onLeave(bf,yf){bf._isLeaving=!0;const Ef=()=>Zd(bf,yf);addTransitionClass(bf,vd),bf._enterCancelled?(addTransitionClass(bf,Ad),forceReflow()):(forceReflow(),addTransitionClass(bf,Ad)),nextFrame(()=>{bf._isLeaving&&(removeTransitionClass(bf,vd),addTransitionClass(bf,Nd),hasExplicitCallback(Hd)||whenTransitionEnds(bf,od,jd,Ef))}),callHook(Hd,[bf,Ef])},onEnterCancelled(bf){Wd(bf,!1,void 0,!0),callHook(Ld,[bf])},onAppearCancelled(bf){Wd(bf,!0,void 0,!0),callHook(mf,[bf])},onLeaveCancelled(bf){Zd(bf),callHook(Gd,[bf])}})}function normalizeDuration(Ra){if(Ra==null)return null;if(isObject$5(Ra))return[NumberOf(Ra.enter),NumberOf(Ra.leave)];{const qa=NumberOf(Ra);return[qa,qa]}}function NumberOf(Ra){return toNumber$2(Ra)}function addTransitionClass(Ra,qa){qa.split(/\s+/).forEach(nd=>nd&&Ra.classList.add(nd)),(Ra[vtcKey]||(Ra[vtcKey]=new Set)).add(qa)}function removeTransitionClass(Ra,qa){qa.split(/\s+/).forEach(od=>od&&Ra.classList.remove(od));const nd=Ra[vtcKey];nd&&(nd.delete(qa),nd.size||(Ra[vtcKey]=void 0))}function nextFrame(Ra){requestAnimationFrame(()=>{requestAnimationFrame(Ra)})}let endId=0;function whenTransitionEnds(Ra,qa,nd,od){const ld=Ra._endId=++endId,ud=()=>{ld===Ra._endId&&od()};if(nd!=null)return setTimeout(ud,nd);const{type:cd,timeout:dd,propCount:pd}=getTransitionInfo(Ra,qa);if(!cd)return od();const fd=cd+"end";let md=0;const vd=()=>{Ra.removeEventListener(fd,Ad),ud()},Ad=Nd=>{Nd.target===Ra&&++md>=pd&&vd()};setTimeout(()=>{md(nd[Id]||"").split(", "),ld=od(`${TRANSITION}Delay`),ud=od(`${TRANSITION}Duration`),cd=getTimeout(ld,ud),dd=od(`${ANIMATION}Delay`),pd=od(`${ANIMATION}Duration`),fd=getTimeout(dd,pd);let md=null,vd=0,Ad=0;qa===TRANSITION?cd>0&&(md=TRANSITION,vd=cd,Ad=ud.length):qa===ANIMATION?fd>0&&(md=ANIMATION,vd=fd,Ad=pd.length):(vd=Math.max(cd,fd),md=vd>0?cd>fd?TRANSITION:ANIMATION:null,Ad=md?md===TRANSITION?ud.length:pd.length:0);const Nd=md===TRANSITION&&/\b(transform|all)(,|$)/.test(od(`${TRANSITION}Property`).toString());return{type:md,timeout:vd,propCount:Ad,hasTransform:Nd}}function getTimeout(Ra,qa){for(;Ra.lengthtoMs(nd)+toMs(Ra[od])))}function toMs(Ra){return Ra==="auto"?0:Number(Ra.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}function patchClass(Ra,qa,nd){const od=Ra[vtcKey];od&&(qa=(qa?[qa,...od]:[...od]).join(" ")),qa==null?Ra.removeAttribute("class"):nd?Ra.setAttribute("class",qa):Ra.className=qa}const vShowOriginalDisplay=Symbol("_vod"),vShowHidden=Symbol("_vsh"),vShow={beforeMount(Ra,{value:qa},{transition:nd}){Ra[vShowOriginalDisplay]=Ra.style.display==="none"?"":Ra.style.display,nd&&qa?nd.beforeEnter(Ra):setDisplay(Ra,qa)},mounted(Ra,{value:qa},{transition:nd}){nd&&qa&&nd.enter(Ra)},updated(Ra,{value:qa,oldValue:nd},{transition:od}){!qa!=!nd&&(od?qa?(od.beforeEnter(Ra),setDisplay(Ra,!0),od.enter(Ra)):od.leave(Ra,()=>{setDisplay(Ra,!1)}):setDisplay(Ra,qa))},beforeUnmount(Ra,{value:qa}){setDisplay(Ra,qa)}};function setDisplay(Ra,qa){Ra.style.display=qa?Ra[vShowOriginalDisplay]:"none",Ra[vShowHidden]=!qa}const CSS_VAR_TEXT=Symbol(""),displayRE=/(^|;)\s*display\s*:/;function patchStyle(Ra,qa,nd){const od=Ra.style,ld=isString$2(nd);let ud=!1;if(nd&&!ld){if(qa)if(isString$2(qa))for(const cd of qa.split(";")){const dd=cd.slice(0,cd.indexOf(":")).trim();nd[dd]==null&&setStyle(od,dd,"")}else for(const cd in qa)nd[cd]==null&&setStyle(od,cd,"");for(const cd in nd)cd==="display"&&(ud=!0),setStyle(od,cd,nd[cd])}else if(ld){if(qa!==nd){const cd=od[CSS_VAR_TEXT];cd&&(nd+=";"+cd),od.cssText=nd,ud=displayRE.test(nd)}}else qa&&Ra.removeAttribute("style");vShowOriginalDisplay in Ra&&(Ra[vShowOriginalDisplay]=ud?od.display:"",Ra[vShowHidden]&&(od.display="none"))}const importantRE=/\s*!important$/;function setStyle(Ra,qa,nd){if(isArray$2(nd))nd.forEach(od=>setStyle(Ra,qa,od));else if(nd==null&&(nd=""),qa.startsWith("--"))Ra.setProperty(qa,nd);else{const od=autoPrefix(Ra,qa);importantRE.test(nd)?Ra.setProperty(hyphenate(od),nd.replace(importantRE,""),"important"):Ra[od]=nd}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(Ra,qa){const nd=prefixCache[qa];if(nd)return nd;let od=camelize(qa);if(od!=="filter"&&od in Ra)return prefixCache[qa]=od;od=capitalize(od);for(let ld=0;ldcachedNow||(p$1.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(Ra,qa){const nd=od=>{if(!od._vts)od._vts=Date.now();else if(od._vts<=nd.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(od,nd.value),qa,5,[od])};return nd.value=Ra,nd.attached=getNow(),nd}function patchStopImmediatePropagation(Ra,qa){if(isArray$2(qa)){const nd=Ra.stopImmediatePropagation;return Ra.stopImmediatePropagation=()=>{nd.call(Ra),Ra._stopped=!0},qa.map(od=>ld=>!ld._stopped&&od&&od(ld))}else return qa}const isNativeOn=Ra=>Ra.charCodeAt(0)===111&&Ra.charCodeAt(1)===110&&Ra.charCodeAt(2)>96&&Ra.charCodeAt(2)<123,patchProp=(Ra,qa,nd,od,ld,ud)=>{const cd=ld==="svg";qa==="class"?patchClass(Ra,od,cd):qa==="style"?patchStyle(Ra,nd,od):isOn(qa)?isModelListener(qa)||patchEvent(Ra,qa,nd,od,ud):(qa[0]==="."?(qa=qa.slice(1),!0):qa[0]==="^"?(qa=qa.slice(1),!1):shouldSetAsProp(Ra,qa,od,cd))?(patchDOMProp(Ra,qa,od),!Ra.tagName.includes("-")&&(qa==="value"||qa==="checked"||qa==="selected")&&patchAttr(Ra,qa,od,cd,ud,qa!=="value")):Ra._isVueCE&&(/[A-Z]/.test(qa)||!isString$2(od))?patchDOMProp(Ra,camelize(qa),od,ud,qa):(qa==="true-value"?Ra._trueValue=od:qa==="false-value"&&(Ra._falseValue=od),patchAttr(Ra,qa,od,cd))};function shouldSetAsProp(Ra,qa,nd,od){if(od)return!!(qa==="innerHTML"||qa==="textContent"||qa in Ra&&isNativeOn(qa)&&isFunction$3(nd));if(qa==="spellcheck"||qa==="draggable"||qa==="translate"||qa==="form"||qa==="list"&&Ra.tagName==="INPUT"||qa==="type"&&Ra.tagName==="TEXTAREA")return!1;if(qa==="width"||qa==="height"){const ld=Ra.tagName;if(ld==="IMG"||ld==="VIDEO"||ld==="CANVAS"||ld==="SOURCE")return!1}return isNativeOn(qa)&&isString$2(nd)?!1:qa in Ra}const getModelAssigner=Ra=>{const qa=Ra.props["onUpdate:modelValue"]||!1;return isArray$2(qa)?nd=>invokeArrayFns(qa,nd):qa};function onCompositionStart(Ra){Ra.target.composing=!0}function onCompositionEnd(Ra){const qa=Ra.target;qa.composing&&(qa.composing=!1,qa.dispatchEvent(new Event("input")))}const assignKey=Symbol("_assign"),vModelText={created(Ra,{modifiers:{lazy:qa,trim:nd,number:od}},ld){Ra[assignKey]=getModelAssigner(ld);const ud=od||ld.props&&ld.props.type==="number";addEventListener(Ra,qa?"change":"input",cd=>{if(cd.target.composing)return;let dd=Ra.value;nd&&(dd=dd.trim()),ud&&(dd=looseToNumber(dd)),Ra[assignKey](dd)}),nd&&addEventListener(Ra,"change",()=>{Ra.value=Ra.value.trim()}),qa||(addEventListener(Ra,"compositionstart",onCompositionStart),addEventListener(Ra,"compositionend",onCompositionEnd),addEventListener(Ra,"change",onCompositionEnd))},mounted(Ra,{value:qa}){Ra.value=qa??""},beforeUpdate(Ra,{value:qa,oldValue:nd,modifiers:{lazy:od,trim:ld,number:ud}},cd){if(Ra[assignKey]=getModelAssigner(cd),Ra.composing)return;const dd=(ud||Ra.type==="number")&&!/^0\d/.test(Ra.value)?looseToNumber(Ra.value):Ra.value,pd=qa??"";dd!==pd&&(document.activeElement===Ra&&Ra.type!=="range"&&(od&&qa===nd||ld&&Ra.value.trim()===pd)||(Ra.value=pd))}},vModelSelect={deep:!0,created(Ra,{value:qa,modifiers:{number:nd}},od){const ld=isSet(qa);addEventListener(Ra,"change",()=>{const ud=Array.prototype.filter.call(Ra.options,cd=>cd.selected).map(cd=>nd?looseToNumber(getValue$1(cd)):getValue$1(cd));Ra[assignKey](Ra.multiple?ld?new Set(ud):ud:ud[0]),Ra._assigning=!0,nextTick$1(()=>{Ra._assigning=!1})}),Ra[assignKey]=getModelAssigner(od)},mounted(Ra,{value:qa}){setSelected(Ra,qa)},beforeUpdate(Ra,qa,nd){Ra[assignKey]=getModelAssigner(nd)},updated(Ra,{value:qa}){Ra._assigning||setSelected(Ra,qa)}};function setSelected(Ra,qa){const nd=Ra.multiple,od=isArray$2(qa);if(!(nd&&!od&&!isSet(qa))){for(let ld=0,ud=Ra.options.length;ldString(fd)===String(dd)):cd.selected=looseIndexOf(qa,dd)>-1}else cd.selected=qa.has(dd);else if(looseEqual(getValue$1(cd),qa)){Ra.selectedIndex!==ld&&(Ra.selectedIndex=ld);return}}!nd&&Ra.selectedIndex!==-1&&(Ra.selectedIndex=-1)}}function getValue$1(Ra){return"_value"in Ra?Ra._value:Ra.value}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:Ra=>Ra.stopPropagation(),prevent:Ra=>Ra.preventDefault(),self:Ra=>Ra.target!==Ra.currentTarget,ctrl:Ra=>!Ra.ctrlKey,shift:Ra=>!Ra.shiftKey,alt:Ra=>!Ra.altKey,meta:Ra=>!Ra.metaKey,left:Ra=>"button"in Ra&&Ra.button!==0,middle:Ra=>"button"in Ra&&Ra.button!==1,right:Ra=>"button"in Ra&&Ra.button!==2,exact:(Ra,qa)=>systemModifiers.some(nd=>Ra[`${nd}Key`]&&!qa.includes(nd))},withModifiers=(Ra,qa)=>{const nd=Ra._withMods||(Ra._withMods={}),od=qa.join(".");return nd[od]||(nd[od]=(ld,...ud)=>{for(let cd=0;cd{const nd=Ra._withKeys||(Ra._withKeys={}),od=qa.join(".");return nd[od]||(nd[od]=ld=>{if(!("key"in ld))return;const ud=hyphenate(ld.key);if(qa.some(cd=>cd===ud||keyNames[cd]===ud))return Ra(ld)})},rendererOptions=extend$3({patchProp},nodeOps);let renderer$1;function ensureRenderer(){return renderer$1||(renderer$1=createRenderer$1(rendererOptions))}const createApp=(...Ra)=>{const qa=ensureRenderer().createApp(...Ra),{mount:nd}=qa;return qa.mount=od=>{const ld=normalizeContainer(od);if(!ld)return;const ud=qa._component;!isFunction$3(ud)&&!ud.render&&!ud.template&&(ud.template=ld.innerHTML),ld.nodeType===1&&(ld.textContent="");const cd=nd(ld,!1,resolveRootNamespace(ld));return ld instanceof Element&&(ld.removeAttribute("v-cloak"),ld.setAttribute("data-v-app","")),cd},qa};function resolveRootNamespace(Ra){if(Ra instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&Ra instanceof MathMLElement)return"mathml"}function normalizeContainer(Ra){return isString$2(Ra)?document.querySelector(Ra):Ra}var isVue2=!1;let activePinia;const setActivePinia=Ra=>activePinia=Ra,piniaSymbol=Symbol();function isPlainObject$3(Ra){return Ra&&typeof Ra=="object"&&Object.prototype.toString.call(Ra)==="[object Object]"&&typeof Ra.toJSON!="function"}var MutationType;(function(Ra){Ra.direct="direct",Ra.patchObject="patch object",Ra.patchFunction="patch function"})(MutationType||(MutationType={}));function createPinia(){const Ra=effectScope(!0),qa=Ra.run(()=>ref$1({}));let nd=[],od=[];const ld=markRaw({install(ud){setActivePinia(ld),ld._a=ud,ud.provide(piniaSymbol,ld),ud.config.globalProperties.$pinia=ld,od.forEach(cd=>nd.push(cd)),od=[]},use(ud){return!this._a&&!isVue2?od.push(ud):nd.push(ud),this},_p:nd,_a:null,_e:Ra,_s:new Map,state:qa});return ld}const noop$6=()=>{};function addSubscription(Ra,qa,nd,od=noop$6){Ra.push(qa);const ld=()=>{const ud=Ra.indexOf(qa);ud>-1&&(Ra.splice(ud,1),od())};return!nd&&getCurrentScope()&&onScopeDispose(ld),ld}function triggerSubscriptions(Ra,...qa){Ra.slice().forEach(nd=>{nd(...qa)})}const fallbackRunWithContext=Ra=>Ra(),ACTION_MARKER=Symbol(),ACTION_NAME=Symbol();function mergeReactiveObjects(Ra,qa){Ra instanceof Map&&qa instanceof Map?qa.forEach((nd,od)=>Ra.set(od,nd)):Ra instanceof Set&&qa instanceof Set&&qa.forEach(Ra.add,Ra);for(const nd in qa){if(!qa.hasOwnProperty(nd))continue;const od=qa[nd],ld=Ra[nd];isPlainObject$3(ld)&&isPlainObject$3(od)&&Ra.hasOwnProperty(nd)&&!isRef(od)&&!isReactive(od)?Ra[nd]=mergeReactiveObjects(ld,od):Ra[nd]=od}return Ra}const skipHydrateSymbol=Symbol();function shouldHydrate(Ra){return!isPlainObject$3(Ra)||!Ra.hasOwnProperty(skipHydrateSymbol)}const{assign}=Object;function isComputed(Ra){return!!(isRef(Ra)&&Ra.effect)}function createOptionsStore(Ra,qa,nd,od){const{state:ld,actions:ud,getters:cd}=qa,dd=nd.state.value[Ra];let pd;function fd(){dd||(nd.state.value[Ra]=ld?ld():{});const md=toRefs(nd.state.value[Ra]);return assign(md,ud,Object.keys(cd||{}).reduce((vd,Ad)=>(vd[Ad]=markRaw(computed(()=>{setActivePinia(nd);const Nd=nd._s.get(Ra);return cd[Ad].call(Nd,Nd)})),vd),{}))}return pd=createSetupStore(Ra,fd,qa,nd,od,!0),pd}function createSetupStore(Ra,qa,nd={},od,ld,ud){let cd;const dd=assign({actions:{}},nd),pd={deep:!0};let fd,md,vd=[],Ad=[],Nd;const Id=od.state.value[Ra];!ud&&!Id&&(od.state.value[Ra]={}),ref$1({});let kd;function jd(mf){let Wd;fd=md=!1,typeof mf=="function"?(mf(od.state.value[Ra]),Wd={type:MutationType.patchFunction,storeId:Ra,events:Nd}):(mergeReactiveObjects(od.state.value[Ra],mf),Wd={type:MutationType.patchObject,payload:mf,storeId:Ra,events:Nd});const Zd=kd=Symbol();nextTick$1().then(()=>{kd===Zd&&(fd=!0)}),md=!0,triggerSubscriptions(vd,Wd,od.state.value[Ra])}const Fd=ud?function(){const{state:Wd}=nd,Zd=Wd?Wd():{};this.$patch(Xd=>{assign(Xd,Zd)})}:noop$6;function Md(){cd.stop(),vd=[],Ad=[],od._s.delete(Ra)}const Ld=(mf,Wd="")=>{if(ACTION_MARKER in mf)return mf[ACTION_NAME]=Wd,mf;const Zd=function(){setActivePinia(od);const Xd=Array.from(arguments),bf=[],yf=[];function Ef(Af){bf.push(Af)}function gf(Af){yf.push(Af)}triggerSubscriptions(Ad,{args:Xd,name:Zd[ACTION_NAME],store:Gd,after:Ef,onError:gf});let xf;try{xf=mf.apply(this&&this.$id===Ra?this:Gd,Xd)}catch(Af){throw triggerSubscriptions(yf,Af),Af}return xf instanceof Promise?xf.then(Af=>(triggerSubscriptions(bf,Af),Af)).catch(Af=>(triggerSubscriptions(yf,Af),Promise.reject(Af))):(triggerSubscriptions(bf,xf),xf)};return Zd[ACTION_MARKER]=!0,Zd[ACTION_NAME]=Wd,Zd},Hd={_p:od,$id:Ra,$onAction:addSubscription.bind(null,Ad),$patch:jd,$reset:Fd,$subscribe(mf,Wd={}){const Zd=addSubscription(vd,mf,Wd.detached,()=>Xd()),Xd=cd.run(()=>watch(()=>od.state.value[Ra],bf=>{(Wd.flush==="sync"?md:fd)&&mf({storeId:Ra,type:MutationType.direct,events:Nd},bf)},assign({},pd,Wd)));return Zd},$dispose:Md},Gd=reactive(Hd);od._s.set(Ra,Gd);const Kd=(od._a&&od._a.runWithContext||fallbackRunWithContext)(()=>od._e.run(()=>(cd=effectScope()).run(()=>qa({action:Ld}))));for(const mf in Kd){const Wd=Kd[mf];if(isRef(Wd)&&!isComputed(Wd)||isReactive(Wd))ud||(Id&&shouldHydrate(Wd)&&(isRef(Wd)?Wd.value=Id[mf]:mergeReactiveObjects(Wd,Id[mf])),od.state.value[Ra][mf]=Wd);else if(typeof Wd=="function"){const Zd=Ld(Wd,mf);Kd[mf]=Zd,dd.actions[mf]=Wd}}return assign(Gd,Kd),assign(toRaw(Gd),Kd),Object.defineProperty(Gd,"$state",{get:()=>od.state.value[Ra],set:mf=>{jd(Wd=>{assign(Wd,mf)})}}),od._p.forEach(mf=>{assign(Gd,cd.run(()=>mf({store:Gd,app:od._a,pinia:od,options:dd})))}),Id&&ud&&nd.hydrate&&nd.hydrate(Gd.$state,Id),fd=!0,md=!0,Gd}/*! #__NO_SIDE_EFFECTS__ */function defineStore(Ra,qa,nd){let od,ld;const ud=typeof qa=="function";typeof Ra=="string"?(od=Ra,ld=ud?nd:qa):(ld=Ra,od=Ra.id);function cd(dd,pd){const fd=hasInjectionContext();return dd=dd||(fd?inject(piniaSymbol,null):null),dd&&setActivePinia(dd),dd=activePinia,dd._s.has(od)||(ud?createSetupStore(od,qa,ld,dd):createOptionsStore(od,ld,dd)),dd._s.get(od)}return cd.$id=od,cd}function storeToRefs(Ra){{const qa=toRaw(Ra),nd={};for(const od in qa){const ld=qa[od];(isRef(ld)||isReactive(ld))&&(nd[od]=toRef$1(Ra,od))}return nd}}const sides=["top","right","bottom","left"],min$1=Math.min,max$2=Math.max,round=Math.round,floor=Math.floor,createCoords=Ra=>({x:Ra,y:Ra}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp(Ra,qa,nd){return max$2(Ra,min$1(qa,nd))}function evaluate$1(Ra,qa){return typeof Ra=="function"?Ra(qa):Ra}function getSide(Ra){return Ra.split("-")[0]}function getAlignment(Ra){return Ra.split("-")[1]}function getOppositeAxis(Ra){return Ra==="x"?"y":"x"}function getAxisLength(Ra){return Ra==="y"?"height":"width"}function getSideAxis(Ra){return["top","bottom"].includes(getSide(Ra))?"y":"x"}function getAlignmentAxis(Ra){return getOppositeAxis(getSideAxis(Ra))}function getAlignmentSides(Ra,qa,nd){nd===void 0&&(nd=!1);const od=getAlignment(Ra),ld=getAlignmentAxis(Ra),ud=getAxisLength(ld);let cd=ld==="x"?od===(nd?"end":"start")?"right":"left":od==="start"?"bottom":"top";return qa.reference[ud]>qa.floating[ud]&&(cd=getOppositePlacement(cd)),[cd,getOppositePlacement(cd)]}function getExpandedPlacements(Ra){const qa=getOppositePlacement(Ra);return[getOppositeAlignmentPlacement(Ra),qa,getOppositeAlignmentPlacement(qa)]}function getOppositeAlignmentPlacement(Ra){return Ra.replace(/start|end/g,qa=>oppositeAlignmentMap[qa])}function getSideList(Ra,qa,nd){const od=["left","right"],ld=["right","left"],ud=["top","bottom"],cd=["bottom","top"];switch(Ra){case"top":case"bottom":return nd?qa?ld:od:qa?od:ld;case"left":case"right":return qa?ud:cd;default:return[]}}function getOppositeAxisPlacements(Ra,qa,nd,od){const ld=getAlignment(Ra);let ud=getSideList(getSide(Ra),nd==="start",od);return ld&&(ud=ud.map(cd=>cd+"-"+ld),qa&&(ud=ud.concat(ud.map(getOppositeAlignmentPlacement)))),ud}function getOppositePlacement(Ra){return Ra.replace(/left|right|bottom|top/g,qa=>oppositeSideMap[qa])}function expandPaddingObject(Ra){return{top:0,right:0,bottom:0,left:0,...Ra}}function getPaddingObject(Ra){return typeof Ra!="number"?expandPaddingObject(Ra):{top:Ra,right:Ra,bottom:Ra,left:Ra}}function rectToClientRect(Ra){const{x:qa,y:nd,width:od,height:ld}=Ra;return{width:od,height:ld,top:nd,left:qa,right:qa+od,bottom:nd+ld,x:qa,y:nd}}function computeCoordsFromPlacement(Ra,qa,nd){let{reference:od,floating:ld}=Ra;const ud=getSideAxis(qa),cd=getAlignmentAxis(qa),dd=getAxisLength(cd),pd=getSide(qa),fd=ud==="y",md=od.x+od.width/2-ld.width/2,vd=od.y+od.height/2-ld.height/2,Ad=od[dd]/2-ld[dd]/2;let Nd;switch(pd){case"top":Nd={x:md,y:od.y-ld.height};break;case"bottom":Nd={x:md,y:od.y+od.height};break;case"right":Nd={x:od.x+od.width,y:vd};break;case"left":Nd={x:od.x-ld.width,y:vd};break;default:Nd={x:od.x,y:od.y}}switch(getAlignment(qa)){case"start":Nd[cd]-=Ad*(nd&&fd?-1:1);break;case"end":Nd[cd]+=Ad*(nd&&fd?-1:1);break}return Nd}const computePosition$1=async(Ra,qa,nd)=>{const{placement:od="bottom",strategy:ld="absolute",middleware:ud=[],platform:cd}=nd,dd=ud.filter(Boolean),pd=await(cd.isRTL==null?void 0:cd.isRTL(qa));let fd=await cd.getElementRects({reference:Ra,floating:qa,strategy:ld}),{x:md,y:vd}=computeCoordsFromPlacement(fd,od,pd),Ad=od,Nd={},Id=0;for(let kd=0;kd({name:"arrow",options:Ra,async fn(qa){const{x:nd,y:od,placement:ld,rects:ud,platform:cd,elements:dd,middlewareData:pd}=qa,{element:fd,padding:md=0}=evaluate$1(Ra,qa)||{};if(fd==null)return{};const vd=getPaddingObject(md),Ad={x:nd,y:od},Nd=getAlignmentAxis(ld),Id=getAxisLength(Nd),kd=await cd.getDimensions(fd),jd=Nd==="y",Fd=jd?"top":"left",Md=jd?"bottom":"right",Ld=jd?"clientHeight":"clientWidth",Hd=ud.reference[Id]+ud.reference[Nd]-Ad[Nd]-ud.floating[Id],Gd=Ad[Nd]-ud.reference[Nd],Vd=await(cd.getOffsetParent==null?void 0:cd.getOffsetParent(fd));let Kd=Vd?Vd[Ld]:0;(!Kd||!await(cd.isElement==null?void 0:cd.isElement(Vd)))&&(Kd=dd.floating[Ld]||ud.floating[Id]);const mf=Hd/2-Gd/2,Wd=Kd/2-kd[Id]/2-1,Zd=min$1(vd[Fd],Wd),Xd=min$1(vd[Md],Wd),bf=Zd,yf=Kd-kd[Id]-Xd,Ef=Kd/2-kd[Id]/2+mf,gf=clamp(bf,Ef,yf),xf=!pd.arrow&&getAlignment(ld)!=null&&Ef!==gf&&ud.reference[Id]/2-(EfEf<=0)){var Xd,bf;const Ef=(((Xd=ud.flip)==null?void 0:Xd.index)||0)+1,gf=Kd[Ef];if(gf)return{data:{index:Ef,overflows:Zd},reset:{placement:gf}};let xf=(bf=Zd.filter(Af=>Af.overflows[0]<=0).sort((Af,Lf)=>Af.overflows[1]-Lf.overflows[1])[0])==null?void 0:bf.placement;if(!xf)switch(Nd){case"bestFit":{var yf;const Af=(yf=Zd.filter(Lf=>{if(Vd){const Xf=getSideAxis(Lf.placement);return Xf===Md||Xf==="y"}return!0}).map(Lf=>[Lf.placement,Lf.overflows.filter(Xf=>Xf>0).reduce((Xf,Jf)=>Xf+Jf,0)]).sort((Lf,Xf)=>Lf[1]-Xf[1])[0])==null?void 0:yf[0];Af&&(xf=Af);break}case"initialPlacement":xf=dd;break}if(ld!==xf)return{reset:{placement:xf}}}return{}}}};function getSideOffsets(Ra,qa){return{top:Ra.top-qa.height,right:Ra.right-qa.width,bottom:Ra.bottom-qa.height,left:Ra.left-qa.width}}function isAnySideFullyClipped(Ra){return sides.some(qa=>Ra[qa]>=0)}const hide$1=function(Ra){return Ra===void 0&&(Ra={}),{name:"hide",options:Ra,async fn(qa){const{rects:nd}=qa,{strategy:od="referenceHidden",...ld}=evaluate$1(Ra,qa);switch(od){case"referenceHidden":{const ud=await detectOverflow(qa,{...ld,elementContext:"reference"}),cd=getSideOffsets(ud,nd.reference);return{data:{referenceHiddenOffsets:cd,referenceHidden:isAnySideFullyClipped(cd)}}}case"escaped":{const ud=await detectOverflow(qa,{...ld,altBoundary:!0}),cd=getSideOffsets(ud,nd.floating);return{data:{escapedOffsets:cd,escaped:isAnySideFullyClipped(cd)}}}default:return{}}}}};async function convertValueToCoords(Ra,qa){const{placement:nd,platform:od,elements:ld}=Ra,ud=await(od.isRTL==null?void 0:od.isRTL(ld.floating)),cd=getSide(nd),dd=getAlignment(nd),pd=getSideAxis(nd)==="y",fd=["left","top"].includes(cd)?-1:1,md=ud&&pd?-1:1,vd=evaluate$1(qa,Ra);let{mainAxis:Ad,crossAxis:Nd,alignmentAxis:Id}=typeof vd=="number"?{mainAxis:vd,crossAxis:0,alignmentAxis:null}:{mainAxis:vd.mainAxis||0,crossAxis:vd.crossAxis||0,alignmentAxis:vd.alignmentAxis};return dd&&typeof Id=="number"&&(Nd=dd==="end"?Id*-1:Id),pd?{x:Nd*md,y:Ad*fd}:{x:Ad*fd,y:Nd*md}}const offset$1=function(Ra){return Ra===void 0&&(Ra=0),{name:"offset",options:Ra,async fn(qa){var nd,od;const{x:ld,y:ud,placement:cd,middlewareData:dd}=qa,pd=await convertValueToCoords(qa,Ra);return cd===((nd=dd.offset)==null?void 0:nd.placement)&&(od=dd.arrow)!=null&&od.alignmentOffset?{}:{x:ld+pd.x,y:ud+pd.y,data:{...pd,placement:cd}}}}},shift$1=function(Ra){return Ra===void 0&&(Ra={}),{name:"shift",options:Ra,async fn(qa){const{x:nd,y:od,placement:ld}=qa,{mainAxis:ud=!0,crossAxis:cd=!1,limiter:dd={fn:jd=>{let{x:Fd,y:Md}=jd;return{x:Fd,y:Md}}},...pd}=evaluate$1(Ra,qa),fd={x:nd,y:od},md=await detectOverflow(qa,pd),vd=getSideAxis(getSide(ld)),Ad=getOppositeAxis(vd);let Nd=fd[Ad],Id=fd[vd];if(ud){const jd=Ad==="y"?"top":"left",Fd=Ad==="y"?"bottom":"right",Md=Nd+md[jd],Ld=Nd-md[Fd];Nd=clamp(Md,Nd,Ld)}if(cd){const jd=vd==="y"?"top":"left",Fd=vd==="y"?"bottom":"right",Md=Id+md[jd],Ld=Id-md[Fd];Id=clamp(Md,Id,Ld)}const kd=dd.fn({...qa,[Ad]:Nd,[vd]:Id});return{...kd,data:{x:kd.x-nd,y:kd.y-od,enabled:{[Ad]:ud,[vd]:cd}}}}}},limitShift$1=function(Ra){return Ra===void 0&&(Ra={}),{options:Ra,fn(qa){const{x:nd,y:od,placement:ld,rects:ud,middlewareData:cd}=qa,{offset:dd=0,mainAxis:pd=!0,crossAxis:fd=!0}=evaluate$1(Ra,qa),md={x:nd,y:od},vd=getSideAxis(ld),Ad=getOppositeAxis(vd);let Nd=md[Ad],Id=md[vd];const kd=evaluate$1(dd,qa),jd=typeof kd=="number"?{mainAxis:kd,crossAxis:0}:{mainAxis:0,crossAxis:0,...kd};if(pd){const Ld=Ad==="y"?"height":"width",Hd=ud.reference[Ad]-ud.floating[Ld]+jd.mainAxis,Gd=ud.reference[Ad]+ud.reference[Ld]-jd.mainAxis;NdGd&&(Nd=Gd)}if(fd){var Fd,Md;const Ld=Ad==="y"?"width":"height",Hd=["top","left"].includes(getSide(ld)),Gd=ud.reference[vd]-ud.floating[Ld]+(Hd&&((Fd=cd.offset)==null?void 0:Fd[vd])||0)+(Hd?0:jd.crossAxis),Vd=ud.reference[vd]+ud.reference[Ld]+(Hd?0:((Md=cd.offset)==null?void 0:Md[vd])||0)-(Hd?jd.crossAxis:0);IdVd&&(Id=Vd)}return{[Ad]:Nd,[vd]:Id}}}},size$1=function(Ra){return Ra===void 0&&(Ra={}),{name:"size",options:Ra,async fn(qa){var nd,od;const{placement:ld,rects:ud,platform:cd,elements:dd}=qa,{apply:pd=()=>{},...fd}=evaluate$1(Ra,qa),md=await detectOverflow(qa,fd),vd=getSide(ld),Ad=getAlignment(ld),Nd=getSideAxis(ld)==="y",{width:Id,height:kd}=ud.floating;let jd,Fd;vd==="top"||vd==="bottom"?(jd=vd,Fd=Ad===(await(cd.isRTL==null?void 0:cd.isRTL(dd.floating))?"start":"end")?"left":"right"):(Fd=vd,jd=Ad==="end"?"top":"bottom");const Md=kd-md.top-md.bottom,Ld=Id-md.left-md.right,Hd=min$1(kd-md[jd],Md),Gd=min$1(Id-md[Fd],Ld),Vd=!qa.middlewareData.shift;let Kd=Hd,mf=Gd;if((nd=qa.middlewareData.shift)!=null&&nd.enabled.x&&(mf=Ld),(od=qa.middlewareData.shift)!=null&&od.enabled.y&&(Kd=Md),Vd&&!Ad){const Zd=max$2(md.left,0),Xd=max$2(md.right,0),bf=max$2(md.top,0),yf=max$2(md.bottom,0);Nd?mf=Id-2*(Zd!==0||Xd!==0?Zd+Xd:max$2(md.left,md.right)):Kd=kd-2*(bf!==0||yf!==0?bf+yf:max$2(md.top,md.bottom))}await pd({...qa,availableWidth:mf,availableHeight:Kd});const Wd=await cd.getDimensions(dd.floating);return Id!==Wd.width||kd!==Wd.height?{reset:{rects:!0}}:{}}}};function hasWindow(){return typeof window<"u"}function getNodeName(Ra){return isNode$2(Ra)?(Ra.nodeName||"").toLowerCase():"#document"}function getWindow(Ra){var qa;return(Ra==null||(qa=Ra.ownerDocument)==null?void 0:qa.defaultView)||window}function getDocumentElement(Ra){var qa;return(qa=(isNode$2(Ra)?Ra.ownerDocument:Ra.document)||window.document)==null?void 0:qa.documentElement}function isNode$2(Ra){return hasWindow()?Ra instanceof Node||Ra instanceof getWindow(Ra).Node:!1}function isElement$1(Ra){return hasWindow()?Ra instanceof Element||Ra instanceof getWindow(Ra).Element:!1}function isHTMLElement(Ra){return hasWindow()?Ra instanceof HTMLElement||Ra instanceof getWindow(Ra).HTMLElement:!1}function isShadowRoot(Ra){return!hasWindow()||typeof ShadowRoot>"u"?!1:Ra instanceof ShadowRoot||Ra instanceof getWindow(Ra).ShadowRoot}function isOverflowElement(Ra){const{overflow:qa,overflowX:nd,overflowY:od,display:ld}=getComputedStyle$1(Ra);return/auto|scroll|overlay|hidden|clip/.test(qa+od+nd)&&!["inline","contents"].includes(ld)}function isTableElement(Ra){return["table","td","th"].includes(getNodeName(Ra))}function isTopLayer(Ra){return[":popover-open",":modal"].some(qa=>{try{return Ra.matches(qa)}catch{return!1}})}function isContainingBlock(Ra){const qa=isWebKit(),nd=isElement$1(Ra)?getComputedStyle$1(Ra):Ra;return nd.transform!=="none"||nd.perspective!=="none"||(nd.containerType?nd.containerType!=="normal":!1)||!qa&&(nd.backdropFilter?nd.backdropFilter!=="none":!1)||!qa&&(nd.filter?nd.filter!=="none":!1)||["transform","perspective","filter"].some(od=>(nd.willChange||"").includes(od))||["paint","layout","strict","content"].some(od=>(nd.contain||"").includes(od))}function getContainingBlock(Ra){let qa=getParentNode(Ra);for(;isHTMLElement(qa)&&!isLastTraversableNode(qa);){if(isContainingBlock(qa))return qa;if(isTopLayer(qa))return null;qa=getParentNode(qa)}return null}function isWebKit(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function isLastTraversableNode(Ra){return["html","body","#document"].includes(getNodeName(Ra))}function getComputedStyle$1(Ra){return getWindow(Ra).getComputedStyle(Ra)}function getNodeScroll(Ra){return isElement$1(Ra)?{scrollLeft:Ra.scrollLeft,scrollTop:Ra.scrollTop}:{scrollLeft:Ra.scrollX,scrollTop:Ra.scrollY}}function getParentNode(Ra){if(getNodeName(Ra)==="html")return Ra;const qa=Ra.assignedSlot||Ra.parentNode||isShadowRoot(Ra)&&Ra.host||getDocumentElement(Ra);return isShadowRoot(qa)?qa.host:qa}function getNearestOverflowAncestor(Ra){const qa=getParentNode(Ra);return isLastTraversableNode(qa)?Ra.ownerDocument?Ra.ownerDocument.body:Ra.body:isHTMLElement(qa)&&isOverflowElement(qa)?qa:getNearestOverflowAncestor(qa)}function getOverflowAncestors(Ra,qa,nd){var od;qa===void 0&&(qa=[]),nd===void 0&&(nd=!0);const ld=getNearestOverflowAncestor(Ra),ud=ld===((od=Ra.ownerDocument)==null?void 0:od.body),cd=getWindow(ld);if(ud){const dd=getFrameElement(cd);return qa.concat(cd,cd.visualViewport||[],isOverflowElement(ld)?ld:[],dd&&nd?getOverflowAncestors(dd):[])}return qa.concat(ld,getOverflowAncestors(ld,[],nd))}function getFrameElement(Ra){return Ra.parent&&Object.getPrototypeOf(Ra.parent)?Ra.frameElement:null}function getCssDimensions(Ra){const qa=getComputedStyle$1(Ra);let nd=parseFloat(qa.width)||0,od=parseFloat(qa.height)||0;const ld=isHTMLElement(Ra),ud=ld?Ra.offsetWidth:nd,cd=ld?Ra.offsetHeight:od,dd=round(nd)!==ud||round(od)!==cd;return dd&&(nd=ud,od=cd),{width:nd,height:od,$:dd}}function unwrapElement$1(Ra){return isElement$1(Ra)?Ra:Ra.contextElement}function getScale(Ra){const qa=unwrapElement$1(Ra);if(!isHTMLElement(qa))return createCoords(1);const nd=qa.getBoundingClientRect(),{width:od,height:ld,$:ud}=getCssDimensions(qa);let cd=(ud?round(nd.width):nd.width)/od,dd=(ud?round(nd.height):nd.height)/ld;return(!cd||!Number.isFinite(cd))&&(cd=1),(!dd||!Number.isFinite(dd))&&(dd=1),{x:cd,y:dd}}const noOffsets=createCoords(0);function getVisualOffsets(Ra){const qa=getWindow(Ra);return!isWebKit()||!qa.visualViewport?noOffsets:{x:qa.visualViewport.offsetLeft,y:qa.visualViewport.offsetTop}}function shouldAddVisualOffsets(Ra,qa,nd){return qa===void 0&&(qa=!1),!nd||qa&&nd!==getWindow(Ra)?!1:qa}function getBoundingClientRect(Ra,qa,nd,od){qa===void 0&&(qa=!1),nd===void 0&&(nd=!1);const ld=Ra.getBoundingClientRect(),ud=unwrapElement$1(Ra);let cd=createCoords(1);qa&&(od?isElement$1(od)&&(cd=getScale(od)):cd=getScale(Ra));const dd=shouldAddVisualOffsets(ud,nd,od)?getVisualOffsets(ud):createCoords(0);let pd=(ld.left+dd.x)/cd.x,fd=(ld.top+dd.y)/cd.y,md=ld.width/cd.x,vd=ld.height/cd.y;if(ud){const Ad=getWindow(ud),Nd=od&&isElement$1(od)?getWindow(od):od;let Id=Ad,kd=getFrameElement(Id);for(;kd&&od&&Nd!==Id;){const jd=getScale(kd),Fd=kd.getBoundingClientRect(),Md=getComputedStyle$1(kd),Ld=Fd.left+(kd.clientLeft+parseFloat(Md.paddingLeft))*jd.x,Hd=Fd.top+(kd.clientTop+parseFloat(Md.paddingTop))*jd.y;pd*=jd.x,fd*=jd.y,md*=jd.x,vd*=jd.y,pd+=Ld,fd+=Hd,Id=getWindow(kd),kd=getFrameElement(Id)}}return rectToClientRect({width:md,height:vd,x:pd,y:fd})}function getWindowScrollBarX(Ra,qa){const nd=getNodeScroll(Ra).scrollLeft;return qa?qa.left+nd:getBoundingClientRect(getDocumentElement(Ra)).left+nd}function getHTMLOffset(Ra,qa,nd){nd===void 0&&(nd=!1);const od=Ra.getBoundingClientRect(),ld=od.left+qa.scrollLeft-(nd?0:getWindowScrollBarX(Ra,od)),ud=od.top+qa.scrollTop;return{x:ld,y:ud}}function convertOffsetParentRelativeRectToViewportRelativeRect(Ra){let{elements:qa,rect:nd,offsetParent:od,strategy:ld}=Ra;const ud=ld==="fixed",cd=getDocumentElement(od),dd=qa?isTopLayer(qa.floating):!1;if(od===cd||dd&&ud)return nd;let pd={scrollLeft:0,scrollTop:0},fd=createCoords(1);const md=createCoords(0),vd=isHTMLElement(od);if((vd||!vd&&!ud)&&((getNodeName(od)!=="body"||isOverflowElement(cd))&&(pd=getNodeScroll(od)),isHTMLElement(od))){const Nd=getBoundingClientRect(od);fd=getScale(od),md.x=Nd.x+od.clientLeft,md.y=Nd.y+od.clientTop}const Ad=cd&&!vd&&!ud?getHTMLOffset(cd,pd,!0):createCoords(0);return{width:nd.width*fd.x,height:nd.height*fd.y,x:nd.x*fd.x-pd.scrollLeft*fd.x+md.x+Ad.x,y:nd.y*fd.y-pd.scrollTop*fd.y+md.y+Ad.y}}function getClientRects(Ra){return Array.from(Ra.getClientRects())}function getDocumentRect(Ra){const qa=getDocumentElement(Ra),nd=getNodeScroll(Ra),od=Ra.ownerDocument.body,ld=max$2(qa.scrollWidth,qa.clientWidth,od.scrollWidth,od.clientWidth),ud=max$2(qa.scrollHeight,qa.clientHeight,od.scrollHeight,od.clientHeight);let cd=-nd.scrollLeft+getWindowScrollBarX(Ra);const dd=-nd.scrollTop;return getComputedStyle$1(od).direction==="rtl"&&(cd+=max$2(qa.clientWidth,od.clientWidth)-ld),{width:ld,height:ud,x:cd,y:dd}}function getViewportRect(Ra,qa){const nd=getWindow(Ra),od=getDocumentElement(Ra),ld=nd.visualViewport;let ud=od.clientWidth,cd=od.clientHeight,dd=0,pd=0;if(ld){ud=ld.width,cd=ld.height;const fd=isWebKit();(!fd||fd&&qa==="fixed")&&(dd=ld.offsetLeft,pd=ld.offsetTop)}return{width:ud,height:cd,x:dd,y:pd}}function getInnerBoundingClientRect(Ra,qa){const nd=getBoundingClientRect(Ra,!0,qa==="fixed"),od=nd.top+Ra.clientTop,ld=nd.left+Ra.clientLeft,ud=isHTMLElement(Ra)?getScale(Ra):createCoords(1),cd=Ra.clientWidth*ud.x,dd=Ra.clientHeight*ud.y,pd=ld*ud.x,fd=od*ud.y;return{width:cd,height:dd,x:pd,y:fd}}function getClientRectFromClippingAncestor(Ra,qa,nd){let od;if(qa==="viewport")od=getViewportRect(Ra,nd);else if(qa==="document")od=getDocumentRect(getDocumentElement(Ra));else if(isElement$1(qa))od=getInnerBoundingClientRect(qa,nd);else{const ld=getVisualOffsets(Ra);od={x:qa.x-ld.x,y:qa.y-ld.y,width:qa.width,height:qa.height}}return rectToClientRect(od)}function hasFixedPositionAncestor(Ra,qa){const nd=getParentNode(Ra);return nd===qa||!isElement$1(nd)||isLastTraversableNode(nd)?!1:getComputedStyle$1(nd).position==="fixed"||hasFixedPositionAncestor(nd,qa)}function getClippingElementAncestors(Ra,qa){const nd=qa.get(Ra);if(nd)return nd;let od=getOverflowAncestors(Ra,[],!1).filter(dd=>isElement$1(dd)&&getNodeName(dd)!=="body"),ld=null;const ud=getComputedStyle$1(Ra).position==="fixed";let cd=ud?getParentNode(Ra):Ra;for(;isElement$1(cd)&&!isLastTraversableNode(cd);){const dd=getComputedStyle$1(cd),pd=isContainingBlock(cd);!pd&&dd.position==="fixed"&&(ld=null),(ud?!pd&&!ld:!pd&&dd.position==="static"&&!!ld&&["absolute","fixed"].includes(ld.position)||isOverflowElement(cd)&&!pd&&hasFixedPositionAncestor(Ra,cd))?od=od.filter(md=>md!==cd):ld=dd,cd=getParentNode(cd)}return qa.set(Ra,od),od}function getClippingRect(Ra){let{element:qa,boundary:nd,rootBoundary:od,strategy:ld}=Ra;const cd=[...nd==="clippingAncestors"?isTopLayer(qa)?[]:getClippingElementAncestors(qa,this._c):[].concat(nd),od],dd=cd[0],pd=cd.reduce((fd,md)=>{const vd=getClientRectFromClippingAncestor(qa,md,ld);return fd.top=max$2(vd.top,fd.top),fd.right=min$1(vd.right,fd.right),fd.bottom=min$1(vd.bottom,fd.bottom),fd.left=max$2(vd.left,fd.left),fd},getClientRectFromClippingAncestor(qa,dd,ld));return{width:pd.right-pd.left,height:pd.bottom-pd.top,x:pd.left,y:pd.top}}function getDimensions(Ra){const{width:qa,height:nd}=getCssDimensions(Ra);return{width:qa,height:nd}}function getRectRelativeToOffsetParent(Ra,qa,nd){const od=isHTMLElement(qa),ld=getDocumentElement(qa),ud=nd==="fixed",cd=getBoundingClientRect(Ra,!0,ud,qa);let dd={scrollLeft:0,scrollTop:0};const pd=createCoords(0);if(od||!od&&!ud)if((getNodeName(qa)!=="body"||isOverflowElement(ld))&&(dd=getNodeScroll(qa)),od){const Ad=getBoundingClientRect(qa,!0,ud,qa);pd.x=Ad.x+qa.clientLeft,pd.y=Ad.y+qa.clientTop}else ld&&(pd.x=getWindowScrollBarX(ld));const fd=ld&&!od&&!ud?getHTMLOffset(ld,dd):createCoords(0),md=cd.left+dd.scrollLeft-pd.x-fd.x,vd=cd.top+dd.scrollTop-pd.y-fd.y;return{x:md,y:vd,width:cd.width,height:cd.height}}function isStaticPositioned(Ra){return getComputedStyle$1(Ra).position==="static"}function getTrueOffsetParent(Ra,qa){if(!isHTMLElement(Ra)||getComputedStyle$1(Ra).position==="fixed")return null;if(qa)return qa(Ra);let nd=Ra.offsetParent;return getDocumentElement(Ra)===nd&&(nd=nd.ownerDocument.body),nd}function getOffsetParent(Ra,qa){const nd=getWindow(Ra);if(isTopLayer(Ra))return nd;if(!isHTMLElement(Ra)){let ld=getParentNode(Ra);for(;ld&&!isLastTraversableNode(ld);){if(isElement$1(ld)&&!isStaticPositioned(ld))return ld;ld=getParentNode(ld)}return nd}let od=getTrueOffsetParent(Ra,qa);for(;od&&isTableElement(od)&&isStaticPositioned(od);)od=getTrueOffsetParent(od,qa);return od&&isLastTraversableNode(od)&&isStaticPositioned(od)&&!isContainingBlock(od)?nd:od||getContainingBlock(Ra)||nd}const getElementRects=async function(Ra){const qa=this.getOffsetParent||getOffsetParent,nd=this.getDimensions,od=await nd(Ra.floating);return{reference:getRectRelativeToOffsetParent(Ra.reference,await qa(Ra.floating),Ra.strategy),floating:{x:0,y:0,width:od.width,height:od.height}}};function isRTL(Ra){return getComputedStyle$1(Ra).direction==="rtl"}const platform$2={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement:isElement$1,isRTL};function observeMove(Ra,qa){let nd=null,od;const ld=getDocumentElement(Ra);function ud(){var dd;clearTimeout(od),(dd=nd)==null||dd.disconnect(),nd=null}function cd(dd,pd){dd===void 0&&(dd=!1),pd===void 0&&(pd=1),ud();const{left:fd,top:md,width:vd,height:Ad}=Ra.getBoundingClientRect();if(dd||qa(),!vd||!Ad)return;const Nd=floor(md),Id=floor(ld.clientWidth-(fd+vd)),kd=floor(ld.clientHeight-(md+Ad)),jd=floor(fd),Md={rootMargin:-Nd+"px "+-Id+"px "+-kd+"px "+-jd+"px",threshold:max$2(0,min$1(1,pd))||1};let Ld=!0;function Hd(Gd){const Vd=Gd[0].intersectionRatio;if(Vd!==pd){if(!Ld)return cd();Vd?cd(!1,Vd):od=setTimeout(()=>{cd(!1,1e-7)},1e3)}Ld=!1}try{nd=new IntersectionObserver(Hd,{...Md,root:ld.ownerDocument})}catch{nd=new IntersectionObserver(Hd,Md)}nd.observe(Ra)}return cd(!0),ud}function autoUpdate(Ra,qa,nd,od){od===void 0&&(od={});const{ancestorScroll:ld=!0,ancestorResize:ud=!0,elementResize:cd=typeof ResizeObserver=="function",layoutShift:dd=typeof IntersectionObserver=="function",animationFrame:pd=!1}=od,fd=unwrapElement$1(Ra),md=ld||ud?[...fd?getOverflowAncestors(fd):[],...getOverflowAncestors(qa)]:[];md.forEach(Fd=>{ld&&Fd.addEventListener("scroll",nd,{passive:!0}),ud&&Fd.addEventListener("resize",nd)});const vd=fd&&dd?observeMove(fd,nd):null;let Ad=-1,Nd=null;cd&&(Nd=new ResizeObserver(Fd=>{let[Md]=Fd;Md&&Md.target===fd&&Nd&&(Nd.unobserve(qa),cancelAnimationFrame(Ad),Ad=requestAnimationFrame(()=>{var Ld;(Ld=Nd)==null||Ld.observe(qa)})),nd()}),fd&&!pd&&Nd.observe(fd),Nd.observe(qa));let Id,kd=pd?getBoundingClientRect(Ra):null;pd&&jd();function jd(){const Fd=getBoundingClientRect(Ra);kd&&(Fd.x!==kd.x||Fd.y!==kd.y||Fd.width!==kd.width||Fd.height!==kd.height)&&nd(),kd=Fd,Id=requestAnimationFrame(jd)}return nd(),()=>{var Fd;md.forEach(Md=>{ld&&Md.removeEventListener("scroll",nd),ud&&Md.removeEventListener("resize",nd)}),vd==null||vd(),(Fd=Nd)==null||Fd.disconnect(),Nd=null,pd&&cancelAnimationFrame(Id)}}const offset=offset$1,shift=shift$1,flip=flip$1,size=size$1,hide=hide$1,arrow$1=arrow$2,limitShift=limitShift$1,computePosition=(Ra,qa,nd)=>{const od=new Map,ld={platform:platform$2,...nd},ud={...ld.platform,_c:od};return computePosition$1(Ra,qa,{...ld,platform:ud})};function isComponentPublicInstance(Ra){return Ra!=null&&typeof Ra=="object"&&"$el"in Ra}function unwrapElement(Ra){if(isComponentPublicInstance(Ra)){const qa=Ra.$el;return isNode$2(qa)&&getNodeName(qa)==="#comment"?null:qa}return Ra}function toValue$2(Ra){return typeof Ra=="function"?Ra():unref(Ra)}function arrow(Ra){return{name:"arrow",options:Ra,fn(qa){const nd=unwrapElement(toValue$2(Ra.element));return nd==null?{}:arrow$1({element:nd,padding:Ra.padding}).fn(qa)}}}function getDPR(Ra){return typeof window>"u"?1:(Ra.ownerDocument.defaultView||window).devicePixelRatio||1}function roundByDPR(Ra,qa){const nd=getDPR(Ra);return Math.round(qa*nd)/nd}function useFloating(Ra,qa,nd){nd===void 0&&(nd={});const od=nd.whileElementsMounted,ld=computed(()=>{var Kd;return(Kd=toValue$2(nd.open))!=null?Kd:!0}),ud=computed(()=>toValue$2(nd.middleware)),cd=computed(()=>{var Kd;return(Kd=toValue$2(nd.placement))!=null?Kd:"bottom"}),dd=computed(()=>{var Kd;return(Kd=toValue$2(nd.strategy))!=null?Kd:"absolute"}),pd=computed(()=>{var Kd;return(Kd=toValue$2(nd.transform))!=null?Kd:!0}),fd=computed(()=>unwrapElement(Ra.value)),md=computed(()=>unwrapElement(qa.value)),vd=ref$1(0),Ad=ref$1(0),Nd=ref$1(dd.value),Id=ref$1(cd.value),kd=shallowRef({}),jd=ref$1(!1),Fd=computed(()=>{const Kd={position:Nd.value,left:"0",top:"0"};if(!md.value)return Kd;const mf=roundByDPR(md.value,vd.value),Wd=roundByDPR(md.value,Ad.value);return pd.value?{...Kd,transform:"translate("+mf+"px, "+Wd+"px)",...getDPR(md.value)>=1.5&&{willChange:"transform"}}:{position:Nd.value,left:mf+"px",top:Wd+"px"}});let Md;function Ld(){if(fd.value==null||md.value==null)return;const Kd=ld.value;computePosition(fd.value,md.value,{middleware:ud.value,placement:cd.value,strategy:dd.value}).then(mf=>{vd.value=mf.x,Ad.value=mf.y,Nd.value=mf.strategy,Id.value=mf.placement,kd.value=mf.middlewareData,jd.value=Kd!==!1})}function Hd(){typeof Md=="function"&&(Md(),Md=void 0)}function Gd(){if(Hd(),od===void 0){Ld();return}if(fd.value!=null&&md.value!=null){Md=od(fd.value,md.value,Ld);return}}function Vd(){ld.value||(jd.value=!1)}return watch([ud,cd,dd,ld],Ld,{flush:"sync"}),watch([fd,md],Gd,{flush:"sync"}),watch(ld,Vd,{flush:"sync"}),getCurrentScope()&&onScopeDispose(Hd),{x:shallowReadonly(vd),y:shallowReadonly(Ad),strategy:shallowReadonly(Nd),placement:shallowReadonly(Id),middlewareData:shallowReadonly(kd),isPositioned:shallowReadonly(jd),floatingStyles:Fd,update:Ld}}let $488c6ddbf4ef74c2$var$formatterCache=new Map,$488c6ddbf4ef74c2$var$supportsSignDisplay=!1;try{$488c6ddbf4ef74c2$var$supportsSignDisplay=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let $488c6ddbf4ef74c2$var$supportsUnit=!1;try{$488c6ddbf4ef74c2$var$supportsUnit=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const $488c6ddbf4ef74c2$var$UNITS={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5{format(qa){let nd="";if(!$488c6ddbf4ef74c2$var$supportsSignDisplay&&this.options.signDisplay!=null?nd=$488c6ddbf4ef74c2$export$711b50b3c525e0f2(this.numberFormatter,this.options.signDisplay,qa):nd=this.numberFormatter.format(qa),this.options.style==="unit"&&!$488c6ddbf4ef74c2$var$supportsUnit){var od;let{unit:ld,unitDisplay:ud="short",locale:cd}=this.resolvedOptions();if(!ld)return nd;let dd=(od=$488c6ddbf4ef74c2$var$UNITS[ld])===null||od===void 0?void 0:od[ud];nd+=dd[cd]||dd.default}return nd}formatToParts(qa){return this.numberFormatter.formatToParts(qa)}formatRange(qa,nd){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(qa,nd);if(nd= start date");return`${this.format(qa)} – ${this.format(nd)}`}formatRangeToParts(qa,nd){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(qa,nd);if(nd= start date");let od=this.numberFormatter.formatToParts(qa),ld=this.numberFormatter.formatToParts(nd);return[...od.map(ud=>({...ud,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...ld.map(ud=>({...ud,source:"endRange"}))]}resolvedOptions(){let qa=this.numberFormatter.resolvedOptions();return!$488c6ddbf4ef74c2$var$supportsSignDisplay&&this.options.signDisplay!=null&&(qa={...qa,signDisplay:this.options.signDisplay}),!$488c6ddbf4ef74c2$var$supportsUnit&&this.options.style==="unit"&&(qa={...qa,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),qa}constructor(qa,nd={}){this.numberFormatter=$488c6ddbf4ef74c2$var$getCachedNumberFormatter(qa,nd),this.options=nd}}function $488c6ddbf4ef74c2$var$getCachedNumberFormatter(Ra,qa={}){let{numberingSystem:nd}=qa;if(nd&&Ra.includes("-nu-")&&(Ra.includes("-u-")||(Ra+="-u-"),Ra+=`-nu-${nd}`),qa.style==="unit"&&!$488c6ddbf4ef74c2$var$supportsUnit){var od;let{unit:cd,unitDisplay:dd="short"}=qa;if(!cd)throw new Error('unit option must be provided with style: "unit"');if(!(!((od=$488c6ddbf4ef74c2$var$UNITS[cd])===null||od===void 0)&&od[dd]))throw new Error(`Unsupported unit ${cd} with unitDisplay = ${dd}`);qa={...qa,style:"decimal"}}let ld=Ra+(qa?Object.entries(qa).sort((cd,dd)=>cd[0]0||Object.is(nd,0):qa==="exceptZero"&&(Object.is(nd,-0)||Object.is(nd,0)?nd=Math.abs(nd):od=nd>0),od){let ld=Ra.format(-nd),ud=Ra.format(nd),cd=ld.replace(ud,"").replace(/\u200e|\u061C/,"");return[...cd].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),ld.replace(ud,"!!!").replace(cd,"+").replace("!!!",ud)}else return Ra.format(nd)}}const $6c7bd7858deea686$var$CURRENCY_SIGN_REGEX=new RegExp("^.*\\(.*\\).*$"),$6c7bd7858deea686$var$NUMBERING_SYSTEMS=["latn","arab","hanidec","deva","beng"];class $6c7bd7858deea686$export$cd11ab140839f11d{parse(qa){return $6c7bd7858deea686$var$getNumberParserImpl(this.locale,this.options,qa).parse(qa)}isValidPartialNumber(qa,nd,od){return $6c7bd7858deea686$var$getNumberParserImpl(this.locale,this.options,qa).isValidPartialNumber(qa,nd,od)}getNumberingSystem(qa){return $6c7bd7858deea686$var$getNumberParserImpl(this.locale,this.options,qa).options.numberingSystem}constructor(qa,nd={}){this.locale=qa,this.options=nd}}const $6c7bd7858deea686$var$numberParserCache=new Map;function $6c7bd7858deea686$var$getNumberParserImpl(Ra,qa,nd){let od=$6c7bd7858deea686$var$getCachedNumberParser(Ra,qa);if(!Ra.includes("-nu-")&&!od.isValidPartialNumber(nd)){for(let ld of $6c7bd7858deea686$var$NUMBERING_SYSTEMS)if(ld!==od.options.numberingSystem){let ud=$6c7bd7858deea686$var$getCachedNumberParser(Ra+(Ra.includes("-u-")?"-nu-":"-u-nu-")+ld,qa);if(ud.isValidPartialNumber(nd))return ud}}return od}function $6c7bd7858deea686$var$getCachedNumberParser(Ra,qa){let nd=Ra+(qa?Object.entries(qa).sort((ld,ud)=>ld[0]-1&&(nd=`-${nd}`)}let od=nd?+nd:NaN;if(isNaN(od))return NaN;if(this.options.style==="percent"){var ld,ud;let cd={...this.options,style:"decimal",minimumFractionDigits:Math.min(((ld=this.options.minimumFractionDigits)!==null&&ld!==void 0?ld:0)+2,20),maximumFractionDigits:Math.min(((ud=this.options.maximumFractionDigits)!==null&&ud!==void 0?ud:0)+2,20)};return new $6c7bd7858deea686$export$cd11ab140839f11d(this.locale,cd).parse(new $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5(this.locale,cd).format(od))}return this.options.currencySign==="accounting"&&$6c7bd7858deea686$var$CURRENCY_SIGN_REGEX.test(qa)&&(od=-1*od),od}sanitize(qa){return qa=qa.replace(this.symbols.literals,""),this.symbols.minusSign&&(qa=qa.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(qa=qa.replace(",",this.symbols.decimal),qa=qa.replace("،",this.symbols.decimal)),this.symbols.group&&(qa=$6c7bd7858deea686$var$replaceAll(qa,".",this.symbols.group))),this.options.locale==="fr-FR"&&(qa=$6c7bd7858deea686$var$replaceAll(qa,"."," ")),qa}isValidPartialNumber(qa,nd=-1/0,od=1/0){return qa=this.sanitize(qa),this.symbols.minusSign&&qa.startsWith(this.symbols.minusSign)&&nd<0?qa=qa.slice(this.symbols.minusSign.length):this.symbols.plusSign&&qa.startsWith(this.symbols.plusSign)&&od>0&&(qa=qa.slice(this.symbols.plusSign.length)),this.symbols.group&&qa.startsWith(this.symbols.group)||this.symbols.decimal&&qa.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(qa=$6c7bd7858deea686$var$replaceAll(qa,this.symbols.group,"")),qa=qa.replace(this.symbols.numeral,""),this.symbols.decimal&&(qa=qa.replace(this.symbols.decimal,"")),qa.length===0)}constructor(qa,nd={}){this.locale=qa,this.formatter=new Intl.NumberFormat(qa,nd),this.options=this.formatter.resolvedOptions(),this.symbols=$6c7bd7858deea686$var$getSymbols(qa,this.formatter,this.options,nd);var od,ld;this.options.style==="percent"&&(((od=this.options.minimumFractionDigits)!==null&&od!==void 0?od:0)>18||((ld=this.options.maximumFractionDigits)!==null&&ld!==void 0?ld:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const $6c7bd7858deea686$var$nonLiteralParts=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),$6c7bd7858deea686$var$pluralNumbers=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function $6c7bd7858deea686$var$getSymbols(Ra,qa,nd,od){var ld,ud,cd,dd;let pd=new Intl.NumberFormat(Ra,{...nd,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),fd=pd.formatToParts(-10000.111),md=pd.formatToParts(10000.111),vd=$6c7bd7858deea686$var$pluralNumbers.map(Zd=>pd.formatToParts(Zd));var Ad;let Nd=(Ad=(ld=fd.find(Zd=>Zd.type==="minusSign"))===null||ld===void 0?void 0:ld.value)!==null&&Ad!==void 0?Ad:"-",Id=(ud=md.find(Zd=>Zd.type==="plusSign"))===null||ud===void 0?void 0:ud.value;!Id&&((od==null?void 0:od.signDisplay)==="exceptZero"||(od==null?void 0:od.signDisplay)==="always")&&(Id="+");let jd=(cd=new Intl.NumberFormat(Ra,{...nd,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(Zd=>Zd.type==="decimal"))===null||cd===void 0?void 0:cd.value,Fd=(dd=fd.find(Zd=>Zd.type==="group"))===null||dd===void 0?void 0:dd.value,Md=fd.filter(Zd=>!$6c7bd7858deea686$var$nonLiteralParts.has(Zd.type)).map(Zd=>$6c7bd7858deea686$var$escapeRegex(Zd.value)),Ld=vd.flatMap(Zd=>Zd.filter(Xd=>!$6c7bd7858deea686$var$nonLiteralParts.has(Xd.type)).map(Xd=>$6c7bd7858deea686$var$escapeRegex(Xd.value))),Hd=[...new Set([...Md,...Ld])].sort((Zd,Xd)=>Xd.length-Zd.length),Gd=Hd.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${Hd.join("|")}|[\\p{White_Space}]`,"gu"),Vd=[...new Intl.NumberFormat(nd.locale,{useGrouping:!1}).format(9876543210)].reverse(),Kd=new Map(Vd.map((Zd,Xd)=>[Zd,Xd])),mf=new RegExp(`[${Vd.join("")}]`,"g");return{minusSign:Nd,plusSign:Id,decimal:jd,group:Fd,literals:Gd,numeral:mf,index:Zd=>String(Kd.get(Zd))}}function $6c7bd7858deea686$var$replaceAll(Ra,qa,nd){return Ra.replaceAll?Ra.replaceAll(qa,nd):Ra.split(qa).join(nd)}function $6c7bd7858deea686$var$escapeRegex(Ra){return Ra.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Q$6(Ra,qa){const nd=typeof Ra=="string"&&!qa?`${Ra}Context`:qa,od=Symbol(nd);return[ld=>{const ud=inject(od,ld);if(ud||ud===null)return ud;throw new Error(`Injection \`${od.toString()}\` not found. Component must be used within ${Array.isArray(Ra)?`one of the following components: ${Ra.join(", ")}`:`\`${Ra}\``}`)},ld=>(provide(od,ld),ld)]}function Ht$4(Ra,qa,nd){const od=nd.originalEvent.target,ld=new CustomEvent(Ra,{bubbles:!1,cancelable:!0,detail:nd});qa&&od.addEventListener(Ra,qa,{once:!0}),od.dispatchEvent(ld)}function Wt$4(Ra,qa=Number.NEGATIVE_INFINITY,nd=Number.POSITIVE_INFINITY){return Math.min(Math.max(Ra,qa),nd)}function Ea$1(Ra,qa){let nd=Ra;const od=qa.toString(),ld=od.indexOf("."),ud=ld>=0?od.length-ld:0;if(ud>0){const cd=10**ud;nd=Math.round(nd*cd)/cd}return nd}function Nr$4(Ra,qa,nd,od){qa=Number(qa),nd=Number(nd);const ld=(Ra-(Number.isNaN(qa)?0:qa))%od;let ud=Ea$1(Math.abs(ld)*2>=od?Ra+Math.sign(ld)*(od-Math.abs(ld)):Ra-ld,od);return Number.isNaN(qa)?!Number.isNaN(nd)&&ud>nd&&(ud=Math.floor(Ea$1(nd/od,od))*od):udnd&&(ud=qa+Math.floor(Ea$1((nd-qa)/od,od))*od),ud=Ea$1(ud,od),ud}function Kt$2(Ra){return Ra==null}function Jr$4(Ra,qa){var nd;const od=shallowRef();return watchEffect(()=>{od.value=Ra()},{...qa,flush:(nd=void 0)!=null?nd:"sync"}),readonly(od)}function ht$4(Ra){return getCurrentScope()?(onScopeDispose(Ra),!0):!1}function ia$1(){const Ra=new Set,qa=nd=>{Ra.delete(nd)};return{on:nd=>{Ra.add(nd);const od=()=>qa(nd);return ht$4(od),{off:od}},off:qa,trigger:(...nd)=>Promise.all(Array.from(Ra).map(od=>od(...nd)))}}function ei$4(Ra){let qa=!1,nd;const od=effectScope(!0);return(...ld)=>(qa||(nd=od.run(()=>Ra(...ld)),qa=!0),nd)}function xl$3(Ra){let qa=0,nd,od;const ld=()=>{qa-=1,od&&qa<=0&&(od.stop(),nd=void 0,od=void 0)};return(...ud)=>(qa+=1,nd||(od=effectScope(!0),nd=od.run(()=>Ra(...ud))),ht$4(ld),nd)}function Ke$4(Ra){return typeof Ra=="function"?Ra():unref(Ra)}function ti$4(Ra){if(!isRef(Ra))return reactive(Ra);const qa=new Proxy({},{get(nd,od,ld){return unref(Reflect.get(Ra.value,od,ld))},set(nd,od,ld){return isRef(Ra.value[od])&&!isRef(ld)?Ra.value[od].value=ld:Ra.value[od]=ld,!0},deleteProperty(nd,od){return Reflect.deleteProperty(Ra.value,od)},has(nd,od){return Reflect.has(Ra.value,od)},ownKeys(){return Object.keys(Ra.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return reactive(qa)}function Sl$3(Ra){return ti$4(computed(Ra))}const qe$3=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ai$4=Ra=>typeof Ra<"u",oi$4=Object.prototype.toString,li$4=Ra=>oi$4.call(Ra)==="[object Object]",Va$1=()=>{},zo$1=si$4();function si$4(){var Ra,qa;return qe$3&&((Ra=window==null?void 0:window.navigator)==null?void 0:Ra.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((qa=window==null?void 0:window.navigator)==null?void 0:qa.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function El$3(Ra,qa){function nd(...od){return new Promise((ld,ud)=>{Promise.resolve(Ra(()=>qa.apply(this,od),{fn:qa,thisArg:this,args:od})).then(ld).catch(ud)})}return nd}const Pl$3=Ra=>Ra();function ii$4(Ra=Pl$3){const qa=ref$1(!0);function nd(){qa.value=!1}function od(){qa.value=!0}const ld=(...ud)=>{qa.value&&Ra(...ud)};return{isActive:readonly(qa),pause:nd,resume:od,eventFilter:ld}}function Dl$3(Ra){return getCurrentInstance()}function $t$4(Ra,qa=1e4){return customRef((nd,od)=>{let ld=Ke$4(Ra),ud;const cd=()=>setTimeout(()=>{ld=Ke$4(Ra),od()},Ke$4(qa));return ht$4(()=>{clearTimeout(ud)}),{get(){return nd(),ld},set(dd){ld=dd,od(),clearTimeout(ud),ud=cd()}}})}function ui$4(Ra,qa,nd={}){const{eventFilter:od=Pl$3,...ld}=nd;return watch(Ra,El$3(od,qa),ld)}function Ko$2(Ra,qa,nd={}){const{eventFilter:od,...ld}=nd,{eventFilter:ud,pause:cd,resume:dd,isActive:pd}=ii$4(od);return{stop:ui$4(Ra,qa,{...ld,eventFilter:ud}),pause:cd,resume:dd,isActive:pd}}function di$4(Ra,qa,...[nd]){const{flush:od="sync",deep:ld=!1,immediate:ud=!0,direction:cd="both",transform:dd={}}=nd||{},pd=[],fd="ltr"in dd&&dd.ltr||(vd=>vd),md="rtl"in dd&&dd.rtl||(vd=>vd);return(cd==="both"||cd==="ltr")&&pd.push(Ko$2(Ra,vd=>{pd.forEach(Ad=>Ad.pause()),qa.value=fd(vd),pd.forEach(Ad=>Ad.resume())},{flush:od,deep:ld,immediate:ud})),(cd==="both"||cd==="rtl")&&pd.push(Ko$2(qa,vd=>{pd.forEach(Ad=>Ad.pause()),Ra.value=md(vd),pd.forEach(Ad=>Ad.resume())},{flush:od,deep:ld,immediate:ud})),()=>{pd.forEach(vd=>vd.stop())}}function ci$4(Ra,qa){Dl$3()&&onBeforeUnmount(Ra,qa)}function $e$4(Ra){var qa;const nd=Ke$4(Ra);return(qa=nd==null?void 0:nd.$el)!=null?qa:nd}const qt$5=qe$3?window:void 0;function Le$6(...Ra){let qa,nd,od,ld;if(typeof Ra[0]=="string"||Array.isArray(Ra[0])?([nd,od,ld]=Ra,qa=qt$5):[qa,nd,od,ld]=Ra,!qa)return Va$1;Array.isArray(nd)||(nd=[nd]),Array.isArray(od)||(od=[od]);const ud=[],cd=()=>{ud.forEach(md=>md()),ud.length=0},dd=(md,vd,Ad,Nd)=>(md.addEventListener(vd,Ad,Nd),()=>md.removeEventListener(vd,Ad,Nd)),pd=watch(()=>[$e$4(qa),Ke$4(ld)],([md,vd])=>{if(cd(),!md)return;const Ad=li$4(vd)?{...vd}:vd;ud.push(...nd.flatMap(Nd=>od.map(Id=>dd(md,Nd,Id,Ad))))},{immediate:!0,flush:"post"}),fd=()=>{pd(),cd()};return ht$4(fd),fd}function mi$2(Ra){return typeof Ra=="function"?Ra:typeof Ra=="string"?qa=>qa.key===Ra:Array.isArray(Ra)?qa=>Ra.includes(qa.key):()=>!0}function jn$3(...Ra){let qa,nd,od={};Ra.length===3?(qa=Ra[0],nd=Ra[1],od=Ra[2]):Ra.length===2?typeof Ra[1]=="object"?(qa=!0,nd=Ra[0],od=Ra[1]):(qa=Ra[0],nd=Ra[1]):(qa=!0,nd=Ra[0]);const{target:ld=qt$5,eventName:ud="keydown",passive:cd=!1,dedupe:dd=!1}=od,pd=mi$2(qa);return Le$6(ld,ud,fd=>{fd.repeat&&Ke$4(dd)||pd(fd)&&nd(fd)},cd)}function ja$1(){const Ra=ref$1(!1),qa=getCurrentInstance();return qa&&onMounted(()=>{Ra.value=!0},qa),Ra}function yi$3(Ra){return JSON.parse(JSON.stringify(Ra))}function ne$6(Ra,qa,nd,od={}){var ld,ud,cd;const{clone:dd=!1,passive:pd=!1,eventName:fd,deep:md=!1,defaultValue:vd,shouldEmit:Ad}=od,Nd=getCurrentInstance(),Id=nd||(Nd==null?void 0:Nd.emit)||((ld=Nd==null?void 0:Nd.$emit)==null?void 0:ld.bind(Nd))||((cd=(ud=Nd==null?void 0:Nd.proxy)==null?void 0:ud.$emit)==null?void 0:cd.bind(Nd==null?void 0:Nd.proxy));let kd=fd;qa||(qa="modelValue"),kd=kd||`update:${qa.toString()}`;const jd=Ld=>dd?typeof dd=="function"?dd(Ld):yi$3(Ld):Ld,Fd=()=>ai$4(Ra[qa])?jd(Ra[qa]):vd,Md=Ld=>{Ad?Ad(Ld)&&Id(kd,Ld):Id(kd,Ld)};if(pd){const Ld=Fd(),Hd=ref$1(Ld);let Gd=!1;return watch(()=>Ra[qa],Vd=>{Gd||(Gd=!0,Hd.value=jd(Vd),nextTick$1(()=>Gd=!1))}),watch(Hd,Vd=>{!Gd&&(Vd!==Ra[qa]||md)&&Md(Vd)},{deep:md}),Hd}else return computed({get(){return Fd()},set(Ld){Md(Ld)}})}function Ua$3(Ra){return Ra?Ra.flatMap(qa=>qa.type===Fragment?Ua$3(qa.children):[qa]):[]}const Ci$2=["INPUT","TEXTAREA"];function Bt$5(Ra,qa,nd,od={}){if(!qa||od.enableIgnoredElement&&Ci$2.includes(qa.nodeName))return null;const{arrowKeyOptions:ld="both",attributeName:ud="[data-radix-vue-collection-item]",itemsArray:cd=[],loop:dd=!0,dir:pd="ltr",preventScroll:fd=!0,focus:md=!1}=od,[vd,Ad,Nd,Id,kd,jd]=[Ra.key==="ArrowRight",Ra.key==="ArrowLeft",Ra.key==="ArrowUp",Ra.key==="ArrowDown",Ra.key==="Home",Ra.key==="End"],Fd=Nd||Id,Md=vd||Ad;if(!kd&&!jd&&(!Fd&&!Md||ld==="vertical"&&Md||ld==="horizontal"&&Fd))return null;const Ld=nd?Array.from(nd.querySelectorAll(ud)):cd;if(!Ld.length)return null;fd&&Ra.preventDefault();let Hd=null;return Md||Fd?Hd=Rl$3(Ld,qa,{goForward:Fd?Id:pd==="ltr"?vd:Ad,loop:dd}):kd?Hd=Ld.at(0)||null:jd&&(Hd=Ld.at(-1)||null),md&&(Hd==null||Hd.focus()),Hd}function Rl$3(Ra,qa,nd,od=Ra.length){if(--od===0)return null;const ld=Ra.indexOf(qa),ud=nd.goForward?ld+1:ld-1;if(!nd.loop&&(ud<0||ud>=Ra.length))return null;const cd=(ud+Ra.length)%Ra.length,dd=Ra[cd];return dd?dd.hasAttribute("disabled")&&dd.getAttribute("disabled")!=="false"?Rl$3(Ra,dd,nd,od):dd:null}function gn$4(Ra){if(Ra===null||typeof Ra!="object")return!1;const qa=Object.getPrototypeOf(Ra);return qa!==null&&qa!==Object.prototype&&Object.getPrototypeOf(qa)!==null||Symbol.iterator in Ra?!1:Symbol.toStringTag in Ra?Object.prototype.toString.call(Ra)==="[object Module]":!0}function Pn$4(Ra,qa,nd=".",od){if(!gn$4(qa))return Pn$4(Ra,{},nd);const ld=Object.assign({},qa);for(const ud in Ra){if(ud==="__proto__"||ud==="constructor")continue;const cd=Ra[ud];cd!=null&&(Array.isArray(cd)&&Array.isArray(ld[ud])?ld[ud]=[...cd,...ld[ud]]:gn$4(cd)&&gn$4(ld[ud])?ld[ud]=Pn$4(cd,ld[ud],(nd?`${nd}.`:"")+ud.toString()):ld[ud]=cd)}return ld}function wi$2(Ra){return(...qa)=>qa.reduce((nd,od)=>Pn$4(nd,od,""),{})}const _i$2=wi$2(),[Ga$2,xi$2]=Q$6("ConfigProvider");let Si$2="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Ei$2=(Ra=21)=>{let qa="",nd=Ra;for(;nd--;)qa+=Si$2[Math.random()*64|0];return qa};const Pi$2=xl$3(()=>{const Ra=ref$1(new Map),qa=ref$1(),nd=computed(()=>{for(const cd of Ra.value.values())if(cd)return!0;return!1}),od=Ga$2({scrollBody:ref$1(!0)});let ld=null;const ud=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.body.style.removeProperty("--scrollbar-width"),document.body.style.overflow=qa.value??"",zo$1&&(ld==null||ld()),qa.value=void 0};return watch(nd,(cd,dd)=>{var pd;if(!qe$3)return;if(!cd){dd&&ud();return}qa.value===void 0&&(qa.value=document.body.style.overflow);const fd=window.innerWidth-document.documentElement.clientWidth,md={padding:fd,margin:0},vd=(pd=od.scrollBody)!=null&&pd.value?typeof od.scrollBody.value=="object"?_i$2({padding:od.scrollBody.value.padding===!0?fd:od.scrollBody.value.padding,margin:od.scrollBody.value.margin===!0?fd:od.scrollBody.value.margin},md):md:{padding:0,margin:0};fd>0&&(document.body.style.paddingRight=typeof vd.padding=="number"?`${vd.padding}px`:String(vd.padding),document.body.style.marginRight=typeof vd.margin=="number"?`${vd.margin}px`:String(vd.margin),document.body.style.setProperty("--scrollbar-width",`${fd}px`),document.body.style.overflow="hidden"),zo$1&&(ld=Le$6(document,"touchmove",Ad=>Di$3(Ad),{passive:!1})),nextTick$1(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),Ra});function ha$1(Ra){const qa=Ei$2(6),nd=Pi$2();nd.value.set(qa,Ra??!1);const od=computed({get:()=>nd.value.get(qa)??!1,set:ld=>nd.value.set(qa,ld)});return ci$4(()=>{nd.value.delete(qa)}),od}function Al$3(Ra){const qa=window.getComputedStyle(Ra);if(qa.overflowX==="scroll"||qa.overflowY==="scroll"||qa.overflowX==="auto"&&Ra.clientWidth1?!0:(qa.preventDefault&&qa.cancelable&&qa.preventDefault(),!1)}const $i$2="data-radix-vue-collection-item";function Me$7(Ra,qa=$i$2){const nd=Ra??Symbol();return{createCollection:od=>{const ld=ref$1([]);function ud(){const cd=$e$4(od);return cd?ld.value=Array.from(cd.querySelectorAll(`[${qa}]:not([data-disabled])`)):ld.value=[]}return onBeforeUpdate(()=>{ld.value=[]}),onMounted(ud),onUpdated(ud),watch(()=>od==null?void 0:od.value,ud,{immediate:!0}),provide(nd,ld),ld},injectCollection:()=>inject(nd,ref$1([]))}}function be$8(Ra){const qa=Ga$2({dir:ref$1("ltr")});return computed(()=>{var nd;return(Ra==null?void 0:Ra.value)||((nd=qa.dir)==null?void 0:nd.value)||"ltr"})}function Ae$6(Ra){const qa=getCurrentInstance(),nd=qa==null?void 0:qa.type.emits,od={};return nd!=null&&nd.length||console.warn(`No emitted event found. Please check component: ${qa==null?void 0:qa.type.__name}`),nd==null||nd.forEach(ld=>{od[toHandlerKey(camelize(ld))]=(...ud)=>Ra(ld,...ud)}),od}let bn$3=0;function Gn$4(){watchEffect(Ra=>{if(!qe$3)return;const qa=document.querySelectorAll("[data-radix-focus-guard]");document.body.insertAdjacentElement("afterbegin",qa[0]??Ho$3()),document.body.insertAdjacentElement("beforeend",qa[1]??Ho$3()),bn$3++,Ra(()=>{bn$3===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(nd=>nd.remove()),bn$3--})})}function Ho$3(){const Ra=document.createElement("span");return Ra.setAttribute("data-radix-focus-guard",""),Ra.tabIndex=0,Ra.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",Ra}function Je$4(Ra){return computed(()=>{var qa;return Ke$4(Ra)?!!((qa=$e$4(Ra))!=null&&qa.closest("form")):!0})}function It$4(Ra){const qa=getCurrentInstance(),nd=Object.keys((qa==null?void 0:qa.type.props)??{}).reduce((ld,ud)=>{const cd=(qa==null?void 0:qa.type.props[ud]).default;return cd!==void 0&&(ld[ud]=cd),ld},{}),od=toRef$1(Ra);return computed(()=>{const ld={},ud=(qa==null?void 0:qa.vnode.props)??{};return Object.keys(ud).forEach(cd=>{ld[camelize(cd)]=ud[cd]}),Object.keys({...nd,...ld}).reduce((cd,dd)=>(od.value[dd]!==void 0&&(cd[dd]=od.value[dd]),cd),{})})}function xe$5(Ra,qa){const nd=It$4(Ra),od=qa?Ae$6(qa):{};return computed(()=>({...nd.value,...od}))}function R$6(){const Ra=getCurrentInstance(),qa=ref$1(),nd=computed(()=>{var cd,dd;return["#text","#comment"].includes((cd=qa.value)==null?void 0:cd.$el.nodeName)?(dd=qa.value)==null?void 0:dd.$el.nextElementSibling:$e$4(qa)}),od=Object.assign({},Ra.exposed),ld={};for(const cd in Ra.props)Object.defineProperty(ld,cd,{enumerable:!0,configurable:!0,get:()=>Ra.props[cd]});if(Object.keys(od).length>0)for(const cd in od)Object.defineProperty(ld,cd,{enumerable:!0,configurable:!0,get:()=>od[cd]});Object.defineProperty(ld,"$el",{enumerable:!0,configurable:!0,get:()=>Ra.vnode.el}),Ra.exposed=ld;function ud(cd){qa.value=cd,!(cd instanceof Element||!cd)&&(Object.defineProperty(ld,"$el",{enumerable:!0,configurable:!0,get:()=>cd.$el}),Ra.exposed=ld)}return{forwardRef:ud,currentRef:qa,currentElement:nd}}function Ol$3(Ra,qa){const nd=$t$4(!1,300),od=ref$1(null),ld=ia$1();function ud(){od.value=null,nd.value=!1}function cd(dd,pd){const fd=dd.currentTarget,md={x:dd.clientX,y:dd.clientY},vd=Bi$2(md,fd.getBoundingClientRect()),Ad=Ii$1(md,vd),Nd=Ti$2(pd.getBoundingClientRect()),Id=Ai$2([...Ad,...Nd]);od.value=Id,nd.value=!0}return watchEffect(dd=>{if(Ra.value&&qa.value){const pd=md=>cd(md,qa.value),fd=md=>cd(md,Ra.value);Ra.value.addEventListener("pointerleave",pd),qa.value.addEventListener("pointerleave",fd),dd(()=>{var md,vd;(md=Ra.value)==null||md.removeEventListener("pointerleave",pd),(vd=qa.value)==null||vd.removeEventListener("pointerleave",fd)})}}),watchEffect(dd=>{var pd;if(od.value){const fd=md=>{var vd,Ad;if(!od.value)return;const Nd=md.target,Id={x:md.clientX,y:md.clientY},kd=((vd=Ra.value)==null?void 0:vd.contains(Nd))||((Ad=qa.value)==null?void 0:Ad.contains(Nd)),jd=!Ri$1(Id,od.value),Fd=Nd.hasAttribute("data-grace-area-trigger");kd?ud():(jd||Fd)&&(ud(),ld.trigger())};(pd=Ra.value)==null||pd.ownerDocument.addEventListener("pointermove",fd),dd(()=>{var md;return(md=Ra.value)==null?void 0:md.ownerDocument.removeEventListener("pointermove",fd)})}}),{isPointerInTransit:nd,onPointerExit:ld.on}}function Bi$2(Ra,qa){const nd=Math.abs(qa.top-Ra.y),od=Math.abs(qa.bottom-Ra.y),ld=Math.abs(qa.right-Ra.x),ud=Math.abs(qa.left-Ra.x);switch(Math.min(nd,od,ld,ud)){case ud:return"left";case ld:return"right";case nd:return"top";case od:return"bottom";default:throw new Error("unreachable")}}function Ii$1(Ra,qa,nd=5){const od=[];switch(qa){case"top":od.push({x:Ra.x-nd,y:Ra.y+nd},{x:Ra.x+nd,y:Ra.y+nd});break;case"bottom":od.push({x:Ra.x-nd,y:Ra.y-nd},{x:Ra.x+nd,y:Ra.y-nd});break;case"left":od.push({x:Ra.x+nd,y:Ra.y-nd},{x:Ra.x+nd,y:Ra.y+nd});break;case"right":od.push({x:Ra.x-nd,y:Ra.y-nd},{x:Ra.x-nd,y:Ra.y+nd});break}return od}function Ti$2(Ra){const{top:qa,right:nd,bottom:od,left:ld}=Ra;return[{x:ld,y:qa},{x:nd,y:qa},{x:nd,y:od},{x:ld,y:od}]}function Ri$1(Ra,qa){const{x:nd,y:od}=Ra;let ld=!1;for(let ud=0,cd=qa.length-1;udod!=md>od&&nd<(fd-dd)*(od-pd)/(md-pd)+dd&&(ld=!ld)}return ld}function Ai$2(Ra){const qa=Ra.slice();return qa.sort((nd,od)=>nd.xod.x?1:nd.yod.y?1:0),Oi$1(qa)}function Oi$1(Ra){if(Ra.length<=1)return Ra.slice();const qa=[];for(let od=0;od=2;){const ud=qa[qa.length-1],cd=qa[qa.length-2];if((ud.x-cd.x)*(ld.y-cd.y)>=(ud.y-cd.y)*(ld.x-cd.x))qa.pop();else break}qa.push(ld)}qa.pop();const nd=[];for(let od=Ra.length-1;od>=0;od--){const ld=Ra[od];for(;nd.length>=2;){const ud=nd[nd.length-1],cd=nd[nd.length-2];if((ud.x-cd.x)*(ld.y-cd.y)>=(ud.y-cd.y)*(ld.x-cd.x))nd.pop();else break}nd.push(ld)}return nd.pop(),qa.length===1&&nd.length===1&&qa[0].x===nd[0].x&&qa[0].y===nd[0].y?qa:qa.concat(nd)}var ki$2=function(Ra){if(typeof document>"u")return null;var qa=Array.isArray(Ra)?Ra[0]:Ra;return qa.ownerDocument.body},Nt$5=new WeakMap,Pa$2=new WeakMap,Da$1={},Cn$3=0,kl$3=function(Ra){return Ra&&(Ra.host||kl$3(Ra.parentNode))},Mi$2=function(Ra,qa){return qa.map(function(nd){if(Ra.contains(nd))return nd;var od=kl$3(nd);return od&&Ra.contains(od)?od:(console.error("aria-hidden",nd,"in not contained inside",Ra,". Doing nothing"),null)}).filter(function(nd){return!!nd})},Vi$1=function(Ra,qa,nd,od){var ld=Mi$2(qa,Array.isArray(Ra)?Ra:[Ra]);Da$1[nd]||(Da$1[nd]=new WeakMap);var ud=Da$1[nd],cd=[],dd=new Set,pd=new Set(ld),fd=function(vd){!vd||dd.has(vd)||(dd.add(vd),fd(vd.parentNode))};ld.forEach(fd);var md=function(vd){!vd||pd.has(vd)||Array.prototype.forEach.call(vd.children,function(Ad){if(dd.has(Ad))md(Ad);else try{var Nd=Ad.getAttribute(od),Id=Nd!==null&&Nd!=="false",kd=(Nt$5.get(Ad)||0)+1,jd=(ud.get(Ad)||0)+1;Nt$5.set(Ad,kd),ud.set(Ad,jd),cd.push(Ad),kd===1&&Id&&Pa$2.set(Ad,!0),jd===1&&Ad.setAttribute(nd,"true"),Id||Ad.setAttribute(od,"true")}catch(Fd){console.error("aria-hidden: cannot operate on ",Ad,Fd)}})};return md(qa),dd.clear(),Cn$3++,function(){cd.forEach(function(vd){var Ad=Nt$5.get(vd)-1,Nd=ud.get(vd)-1;Nt$5.set(vd,Ad),ud.set(vd,Nd),Ad||(Pa$2.has(vd)||vd.removeAttribute(od),Pa$2.delete(vd)),Nd||vd.removeAttribute(nd)}),Cn$3--,Cn$3||(Nt$5=new WeakMap,Nt$5=new WeakMap,Pa$2=new WeakMap,Da$1={})}},Fi$2=function(Ra,qa,nd){nd===void 0&&(nd="data-aria-hidden");var od=Array.from(Array.isArray(Ra)?Ra:[Ra]),ld=ki$2(Ra);return ld?(od.push.apply(od,Array.from(ld.querySelectorAll("[aria-live]"))),Vi$1(od,ld,nd,"aria-hidden")):function(){return null}};function ya$1(Ra){let qa;watch(()=>$e$4(Ra),nd=>{nd?qa=Fi$2(nd):qa&&qa()}),onUnmounted(()=>{qa&&qa()})}let Ni$1=0;function he$4(Ra,qa="radix"){if(Ra)return Ra;const nd=Ga$2({useId:void 0});return useId?`${qa}-${useId()}`:nd.useId?`${qa}-${nd.useId()}`:`${qa}-${++Ni$1}`}function Ml$3(Ra){const qa=ref$1(),nd=computed(()=>{var ld;return((ld=qa.value)==null?void 0:ld.width)??0}),od=computed(()=>{var ld;return((ld=qa.value)==null?void 0:ld.height)??0});return onMounted(()=>{const ld=$e$4(Ra);if(ld){qa.value={width:ld.offsetWidth,height:ld.offsetHeight};const ud=new ResizeObserver(cd=>{if(!Array.isArray(cd)||!cd.length)return;const dd=cd[0];let pd,fd;if("borderBoxSize"in dd){const md=dd.borderBoxSize,vd=Array.isArray(md)?md[0]:md;pd=vd.inlineSize,fd=vd.blockSize}else pd=ld.offsetWidth,fd=ld.offsetHeight;qa.value={width:pd,height:fd}});return ud.observe(ld,{box:"border-box"}),()=>ud.unobserve(ld)}else qa.value=void 0}),{width:nd,height:od}}function Vl$3(Ra,qa){const nd=ref$1(Ra);function od(ld){return qa[nd.value][ld]??nd.value}return{state:nd,dispatch:ld=>{nd.value=od(ld)}}}function ga$2(Ra){const qa=$t$4("",1e3);return{search:qa,handleTypeaheadSearch:(nd,od)=>{var ld,ud;if(!(Ra!=null&&Ra.value)&&!od)return;qa.value=qa.value+nd;const cd=(Ra==null?void 0:Ra.value)??od,dd=document.activeElement,pd=((ud=(ld=cd.find(Ad=>Ad===dd))==null?void 0:ld.textContent)==null?void 0:ud.trim())??"",fd=cd.map(Ad=>{var Nd;return((Nd=Ad.textContent)==null?void 0:Nd.trim())??""}),md=Yn$3(fd,qa.value,pd),vd=cd.find(Ad=>{var Nd;return((Nd=Ad.textContent)==null?void 0:Nd.trim())===md});return vd&&vd.focus(),vd},resetTypeahead:()=>{qa.value=""}}}function qn$3(Ra,qa){return Ra.map((nd,od)=>Ra[(qa+od)%Ra.length])}function Yn$3(Ra,qa,nd){const od=qa.length>1&&Array.from(qa).every(dd=>dd===qa[0])?qa[0]:qa,ld=nd?Ra.indexOf(nd):-1;let ud=qn$3(Ra,Math.max(ld,0));od.length===1&&(ud=ud.filter(dd=>dd!==nd));const cd=ud.find(dd=>dd.toLowerCase().startsWith(od.toLowerCase()));return cd!==nd?cd:void 0}const Xn$4=defineComponent({name:"PrimitiveSlot",inheritAttrs:!1,setup(Ra,{attrs:qa,slots:nd}){return()=>{var od,ld;if(!nd.default)return null;const ud=Ua$3(nd.default()),cd=ud.findIndex(md=>md.type!==Comment$2);if(cd===-1)return ud;const dd=ud[cd];(od=dd.props)==null||delete od.ref;const pd=dd.props?mergeProps(qa,dd.props):qa;qa.class&&(ld=dd.props)!=null&&ld.class&&delete dd.props.class;const fd=cloneVNode(dd,pd);for(const md in pd)md.startsWith("on")&&(fd.props||(fd.props={}),fd.props[md]=pd[md]);return ud.length===1?fd:(ud[cd]=fd,ud)}}}),O$3=defineComponent({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(Ra,{attrs:qa,slots:nd}){const od=Ra.asChild?"template":Ra.as;return typeof od=="string"&&["area","img","input"].includes(od)?()=>h$1(od,qa):od!=="template"?()=>h$1(Ra.as,qa,{default:nd.default}):()=>h$1(Xn$4,qa,{default:nd.default})}});function Ie$5(){const Ra=ref$1(),qa=computed(()=>{var nd,od;return["#text","#comment"].includes((nd=Ra.value)==null?void 0:nd.$el.nodeName)?(od=Ra.value)==null?void 0:od.$el.nextElementSibling:$e$4(Ra)});return{primitiveElement:Ra,currentElement:qa}}function Wi$2(Ra,qa){const nd=ref$1({}),od=ref$1("none"),ld=Ra.value?"mounted":"unmounted",{state:ud,dispatch:cd}=Vl$3(ld,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),dd=Ad=>{var Nd;if(qe$3){const Id=new CustomEvent(Ad,{bubbles:!1,cancelable:!1});(Nd=qa.value)==null||Nd.dispatchEvent(Id)}};watch(Ra,async(Ad,Nd)=>{var Id;const kd=Nd!==Ad;if(await nextTick$1(),kd){const jd=od.value,Fd=$a$2(qa.value);Ad?(cd("MOUNT"),dd("enter"),Fd==="none"&&dd("after-enter")):Fd==="none"||((Id=nd.value)==null?void 0:Id.display)==="none"?(cd("UNMOUNT"),dd("leave"),dd("after-leave")):Nd&&jd!==Fd?(cd("ANIMATION_OUT"),dd("leave")):(cd("UNMOUNT"),dd("after-leave"))}},{immediate:!0});const pd=Ad=>{const Nd=$a$2(qa.value),Id=Nd.includes(Ad.animationName),kd=ud.value==="mounted"?"enter":"leave";Ad.target===qa.value&&Id&&(dd(`after-${kd}`),cd("ANIMATION_END")),Ad.target===qa.value&&Nd==="none"&&cd("ANIMATION_END")},fd=Ad=>{Ad.target===qa.value&&(od.value=$a$2(qa.value))},md=watch(qa,(Ad,Nd)=>{Ad?(nd.value=getComputedStyle(Ad),Ad.addEventListener("animationstart",fd),Ad.addEventListener("animationcancel",pd),Ad.addEventListener("animationend",pd)):(cd("ANIMATION_END"),Nd==null||Nd.removeEventListener("animationstart",fd),Nd==null||Nd.removeEventListener("animationcancel",pd),Nd==null||Nd.removeEventListener("animationend",pd))},{immediate:!0}),vd=watch(ud,()=>{const Ad=$a$2(qa.value);od.value=ud.value==="mounted"?Ad:"none"});return onUnmounted(()=>{md(),vd()}),{isPresent:computed(()=>["mounted","unmountSuspended"].includes(ud.value))}}function $a$2(Ra){return Ra&&getComputedStyle(Ra).animationName||"none"}const Pe$7=defineComponent({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(Ra,{slots:qa,expose:nd}){var od;const{present:ld,forceMount:ud}=toRefs(Ra),cd=ref$1(),{isPresent:dd}=Wi$2(ld,cd);nd({present:dd});let pd=qa.default({present:dd});pd=Ua$3(pd||[]);const fd=getCurrentInstance();if(pd&&(pd==null?void 0:pd.length)>1){const md=(od=fd==null?void 0:fd.parent)!=null&&od.type.name?`<${fd.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${md}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(vd=>` - ${vd}`).join(` `)].join(` -`))}return()=>ud.value||ld.value||dd.value?h$1(qa.default({present:dd})[0],{ref:md=>{const vd=$e$4(md);return typeof(vd==null?void 0:vd.hasAttribute)>"u"||(vd!=null&&vd.hasAttribute("data-radix-popper-content-wrapper")?cd.value=vd.firstElementChild:cd.value=vd),vd}}):null}}),[et$5,Xi$1]=Q$6("DialogRoot"),Zi$2=defineComponent({inheritAttrs:!1,__name:"DialogRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=ne$6(nd,"open",qa,{defaultValue:nd.defaultOpen,passive:nd.open===void 0}),ld=ref$1(),ud=ref$1(),{modal:cd}=toRefs(nd);return Xi$1({open:od,modal:cd,openModal:()=>{od.value=!0},onOpenChange:dd=>{od.value=dd},onOpenToggle:()=>{od.value=!od.value},contentId:"",titleId:"",descriptionId:"",triggerElement:ld,contentElement:ud}),(dd,pd)=>renderSlot(dd.$slots,"default",{open:unref(od)})}}),Ji$3=defineComponent({__name:"DialogTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=et$5(),{forwardRef:od,currentElement:ld}=R$6();return nd.contentId||(nd.contentId=he$4(void 0,"radix-vue-dialog-content")),onMounted(()=>{nd.triggerElement.value=ld.value}),(ud,cd)=>(openBlock(),createBlock(unref(O$3),mergeProps(qa,{ref:unref(od),type:ud.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":unref(nd).open.value||!1,"aria-controls":unref(nd).open.value?unref(nd).contentId:void 0,"data-state":unref(nd).open.value?"open":"closed",onClick:unref(nd).onOpenToggle}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16,["type","aria-expanded","aria-controls","data-state","onClick"]))}}),nt$4=defineComponent({__name:"Teleport",props:{to:{default:"body"},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=ja$1();return(nd,od)=>unref(qa)||nd.forceMount?(openBlock(),createBlock(Teleport,{key:0,to:nd.to,disabled:nd.disabled},[renderSlot(nd.$slots,"default")],8,["to","disabled"])):createCommentVNode("",!0)}}),xv=defineComponent({__name:"DialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Qi$1="dismissableLayer.pointerDownOutside",eu$2="dismissableLayer.focusOutside";function zl$3(Ra,qa){const nd=qa.closest("[data-dismissable-layer]"),od=Ra.dataset.dismissableLayer===""?Ra:Ra.querySelector("[data-dismissable-layer]"),ld=Array.from(Ra.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(nd&&od===nd||ld.indexOf(od){});return watchEffect(cd=>{if(!qe$3)return;const dd=async fd=>{const md=fd.target;if(qa!=null&&qa.value){if(zl$3(qa.value,md)){ld.value=!1;return}if(fd.target&&!ld.value){let vd=function(){Ht$4(Qi$1,Ra,Ad)};const Ad={originalEvent:fd};fd.pointerType==="touch"?(od.removeEventListener("click",ud.value),ud.value=vd,od.addEventListener("click",ud.value,{once:!0})):vd()}else od.removeEventListener("click",ud.value);ld.value=!1}},pd=window.setTimeout(()=>{od.addEventListener("pointerdown",dd)},0);cd(()=>{window.clearTimeout(pd),od.removeEventListener("pointerdown",dd),od.removeEventListener("click",ud.value)})}),{onPointerDownCapture:()=>ld.value=!0}}function Hl$3(Ra,qa){var nd;const od=((nd=qa==null?void 0:qa.value)==null?void 0:nd.ownerDocument)??(globalThis==null?void 0:globalThis.document),ld=ref$1(!1);return watchEffect(ud=>{if(!qe$3)return;const cd=async dd=>{qa!=null&&qa.value&&(await nextTick$1(),!(!qa.value||zl$3(qa.value,dd.target))&&dd.target&&!ld.value&&Ht$4(eu$2,Ra,{originalEvent:dd}))};od.addEventListener("focusin",cd),ud(()=>od.removeEventListener("focusin",cd))}),{onFocusCapture:()=>ld.value=!0,onBlurCapture:()=>ld.value=!1}}const je$7=reactive({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yt$3=defineComponent({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{forwardRef:ld,currentElement:ud}=R$6(),cd=computed(()=>{var Id;return((Id=ud.value)==null?void 0:Id.ownerDocument)??globalThis.document}),dd=computed(()=>je$7.layersRoot),pd=computed(()=>ud.value?Array.from(dd.value).indexOf(ud.value):-1),fd=computed(()=>je$7.layersWithOutsidePointerEventsDisabled.size>0),md=computed(()=>{const Id=Array.from(dd.value),[kd]=[...je$7.layersWithOutsidePointerEventsDisabled].slice(-1),jd=Id.indexOf(kd);return pd.value>=jd}),vd=Kl$3(async Id=>{const kd=[...je$7.branches].some(jd=>jd==null?void 0:jd.contains(Id.target));!md.value||kd||(od("pointerDownOutside",Id),od("interactOutside",Id),await nextTick$1(),Id.defaultPrevented||od("dismiss"))},ud),Ad=Hl$3(Id=>{[...je$7.branches].some(kd=>kd==null?void 0:kd.contains(Id.target))||(od("focusOutside",Id),od("interactOutside",Id),Id.defaultPrevented||od("dismiss"))},ud);jn$3("Escape",Id=>{pd.value===dd.value.size-1&&(od("escapeKeyDown",Id),Id.defaultPrevented||od("dismiss"))});let Nd;return watchEffect(Id=>{ud.value&&(nd.disableOutsidePointerEvents&&(je$7.layersWithOutsidePointerEventsDisabled.size===0&&(Nd=cd.value.body.style.pointerEvents,cd.value.body.style.pointerEvents="none"),je$7.layersWithOutsidePointerEventsDisabled.add(ud.value)),dd.value.add(ud.value),Id(()=>{nd.disableOutsidePointerEvents&&je$7.layersWithOutsidePointerEventsDisabled.size===1&&(cd.value.body.style.pointerEvents=Nd)}))}),watchEffect(Id=>{Id(()=>{ud.value&&(dd.value.delete(ud.value),je$7.layersWithOutsidePointerEventsDisabled.delete(ud.value))})}),(Id,kd)=>(openBlock(),createBlock(unref(O$3),{ref:unref(ld),"as-child":Id.asChild,as:Id.as,"data-dismissable-layer":"",style:normalizeStyle({pointerEvents:fd.value?md.value?"auto":"none":void 0}),onFocusCapture:unref(Ad).onFocusCapture,onBlurCapture:unref(Ad).onBlurCapture,onPointerdownCapture:unref(vd).onPointerDownCapture},{default:withCtx(()=>[renderSlot(Id.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),wn$3="focusScope.autoFocusOnMount",_n$3="focusScope.autoFocusOnUnmount",Wo$2={bubbles:!1,cancelable:!0};function Oa$3(Ra,{select:qa=!1}={}){const nd=document.activeElement;for(const od of Ra)if(ct$3(od,{select:qa}),document.activeElement!==nd)return!0}function au$3(Ra){const qa=Jn$4(Ra),nd=jo$2(qa,Ra),od=jo$2(qa.reverse(),Ra);return[nd,od]}function Jn$4(Ra){const qa=[],nd=document.createTreeWalker(Ra,NodeFilter.SHOW_ELEMENT,{acceptNode:od=>{const ld=od.tagName==="INPUT"&&od.type==="hidden";return od.disabled||od.hidden||ld?NodeFilter.FILTER_SKIP:od.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;nd.nextNode();)qa.push(nd.currentNode);return qa}function jo$2(Ra,qa){for(const nd of Ra)if(!nu$4(nd,{upTo:qa}))return nd}function nu$4(Ra,{upTo:qa}){if(getComputedStyle(Ra).visibility==="hidden")return!0;for(;Ra;){if(qa!==void 0&&Ra===qa)return!1;if(getComputedStyle(Ra).display==="none")return!0;Ra=Ra.parentElement}return!1}function ou$3(Ra){return Ra instanceof HTMLInputElement&&"select"in Ra}function ct$3(Ra,{select:qa=!1}={}){if(Ra&&Ra.focus){const nd=document.activeElement;Ra.focus({preventScroll:!0}),Ra!==nd&&ou$3(Ra)&&qa&&Ra.select()}}const lu$3=ei$4(()=>ref$1([]));function su$3(){const Ra=lu$3();return{add(qa){const nd=Ra.value[0];qa!==nd&&(nd==null||nd.pause()),Ra.value=Uo$3(Ra.value,qa),Ra.value.unshift(qa)},remove(qa){var nd;Ra.value=Uo$3(Ra.value,qa),(nd=Ra.value[0])==null||nd.resume()}}}function Uo$3(Ra,qa){const nd=[...Ra],od=nd.indexOf(qa);return od!==-1&&nd.splice(od,1),nd}function ru$3(Ra){return Ra.filter(qa=>qa.tagName!=="A")}const Ya$2=defineComponent({__name:"FocusScope",props:{loop:{type:Boolean,default:!1},trapped:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["mountAutoFocus","unmountAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{currentRef:ld,currentElement:ud}=R$6(),cd=ref$1(null),dd=su$3(),pd=reactive({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});watchEffect(md=>{if(!qe$3)return;const vd=ud.value;if(!nd.trapped)return;function Ad(jd){if(pd.paused||!vd)return;const Fd=jd.target;vd.contains(Fd)?cd.value=Fd:ct$3(cd.value,{select:!0})}function Nd(jd){if(pd.paused||!vd)return;const Fd=jd.relatedTarget;Fd!==null&&(vd.contains(Fd)||ct$3(cd.value,{select:!0}))}function Id(jd){vd.contains(cd.value)||ct$3(vd)}document.addEventListener("focusin",Ad),document.addEventListener("focusout",Nd);const kd=new MutationObserver(Id);vd&&kd.observe(vd,{childList:!0,subtree:!0}),md(()=>{document.removeEventListener("focusin",Ad),document.removeEventListener("focusout",Nd),kd.disconnect()})}),watchEffect(async md=>{const vd=ud.value;if(await nextTick$1(),!vd)return;dd.add(pd);const Ad=document.activeElement;if(!vd.contains(Ad)){const Nd=new CustomEvent(wn$3,Wo$2);vd.addEventListener(wn$3,Id=>od("mountAutoFocus",Id)),vd.dispatchEvent(Nd),Nd.defaultPrevented||(Oa$3(ru$3(Jn$4(vd)),{select:!0}),document.activeElement===Ad&&ct$3(vd))}md(()=>{vd.removeEventListener(wn$3,kd=>od("mountAutoFocus",kd));const Nd=new CustomEvent(_n$3,Wo$2),Id=kd=>{od("unmountAutoFocus",kd)};vd.addEventListener(_n$3,Id),vd.dispatchEvent(Nd),setTimeout(()=>{Nd.defaultPrevented||ct$3(Ad??document.body,{select:!0}),vd.removeEventListener(_n$3,Id),dd.remove(pd)},0)})});function fd(md){if(!nd.loop&&!nd.trapped||pd.paused)return;const vd=md.key==="Tab"&&!md.altKey&&!md.ctrlKey&&!md.metaKey,Ad=document.activeElement;if(vd&&Ad){const Nd=md.currentTarget,[Id,kd]=au$3(Nd);Id&&kd?!md.shiftKey&&Ad===kd?(md.preventDefault(),nd.loop&&ct$3(Id,{select:!0})):md.shiftKey&&Ad===Id&&(md.preventDefault(),nd.loop&&ct$3(kd,{select:!0})):Ad===Nd&&md.preventDefault()}}return(md,vd)=>(openBlock(),createBlock(unref(O$3),{ref_key:"currentRef",ref:ld,tabindex:"-1","as-child":md.asChild,as:md.as,onKeydown:fd},{default:withCtx(()=>[renderSlot(md.$slots,"default")]),_:3},8,["as-child","as"]))}}),iu$2="menu.itemSelect",Dn$3=["Enter"," "],uu$4=["ArrowDown","PageUp","Home"],Wl$3=["ArrowUp","PageDown","End"],du$3=[...uu$4,...Wl$3],cu$3={ltr:[...Dn$3,"ArrowRight"],rtl:[...Dn$3,"ArrowLeft"]},pu$3={ltr:["ArrowLeft"],rtl:["ArrowRight"]};function Qn$4(Ra){return Ra?"open":"closed"}function Fa$1(Ra){return Ra==="indeterminate"}function eo$2(Ra){return Fa$1(Ra)?"indeterminate":Ra?"checked":"unchecked"}function $n$4(Ra){const qa=document.activeElement;for(const nd of Ra)if(nd===qa||(nd.focus(),document.activeElement!==qa))return}function fu$2(Ra,qa){const{x:nd,y:od}=Ra;let ld=!1;for(let ud=0,cd=qa.length-1;udod!=md>od&&nd<(fd-dd)*(od-pd)/(md-pd)+dd&&(ld=!ld)}return ld}function vu$3(Ra,qa){if(!qa)return!1;const nd={x:Ra.clientX,y:Ra.clientY};return fu$2(nd,qa)}function ua$2(Ra){return Ra.pointerType==="mouse"}const jl$3=defineComponent({__name:"DialogContentImpl",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=et$5(),{forwardRef:ud,currentElement:cd}=R$6();return ld.titleId||(ld.titleId=he$4(void 0,"radix-vue-dialog-title")),ld.descriptionId||(ld.descriptionId=he$4(void 0,"radix-vue-dialog-description")),onMounted(()=>{ld.contentElement=cd,document.activeElement!==document.body&&(ld.triggerElement.value=document.activeElement)}),(dd,pd)=>(openBlock(),createBlock(unref(Ya$2),{"as-child":"",loop:"",trapped:nd.trapFocus,onMountAutoFocus:pd[5]||(pd[5]=fd=>od("openAutoFocus",fd)),onUnmountAutoFocus:pd[6]||(pd[6]=fd=>od("closeAutoFocus",fd))},{default:withCtx(()=>[createVNode(unref(yt$3),mergeProps({id:unref(ld).contentId,ref:unref(ud),as:dd.as,"as-child":dd.asChild,"disable-outside-pointer-events":dd.disableOutsidePointerEvents,role:"dialog","aria-describedby":unref(ld).descriptionId,"aria-labelledby":unref(ld).titleId,"data-state":unref(Qn$4)(unref(ld).open.value)},dd.$attrs,{onDismiss:pd[0]||(pd[0]=fd=>unref(ld).onOpenChange(!1)),onEscapeKeyDown:pd[1]||(pd[1]=fd=>od("escapeKeyDown",fd)),onFocusOutside:pd[2]||(pd[2]=fd=>od("focusOutside",fd)),onInteractOutside:pd[3]||(pd[3]=fd=>od("interactOutside",fd)),onPointerDownOutside:pd[4]||(pd[4]=fd=>od("pointerDownOutside",fd))}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),gu$2=defineComponent({__name:"DialogContentModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=et$5(),ud=Ae$6(od),{forwardRef:cd,currentElement:dd}=R$6();return ya$1(dd),(pd,fd)=>(openBlock(),createBlock(jl$3,mergeProps({...nd,...unref(ud)},{ref:unref(cd),"trap-focus":unref(ld).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:fd[0]||(fd[0]=md=>{var vd;md.defaultPrevented||(md.preventDefault(),(vd=unref(ld).triggerElement.value)==null||vd.focus())}),onPointerDownOutside:fd[1]||(fd[1]=md=>{const vd=md.detail.originalEvent,Ad=vd.button===0&&vd.ctrlKey===!0;(vd.button===2||Ad)&&md.preventDefault()}),onFocusOutside:fd[2]||(fd[2]=md=>{md.preventDefault()})}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16,["trap-focus"]))}}),bu$2=defineComponent({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);R$6();const ld=et$5(),ud=ref$1(!1),cd=ref$1(!1);return(dd,pd)=>(openBlock(),createBlock(jl$3,mergeProps({...nd,...unref(od)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:pd[0]||(pd[0]=fd=>{var md;fd.defaultPrevented||(ud.value||(md=unref(ld).triggerElement.value)==null||md.focus(),fd.preventDefault()),ud.value=!1,cd.value=!1}),onInteractOutside:pd[1]||(pd[1]=fd=>{var md;fd.defaultPrevented||(ud.value=!0,fd.detail.originalEvent.type==="pointerdown"&&(cd.value=!0));const vd=fd.target;(md=unref(ld).triggerElement.value)!=null&&md.contains(vd)&&fd.preventDefault(),fd.detail.originalEvent.type==="focusin"&&cd.value&&fd.preventDefault()})}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16))}}),Cu$3=defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=et$5(),ud=Ae$6(od),{forwardRef:cd}=R$6();return(dd,pd)=>(openBlock(),createBlock(unref(Pe$7),{present:dd.forceMount||unref(ld).open.value},{default:withCtx(()=>[unref(ld).modal.value?(openBlock(),createBlock(gu$2,mergeProps({key:0,ref:unref(cd)},{...nd,...unref(ud),...dd.$attrs}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16)):(openBlock(),createBlock(bu$2,mergeProps({key:1,ref:unref(cd)},{...nd,...unref(ud),...dd.$attrs}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),wu$3=defineComponent({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=et$5();return ha$1(!0),R$6(),(nd,od)=>(openBlock(),createBlock(unref(O$3),{as:nd.as,"as-child":nd.asChild,"data-state":unref(qa).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),_u$3=defineComponent({__name:"DialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=et$5(),{forwardRef:nd}=R$6();return(od,ld)=>{var ud;return(ud=unref(qa))!=null&&ud.modal.value?(openBlock(),createBlock(unref(Pe$7),{key:0,present:od.forceMount||unref(qa).open.value},{default:withCtx(()=>[createVNode(wu$3,mergeProps(od.$attrs,{ref:unref(nd),as:od.as,"as-child":od.asChild}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):createCommentVNode("",!0)}}}),Ul$3=defineComponent({__name:"DialogClose",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra;R$6();const nd=et$5();return(od,ld)=>(openBlock(),createBlock(unref(O$3),mergeProps(qa,{type:od.as==="button"?"button":void 0,onClick:ld[0]||(ld[0]=ud=>unref(nd).onOpenChange(!1))}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["type"]))}}),xu$2=defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(Ra){const qa=Ra,nd=et$5();return R$6(),(od,ld)=>(openBlock(),createBlock(unref(O$3),mergeProps(qa,{id:unref(nd).titleId}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["id"]))}}),Su$2=defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{default:"p"}},setup(Ra){const qa=Ra;R$6();const nd=et$5();return(od,ld)=>(openBlock(),createBlock(unref(O$3),mergeProps(qa,{id:unref(nd).descriptionId}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["id"]))}}),Sv=defineComponent({__name:"AlertDialogRoot",props:{open:{type:Boolean},defaultOpen:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa);return R$6(),(od,ld)=>(openBlock(),createBlock(unref(Zi$2),mergeProps(unref(nd),{modal:!0}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16))}}),Pv=defineComponent({__name:"AlertDialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[Eu$3,Pu$2]=Q$6("AlertDialogContent"),Dv=defineComponent({__name:"AlertDialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);R$6();const ld=ref$1();return Pu$2({onCancelElementChange:ud=>{ld.value=ud}}),(ud,cd)=>(openBlock(),createBlock(unref(Cu$3),mergeProps({...nd,...unref(od)},{role:"alertdialog",onPointerDownOutside:cd[0]||(cd[0]=withModifiers(()=>{},["prevent"])),onInteractOutside:cd[1]||(cd[1]=withModifiers(()=>{},["prevent"])),onOpenAutoFocus:cd[2]||(cd[2]=()=>{nextTick$1(()=>{var dd;(dd=ld.value)==null||dd.focus({preventScroll:!0})})})}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),$v=defineComponent({__name:"AlertDialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$6(),(nd,od)=>(openBlock(),createBlock(unref(_u$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Bv=defineComponent({__name:"AlertDialogCancel",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=Eu$3(),{forwardRef:od,currentElement:ld}=R$6();return onMounted(()=>{nd.onCancelElementChange(ld.value)}),(ud,cd)=>(openBlock(),createBlock(unref(Ul$3),mergeProps(qa,{ref:unref(od)}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),Iv=defineComponent({__name:"AlertDialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(Ra){const qa=Ra;return R$6(),(nd,od)=>(openBlock(),createBlock(unref(xu$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Tv=defineComponent({__name:"AlertDialogDescription",props:{asChild:{type:Boolean},as:{default:"p"}},setup(Ra){const qa=Ra;return R$6(),(nd,od)=>(openBlock(),createBlock(unref(Su$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Rv=defineComponent({__name:"AlertDialogAction",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra;return R$6(),(nd,od)=>(openBlock(),createBlock(unref(Ul$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[Xl$3,Ju$3]=Q$6("PopperRoot"),Tt$4=defineComponent({inheritAttrs:!1,__name:"PopperRoot",setup(Ra){const qa=ref$1();return Ju$3({anchor:qa,onAnchorChange:nd=>qa.value=nd}),(nd,od)=>renderSlot(nd.$slots,"default")}}),Rt$5=defineComponent({__name:"PopperAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{forwardRef:nd,currentElement:od}=R$6(),ld=Xl$3();return watchEffect(()=>{ld.onAnchorChange(qa.element??od.value)}),(ud,cd)=>(openBlock(),createBlock(unref(O$3),{ref:unref(nd),as:ud.as,"as-child":ud.asChild},{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},8,["as","as-child"]))}});function Qu$3(Ra){return Ra!==null}function ed(Ra){return{name:"transformOrigin",options:Ra,fn(qa){var nd,od,ld;const{placement:ud,rects:cd,middlewareData:dd}=qa,pd=((nd=dd.arrow)==null?void 0:nd.centerOffset)!==0,fd=pd?0:Ra.arrowWidth,md=pd?0:Ra.arrowHeight,[vd,Ad]=Bn$3(ud),Nd={start:"0%",center:"50%",end:"100%"}[Ad],Id=(((od=dd.arrow)==null?void 0:od.x)??0)+fd/2,kd=(((ld=dd.arrow)==null?void 0:ld.y)??0)+md/2;let jd="",Fd="";return vd==="bottom"?(jd=pd?Nd:`${Id}px`,Fd=`${-md}px`):vd==="top"?(jd=pd?Nd:`${Id}px`,Fd=`${cd.floating.height+md}px`):vd==="right"?(jd=`${-md}px`,Fd=pd?Nd:`${kd}px`):vd==="left"&&(jd=`${cd.floating.width+md}px`,Fd=pd?Nd:`${kd}px`),{data:{x:jd,y:Fd}}}}}function Bn$3(Ra){const[qa,nd="center"]=Ra.split("-");return[qa,nd]}const Zl$3={side:"bottom",sideOffset:0,align:"center",alignOffset:0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,updatePositionStrategy:"optimized",prioritizePosition:!1},[td,ad]=Q$6("PopperContent"),Dt$4=defineComponent({inheritAttrs:!1,__name:"PopperContent",props:mergeDefaults({side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...Zl$3}),emits:["placed"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=Xl$3(),{forwardRef:ud,currentElement:cd}=R$6(),dd=ref$1(),pd=ref$1(),{width:fd,height:md}=Ml$3(pd),vd=computed(()=>nd.side+(nd.align!=="center"?`-${nd.align}`:"")),Ad=computed(()=>typeof nd.collisionPadding=="number"?nd.collisionPadding:{top:0,right:0,bottom:0,left:0,...nd.collisionPadding}),Nd=computed(()=>Array.isArray(nd.collisionBoundary)?nd.collisionBoundary:[nd.collisionBoundary]),Id=computed(()=>({padding:Ad.value,boundary:Nd.value.filter(Qu$3),altBoundary:Nd.value.length>0})),kd=Jr$4(()=>[offset({mainAxis:nd.sideOffset+md.value,alignmentAxis:nd.alignOffset}),nd.prioritizePosition&&nd.avoidCollisions&&flip({...Id.value}),nd.avoidCollisions&&shift({mainAxis:!0,crossAxis:!!nd.prioritizePosition,limiter:nd.sticky==="partial"?limitShift():void 0,...Id.value}),!nd.prioritizePosition&&nd.avoidCollisions&&flip({...Id.value}),size({...Id.value,apply:({elements:Zd,rects:Kd,availableWidth:bf,availableHeight:gf})=>{const{width:Ef,height:yf}=Kd.reference,xf=Zd.floating.style;xf.setProperty("--radix-popper-available-width",`${bf}px`),xf.setProperty("--radix-popper-available-height",`${gf}px`),xf.setProperty("--radix-popper-anchor-width",`${Ef}px`),xf.setProperty("--radix-popper-anchor-height",`${yf}px`)}}),pd.value&&arrow({element:pd.value,padding:nd.arrowPadding}),ed({arrowWidth:fd.value,arrowHeight:md.value}),nd.hideWhenDetached&&hide({strategy:"referenceHidden",...Id.value})]),{floatingStyles:jd,placement:Fd,isPositioned:Md,middlewareData:Ld}=useFloating(ld.anchor,dd,{strategy:"fixed",placement:vd,whileElementsMounted:(...Zd)=>autoUpdate(...Zd,{animationFrame:nd.updatePositionStrategy==="always"}),middleware:kd}),Hd=computed(()=>Bn$3(Fd.value)[0]),Gd=computed(()=>Bn$3(Fd.value)[1]);watchPostEffect(()=>{Md.value&&od("placed")});const Vd=computed(()=>{var Zd;return((Zd=Ld.value.arrow)==null?void 0:Zd.centerOffset)!==0}),Qd=ref$1("");watchEffect(()=>{cd.value&&(Qd.value=window.getComputedStyle(cd.value).zIndex)});const mf=computed(()=>{var Zd;return((Zd=Ld.value.arrow)==null?void 0:Zd.x)??0}),Yd=computed(()=>{var Zd;return((Zd=Ld.value.arrow)==null?void 0:Zd.y)??0});return ad({placedSide:Hd,onArrowChange:Zd=>pd.value=Zd,arrowX:mf,arrowY:Yd,shouldHideArrow:Vd}),(Zd,Kd)=>{var bf,gf,Ef;return openBlock(),createElementBlock("div",{ref_key:"floatingRef",ref:dd,"data-radix-popper-content-wrapper":"",style:normalizeStyle({...unref(jd),transform:unref(Md)?unref(jd).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Qd.value,"--radix-popper-transform-origin":[(bf=unref(Ld).transformOrigin)==null?void 0:bf.x,(gf=unref(Ld).transformOrigin)==null?void 0:gf.y].join(" "),...((Ef=unref(Ld).hide)==null?void 0:Ef.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[createVNode(unref(O$3),mergeProps({ref:unref(ud)},Zd.$attrs,{"as-child":nd.asChild,as:Zd.as,"data-side":Hd.value,"data-align":Gd.value,style:{animation:unref(Md)?void 0:"none"}}),{default:withCtx(()=>[renderSlot(Zd.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),Zt$4=defineComponent({__name:"VisuallyHidden",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){return R$6(),(qa,nd)=>(openBlock(),createBlock(unref(O$3),{as:qa.as,"as-child":qa.asChild,style:{position:"absolute",border:0,width:"1px",display:"inline-block",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:withCtx(()=>[renderSlot(qa.$slots,"default")]),_:3},8,["as","as-child"]))}}),sd="data-radix-vue-collection-item",[ao$1,rd]=Q$6("CollectionProvider");function ba$2(Ra=sd){const qa=ref$1(new Map),nd=ref$1(),od=rd({collectionRef:nd,itemMap:qa,attrName:Ra}),{getItems:ld}=Qt$4(od),ud=computed(()=>Array.from(od.itemMap.value.values())),cd=computed(()=>od.itemMap.value.size);return{getItems:ld,reactiveItems:ud,itemMapSize:cd}}const Ca$1=defineComponent({name:"CollectionSlot",setup(Ra,{slots:qa}){const nd=ao$1(),{primitiveElement:od,currentElement:ld}=Ie$5();return watch(ld,()=>{nd.collectionRef.value=ld.value}),()=>h$1(Xn$4,{ref:od},qa)}}),Jt$5=defineComponent({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(Ra,{slots:qa,attrs:nd}){const od=ao$1(),{primitiveElement:ld,currentElement:ud}=Ie$5();return watchEffect(cd=>{if(ud.value){const dd=markRaw(ud.value);od.itemMap.value.set(dd,{ref:ud.value,value:Ra.value}),cd(()=>od.itemMap.value.delete(dd))}}),()=>h$1(Xn$4,{...nd,[od.attrName]:"",ref:ld},qa)}});function Qt$4(Ra){const qa=Ra??ao$1();return{getItems:()=>{const nd=qa.collectionRef.value;if(!nd)return[];const od=Array.from(nd.querySelectorAll(`[${qa.attrName}]`));return Array.from(qa.itemMap.value.values()).sort((ld,ud)=>od.indexOf(ld.ref)-od.indexOf(ud.ref))}}}function Xa$2(Ra){const qa=Ga$2({nonce:ref$1()});return computed(()=>{var nd;return(Ra==null?void 0:Ra.value)||((nd=qa.nonce)==null?void 0:nd.value)})}const Za$1=defineComponent({__name:"MenuAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Rt$5),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}});function hd(){const Ra=ref$1(!1);return onMounted(()=>{Le$6("keydown",()=>{Ra.value=!0},{capture:!0,passive:!0}),Le$6(["pointerdown","pointermove"],()=>{Ra.value=!1},{capture:!0,passive:!0})}),Ra}const yd=xl$3(hd),[At$5,Ql$3]=Q$6(["MenuRoot","MenuSub"],"MenuContext"),[wa$1,gd]=Q$6("MenuRoot"),oo$4=defineComponent({__name:"MenuRoot",props:{open:{type:Boolean,default:!1},dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{modal:ld,dir:ud}=toRefs(nd),cd=be$8(ud),dd=ne$6(nd,"open",od),pd=ref$1(),fd=yd();return Ql$3({open:dd,onOpenChange:md=>{dd.value=md},content:pd,onContentChange:md=>{pd.value=md}}),gd({onClose:()=>{dd.value=!1},isUsingKeyboardRef:fd,dir:cd,modal:ld}),(md,vd)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(md.$slots,"default")]),_:3}))}}),bd="rovingFocusGroup.onEntryFocus",Cd={bubbles:!1,cancelable:!0},Ja={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function wd(Ra,qa){return qa!=="rtl"?Ra:Ra==="ArrowLeft"?"ArrowRight":Ra==="ArrowRight"?"ArrowLeft":Ra}function es$2(Ra,qa,nd){const od=wd(Ra.key,nd);if(!(qa==="vertical"&&["ArrowLeft","ArrowRight"].includes(od))&&!(qa==="horizontal"&&["ArrowUp","ArrowDown"].includes(od)))return Ja[od]}function ts$1(Ra,qa=!1,nd){const od=(nd==null?void 0:nd.activeElement)??document.activeElement;for(const ld of Ra)if(ld===od||(ld.focus({preventScroll:qa}),document.activeElement!==od))return}function _d(Ra,qa){return Ra.map((nd,od)=>Ra[(qa+od)%Ra.length])}const[xd,Sd]=Q$6("RovingFocusGroup"),Ot$4=defineComponent({__name:"RovingFocusGroup",props:{orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!1},currentTabStopId:{},defaultCurrentTabStopId:{},preventScrollOnEntryFocus:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["entryFocus","update:currentTabStopId"],setup(Ra,{expose:qa,emit:nd}){const od=Ra,ld=nd,{loop:ud,orientation:cd,dir:dd}=toRefs(od),pd=be$8(dd),fd=ne$6(od,"currentTabStopId",ld,{defaultValue:od.defaultCurrentTabStopId,passive:od.currentTabStopId===void 0}),md=ref$1(!1),vd=ref$1(!1),Ad=ref$1(0),{getItems:Nd}=ba$2();function Id(jd){const Fd=!vd.value;if(jd.currentTarget&&jd.target===jd.currentTarget&&Fd&&!md.value){const Md=new CustomEvent(bd,Cd);if(jd.currentTarget.dispatchEvent(Md),ld("entryFocus",Md),!Md.defaultPrevented){const Ld=Nd().map(Qd=>Qd.ref).filter(Qd=>Qd.dataset.disabled!==""),Hd=Ld.find(Qd=>Qd.getAttribute("data-active")==="true"),Gd=Ld.find(Qd=>Qd.id===fd.value),Vd=[Hd,Gd,...Ld].filter(Boolean);ts$1(Vd,od.preventScrollOnEntryFocus)}}vd.value=!1}function kd(){setTimeout(()=>{vd.value=!1},1)}return qa({getItems:Nd}),Sd({loop:ud,dir:pd,orientation:cd,currentTabStopId:fd,onItemFocus:jd=>{fd.value=jd},onItemShiftTab:()=>{md.value=!0},onFocusableItemAdd:()=>{Ad.value++},onFocusableItemRemove:()=>{Ad.value--}}),(jd,Fd)=>(openBlock(),createBlock(unref(Ca$1),null,{default:withCtx(()=>[createVNode(unref(O$3),{tabindex:md.value||Ad.value===0?-1:0,"data-orientation":unref(cd),as:jd.as,"as-child":jd.asChild,dir:unref(pd),style:{outline:"none"},onMousedown:Fd[0]||(Fd[0]=Md=>vd.value=!0),onMouseup:kd,onFocus:Id,onBlur:Fd[1]||(Fd[1]=Md=>md.value=!1)},{default:withCtx(()=>[renderSlot(jd.$slots,"default")]),_:3},8,["tabindex","data-orientation","as","as-child","dir"])]),_:3}))}}),kt$4=defineComponent({__name:"RovingFocusItem",props:{tabStopId:{},focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!0},allowShiftKey:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,nd=xd(),od=computed(()=>qa.tabStopId||he$4()),ld=computed(()=>nd.currentTabStopId.value===od.value),{getItems:ud}=Qt$4(),{primitiveElement:cd,currentElement:dd}=Ie$5(),pd=computed(()=>{var md;return(md=dd.value)==null?void 0:md.getRootNode()});onMounted(()=>{qa.focusable&&nd.onFocusableItemAdd()}),onUnmounted(()=>{qa.focusable&&nd.onFocusableItemRemove()});function fd(md){if(md.key==="Tab"&&md.shiftKey){nd.onItemShiftTab();return}if(md.target!==md.currentTarget)return;const vd=es$2(md,nd.orientation.value,nd.dir.value);if(vd!==void 0){if(md.metaKey||md.ctrlKey||md.altKey||!qa.allowShiftKey&&md.shiftKey)return;md.preventDefault();let Ad=[...ud().map(Nd=>Nd.ref).filter(Nd=>Nd.dataset.disabled!=="")];if(vd==="last")Ad.reverse();else if(vd==="prev"||vd==="next"){vd==="prev"&&Ad.reverse();const Nd=Ad.indexOf(md.currentTarget);Ad=nd.loop.value?_d(Ad,Nd+1):Ad.slice(Nd+1)}nextTick$1(()=>ts$1(Ad,!1,pd.value))}}return(md,vd)=>(openBlock(),createBlock(unref(Jt$5),null,{default:withCtx(()=>[createVNode(unref(O$3),{ref_key:"primitiveElement",ref:cd,tabindex:ld.value?0:-1,"data-orientation":unref(nd).orientation.value,"data-active":md.active,"data-disabled":md.focusable?void 0:"",as:md.as,"as-child":md.asChild,onMousedown:vd[0]||(vd[0]=Ad=>{md.focusable?unref(nd).onItemFocus(od.value):Ad.preventDefault()}),onFocus:vd[1]||(vd[1]=Ad=>unref(nd).onItemFocus(od.value)),onKeydown:fd},{default:withCtx(()=>[renderSlot(md.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"])]),_:3}))}}),[lo$3,Ed]=Q$6("MenuContent"),so$2=defineComponent({__name:"MenuContentImpl",props:mergeDefaults({loop:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},disableOutsideScroll:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...Zl$3}),emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus","dismiss"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=At$5(),ud=wa$1(),{trapFocus:cd,disableOutsidePointerEvents:dd,loop:pd}=toRefs(nd);Gn$4(),ha$1(dd.value);const fd=ref$1(""),md=ref$1(0),vd=ref$1(0),Ad=ref$1(null),Nd=ref$1("right"),Id=ref$1(0),kd=ref$1(null),{createCollection:jd}=Me$7(),{forwardRef:Fd,currentElement:Md}=R$6(),Ld=jd(Md);watch(Md,Zd=>{ld.onContentChange(Zd)});const{handleTypeaheadSearch:Hd}=ga$2(Ld);onUnmounted(()=>{window.clearTimeout(md.value)});function Gd(Zd){var Kd,bf;return Nd.value===((Kd=Ad.value)==null?void 0:Kd.side)&&vu$3(Zd,(bf=Ad.value)==null?void 0:bf.area)}async function Vd(Zd){var Kd;od("openAutoFocus",Zd),!Zd.defaultPrevented&&(Zd.preventDefault(),(Kd=Md.value)==null||Kd.focus({preventScroll:!0}))}function Qd(Zd){if(Zd.defaultPrevented)return;const Kd=Zd.target.closest("[data-radix-menu-content]")===Zd.currentTarget,bf=Zd.ctrlKey||Zd.altKey||Zd.metaKey,gf=Zd.key.length===1,Ef=Bt$5(Zd,document.activeElement,Md.value,{loop:pd.value,arrowKeyOptions:"vertical",dir:ud==null?void 0:ud.dir.value,focus:!0,attributeName:"[data-radix-vue-collection-item]:not([data-disabled])"});if(Ef)return Ef==null?void 0:Ef.focus();if(Zd.code==="Space"||(Kd&&(Zd.key==="Tab"&&Zd.preventDefault(),!bf&&gf&&Hd(Zd.key)),Zd.target!==Md.value)||!du$3.includes(Zd.key))return;Zd.preventDefault();const yf=Ld.value;Wl$3.includes(Zd.key)&&yf.reverse(),$n$4(yf)}function mf(Zd){var Kd,bf;(bf=(Kd=Zd==null?void 0:Zd.currentTarget)==null?void 0:Kd.contains)!=null&&bf.call(Kd,Zd.target)||(window.clearTimeout(md.value),fd.value="")}function Yd(Zd){var Kd;if(!ua$2(Zd))return;const bf=Zd.target,gf=Id.value!==Zd.clientX;if((Kd=Zd==null?void 0:Zd.currentTarget)!=null&&Kd.contains(bf)&&gf){const Ef=Zd.clientX>Id.value?"right":"left";Nd.value=Ef,Id.value=Zd.clientX}}return Ed({onItemEnter:Zd=>!!Gd(Zd),onItemLeave:Zd=>{var Kd;Gd(Zd)||((Kd=Md.value)==null||Kd.focus(),kd.value=null)},onTriggerLeave:Zd=>!!Gd(Zd),searchRef:fd,pointerGraceTimerRef:vd,onPointerGraceIntentChange:Zd=>{Ad.value=Zd}}),(Zd,Kd)=>(openBlock(),createBlock(unref(Ya$2),{"as-child":"",trapped:unref(cd),onMountAutoFocus:Vd,onUnmountAutoFocus:Kd[7]||(Kd[7]=bf=>od("closeAutoFocus",bf))},{default:withCtx(()=>[createVNode(unref(yt$3),{"as-child":"","disable-outside-pointer-events":unref(dd),onEscapeKeyDown:Kd[2]||(Kd[2]=bf=>od("escapeKeyDown",bf)),onPointerDownOutside:Kd[3]||(Kd[3]=bf=>od("pointerDownOutside",bf)),onFocusOutside:Kd[4]||(Kd[4]=bf=>od("focusOutside",bf)),onInteractOutside:Kd[5]||(Kd[5]=bf=>od("interactOutside",bf)),onDismiss:Kd[6]||(Kd[6]=bf=>od("dismiss"))},{default:withCtx(()=>[createVNode(unref(Ot$4),{"current-tab-stop-id":kd.value,"onUpdate:currentTabStopId":Kd[0]||(Kd[0]=bf=>kd.value=bf),"as-child":"",orientation:"vertical",dir:unref(ud).dir.value,loop:unref(pd),onEntryFocus:Kd[1]||(Kd[1]=bf=>{od("entryFocus",bf),unref(ud).isUsingKeyboardRef.value||bf.preventDefault()})},{default:withCtx(()=>[createVNode(unref(Dt$4),{ref:unref(Fd),role:"menu",as:Zd.as,"as-child":Zd.asChild,"aria-orientation":"vertical","data-radix-menu-content":"","data-state":unref(Qn$4)(unref(ld).open.value),dir:unref(ud).dir.value,side:Zd.side,"side-offset":Zd.sideOffset,align:Zd.align,"align-offset":Zd.alignOffset,"avoid-collisions":Zd.avoidCollisions,"collision-boundary":Zd.collisionBoundary,"collision-padding":Zd.collisionPadding,"arrow-padding":Zd.arrowPadding,"prioritize-position":Zd.prioritizePosition,sticky:Zd.sticky,"hide-when-detached":Zd.hideWhenDetached,onKeydown:Qd,onBlur:mf,onPointermove:Yd},{default:withCtx(()=>[renderSlot(Zd.$slots,"default")]),_:3},8,["as","as-child","data-state","dir","side","side-offset","align","align-offset","avoid-collisions","collision-boundary","collision-padding","arrow-padding","prioritize-position","sticky","hide-when-detached"])]),_:3},8,["current-tab-stop-id","dir","loop"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),as$1=defineComponent({inheritAttrs:!1,__name:"MenuItemImpl",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,nd=lo$3(),{forwardRef:od}=R$6(),ld=ref$1(!1);async function ud(dd){if(!dd.defaultPrevented&&ua$2(dd)){if(qa.disabled)nd.onItemLeave(dd);else if(!nd.onItemEnter(dd)){const pd=dd.currentTarget;pd==null||pd.focus({preventScroll:!0})}}}async function cd(dd){await nextTick$1(),!dd.defaultPrevented&&ua$2(dd)&&nd.onItemLeave(dd)}return(dd,pd)=>(openBlock(),createBlock(unref(Jt$5),null,{default:withCtx(()=>[createVNode(unref(O$3),mergeProps({ref:unref(od),role:"menuitem",tabindex:"-1"},dd.$attrs,{as:dd.as,"as-child":dd.asChild,"data-radix-vue-collection-item":"","aria-disabled":dd.disabled||void 0,"data-disabled":dd.disabled?"":void 0,"data-highlighted":ld.value?"":void 0,onPointermove:ud,onPointerleave:cd,onFocus:pd[0]||(pd[0]=async fd=>{await nextTick$1(),!(fd.defaultPrevented||dd.disabled)&&(ld.value=!0)}),onBlur:pd[1]||(pd[1]=async fd=>{await nextTick$1(),!fd.defaultPrevented&&(ld.value=!1)})}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["as","as-child","aria-disabled","data-disabled","data-highlighted"])]),_:3}))}}),_a$3=defineComponent({__name:"MenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{forwardRef:ld,currentElement:ud}=R$6(),cd=wa$1(),dd=lo$3(),pd=ref$1(!1);async function fd(){const md=ud.value;if(!nd.disabled&&md){const vd=new CustomEvent(iu$2,{bubbles:!0,cancelable:!0});od("select",vd),await nextTick$1(),vd.defaultPrevented?pd.value=!1:cd.onClose()}}return(md,vd)=>(openBlock(),createBlock(as$1,mergeProps(nd,{ref:unref(ld),onClick:fd,onPointerdown:vd[0]||(vd[0]=()=>{pd.value=!0}),onPointerup:vd[1]||(vd[1]=async Ad=>{var Nd;await nextTick$1(),!Ad.defaultPrevented&&(pd.value||(Nd=Ad.currentTarget)==null||Nd.click())}),onKeydown:vd[2]||(vd[2]=async Ad=>{const Nd=unref(dd).searchRef.value!=="";md.disabled||Nd&&Ad.key===" "||unref(Dn$3).includes(Ad.key)&&(Ad.currentTarget.click(),Ad.preventDefault())})}),{default:withCtx(()=>[renderSlot(md.$slots,"default")]),_:3},16))}}),[Pd,ns$2]=Q$6(["MenuCheckboxItem","MenuRadioItem"],"MenuItemIndicatorContext"),ro$2=defineComponent({__name:"MenuItemIndicator",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Pd({checked:ref$1(!1)});return(nd,od)=>(openBlock(),createBlock(unref(Pe$7),{present:nd.forceMount||unref(Fa$1)(unref(qa).checked.value)||unref(qa).checked.value===!0},{default:withCtx(()=>[createVNode(unref(O$3),{as:nd.as,"as-child":nd.asChild,"data-state":unref(eo$2)(unref(qa).checked.value)},{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},8,["as","as-child","data-state"])]),_:3},8,["present"]))}}),io$3=defineComponent({__name:"MenuCheckboxItem",props:{checked:{type:[Boolean,String],default:!1},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select","update:checked"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=ne$6(nd,"checked",od);return ns$2({checked:ld}),(ud,cd)=>(openBlock(),createBlock(_a$3,mergeProps({role:"menuitemcheckbox"},nd,{"aria-checked":unref(Fa$1)(unref(ld))?"mixed":unref(ld),"data-state":unref(eo$2)(unref(ld)),onSelect:cd[0]||(cd[0]=async dd=>{od("select",dd),unref(Fa$1)(unref(ld))?ld.value=!0:ld.value=!unref(ld)})}),{default:withCtx(()=>[renderSlot(ud.$slots,"default",{checked:unref(ld)})]),_:3},16,["aria-checked","data-state"]))}}),Dd=defineComponent({__name:"MenuRootContentModal",props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=xe$5(nd,od),ud=At$5(),{forwardRef:cd,currentElement:dd}=R$6();return ya$1(dd),(pd,fd)=>(openBlock(),createBlock(so$2,mergeProps(unref(ld),{ref:unref(cd),"trap-focus":unref(ud).open.value,"disable-outside-pointer-events":unref(ud).open.value,"disable-outside-scroll":!0,onDismiss:fd[0]||(fd[0]=md=>unref(ud).onOpenChange(!1)),onFocusOutside:fd[1]||(fd[1]=withModifiers(md=>od("focusOutside",md),["prevent"]))}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16,["trap-focus","disable-outside-pointer-events"]))}}),$d$1=defineComponent({__name:"MenuRootContentNonModal",props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa),od=At$5();return(ld,ud)=>(openBlock(),createBlock(so$2,mergeProps(unref(nd),{"trap-focus":!1,"disable-outside-pointer-events":!1,"disable-outside-scroll":!1,onDismiss:ud[0]||(ud[0]=cd=>unref(od).onOpenChange(!1))}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))}}),uo$3=defineComponent({__name:"MenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa),od=At$5(),ld=wa$1();return(ud,cd)=>(openBlock(),createBlock(unref(Pe$7),{present:ud.forceMount||unref(od).open.value},{default:withCtx(()=>[unref(ld).modal.value?(openBlock(),createBlock(Dd,normalizeProps(mergeProps({key:0},{...ud.$attrs,...unref(nd)})),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16)):(openBlock(),createBlock($d$1,normalizeProps(mergeProps({key:1},{...ud.$attrs,...unref(nd)})),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),po$2=defineComponent({__name:"MenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),mo$3=defineComponent({__name:"MenuSeparator",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(O$3),mergeProps(qa,{role:"separator","aria-orientation":"horizontal"}),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[os$2,Td]=Q$6("MenuSub"),ho$2=defineComponent({__name:"MenuSub",props:{open:{type:Boolean,default:void 0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=ne$6(nd,"open",qa,{defaultValue:!1,passive:nd.open===void 0}),ld=At$5(),ud=ref$1(),cd=ref$1();return watchEffect(dd=>{(ld==null?void 0:ld.open.value)===!1&&(od.value=!1),dd(()=>od.value=!1)}),Ql$3({open:od,onOpenChange:dd=>{od.value=dd},content:cd,onContentChange:dd=>{cd.value=dd}}),Td({triggerId:"",contentId:"",trigger:ud,onTriggerChange:dd=>{ud.value=dd}}),(dd,pd)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3}))}}),yo$3=defineComponent({__name:"MenuSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa),od=At$5(),ld=wa$1(),ud=os$2(),{forwardRef:cd,currentElement:dd}=R$6();return ud.contentId||(ud.contentId=he$4(void 0,"radix-vue-menu-sub-content")),(pd,fd)=>(openBlock(),createBlock(unref(Pe$7),{present:pd.forceMount||unref(od).open.value},{default:withCtx(()=>[createVNode(so$2,mergeProps(unref(nd),{id:unref(ud).contentId,ref:unref(cd),"aria-labelledby":unref(ud).triggerId,align:"start",side:unref(ld).dir.value==="rtl"?"left":"right","disable-outside-pointer-events":!1,"disable-outside-scroll":!1,"trap-focus":!1,onOpenAutoFocus:fd[0]||(fd[0]=withModifiers(md=>{var vd;unref(ld).isUsingKeyboardRef.value&&((vd=unref(dd))==null||vd.focus())},["prevent"])),onCloseAutoFocus:fd[1]||(fd[1]=withModifiers(()=>{},["prevent"])),onFocusOutside:fd[2]||(fd[2]=md=>{md.defaultPrevented||md.target!==unref(ud).trigger.value&&unref(od).onOpenChange(!1)}),onEscapeKeyDown:fd[3]||(fd[3]=md=>{unref(ld).onClose(),md.preventDefault()}),onKeydown:fd[4]||(fd[4]=md=>{var vd,Ad;const Nd=(vd=md.currentTarget)==null?void 0:vd.contains(md.target),Id=unref(pu$3)[unref(ld).dir.value].includes(md.key);Nd&&Id&&(unref(od).onOpenChange(!1),(Ad=unref(ud).trigger.value)==null||Ad.focus(),md.preventDefault())})}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16,["id","aria-labelledby","side"])]),_:3},8,["present"]))}}),go$3=defineComponent({__name:"MenuSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,nd=At$5(),od=wa$1(),ld=os$2(),ud=lo$3(),cd=ref$1(null);ld.triggerId||(ld.triggerId=he$4(void 0,"radix-vue-menu-sub-trigger"));function dd(){cd.value&&window.clearTimeout(cd.value),cd.value=null}onUnmounted(()=>{dd()});function pd(vd){!ua$2(vd)||ud.onItemEnter(vd)||!qa.disabled&&!nd.open.value&&!cd.value&&(ud.onPointerGraceIntentChange(null),cd.value=window.setTimeout(()=>{nd.onOpenChange(!0),dd()},100))}async function fd(vd){var Ad,Nd;if(!ua$2(vd))return;dd();const Id=(Ad=nd.content.value)==null?void 0:Ad.getBoundingClientRect();if(Id!=null&&Id.width){const kd=(Nd=nd.content.value)==null?void 0:Nd.dataset.side,jd=kd==="right",Fd=jd?-5:5,Md=Id[jd?"left":"right"],Ld=Id[jd?"right":"left"];ud.onPointerGraceIntentChange({area:[{x:vd.clientX+Fd,y:vd.clientY},{x:Md,y:Id.top},{x:Ld,y:Id.top},{x:Ld,y:Id.bottom},{x:Md,y:Id.bottom}],side:kd}),window.clearTimeout(ud.pointerGraceTimerRef.value),ud.pointerGraceTimerRef.value=window.setTimeout(()=>ud.onPointerGraceIntentChange(null),300)}else{if(ud.onTriggerLeave(vd))return;ud.onPointerGraceIntentChange(null)}}async function md(vd){var Ad;const Nd=ud.searchRef.value!=="";qa.disabled||Nd&&vd.key===" "||cu$3[od.dir.value].includes(vd.key)&&(nd.onOpenChange(!0),await nextTick$1(),(Ad=nd.content.value)==null||Ad.focus(),vd.preventDefault())}return(vd,Ad)=>(openBlock(),createBlock(Za$1,{"as-child":""},{default:withCtx(()=>[createVNode(as$1,mergeProps(qa,{id:unref(ld).triggerId,ref:Nd=>{var Id;(Id=unref(ld))==null||Id.onTriggerChange(Nd==null?void 0:Nd.$el)},"aria-haspopup":"menu","aria-expanded":unref(nd).open.value,"aria-controls":unref(ld).contentId,"data-state":unref(Qn$4)(unref(nd).open.value),onClick:Ad[0]||(Ad[0]=async Nd=>{qa.disabled||Nd.defaultPrevented||(Nd.currentTarget.focus(),unref(nd).open.value||unref(nd).onOpenChange(!0))}),onPointermove:pd,onPointerleave:fd,onKeydown:md}),{default:withCtx(()=>[renderSlot(vd.$slots,"default")]),_:3},16,["id","aria-expanded","aria-controls","data-state"])]),_:3}))}}),[ls$2,Rd]=Q$6("ContextMenuRoot"),em$1=defineComponent({inheritAttrs:!1,__name:"ContextMenuRoot",props:{dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{dir:ld,modal:ud}=toRefs(nd);R$6();const cd=be$8(ld),dd=ref$1(!1);return Rd({open:dd,onOpenChange:pd=>{dd.value=pd},dir:cd,modal:ud}),watch(dd,pd=>{od("update:open",pd)}),(pd,fd)=>(openBlock(),createBlock(unref(oo$4),{open:dd.value,"onUpdate:open":fd[0]||(fd[0]=md=>dd.value=md),dir:unref(cd),modal:unref(ud)},{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},8,["open","dir","modal"]))}});function Go$2(Ra){return Ra.pointerType!=="mouse"}const tm$1=defineComponent({inheritAttrs:!1,__name:"ContextMenuTrigger",props:{disabled:{type:Boolean,default:!1},asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,{disabled:nd}=toRefs(qa),{forwardRef:od}=R$6(),ld=ls$2(),ud=ref$1({x:0,y:0}),cd=computed(()=>({getBoundingClientRect:()=>({width:0,height:0,left:ud.value.x,right:ud.value.x,top:ud.value.y,bottom:ud.value.y,...ud.value})})),dd=ref$1(0);function pd(){window.clearTimeout(dd.value)}function fd(Nd){ud.value={x:Nd.clientX,y:Nd.clientY},ld.onOpenChange(!0)}async function md(Nd){nd.value||(await nextTick$1(),Nd.defaultPrevented||(pd(),fd(Nd),Nd.preventDefault()))}async function vd(Nd){nd.value||(await nextTick$1(),Go$2(Nd)&&!Nd.defaultPrevented&&(pd(),dd.value=window.setTimeout(()=>fd(Nd),700)))}async function Ad(Nd){nd.value||(await nextTick$1(),Go$2(Nd)&&!Nd.defaultPrevented&&pd())}return(Nd,Id)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(Za$1),{as:"template",element:cd.value},null,8,["element"]),createVNode(unref(O$3),mergeProps({ref:unref(od),as:Nd.as,"as-child":Nd.asChild,"data-state":unref(ld).open.value?"open":"closed","data-disabled":unref(nd)?"":void 0,style:{WebkitTouchCallout:"none"}},Nd.$attrs,{onContextmenu:md,onPointerdown:vd,onPointermove:Ad,onPointercancel:Ad,onPointerup:Ad}),{default:withCtx(()=>[renderSlot(Nd.$slots,"default")]),_:3},16,["as","as-child","data-state","data-disabled"])],64))}}),am=defineComponent({__name:"ContextMenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(po$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),nm$1=defineComponent({__name:"ContextMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},alignOffset:{default:0},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{default:()=>[]},collisionPadding:{default:0},sticky:{default:"partial"},hideWhenDetached:{type:Boolean,default:!1},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa);R$6();const od=ls$2(),ld=ref$1(!1);return(ud,cd)=>(openBlock(),createBlock(unref(uo$3),mergeProps(unref(nd),{side:"right","side-offset":2,align:"start",style:{"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"},onCloseAutoFocus:cd[0]||(cd[0]=dd=>{!dd.defaultPrevented&&ld.value&&dd.preventDefault(),ld.value=!1}),onInteractOutside:cd[1]||(cd[1]=dd=>{!dd.defaultPrevented&&!unref(od).modal.value&&(ld.value=!0)})}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),lm=defineComponent({__name:"ContextMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);return R$6(),(ld,ud)=>(openBlock(),createBlock(unref(_a$3),normalizeProps(guardReactiveProps({...nd,...unref(od)})),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))}}),rm$1=defineComponent({__name:"ContextMenuSeparator",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$6(),(nd,od)=>(openBlock(),createBlock(unref(mo$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[is$4,oc$2]=Q$6("DropdownMenuRoot"),ah=defineComponent({__name:"DropdownMenuRoot",props:{defaultOpen:{type:Boolean},open:{type:Boolean,default:void 0},dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa;R$6();const ld=ne$6(nd,"open",od,{defaultValue:nd.defaultOpen,passive:nd.open===void 0}),ud=ref$1(),{modal:cd,dir:dd}=toRefs(nd),pd=be$8(dd);return oc$2({open:ld,onOpenChange:fd=>{ld.value=fd},onOpenToggle:()=>{ld.value=!ld.value},triggerId:"",triggerElement:ud,contentId:"",modal:cd,dir:pd}),(fd,md)=>(openBlock(),createBlock(unref(oo$4),{open:unref(ld),"onUpdate:open":md[0]||(md[0]=vd=>isRef(ld)?ld.value=vd:null),dir:unref(pd),modal:unref(cd)},{default:withCtx(()=>[renderSlot(fd.$slots,"default",{open:unref(ld)})]),_:3},8,["open","dir","modal"]))}}),nh=defineComponent({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=is$4(),{forwardRef:od,currentElement:ld}=R$6();return onMounted(()=>{nd.triggerElement=ld}),nd.triggerId||(nd.triggerId=he$4(void 0,"radix-vue-dropdown-menu-trigger")),(ud,cd)=>(openBlock(),createBlock(unref(Za$1),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O$3),{id:unref(nd).triggerId,ref:unref(od),type:ud.as==="button"?"button":void 0,"as-child":qa.asChild,as:ud.as,"aria-haspopup":"menu","aria-expanded":unref(nd).open.value,"aria-controls":unref(nd).open.value?unref(nd).contentId:void 0,"data-disabled":ud.disabled?"":void 0,disabled:ud.disabled,"data-state":unref(nd).open.value?"open":"closed",onClick:cd[0]||(cd[0]=async dd=>{var pd;!ud.disabled&&dd.button===0&&dd.ctrlKey===!1&&((pd=unref(nd))==null||pd.onOpenToggle(),await nextTick$1(),unref(nd).open.value&&dd.preventDefault())}),onKeydown:cd[1]||(cd[1]=withKeys(dd=>{ud.disabled||(["Enter"," "].includes(dd.key)&&unref(nd).onOpenToggle(),dd.key==="ArrowDown"&&unref(nd).onOpenChange(!0),["Enter"," ","ArrowDown"].includes(dd.key)&&dd.preventDefault())},["enter","space","arrow-down"]))},{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},8,["id","type","as-child","as","aria-expanded","aria-controls","data-disabled","disabled","data-state"])]),_:3}))}}),oh=defineComponent({__name:"DropdownMenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(po$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),lh=defineComponent({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa);R$6();const od=is$4(),ld=ref$1(!1);function ud(cd){cd.defaultPrevented||(ld.value||setTimeout(()=>{var dd;(dd=od.triggerElement.value)==null||dd.focus()},0),ld.value=!1,cd.preventDefault())}return od.contentId||(od.contentId=he$4(void 0,"radix-vue-dropdown-menu-content")),(cd,dd)=>{var pd;return openBlock(),createBlock(unref(uo$3),mergeProps(unref(nd),{id:unref(od).contentId,"aria-labelledby":(pd=unref(od))==null?void 0:pd.triggerId,style:{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"},onCloseAutoFocus:ud,onInteractOutside:dd[0]||(dd[0]=fd=>{var md;if(fd.defaultPrevented)return;const vd=fd.detail.originalEvent,Ad=vd.button===0&&vd.ctrlKey===!0,Nd=vd.button===2||Ad;(!unref(od).modal.value||Nd)&&(ld.value=!0),(md=unref(od).triggerElement.value)!=null&&md.contains(fd.target)&&fd.preventDefault()})}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["id","aria-labelledby"])}}}),rh=defineComponent({__name:"DropdownMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);return R$6(),(ld,ud)=>(openBlock(),createBlock(unref(_a$3),normalizeProps(guardReactiveProps({...nd,...unref(od)})),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))}}),[wo$2,rc$3]=Q$6("HoverCardRoot"),Eh=defineComponent({__name:"HoverCardRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},openDelay:{default:700},closeDelay:{default:300}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{openDelay:ld,closeDelay:ud}=toRefs(nd);R$6();const cd=ne$6(nd,"open",od,{defaultValue:nd.defaultOpen,passive:nd.open===void 0}),dd=ref$1(0),pd=ref$1(0),fd=ref$1(!1),md=ref$1(!1),vd=ref$1(!1),Ad=ref$1();function Nd(){clearTimeout(pd.value),dd.value=window.setTimeout(()=>cd.value=!0,ld.value)}function Id(){clearTimeout(dd.value),!fd.value&&!md.value&&(pd.value=window.setTimeout(()=>cd.value=!1,ud.value))}function kd(){cd.value=!1}return rc$3({open:cd,onOpenChange(jd){cd.value=jd},onOpen:Nd,onClose:Id,onDismiss:kd,hasSelectionRef:fd,isPointerDownOnContentRef:md,isPointerInTransitRef:vd,triggerElement:Ad}),(jd,Fd)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(jd.$slots,"default",{open:unref(cd)})]),_:3}))}});function Tn$3(Ra){return qa=>qa.pointerType==="touch"?void 0:Ra()}function ic$2(Ra){const qa=[],nd=document.createTreeWalker(Ra,NodeFilter.SHOW_ELEMENT,{acceptNode:od=>od.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;nd.nextNode();)qa.push(nd.currentNode);return qa}const Ph=defineComponent({__name:"HoverCardTrigger",props:{asChild:{type:Boolean},as:{default:"a"}},setup(Ra){const{forwardRef:qa,currentElement:nd}=R$6(),od=wo$2();od.triggerElement=nd;function ld(){setTimeout(()=>{!od.isPointerInTransitRef.value&&!od.open.value&&od.onClose()},0)}return(ud,cd)=>(openBlock(),createBlock(unref(Rt$5),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O$3),{ref:unref(qa),"as-child":ud.asChild,as:ud.as,"data-state":unref(od).open.value?"open":"closed","data-grace-area-trigger":"",onPointerenter:cd[0]||(cd[0]=dd=>unref(Tn$3)(unref(od).onOpen)(dd)),onPointerleave:cd[1]||(cd[1]=dd=>unref(Tn$3)(ld)(dd)),onFocus:cd[2]||(cd[2]=dd=>unref(od).onOpen()),onBlur:cd[3]||(cd[3]=dd=>unref(od).onClose())},{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},8,["as-child","as","data-state"])]),_:3}))}}),Dh=defineComponent({__name:"HoverCardPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),uc$3=defineComponent({__name:"HoverCardContentImpl",props:{side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=It$4(nd),{forwardRef:ud,currentElement:cd}=R$6(),dd=wo$2(),{isPointerInTransit:pd,onPointerExit:fd}=Ol$3(dd.triggerElement,cd);di$4(dd.isPointerInTransitRef,pd,{direction:"rtl"}),fd(()=>{dd.onClose()});const md=ref$1(!1);let vd;watchEffect(Nd=>{if(md.value){const Id=document.body;vd=Id.style.userSelect||Id.style.webkitUserSelect,Id.style.userSelect="none",Id.style.webkitUserSelect="none",Nd(()=>{Id.style.userSelect=vd,Id.style.webkitUserSelect=vd})}});function Ad(){md.value=!1,dd.isPointerDownOnContentRef.value=!1,nextTick$1(()=>{var Nd;((Nd=document.getSelection())==null?void 0:Nd.toString())!==""&&(dd.hasSelectionRef.value=!0)})}return onMounted(()=>{cd.value&&(document.addEventListener("pointerup",Ad),ic$2(cd.value).forEach(Nd=>Nd.setAttribute("tabindex","-1")))}),onUnmounted(()=>{document.removeEventListener("pointerup",Ad),dd.hasSelectionRef.value=!1,dd.isPointerDownOnContentRef.value=!1}),(Nd,Id)=>(openBlock(),createBlock(unref(yt$3),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:Id[1]||(Id[1]=kd=>od("escapeKeyDown",kd)),onPointerDownOutside:Id[2]||(Id[2]=kd=>od("pointerDownOutside",kd)),onFocusOutside:Id[3]||(Id[3]=withModifiers(kd=>od("focusOutside",kd),["prevent"])),onDismiss:unref(dd).onDismiss},{default:withCtx(()=>[createVNode(unref(Dt$4),mergeProps({...unref(ld),...Nd.$attrs},{ref:unref(ud),"data-state":unref(dd).open.value?"open":"closed",style:{userSelect:md.value?"text":void 0,WebkitUserSelect:md.value?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"},onPointerdown:Id[0]||(Id[0]=kd=>{kd.currentTarget.contains(kd.target)&&(md.value=!0),unref(dd).hasSelectionRef.value=!1,unref(dd).isPointerDownOnContentRef.value=!0})}),{default:withCtx(()=>[renderSlot(Nd.$slots,"default")]),_:3},16,["data-state","style"])]),_:3},8,["onDismiss"]))}}),$h=defineComponent({__name:"HoverCardContent",props:{forceMount:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa),{forwardRef:od}=R$6(),ld=wo$2();return(ud,cd)=>(openBlock(),createBlock(unref(Pe$7),{present:ud.forceMount||unref(ld).open.value},{default:withCtx(()=>[createVNode(uc$3,mergeProps(unref(nd),{ref:unref(od),onPointerenter:cd[0]||(cd[0]=dd=>unref(Tn$3)(unref(ld).onOpen)(dd))}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16)]),_:3},8,["present"]))}}),Ih=defineComponent({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{default:"label"}},setup(Ra){const qa=Ra;return R$6(),(nd,od)=>(openBlock(),createBlock(unref(O$3),mergeProps(qa,{onMousedown:od[0]||(od[0]=ld=>{!ld.defaultPrevented&&ld.detail>1&&ld.preventDefault()})}),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[tn$4,Ic$2]=Q$6("MenubarRoot"),Nh=defineComponent({__name:"MenubarRoot",props:{modelValue:{},defaultValue:{},dir:{},loop:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{forwardRef:ld,currentElement:ud}=R$6(),{createCollection:cd}=Me$7("menubar");cd(ud);const dd=ne$6(nd,"modelValue",od,{defaultValue:nd.defaultValue??"",passive:nd.modelValue===void 0}),pd=ref$1(null),{dir:fd,loop:md}=toRefs(nd),vd=be$8(fd);return Ic$2({modelValue:dd,dir:vd,loop:md,onMenuOpen:Ad=>{dd.value=Ad,pd.value=Ad},onMenuClose:()=>{dd.value=""},onMenuToggle:Ad=>{dd.value=dd.value?"":Ad,pd.value=Ad}}),(Ad,Nd)=>(openBlock(),createBlock(unref(Ot$4),{"current-tab-stop-id":pd.value,"onUpdate:currentTabStopId":Nd[0]||(Nd[0]=Id=>pd.value=Id),orientation:"horizontal",loop:unref(md),dir:unref(vd),"as-child":""},{default:withCtx(()=>[createVNode(unref(O$3),{ref:unref(ld),role:"menubar"},{default:withCtx(()=>[renderSlot(Ad.$slots,"default",{modelValue:unref(dd)})]),_:3},512)]),_:3},8,["current-tab-stop-id","loop","dir"]))}}),[_o$2,Tc$1]=Q$6("MenubarMenu"),Lh=defineComponent({__name:"MenubarMenu",props:{value:{}},setup(Ra){const qa=he$4(Ra.value),nd=tn$4();R$6();const od=ref$1(),ld=ref$1(!1),ud=computed(()=>nd.modelValue.value===qa);return watch(ud,()=>{ud.value||(ld.value=!1)}),Tc$1({value:qa,triggerElement:od,triggerId:qa,contentId:"",wasKeyboardTriggerOpenRef:ld}),(cd,dd)=>(openBlock(),createBlock(unref(oo$4),{open:ud.value,modal:!1,dir:unref(nd).dir.value,"onUpdate:open":dd[0]||(dd[0]=pd=>{pd||unref(nd).onMenuClose()})},{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},8,["open","dir"]))}}),zh=defineComponent({__name:"MenubarTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=tn$4(),nd=_o$2(),{forwardRef:od,currentElement:ld}=R$6(),ud=ref$1(!1),cd=computed(()=>qa.modelValue.value===nd.value);return onMounted(()=>{nd.triggerElement=ld}),(dd,pd)=>(openBlock(),createBlock(unref(kt$4),{"as-child":"",focusable:!dd.disabled,"tab-stop-id":unref(nd).value},{default:withCtx(()=>[createVNode(unref(Za$1),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O$3),{id:unref(nd).triggerId,ref:unref(od),as:dd.as,type:dd.as==="button"?"button":void 0,role:"menuitem","aria-haspopup":"menu","aria-expanded":cd.value,"aria-controls":cd.value?unref(nd).contentId:void 0,"data-highlighted":ud.value?"":void 0,"data-state":cd.value?"open":"closed","data-disabled":dd.disabled?"":void 0,disabled:dd.disabled,"data-value":unref(nd).value,"data-radix-vue-collection-item":"",onPointerdown:pd[0]||(pd[0]=fd=>{!dd.disabled&&fd.button===0&&fd.ctrlKey===!1&&(unref(qa).onMenuOpen(unref(nd).value),cd.value||fd.preventDefault())}),onPointerenter:pd[1]||(pd[1]=()=>{var fd;unref(qa).modelValue.value&&!cd.value&&(unref(qa).onMenuOpen(unref(nd).value),(fd=unref(ld))==null||fd.focus())}),onKeydown:pd[2]||(pd[2]=withKeys(fd=>{dd.disabled||(["Enter"," "].includes(fd.key)&&unref(qa).onMenuToggle(unref(nd).value),fd.key==="ArrowDown"&&unref(qa).onMenuOpen(unref(nd).value),["Enter"," ","ArrowDown"].includes(fd.key)&&(unref(nd).wasKeyboardTriggerOpenRef.value=!0,fd.preventDefault()))},["enter","space","arrow-down"])),onFocus:pd[3]||(pd[3]=fd=>ud.value=!0),onBlur:pd[4]||(pd[4]=fd=>ud.value=!1)},{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},8,["id","as","type","aria-expanded","aria-controls","data-highlighted","data-state","data-disabled","disabled","data-value"])]),_:3})]),_:3},8,["focusable","tab-stop-id"]))}}),Kh=defineComponent({__name:"MenubarPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(po$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Hh=defineComponent({__name:"MenubarContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa);R$6();const od=tn$4(),ld=_o$2();ld.contentId||(ld.contentId=he$4(void 0,"radix-vue-menubar-content"));const{injectCollection:ud}=Me$7("menubar"),cd=ud(),dd=ref$1(!1);function pd(fd){const md=fd.target.hasAttribute("data-radix-menubar-subtrigger"),vd=(od.dir.value==="rtl"?"ArrowRight":"ArrowLeft")===fd.key;if(!vd&&md)return;let Ad=cd.value.map(kd=>kd.dataset.value);vd&&Ad.reverse();const Nd=Ad.indexOf(ld.value);Ad=od.loop.value?qn$3(Ad,Nd+1):Ad.slice(Nd+1);const[Id]=Ad;Id&&od.onMenuOpen(Id)}return(fd,md)=>(openBlock(),createBlock(unref(uo$3),mergeProps(unref(nd),{id:unref(ld).contentId,"data-radix-menubar-content":"","aria-labelledby":unref(ld).triggerId,style:{"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"},onCloseAutoFocus:md[0]||(md[0]=vd=>{var Ad;!unref(od).modelValue.value&&!dd.value&&((Ad=unref(ld).triggerElement.value)==null||Ad.focus()),dd.value=!1,vd.preventDefault()}),onFocusOutside:md[1]||(md[1]=vd=>{const Ad=vd.target;unref(cd).some(Nd=>Nd.contains(Ad))&&vd.preventDefault()}),onInteractOutside:md[2]||(md[2]=vd=>{dd.value=!0}),onEntryFocus:md[3]||(md[3]=vd=>{unref(ld).wasKeyboardTriggerOpenRef.value||vd.preventDefault()}),onKeydown:withKeys(pd,["arrow-right","arrow-left"])}),{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},16,["id","aria-labelledby"]))}}),jh=defineComponent({__name:"MenubarItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);return R$6(),(ld,ud)=>(openBlock(),createBlock(unref(_a$3),normalizeProps(guardReactiveProps({...nd,...unref(od)})),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))}}),Gh=defineComponent({__name:"MenubarSeparator",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$6(),(nd,od)=>(openBlock(),createBlock(unref(mo$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),qh=defineComponent({__name:"MenubarCheckboxItem",props:{checked:{type:[Boolean,String]},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select","update:checked"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);return R$6(),(ld,ud)=>(openBlock(),createBlock(unref(io$3),normalizeProps(guardReactiveProps({...nd,...unref(od)})),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))}}),Yh=defineComponent({__name:"MenubarItemIndicator",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$6(),(nd,od)=>(openBlock(),createBlock(unref(ro$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Qh=defineComponent({__name:"MenubarSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean,default:void 0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa;R$6();const ld=ne$6(nd,"open",od,{defaultValue:nd.defaultOpen??!1,passive:nd.open===void 0});return(ud,cd)=>(openBlock(),createBlock(unref(ho$2),{open:unref(ld),"onUpdate:open":cd[0]||(cd[0]=dd=>isRef(ld)?ld.value=dd:null)},{default:withCtx(()=>[renderSlot(ud.$slots,"default",{open:unref(ld)})]),_:3},8,["open"]))}}),ey=defineComponent({__name:"MenubarSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa);R$6();const{injectCollection:od}=Me$7("menubar"),ld=tn$4(),ud=_o$2(),cd=od();function dd(pd){if(pd.target.hasAttribute("data-radix-menubar-subtrigger"))return;let fd=cd.value.map(Ad=>Ad.dataset.value);const md=fd.indexOf(ud.value);fd=ld.loop.value?qn$3(fd,md+1):fd.slice(md+1);const[vd]=fd;vd&&ld.onMenuOpen(vd)}return(pd,fd)=>(openBlock(),createBlock(unref(yo$3),mergeProps(unref(nd),{"data-radix-menubar-content":"",style:{"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"},onKeydown:withKeys(dd,["arrow-right"])}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16))}}),ty=defineComponent({__name:"MenubarSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$6(),(nd,od)=>(openBlock(),createBlock(unref(go$3),mergeProps(qa,{"data-radix-menubar-subtrigger":""}),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}});function ms$3(Ra){const{disabled:qa}=Ra,nd=ref$1(),od=ia$1(),ld=()=>window.clearTimeout(nd.value),ud=Ad=>{ld(),!qa.value&&(od.trigger(),nd.value=window.setTimeout(()=>{ud(60)},Ad))},cd=()=>{ud(400)},dd=()=>{ld()},pd=ref$1(!1),fd=computed(()=>$e$4(Ra.target)),md=Ad=>{Ad.button!==0||pd.value||(Ad.preventDefault(),pd.value=!0,cd())},vd=()=>{pd.value=!1,dd()};return qe$3&&(Le$6(fd||window,"pointerdown",md),Le$6(window,"pointerup",vd),Le$6(window,"pointercancel",vd)),{isPressed:pd,onTrigger:od.on}}function Yo$2(Ra,qa=ref$1({})){return Sl$3(()=>new $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5(Ra.value,qa.value))}function Vc$2(Ra,qa=ref$1({})){return Sl$3(()=>new $6c7bd7858deea686$export$cd11ab140839f11d(Ra.value,qa.value))}function Xo$2(Ra,qa,nd){let od=Ra==="+"?qa+nd:qa-nd;if(qa%1!==0||nd%1!==0){const ld=qa.toString().split("."),ud=nd.toString().split("."),cd=ld[1]&&ld[1].length||0,dd=ud[1]&&ud[1].length||0,pd=10**Math.max(cd,dd);qa=Math.round(qa*pd),nd=Math.round(nd*pd),od=Ra==="+"?qa+nd:qa-nd,od/=pd}return od}const Fc$2=["value","name","disabled","required"],[Eo$2,Nc$2]=Q$6("NumberFieldRoot"),cy$1=defineComponent({inheritAttrs:!1,__name:"NumberFieldRoot",props:{defaultValue:{default:void 0},modelValue:{},min:{},max:{},step:{default:1},formatOptions:{},locale:{default:"en-US"},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},asChild:{type:Boolean},as:{default:"div"}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{disabled:ld,min:ud,max:cd,step:dd,locale:pd,formatOptions:fd,id:md}=toRefs(nd),vd=ne$6(nd,"modelValue",od,{defaultValue:nd.defaultValue,passive:nd.modelValue===void 0}),{primitiveElement:Ad,currentElement:Nd}=Ie$5(),Id=Je$4(Nd),kd=ref$1(),jd=computed(()=>gf(vd.value)===ud.value||(ud.value&&!isNaN(vd.value)?Xo$2("-",vd.value,dd.value)gf(vd.value)===cd.value||(cd.value&&!isNaN(vd.value)?Xo$2("+",vd.value,dd.value)>cd.value:!1));function Md(yf,xf=1){var Af;const Lf=Qd.parse(((Af=kd.value)==null?void 0:Af.value)??"");nd.disabled||(isNaN(Lf)?vd.value=ud.value??0:yf==="increase"?vd.value=gf(Lf+(dd.value??1)*xf):vd.value=gf(Lf-(dd.value??1)*xf))}function Ld(yf=1){Md("increase",yf)}function Hd(yf=1){Md("decrease",yf)}function Gd(yf){yf==="min"&&ud.value!==void 0?vd.value=gf(ud.value):yf==="max"&&cd.value!==void 0&&(vd.value=gf(cd.value))}const Vd=Yo$2(pd,fd),Qd=Vc$2(pd,fd),mf=computed(()=>Vd.resolvedOptions().maximumFractionDigits>0?"decimal":"numeric"),Yd=Yo$2(pd,fd),Zd=computed(()=>isNaN(vd.value)?"":Yd.format(vd.value));function Kd(yf){return Qd.isValidPartialNumber(yf,ud.value,cd.value)}function bf(yf){kd.value&&(kd.value.value=yf)}function gf(yf){let xf;return dd.value===void 0||isNaN(dd.value)?xf=Wt$4(yf,ud.value,cd.value):xf=Nr$4(yf,ud.value,cd.value,dd.value),xf=Qd.parse(Vd.format(xf)),xf}function Ef(yf){const xf=Qd.parse(yf);return vd.value=gf(xf),yf.length?bf(Zd.value):bf(yf)}return Nc$2({modelValue:vd,handleDecrease:Hd,handleIncrease:Ld,handleMinMaxValue:Gd,inputMode:mf,inputEl:kd,onInputElement:yf=>kd.value=yf,textValue:Zd,validate:Kd,applyInputValue:Ef,disabled:ld,max:cd,min:ud,isDecreaseDisabled:jd,isIncreaseDisabled:Fd,id:md}),(yf,xf)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O$3),mergeProps(yf.$attrs,{ref_key:"primitiveElement",ref:Ad,role:"group",as:yf.as,"as-child":yf.asChild,"data-disabled":unref(ld)?"":void 0}),{default:withCtx(()=>[renderSlot(yf.$slots,"default",{modelValue:unref(vd),textValue:Zd.value})]),_:3},16,["as","as-child","data-disabled"]),unref(Id)?(openBlock(),createElementBlock("input",{key:0,type:"text",tabindex:"-1","aria-hidden":"true",value:unref(vd),name:nd.name,disabled:nd.disabled,required:nd.required,style:{transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0}},null,8,Fc$2)):createCommentVNode("",!0)],64))}}),py$1=defineComponent({__name:"NumberFieldInput",props:{asChild:{type:Boolean},as:{default:"input"}},setup(Ra){const qa=Ra,{primitiveElement:nd,currentElement:od}=Ie$5(),ld=Eo$2();function ud(cd){cd.target===document.activeElement&&(Math.abs(cd.deltaY)<=Math.abs(cd.deltaX)||(cd.preventDefault(),cd.deltaY>0?ld.handleIncrease():cd.deltaY<0&&ld.handleDecrease()))}return onMounted(()=>{ld.onInputElement(od.value)}),(cd,dd)=>(openBlock(),createBlock(unref(O$3),mergeProps(qa,{id:unref(ld).id.value,ref_key:"primitiveElement",ref:nd,role:"spinbutton",type:"text",tabindex:"0",value:unref(ld).textValue.value,inputmode:unref(ld).inputMode.value,disabled:unref(ld).disabled.value?"":void 0,"data-disabled":unref(ld).disabled.value?"":void 0,autocomplete:"off",autocorrect:"off",spellcheck:"false","aria-roledescription":"Number field","aria-valuenow":unref(ld).modelValue.value,"aria-valuemin":unref(ld).min.value,"aria-valuemax":unref(ld).max.value,onKeydown:[dd[0]||(dd[0]=withKeys(withModifiers(pd=>unref(ld).handleIncrease(),["prevent"]),["up"])),dd[1]||(dd[1]=withKeys(withModifiers(pd=>unref(ld).handleDecrease(),["prevent"]),["down"])),dd[2]||(dd[2]=withKeys(withModifiers(pd=>unref(ld).handleIncrease(10),["prevent"]),["page-up"])),dd[3]||(dd[3]=withKeys(withModifiers(pd=>unref(ld).handleDecrease(10),["prevent"]),["page-down"])),dd[4]||(dd[4]=withKeys(withModifiers(pd=>unref(ld).handleMinMaxValue("min"),["prevent"]),["home"])),dd[5]||(dd[5]=withKeys(withModifiers(pd=>unref(ld).handleMinMaxValue("max"),["prevent"]),["end"])),dd[7]||(dd[7]=withKeys(pd=>{var fd;return unref(ld).applyInputValue((fd=pd.target)==null?void 0:fd.value)},["enter"]))],onWheel:ud,onBeforeinput:dd[6]||(dd[6]=pd=>{const fd=pd.target;let md=fd.value.slice(0,fd.selectionStart??void 0)+(pd.data??"")+fd.value.slice(fd.selectionEnd??void 0);unref(ld).validate(md)||pd.preventDefault()}),onBlur:dd[8]||(dd[8]=pd=>{var fd;return unref(ld).applyInputValue((fd=pd.target)==null?void 0:fd.value)})}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["id","value","inputmode","disabled","data-disabled","aria-valuenow","aria-valuemin","aria-valuemax"]))}}),fy$1=defineComponent({__name:"NumberFieldIncrement",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=Eo$2(),od=computed(()=>{var pd;return((pd=nd.disabled)==null?void 0:pd.value)||qa.disabled||nd.isIncreaseDisabled.value}),{primitiveElement:ld,currentElement:ud}=Ie$5(),{isPressed:cd,onTrigger:dd}=ms$3({target:ud,disabled:od});return dd(()=>{nd.handleIncrease()}),(pd,fd)=>(openBlock(),createBlock(unref(O$3),mergeProps(qa,{ref_key:"primitiveElement",ref:ld,tabindex:"-1","aria-label":"Increase",type:pd.as==="button"?"button":void 0,style:{userSelect:unref(cd)?"none":void 0},disabled:od.value?"":void 0,"data-disabled":od.value?"":void 0,"data-pressed":unref(cd)?"true":void 0,onContextmenu:fd[0]||(fd[0]=withModifiers(()=>{},["prevent"]))}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16,["type","style","disabled","data-disabled","data-pressed"]))}}),vy$1=defineComponent({__name:"NumberFieldDecrement",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=Eo$2(),od=computed(()=>{var pd;return((pd=nd.disabled)==null?void 0:pd.value)||qa.disabled||nd.isDecreaseDisabled.value}),{primitiveElement:ld,currentElement:ud}=Ie$5(),{isPressed:cd,onTrigger:dd}=ms$3({target:ud,disabled:od});return dd(()=>{nd.handleDecrease()}),(pd,fd)=>(openBlock(),createBlock(unref(O$3),mergeProps(qa,{ref_key:"primitiveElement",ref:ld,tabindex:"-1","aria-label":"Decrease",type:pd.as==="button"?"button":void 0,style:{userSelect:unref(cd)?"none":void 0},disabled:od.value?"":void 0,"data-disabled":od.value?"":void 0,"data-pressed":unref(cd)?"true":void 0,onContextmenu:fd[0]||(fd[0]=withModifiers(()=>{},["prevent"]))}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16,["type","style","disabled","data-disabled","data-pressed"]))}}),[Vt$4,Uc$2]=Q$6("PopoverRoot"),hs$1=defineComponent({__name:"PopoverRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},modal:{type:Boolean,default:!1}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{modal:ld}=toRefs(nd),ud=ne$6(nd,"open",od,{defaultValue:nd.defaultOpen,passive:nd.open===void 0}),cd=ref$1(),dd=ref$1(!1);return Uc$2({contentId:"",modal:ld,open:ud,onOpenChange:pd=>{ud.value=pd},onOpenToggle:()=>{ud.value=!ud.value},triggerElement:cd,hasCustomAnchor:dd}),(pd,fd)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(pd.$slots,"default",{open:unref(ud)})]),_:3}))}}),ys$3=defineComponent({__name:"PopoverTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=Vt$4(),{forwardRef:od,currentElement:ld}=R$6();return onMounted(()=>{nd.triggerElement.value=ld.value}),(ud,cd)=>(openBlock(),createBlock(resolveDynamicComponent(unref(nd).hasCustomAnchor.value?unref(O$3):unref(Rt$5)),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O$3),{ref:unref(od),type:ud.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":unref(nd).open.value,"aria-controls":unref(nd).contentId,"data-state":unref(nd).open.value?"open":"closed",as:ud.as,"as-child":qa.asChild,onClick:unref(nd).onOpenToggle},{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},8,["type","aria-expanded","aria-controls","data-state","as","as-child","onClick"])]),_:3}))}}),gs$4=defineComponent({__name:"PopoverPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),bs$2=defineComponent({__name:"PopoverContentImpl",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=It$4(nd),{forwardRef:ud}=R$6(),cd=Vt$4();return Gn$4(),(dd,pd)=>(openBlock(),createBlock(unref(Ya$2),{"as-child":"",loop:"",trapped:dd.trapFocus,onMountAutoFocus:pd[5]||(pd[5]=fd=>od("openAutoFocus",fd)),onUnmountAutoFocus:pd[6]||(pd[6]=fd=>od("closeAutoFocus",fd))},{default:withCtx(()=>[createVNode(unref(yt$3),{"as-child":"","disable-outside-pointer-events":dd.disableOutsidePointerEvents,onPointerDownOutside:pd[0]||(pd[0]=fd=>od("pointerDownOutside",fd)),onInteractOutside:pd[1]||(pd[1]=fd=>od("interactOutside",fd)),onEscapeKeyDown:pd[2]||(pd[2]=fd=>od("escapeKeyDown",fd)),onFocusOutside:pd[3]||(pd[3]=fd=>od("focusOutside",fd)),onDismiss:pd[4]||(pd[4]=fd=>unref(cd).onOpenChange(!1))},{default:withCtx(()=>[createVNode(unref(Dt$4),mergeProps(unref(ld),{id:unref(cd).contentId,ref:unref(ud),"data-state":unref(cd).open.value?"open":"closed",role:"dialog",style:{"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["id","data-state"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),Gc$2=defineComponent({__name:"PopoverContentModal",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=Vt$4(),ud=ref$1(!1);ha$1(!0);const cd=xe$5(nd,od),{forwardRef:dd,currentElement:pd}=R$6();return ya$1(pd),(fd,md)=>(openBlock(),createBlock(bs$2,mergeProps(unref(cd),{ref:unref(dd),"trap-focus":unref(ld).open.value,"disable-outside-pointer-events":"",onCloseAutoFocus:md[0]||(md[0]=withModifiers(vd=>{var Ad;od("closeAutoFocus",vd),ud.value||(Ad=unref(ld).triggerElement.value)==null||Ad.focus()},["prevent"])),onPointerDownOutside:md[1]||(md[1]=vd=>{od("pointerDownOutside",vd);const Ad=vd.detail.originalEvent,Nd=Ad.button===0&&Ad.ctrlKey===!0,Id=Ad.button===2||Nd;ud.value=Id}),onFocusOutside:md[2]||(md[2]=withModifiers(()=>{},["prevent"]))}),{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},16,["trap-focus"]))}}),qc$1=defineComponent({__name:"PopoverContentNonModal",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=Vt$4(),ud=ref$1(!1),cd=ref$1(!1),dd=xe$5(nd,od);return(pd,fd)=>(openBlock(),createBlock(bs$2,mergeProps(unref(dd),{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:fd[0]||(fd[0]=md=>{var vd;od("closeAutoFocus",md),md.defaultPrevented||(ud.value||(vd=unref(ld).triggerElement.value)==null||vd.focus(),md.preventDefault()),ud.value=!1,cd.value=!1}),onInteractOutside:fd[1]||(fd[1]=async md=>{var vd;od("interactOutside",md),md.defaultPrevented||(ud.value=!0,md.detail.originalEvent.type==="pointerdown"&&(cd.value=!0));const Ad=md.target;(vd=unref(ld).triggerElement.value)!=null&&vd.contains(Ad)&&md.preventDefault(),md.detail.originalEvent.type==="focusin"&&cd.value&&md.preventDefault()})}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16))}}),Cs$2=defineComponent({__name:"PopoverContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=Vt$4(),ud=xe$5(nd,od),{forwardRef:cd}=R$6();return ld.contentId||(ld.contentId=he$4(void 0,"radix-vue-popover-content")),(dd,pd)=>(openBlock(),createBlock(unref(Pe$7),{present:dd.forceMount||unref(ld).open.value},{default:withCtx(()=>[unref(ld).modal.value?(openBlock(),createBlock(Gc$2,mergeProps({key:0},unref(ud),{ref:unref(cd)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16)):(openBlock(),createBlock(qc$1,mergeProps({key:1},unref(ud),{ref:unref(cd)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Tp$1=["default-value"],Rp$1=defineComponent({__name:"BubbleSelect",props:{autocomplete:{},autofocus:{type:Boolean},disabled:{type:Boolean},form:{},multiple:{type:Boolean},name:{},required:{type:Boolean},size:{},value:{}},setup(Ra){const qa=Ra,{value:nd}=toRefs(qa),od=ref$1();return(ld,ud)=>(openBlock(),createBlock(unref(Zt$4),{"as-child":""},{default:withCtx(()=>[withDirectives(createBaseVNode("select",mergeProps({ref_key:"selectElement",ref:od},qa,{"onUpdate:modelValue":ud[0]||(ud[0]=cd=>isRef(nd)?nd.value=cd:null),"default-value":unref(nd)}),[renderSlot(ld.$slots,"default")],16,Tp$1),[[vModelSelect,unref(nd)]])]),_:3}))}}),Ap$1={key:0,value:""},[bt$5,$s$2]=Q$6("SelectRoot"),[Op$1,kp$1]=Q$6("SelectRoot"),ky$1=defineComponent({__name:"SelectRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},defaultValue:{default:""},modelValue:{default:void 0},dir:{},name:{},autocomplete:{},disabled:{type:Boolean},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=ne$6(nd,"modelValue",od,{defaultValue:nd.defaultValue,passive:nd.modelValue===void 0}),ud=ne$6(nd,"open",od,{defaultValue:nd.defaultOpen,passive:nd.open===void 0}),cd=ref$1(),dd=ref$1(),pd=ref$1({x:0,y:0}),fd=ref$1(!1),{required:md,disabled:vd,dir:Ad}=toRefs(nd),Nd=be$8(Ad);$s$2({triggerElement:cd,onTriggerChange:Fd=>{cd.value=Fd},valueElement:dd,onValueElementChange:Fd=>{dd.value=Fd},valueElementHasChildren:fd,onValueElementHasChildrenChange:Fd=>{fd.value=Fd},contentId:"",modelValue:ld,onValueChange:Fd=>{ld.value=Fd},open:ud,required:md,onOpenChange:Fd=>{ud.value=Fd},dir:Nd,triggerPointerDownPosRef:pd,disabled:vd});const Id=Je$4(cd),kd=ref$1(new Set),jd=computed(()=>Array.from(kd.value).map(Fd=>{var Md;return(Md=Fd.props)==null?void 0:Md.value}).join(";"));return kp$1({onNativeOptionAdd:Fd=>{kd.value.add(Fd)},onNativeOptionRemove:Fd=>{kd.value.delete(Fd)}}),(Fd,Md)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(Fd.$slots,"default",{modelValue:unref(ld),open:unref(ud)}),unref(Id)?(openBlock(),createBlock(Rp$1,mergeProps({key:jd.value},Fd.$attrs,{"aria-hidden":"true",tabindex:"-1",required:unref(md),name:Fd.name,autocomplete:Fd.autocomplete,disabled:unref(vd),value:unref(ld),onChange:Md[0]||(Md[0]=Ld=>ld.value=Ld.target.value)}),{default:withCtx(()=>[unref(ld)===void 0?(openBlock(),createElementBlock("option",Ap$1)):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(Array.from(kd.value),Ld=>(openBlock(),createBlock(resolveDynamicComponent(Ld),mergeProps({ref_for:!0},Ld.props,{key:Ld.key??""}),null,16))),128))]),_:1},16,["required","name","autocomplete","disabled","value"])):createCommentVNode("",!0)]),_:3}))}}),Mp$1=[" ","Enter","ArrowUp","ArrowDown"],Vp$1=[" ","Enter"],at$6=10;function Bs$3(Ra){return Ra===""||Kt$2(Ra)}const My=defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=bt$5(),od=computed(()=>{var Nd;return((Nd=nd.disabled)==null?void 0:Nd.value)||qa.disabled}),{forwardRef:ld,currentElement:ud}=R$6();nd.contentId||(nd.contentId=he$4(void 0,"radix-vue-select-content")),onMounted(()=>{nd.triggerElement=ud});const{injectCollection:cd}=Me$7(),dd=cd(),{search:pd,handleTypeaheadSearch:fd,resetTypeahead:md}=ga$2(dd);function vd(){od.value||(nd.onOpenChange(!0),md())}function Ad(Nd){vd(),nd.triggerPointerDownPosRef.value={x:Math.round(Nd.pageX),y:Math.round(Nd.pageY)}}return(Nd,Id)=>(openBlock(),createBlock(unref(Rt$5),{"as-child":""},{default:withCtx(()=>{var kd,jd,Fd,Md;return[createVNode(unref(O$3),{ref:unref(ld),role:"combobox",type:Nd.as==="button"?"button":void 0,"aria-controls":unref(nd).contentId,"aria-expanded":unref(nd).open.value||!1,"aria-required":(kd=unref(nd).required)==null?void 0:kd.value,"aria-autocomplete":"none",disabled:od.value,dir:(jd=unref(nd))==null?void 0:jd.dir.value,"data-state":(Fd=unref(nd))!=null&&Fd.open.value?"open":"closed","data-disabled":od.value?"":void 0,"data-placeholder":unref(Bs$3)((Md=unref(nd).modelValue)==null?void 0:Md.value)?"":void 0,"as-child":Nd.asChild,as:Nd.as,onClick:Id[0]||(Id[0]=Ld=>{var Hd;(Hd=Ld==null?void 0:Ld.currentTarget)==null||Hd.focus()}),onPointerdown:Id[1]||(Id[1]=Ld=>{if(Ld.pointerType==="touch")return Ld.preventDefault();const Hd=Ld.target;Hd.hasPointerCapture(Ld.pointerId)&&Hd.releasePointerCapture(Ld.pointerId),Ld.button===0&&Ld.ctrlKey===!1&&(Ad(Ld),Ld.preventDefault())}),onPointerup:Id[2]||(Id[2]=withModifiers(Ld=>{Ld.pointerType==="touch"&&Ad(Ld)},["prevent"])),onKeydown:Id[3]||(Id[3]=Ld=>{const Hd=unref(pd)!=="";!(Ld.ctrlKey||Ld.altKey||Ld.metaKey)&&Ld.key.length===1&&Hd&&Ld.key===" "||(unref(fd)(Ld.key),unref(Mp$1).includes(Ld.key)&&(vd(),Ld.preventDefault()))})},{default:withCtx(()=>[renderSlot(Nd.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]}),_:3}))}}),Vy=defineComponent({__name:"SelectPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[$o$2,Fp$1]=Q$6("SelectItemAlignedPosition"),Np$1=defineComponent({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean},as:{}},emits:["placed"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{injectCollection:ld}=Me$7(),ud=bt$5(),cd=Ct$5(),dd=ld(),pd=ref$1(!1),fd=ref$1(!0),md=ref$1(),{forwardRef:vd,currentElement:Ad}=R$6(),{viewport:Nd,selectedItem:Id,selectedItemText:kd,focusSelectedItem:jd}=cd;function Fd(){if(ud.triggerElement.value&&ud.valueElement.value&&md.value&&Ad.value&&Nd!=null&&Nd.value&&Id!=null&&Id.value&&kd!=null&&kd.value){const Hd=ud.triggerElement.value.getBoundingClientRect(),Gd=Ad.value.getBoundingClientRect(),Vd=ud.valueElement.value.getBoundingClientRect(),Qd=kd.value.getBoundingClientRect();if(ud.dir.value!=="rtl"){const Tf=Qd.left-Gd.left,vf=Vd.left-Tf,Gf=Hd.left-vf,Jf=Hd.width+Gf,gh=Math.max(Jf,Gd.width),th=window.innerWidth-at$6,Pf=Wt$4(vf,at$6,th-gh);md.value.style.minWidth=`${Jf}px`,md.value.style.left=`${Pf}px`}else{const Tf=Gd.right-Qd.right,vf=window.innerWidth-Vd.right-Tf,Gf=window.innerWidth-Hd.right-vf,Jf=Hd.width+Gf,gh=Math.max(Jf,Gd.width),th=window.innerWidth-at$6,Pf=Wt$4(vf,at$6,th-gh);md.value.style.minWidth=`${Jf}px`,md.value.style.right=`${Pf}px`}const mf=dd.value,Yd=window.innerHeight-at$6*2,Zd=Nd.value.scrollHeight,Kd=window.getComputedStyle(Ad.value),bf=Number.parseInt(Kd.borderTopWidth,10),gf=Number.parseInt(Kd.paddingTop,10),Ef=Number.parseInt(Kd.borderBottomWidth,10),yf=Number.parseInt(Kd.paddingBottom,10),xf=bf+gf+Zd+yf+Ef,Af=Math.min(Id.value.offsetHeight*5,xf),Lf=window.getComputedStyle(Nd.value),Xf=Number.parseInt(Lf.paddingTop,10),ih=Number.parseInt(Lf.paddingBottom,10),Zf=Hd.top+Hd.height/2-at$6,jf=Yd-Zf,If=Id.value.offsetHeight/2,Uf=Id.value.offsetTop+If,qf=bf+gf+Uf,Kf=xf-qf;if(qf<=Zf){const Tf=Id.value===mf[mf.length-1];md.value.style.bottom="0px";const vf=Ad.value.clientHeight-Nd.value.offsetTop-Nd.value.offsetHeight,Gf=Math.max(jf,If+(Tf?ih:0)+vf+Ef),Jf=qf+Gf;md.value.style.height=`${Jf}px`}else{const Tf=Id.value===mf[0];md.value.style.top="0px";const vf=Math.max(Zf,bf+Nd.value.offsetTop+(Tf?Xf:0)+If)+Kf;md.value.style.height=`${vf}px`,Nd.value.scrollTop=qf-Zf+Nd.value.offsetTop}md.value.style.margin=`${at$6}px 0`,md.value.style.minHeight=`${Af}px`,md.value.style.maxHeight=`${Yd}px`,od("placed"),requestAnimationFrame(()=>pd.value=!0)}}const Md=ref$1("");onMounted(async()=>{await nextTick$1(),Fd(),Ad.value&&(Md.value=window.getComputedStyle(Ad.value).zIndex)});function Ld(Hd){Hd&&fd.value===!0&&(Fd(),jd==null||jd(),fd.value=!1)}return Fp$1({contentWrapper:md,shouldExpandOnScrollRef:pd,onScrollButtonChange:Ld}),(Hd,Gd)=>(openBlock(),createElementBlock("div",{ref_key:"contentWrapperElement",ref:md,style:normalizeStyle({display:"flex",flexDirection:"column",position:"fixed",zIndex:Md.value})},[createVNode(unref(O$3),mergeProps({ref:unref(vd),style:{boxSizing:"border-box",maxHeight:"100%"}},{...Hd.$attrs,...nd}),{default:withCtx(()=>[renderSlot(Hd.$slots,"default")]),_:3},16)],4))}}),Lp$1=defineComponent({__name:"SelectPopperPosition",props:{side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{default:at$6},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=It$4(Ra);return(nd,od)=>(openBlock(),createBlock(unref(Dt$4),mergeProps(unref(qa),{style:{boxSizing:"border-box","--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Ft$5={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[Ct$5,zp$1]=Q$6("SelectContent"),Kp$1=defineComponent({__name:"SelectContentImpl",props:{position:{default:"item-aligned"},bodyLock:{type:Boolean,default:!0},side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=bt$5();Gn$4(),ha$1(nd.bodyLock);const{createCollection:ud}=Me$7(),cd=ref$1();ya$1(cd);const dd=ud(cd),{search:pd,handleTypeaheadSearch:fd}=ga$2(dd),md=ref$1(),vd=ref$1(),Ad=ref$1(),Nd=ref$1(!1),Id=ref$1(!1);function kd(){vd.value&&cd.value&&$n$4([vd.value,cd.value])}watch(Nd,()=>{kd()});const{onOpenChange:jd,triggerPointerDownPosRef:Fd}=ld;watchEffect(Gd=>{if(!cd.value)return;let Vd={x:0,y:0};const Qd=Yd=>{var Zd,Kd;Vd={x:Math.abs(Math.round(Yd.pageX)-(((Zd=Fd.value)==null?void 0:Zd.x)??0)),y:Math.abs(Math.round(Yd.pageY)-(((Kd=Fd.value)==null?void 0:Kd.y)??0))}},mf=Yd=>{var Zd;Yd.pointerType!=="touch"&&(Vd.x<=10&&Vd.y<=10?Yd.preventDefault():(Zd=cd.value)!=null&&Zd.contains(Yd.target)||jd(!1),document.removeEventListener("pointermove",Qd),Fd.value=null)};Fd.value!==null&&(document.addEventListener("pointermove",Qd),document.addEventListener("pointerup",mf,{capture:!0,once:!0})),Gd(()=>{document.removeEventListener("pointermove",Qd),document.removeEventListener("pointerup",mf,{capture:!0})})});function Md(Gd){const Vd=Gd.ctrlKey||Gd.altKey||Gd.metaKey;if(Gd.key==="Tab"&&Gd.preventDefault(),!Vd&&Gd.key.length===1&&fd(Gd.key),["ArrowUp","ArrowDown","Home","End"].includes(Gd.key)){let Qd=dd.value;if(["ArrowUp","End"].includes(Gd.key)&&(Qd=Qd.slice().reverse()),["ArrowUp","ArrowDown"].includes(Gd.key)){const mf=Gd.target,Yd=Qd.indexOf(mf);Qd=Qd.slice(Yd+1)}setTimeout(()=>$n$4(Qd)),Gd.preventDefault()}}const Ld=computed(()=>nd.position==="popper"?nd:{}),Hd=It$4(Ld.value);return zp$1({content:cd,viewport:md,onViewportChange:Gd=>{md.value=Gd},itemRefCallback:(Gd,Vd,Qd)=>{var mf,Yd;const Zd=!Id.value&&!Qd;(((mf=ld.modelValue)==null?void 0:mf.value)!==void 0&&((Yd=ld.modelValue)==null?void 0:Yd.value)===Vd||Zd)&&(vd.value=Gd,Zd&&(Id.value=!0))},selectedItem:vd,selectedItemText:Ad,onItemLeave:()=>{var Gd;(Gd=cd.value)==null||Gd.focus()},itemTextRefCallback:(Gd,Vd,Qd)=>{var mf,Yd;const Zd=!Id.value&&!Qd;(((mf=ld.modelValue)==null?void 0:mf.value)!==void 0&&((Yd=ld.modelValue)==null?void 0:Yd.value)===Vd||Zd)&&(Ad.value=Gd)},focusSelectedItem:kd,position:nd.position,isPositioned:Nd,searchRef:pd}),(Gd,Vd)=>(openBlock(),createBlock(unref(Ya$2),{"as-child":"",onMountAutoFocus:Vd[6]||(Vd[6]=withModifiers(()=>{},["prevent"])),onUnmountAutoFocus:Vd[7]||(Vd[7]=Qd=>{var mf;od("closeAutoFocus",Qd),!Qd.defaultPrevented&&((mf=unref(ld).triggerElement.value)==null||mf.focus({preventScroll:!0}),Qd.preventDefault())})},{default:withCtx(()=>[createVNode(unref(yt$3),{"as-child":"","disable-outside-pointer-events":"",onFocusOutside:Vd[2]||(Vd[2]=withModifiers(()=>{},["prevent"])),onDismiss:Vd[3]||(Vd[3]=Qd=>unref(ld).onOpenChange(!1)),onEscapeKeyDown:Vd[4]||(Vd[4]=Qd=>od("escapeKeyDown",Qd)),onPointerDownOutside:Vd[5]||(Vd[5]=Qd=>od("pointerDownOutside",Qd))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Gd.position==="popper"?Lp$1:Np$1),mergeProps({...Gd.$attrs,...unref(Hd)},{id:unref(ld).contentId,ref:Qd=>{cd.value=unref($e$4)(Qd)},role:"listbox","data-state":unref(ld).open.value?"open":"closed",dir:unref(ld).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:Vd[0]||(Vd[0]=withModifiers(()=>{},["prevent"])),onPlaced:Vd[1]||(Vd[1]=Qd=>Nd.value=!0),onKeydown:Md}),{default:withCtx(()=>[renderSlot(Gd.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3})]),_:3}))}}),Hp$1=defineComponent({inheritAttrs:!1,__name:"SelectProvider",props:{context:{}},setup(Ra){return $s$2(Ra.context),(qa,nd)=>renderSlot(qa.$slots,"default")}}),Wp$1={key:1},Fy=defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{},bodyLock:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(Ra,{emit:qa}){const nd=Ra,od=xe$5(nd,qa),ld=bt$5(),ud=ref$1();onMounted(()=>{ud.value=new DocumentFragment});const cd=ref$1(),dd=computed(()=>nd.forceMount||ld.open.value);return(pd,fd)=>{var md;return dd.value?(openBlock(),createBlock(unref(Pe$7),{key:0,ref_key:"presenceRef",ref:cd,present:!0},{default:withCtx(()=>[createVNode(Kp$1,normalizeProps(guardReactiveProps({...unref(od),...pd.$attrs})),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16)]),_:3},512)):!((md=cd.value)!=null&&md.present)&&ud.value?(openBlock(),createElementBlock("div",Wp$1,[(openBlock(),createBlock(Teleport,{to:ud.value},[createVNode(Hp$1,{context:unref(ld)},{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):createCommentVNode("",!0)}}}),[Is$3,jp$1]=Q$6("SelectItem"),zy=defineComponent({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{disabled:nd}=toRefs(qa),od=bt$5(),ld=Ct$5(Ft$5),{forwardRef:ud,currentElement:cd}=R$6(),dd=computed(()=>{var kd;return((kd=od.modelValue)==null?void 0:kd.value)===qa.value}),pd=ref$1(!1),fd=ref$1(qa.textValue??""),md=he$4(void 0,"radix-vue-select-item-text");async function vd(kd){await nextTick$1(),!(kd!=null&&kd.defaultPrevented)&&(nd.value||(od.onValueChange(qa.value),od.onOpenChange(!1)))}async function Ad(kd){var jd;await nextTick$1(),!kd.defaultPrevented&&(nd.value?(jd=ld.onItemLeave)==null||jd.call(ld):kd.currentTarget.focus({preventScroll:!0}))}async function Nd(kd){var jd;await nextTick$1(),!kd.defaultPrevented&&kd.currentTarget===document.activeElement&&((jd=ld.onItemLeave)==null||jd.call(ld))}async function Id(kd){var jd;await nextTick$1(),!(kd.defaultPrevented||((jd=ld.searchRef)==null?void 0:jd.value)!==""&&kd.key===" ")&&(Vp$1.includes(kd.key)&&vd(),kd.key===" "&&kd.preventDefault())}if(qa.value==="")throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return onMounted(()=>{cd.value&&ld.itemRefCallback(cd.value,qa.value,qa.disabled)}),jp$1({value:qa.value,disabled:nd,textId:md,isSelected:dd,onItemTextChange:kd=>{fd.value=((fd.value||(kd==null?void 0:kd.textContent))??"").trim()}}),(kd,jd)=>(openBlock(),createBlock(unref(O$3),{ref:unref(ud),role:"option","data-radix-vue-collection-item":"","aria-labelledby":unref(md),"data-highlighted":pd.value?"":void 0,"aria-selected":dd.value,"data-state":dd.value?"checked":"unchecked","aria-disabled":unref(nd)||void 0,"data-disabled":unref(nd)?"":void 0,tabindex:unref(nd)?void 0:-1,as:kd.as,"as-child":kd.asChild,onFocus:jd[0]||(jd[0]=Fd=>pd.value=!0),onBlur:jd[1]||(jd[1]=Fd=>pd.value=!1),onPointerup:vd,onPointerdown:jd[2]||(jd[2]=Fd=>{Fd.currentTarget.focus({preventScroll:!0})}),onTouchend:jd[3]||(jd[3]=withModifiers(()=>{},["prevent","stop"])),onPointermove:Ad,onPointerleave:Nd,onKeydown:Id},{default:withCtx(()=>[renderSlot(kd.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"]))}}),Ky=defineComponent({__name:"SelectItemIndicator",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,nd=Is$3();return(od,ld)=>unref(nd).isSelected.value?(openBlock(),createBlock(unref(O$3),mergeProps({key:0,"aria-hidden":"true"},qa),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16)):createCommentVNode("",!0)}}),jy=defineComponent({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,nd=bt$5(),od=Ct$5(Ft$5),ld=Op$1(),ud=Is$3(),{forwardRef:cd,currentElement:dd}=R$6(),pd=computed(()=>{var fd;return h$1("option",{key:ud.value,value:ud.value,disabled:ud.disabled.value,textContent:(fd=dd.value)==null?void 0:fd.textContent})});return onMounted(()=>{dd.value&&(ud.onItemTextChange(dd.value),od.itemTextRefCallback(dd.value,ud.value,ud.disabled.value),ld.onNativeOptionAdd(pd.value))}),onBeforeUnmount(()=>{ld.onNativeOptionRemove(pd.value)}),(fd,md)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O$3),mergeProps({id:unref(ud).textId,ref:unref(cd)},{...qa,...fd.$attrs}),{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},16,["id"]),unref(ud).isSelected.value&&unref(nd).valueElement.value&&!unref(nd).valueElementHasChildren.value?(openBlock(),createBlock(Teleport,{key:0,to:unref(nd).valueElement.value},[renderSlot(fd.$slots,"default")],8,["to"])):createCommentVNode("",!0)],64))}}),Uy=defineComponent({__name:"SelectViewport",props:{nonce:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{nonce:nd}=toRefs(qa),od=Xa$2(nd),ld=Ct$5(Ft$5),ud=ld.position==="item-aligned"?$o$2():void 0,{forwardRef:cd,currentElement:dd}=R$6();onMounted(()=>{ld==null||ld.onViewportChange(dd.value)});const pd=ref$1(0);function fd(md){const vd=md.currentTarget,{shouldExpandOnScrollRef:Ad,contentWrapper:Nd}=ud??{};if(Ad!=null&&Ad.value&&Nd!=null&&Nd.value){const Id=Math.abs(pd.value-vd.scrollTop);if(Id>0){const kd=window.innerHeight-at$6*2,jd=Number.parseFloat(Nd.value.style.minHeight),Fd=Number.parseFloat(Nd.value.style.height),Md=Math.max(jd,Fd);if(Md0?Gd:0,Nd.value.style.justifyContent="flex-end")}}}pd.value=vd.scrollTop}return(md,vd)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O$3),mergeProps({ref:unref(cd),"data-radix-select-viewport":"",role:"presentation"},{...md.$attrs,...qa},{style:{position:"relative",flex:1,overflow:"auto"},onScroll:fd}),{default:withCtx(()=>[renderSlot(md.$slots,"default")]),_:3},16),createVNode(unref(O$3),{as:"style",nonce:unref(od)},{default:withCtx(()=>[createTextVNode(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-radix-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-radix-select-viewport]::-webkit-scrollbar { display: none; } ")]),_:1},8,["nonce"])],64))}}),Ts$3=defineComponent({__name:"SelectScrollButtonImpl",emits:["autoScroll"],setup(Ra,{emit:qa}){const nd=qa,{injectCollection:od}=Me$7(),ld=od(),ud=Ct$5(Ft$5),cd=ref$1(null);function dd(){cd.value!==null&&(window.clearInterval(cd.value),cd.value=null)}watchEffect(()=>{const md=ld.value.find(vd=>vd===document.activeElement);md==null||md.scrollIntoView({block:"nearest"})});function pd(){cd.value===null&&(cd.value=window.setInterval(()=>{nd("autoScroll")},50))}function fd(){var md;(md=ud.onItemLeave)==null||md.call(ud),cd.value===null&&(cd.value=window.setInterval(()=>{nd("autoScroll")},50))}return onBeforeUnmount(()=>dd()),(md,vd)=>{var Ad;return openBlock(),createBlock(unref(O$3),mergeProps({"aria-hidden":"true",style:{flexShrink:0}},(Ad=md.$parent)==null?void 0:Ad.$props,{onPointerdown:pd,onPointermove:fd,onPointerleave:vd[0]||(vd[0]=()=>{dd()})}),{default:withCtx(()=>[renderSlot(md.$slots,"default")]),_:3},16)}}}),Gy=defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ct$5(Ft$5),nd=qa.position==="item-aligned"?$o$2():void 0,{forwardRef:od,currentElement:ld}=R$6(),ud=ref$1(!1);return watchEffect(cd=>{var dd,pd;if((dd=qa.viewport)!=null&&dd.value&&(pd=qa.isPositioned)!=null&&pd.value){let fd=function(){ud.value=md.scrollTop>0};const md=qa.viewport.value;fd(),md.addEventListener("scroll",fd),cd(()=>md.removeEventListener("scroll",fd))}}),watch(ld,()=>{ld.value&&(nd==null||nd.onScrollButtonChange(ld.value))}),(cd,dd)=>ud.value?(openBlock(),createBlock(Ts$3,{key:0,ref:unref(od),onAutoScroll:dd[0]||(dd[0]=()=>{const{viewport:pd,selectedItem:fd}=unref(qa);pd!=null&&pd.value&&fd!=null&&fd.value&&(pd.value.scrollTop=pd.value.scrollTop-fd.value.offsetHeight)})},{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},512)):createCommentVNode("",!0)}}),qy=defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ct$5(Ft$5),nd=qa.position==="item-aligned"?$o$2():void 0,{forwardRef:od,currentElement:ld}=R$6(),ud=ref$1(!1);return watchEffect(cd=>{var dd,pd;if((dd=qa.viewport)!=null&&dd.value&&(pd=qa.isPositioned)!=null&&pd.value){let fd=function(){const vd=md.scrollHeight-md.clientHeight;ud.value=Math.ceil(md.scrollTop)md.removeEventListener("scroll",fd))}}),watch(ld,()=>{ld.value&&(nd==null||nd.onScrollButtonChange(ld.value))}),(cd,dd)=>ud.value?(openBlock(),createBlock(Ts$3,{key:0,ref:unref(od),onAutoScroll:dd[0]||(dd[0]=()=>{const{viewport:pd,selectedItem:fd}=unref(qa);pd!=null&&pd.value&&fd!=null&&fd.value&&(pd.value.scrollTop=pd.value.scrollTop+fd.value.offsetHeight)})},{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},512)):createCommentVNode("",!0)}}),Yy=defineComponent({__name:"SelectValue",props:{placeholder:{default:""},asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const{forwardRef:qa,currentElement:nd}=R$6(),od=bt$5(),ld=useSlots();return onBeforeMount(()=>{var ud;const cd=!!Ua$3((ud=ld==null?void 0:ld.default)==null?void 0:ud.call(ld)).length;od.onValueElementHasChildrenChange(cd)}),onMounted(()=>{od.valueElement=nd}),(ud,cd)=>(openBlock(),createBlock(unref(O$3),{ref:unref(qa),as:ud.as,"as-child":ud.asChild,style:{pointerEvents:"none"}},{default:withCtx(()=>{var dd;return[unref(Bs$3)((dd=unref(od).modelValue)==null?void 0:dd.value)?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(ud.placeholder),1)],64)):renderSlot(ud.$slots,"default",{key:1})]}),_:3},8,["as","as-child"]))}}),Xy=defineComponent({__name:"SelectIcon",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){return(qa,nd)=>(openBlock(),createBlock(unref(O$3),{"aria-hidden":"true",as:qa.as,"as-child":qa.asChild},{default:withCtx(()=>[renderSlot(qa.$slots,"default",{},()=>[createTextVNode("▼")])]),_:3},8,["as","as-child"]))}});function hf(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}hf();const kf=["name","disabled","required","value","checked","data-state","data-disabled"],[Mf,Vf]=Q$6("SwitchRoot"),cg=defineComponent({__name:"SwitchRoot",props:{defaultChecked:{type:Boolean},checked:{type:Boolean,default:void 0},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},value:{default:"on"},asChild:{type:Boolean},as:{default:"button"}},emits:["update:checked"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{disabled:ld}=toRefs(nd),ud=ne$6(nd,"checked",od,{defaultValue:nd.defaultChecked,passive:nd.checked===void 0});function cd(){ld.value||(ud.value=!ud.value)}const{forwardRef:dd,currentElement:pd}=R$6(),fd=Je$4(pd),md=computed(()=>{var vd;return nd.id&&pd.value?(vd=document.querySelector(`[for="${nd.id}"]`))==null?void 0:vd.innerText:void 0});return Vf({checked:ud,toggleCheck:cd,disabled:ld}),(vd,Ad)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O$3),mergeProps(vd.$attrs,{id:vd.id,ref:unref(dd),role:"switch",type:vd.as==="button"?"button":void 0,value:vd.value,"aria-label":vd.$attrs["aria-label"]||md.value,"aria-checked":unref(ud),"aria-required":vd.required,"data-state":unref(ud)?"checked":"unchecked","data-disabled":unref(ld)?"":void 0,"as-child":vd.asChild,as:vd.as,disabled:unref(ld),onClick:cd,onKeydown:withKeys(withModifiers(cd,["prevent"]),["enter"])}),{default:withCtx(()=>[renderSlot(vd.$slots,"default",{checked:unref(ud)})]),_:3},16,["id","type","value","aria-label","aria-checked","aria-required","data-state","data-disabled","as-child","as","disabled","onKeydown"]),unref(fd)?(openBlock(),createElementBlock("input",{key:0,type:"checkbox",name:vd.name,tabindex:"-1","aria-hidden":"true",disabled:unref(ld),required:vd.required,value:vd.value,checked:!!unref(ud),"data-state":unref(ud)?"checked":"unchecked","data-disabled":unref(ld)?"":void 0,style:{transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0}},null,8,kf)):createCommentVNode("",!0)],64))}}),pg=defineComponent({__name:"SwitchThumb",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Mf();return R$6(),(nd,od)=>{var ld;return openBlock(),createBlock(unref(O$3),{"data-state":(ld=unref(qa).checked)!=null&&ld.value?"checked":"unchecked","data-disabled":unref(qa).disabled.value?"":void 0,"as-child":nd.asChild,as:nd.as},{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},8,["data-state","data-disabled","as-child","as"])}}}),[pn$4,Ff]=Q$6("TabsRoot"),fg=defineComponent({__name:"TabsRoot",props:{defaultValue:{},orientation:{default:"horizontal"},dir:{},activationMode:{default:"automatic"},modelValue:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{orientation:ld,dir:ud}=toRefs(nd),cd=be$8(ud);R$6();const dd=ne$6(nd,"modelValue",od,{defaultValue:nd.defaultValue,passive:nd.modelValue===void 0}),pd=ref$1();return Ff({modelValue:dd,changeModelValue:fd=>{dd.value=fd},orientation:ld,dir:cd,activationMode:nd.activationMode,baseId:he$4(void 0,"radix-vue-tabs"),tabsList:pd}),(fd,md)=>(openBlock(),createBlock(unref(O$3),{dir:unref(cd),"data-orientation":unref(ld),"as-child":fd.asChild,as:fd.as},{default:withCtx(()=>[renderSlot(fd.$slots,"default",{modelValue:unref(dd)})]),_:3},8,["dir","data-orientation","as-child","as"]))}}),vg=defineComponent({__name:"TabsList",props:{loop:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{loop:nd}=toRefs(qa),{forwardRef:od,currentElement:ld}=R$6(),ud=pn$4();return ud.tabsList=ld,(cd,dd)=>(openBlock(),createBlock(unref(Ot$4),{"as-child":"",orientation:unref(ud).orientation.value,dir:unref(ud).dir.value,loop:unref(nd)},{default:withCtx(()=>[createVNode(unref(O$3),{ref:unref(od),role:"tablist","as-child":cd.asChild,as:cd.as,"aria-orientation":unref(ud).orientation.value},{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},8,["as-child","as","aria-orientation"])]),_:3},8,["orientation","dir","loop"]))}});function or$3(Ra,qa){return`${Ra}-trigger-${qa}`}function lr$2(Ra,qa){return`${Ra}-content-${qa}`}const mg=defineComponent({__name:"TabsContent",props:{value:{},forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{forwardRef:nd}=R$6(),od=pn$4(),ld=computed(()=>or$3(od.baseId,qa.value)),ud=computed(()=>lr$2(od.baseId,qa.value)),cd=computed(()=>qa.value===od.modelValue.value),dd=ref$1(cd.value);return onMounted(()=>{requestAnimationFrame(()=>{dd.value=!1})}),(pd,fd)=>(openBlock(),createBlock(unref(Pe$7),{present:cd.value,"force-mount":""},{default:withCtx(({present:md})=>[createVNode(unref(O$3),{id:ud.value,ref:unref(nd),"as-child":pd.asChild,as:pd.as,role:"tabpanel","data-state":cd.value?"active":"inactive","data-orientation":unref(od).orientation.value,"aria-labelledby":ld.value,hidden:!md.value,tabindex:"0",style:normalizeStyle({animationDuration:dd.value?"0s":void 0})},{default:withCtx(()=>[pd.forceMount||cd.value?renderSlot(pd.$slots,"default",{key:0}):createCommentVNode("",!0)]),_:2},1032,["id","as-child","as","data-state","data-orientation","aria-labelledby","hidden","style"])]),_:3},8,["present"]))}}),hg=defineComponent({__name:"TabsTrigger",props:{value:{},disabled:{type:Boolean,default:!1},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,{forwardRef:nd}=R$6(),od=pn$4(),ld=computed(()=>or$3(od.baseId,qa.value)),ud=computed(()=>lr$2(od.baseId,qa.value)),cd=computed(()=>qa.value===od.modelValue.value);return(dd,pd)=>(openBlock(),createBlock(unref(kt$4),{"as-child":"",focusable:!dd.disabled,active:cd.value},{default:withCtx(()=>[createVNode(unref(O$3),{id:ld.value,ref:unref(nd),role:"tab",type:dd.as==="button"?"button":void 0,as:dd.as,"as-child":dd.asChild,"aria-selected":cd.value?"true":"false","aria-controls":ud.value,"data-state":cd.value?"active":"inactive",disabled:dd.disabled,"data-disabled":dd.disabled?"":void 0,"data-orientation":unref(od).orientation.value,onMousedown:pd[0]||(pd[0]=withModifiers(fd=>{!dd.disabled&&fd.ctrlKey===!1?unref(od).changeModelValue(dd.value):fd.preventDefault()},["left"])),onKeydown:pd[1]||(pd[1]=withKeys(fd=>unref(od).changeModelValue(dd.value),["enter","space"])),onFocus:pd[2]||(pd[2]=()=>{const fd=unref(od).activationMode!=="manual";!cd.value&&!dd.disabled&&fd&&unref(od).changeModelValue(dd.value)})},{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},8,["id","type","as","as-child","aria-selected","aria-controls","data-state","disabled","data-disabled","data-orientation"])]),_:3},8,["focusable","active"]))}}),_sfc_main$1k=defineComponent({__name:"AlertDialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,cd)=>(openBlock(),createBlock(unref(Sv),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}});function r$1(Ra){var qa,nd,od="";if(typeof Ra=="string"||typeof Ra=="number")od+=Ra;else if(typeof Ra=="object")if(Array.isArray(Ra)){var ld=Ra.length;for(qa=0;qatypeof Ra=="boolean"?`${Ra}`:Ra===0?"0":Ra,cx=clsx,cva=(Ra,qa)=>nd=>{var od;if((qa==null?void 0:qa.variants)==null)return cx(Ra,nd==null?void 0:nd.class,nd==null?void 0:nd.className);const{variants:ld,defaultVariants:ud}=qa,cd=Object.keys(ld).map(fd=>{const md=nd==null?void 0:nd[fd],vd=ud==null?void 0:ud[fd];if(md===null)return null;const Ad=falsyToString(md)||falsyToString(vd);return ld[fd][Ad]}),dd=nd&&Object.entries(nd).reduce((fd,md)=>{let[vd,Ad]=md;return Ad===void 0||(fd[vd]=Ad),fd},{}),pd=qa==null||(od=qa.compoundVariants)===null||od===void 0?void 0:od.reduce((fd,md)=>{let{class:vd,className:Ad,...Nd}=md;return Object.entries(Nd).every(Id=>{let[kd,jd]=Id;return Array.isArray(jd)?jd.includes({...ud,...dd}[kd]):{...ud,...dd}[kd]===jd})?[...fd,vd,Ad]:fd},[]);return cx(Ra,cd,pd,nd==null?void 0:nd.class,nd==null?void 0:nd.className)},CLASS_PART_SEPARATOR="-",createClassGroupUtils=Ra=>{const qa=createClassMap(Ra),{conflictingClassGroups:nd,conflictingClassGroupModifiers:od}=Ra;return{getClassGroupId:cd=>{const dd=cd.split(CLASS_PART_SEPARATOR);return dd[0]===""&&dd.length!==1&&dd.shift(),getGroupRecursive(dd,qa)||getGroupIdForArbitraryProperty(cd)},getConflictingClassGroupIds:(cd,dd)=>{const pd=nd[cd]||[];return dd&&od[cd]?[...pd,...od[cd]]:pd}}},getGroupRecursive=(Ra,qa)=>{var cd;if(Ra.length===0)return qa.classGroupId;const nd=Ra[0],od=qa.nextPart.get(nd),ld=od?getGroupRecursive(Ra.slice(1),od):void 0;if(ld)return ld;if(qa.validators.length===0)return;const ud=Ra.join(CLASS_PART_SEPARATOR);return(cd=qa.validators.find(({validator:dd})=>dd(ud)))==null?void 0:cd.classGroupId},arbitraryPropertyRegex=/^\[(.+)\]$/,getGroupIdForArbitraryProperty=Ra=>{if(arbitraryPropertyRegex.test(Ra)){const qa=arbitraryPropertyRegex.exec(Ra)[1],nd=qa==null?void 0:qa.substring(0,qa.indexOf(":"));if(nd)return"arbitrary.."+nd}},createClassMap=Ra=>{const{theme:qa,prefix:nd}=Ra,od={nextPart:new Map,validators:[]};return getPrefixedClassGroupEntries(Object.entries(Ra.classGroups),nd).forEach(([ud,cd])=>{processClassesRecursively(cd,od,ud,qa)}),od},processClassesRecursively=(Ra,qa,nd,od)=>{Ra.forEach(ld=>{if(typeof ld=="string"){const ud=ld===""?qa:getPart(qa,ld);ud.classGroupId=nd;return}if(typeof ld=="function"){if(isThemeGetter(ld)){processClassesRecursively(ld(od),qa,nd,od);return}qa.validators.push({validator:ld,classGroupId:nd});return}Object.entries(ld).forEach(([ud,cd])=>{processClassesRecursively(cd,getPart(qa,ud),nd,od)})})},getPart=(Ra,qa)=>{let nd=Ra;return qa.split(CLASS_PART_SEPARATOR).forEach(od=>{nd.nextPart.has(od)||nd.nextPart.set(od,{nextPart:new Map,validators:[]}),nd=nd.nextPart.get(od)}),nd},isThemeGetter=Ra=>Ra.isThemeGetter,getPrefixedClassGroupEntries=(Ra,qa)=>qa?Ra.map(([nd,od])=>{const ld=od.map(ud=>typeof ud=="string"?qa+ud:typeof ud=="object"?Object.fromEntries(Object.entries(ud).map(([cd,dd])=>[qa+cd,dd])):ud);return[nd,ld]}):Ra,createLruCache=Ra=>{if(Ra<1)return{get:()=>{},set:()=>{}};let qa=0,nd=new Map,od=new Map;const ld=(ud,cd)=>{nd.set(ud,cd),qa++,qa>Ra&&(qa=0,od=nd,nd=new Map)};return{get(ud){let cd=nd.get(ud);if(cd!==void 0)return cd;if((cd=od.get(ud))!==void 0)return ld(ud,cd),cd},set(ud,cd){nd.has(ud)?nd.set(ud,cd):ld(ud,cd)}}},IMPORTANT_MODIFIER="!",createParseClassName=Ra=>{const{separator:qa,experimentalParseClassName:nd}=Ra,od=qa.length===1,ld=qa[0],ud=qa.length,cd=dd=>{const pd=[];let fd=0,md=0,vd;for(let jd=0;jdmd?vd-md:void 0;return{modifiers:pd,hasImportantModifier:Nd,baseClassName:Id,maybePostfixModifierPosition:kd}};return nd?dd=>nd({className:dd,parseClassName:cd}):cd},sortModifiers=Ra=>{if(Ra.length<=1)return Ra;const qa=[];let nd=[];return Ra.forEach(od=>{od[0]==="["?(qa.push(...nd.sort(),od),nd=[]):nd.push(od)}),qa.push(...nd.sort()),qa},createConfigUtils=Ra=>({cache:createLruCache(Ra.cacheSize),parseClassName:createParseClassName(Ra),...createClassGroupUtils(Ra)}),SPLIT_CLASSES_REGEX=/\s+/,mergeClassList=(Ra,qa)=>{const{parseClassName:nd,getClassGroupId:od,getConflictingClassGroupIds:ld}=qa,ud=[],cd=Ra.trim().split(SPLIT_CLASSES_REGEX);let dd="";for(let pd=cd.length-1;pd>=0;pd-=1){const fd=cd[pd],{modifiers:md,hasImportantModifier:vd,baseClassName:Ad,maybePostfixModifierPosition:Nd}=nd(fd);let Id=!!Nd,kd=od(Id?Ad.substring(0,Nd):Ad);if(!kd){if(!Id){dd=fd+(dd.length>0?" "+dd:dd);continue}if(kd=od(Ad),!kd){dd=fd+(dd.length>0?" "+dd:dd);continue}Id=!1}const jd=sortModifiers(md).join(":"),Fd=vd?jd+IMPORTANT_MODIFIER:jd,Md=Fd+kd;if(ud.includes(Md))continue;ud.push(Md);const Ld=ld(kd,Id);for(let Hd=0;Hd0?" "+dd:dd)}return dd};function twJoin(){let Ra=0,qa,nd,od="";for(;Ra{if(typeof Ra=="string")return Ra;let qa,nd="";for(let od=0;odvd(md),Ra());return nd=createConfigUtils(fd),od=nd.cache.get,ld=nd.cache.set,ud=dd,dd(pd)}function dd(pd){const fd=od(pd);if(fd)return fd;const md=mergeClassList(pd,nd);return ld(pd,md),md}return function(){return ud(twJoin.apply(null,arguments))}}const fromTheme=Ra=>{const qa=nd=>nd[Ra]||[];return qa.isThemeGetter=!0,qa},arbitraryValueRegex=/^\[(?:([a-z-]+):)?(.+)\]$/i,fractionRegex=/^\d+\/\d+$/,stringLengths=new Set(["px","full","screen"]),tshirtUnitRegex=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lengthUnitRegex=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,colorFunctionRegex=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,shadowRegex=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,imageRegex=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,isLength$1=Ra=>isNumber$3(Ra)||stringLengths.has(Ra)||fractionRegex.test(Ra),isArbitraryLength=Ra=>getIsArbitraryValue(Ra,"length",isLengthOnly),isNumber$3=Ra=>!!Ra&&!Number.isNaN(Number(Ra)),isArbitraryNumber=Ra=>getIsArbitraryValue(Ra,"number",isNumber$3),isInteger$1=Ra=>!!Ra&&Number.isInteger(Number(Ra)),isPercent=Ra=>Ra.endsWith("%")&&isNumber$3(Ra.slice(0,-1)),isArbitraryValue=Ra=>arbitraryValueRegex.test(Ra),isTshirtSize=Ra=>tshirtUnitRegex.test(Ra),sizeLabels=new Set(["length","size","percentage"]),isArbitrarySize=Ra=>getIsArbitraryValue(Ra,sizeLabels,isNever),isArbitraryPosition=Ra=>getIsArbitraryValue(Ra,"position",isNever),imageLabels=new Set(["image","url"]),isArbitraryImage=Ra=>getIsArbitraryValue(Ra,imageLabels,isImage),isArbitraryShadow=Ra=>getIsArbitraryValue(Ra,"",isShadow),isAny=()=>!0,getIsArbitraryValue=(Ra,qa,nd)=>{const od=arbitraryValueRegex.exec(Ra);return od?od[1]?typeof qa=="string"?od[1]===qa:qa.has(od[1]):nd(od[2]):!1},isLengthOnly=Ra=>lengthUnitRegex.test(Ra)&&!colorFunctionRegex.test(Ra),isNever=()=>!1,isShadow=Ra=>shadowRegex.test(Ra),isImage=Ra=>imageRegex.test(Ra),getDefaultConfig=()=>{const Ra=fromTheme("colors"),qa=fromTheme("spacing"),nd=fromTheme("blur"),od=fromTheme("brightness"),ld=fromTheme("borderColor"),ud=fromTheme("borderRadius"),cd=fromTheme("borderSpacing"),dd=fromTheme("borderWidth"),pd=fromTheme("contrast"),fd=fromTheme("grayscale"),md=fromTheme("hueRotate"),vd=fromTheme("invert"),Ad=fromTheme("gap"),Nd=fromTheme("gradientColorStops"),Id=fromTheme("gradientColorStopPositions"),kd=fromTheme("inset"),jd=fromTheme("margin"),Fd=fromTheme("opacity"),Md=fromTheme("padding"),Ld=fromTheme("saturate"),Hd=fromTheme("scale"),Gd=fromTheme("sepia"),Vd=fromTheme("skew"),Qd=fromTheme("space"),mf=fromTheme("translate"),Yd=()=>["auto","contain","none"],Zd=()=>["auto","hidden","clip","visible","scroll"],Kd=()=>["auto",isArbitraryValue,qa],bf=()=>[isArbitraryValue,qa],gf=()=>["",isLength$1,isArbitraryLength],Ef=()=>["auto",isNumber$3,isArbitraryValue],yf=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],xf=()=>["solid","dashed","dotted","double","none"],Af=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Lf=()=>["start","end","center","between","around","evenly","stretch"],Xf=()=>["","0",isArbitraryValue],ih=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Zf=()=>[isNumber$3,isArbitraryValue];return{cacheSize:500,separator:":",theme:{colors:[isAny],spacing:[isLength$1,isArbitraryLength],blur:["none","",isTshirtSize,isArbitraryValue],brightness:Zf(),borderColor:[Ra],borderRadius:["none","","full",isTshirtSize,isArbitraryValue],borderSpacing:bf(),borderWidth:gf(),contrast:Zf(),grayscale:Xf(),hueRotate:Zf(),invert:Xf(),gap:bf(),gradientColorStops:[Ra],gradientColorStopPositions:[isPercent,isArbitraryLength],inset:Kd(),margin:Kd(),opacity:Zf(),padding:bf(),saturate:Zf(),scale:Zf(),sepia:Xf(),skew:Zf(),space:bf(),translate:bf()},classGroups:{aspect:[{aspect:["auto","square","video",isArbitraryValue]}],container:["container"],columns:[{columns:[isTshirtSize]}],"break-after":[{"break-after":ih()}],"break-before":[{"break-before":ih()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...yf(),isArbitraryValue]}],overflow:[{overflow:Zd()}],"overflow-x":[{"overflow-x":Zd()}],"overflow-y":[{"overflow-y":Zd()}],overscroll:[{overscroll:Yd()}],"overscroll-x":[{"overscroll-x":Yd()}],"overscroll-y":[{"overscroll-y":Yd()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[kd]}],"inset-x":[{"inset-x":[kd]}],"inset-y":[{"inset-y":[kd]}],start:[{start:[kd]}],end:[{end:[kd]}],top:[{top:[kd]}],right:[{right:[kd]}],bottom:[{bottom:[kd]}],left:[{left:[kd]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",isInteger$1,isArbitraryValue]}],basis:[{basis:Kd()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",isArbitraryValue]}],grow:[{grow:Xf()}],shrink:[{shrink:Xf()}],order:[{order:["first","last","none",isInteger$1,isArbitraryValue]}],"grid-cols":[{"grid-cols":[isAny]}],"col-start-end":[{col:["auto",{span:["full",isInteger$1,isArbitraryValue]},isArbitraryValue]}],"col-start":[{"col-start":Ef()}],"col-end":[{"col-end":Ef()}],"grid-rows":[{"grid-rows":[isAny]}],"row-start-end":[{row:["auto",{span:[isInteger$1,isArbitraryValue]},isArbitraryValue]}],"row-start":[{"row-start":Ef()}],"row-end":[{"row-end":Ef()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",isArbitraryValue]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",isArbitraryValue]}],gap:[{gap:[Ad]}],"gap-x":[{"gap-x":[Ad]}],"gap-y":[{"gap-y":[Ad]}],"justify-content":[{justify:["normal",...Lf()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Lf(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Lf(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[Md]}],px:[{px:[Md]}],py:[{py:[Md]}],ps:[{ps:[Md]}],pe:[{pe:[Md]}],pt:[{pt:[Md]}],pr:[{pr:[Md]}],pb:[{pb:[Md]}],pl:[{pl:[Md]}],m:[{m:[jd]}],mx:[{mx:[jd]}],my:[{my:[jd]}],ms:[{ms:[jd]}],me:[{me:[jd]}],mt:[{mt:[jd]}],mr:[{mr:[jd]}],mb:[{mb:[jd]}],ml:[{ml:[jd]}],"space-x":[{"space-x":[Qd]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Qd]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",isArbitraryValue,qa]}],"min-w":[{"min-w":[isArbitraryValue,qa,"min","max","fit"]}],"max-w":[{"max-w":[isArbitraryValue,qa,"none","full","min","max","fit","prose",{screen:[isTshirtSize]},isTshirtSize]}],h:[{h:[isArbitraryValue,qa,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[isArbitraryValue,qa,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[isArbitraryValue,qa,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[isArbitraryValue,qa,"auto","min","max","fit"]}],"font-size":[{text:["base",isTshirtSize,isArbitraryLength]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",isArbitraryNumber]}],"font-family":[{font:[isAny]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",isArbitraryValue]}],"line-clamp":[{"line-clamp":["none",isNumber$3,isArbitraryNumber]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",isLength$1,isArbitraryValue]}],"list-image":[{"list-image":["none",isArbitraryValue]}],"list-style-type":[{list:["none","disc","decimal",isArbitraryValue]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[Ra]}],"placeholder-opacity":[{"placeholder-opacity":[Fd]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[Ra]}],"text-opacity":[{"text-opacity":[Fd]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...xf(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",isLength$1,isArbitraryLength]}],"underline-offset":[{"underline-offset":["auto",isLength$1,isArbitraryValue]}],"text-decoration-color":[{decoration:[Ra]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:bf()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",isArbitraryValue]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",isArbitraryValue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[Fd]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...yf(),isArbitraryPosition]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",isArbitrarySize]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},isArbitraryImage]}],"bg-color":[{bg:[Ra]}],"gradient-from-pos":[{from:[Id]}],"gradient-via-pos":[{via:[Id]}],"gradient-to-pos":[{to:[Id]}],"gradient-from":[{from:[Nd]}],"gradient-via":[{via:[Nd]}],"gradient-to":[{to:[Nd]}],rounded:[{rounded:[ud]}],"rounded-s":[{"rounded-s":[ud]}],"rounded-e":[{"rounded-e":[ud]}],"rounded-t":[{"rounded-t":[ud]}],"rounded-r":[{"rounded-r":[ud]}],"rounded-b":[{"rounded-b":[ud]}],"rounded-l":[{"rounded-l":[ud]}],"rounded-ss":[{"rounded-ss":[ud]}],"rounded-se":[{"rounded-se":[ud]}],"rounded-ee":[{"rounded-ee":[ud]}],"rounded-es":[{"rounded-es":[ud]}],"rounded-tl":[{"rounded-tl":[ud]}],"rounded-tr":[{"rounded-tr":[ud]}],"rounded-br":[{"rounded-br":[ud]}],"rounded-bl":[{"rounded-bl":[ud]}],"border-w":[{border:[dd]}],"border-w-x":[{"border-x":[dd]}],"border-w-y":[{"border-y":[dd]}],"border-w-s":[{"border-s":[dd]}],"border-w-e":[{"border-e":[dd]}],"border-w-t":[{"border-t":[dd]}],"border-w-r":[{"border-r":[dd]}],"border-w-b":[{"border-b":[dd]}],"border-w-l":[{"border-l":[dd]}],"border-opacity":[{"border-opacity":[Fd]}],"border-style":[{border:[...xf(),"hidden"]}],"divide-x":[{"divide-x":[dd]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[dd]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[Fd]}],"divide-style":[{divide:xf()}],"border-color":[{border:[ld]}],"border-color-x":[{"border-x":[ld]}],"border-color-y":[{"border-y":[ld]}],"border-color-s":[{"border-s":[ld]}],"border-color-e":[{"border-e":[ld]}],"border-color-t":[{"border-t":[ld]}],"border-color-r":[{"border-r":[ld]}],"border-color-b":[{"border-b":[ld]}],"border-color-l":[{"border-l":[ld]}],"divide-color":[{divide:[ld]}],"outline-style":[{outline:["",...xf()]}],"outline-offset":[{"outline-offset":[isLength$1,isArbitraryValue]}],"outline-w":[{outline:[isLength$1,isArbitraryLength]}],"outline-color":[{outline:[Ra]}],"ring-w":[{ring:gf()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[Ra]}],"ring-opacity":[{"ring-opacity":[Fd]}],"ring-offset-w":[{"ring-offset":[isLength$1,isArbitraryLength]}],"ring-offset-color":[{"ring-offset":[Ra]}],shadow:[{shadow:["","inner","none",isTshirtSize,isArbitraryShadow]}],"shadow-color":[{shadow:[isAny]}],opacity:[{opacity:[Fd]}],"mix-blend":[{"mix-blend":[...Af(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Af()}],filter:[{filter:["","none"]}],blur:[{blur:[nd]}],brightness:[{brightness:[od]}],contrast:[{contrast:[pd]}],"drop-shadow":[{"drop-shadow":["","none",isTshirtSize,isArbitraryValue]}],grayscale:[{grayscale:[fd]}],"hue-rotate":[{"hue-rotate":[md]}],invert:[{invert:[vd]}],saturate:[{saturate:[Ld]}],sepia:[{sepia:[Gd]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[nd]}],"backdrop-brightness":[{"backdrop-brightness":[od]}],"backdrop-contrast":[{"backdrop-contrast":[pd]}],"backdrop-grayscale":[{"backdrop-grayscale":[fd]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[md]}],"backdrop-invert":[{"backdrop-invert":[vd]}],"backdrop-opacity":[{"backdrop-opacity":[Fd]}],"backdrop-saturate":[{"backdrop-saturate":[Ld]}],"backdrop-sepia":[{"backdrop-sepia":[Gd]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[cd]}],"border-spacing-x":[{"border-spacing-x":[cd]}],"border-spacing-y":[{"border-spacing-y":[cd]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",isArbitraryValue]}],duration:[{duration:Zf()}],ease:[{ease:["linear","in","out","in-out",isArbitraryValue]}],delay:[{delay:Zf()}],animate:[{animate:["none","spin","ping","pulse","bounce",isArbitraryValue]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Hd]}],"scale-x":[{"scale-x":[Hd]}],"scale-y":[{"scale-y":[Hd]}],rotate:[{rotate:[isInteger$1,isArbitraryValue]}],"translate-x":[{"translate-x":[mf]}],"translate-y":[{"translate-y":[mf]}],"skew-x":[{"skew-x":[Vd]}],"skew-y":[{"skew-y":[Vd]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",isArbitraryValue]}],accent:[{accent:["auto",Ra]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",isArbitraryValue]}],"caret-color":[{caret:[Ra]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":bf()}],"scroll-mx":[{"scroll-mx":bf()}],"scroll-my":[{"scroll-my":bf()}],"scroll-ms":[{"scroll-ms":bf()}],"scroll-me":[{"scroll-me":bf()}],"scroll-mt":[{"scroll-mt":bf()}],"scroll-mr":[{"scroll-mr":bf()}],"scroll-mb":[{"scroll-mb":bf()}],"scroll-ml":[{"scroll-ml":bf()}],"scroll-p":[{"scroll-p":bf()}],"scroll-px":[{"scroll-px":bf()}],"scroll-py":[{"scroll-py":bf()}],"scroll-ps":[{"scroll-ps":bf()}],"scroll-pe":[{"scroll-pe":bf()}],"scroll-pt":[{"scroll-pt":bf()}],"scroll-pr":[{"scroll-pr":bf()}],"scroll-pb":[{"scroll-pb":bf()}],"scroll-pl":[{"scroll-pl":bf()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",isArbitraryValue]}],fill:[{fill:[Ra,"none"]}],"stroke-w":[{stroke:[isLength$1,isArbitraryLength,isArbitraryNumber]}],stroke:[{stroke:[Ra,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},twMerge=createTailwindMerge(getDefaultConfig);function cn$4(...Ra){return twMerge(clsx(Ra))}const _sfc_main$1j=defineComponent({__name:"Button",props:{variant:{},size:{},class:{},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(O$3),{as:nd.as,"as-child":nd.asChild,class:normalizeClass(unref(cn$4)(unref(buttonVariants)({variant:nd.variant,size:nd.size}),qa.class))},{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),buttonVariants=cva("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",xs:"h-7 rounded px-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),_sfc_main$1i=defineComponent({__name:"AlertDialogAction",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(Rv),mergeProps(nd.value,{class:unref(cn$4)(unref(buttonVariants)(),qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$1h=defineComponent({__name:"AlertDialogCancel",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(Bv),mergeProps(nd.value,{class:unref(cn$4)(unref(buttonVariants)({variant:"outline"}),"mt-2 sm:mt-0",qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$1g=defineComponent({__name:"AlertDialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(Pv),null,{default:withCtx(()=>[createVNode(unref($v),{class:"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80"}),createVNode(unref(Dv),mergeProps(unref(ud),{class:unref(cn$4)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$1f=defineComponent({__name:"AlertDialogDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(Tv),mergeProps(nd.value,{class:unref(cn$4)("text-sm text-muted-foreground",qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$1e=defineComponent({__name:"AlertDialogFooter",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$4)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$1d=defineComponent({__name:"AlertDialogHeader",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$4)("flex flex-col gap-y-2 text-center sm:text-left",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$1c=defineComponent({__name:"AlertDialogTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(Iv),mergeProps(nd.value,{class:unref(cn$4)("text-lg font-semibold",qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$1b=defineComponent({__name:"Dialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,cd)=>(openBlock(),createBlock(unref(Zi$2),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}});/** +`))}return()=>ud.value||ld.value||dd.value?h$1(qa.default({present:dd})[0],{ref:md=>{const vd=$e$4(md);return typeof(vd==null?void 0:vd.hasAttribute)>"u"||(vd!=null&&vd.hasAttribute("data-radix-popper-content-wrapper")?cd.value=vd.firstElementChild:cd.value=vd),vd}}):null}}),[et$5,Xi$1]=Q$6("DialogRoot"),Zi$2=defineComponent({inheritAttrs:!1,__name:"DialogRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean,default:!1},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=ne$6(nd,"open",qa,{defaultValue:nd.defaultOpen,passive:nd.open===void 0}),ld=ref$1(),ud=ref$1(),{modal:cd}=toRefs(nd);return Xi$1({open:od,modal:cd,openModal:()=>{od.value=!0},onOpenChange:dd=>{od.value=dd},onOpenToggle:()=>{od.value=!od.value},contentId:"",titleId:"",descriptionId:"",triggerElement:ld,contentElement:ud}),(dd,pd)=>renderSlot(dd.$slots,"default",{open:unref(od)})}}),Ji$3=defineComponent({__name:"DialogTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=et$5(),{forwardRef:od,currentElement:ld}=R$6();return nd.contentId||(nd.contentId=he$4(void 0,"radix-vue-dialog-content")),onMounted(()=>{nd.triggerElement.value=ld.value}),(ud,cd)=>(openBlock(),createBlock(unref(O$3),mergeProps(qa,{ref:unref(od),type:ud.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":unref(nd).open.value||!1,"aria-controls":unref(nd).open.value?unref(nd).contentId:void 0,"data-state":unref(nd).open.value?"open":"closed",onClick:unref(nd).onOpenToggle}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16,["type","aria-expanded","aria-controls","data-state","onClick"]))}}),nt$4=defineComponent({__name:"Teleport",props:{to:{default:"body"},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=ja$1();return(nd,od)=>unref(qa)||nd.forceMount?(openBlock(),createBlock(Teleport,{key:0,to:nd.to,disabled:nd.disabled},[renderSlot(nd.$slots,"default")],8,["to","disabled"])):createCommentVNode("",!0)}}),xv=defineComponent({__name:"DialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Qi$1="dismissableLayer.pointerDownOutside",eu$2="dismissableLayer.focusOutside";function zl$3(Ra,qa){const nd=qa.closest("[data-dismissable-layer]"),od=Ra.dataset.dismissableLayer===""?Ra:Ra.querySelector("[data-dismissable-layer]"),ld=Array.from(Ra.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(nd&&od===nd||ld.indexOf(od){});return watchEffect(cd=>{if(!qe$3)return;const dd=async fd=>{const md=fd.target;if(qa!=null&&qa.value){if(zl$3(qa.value,md)){ld.value=!1;return}if(fd.target&&!ld.value){let vd=function(){Ht$4(Qi$1,Ra,Ad)};const Ad={originalEvent:fd};fd.pointerType==="touch"?(od.removeEventListener("click",ud.value),ud.value=vd,od.addEventListener("click",ud.value,{once:!0})):vd()}else od.removeEventListener("click",ud.value);ld.value=!1}},pd=window.setTimeout(()=>{od.addEventListener("pointerdown",dd)},0);cd(()=>{window.clearTimeout(pd),od.removeEventListener("pointerdown",dd),od.removeEventListener("click",ud.value)})}),{onPointerDownCapture:()=>ld.value=!0}}function Hl$3(Ra,qa){var nd;const od=((nd=qa==null?void 0:qa.value)==null?void 0:nd.ownerDocument)??(globalThis==null?void 0:globalThis.document),ld=ref$1(!1);return watchEffect(ud=>{if(!qe$3)return;const cd=async dd=>{qa!=null&&qa.value&&(await nextTick$1(),!(!qa.value||zl$3(qa.value,dd.target))&&dd.target&&!ld.value&&Ht$4(eu$2,Ra,{originalEvent:dd}))};od.addEventListener("focusin",cd),ud(()=>od.removeEventListener("focusin",cd))}),{onFocusCapture:()=>ld.value=!0,onBlurCapture:()=>ld.value=!1}}const je$7=reactive({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yt$3=defineComponent({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{forwardRef:ld,currentElement:ud}=R$6(),cd=computed(()=>{var Id;return((Id=ud.value)==null?void 0:Id.ownerDocument)??globalThis.document}),dd=computed(()=>je$7.layersRoot),pd=computed(()=>ud.value?Array.from(dd.value).indexOf(ud.value):-1),fd=computed(()=>je$7.layersWithOutsidePointerEventsDisabled.size>0),md=computed(()=>{const Id=Array.from(dd.value),[kd]=[...je$7.layersWithOutsidePointerEventsDisabled].slice(-1),jd=Id.indexOf(kd);return pd.value>=jd}),vd=Kl$3(async Id=>{const kd=[...je$7.branches].some(jd=>jd==null?void 0:jd.contains(Id.target));!md.value||kd||(od("pointerDownOutside",Id),od("interactOutside",Id),await nextTick$1(),Id.defaultPrevented||od("dismiss"))},ud),Ad=Hl$3(Id=>{[...je$7.branches].some(kd=>kd==null?void 0:kd.contains(Id.target))||(od("focusOutside",Id),od("interactOutside",Id),Id.defaultPrevented||od("dismiss"))},ud);jn$3("Escape",Id=>{pd.value===dd.value.size-1&&(od("escapeKeyDown",Id),Id.defaultPrevented||od("dismiss"))});let Nd;return watchEffect(Id=>{ud.value&&(nd.disableOutsidePointerEvents&&(je$7.layersWithOutsidePointerEventsDisabled.size===0&&(Nd=cd.value.body.style.pointerEvents,cd.value.body.style.pointerEvents="none"),je$7.layersWithOutsidePointerEventsDisabled.add(ud.value)),dd.value.add(ud.value),Id(()=>{nd.disableOutsidePointerEvents&&je$7.layersWithOutsidePointerEventsDisabled.size===1&&(cd.value.body.style.pointerEvents=Nd)}))}),watchEffect(Id=>{Id(()=>{ud.value&&(dd.value.delete(ud.value),je$7.layersWithOutsidePointerEventsDisabled.delete(ud.value))})}),(Id,kd)=>(openBlock(),createBlock(unref(O$3),{ref:unref(ld),"as-child":Id.asChild,as:Id.as,"data-dismissable-layer":"",style:normalizeStyle({pointerEvents:fd.value?md.value?"auto":"none":void 0}),onFocusCapture:unref(Ad).onFocusCapture,onBlurCapture:unref(Ad).onBlurCapture,onPointerdownCapture:unref(vd).onPointerDownCapture},{default:withCtx(()=>[renderSlot(Id.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),wn$3="focusScope.autoFocusOnMount",_n$3="focusScope.autoFocusOnUnmount",Wo$2={bubbles:!1,cancelable:!0};function Oa$3(Ra,{select:qa=!1}={}){const nd=document.activeElement;for(const od of Ra)if(ct$3(od,{select:qa}),document.activeElement!==nd)return!0}function au$3(Ra){const qa=Jn$4(Ra),nd=jo$2(qa,Ra),od=jo$2(qa.reverse(),Ra);return[nd,od]}function Jn$4(Ra){const qa=[],nd=document.createTreeWalker(Ra,NodeFilter.SHOW_ELEMENT,{acceptNode:od=>{const ld=od.tagName==="INPUT"&&od.type==="hidden";return od.disabled||od.hidden||ld?NodeFilter.FILTER_SKIP:od.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;nd.nextNode();)qa.push(nd.currentNode);return qa}function jo$2(Ra,qa){for(const nd of Ra)if(!nu$4(nd,{upTo:qa}))return nd}function nu$4(Ra,{upTo:qa}){if(getComputedStyle(Ra).visibility==="hidden")return!0;for(;Ra;){if(qa!==void 0&&Ra===qa)return!1;if(getComputedStyle(Ra).display==="none")return!0;Ra=Ra.parentElement}return!1}function ou$3(Ra){return Ra instanceof HTMLInputElement&&"select"in Ra}function ct$3(Ra,{select:qa=!1}={}){if(Ra&&Ra.focus){const nd=document.activeElement;Ra.focus({preventScroll:!0}),Ra!==nd&&ou$3(Ra)&&qa&&Ra.select()}}const lu$3=ei$4(()=>ref$1([]));function su$3(){const Ra=lu$3();return{add(qa){const nd=Ra.value[0];qa!==nd&&(nd==null||nd.pause()),Ra.value=Uo$3(Ra.value,qa),Ra.value.unshift(qa)},remove(qa){var nd;Ra.value=Uo$3(Ra.value,qa),(nd=Ra.value[0])==null||nd.resume()}}}function Uo$3(Ra,qa){const nd=[...Ra],od=nd.indexOf(qa);return od!==-1&&nd.splice(od,1),nd}function ru$3(Ra){return Ra.filter(qa=>qa.tagName!=="A")}const Ya$2=defineComponent({__name:"FocusScope",props:{loop:{type:Boolean,default:!1},trapped:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["mountAutoFocus","unmountAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{currentRef:ld,currentElement:ud}=R$6(),cd=ref$1(null),dd=su$3(),pd=reactive({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});watchEffect(md=>{if(!qe$3)return;const vd=ud.value;if(!nd.trapped)return;function Ad(jd){if(pd.paused||!vd)return;const Fd=jd.target;vd.contains(Fd)?cd.value=Fd:ct$3(cd.value,{select:!0})}function Nd(jd){if(pd.paused||!vd)return;const Fd=jd.relatedTarget;Fd!==null&&(vd.contains(Fd)||ct$3(cd.value,{select:!0}))}function Id(jd){vd.contains(cd.value)||ct$3(vd)}document.addEventListener("focusin",Ad),document.addEventListener("focusout",Nd);const kd=new MutationObserver(Id);vd&&kd.observe(vd,{childList:!0,subtree:!0}),md(()=>{document.removeEventListener("focusin",Ad),document.removeEventListener("focusout",Nd),kd.disconnect()})}),watchEffect(async md=>{const vd=ud.value;if(await nextTick$1(),!vd)return;dd.add(pd);const Ad=document.activeElement;if(!vd.contains(Ad)){const Nd=new CustomEvent(wn$3,Wo$2);vd.addEventListener(wn$3,Id=>od("mountAutoFocus",Id)),vd.dispatchEvent(Nd),Nd.defaultPrevented||(Oa$3(ru$3(Jn$4(vd)),{select:!0}),document.activeElement===Ad&&ct$3(vd))}md(()=>{vd.removeEventListener(wn$3,kd=>od("mountAutoFocus",kd));const Nd=new CustomEvent(_n$3,Wo$2),Id=kd=>{od("unmountAutoFocus",kd)};vd.addEventListener(_n$3,Id),vd.dispatchEvent(Nd),setTimeout(()=>{Nd.defaultPrevented||ct$3(Ad??document.body,{select:!0}),vd.removeEventListener(_n$3,Id),dd.remove(pd)},0)})});function fd(md){if(!nd.loop&&!nd.trapped||pd.paused)return;const vd=md.key==="Tab"&&!md.altKey&&!md.ctrlKey&&!md.metaKey,Ad=document.activeElement;if(vd&&Ad){const Nd=md.currentTarget,[Id,kd]=au$3(Nd);Id&&kd?!md.shiftKey&&Ad===kd?(md.preventDefault(),nd.loop&&ct$3(Id,{select:!0})):md.shiftKey&&Ad===Id&&(md.preventDefault(),nd.loop&&ct$3(kd,{select:!0})):Ad===Nd&&md.preventDefault()}}return(md,vd)=>(openBlock(),createBlock(unref(O$3),{ref_key:"currentRef",ref:ld,tabindex:"-1","as-child":md.asChild,as:md.as,onKeydown:fd},{default:withCtx(()=>[renderSlot(md.$slots,"default")]),_:3},8,["as-child","as"]))}}),iu$2="menu.itemSelect",Dn$3=["Enter"," "],uu$4=["ArrowDown","PageUp","Home"],Wl$3=["ArrowUp","PageDown","End"],du$3=[...uu$4,...Wl$3],cu$3={ltr:[...Dn$3,"ArrowRight"],rtl:[...Dn$3,"ArrowLeft"]},pu$3={ltr:["ArrowLeft"],rtl:["ArrowRight"]};function Qn$4(Ra){return Ra?"open":"closed"}function Fa$1(Ra){return Ra==="indeterminate"}function eo$2(Ra){return Fa$1(Ra)?"indeterminate":Ra?"checked":"unchecked"}function $n$4(Ra){const qa=document.activeElement;for(const nd of Ra)if(nd===qa||(nd.focus(),document.activeElement!==qa))return}function fu$2(Ra,qa){const{x:nd,y:od}=Ra;let ld=!1;for(let ud=0,cd=qa.length-1;udod!=md>od&&nd<(fd-dd)*(od-pd)/(md-pd)+dd&&(ld=!ld)}return ld}function vu$3(Ra,qa){if(!qa)return!1;const nd={x:Ra.clientX,y:Ra.clientY};return fu$2(nd,qa)}function ua$2(Ra){return Ra.pointerType==="mouse"}const jl$3=defineComponent({__name:"DialogContentImpl",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=et$5(),{forwardRef:ud,currentElement:cd}=R$6();return ld.titleId||(ld.titleId=he$4(void 0,"radix-vue-dialog-title")),ld.descriptionId||(ld.descriptionId=he$4(void 0,"radix-vue-dialog-description")),onMounted(()=>{ld.contentElement=cd,document.activeElement!==document.body&&(ld.triggerElement.value=document.activeElement)}),(dd,pd)=>(openBlock(),createBlock(unref(Ya$2),{"as-child":"",loop:"",trapped:nd.trapFocus,onMountAutoFocus:pd[5]||(pd[5]=fd=>od("openAutoFocus",fd)),onUnmountAutoFocus:pd[6]||(pd[6]=fd=>od("closeAutoFocus",fd))},{default:withCtx(()=>[createVNode(unref(yt$3),mergeProps({id:unref(ld).contentId,ref:unref(ud),as:dd.as,"as-child":dd.asChild,"disable-outside-pointer-events":dd.disableOutsidePointerEvents,role:"dialog","aria-describedby":unref(ld).descriptionId,"aria-labelledby":unref(ld).titleId,"data-state":unref(Qn$4)(unref(ld).open.value)},dd.$attrs,{onDismiss:pd[0]||(pd[0]=fd=>unref(ld).onOpenChange(!1)),onEscapeKeyDown:pd[1]||(pd[1]=fd=>od("escapeKeyDown",fd)),onFocusOutside:pd[2]||(pd[2]=fd=>od("focusOutside",fd)),onInteractOutside:pd[3]||(pd[3]=fd=>od("interactOutside",fd)),onPointerDownOutside:pd[4]||(pd[4]=fd=>od("pointerDownOutside",fd))}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),gu$2=defineComponent({__name:"DialogContentModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=et$5(),ud=Ae$6(od),{forwardRef:cd,currentElement:dd}=R$6();return ya$1(dd),(pd,fd)=>(openBlock(),createBlock(jl$3,mergeProps({...nd,...unref(ud)},{ref:unref(cd),"trap-focus":unref(ld).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:fd[0]||(fd[0]=md=>{var vd;md.defaultPrevented||(md.preventDefault(),(vd=unref(ld).triggerElement.value)==null||vd.focus())}),onPointerDownOutside:fd[1]||(fd[1]=md=>{const vd=md.detail.originalEvent,Ad=vd.button===0&&vd.ctrlKey===!0;(vd.button===2||Ad)&&md.preventDefault()}),onFocusOutside:fd[2]||(fd[2]=md=>{md.preventDefault()})}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16,["trap-focus"]))}}),bu$2=defineComponent({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);R$6();const ld=et$5(),ud=ref$1(!1),cd=ref$1(!1);return(dd,pd)=>(openBlock(),createBlock(jl$3,mergeProps({...nd,...unref(od)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:pd[0]||(pd[0]=fd=>{var md;fd.defaultPrevented||(ud.value||(md=unref(ld).triggerElement.value)==null||md.focus(),fd.preventDefault()),ud.value=!1,cd.value=!1}),onInteractOutside:pd[1]||(pd[1]=fd=>{var md;fd.defaultPrevented||(ud.value=!0,fd.detail.originalEvent.type==="pointerdown"&&(cd.value=!0));const vd=fd.target;(md=unref(ld).triggerElement.value)!=null&&md.contains(vd)&&fd.preventDefault(),fd.detail.originalEvent.type==="focusin"&&cd.value&&fd.preventDefault()})}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16))}}),Cu$3=defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=et$5(),ud=Ae$6(od),{forwardRef:cd}=R$6();return(dd,pd)=>(openBlock(),createBlock(unref(Pe$7),{present:dd.forceMount||unref(ld).open.value},{default:withCtx(()=>[unref(ld).modal.value?(openBlock(),createBlock(gu$2,mergeProps({key:0,ref:unref(cd)},{...nd,...unref(ud),...dd.$attrs}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16)):(openBlock(),createBlock(bu$2,mergeProps({key:1,ref:unref(cd)},{...nd,...unref(ud),...dd.$attrs}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),wu$3=defineComponent({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=et$5();return ha$1(!0),R$6(),(nd,od)=>(openBlock(),createBlock(unref(O$3),{as:nd.as,"as-child":nd.asChild,"data-state":unref(qa).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),_u$3=defineComponent({__name:"DialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=et$5(),{forwardRef:nd}=R$6();return(od,ld)=>{var ud;return(ud=unref(qa))!=null&&ud.modal.value?(openBlock(),createBlock(unref(Pe$7),{key:0,present:od.forceMount||unref(qa).open.value},{default:withCtx(()=>[createVNode(wu$3,mergeProps(od.$attrs,{ref:unref(nd),as:od.as,"as-child":od.asChild}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):createCommentVNode("",!0)}}}),Ul$3=defineComponent({__name:"DialogClose",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra;R$6();const nd=et$5();return(od,ld)=>(openBlock(),createBlock(unref(O$3),mergeProps(qa,{type:od.as==="button"?"button":void 0,onClick:ld[0]||(ld[0]=ud=>unref(nd).onOpenChange(!1))}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["type"]))}}),xu$2=defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(Ra){const qa=Ra,nd=et$5();return R$6(),(od,ld)=>(openBlock(),createBlock(unref(O$3),mergeProps(qa,{id:unref(nd).titleId}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["id"]))}}),Su$2=defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{default:"p"}},setup(Ra){const qa=Ra;R$6();const nd=et$5();return(od,ld)=>(openBlock(),createBlock(unref(O$3),mergeProps(qa,{id:unref(nd).descriptionId}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["id"]))}}),Sv=defineComponent({__name:"AlertDialogRoot",props:{open:{type:Boolean},defaultOpen:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa);return R$6(),(od,ld)=>(openBlock(),createBlock(unref(Zi$2),mergeProps(unref(nd),{modal:!0}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16))}}),Pv=defineComponent({__name:"AlertDialogPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[Eu$3,Pu$2]=Q$6("AlertDialogContent"),Dv=defineComponent({__name:"AlertDialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);R$6();const ld=ref$1();return Pu$2({onCancelElementChange:ud=>{ld.value=ud}}),(ud,cd)=>(openBlock(),createBlock(unref(Cu$3),mergeProps({...nd,...unref(od)},{role:"alertdialog",onPointerDownOutside:cd[0]||(cd[0]=withModifiers(()=>{},["prevent"])),onInteractOutside:cd[1]||(cd[1]=withModifiers(()=>{},["prevent"])),onOpenAutoFocus:cd[2]||(cd[2]=()=>{nextTick$1(()=>{var dd;(dd=ld.value)==null||dd.focus({preventScroll:!0})})})}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),$v=defineComponent({__name:"AlertDialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$6(),(nd,od)=>(openBlock(),createBlock(unref(_u$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Bv=defineComponent({__name:"AlertDialogCancel",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=Eu$3(),{forwardRef:od,currentElement:ld}=R$6();return onMounted(()=>{nd.onCancelElementChange(ld.value)}),(ud,cd)=>(openBlock(),createBlock(unref(Ul$3),mergeProps(qa,{ref:unref(od)}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),Iv=defineComponent({__name:"AlertDialogTitle",props:{asChild:{type:Boolean},as:{default:"h2"}},setup(Ra){const qa=Ra;return R$6(),(nd,od)=>(openBlock(),createBlock(unref(xu$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Tv=defineComponent({__name:"AlertDialogDescription",props:{asChild:{type:Boolean},as:{default:"p"}},setup(Ra){const qa=Ra;return R$6(),(nd,od)=>(openBlock(),createBlock(unref(Su$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Rv=defineComponent({__name:"AlertDialogAction",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra;return R$6(),(nd,od)=>(openBlock(),createBlock(unref(Ul$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[Xl$3,Ju$3]=Q$6("PopperRoot"),Tt$4=defineComponent({inheritAttrs:!1,__name:"PopperRoot",setup(Ra){const qa=ref$1();return Ju$3({anchor:qa,onAnchorChange:nd=>qa.value=nd}),(nd,od)=>renderSlot(nd.$slots,"default")}}),Rt$5=defineComponent({__name:"PopperAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{forwardRef:nd,currentElement:od}=R$6(),ld=Xl$3();return watchEffect(()=>{ld.onAnchorChange(qa.element??od.value)}),(ud,cd)=>(openBlock(),createBlock(unref(O$3),{ref:unref(nd),as:ud.as,"as-child":ud.asChild},{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},8,["as","as-child"]))}});function Qu$3(Ra){return Ra!==null}function ed(Ra){return{name:"transformOrigin",options:Ra,fn(qa){var nd,od,ld;const{placement:ud,rects:cd,middlewareData:dd}=qa,pd=((nd=dd.arrow)==null?void 0:nd.centerOffset)!==0,fd=pd?0:Ra.arrowWidth,md=pd?0:Ra.arrowHeight,[vd,Ad]=Bn$3(ud),Nd={start:"0%",center:"50%",end:"100%"}[Ad],Id=(((od=dd.arrow)==null?void 0:od.x)??0)+fd/2,kd=(((ld=dd.arrow)==null?void 0:ld.y)??0)+md/2;let jd="",Fd="";return vd==="bottom"?(jd=pd?Nd:`${Id}px`,Fd=`${-md}px`):vd==="top"?(jd=pd?Nd:`${Id}px`,Fd=`${cd.floating.height+md}px`):vd==="right"?(jd=`${-md}px`,Fd=pd?Nd:`${kd}px`):vd==="left"&&(jd=`${cd.floating.width+md}px`,Fd=pd?Nd:`${kd}px`),{data:{x:jd,y:Fd}}}}}function Bn$3(Ra){const[qa,nd="center"]=Ra.split("-");return[qa,nd]}const Zl$3={side:"bottom",sideOffset:0,align:"center",alignOffset:0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,updatePositionStrategy:"optimized",prioritizePosition:!1},[td,ad]=Q$6("PopperContent"),Dt$4=defineComponent({inheritAttrs:!1,__name:"PopperContent",props:mergeDefaults({side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...Zl$3}),emits:["placed"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=Xl$3(),{forwardRef:ud,currentElement:cd}=R$6(),dd=ref$1(),pd=ref$1(),{width:fd,height:md}=Ml$3(pd),vd=computed(()=>nd.side+(nd.align!=="center"?`-${nd.align}`:"")),Ad=computed(()=>typeof nd.collisionPadding=="number"?nd.collisionPadding:{top:0,right:0,bottom:0,left:0,...nd.collisionPadding}),Nd=computed(()=>Array.isArray(nd.collisionBoundary)?nd.collisionBoundary:[nd.collisionBoundary]),Id=computed(()=>({padding:Ad.value,boundary:Nd.value.filter(Qu$3),altBoundary:Nd.value.length>0})),kd=Jr$4(()=>[offset({mainAxis:nd.sideOffset+md.value,alignmentAxis:nd.alignOffset}),nd.prioritizePosition&&nd.avoidCollisions&&flip({...Id.value}),nd.avoidCollisions&&shift({mainAxis:!0,crossAxis:!!nd.prioritizePosition,limiter:nd.sticky==="partial"?limitShift():void 0,...Id.value}),!nd.prioritizePosition&&nd.avoidCollisions&&flip({...Id.value}),size({...Id.value,apply:({elements:Zd,rects:Xd,availableWidth:bf,availableHeight:yf})=>{const{width:Ef,height:gf}=Xd.reference,xf=Zd.floating.style;xf.setProperty("--radix-popper-available-width",`${bf}px`),xf.setProperty("--radix-popper-available-height",`${yf}px`),xf.setProperty("--radix-popper-anchor-width",`${Ef}px`),xf.setProperty("--radix-popper-anchor-height",`${gf}px`)}}),pd.value&&arrow({element:pd.value,padding:nd.arrowPadding}),ed({arrowWidth:fd.value,arrowHeight:md.value}),nd.hideWhenDetached&&hide({strategy:"referenceHidden",...Id.value})]),{floatingStyles:jd,placement:Fd,isPositioned:Md,middlewareData:Ld}=useFloating(ld.anchor,dd,{strategy:"fixed",placement:vd,whileElementsMounted:(...Zd)=>autoUpdate(...Zd,{animationFrame:nd.updatePositionStrategy==="always"}),middleware:kd}),Hd=computed(()=>Bn$3(Fd.value)[0]),Gd=computed(()=>Bn$3(Fd.value)[1]);watchPostEffect(()=>{Md.value&&od("placed")});const Vd=computed(()=>{var Zd;return((Zd=Ld.value.arrow)==null?void 0:Zd.centerOffset)!==0}),Kd=ref$1("");watchEffect(()=>{cd.value&&(Kd.value=window.getComputedStyle(cd.value).zIndex)});const mf=computed(()=>{var Zd;return((Zd=Ld.value.arrow)==null?void 0:Zd.x)??0}),Wd=computed(()=>{var Zd;return((Zd=Ld.value.arrow)==null?void 0:Zd.y)??0});return ad({placedSide:Hd,onArrowChange:Zd=>pd.value=Zd,arrowX:mf,arrowY:Wd,shouldHideArrow:Vd}),(Zd,Xd)=>{var bf,yf,Ef;return openBlock(),createElementBlock("div",{ref_key:"floatingRef",ref:dd,"data-radix-popper-content-wrapper":"",style:normalizeStyle({...unref(jd),transform:unref(Md)?unref(jd).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Kd.value,"--radix-popper-transform-origin":[(bf=unref(Ld).transformOrigin)==null?void 0:bf.x,(yf=unref(Ld).transformOrigin)==null?void 0:yf.y].join(" "),...((Ef=unref(Ld).hide)==null?void 0:Ef.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[createVNode(unref(O$3),mergeProps({ref:unref(ud)},Zd.$attrs,{"as-child":nd.asChild,as:Zd.as,"data-side":Hd.value,"data-align":Gd.value,style:{animation:unref(Md)?void 0:"none"}}),{default:withCtx(()=>[renderSlot(Zd.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),Zt$4=defineComponent({__name:"VisuallyHidden",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){return R$6(),(qa,nd)=>(openBlock(),createBlock(unref(O$3),{as:qa.as,"as-child":qa.asChild,style:{position:"absolute",border:0,width:"1px",display:"inline-block",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}},{default:withCtx(()=>[renderSlot(qa.$slots,"default")]),_:3},8,["as","as-child"]))}}),sd="data-radix-vue-collection-item",[ao$1,rd]=Q$6("CollectionProvider");function ba$2(Ra=sd){const qa=ref$1(new Map),nd=ref$1(),od=rd({collectionRef:nd,itemMap:qa,attrName:Ra}),{getItems:ld}=Qt$4(od),ud=computed(()=>Array.from(od.itemMap.value.values())),cd=computed(()=>od.itemMap.value.size);return{getItems:ld,reactiveItems:ud,itemMapSize:cd}}const Ca$1=defineComponent({name:"CollectionSlot",setup(Ra,{slots:qa}){const nd=ao$1(),{primitiveElement:od,currentElement:ld}=Ie$5();return watch(ld,()=>{nd.collectionRef.value=ld.value}),()=>h$1(Xn$4,{ref:od},qa)}}),Jt$5=defineComponent({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(Ra,{slots:qa,attrs:nd}){const od=ao$1(),{primitiveElement:ld,currentElement:ud}=Ie$5();return watchEffect(cd=>{if(ud.value){const dd=markRaw(ud.value);od.itemMap.value.set(dd,{ref:ud.value,value:Ra.value}),cd(()=>od.itemMap.value.delete(dd))}}),()=>h$1(Xn$4,{...nd,[od.attrName]:"",ref:ld},qa)}});function Qt$4(Ra){const qa=Ra??ao$1();return{getItems:()=>{const nd=qa.collectionRef.value;if(!nd)return[];const od=Array.from(nd.querySelectorAll(`[${qa.attrName}]`));return Array.from(qa.itemMap.value.values()).sort((ld,ud)=>od.indexOf(ld.ref)-od.indexOf(ud.ref))}}}function Xa$2(Ra){const qa=Ga$2({nonce:ref$1()});return computed(()=>{var nd;return(Ra==null?void 0:Ra.value)||((nd=qa.nonce)==null?void 0:nd.value)})}const Za$1=defineComponent({__name:"MenuAnchor",props:{element:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Rt$5),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}});function hd(){const Ra=ref$1(!1);return onMounted(()=>{Le$6("keydown",()=>{Ra.value=!0},{capture:!0,passive:!0}),Le$6(["pointerdown","pointermove"],()=>{Ra.value=!1},{capture:!0,passive:!0})}),Ra}const yd=xl$3(hd),[At$5,Ql$3]=Q$6(["MenuRoot","MenuSub"],"MenuContext"),[wa$1,gd]=Q$6("MenuRoot"),oo$4=defineComponent({__name:"MenuRoot",props:{open:{type:Boolean,default:!1},dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{modal:ld,dir:ud}=toRefs(nd),cd=be$8(ud),dd=ne$6(nd,"open",od),pd=ref$1(),fd=yd();return Ql$3({open:dd,onOpenChange:md=>{dd.value=md},content:pd,onContentChange:md=>{pd.value=md}}),gd({onClose:()=>{dd.value=!1},isUsingKeyboardRef:fd,dir:cd,modal:ld}),(md,vd)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(md.$slots,"default")]),_:3}))}}),bd="rovingFocusGroup.onEntryFocus",Cd={bubbles:!1,cancelable:!0},Ja={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function wd(Ra,qa){return qa!=="rtl"?Ra:Ra==="ArrowLeft"?"ArrowRight":Ra==="ArrowRight"?"ArrowLeft":Ra}function es$2(Ra,qa,nd){const od=wd(Ra.key,nd);if(!(qa==="vertical"&&["ArrowLeft","ArrowRight"].includes(od))&&!(qa==="horizontal"&&["ArrowUp","ArrowDown"].includes(od)))return Ja[od]}function ts$1(Ra,qa=!1,nd){const od=(nd==null?void 0:nd.activeElement)??document.activeElement;for(const ld of Ra)if(ld===od||(ld.focus({preventScroll:qa}),document.activeElement!==od))return}function _d(Ra,qa){return Ra.map((nd,od)=>Ra[(qa+od)%Ra.length])}const[xd,Sd]=Q$6("RovingFocusGroup"),Ot$4=defineComponent({__name:"RovingFocusGroup",props:{orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!1},currentTabStopId:{},defaultCurrentTabStopId:{},preventScrollOnEntryFocus:{type:Boolean,default:!1},asChild:{type:Boolean},as:{}},emits:["entryFocus","update:currentTabStopId"],setup(Ra,{expose:qa,emit:nd}){const od=Ra,ld=nd,{loop:ud,orientation:cd,dir:dd}=toRefs(od),pd=be$8(dd),fd=ne$6(od,"currentTabStopId",ld,{defaultValue:od.defaultCurrentTabStopId,passive:od.currentTabStopId===void 0}),md=ref$1(!1),vd=ref$1(!1),Ad=ref$1(0),{getItems:Nd}=ba$2();function Id(jd){const Fd=!vd.value;if(jd.currentTarget&&jd.target===jd.currentTarget&&Fd&&!md.value){const Md=new CustomEvent(bd,Cd);if(jd.currentTarget.dispatchEvent(Md),ld("entryFocus",Md),!Md.defaultPrevented){const Ld=Nd().map(Kd=>Kd.ref).filter(Kd=>Kd.dataset.disabled!==""),Hd=Ld.find(Kd=>Kd.getAttribute("data-active")==="true"),Gd=Ld.find(Kd=>Kd.id===fd.value),Vd=[Hd,Gd,...Ld].filter(Boolean);ts$1(Vd,od.preventScrollOnEntryFocus)}}vd.value=!1}function kd(){setTimeout(()=>{vd.value=!1},1)}return qa({getItems:Nd}),Sd({loop:ud,dir:pd,orientation:cd,currentTabStopId:fd,onItemFocus:jd=>{fd.value=jd},onItemShiftTab:()=>{md.value=!0},onFocusableItemAdd:()=>{Ad.value++},onFocusableItemRemove:()=>{Ad.value--}}),(jd,Fd)=>(openBlock(),createBlock(unref(Ca$1),null,{default:withCtx(()=>[createVNode(unref(O$3),{tabindex:md.value||Ad.value===0?-1:0,"data-orientation":unref(cd),as:jd.as,"as-child":jd.asChild,dir:unref(pd),style:{outline:"none"},onMousedown:Fd[0]||(Fd[0]=Md=>vd.value=!0),onMouseup:kd,onFocus:Id,onBlur:Fd[1]||(Fd[1]=Md=>md.value=!1)},{default:withCtx(()=>[renderSlot(jd.$slots,"default")]),_:3},8,["tabindex","data-orientation","as","as-child","dir"])]),_:3}))}}),kt$4=defineComponent({__name:"RovingFocusItem",props:{tabStopId:{},focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!0},allowShiftKey:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,nd=xd(),od=computed(()=>qa.tabStopId||he$4()),ld=computed(()=>nd.currentTabStopId.value===od.value),{getItems:ud}=Qt$4(),{primitiveElement:cd,currentElement:dd}=Ie$5(),pd=computed(()=>{var md;return(md=dd.value)==null?void 0:md.getRootNode()});onMounted(()=>{qa.focusable&&nd.onFocusableItemAdd()}),onUnmounted(()=>{qa.focusable&&nd.onFocusableItemRemove()});function fd(md){if(md.key==="Tab"&&md.shiftKey){nd.onItemShiftTab();return}if(md.target!==md.currentTarget)return;const vd=es$2(md,nd.orientation.value,nd.dir.value);if(vd!==void 0){if(md.metaKey||md.ctrlKey||md.altKey||!qa.allowShiftKey&&md.shiftKey)return;md.preventDefault();let Ad=[...ud().map(Nd=>Nd.ref).filter(Nd=>Nd.dataset.disabled!=="")];if(vd==="last")Ad.reverse();else if(vd==="prev"||vd==="next"){vd==="prev"&&Ad.reverse();const Nd=Ad.indexOf(md.currentTarget);Ad=nd.loop.value?_d(Ad,Nd+1):Ad.slice(Nd+1)}nextTick$1(()=>ts$1(Ad,!1,pd.value))}}return(md,vd)=>(openBlock(),createBlock(unref(Jt$5),null,{default:withCtx(()=>[createVNode(unref(O$3),{ref_key:"primitiveElement",ref:cd,tabindex:ld.value?0:-1,"data-orientation":unref(nd).orientation.value,"data-active":md.active,"data-disabled":md.focusable?void 0:"",as:md.as,"as-child":md.asChild,onMousedown:vd[0]||(vd[0]=Ad=>{md.focusable?unref(nd).onItemFocus(od.value):Ad.preventDefault()}),onFocus:vd[1]||(vd[1]=Ad=>unref(nd).onItemFocus(od.value)),onKeydown:fd},{default:withCtx(()=>[renderSlot(md.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"])]),_:3}))}}),[lo$3,Ed]=Q$6("MenuContent"),so$2=defineComponent({__name:"MenuContentImpl",props:mergeDefaults({loop:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},disableOutsideScroll:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{...Zl$3}),emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus","dismiss"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=At$5(),ud=wa$1(),{trapFocus:cd,disableOutsidePointerEvents:dd,loop:pd}=toRefs(nd);Gn$4(),ha$1(dd.value);const fd=ref$1(""),md=ref$1(0),vd=ref$1(0),Ad=ref$1(null),Nd=ref$1("right"),Id=ref$1(0),kd=ref$1(null),{createCollection:jd}=Me$7(),{forwardRef:Fd,currentElement:Md}=R$6(),Ld=jd(Md);watch(Md,Zd=>{ld.onContentChange(Zd)});const{handleTypeaheadSearch:Hd}=ga$2(Ld);onUnmounted(()=>{window.clearTimeout(md.value)});function Gd(Zd){var Xd,bf;return Nd.value===((Xd=Ad.value)==null?void 0:Xd.side)&&vu$3(Zd,(bf=Ad.value)==null?void 0:bf.area)}async function Vd(Zd){var Xd;od("openAutoFocus",Zd),!Zd.defaultPrevented&&(Zd.preventDefault(),(Xd=Md.value)==null||Xd.focus({preventScroll:!0}))}function Kd(Zd){if(Zd.defaultPrevented)return;const Xd=Zd.target.closest("[data-radix-menu-content]")===Zd.currentTarget,bf=Zd.ctrlKey||Zd.altKey||Zd.metaKey,yf=Zd.key.length===1,Ef=Bt$5(Zd,document.activeElement,Md.value,{loop:pd.value,arrowKeyOptions:"vertical",dir:ud==null?void 0:ud.dir.value,focus:!0,attributeName:"[data-radix-vue-collection-item]:not([data-disabled])"});if(Ef)return Ef==null?void 0:Ef.focus();if(Zd.code==="Space"||(Xd&&(Zd.key==="Tab"&&Zd.preventDefault(),!bf&&yf&&Hd(Zd.key)),Zd.target!==Md.value)||!du$3.includes(Zd.key))return;Zd.preventDefault();const gf=Ld.value;Wl$3.includes(Zd.key)&&gf.reverse(),$n$4(gf)}function mf(Zd){var Xd,bf;(bf=(Xd=Zd==null?void 0:Zd.currentTarget)==null?void 0:Xd.contains)!=null&&bf.call(Xd,Zd.target)||(window.clearTimeout(md.value),fd.value="")}function Wd(Zd){var Xd;if(!ua$2(Zd))return;const bf=Zd.target,yf=Id.value!==Zd.clientX;if((Xd=Zd==null?void 0:Zd.currentTarget)!=null&&Xd.contains(bf)&&yf){const Ef=Zd.clientX>Id.value?"right":"left";Nd.value=Ef,Id.value=Zd.clientX}}return Ed({onItemEnter:Zd=>!!Gd(Zd),onItemLeave:Zd=>{var Xd;Gd(Zd)||((Xd=Md.value)==null||Xd.focus(),kd.value=null)},onTriggerLeave:Zd=>!!Gd(Zd),searchRef:fd,pointerGraceTimerRef:vd,onPointerGraceIntentChange:Zd=>{Ad.value=Zd}}),(Zd,Xd)=>(openBlock(),createBlock(unref(Ya$2),{"as-child":"",trapped:unref(cd),onMountAutoFocus:Vd,onUnmountAutoFocus:Xd[7]||(Xd[7]=bf=>od("closeAutoFocus",bf))},{default:withCtx(()=>[createVNode(unref(yt$3),{"as-child":"","disable-outside-pointer-events":unref(dd),onEscapeKeyDown:Xd[2]||(Xd[2]=bf=>od("escapeKeyDown",bf)),onPointerDownOutside:Xd[3]||(Xd[3]=bf=>od("pointerDownOutside",bf)),onFocusOutside:Xd[4]||(Xd[4]=bf=>od("focusOutside",bf)),onInteractOutside:Xd[5]||(Xd[5]=bf=>od("interactOutside",bf)),onDismiss:Xd[6]||(Xd[6]=bf=>od("dismiss"))},{default:withCtx(()=>[createVNode(unref(Ot$4),{"current-tab-stop-id":kd.value,"onUpdate:currentTabStopId":Xd[0]||(Xd[0]=bf=>kd.value=bf),"as-child":"",orientation:"vertical",dir:unref(ud).dir.value,loop:unref(pd),onEntryFocus:Xd[1]||(Xd[1]=bf=>{od("entryFocus",bf),unref(ud).isUsingKeyboardRef.value||bf.preventDefault()})},{default:withCtx(()=>[createVNode(unref(Dt$4),{ref:unref(Fd),role:"menu",as:Zd.as,"as-child":Zd.asChild,"aria-orientation":"vertical","data-radix-menu-content":"","data-state":unref(Qn$4)(unref(ld).open.value),dir:unref(ud).dir.value,side:Zd.side,"side-offset":Zd.sideOffset,align:Zd.align,"align-offset":Zd.alignOffset,"avoid-collisions":Zd.avoidCollisions,"collision-boundary":Zd.collisionBoundary,"collision-padding":Zd.collisionPadding,"arrow-padding":Zd.arrowPadding,"prioritize-position":Zd.prioritizePosition,sticky:Zd.sticky,"hide-when-detached":Zd.hideWhenDetached,onKeydown:Kd,onBlur:mf,onPointermove:Wd},{default:withCtx(()=>[renderSlot(Zd.$slots,"default")]),_:3},8,["as","as-child","data-state","dir","side","side-offset","align","align-offset","avoid-collisions","collision-boundary","collision-padding","arrow-padding","prioritize-position","sticky","hide-when-detached"])]),_:3},8,["current-tab-stop-id","dir","loop"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),as$1=defineComponent({inheritAttrs:!1,__name:"MenuItemImpl",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,nd=lo$3(),{forwardRef:od}=R$6(),ld=ref$1(!1);async function ud(dd){if(!dd.defaultPrevented&&ua$2(dd)){if(qa.disabled)nd.onItemLeave(dd);else if(!nd.onItemEnter(dd)){const pd=dd.currentTarget;pd==null||pd.focus({preventScroll:!0})}}}async function cd(dd){await nextTick$1(),!dd.defaultPrevented&&ua$2(dd)&&nd.onItemLeave(dd)}return(dd,pd)=>(openBlock(),createBlock(unref(Jt$5),null,{default:withCtx(()=>[createVNode(unref(O$3),mergeProps({ref:unref(od),role:"menuitem",tabindex:"-1"},dd.$attrs,{as:dd.as,"as-child":dd.asChild,"data-radix-vue-collection-item":"","aria-disabled":dd.disabled||void 0,"data-disabled":dd.disabled?"":void 0,"data-highlighted":ld.value?"":void 0,onPointermove:ud,onPointerleave:cd,onFocus:pd[0]||(pd[0]=async fd=>{await nextTick$1(),!(fd.defaultPrevented||dd.disabled)&&(ld.value=!0)}),onBlur:pd[1]||(pd[1]=async fd=>{await nextTick$1(),!fd.defaultPrevented&&(ld.value=!1)})}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["as","as-child","aria-disabled","data-disabled","data-highlighted"])]),_:3}))}}),_a$3=defineComponent({__name:"MenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{forwardRef:ld,currentElement:ud}=R$6(),cd=wa$1(),dd=lo$3(),pd=ref$1(!1);async function fd(){const md=ud.value;if(!nd.disabled&&md){const vd=new CustomEvent(iu$2,{bubbles:!0,cancelable:!0});od("select",vd),await nextTick$1(),vd.defaultPrevented?pd.value=!1:cd.onClose()}}return(md,vd)=>(openBlock(),createBlock(as$1,mergeProps(nd,{ref:unref(ld),onClick:fd,onPointerdown:vd[0]||(vd[0]=()=>{pd.value=!0}),onPointerup:vd[1]||(vd[1]=async Ad=>{var Nd;await nextTick$1(),!Ad.defaultPrevented&&(pd.value||(Nd=Ad.currentTarget)==null||Nd.click())}),onKeydown:vd[2]||(vd[2]=async Ad=>{const Nd=unref(dd).searchRef.value!=="";md.disabled||Nd&&Ad.key===" "||unref(Dn$3).includes(Ad.key)&&(Ad.currentTarget.click(),Ad.preventDefault())})}),{default:withCtx(()=>[renderSlot(md.$slots,"default")]),_:3},16))}}),[Pd,ns$2]=Q$6(["MenuCheckboxItem","MenuRadioItem"],"MenuItemIndicatorContext"),ro$2=defineComponent({__name:"MenuItemIndicator",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Pd({checked:ref$1(!1)});return(nd,od)=>(openBlock(),createBlock(unref(Pe$7),{present:nd.forceMount||unref(Fa$1)(unref(qa).checked.value)||unref(qa).checked.value===!0},{default:withCtx(()=>[createVNode(unref(O$3),{as:nd.as,"as-child":nd.asChild,"data-state":unref(eo$2)(unref(qa).checked.value)},{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},8,["as","as-child","data-state"])]),_:3},8,["present"]))}}),io$3=defineComponent({__name:"MenuCheckboxItem",props:{checked:{type:[Boolean,String],default:!1},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select","update:checked"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=ne$6(nd,"checked",od);return ns$2({checked:ld}),(ud,cd)=>(openBlock(),createBlock(_a$3,mergeProps({role:"menuitemcheckbox"},nd,{"aria-checked":unref(Fa$1)(unref(ld))?"mixed":unref(ld),"data-state":unref(eo$2)(unref(ld)),onSelect:cd[0]||(cd[0]=async dd=>{od("select",dd),unref(Fa$1)(unref(ld))?ld.value=!0:ld.value=!unref(ld)})}),{default:withCtx(()=>[renderSlot(ud.$slots,"default",{checked:unref(ld)})]),_:3},16,["aria-checked","data-state"]))}}),Dd=defineComponent({__name:"MenuRootContentModal",props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=xe$5(nd,od),ud=At$5(),{forwardRef:cd,currentElement:dd}=R$6();return ya$1(dd),(pd,fd)=>(openBlock(),createBlock(so$2,mergeProps(unref(ld),{ref:unref(cd),"trap-focus":unref(ud).open.value,"disable-outside-pointer-events":unref(ud).open.value,"disable-outside-scroll":!0,onDismiss:fd[0]||(fd[0]=md=>unref(ud).onOpenChange(!1)),onFocusOutside:fd[1]||(fd[1]=withModifiers(md=>od("focusOutside",md),["prevent"]))}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16,["trap-focus","disable-outside-pointer-events"]))}}),$d$1=defineComponent({__name:"MenuRootContentNonModal",props:{loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa),od=At$5();return(ld,ud)=>(openBlock(),createBlock(so$2,mergeProps(unref(nd),{"trap-focus":!1,"disable-outside-pointer-events":!1,"disable-outside-scroll":!1,onDismiss:ud[0]||(ud[0]=cd=>unref(od).onOpenChange(!1))}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))}}),uo$3=defineComponent({__name:"MenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa),od=At$5(),ld=wa$1();return(ud,cd)=>(openBlock(),createBlock(unref(Pe$7),{present:ud.forceMount||unref(od).open.value},{default:withCtx(()=>[unref(ld).modal.value?(openBlock(),createBlock(Dd,normalizeProps(mergeProps({key:0},{...ud.$attrs,...unref(nd)})),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16)):(openBlock(),createBlock($d$1,normalizeProps(mergeProps({key:1},{...ud.$attrs,...unref(nd)})),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),po$2=defineComponent({__name:"MenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),mo$3=defineComponent({__name:"MenuSeparator",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(O$3),mergeProps(qa,{role:"separator","aria-orientation":"horizontal"}),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[os$2,Td]=Q$6("MenuSub"),ho$2=defineComponent({__name:"MenuSub",props:{open:{type:Boolean,default:void 0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=ne$6(nd,"open",qa,{defaultValue:!1,passive:nd.open===void 0}),ld=At$5(),ud=ref$1(),cd=ref$1();return watchEffect(dd=>{(ld==null?void 0:ld.open.value)===!1&&(od.value=!1),dd(()=>od.value=!1)}),Ql$3({open:od,onOpenChange:dd=>{od.value=dd},content:cd,onContentChange:dd=>{cd.value=dd}}),Td({triggerId:"",contentId:"",trigger:ud,onTriggerChange:dd=>{ud.value=dd}}),(dd,pd)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3}))}}),yo$3=defineComponent({__name:"MenuSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa),od=At$5(),ld=wa$1(),ud=os$2(),{forwardRef:cd,currentElement:dd}=R$6();return ud.contentId||(ud.contentId=he$4(void 0,"radix-vue-menu-sub-content")),(pd,fd)=>(openBlock(),createBlock(unref(Pe$7),{present:pd.forceMount||unref(od).open.value},{default:withCtx(()=>[createVNode(so$2,mergeProps(unref(nd),{id:unref(ud).contentId,ref:unref(cd),"aria-labelledby":unref(ud).triggerId,align:"start",side:unref(ld).dir.value==="rtl"?"left":"right","disable-outside-pointer-events":!1,"disable-outside-scroll":!1,"trap-focus":!1,onOpenAutoFocus:fd[0]||(fd[0]=withModifiers(md=>{var vd;unref(ld).isUsingKeyboardRef.value&&((vd=unref(dd))==null||vd.focus())},["prevent"])),onCloseAutoFocus:fd[1]||(fd[1]=withModifiers(()=>{},["prevent"])),onFocusOutside:fd[2]||(fd[2]=md=>{md.defaultPrevented||md.target!==unref(ud).trigger.value&&unref(od).onOpenChange(!1)}),onEscapeKeyDown:fd[3]||(fd[3]=md=>{unref(ld).onClose(),md.preventDefault()}),onKeydown:fd[4]||(fd[4]=md=>{var vd,Ad;const Nd=(vd=md.currentTarget)==null?void 0:vd.contains(md.target),Id=unref(pu$3)[unref(ld).dir.value].includes(md.key);Nd&&Id&&(unref(od).onOpenChange(!1),(Ad=unref(ud).trigger.value)==null||Ad.focus(),md.preventDefault())})}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16,["id","aria-labelledby","side"])]),_:3},8,["present"]))}}),go$3=defineComponent({__name:"MenuSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,nd=At$5(),od=wa$1(),ld=os$2(),ud=lo$3(),cd=ref$1(null);ld.triggerId||(ld.triggerId=he$4(void 0,"radix-vue-menu-sub-trigger"));function dd(){cd.value&&window.clearTimeout(cd.value),cd.value=null}onUnmounted(()=>{dd()});function pd(vd){!ua$2(vd)||ud.onItemEnter(vd)||!qa.disabled&&!nd.open.value&&!cd.value&&(ud.onPointerGraceIntentChange(null),cd.value=window.setTimeout(()=>{nd.onOpenChange(!0),dd()},100))}async function fd(vd){var Ad,Nd;if(!ua$2(vd))return;dd();const Id=(Ad=nd.content.value)==null?void 0:Ad.getBoundingClientRect();if(Id!=null&&Id.width){const kd=(Nd=nd.content.value)==null?void 0:Nd.dataset.side,jd=kd==="right",Fd=jd?-5:5,Md=Id[jd?"left":"right"],Ld=Id[jd?"right":"left"];ud.onPointerGraceIntentChange({area:[{x:vd.clientX+Fd,y:vd.clientY},{x:Md,y:Id.top},{x:Ld,y:Id.top},{x:Ld,y:Id.bottom},{x:Md,y:Id.bottom}],side:kd}),window.clearTimeout(ud.pointerGraceTimerRef.value),ud.pointerGraceTimerRef.value=window.setTimeout(()=>ud.onPointerGraceIntentChange(null),300)}else{if(ud.onTriggerLeave(vd))return;ud.onPointerGraceIntentChange(null)}}async function md(vd){var Ad;const Nd=ud.searchRef.value!=="";qa.disabled||Nd&&vd.key===" "||cu$3[od.dir.value].includes(vd.key)&&(nd.onOpenChange(!0),await nextTick$1(),(Ad=nd.content.value)==null||Ad.focus(),vd.preventDefault())}return(vd,Ad)=>(openBlock(),createBlock(Za$1,{"as-child":""},{default:withCtx(()=>[createVNode(as$1,mergeProps(qa,{id:unref(ld).triggerId,ref:Nd=>{var Id;(Id=unref(ld))==null||Id.onTriggerChange(Nd==null?void 0:Nd.$el)},"aria-haspopup":"menu","aria-expanded":unref(nd).open.value,"aria-controls":unref(ld).contentId,"data-state":unref(Qn$4)(unref(nd).open.value),onClick:Ad[0]||(Ad[0]=async Nd=>{qa.disabled||Nd.defaultPrevented||(Nd.currentTarget.focus(),unref(nd).open.value||unref(nd).onOpenChange(!0))}),onPointermove:pd,onPointerleave:fd,onKeydown:md}),{default:withCtx(()=>[renderSlot(vd.$slots,"default")]),_:3},16,["id","aria-expanded","aria-controls","data-state"])]),_:3}))}}),[ls$2,Rd]=Q$6("ContextMenuRoot"),em$1=defineComponent({inheritAttrs:!1,__name:"ContextMenuRoot",props:{dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{dir:ld,modal:ud}=toRefs(nd);R$6();const cd=be$8(ld),dd=ref$1(!1);return Rd({open:dd,onOpenChange:pd=>{dd.value=pd},dir:cd,modal:ud}),watch(dd,pd=>{od("update:open",pd)}),(pd,fd)=>(openBlock(),createBlock(unref(oo$4),{open:dd.value,"onUpdate:open":fd[0]||(fd[0]=md=>dd.value=md),dir:unref(cd),modal:unref(ud)},{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},8,["open","dir","modal"]))}});function Go$2(Ra){return Ra.pointerType!=="mouse"}const tm$1=defineComponent({inheritAttrs:!1,__name:"ContextMenuTrigger",props:{disabled:{type:Boolean,default:!1},asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,{disabled:nd}=toRefs(qa),{forwardRef:od}=R$6(),ld=ls$2(),ud=ref$1({x:0,y:0}),cd=computed(()=>({getBoundingClientRect:()=>({width:0,height:0,left:ud.value.x,right:ud.value.x,top:ud.value.y,bottom:ud.value.y,...ud.value})})),dd=ref$1(0);function pd(){window.clearTimeout(dd.value)}function fd(Nd){ud.value={x:Nd.clientX,y:Nd.clientY},ld.onOpenChange(!0)}async function md(Nd){nd.value||(await nextTick$1(),Nd.defaultPrevented||(pd(),fd(Nd),Nd.preventDefault()))}async function vd(Nd){nd.value||(await nextTick$1(),Go$2(Nd)&&!Nd.defaultPrevented&&(pd(),dd.value=window.setTimeout(()=>fd(Nd),700)))}async function Ad(Nd){nd.value||(await nextTick$1(),Go$2(Nd)&&!Nd.defaultPrevented&&pd())}return(Nd,Id)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(Za$1),{as:"template",element:cd.value},null,8,["element"]),createVNode(unref(O$3),mergeProps({ref:unref(od),as:Nd.as,"as-child":Nd.asChild,"data-state":unref(ld).open.value?"open":"closed","data-disabled":unref(nd)?"":void 0,style:{WebkitTouchCallout:"none"}},Nd.$attrs,{onContextmenu:md,onPointerdown:vd,onPointermove:Ad,onPointercancel:Ad,onPointerup:Ad}),{default:withCtx(()=>[renderSlot(Nd.$slots,"default")]),_:3},16,["as","as-child","data-state","data-disabled"])],64))}}),am=defineComponent({__name:"ContextMenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(po$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),nm$1=defineComponent({__name:"ContextMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},alignOffset:{default:0},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{default:()=>[]},collisionPadding:{default:0},sticky:{default:"partial"},hideWhenDetached:{type:Boolean,default:!1},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa);R$6();const od=ls$2(),ld=ref$1(!1);return(ud,cd)=>(openBlock(),createBlock(unref(uo$3),mergeProps(unref(nd),{side:"right","side-offset":2,align:"start",style:{"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"},onCloseAutoFocus:cd[0]||(cd[0]=dd=>{!dd.defaultPrevented&&ld.value&&dd.preventDefault(),ld.value=!1}),onInteractOutside:cd[1]||(cd[1]=dd=>{!dd.defaultPrevented&&!unref(od).modal.value&&(ld.value=!0)})}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),lm=defineComponent({__name:"ContextMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);return R$6(),(ld,ud)=>(openBlock(),createBlock(unref(_a$3),normalizeProps(guardReactiveProps({...nd,...unref(od)})),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))}}),rm$1=defineComponent({__name:"ContextMenuSeparator",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$6(),(nd,od)=>(openBlock(),createBlock(unref(mo$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[is$4,oc$2]=Q$6("DropdownMenuRoot"),ah=defineComponent({__name:"DropdownMenuRoot",props:{defaultOpen:{type:Boolean},open:{type:Boolean,default:void 0},dir:{},modal:{type:Boolean,default:!0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa;R$6();const ld=ne$6(nd,"open",od,{defaultValue:nd.defaultOpen,passive:nd.open===void 0}),ud=ref$1(),{modal:cd,dir:dd}=toRefs(nd),pd=be$8(dd);return oc$2({open:ld,onOpenChange:fd=>{ld.value=fd},onOpenToggle:()=>{ld.value=!ld.value},triggerId:"",triggerElement:ud,contentId:"",modal:cd,dir:pd}),(fd,md)=>(openBlock(),createBlock(unref(oo$4),{open:unref(ld),"onUpdate:open":md[0]||(md[0]=vd=>isRef(ld)?ld.value=vd:null),dir:unref(pd),modal:unref(cd)},{default:withCtx(()=>[renderSlot(fd.$slots,"default",{open:unref(ld)})]),_:3},8,["open","dir","modal"]))}}),nh=defineComponent({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=is$4(),{forwardRef:od,currentElement:ld}=R$6();return onMounted(()=>{nd.triggerElement=ld}),nd.triggerId||(nd.triggerId=he$4(void 0,"radix-vue-dropdown-menu-trigger")),(ud,cd)=>(openBlock(),createBlock(unref(Za$1),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O$3),{id:unref(nd).triggerId,ref:unref(od),type:ud.as==="button"?"button":void 0,"as-child":qa.asChild,as:ud.as,"aria-haspopup":"menu","aria-expanded":unref(nd).open.value,"aria-controls":unref(nd).open.value?unref(nd).contentId:void 0,"data-disabled":ud.disabled?"":void 0,disabled:ud.disabled,"data-state":unref(nd).open.value?"open":"closed",onClick:cd[0]||(cd[0]=async dd=>{var pd;!ud.disabled&&dd.button===0&&dd.ctrlKey===!1&&((pd=unref(nd))==null||pd.onOpenToggle(),await nextTick$1(),unref(nd).open.value&&dd.preventDefault())}),onKeydown:cd[1]||(cd[1]=withKeys(dd=>{ud.disabled||(["Enter"," "].includes(dd.key)&&unref(nd).onOpenToggle(),dd.key==="ArrowDown"&&unref(nd).onOpenChange(!0),["Enter"," ","ArrowDown"].includes(dd.key)&&dd.preventDefault())},["enter","space","arrow-down"]))},{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},8,["id","type","as-child","as","aria-expanded","aria-controls","data-disabled","disabled","data-state"])]),_:3}))}}),oh=defineComponent({__name:"DropdownMenuPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(po$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),lh=defineComponent({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa);R$6();const od=is$4(),ld=ref$1(!1);function ud(cd){cd.defaultPrevented||(ld.value||setTimeout(()=>{var dd;(dd=od.triggerElement.value)==null||dd.focus()},0),ld.value=!1,cd.preventDefault())}return od.contentId||(od.contentId=he$4(void 0,"radix-vue-dropdown-menu-content")),(cd,dd)=>{var pd;return openBlock(),createBlock(unref(uo$3),mergeProps(unref(nd),{id:unref(od).contentId,"aria-labelledby":(pd=unref(od))==null?void 0:pd.triggerId,style:{"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"},onCloseAutoFocus:ud,onInteractOutside:dd[0]||(dd[0]=fd=>{var md;if(fd.defaultPrevented)return;const vd=fd.detail.originalEvent,Ad=vd.button===0&&vd.ctrlKey===!0,Nd=vd.button===2||Ad;(!unref(od).modal.value||Nd)&&(ld.value=!0),(md=unref(od).triggerElement.value)!=null&&md.contains(fd.target)&&fd.preventDefault()})}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["id","aria-labelledby"])}}}),rh=defineComponent({__name:"DropdownMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);return R$6(),(ld,ud)=>(openBlock(),createBlock(unref(_a$3),normalizeProps(guardReactiveProps({...nd,...unref(od)})),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))}}),[wo$2,rc$3]=Q$6("HoverCardRoot"),Eh=defineComponent({__name:"HoverCardRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},openDelay:{default:700},closeDelay:{default:300}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{openDelay:ld,closeDelay:ud}=toRefs(nd);R$6();const cd=ne$6(nd,"open",od,{defaultValue:nd.defaultOpen,passive:nd.open===void 0}),dd=ref$1(0),pd=ref$1(0),fd=ref$1(!1),md=ref$1(!1),vd=ref$1(!1),Ad=ref$1();function Nd(){clearTimeout(pd.value),dd.value=window.setTimeout(()=>cd.value=!0,ld.value)}function Id(){clearTimeout(dd.value),!fd.value&&!md.value&&(pd.value=window.setTimeout(()=>cd.value=!1,ud.value))}function kd(){cd.value=!1}return rc$3({open:cd,onOpenChange(jd){cd.value=jd},onOpen:Nd,onClose:Id,onDismiss:kd,hasSelectionRef:fd,isPointerDownOnContentRef:md,isPointerInTransitRef:vd,triggerElement:Ad}),(jd,Fd)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(jd.$slots,"default",{open:unref(cd)})]),_:3}))}});function Tn$3(Ra){return qa=>qa.pointerType==="touch"?void 0:Ra()}function ic$2(Ra){const qa=[],nd=document.createTreeWalker(Ra,NodeFilter.SHOW_ELEMENT,{acceptNode:od=>od.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;nd.nextNode();)qa.push(nd.currentNode);return qa}const Ph=defineComponent({__name:"HoverCardTrigger",props:{asChild:{type:Boolean},as:{default:"a"}},setup(Ra){const{forwardRef:qa,currentElement:nd}=R$6(),od=wo$2();od.triggerElement=nd;function ld(){setTimeout(()=>{!od.isPointerInTransitRef.value&&!od.open.value&&od.onClose()},0)}return(ud,cd)=>(openBlock(),createBlock(unref(Rt$5),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O$3),{ref:unref(qa),"as-child":ud.asChild,as:ud.as,"data-state":unref(od).open.value?"open":"closed","data-grace-area-trigger":"",onPointerenter:cd[0]||(cd[0]=dd=>unref(Tn$3)(unref(od).onOpen)(dd)),onPointerleave:cd[1]||(cd[1]=dd=>unref(Tn$3)(ld)(dd)),onFocus:cd[2]||(cd[2]=dd=>unref(od).onOpen()),onBlur:cd[3]||(cd[3]=dd=>unref(od).onClose())},{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},8,["as-child","as","data-state"])]),_:3}))}}),Dh=defineComponent({__name:"HoverCardPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),uc$3=defineComponent({__name:"HoverCardContentImpl",props:{side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=It$4(nd),{forwardRef:ud,currentElement:cd}=R$6(),dd=wo$2(),{isPointerInTransit:pd,onPointerExit:fd}=Ol$3(dd.triggerElement,cd);di$4(dd.isPointerInTransitRef,pd,{direction:"rtl"}),fd(()=>{dd.onClose()});const md=ref$1(!1);let vd;watchEffect(Nd=>{if(md.value){const Id=document.body;vd=Id.style.userSelect||Id.style.webkitUserSelect,Id.style.userSelect="none",Id.style.webkitUserSelect="none",Nd(()=>{Id.style.userSelect=vd,Id.style.webkitUserSelect=vd})}});function Ad(){md.value=!1,dd.isPointerDownOnContentRef.value=!1,nextTick$1(()=>{var Nd;((Nd=document.getSelection())==null?void 0:Nd.toString())!==""&&(dd.hasSelectionRef.value=!0)})}return onMounted(()=>{cd.value&&(document.addEventListener("pointerup",Ad),ic$2(cd.value).forEach(Nd=>Nd.setAttribute("tabindex","-1")))}),onUnmounted(()=>{document.removeEventListener("pointerup",Ad),dd.hasSelectionRef.value=!1,dd.isPointerDownOnContentRef.value=!1}),(Nd,Id)=>(openBlock(),createBlock(unref(yt$3),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:Id[1]||(Id[1]=kd=>od("escapeKeyDown",kd)),onPointerDownOutside:Id[2]||(Id[2]=kd=>od("pointerDownOutside",kd)),onFocusOutside:Id[3]||(Id[3]=withModifiers(kd=>od("focusOutside",kd),["prevent"])),onDismiss:unref(dd).onDismiss},{default:withCtx(()=>[createVNode(unref(Dt$4),mergeProps({...unref(ld),...Nd.$attrs},{ref:unref(ud),"data-state":unref(dd).open.value?"open":"closed",style:{userSelect:md.value?"text":void 0,WebkitUserSelect:md.value?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"},onPointerdown:Id[0]||(Id[0]=kd=>{kd.currentTarget.contains(kd.target)&&(md.value=!0),unref(dd).hasSelectionRef.value=!1,unref(dd).isPointerDownOnContentRef.value=!0})}),{default:withCtx(()=>[renderSlot(Nd.$slots,"default")]),_:3},16,["data-state","style"])]),_:3},8,["onDismiss"]))}}),$h=defineComponent({__name:"HoverCardContent",props:{forceMount:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa),{forwardRef:od}=R$6(),ld=wo$2();return(ud,cd)=>(openBlock(),createBlock(unref(Pe$7),{present:ud.forceMount||unref(ld).open.value},{default:withCtx(()=>[createVNode(uc$3,mergeProps(unref(nd),{ref:unref(od),onPointerenter:cd[0]||(cd[0]=dd=>unref(Tn$3)(unref(ld).onOpen)(dd))}),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16)]),_:3},8,["present"]))}}),Ih=defineComponent({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{default:"label"}},setup(Ra){const qa=Ra;return R$6(),(nd,od)=>(openBlock(),createBlock(unref(O$3),mergeProps(qa,{onMousedown:od[0]||(od[0]=ld=>{!ld.defaultPrevented&&ld.detail>1&&ld.preventDefault()})}),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[tn$4,Ic$2]=Q$6("MenubarRoot"),Nh=defineComponent({__name:"MenubarRoot",props:{modelValue:{},defaultValue:{},dir:{},loop:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{forwardRef:ld,currentElement:ud}=R$6(),{createCollection:cd}=Me$7("menubar");cd(ud);const dd=ne$6(nd,"modelValue",od,{defaultValue:nd.defaultValue??"",passive:nd.modelValue===void 0}),pd=ref$1(null),{dir:fd,loop:md}=toRefs(nd),vd=be$8(fd);return Ic$2({modelValue:dd,dir:vd,loop:md,onMenuOpen:Ad=>{dd.value=Ad,pd.value=Ad},onMenuClose:()=>{dd.value=""},onMenuToggle:Ad=>{dd.value=dd.value?"":Ad,pd.value=Ad}}),(Ad,Nd)=>(openBlock(),createBlock(unref(Ot$4),{"current-tab-stop-id":pd.value,"onUpdate:currentTabStopId":Nd[0]||(Nd[0]=Id=>pd.value=Id),orientation:"horizontal",loop:unref(md),dir:unref(vd),"as-child":""},{default:withCtx(()=>[createVNode(unref(O$3),{ref:unref(ld),role:"menubar"},{default:withCtx(()=>[renderSlot(Ad.$slots,"default",{modelValue:unref(dd)})]),_:3},512)]),_:3},8,["current-tab-stop-id","loop","dir"]))}}),[_o$2,Tc$1]=Q$6("MenubarMenu"),Lh=defineComponent({__name:"MenubarMenu",props:{value:{}},setup(Ra){const qa=he$4(Ra.value),nd=tn$4();R$6();const od=ref$1(),ld=ref$1(!1),ud=computed(()=>nd.modelValue.value===qa);return watch(ud,()=>{ud.value||(ld.value=!1)}),Tc$1({value:qa,triggerElement:od,triggerId:qa,contentId:"",wasKeyboardTriggerOpenRef:ld}),(cd,dd)=>(openBlock(),createBlock(unref(oo$4),{open:ud.value,modal:!1,dir:unref(nd).dir.value,"onUpdate:open":dd[0]||(dd[0]=pd=>{pd||unref(nd).onMenuClose()})},{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},8,["open","dir"]))}}),zh=defineComponent({__name:"MenubarTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=tn$4(),nd=_o$2(),{forwardRef:od,currentElement:ld}=R$6(),ud=ref$1(!1),cd=computed(()=>qa.modelValue.value===nd.value);return onMounted(()=>{nd.triggerElement=ld}),(dd,pd)=>(openBlock(),createBlock(unref(kt$4),{"as-child":"",focusable:!dd.disabled,"tab-stop-id":unref(nd).value},{default:withCtx(()=>[createVNode(unref(Za$1),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O$3),{id:unref(nd).triggerId,ref:unref(od),as:dd.as,type:dd.as==="button"?"button":void 0,role:"menuitem","aria-haspopup":"menu","aria-expanded":cd.value,"aria-controls":cd.value?unref(nd).contentId:void 0,"data-highlighted":ud.value?"":void 0,"data-state":cd.value?"open":"closed","data-disabled":dd.disabled?"":void 0,disabled:dd.disabled,"data-value":unref(nd).value,"data-radix-vue-collection-item":"",onPointerdown:pd[0]||(pd[0]=fd=>{!dd.disabled&&fd.button===0&&fd.ctrlKey===!1&&(unref(qa).onMenuOpen(unref(nd).value),cd.value||fd.preventDefault())}),onPointerenter:pd[1]||(pd[1]=()=>{var fd;unref(qa).modelValue.value&&!cd.value&&(unref(qa).onMenuOpen(unref(nd).value),(fd=unref(ld))==null||fd.focus())}),onKeydown:pd[2]||(pd[2]=withKeys(fd=>{dd.disabled||(["Enter"," "].includes(fd.key)&&unref(qa).onMenuToggle(unref(nd).value),fd.key==="ArrowDown"&&unref(qa).onMenuOpen(unref(nd).value),["Enter"," ","ArrowDown"].includes(fd.key)&&(unref(nd).wasKeyboardTriggerOpenRef.value=!0,fd.preventDefault()))},["enter","space","arrow-down"])),onFocus:pd[3]||(pd[3]=fd=>ud.value=!0),onBlur:pd[4]||(pd[4]=fd=>ud.value=!1)},{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},8,["id","as","type","aria-expanded","aria-controls","data-highlighted","data-state","data-disabled","disabled","data-value"])]),_:3})]),_:3},8,["focusable","tab-stop-id"]))}}),Kh=defineComponent({__name:"MenubarPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(po$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Hh=defineComponent({__name:"MenubarContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa);R$6();const od=tn$4(),ld=_o$2();ld.contentId||(ld.contentId=he$4(void 0,"radix-vue-menubar-content"));const{injectCollection:ud}=Me$7("menubar"),cd=ud(),dd=ref$1(!1);function pd(fd){const md=fd.target.hasAttribute("data-radix-menubar-subtrigger"),vd=(od.dir.value==="rtl"?"ArrowRight":"ArrowLeft")===fd.key;if(!vd&&md)return;let Ad=cd.value.map(kd=>kd.dataset.value);vd&&Ad.reverse();const Nd=Ad.indexOf(ld.value);Ad=od.loop.value?qn$3(Ad,Nd+1):Ad.slice(Nd+1);const[Id]=Ad;Id&&od.onMenuOpen(Id)}return(fd,md)=>(openBlock(),createBlock(unref(uo$3),mergeProps(unref(nd),{id:unref(ld).contentId,"data-radix-menubar-content":"","aria-labelledby":unref(ld).triggerId,style:{"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"},onCloseAutoFocus:md[0]||(md[0]=vd=>{var Ad;!unref(od).modelValue.value&&!dd.value&&((Ad=unref(ld).triggerElement.value)==null||Ad.focus()),dd.value=!1,vd.preventDefault()}),onFocusOutside:md[1]||(md[1]=vd=>{const Ad=vd.target;unref(cd).some(Nd=>Nd.contains(Ad))&&vd.preventDefault()}),onInteractOutside:md[2]||(md[2]=vd=>{dd.value=!0}),onEntryFocus:md[3]||(md[3]=vd=>{unref(ld).wasKeyboardTriggerOpenRef.value||vd.preventDefault()}),onKeydown:withKeys(pd,["arrow-right","arrow-left"])}),{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},16,["id","aria-labelledby"]))}}),jh=defineComponent({__name:"MenubarItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);return R$6(),(ld,ud)=>(openBlock(),createBlock(unref(_a$3),normalizeProps(guardReactiveProps({...nd,...unref(od)})),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))}}),Gh=defineComponent({__name:"MenubarSeparator",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$6(),(nd,od)=>(openBlock(),createBlock(unref(mo$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),qh=defineComponent({__name:"MenubarCheckboxItem",props:{checked:{type:[Boolean,String]},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:["select","update:checked"],setup(Ra,{emit:qa}){const nd=Ra,od=Ae$6(qa);return R$6(),(ld,ud)=>(openBlock(),createBlock(unref(io$3),normalizeProps(guardReactiveProps({...nd,...unref(od)})),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16))}}),Yh=defineComponent({__name:"MenubarItemIndicator",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$6(),(nd,od)=>(openBlock(),createBlock(unref(ro$2),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Qh=defineComponent({__name:"MenubarSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean,default:void 0}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa;R$6();const ld=ne$6(nd,"open",od,{defaultValue:nd.defaultOpen??!1,passive:nd.open===void 0});return(ud,cd)=>(openBlock(),createBlock(unref(ho$2),{open:unref(ld),"onUpdate:open":cd[0]||(cd[0]=dd=>isRef(ld)?ld.value=dd:null)},{default:withCtx(()=>[renderSlot(ud.$slots,"default",{open:unref(ld)})]),_:3},8,["open"]))}}),ey=defineComponent({__name:"MenubarSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=xe$5(Ra,qa);R$6();const{injectCollection:od}=Me$7("menubar"),ld=tn$4(),ud=_o$2(),cd=od();function dd(pd){if(pd.target.hasAttribute("data-radix-menubar-subtrigger"))return;let fd=cd.value.map(Ad=>Ad.dataset.value);const md=fd.indexOf(ud.value);fd=ld.loop.value?qn$3(fd,md+1):fd.slice(md+1);const[vd]=fd;vd&&ld.onMenuOpen(vd)}return(pd,fd)=>(openBlock(),createBlock(unref(yo$3),mergeProps(unref(nd),{"data-radix-menubar-content":"",style:{"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"},onKeydown:withKeys(dd,["arrow-right"])}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16))}}),ty=defineComponent({__name:"MenubarSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return R$6(),(nd,od)=>(openBlock(),createBlock(unref(go$3),mergeProps(qa,{"data-radix-menubar-subtrigger":""}),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}});function ms$3(Ra){const{disabled:qa}=Ra,nd=ref$1(),od=ia$1(),ld=()=>window.clearTimeout(nd.value),ud=Ad=>{ld(),!qa.value&&(od.trigger(),nd.value=window.setTimeout(()=>{ud(60)},Ad))},cd=()=>{ud(400)},dd=()=>{ld()},pd=ref$1(!1),fd=computed(()=>$e$4(Ra.target)),md=Ad=>{Ad.button!==0||pd.value||(Ad.preventDefault(),pd.value=!0,cd())},vd=()=>{pd.value=!1,dd()};return qe$3&&(Le$6(fd||window,"pointerdown",md),Le$6(window,"pointerup",vd),Le$6(window,"pointercancel",vd)),{isPressed:pd,onTrigger:od.on}}function Yo$2(Ra,qa=ref$1({})){return Sl$3(()=>new $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5(Ra.value,qa.value))}function Vc$2(Ra,qa=ref$1({})){return Sl$3(()=>new $6c7bd7858deea686$export$cd11ab140839f11d(Ra.value,qa.value))}function Xo$2(Ra,qa,nd){let od=Ra==="+"?qa+nd:qa-nd;if(qa%1!==0||nd%1!==0){const ld=qa.toString().split("."),ud=nd.toString().split("."),cd=ld[1]&&ld[1].length||0,dd=ud[1]&&ud[1].length||0,pd=10**Math.max(cd,dd);qa=Math.round(qa*pd),nd=Math.round(nd*pd),od=Ra==="+"?qa+nd:qa-nd,od/=pd}return od}const Fc$2=["value","name","disabled","required"],[Eo$2,Nc$2]=Q$6("NumberFieldRoot"),cy$1=defineComponent({inheritAttrs:!1,__name:"NumberFieldRoot",props:{defaultValue:{default:void 0},modelValue:{},min:{},max:{},step:{default:1},formatOptions:{},locale:{default:"en-US"},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},asChild:{type:Boolean},as:{default:"div"}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{disabled:ld,min:ud,max:cd,step:dd,locale:pd,formatOptions:fd,id:md}=toRefs(nd),vd=ne$6(nd,"modelValue",od,{defaultValue:nd.defaultValue,passive:nd.modelValue===void 0}),{primitiveElement:Ad,currentElement:Nd}=Ie$5(),Id=Je$4(Nd),kd=ref$1(),jd=computed(()=>yf(vd.value)===ud.value||(ud.value&&!isNaN(vd.value)?Xo$2("-",vd.value,dd.value)yf(vd.value)===cd.value||(cd.value&&!isNaN(vd.value)?Xo$2("+",vd.value,dd.value)>cd.value:!1));function Md(gf,xf=1){var Af;const Lf=Kd.parse(((Af=kd.value)==null?void 0:Af.value)??"");nd.disabled||(isNaN(Lf)?vd.value=ud.value??0:gf==="increase"?vd.value=yf(Lf+(dd.value??1)*xf):vd.value=yf(Lf-(dd.value??1)*xf))}function Ld(gf=1){Md("increase",gf)}function Hd(gf=1){Md("decrease",gf)}function Gd(gf){gf==="min"&&ud.value!==void 0?vd.value=yf(ud.value):gf==="max"&&cd.value!==void 0&&(vd.value=yf(cd.value))}const Vd=Yo$2(pd,fd),Kd=Vc$2(pd,fd),mf=computed(()=>Vd.resolvedOptions().maximumFractionDigits>0?"decimal":"numeric"),Wd=Yo$2(pd,fd),Zd=computed(()=>isNaN(vd.value)?"":Wd.format(vd.value));function Xd(gf){return Kd.isValidPartialNumber(gf,ud.value,cd.value)}function bf(gf){kd.value&&(kd.value.value=gf)}function yf(gf){let xf;return dd.value===void 0||isNaN(dd.value)?xf=Wt$4(gf,ud.value,cd.value):xf=Nr$4(gf,ud.value,cd.value,dd.value),xf=Kd.parse(Vd.format(xf)),xf}function Ef(gf){const xf=Kd.parse(gf);return vd.value=yf(xf),gf.length?bf(Zd.value):bf(gf)}return Nc$2({modelValue:vd,handleDecrease:Hd,handleIncrease:Ld,handleMinMaxValue:Gd,inputMode:mf,inputEl:kd,onInputElement:gf=>kd.value=gf,textValue:Zd,validate:Xd,applyInputValue:Ef,disabled:ld,max:cd,min:ud,isDecreaseDisabled:jd,isIncreaseDisabled:Fd,id:md}),(gf,xf)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O$3),mergeProps(gf.$attrs,{ref_key:"primitiveElement",ref:Ad,role:"group",as:gf.as,"as-child":gf.asChild,"data-disabled":unref(ld)?"":void 0}),{default:withCtx(()=>[renderSlot(gf.$slots,"default",{modelValue:unref(vd),textValue:Zd.value})]),_:3},16,["as","as-child","data-disabled"]),unref(Id)?(openBlock(),createElementBlock("input",{key:0,type:"text",tabindex:"-1","aria-hidden":"true",value:unref(vd),name:nd.name,disabled:nd.disabled,required:nd.required,style:{transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0}},null,8,Fc$2)):createCommentVNode("",!0)],64))}}),py$1=defineComponent({__name:"NumberFieldInput",props:{asChild:{type:Boolean},as:{default:"input"}},setup(Ra){const qa=Ra,{primitiveElement:nd,currentElement:od}=Ie$5(),ld=Eo$2();function ud(cd){cd.target===document.activeElement&&(Math.abs(cd.deltaY)<=Math.abs(cd.deltaX)||(cd.preventDefault(),cd.deltaY>0?ld.handleIncrease():cd.deltaY<0&&ld.handleDecrease()))}return onMounted(()=>{ld.onInputElement(od.value)}),(cd,dd)=>(openBlock(),createBlock(unref(O$3),mergeProps(qa,{id:unref(ld).id.value,ref_key:"primitiveElement",ref:nd,role:"spinbutton",type:"text",tabindex:"0",value:unref(ld).textValue.value,inputmode:unref(ld).inputMode.value,disabled:unref(ld).disabled.value?"":void 0,"data-disabled":unref(ld).disabled.value?"":void 0,autocomplete:"off",autocorrect:"off",spellcheck:"false","aria-roledescription":"Number field","aria-valuenow":unref(ld).modelValue.value,"aria-valuemin":unref(ld).min.value,"aria-valuemax":unref(ld).max.value,onKeydown:[dd[0]||(dd[0]=withKeys(withModifiers(pd=>unref(ld).handleIncrease(),["prevent"]),["up"])),dd[1]||(dd[1]=withKeys(withModifiers(pd=>unref(ld).handleDecrease(),["prevent"]),["down"])),dd[2]||(dd[2]=withKeys(withModifiers(pd=>unref(ld).handleIncrease(10),["prevent"]),["page-up"])),dd[3]||(dd[3]=withKeys(withModifiers(pd=>unref(ld).handleDecrease(10),["prevent"]),["page-down"])),dd[4]||(dd[4]=withKeys(withModifiers(pd=>unref(ld).handleMinMaxValue("min"),["prevent"]),["home"])),dd[5]||(dd[5]=withKeys(withModifiers(pd=>unref(ld).handleMinMaxValue("max"),["prevent"]),["end"])),dd[7]||(dd[7]=withKeys(pd=>{var fd;return unref(ld).applyInputValue((fd=pd.target)==null?void 0:fd.value)},["enter"]))],onWheel:ud,onBeforeinput:dd[6]||(dd[6]=pd=>{const fd=pd.target;let md=fd.value.slice(0,fd.selectionStart??void 0)+(pd.data??"")+fd.value.slice(fd.selectionEnd??void 0);unref(ld).validate(md)||pd.preventDefault()}),onBlur:dd[8]||(dd[8]=pd=>{var fd;return unref(ld).applyInputValue((fd=pd.target)==null?void 0:fd.value)})}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["id","value","inputmode","disabled","data-disabled","aria-valuenow","aria-valuemin","aria-valuemax"]))}}),fy$1=defineComponent({__name:"NumberFieldIncrement",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=Eo$2(),od=computed(()=>{var pd;return((pd=nd.disabled)==null?void 0:pd.value)||qa.disabled||nd.isIncreaseDisabled.value}),{primitiveElement:ld,currentElement:ud}=Ie$5(),{isPressed:cd,onTrigger:dd}=ms$3({target:ud,disabled:od});return dd(()=>{nd.handleIncrease()}),(pd,fd)=>(openBlock(),createBlock(unref(O$3),mergeProps(qa,{ref_key:"primitiveElement",ref:ld,tabindex:"-1","aria-label":"Increase",type:pd.as==="button"?"button":void 0,style:{userSelect:unref(cd)?"none":void 0},disabled:od.value?"":void 0,"data-disabled":od.value?"":void 0,"data-pressed":unref(cd)?"true":void 0,onContextmenu:fd[0]||(fd[0]=withModifiers(()=>{},["prevent"]))}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16,["type","style","disabled","data-disabled","data-pressed"]))}}),vy$1=defineComponent({__name:"NumberFieldDecrement",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=Eo$2(),od=computed(()=>{var pd;return((pd=nd.disabled)==null?void 0:pd.value)||qa.disabled||nd.isDecreaseDisabled.value}),{primitiveElement:ld,currentElement:ud}=Ie$5(),{isPressed:cd,onTrigger:dd}=ms$3({target:ud,disabled:od});return dd(()=>{nd.handleDecrease()}),(pd,fd)=>(openBlock(),createBlock(unref(O$3),mergeProps(qa,{ref_key:"primitiveElement",ref:ld,tabindex:"-1","aria-label":"Decrease",type:pd.as==="button"?"button":void 0,style:{userSelect:unref(cd)?"none":void 0},disabled:od.value?"":void 0,"data-disabled":od.value?"":void 0,"data-pressed":unref(cd)?"true":void 0,onContextmenu:fd[0]||(fd[0]=withModifiers(()=>{},["prevent"]))}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16,["type","style","disabled","data-disabled","data-pressed"]))}}),[Vt$4,Uc$2]=Q$6("PopoverRoot"),hs$1=defineComponent({__name:"PopoverRoot",props:{defaultOpen:{type:Boolean,default:!1},open:{type:Boolean,default:void 0},modal:{type:Boolean,default:!1}},emits:["update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{modal:ld}=toRefs(nd),ud=ne$6(nd,"open",od,{defaultValue:nd.defaultOpen,passive:nd.open===void 0}),cd=ref$1(),dd=ref$1(!1);return Uc$2({contentId:"",modal:ld,open:ud,onOpenChange:pd=>{ud.value=pd},onOpenToggle:()=>{ud.value=!ud.value},triggerElement:cd,hasCustomAnchor:dd}),(pd,fd)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(pd.$slots,"default",{open:unref(ud)})]),_:3}))}}),ys$3=defineComponent({__name:"PopoverTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=Vt$4(),{forwardRef:od,currentElement:ld}=R$6();return onMounted(()=>{nd.triggerElement.value=ld.value}),(ud,cd)=>(openBlock(),createBlock(resolveDynamicComponent(unref(nd).hasCustomAnchor.value?unref(O$3):unref(Rt$5)),{"as-child":""},{default:withCtx(()=>[createVNode(unref(O$3),{ref:unref(od),type:ud.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":unref(nd).open.value,"aria-controls":unref(nd).contentId,"data-state":unref(nd).open.value?"open":"closed",as:ud.as,"as-child":qa.asChild,onClick:unref(nd).onOpenToggle},{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},8,["type","aria-expanded","aria-controls","data-state","as","as-child","onClick"])]),_:3}))}}),gs$4=defineComponent({__name:"PopoverPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),bs$2=defineComponent({__name:"PopoverContentImpl",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=It$4(nd),{forwardRef:ud}=R$6(),cd=Vt$4();return Gn$4(),(dd,pd)=>(openBlock(),createBlock(unref(Ya$2),{"as-child":"",loop:"",trapped:dd.trapFocus,onMountAutoFocus:pd[5]||(pd[5]=fd=>od("openAutoFocus",fd)),onUnmountAutoFocus:pd[6]||(pd[6]=fd=>od("closeAutoFocus",fd))},{default:withCtx(()=>[createVNode(unref(yt$3),{"as-child":"","disable-outside-pointer-events":dd.disableOutsidePointerEvents,onPointerDownOutside:pd[0]||(pd[0]=fd=>od("pointerDownOutside",fd)),onInteractOutside:pd[1]||(pd[1]=fd=>od("interactOutside",fd)),onEscapeKeyDown:pd[2]||(pd[2]=fd=>od("escapeKeyDown",fd)),onFocusOutside:pd[3]||(pd[3]=fd=>od("focusOutside",fd)),onDismiss:pd[4]||(pd[4]=fd=>unref(cd).onOpenChange(!1))},{default:withCtx(()=>[createVNode(unref(Dt$4),mergeProps(unref(ld),{id:unref(cd).contentId,ref:unref(ud),"data-state":unref(cd).open.value?"open":"closed",role:"dialog",style:{"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16,["id","data-state"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),Gc$2=defineComponent({__name:"PopoverContentModal",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=Vt$4(),ud=ref$1(!1);ha$1(!0);const cd=xe$5(nd,od),{forwardRef:dd,currentElement:pd}=R$6();return ya$1(pd),(fd,md)=>(openBlock(),createBlock(bs$2,mergeProps(unref(cd),{ref:unref(dd),"trap-focus":unref(ld).open.value,"disable-outside-pointer-events":"",onCloseAutoFocus:md[0]||(md[0]=withModifiers(vd=>{var Ad;od("closeAutoFocus",vd),ud.value||(Ad=unref(ld).triggerElement.value)==null||Ad.focus()},["prevent"])),onPointerDownOutside:md[1]||(md[1]=vd=>{od("pointerDownOutside",vd);const Ad=vd.detail.originalEvent,Nd=Ad.button===0&&Ad.ctrlKey===!0,Id=Ad.button===2||Nd;ud.value=Id}),onFocusOutside:md[2]||(md[2]=withModifiers(()=>{},["prevent"]))}),{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},16,["trap-focus"]))}}),qc$1=defineComponent({__name:"PopoverContentNonModal",props:{trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=Vt$4(),ud=ref$1(!1),cd=ref$1(!1),dd=xe$5(nd,od);return(pd,fd)=>(openBlock(),createBlock(bs$2,mergeProps(unref(dd),{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:fd[0]||(fd[0]=md=>{var vd;od("closeAutoFocus",md),md.defaultPrevented||(ud.value||(vd=unref(ld).triggerElement.value)==null||vd.focus(),md.preventDefault()),ud.value=!1,cd.value=!1}),onInteractOutside:fd[1]||(fd[1]=async md=>{var vd;od("interactOutside",md),md.defaultPrevented||(ud.value=!0,md.detail.originalEvent.type==="pointerdown"&&(cd.value=!0));const Ad=md.target;(vd=unref(ld).triggerElement.value)!=null&&vd.contains(Ad)&&md.preventDefault(),md.detail.originalEvent.type==="focusin"&&cd.value&&md.preventDefault()})}),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16))}}),Cs$2=defineComponent({__name:"PopoverContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=Vt$4(),ud=xe$5(nd,od),{forwardRef:cd}=R$6();return ld.contentId||(ld.contentId=he$4(void 0,"radix-vue-popover-content")),(dd,pd)=>(openBlock(),createBlock(unref(Pe$7),{present:dd.forceMount||unref(ld).open.value},{default:withCtx(()=>[unref(ld).modal.value?(openBlock(),createBlock(Gc$2,mergeProps({key:0},unref(ud),{ref:unref(cd)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16)):(openBlock(),createBlock(qc$1,mergeProps({key:1},unref(ud),{ref:unref(cd)}),{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Tp$1=["default-value"],Rp$1=defineComponent({__name:"BubbleSelect",props:{autocomplete:{},autofocus:{type:Boolean},disabled:{type:Boolean},form:{},multiple:{type:Boolean},name:{},required:{type:Boolean},size:{},value:{}},setup(Ra){const qa=Ra,{value:nd}=toRefs(qa),od=ref$1();return(ld,ud)=>(openBlock(),createBlock(unref(Zt$4),{"as-child":""},{default:withCtx(()=>[withDirectives(createBaseVNode("select",mergeProps({ref_key:"selectElement",ref:od},qa,{"onUpdate:modelValue":ud[0]||(ud[0]=cd=>isRef(nd)?nd.value=cd:null),"default-value":unref(nd)}),[renderSlot(ld.$slots,"default")],16,Tp$1),[[vModelSelect,unref(nd)]])]),_:3}))}}),Ap$1={key:0,value:""},[bt$5,$s$2]=Q$6("SelectRoot"),[Op$1,kp$1]=Q$6("SelectRoot"),ky$1=defineComponent({__name:"SelectRoot",props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},defaultValue:{default:""},modelValue:{default:void 0},dir:{},name:{},autocomplete:{},disabled:{type:Boolean},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=ne$6(nd,"modelValue",od,{defaultValue:nd.defaultValue,passive:nd.modelValue===void 0}),ud=ne$6(nd,"open",od,{defaultValue:nd.defaultOpen,passive:nd.open===void 0}),cd=ref$1(),dd=ref$1(),pd=ref$1({x:0,y:0}),fd=ref$1(!1),{required:md,disabled:vd,dir:Ad}=toRefs(nd),Nd=be$8(Ad);$s$2({triggerElement:cd,onTriggerChange:Fd=>{cd.value=Fd},valueElement:dd,onValueElementChange:Fd=>{dd.value=Fd},valueElementHasChildren:fd,onValueElementHasChildrenChange:Fd=>{fd.value=Fd},contentId:"",modelValue:ld,onValueChange:Fd=>{ld.value=Fd},open:ud,required:md,onOpenChange:Fd=>{ud.value=Fd},dir:Nd,triggerPointerDownPosRef:pd,disabled:vd});const Id=Je$4(cd),kd=ref$1(new Set),jd=computed(()=>Array.from(kd.value).map(Fd=>{var Md;return(Md=Fd.props)==null?void 0:Md.value}).join(";"));return kp$1({onNativeOptionAdd:Fd=>{kd.value.add(Fd)},onNativeOptionRemove:Fd=>{kd.value.delete(Fd)}}),(Fd,Md)=>(openBlock(),createBlock(unref(Tt$4),null,{default:withCtx(()=>[renderSlot(Fd.$slots,"default",{modelValue:unref(ld),open:unref(ud)}),unref(Id)?(openBlock(),createBlock(Rp$1,mergeProps({key:jd.value},Fd.$attrs,{"aria-hidden":"true",tabindex:"-1",required:unref(md),name:Fd.name,autocomplete:Fd.autocomplete,disabled:unref(vd),value:unref(ld),onChange:Md[0]||(Md[0]=Ld=>ld.value=Ld.target.value)}),{default:withCtx(()=>[unref(ld)===void 0?(openBlock(),createElementBlock("option",Ap$1)):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(Array.from(kd.value),Ld=>(openBlock(),createBlock(resolveDynamicComponent(Ld),mergeProps({ref_for:!0},Ld.props,{key:Ld.key??""}),null,16))),128))]),_:1},16,["required","name","autocomplete","disabled","value"])):createCommentVNode("",!0)]),_:3}))}}),Mp$1=[" ","Enter","ArrowUp","ArrowDown"],Vp$1=[" ","Enter"],at$6=10;function Bs$3(Ra){return Ra===""||Kt$2(Ra)}const My=defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,nd=bt$5(),od=computed(()=>{var Nd;return((Nd=nd.disabled)==null?void 0:Nd.value)||qa.disabled}),{forwardRef:ld,currentElement:ud}=R$6();nd.contentId||(nd.contentId=he$4(void 0,"radix-vue-select-content")),onMounted(()=>{nd.triggerElement=ud});const{injectCollection:cd}=Me$7(),dd=cd(),{search:pd,handleTypeaheadSearch:fd,resetTypeahead:md}=ga$2(dd);function vd(){od.value||(nd.onOpenChange(!0),md())}function Ad(Nd){vd(),nd.triggerPointerDownPosRef.value={x:Math.round(Nd.pageX),y:Math.round(Nd.pageY)}}return(Nd,Id)=>(openBlock(),createBlock(unref(Rt$5),{"as-child":""},{default:withCtx(()=>{var kd,jd,Fd,Md;return[createVNode(unref(O$3),{ref:unref(ld),role:"combobox",type:Nd.as==="button"?"button":void 0,"aria-controls":unref(nd).contentId,"aria-expanded":unref(nd).open.value||!1,"aria-required":(kd=unref(nd).required)==null?void 0:kd.value,"aria-autocomplete":"none",disabled:od.value,dir:(jd=unref(nd))==null?void 0:jd.dir.value,"data-state":(Fd=unref(nd))!=null&&Fd.open.value?"open":"closed","data-disabled":od.value?"":void 0,"data-placeholder":unref(Bs$3)((Md=unref(nd).modelValue)==null?void 0:Md.value)?"":void 0,"as-child":Nd.asChild,as:Nd.as,onClick:Id[0]||(Id[0]=Ld=>{var Hd;(Hd=Ld==null?void 0:Ld.currentTarget)==null||Hd.focus()}),onPointerdown:Id[1]||(Id[1]=Ld=>{if(Ld.pointerType==="touch")return Ld.preventDefault();const Hd=Ld.target;Hd.hasPointerCapture(Ld.pointerId)&&Hd.releasePointerCapture(Ld.pointerId),Ld.button===0&&Ld.ctrlKey===!1&&(Ad(Ld),Ld.preventDefault())}),onPointerup:Id[2]||(Id[2]=withModifiers(Ld=>{Ld.pointerType==="touch"&&Ad(Ld)},["prevent"])),onKeydown:Id[3]||(Id[3]=Ld=>{const Hd=unref(pd)!=="";!(Ld.ctrlKey||Ld.altKey||Ld.metaKey)&&Ld.key.length===1&&Hd&&Ld.key===" "||(unref(fd)(Ld.key),unref(Mp$1).includes(Ld.key)&&(vd(),Ld.preventDefault()))})},{default:withCtx(()=>[renderSlot(Nd.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]}),_:3}))}}),Vy=defineComponent({__name:"SelectPortal",props:{to:{},disabled:{type:Boolean},forceMount:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(nt$4),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),[$o$2,Fp$1]=Q$6("SelectItemAlignedPosition"),Np$1=defineComponent({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean},as:{}},emits:["placed"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{injectCollection:ld}=Me$7(),ud=bt$5(),cd=Ct$5(),dd=ld(),pd=ref$1(!1),fd=ref$1(!0),md=ref$1(),{forwardRef:vd,currentElement:Ad}=R$6(),{viewport:Nd,selectedItem:Id,selectedItemText:kd,focusSelectedItem:jd}=cd;function Fd(){if(ud.triggerElement.value&&ud.valueElement.value&&md.value&&Ad.value&&Nd!=null&&Nd.value&&Id!=null&&Id.value&&kd!=null&&kd.value){const Hd=ud.triggerElement.value.getBoundingClientRect(),Gd=Ad.value.getBoundingClientRect(),Vd=ud.valueElement.value.getBoundingClientRect(),Kd=kd.value.getBoundingClientRect();if(ud.dir.value!=="rtl"){const Tf=Kd.left-Gd.left,vf=Vd.left-Tf,qf=Hd.left-vf,eh=Hd.width+qf,ch=Math.max(eh,Gd.width),ih=window.innerWidth-at$6,Pf=Wt$4(vf,at$6,ih-ch);md.value.style.minWidth=`${eh}px`,md.value.style.left=`${Pf}px`}else{const Tf=Gd.right-Kd.right,vf=window.innerWidth-Vd.right-Tf,qf=window.innerWidth-Hd.right-vf,eh=Hd.width+qf,ch=Math.max(eh,Gd.width),ih=window.innerWidth-at$6,Pf=Wt$4(vf,at$6,ih-ch);md.value.style.minWidth=`${eh}px`,md.value.style.right=`${Pf}px`}const mf=dd.value,Wd=window.innerHeight-at$6*2,Zd=Nd.value.scrollHeight,Xd=window.getComputedStyle(Ad.value),bf=Number.parseInt(Xd.borderTopWidth,10),yf=Number.parseInt(Xd.paddingTop,10),Ef=Number.parseInt(Xd.borderBottomWidth,10),gf=Number.parseInt(Xd.paddingBottom,10),xf=bf+yf+Zd+gf+Ef,Af=Math.min(Id.value.offsetHeight*5,xf),Lf=window.getComputedStyle(Nd.value),Xf=Number.parseInt(Lf.paddingTop,10),Jf=Number.parseInt(Lf.paddingBottom,10),Zf=Hd.top+Hd.height/2-at$6,Bf=Wd-Zf,Df=Id.value.offsetHeight/2,Uf=Id.value.offsetTop+Df,Gf=bf+yf+Uf,zf=xf-Gf;if(Gf<=Zf){const Tf=Id.value===mf[mf.length-1];md.value.style.bottom="0px";const vf=Ad.value.clientHeight-Nd.value.offsetTop-Nd.value.offsetHeight,qf=Math.max(Bf,Df+(Tf?Jf:0)+vf+Ef),eh=Gf+qf;md.value.style.height=`${eh}px`}else{const Tf=Id.value===mf[0];md.value.style.top="0px";const vf=Math.max(Zf,bf+Nd.value.offsetTop+(Tf?Xf:0)+Df)+zf;md.value.style.height=`${vf}px`,Nd.value.scrollTop=Gf-Zf+Nd.value.offsetTop}md.value.style.margin=`${at$6}px 0`,md.value.style.minHeight=`${Af}px`,md.value.style.maxHeight=`${Wd}px`,od("placed"),requestAnimationFrame(()=>pd.value=!0)}}const Md=ref$1("");onMounted(async()=>{await nextTick$1(),Fd(),Ad.value&&(Md.value=window.getComputedStyle(Ad.value).zIndex)});function Ld(Hd){Hd&&fd.value===!0&&(Fd(),jd==null||jd(),fd.value=!1)}return Fp$1({contentWrapper:md,shouldExpandOnScrollRef:pd,onScrollButtonChange:Ld}),(Hd,Gd)=>(openBlock(),createElementBlock("div",{ref_key:"contentWrapperElement",ref:md,style:normalizeStyle({display:"flex",flexDirection:"column",position:"fixed",zIndex:Md.value})},[createVNode(unref(O$3),mergeProps({ref:unref(vd),style:{boxSizing:"border-box",maxHeight:"100%"}},{...Hd.$attrs,...nd}),{default:withCtx(()=>[renderSlot(Hd.$slots,"default")]),_:3},16)],4))}}),Lp$1=defineComponent({__name:"SelectPopperPosition",props:{side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{default:at$6},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=It$4(Ra);return(nd,od)=>(openBlock(),createBlock(unref(Dt$4),mergeProps(unref(qa),{style:{boxSizing:"border-box","--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),Ft$5={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[Ct$5,zp$1]=Q$6("SelectContent"),Kp$1=defineComponent({__name:"SelectContentImpl",props:{position:{default:"item-aligned"},bodyLock:{type:Boolean,default:!0},side:{},sideOffset:{},align:{default:"start"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=bt$5();Gn$4(),ha$1(nd.bodyLock);const{createCollection:ud}=Me$7(),cd=ref$1();ya$1(cd);const dd=ud(cd),{search:pd,handleTypeaheadSearch:fd}=ga$2(dd),md=ref$1(),vd=ref$1(),Ad=ref$1(),Nd=ref$1(!1),Id=ref$1(!1);function kd(){vd.value&&cd.value&&$n$4([vd.value,cd.value])}watch(Nd,()=>{kd()});const{onOpenChange:jd,triggerPointerDownPosRef:Fd}=ld;watchEffect(Gd=>{if(!cd.value)return;let Vd={x:0,y:0};const Kd=Wd=>{var Zd,Xd;Vd={x:Math.abs(Math.round(Wd.pageX)-(((Zd=Fd.value)==null?void 0:Zd.x)??0)),y:Math.abs(Math.round(Wd.pageY)-(((Xd=Fd.value)==null?void 0:Xd.y)??0))}},mf=Wd=>{var Zd;Wd.pointerType!=="touch"&&(Vd.x<=10&&Vd.y<=10?Wd.preventDefault():(Zd=cd.value)!=null&&Zd.contains(Wd.target)||jd(!1),document.removeEventListener("pointermove",Kd),Fd.value=null)};Fd.value!==null&&(document.addEventListener("pointermove",Kd),document.addEventListener("pointerup",mf,{capture:!0,once:!0})),Gd(()=>{document.removeEventListener("pointermove",Kd),document.removeEventListener("pointerup",mf,{capture:!0})})});function Md(Gd){const Vd=Gd.ctrlKey||Gd.altKey||Gd.metaKey;if(Gd.key==="Tab"&&Gd.preventDefault(),!Vd&&Gd.key.length===1&&fd(Gd.key),["ArrowUp","ArrowDown","Home","End"].includes(Gd.key)){let Kd=dd.value;if(["ArrowUp","End"].includes(Gd.key)&&(Kd=Kd.slice().reverse()),["ArrowUp","ArrowDown"].includes(Gd.key)){const mf=Gd.target,Wd=Kd.indexOf(mf);Kd=Kd.slice(Wd+1)}setTimeout(()=>$n$4(Kd)),Gd.preventDefault()}}const Ld=computed(()=>nd.position==="popper"?nd:{}),Hd=It$4(Ld.value);return zp$1({content:cd,viewport:md,onViewportChange:Gd=>{md.value=Gd},itemRefCallback:(Gd,Vd,Kd)=>{var mf,Wd;const Zd=!Id.value&&!Kd;(((mf=ld.modelValue)==null?void 0:mf.value)!==void 0&&((Wd=ld.modelValue)==null?void 0:Wd.value)===Vd||Zd)&&(vd.value=Gd,Zd&&(Id.value=!0))},selectedItem:vd,selectedItemText:Ad,onItemLeave:()=>{var Gd;(Gd=cd.value)==null||Gd.focus()},itemTextRefCallback:(Gd,Vd,Kd)=>{var mf,Wd;const Zd=!Id.value&&!Kd;(((mf=ld.modelValue)==null?void 0:mf.value)!==void 0&&((Wd=ld.modelValue)==null?void 0:Wd.value)===Vd||Zd)&&(Ad.value=Gd)},focusSelectedItem:kd,position:nd.position,isPositioned:Nd,searchRef:pd}),(Gd,Vd)=>(openBlock(),createBlock(unref(Ya$2),{"as-child":"",onMountAutoFocus:Vd[6]||(Vd[6]=withModifiers(()=>{},["prevent"])),onUnmountAutoFocus:Vd[7]||(Vd[7]=Kd=>{var mf;od("closeAutoFocus",Kd),!Kd.defaultPrevented&&((mf=unref(ld).triggerElement.value)==null||mf.focus({preventScroll:!0}),Kd.preventDefault())})},{default:withCtx(()=>[createVNode(unref(yt$3),{"as-child":"","disable-outside-pointer-events":"",onFocusOutside:Vd[2]||(Vd[2]=withModifiers(()=>{},["prevent"])),onDismiss:Vd[3]||(Vd[3]=Kd=>unref(ld).onOpenChange(!1)),onEscapeKeyDown:Vd[4]||(Vd[4]=Kd=>od("escapeKeyDown",Kd)),onPointerDownOutside:Vd[5]||(Vd[5]=Kd=>od("pointerDownOutside",Kd))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Gd.position==="popper"?Lp$1:Np$1),mergeProps({...Gd.$attrs,...unref(Hd)},{id:unref(ld).contentId,ref:Kd=>{cd.value=unref($e$4)(Kd)},role:"listbox","data-state":unref(ld).open.value?"open":"closed",dir:unref(ld).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:Vd[0]||(Vd[0]=withModifiers(()=>{},["prevent"])),onPlaced:Vd[1]||(Vd[1]=Kd=>Nd.value=!0),onKeydown:Md}),{default:withCtx(()=>[renderSlot(Gd.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3})]),_:3}))}}),Hp$1=defineComponent({inheritAttrs:!1,__name:"SelectProvider",props:{context:{}},setup(Ra){return $s$2(Ra.context),(qa,nd)=>renderSlot(qa.$slots,"default")}}),Wp$1={key:1},Fy=defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{},bodyLock:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(Ra,{emit:qa}){const nd=Ra,od=xe$5(nd,qa),ld=bt$5(),ud=ref$1();onMounted(()=>{ud.value=new DocumentFragment});const cd=ref$1(),dd=computed(()=>nd.forceMount||ld.open.value);return(pd,fd)=>{var md;return dd.value?(openBlock(),createBlock(unref(Pe$7),{key:0,ref_key:"presenceRef",ref:cd,present:!0},{default:withCtx(()=>[createVNode(Kp$1,normalizeProps(guardReactiveProps({...unref(od),...pd.$attrs})),{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},16)]),_:3},512)):!((md=cd.value)!=null&&md.present)&&ud.value?(openBlock(),createElementBlock("div",Wp$1,[(openBlock(),createBlock(Teleport,{to:ud.value},[createVNode(Hp$1,{context:unref(ld)},{default:withCtx(()=>[renderSlot(pd.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):createCommentVNode("",!0)}}}),[Is$3,jp$1]=Q$6("SelectItem"),zy=defineComponent({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{disabled:nd}=toRefs(qa),od=bt$5(),ld=Ct$5(Ft$5),{forwardRef:ud,currentElement:cd}=R$6(),dd=computed(()=>{var kd;return((kd=od.modelValue)==null?void 0:kd.value)===qa.value}),pd=ref$1(!1),fd=ref$1(qa.textValue??""),md=he$4(void 0,"radix-vue-select-item-text");async function vd(kd){await nextTick$1(),!(kd!=null&&kd.defaultPrevented)&&(nd.value||(od.onValueChange(qa.value),od.onOpenChange(!1)))}async function Ad(kd){var jd;await nextTick$1(),!kd.defaultPrevented&&(nd.value?(jd=ld.onItemLeave)==null||jd.call(ld):kd.currentTarget.focus({preventScroll:!0}))}async function Nd(kd){var jd;await nextTick$1(),!kd.defaultPrevented&&kd.currentTarget===document.activeElement&&((jd=ld.onItemLeave)==null||jd.call(ld))}async function Id(kd){var jd;await nextTick$1(),!(kd.defaultPrevented||((jd=ld.searchRef)==null?void 0:jd.value)!==""&&kd.key===" ")&&(Vp$1.includes(kd.key)&&vd(),kd.key===" "&&kd.preventDefault())}if(qa.value==="")throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return onMounted(()=>{cd.value&&ld.itemRefCallback(cd.value,qa.value,qa.disabled)}),jp$1({value:qa.value,disabled:nd,textId:md,isSelected:dd,onItemTextChange:kd=>{fd.value=((fd.value||(kd==null?void 0:kd.textContent))??"").trim()}}),(kd,jd)=>(openBlock(),createBlock(unref(O$3),{ref:unref(ud),role:"option","data-radix-vue-collection-item":"","aria-labelledby":unref(md),"data-highlighted":pd.value?"":void 0,"aria-selected":dd.value,"data-state":dd.value?"checked":"unchecked","aria-disabled":unref(nd)||void 0,"data-disabled":unref(nd)?"":void 0,tabindex:unref(nd)?void 0:-1,as:kd.as,"as-child":kd.asChild,onFocus:jd[0]||(jd[0]=Fd=>pd.value=!0),onBlur:jd[1]||(jd[1]=Fd=>pd.value=!1),onPointerup:vd,onPointerdown:jd[2]||(jd[2]=Fd=>{Fd.currentTarget.focus({preventScroll:!0})}),onTouchend:jd[3]||(jd[3]=withModifiers(()=>{},["prevent","stop"])),onPointermove:Ad,onPointerleave:Nd,onKeydown:Id},{default:withCtx(()=>[renderSlot(kd.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"]))}}),Ky=defineComponent({__name:"SelectItemIndicator",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,nd=Is$3();return(od,ld)=>unref(nd).isSelected.value?(openBlock(),createBlock(unref(O$3),mergeProps({key:0,"aria-hidden":"true"},qa),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16)):createCommentVNode("",!0)}}),jy=defineComponent({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Ra,nd=bt$5(),od=Ct$5(Ft$5),ld=Op$1(),ud=Is$3(),{forwardRef:cd,currentElement:dd}=R$6(),pd=computed(()=>{var fd;return h$1("option",{key:ud.value,value:ud.value,disabled:ud.disabled.value,textContent:(fd=dd.value)==null?void 0:fd.textContent})});return onMounted(()=>{dd.value&&(ud.onItemTextChange(dd.value),od.itemTextRefCallback(dd.value,ud.value,ud.disabled.value),ld.onNativeOptionAdd(pd.value))}),onBeforeUnmount(()=>{ld.onNativeOptionRemove(pd.value)}),(fd,md)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O$3),mergeProps({id:unref(ud).textId,ref:unref(cd)},{...qa,...fd.$attrs}),{default:withCtx(()=>[renderSlot(fd.$slots,"default")]),_:3},16,["id"]),unref(ud).isSelected.value&&unref(nd).valueElement.value&&!unref(nd).valueElementHasChildren.value?(openBlock(),createBlock(Teleport,{key:0,to:unref(nd).valueElement.value},[renderSlot(fd.$slots,"default")],8,["to"])):createCommentVNode("",!0)],64))}}),Uy=defineComponent({__name:"SelectViewport",props:{nonce:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{nonce:nd}=toRefs(qa),od=Xa$2(nd),ld=Ct$5(Ft$5),ud=ld.position==="item-aligned"?$o$2():void 0,{forwardRef:cd,currentElement:dd}=R$6();onMounted(()=>{ld==null||ld.onViewportChange(dd.value)});const pd=ref$1(0);function fd(md){const vd=md.currentTarget,{shouldExpandOnScrollRef:Ad,contentWrapper:Nd}=ud??{};if(Ad!=null&&Ad.value&&Nd!=null&&Nd.value){const Id=Math.abs(pd.value-vd.scrollTop);if(Id>0){const kd=window.innerHeight-at$6*2,jd=Number.parseFloat(Nd.value.style.minHeight),Fd=Number.parseFloat(Nd.value.style.height),Md=Math.max(jd,Fd);if(Md0?Gd:0,Nd.value.style.justifyContent="flex-end")}}}pd.value=vd.scrollTop}return(md,vd)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O$3),mergeProps({ref:unref(cd),"data-radix-select-viewport":"",role:"presentation"},{...md.$attrs,...qa},{style:{position:"relative",flex:1,overflow:"auto"},onScroll:fd}),{default:withCtx(()=>[renderSlot(md.$slots,"default")]),_:3},16),createVNode(unref(O$3),{as:"style",nonce:unref(od)},{default:withCtx(()=>[createTextVNode(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-radix-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-radix-select-viewport]::-webkit-scrollbar { display: none; } ")]),_:1},8,["nonce"])],64))}}),Ts$3=defineComponent({__name:"SelectScrollButtonImpl",emits:["autoScroll"],setup(Ra,{emit:qa}){const nd=qa,{injectCollection:od}=Me$7(),ld=od(),ud=Ct$5(Ft$5),cd=ref$1(null);function dd(){cd.value!==null&&(window.clearInterval(cd.value),cd.value=null)}watchEffect(()=>{const md=ld.value.find(vd=>vd===document.activeElement);md==null||md.scrollIntoView({block:"nearest"})});function pd(){cd.value===null&&(cd.value=window.setInterval(()=>{nd("autoScroll")},50))}function fd(){var md;(md=ud.onItemLeave)==null||md.call(ud),cd.value===null&&(cd.value=window.setInterval(()=>{nd("autoScroll")},50))}return onBeforeUnmount(()=>dd()),(md,vd)=>{var Ad;return openBlock(),createBlock(unref(O$3),mergeProps({"aria-hidden":"true",style:{flexShrink:0}},(Ad=md.$parent)==null?void 0:Ad.$props,{onPointerdown:pd,onPointermove:fd,onPointerleave:vd[0]||(vd[0]=()=>{dd()})}),{default:withCtx(()=>[renderSlot(md.$slots,"default")]),_:3},16)}}}),Gy=defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ct$5(Ft$5),nd=qa.position==="item-aligned"?$o$2():void 0,{forwardRef:od,currentElement:ld}=R$6(),ud=ref$1(!1);return watchEffect(cd=>{var dd,pd;if((dd=qa.viewport)!=null&&dd.value&&(pd=qa.isPositioned)!=null&&pd.value){let fd=function(){ud.value=md.scrollTop>0};const md=qa.viewport.value;fd(),md.addEventListener("scroll",fd),cd(()=>md.removeEventListener("scroll",fd))}}),watch(ld,()=>{ld.value&&(nd==null||nd.onScrollButtonChange(ld.value))}),(cd,dd)=>ud.value?(openBlock(),createBlock(Ts$3,{key:0,ref:unref(od),onAutoScroll:dd[0]||(dd[0]=()=>{const{viewport:pd,selectedItem:fd}=unref(qa);pd!=null&&pd.value&&fd!=null&&fd.value&&(pd.value.scrollTop=pd.value.scrollTop-fd.value.offsetHeight)})},{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},512)):createCommentVNode("",!0)}}),qy=defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ct$5(Ft$5),nd=qa.position==="item-aligned"?$o$2():void 0,{forwardRef:od,currentElement:ld}=R$6(),ud=ref$1(!1);return watchEffect(cd=>{var dd,pd;if((dd=qa.viewport)!=null&&dd.value&&(pd=qa.isPositioned)!=null&&pd.value){let fd=function(){const vd=md.scrollHeight-md.clientHeight;ud.value=Math.ceil(md.scrollTop)md.removeEventListener("scroll",fd))}}),watch(ld,()=>{ld.value&&(nd==null||nd.onScrollButtonChange(ld.value))}),(cd,dd)=>ud.value?(openBlock(),createBlock(Ts$3,{key:0,ref:unref(od),onAutoScroll:dd[0]||(dd[0]=()=>{const{viewport:pd,selectedItem:fd}=unref(qa);pd!=null&&pd.value&&fd!=null&&fd.value&&(pd.value.scrollTop=pd.value.scrollTop+fd.value.offsetHeight)})},{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},512)):createCommentVNode("",!0)}}),Yy=defineComponent({__name:"SelectValue",props:{placeholder:{default:""},asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const{forwardRef:qa,currentElement:nd}=R$6(),od=bt$5(),ld=useSlots();return onBeforeMount(()=>{var ud;const cd=!!Ua$3((ud=ld==null?void 0:ld.default)==null?void 0:ud.call(ld)).length;od.onValueElementHasChildrenChange(cd)}),onMounted(()=>{od.valueElement=nd}),(ud,cd)=>(openBlock(),createBlock(unref(O$3),{ref:unref(qa),as:ud.as,"as-child":ud.asChild,style:{pointerEvents:"none"}},{default:withCtx(()=>{var dd;return[unref(Bs$3)((dd=unref(od).modelValue)==null?void 0:dd.value)?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(ud.placeholder),1)],64)):renderSlot(ud.$slots,"default",{key:1})]}),_:3},8,["as","as-child"]))}}),Xy=defineComponent({__name:"SelectIcon",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){return(qa,nd)=>(openBlock(),createBlock(unref(O$3),{"aria-hidden":"true",as:qa.as,"as-child":qa.asChild},{default:withCtx(()=>[renderSlot(qa.$slots,"default",{},()=>[createTextVNode("▼")])]),_:3},8,["as","as-child"]))}});function hf(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}hf();const kf=["name","disabled","required","value","checked","data-state","data-disabled"],[Mf,Vf]=Q$6("SwitchRoot"),cg=defineComponent({__name:"SwitchRoot",props:{defaultChecked:{type:Boolean},checked:{type:Boolean,default:void 0},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},value:{default:"on"},asChild:{type:Boolean},as:{default:"button"}},emits:["update:checked"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{disabled:ld}=toRefs(nd),ud=ne$6(nd,"checked",od,{defaultValue:nd.defaultChecked,passive:nd.checked===void 0});function cd(){ld.value||(ud.value=!ud.value)}const{forwardRef:dd,currentElement:pd}=R$6(),fd=Je$4(pd),md=computed(()=>{var vd;return nd.id&&pd.value?(vd=document.querySelector(`[for="${nd.id}"]`))==null?void 0:vd.innerText:void 0});return Vf({checked:ud,toggleCheck:cd,disabled:ld}),(vd,Ad)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(O$3),mergeProps(vd.$attrs,{id:vd.id,ref:unref(dd),role:"switch",type:vd.as==="button"?"button":void 0,value:vd.value,"aria-label":vd.$attrs["aria-label"]||md.value,"aria-checked":unref(ud),"aria-required":vd.required,"data-state":unref(ud)?"checked":"unchecked","data-disabled":unref(ld)?"":void 0,"as-child":vd.asChild,as:vd.as,disabled:unref(ld),onClick:cd,onKeydown:withKeys(withModifiers(cd,["prevent"]),["enter"])}),{default:withCtx(()=>[renderSlot(vd.$slots,"default",{checked:unref(ud)})]),_:3},16,["id","type","value","aria-label","aria-checked","aria-required","data-state","data-disabled","as-child","as","disabled","onKeydown"]),unref(fd)?(openBlock(),createElementBlock("input",{key:0,type:"checkbox",name:vd.name,tabindex:"-1","aria-hidden":"true",disabled:unref(ld),required:vd.required,value:vd.value,checked:!!unref(ud),"data-state":unref(ud)?"checked":"unchecked","data-disabled":unref(ld)?"":void 0,style:{transform:"translateX(-100%)",position:"absolute",pointerEvents:"none",opacity:0,margin:0}},null,8,kf)):createCommentVNode("",!0)],64))}}),pg=defineComponent({__name:"SwitchThumb",props:{asChild:{type:Boolean},as:{default:"span"}},setup(Ra){const qa=Mf();return R$6(),(nd,od)=>{var ld;return openBlock(),createBlock(unref(O$3),{"data-state":(ld=unref(qa).checked)!=null&&ld.value?"checked":"unchecked","data-disabled":unref(qa).disabled.value?"":void 0,"as-child":nd.asChild,as:nd.as},{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},8,["data-state","data-disabled","as-child","as"])}}}),[pn$4,Ff]=Q$6("TabsRoot"),fg=defineComponent({__name:"TabsRoot",props:{defaultValue:{},orientation:{default:"horizontal"},dir:{},activationMode:{default:"automatic"},modelValue:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,{orientation:ld,dir:ud}=toRefs(nd),cd=be$8(ud);R$6();const dd=ne$6(nd,"modelValue",od,{defaultValue:nd.defaultValue,passive:nd.modelValue===void 0}),pd=ref$1();return Ff({modelValue:dd,changeModelValue:fd=>{dd.value=fd},orientation:ld,dir:cd,activationMode:nd.activationMode,baseId:he$4(void 0,"radix-vue-tabs"),tabsList:pd}),(fd,md)=>(openBlock(),createBlock(unref(O$3),{dir:unref(cd),"data-orientation":unref(ld),"as-child":fd.asChild,as:fd.as},{default:withCtx(()=>[renderSlot(fd.$slots,"default",{modelValue:unref(dd)})]),_:3},8,["dir","data-orientation","as-child","as"]))}}),vg=defineComponent({__name:"TabsList",props:{loop:{type:Boolean,default:!0},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{loop:nd}=toRefs(qa),{forwardRef:od,currentElement:ld}=R$6(),ud=pn$4();return ud.tabsList=ld,(cd,dd)=>(openBlock(),createBlock(unref(Ot$4),{"as-child":"",orientation:unref(ud).orientation.value,dir:unref(ud).dir.value,loop:unref(nd)},{default:withCtx(()=>[createVNode(unref(O$3),{ref:unref(od),role:"tablist","as-child":cd.asChild,as:cd.as,"aria-orientation":unref(ud).orientation.value},{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},8,["as-child","as","aria-orientation"])]),_:3},8,["orientation","dir","loop"]))}});function or$3(Ra,qa){return`${Ra}-trigger-${qa}`}function lr$2(Ra,qa){return`${Ra}-content-${qa}`}const mg=defineComponent({__name:"TabsContent",props:{value:{},forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra,{forwardRef:nd}=R$6(),od=pn$4(),ld=computed(()=>or$3(od.baseId,qa.value)),ud=computed(()=>lr$2(od.baseId,qa.value)),cd=computed(()=>qa.value===od.modelValue.value),dd=ref$1(cd.value);return onMounted(()=>{requestAnimationFrame(()=>{dd.value=!1})}),(pd,fd)=>(openBlock(),createBlock(unref(Pe$7),{present:cd.value,"force-mount":""},{default:withCtx(({present:md})=>[createVNode(unref(O$3),{id:ud.value,ref:unref(nd),"as-child":pd.asChild,as:pd.as,role:"tabpanel","data-state":cd.value?"active":"inactive","data-orientation":unref(od).orientation.value,"aria-labelledby":ld.value,hidden:!md.value,tabindex:"0",style:normalizeStyle({animationDuration:dd.value?"0s":void 0})},{default:withCtx(()=>[pd.forceMount||cd.value?renderSlot(pd.$slots,"default",{key:0}):createCommentVNode("",!0)]),_:2},1032,["id","as-child","as","data-state","data-orientation","aria-labelledby","hidden","style"])]),_:3},8,["present"]))}}),hg=defineComponent({__name:"TabsTrigger",props:{value:{},disabled:{type:Boolean,default:!1},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra,{forwardRef:nd}=R$6(),od=pn$4(),ld=computed(()=>or$3(od.baseId,qa.value)),ud=computed(()=>lr$2(od.baseId,qa.value)),cd=computed(()=>qa.value===od.modelValue.value);return(dd,pd)=>(openBlock(),createBlock(unref(kt$4),{"as-child":"",focusable:!dd.disabled,active:cd.value},{default:withCtx(()=>[createVNode(unref(O$3),{id:ld.value,ref:unref(nd),role:"tab",type:dd.as==="button"?"button":void 0,as:dd.as,"as-child":dd.asChild,"aria-selected":cd.value?"true":"false","aria-controls":ud.value,"data-state":cd.value?"active":"inactive",disabled:dd.disabled,"data-disabled":dd.disabled?"":void 0,"data-orientation":unref(od).orientation.value,onMousedown:pd[0]||(pd[0]=withModifiers(fd=>{!dd.disabled&&fd.ctrlKey===!1?unref(od).changeModelValue(dd.value):fd.preventDefault()},["left"])),onKeydown:pd[1]||(pd[1]=withKeys(fd=>unref(od).changeModelValue(dd.value),["enter","space"])),onFocus:pd[2]||(pd[2]=()=>{const fd=unref(od).activationMode!=="manual";!cd.value&&!dd.disabled&&fd&&unref(od).changeModelValue(dd.value)})},{default:withCtx(()=>[renderSlot(dd.$slots,"default")]),_:3},8,["id","type","as","as-child","aria-selected","aria-controls","data-state","disabled","data-disabled","data-orientation"])]),_:3},8,["focusable","active"]))}}),_sfc_main$1k=defineComponent({__name:"AlertDialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,cd)=>(openBlock(),createBlock(unref(Sv),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}});function r$1(Ra){var qa,nd,od="";if(typeof Ra=="string"||typeof Ra=="number")od+=Ra;else if(typeof Ra=="object")if(Array.isArray(Ra)){var ld=Ra.length;for(qa=0;qa{const qa=createClassMap(Ra),{conflictingClassGroups:nd,conflictingClassGroupModifiers:od}=Ra;return{getClassGroupId:cd=>{const dd=cd.split(CLASS_PART_SEPARATOR);return dd[0]===""&&dd.length!==1&&dd.shift(),getGroupRecursive(dd,qa)||getGroupIdForArbitraryProperty(cd)},getConflictingClassGroupIds:(cd,dd)=>{const pd=nd[cd]||[];return dd&&od[cd]?[...pd,...od[cd]]:pd}}},getGroupRecursive=(Ra,qa)=>{var cd;if(Ra.length===0)return qa.classGroupId;const nd=Ra[0],od=qa.nextPart.get(nd),ld=od?getGroupRecursive(Ra.slice(1),od):void 0;if(ld)return ld;if(qa.validators.length===0)return;const ud=Ra.join(CLASS_PART_SEPARATOR);return(cd=qa.validators.find(({validator:dd})=>dd(ud)))==null?void 0:cd.classGroupId},arbitraryPropertyRegex=/^\[(.+)\]$/,getGroupIdForArbitraryProperty=Ra=>{if(arbitraryPropertyRegex.test(Ra)){const qa=arbitraryPropertyRegex.exec(Ra)[1],nd=qa==null?void 0:qa.substring(0,qa.indexOf(":"));if(nd)return"arbitrary.."+nd}},createClassMap=Ra=>{const{theme:qa,prefix:nd}=Ra,od={nextPart:new Map,validators:[]};return getPrefixedClassGroupEntries(Object.entries(Ra.classGroups),nd).forEach(([ud,cd])=>{processClassesRecursively(cd,od,ud,qa)}),od},processClassesRecursively=(Ra,qa,nd,od)=>{Ra.forEach(ld=>{if(typeof ld=="string"){const ud=ld===""?qa:getPart(qa,ld);ud.classGroupId=nd;return}if(typeof ld=="function"){if(isThemeGetter(ld)){processClassesRecursively(ld(od),qa,nd,od);return}qa.validators.push({validator:ld,classGroupId:nd});return}Object.entries(ld).forEach(([ud,cd])=>{processClassesRecursively(cd,getPart(qa,ud),nd,od)})})},getPart=(Ra,qa)=>{let nd=Ra;return qa.split(CLASS_PART_SEPARATOR).forEach(od=>{nd.nextPart.has(od)||nd.nextPart.set(od,{nextPart:new Map,validators:[]}),nd=nd.nextPart.get(od)}),nd},isThemeGetter=Ra=>Ra.isThemeGetter,getPrefixedClassGroupEntries=(Ra,qa)=>qa?Ra.map(([nd,od])=>{const ld=od.map(ud=>typeof ud=="string"?qa+ud:typeof ud=="object"?Object.fromEntries(Object.entries(ud).map(([cd,dd])=>[qa+cd,dd])):ud);return[nd,ld]}):Ra,createLruCache=Ra=>{if(Ra<1)return{get:()=>{},set:()=>{}};let qa=0,nd=new Map,od=new Map;const ld=(ud,cd)=>{nd.set(ud,cd),qa++,qa>Ra&&(qa=0,od=nd,nd=new Map)};return{get(ud){let cd=nd.get(ud);if(cd!==void 0)return cd;if((cd=od.get(ud))!==void 0)return ld(ud,cd),cd},set(ud,cd){nd.has(ud)?nd.set(ud,cd):ld(ud,cd)}}},IMPORTANT_MODIFIER="!",createParseClassName=Ra=>{const{separator:qa,experimentalParseClassName:nd}=Ra,od=qa.length===1,ld=qa[0],ud=qa.length,cd=dd=>{const pd=[];let fd=0,md=0,vd;for(let jd=0;jdmd?vd-md:void 0;return{modifiers:pd,hasImportantModifier:Nd,baseClassName:Id,maybePostfixModifierPosition:kd}};return nd?dd=>nd({className:dd,parseClassName:cd}):cd},sortModifiers=Ra=>{if(Ra.length<=1)return Ra;const qa=[];let nd=[];return Ra.forEach(od=>{od[0]==="["?(qa.push(...nd.sort(),od),nd=[]):nd.push(od)}),qa.push(...nd.sort()),qa},createConfigUtils=Ra=>({cache:createLruCache(Ra.cacheSize),parseClassName:createParseClassName(Ra),...createClassGroupUtils(Ra)}),SPLIT_CLASSES_REGEX=/\s+/,mergeClassList=(Ra,qa)=>{const{parseClassName:nd,getClassGroupId:od,getConflictingClassGroupIds:ld}=qa,ud=[],cd=Ra.trim().split(SPLIT_CLASSES_REGEX);let dd="";for(let pd=cd.length-1;pd>=0;pd-=1){const fd=cd[pd],{modifiers:md,hasImportantModifier:vd,baseClassName:Ad,maybePostfixModifierPosition:Nd}=nd(fd);let Id=!!Nd,kd=od(Id?Ad.substring(0,Nd):Ad);if(!kd){if(!Id){dd=fd+(dd.length>0?" "+dd:dd);continue}if(kd=od(Ad),!kd){dd=fd+(dd.length>0?" "+dd:dd);continue}Id=!1}const jd=sortModifiers(md).join(":"),Fd=vd?jd+IMPORTANT_MODIFIER:jd,Md=Fd+kd;if(ud.includes(Md))continue;ud.push(Md);const Ld=ld(kd,Id);for(let Hd=0;Hd0?" "+dd:dd)}return dd};function twJoin(){let Ra=0,qa,nd,od="";for(;Ra{if(typeof Ra=="string")return Ra;let qa,nd="";for(let od=0;odvd(md),Ra());return nd=createConfigUtils(fd),od=nd.cache.get,ld=nd.cache.set,ud=dd,dd(pd)}function dd(pd){const fd=od(pd);if(fd)return fd;const md=mergeClassList(pd,nd);return ld(pd,md),md}return function(){return ud(twJoin.apply(null,arguments))}}const fromTheme=Ra=>{const qa=nd=>nd[Ra]||[];return qa.isThemeGetter=!0,qa},arbitraryValueRegex=/^\[(?:([a-z-]+):)?(.+)\]$/i,fractionRegex=/^\d+\/\d+$/,stringLengths=new Set(["px","full","screen"]),tshirtUnitRegex=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,lengthUnitRegex=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,colorFunctionRegex=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,shadowRegex=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,imageRegex=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,isLength$1=Ra=>isNumber$3(Ra)||stringLengths.has(Ra)||fractionRegex.test(Ra),isArbitraryLength=Ra=>getIsArbitraryValue(Ra,"length",isLengthOnly),isNumber$3=Ra=>!!Ra&&!Number.isNaN(Number(Ra)),isArbitraryNumber=Ra=>getIsArbitraryValue(Ra,"number",isNumber$3),isInteger$1=Ra=>!!Ra&&Number.isInteger(Number(Ra)),isPercent=Ra=>Ra.endsWith("%")&&isNumber$3(Ra.slice(0,-1)),isArbitraryValue=Ra=>arbitraryValueRegex.test(Ra),isTshirtSize=Ra=>tshirtUnitRegex.test(Ra),sizeLabels=new Set(["length","size","percentage"]),isArbitrarySize=Ra=>getIsArbitraryValue(Ra,sizeLabels,isNever),isArbitraryPosition=Ra=>getIsArbitraryValue(Ra,"position",isNever),imageLabels=new Set(["image","url"]),isArbitraryImage=Ra=>getIsArbitraryValue(Ra,imageLabels,isImage),isArbitraryShadow=Ra=>getIsArbitraryValue(Ra,"",isShadow),isAny=()=>!0,getIsArbitraryValue=(Ra,qa,nd)=>{const od=arbitraryValueRegex.exec(Ra);return od?od[1]?typeof qa=="string"?od[1]===qa:qa.has(od[1]):nd(od[2]):!1},isLengthOnly=Ra=>lengthUnitRegex.test(Ra)&&!colorFunctionRegex.test(Ra),isNever=()=>!1,isShadow=Ra=>shadowRegex.test(Ra),isImage=Ra=>imageRegex.test(Ra),getDefaultConfig=()=>{const Ra=fromTheme("colors"),qa=fromTheme("spacing"),nd=fromTheme("blur"),od=fromTheme("brightness"),ld=fromTheme("borderColor"),ud=fromTheme("borderRadius"),cd=fromTheme("borderSpacing"),dd=fromTheme("borderWidth"),pd=fromTheme("contrast"),fd=fromTheme("grayscale"),md=fromTheme("hueRotate"),vd=fromTheme("invert"),Ad=fromTheme("gap"),Nd=fromTheme("gradientColorStops"),Id=fromTheme("gradientColorStopPositions"),kd=fromTheme("inset"),jd=fromTheme("margin"),Fd=fromTheme("opacity"),Md=fromTheme("padding"),Ld=fromTheme("saturate"),Hd=fromTheme("scale"),Gd=fromTheme("sepia"),Vd=fromTheme("skew"),Kd=fromTheme("space"),mf=fromTheme("translate"),Wd=()=>["auto","contain","none"],Zd=()=>["auto","hidden","clip","visible","scroll"],Xd=()=>["auto",isArbitraryValue,qa],bf=()=>[isArbitraryValue,qa],yf=()=>["",isLength$1,isArbitraryLength],Ef=()=>["auto",isNumber$3,isArbitraryValue],gf=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],xf=()=>["solid","dashed","dotted","double","none"],Af=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Lf=()=>["start","end","center","between","around","evenly","stretch"],Xf=()=>["","0",isArbitraryValue],Jf=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Zf=()=>[isNumber$3,isArbitraryValue];return{cacheSize:500,separator:":",theme:{colors:[isAny],spacing:[isLength$1,isArbitraryLength],blur:["none","",isTshirtSize,isArbitraryValue],brightness:Zf(),borderColor:[Ra],borderRadius:["none","","full",isTshirtSize,isArbitraryValue],borderSpacing:bf(),borderWidth:yf(),contrast:Zf(),grayscale:Xf(),hueRotate:Zf(),invert:Xf(),gap:bf(),gradientColorStops:[Ra],gradientColorStopPositions:[isPercent,isArbitraryLength],inset:Xd(),margin:Xd(),opacity:Zf(),padding:bf(),saturate:Zf(),scale:Zf(),sepia:Xf(),skew:Zf(),space:bf(),translate:bf()},classGroups:{aspect:[{aspect:["auto","square","video",isArbitraryValue]}],container:["container"],columns:[{columns:[isTshirtSize]}],"break-after":[{"break-after":Jf()}],"break-before":[{"break-before":Jf()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...gf(),isArbitraryValue]}],overflow:[{overflow:Zd()}],"overflow-x":[{"overflow-x":Zd()}],"overflow-y":[{"overflow-y":Zd()}],overscroll:[{overscroll:Wd()}],"overscroll-x":[{"overscroll-x":Wd()}],"overscroll-y":[{"overscroll-y":Wd()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[kd]}],"inset-x":[{"inset-x":[kd]}],"inset-y":[{"inset-y":[kd]}],start:[{start:[kd]}],end:[{end:[kd]}],top:[{top:[kd]}],right:[{right:[kd]}],bottom:[{bottom:[kd]}],left:[{left:[kd]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",isInteger$1,isArbitraryValue]}],basis:[{basis:Xd()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",isArbitraryValue]}],grow:[{grow:Xf()}],shrink:[{shrink:Xf()}],order:[{order:["first","last","none",isInteger$1,isArbitraryValue]}],"grid-cols":[{"grid-cols":[isAny]}],"col-start-end":[{col:["auto",{span:["full",isInteger$1,isArbitraryValue]},isArbitraryValue]}],"col-start":[{"col-start":Ef()}],"col-end":[{"col-end":Ef()}],"grid-rows":[{"grid-rows":[isAny]}],"row-start-end":[{row:["auto",{span:[isInteger$1,isArbitraryValue]},isArbitraryValue]}],"row-start":[{"row-start":Ef()}],"row-end":[{"row-end":Ef()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",isArbitraryValue]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",isArbitraryValue]}],gap:[{gap:[Ad]}],"gap-x":[{"gap-x":[Ad]}],"gap-y":[{"gap-y":[Ad]}],"justify-content":[{justify:["normal",...Lf()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Lf(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Lf(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[Md]}],px:[{px:[Md]}],py:[{py:[Md]}],ps:[{ps:[Md]}],pe:[{pe:[Md]}],pt:[{pt:[Md]}],pr:[{pr:[Md]}],pb:[{pb:[Md]}],pl:[{pl:[Md]}],m:[{m:[jd]}],mx:[{mx:[jd]}],my:[{my:[jd]}],ms:[{ms:[jd]}],me:[{me:[jd]}],mt:[{mt:[jd]}],mr:[{mr:[jd]}],mb:[{mb:[jd]}],ml:[{ml:[jd]}],"space-x":[{"space-x":[Kd]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[Kd]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",isArbitraryValue,qa]}],"min-w":[{"min-w":[isArbitraryValue,qa,"min","max","fit"]}],"max-w":[{"max-w":[isArbitraryValue,qa,"none","full","min","max","fit","prose",{screen:[isTshirtSize]},isTshirtSize]}],h:[{h:[isArbitraryValue,qa,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[isArbitraryValue,qa,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[isArbitraryValue,qa,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[isArbitraryValue,qa,"auto","min","max","fit"]}],"font-size":[{text:["base",isTshirtSize,isArbitraryLength]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",isArbitraryNumber]}],"font-family":[{font:[isAny]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",isArbitraryValue]}],"line-clamp":[{"line-clamp":["none",isNumber$3,isArbitraryNumber]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",isLength$1,isArbitraryValue]}],"list-image":[{"list-image":["none",isArbitraryValue]}],"list-style-type":[{list:["none","disc","decimal",isArbitraryValue]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[Ra]}],"placeholder-opacity":[{"placeholder-opacity":[Fd]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[Ra]}],"text-opacity":[{"text-opacity":[Fd]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...xf(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",isLength$1,isArbitraryLength]}],"underline-offset":[{"underline-offset":["auto",isLength$1,isArbitraryValue]}],"text-decoration-color":[{decoration:[Ra]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:bf()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",isArbitraryValue]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",isArbitraryValue]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[Fd]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...gf(),isArbitraryPosition]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",isArbitrarySize]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},isArbitraryImage]}],"bg-color":[{bg:[Ra]}],"gradient-from-pos":[{from:[Id]}],"gradient-via-pos":[{via:[Id]}],"gradient-to-pos":[{to:[Id]}],"gradient-from":[{from:[Nd]}],"gradient-via":[{via:[Nd]}],"gradient-to":[{to:[Nd]}],rounded:[{rounded:[ud]}],"rounded-s":[{"rounded-s":[ud]}],"rounded-e":[{"rounded-e":[ud]}],"rounded-t":[{"rounded-t":[ud]}],"rounded-r":[{"rounded-r":[ud]}],"rounded-b":[{"rounded-b":[ud]}],"rounded-l":[{"rounded-l":[ud]}],"rounded-ss":[{"rounded-ss":[ud]}],"rounded-se":[{"rounded-se":[ud]}],"rounded-ee":[{"rounded-ee":[ud]}],"rounded-es":[{"rounded-es":[ud]}],"rounded-tl":[{"rounded-tl":[ud]}],"rounded-tr":[{"rounded-tr":[ud]}],"rounded-br":[{"rounded-br":[ud]}],"rounded-bl":[{"rounded-bl":[ud]}],"border-w":[{border:[dd]}],"border-w-x":[{"border-x":[dd]}],"border-w-y":[{"border-y":[dd]}],"border-w-s":[{"border-s":[dd]}],"border-w-e":[{"border-e":[dd]}],"border-w-t":[{"border-t":[dd]}],"border-w-r":[{"border-r":[dd]}],"border-w-b":[{"border-b":[dd]}],"border-w-l":[{"border-l":[dd]}],"border-opacity":[{"border-opacity":[Fd]}],"border-style":[{border:[...xf(),"hidden"]}],"divide-x":[{"divide-x":[dd]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[dd]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[Fd]}],"divide-style":[{divide:xf()}],"border-color":[{border:[ld]}],"border-color-x":[{"border-x":[ld]}],"border-color-y":[{"border-y":[ld]}],"border-color-s":[{"border-s":[ld]}],"border-color-e":[{"border-e":[ld]}],"border-color-t":[{"border-t":[ld]}],"border-color-r":[{"border-r":[ld]}],"border-color-b":[{"border-b":[ld]}],"border-color-l":[{"border-l":[ld]}],"divide-color":[{divide:[ld]}],"outline-style":[{outline:["",...xf()]}],"outline-offset":[{"outline-offset":[isLength$1,isArbitraryValue]}],"outline-w":[{outline:[isLength$1,isArbitraryLength]}],"outline-color":[{outline:[Ra]}],"ring-w":[{ring:yf()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[Ra]}],"ring-opacity":[{"ring-opacity":[Fd]}],"ring-offset-w":[{"ring-offset":[isLength$1,isArbitraryLength]}],"ring-offset-color":[{"ring-offset":[Ra]}],shadow:[{shadow:["","inner","none",isTshirtSize,isArbitraryShadow]}],"shadow-color":[{shadow:[isAny]}],opacity:[{opacity:[Fd]}],"mix-blend":[{"mix-blend":[...Af(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Af()}],filter:[{filter:["","none"]}],blur:[{blur:[nd]}],brightness:[{brightness:[od]}],contrast:[{contrast:[pd]}],"drop-shadow":[{"drop-shadow":["","none",isTshirtSize,isArbitraryValue]}],grayscale:[{grayscale:[fd]}],"hue-rotate":[{"hue-rotate":[md]}],invert:[{invert:[vd]}],saturate:[{saturate:[Ld]}],sepia:[{sepia:[Gd]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[nd]}],"backdrop-brightness":[{"backdrop-brightness":[od]}],"backdrop-contrast":[{"backdrop-contrast":[pd]}],"backdrop-grayscale":[{"backdrop-grayscale":[fd]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[md]}],"backdrop-invert":[{"backdrop-invert":[vd]}],"backdrop-opacity":[{"backdrop-opacity":[Fd]}],"backdrop-saturate":[{"backdrop-saturate":[Ld]}],"backdrop-sepia":[{"backdrop-sepia":[Gd]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[cd]}],"border-spacing-x":[{"border-spacing-x":[cd]}],"border-spacing-y":[{"border-spacing-y":[cd]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",isArbitraryValue]}],duration:[{duration:Zf()}],ease:[{ease:["linear","in","out","in-out",isArbitraryValue]}],delay:[{delay:Zf()}],animate:[{animate:["none","spin","ping","pulse","bounce",isArbitraryValue]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[Hd]}],"scale-x":[{"scale-x":[Hd]}],"scale-y":[{"scale-y":[Hd]}],rotate:[{rotate:[isInteger$1,isArbitraryValue]}],"translate-x":[{"translate-x":[mf]}],"translate-y":[{"translate-y":[mf]}],"skew-x":[{"skew-x":[Vd]}],"skew-y":[{"skew-y":[Vd]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",isArbitraryValue]}],accent:[{accent:["auto",Ra]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",isArbitraryValue]}],"caret-color":[{caret:[Ra]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":bf()}],"scroll-mx":[{"scroll-mx":bf()}],"scroll-my":[{"scroll-my":bf()}],"scroll-ms":[{"scroll-ms":bf()}],"scroll-me":[{"scroll-me":bf()}],"scroll-mt":[{"scroll-mt":bf()}],"scroll-mr":[{"scroll-mr":bf()}],"scroll-mb":[{"scroll-mb":bf()}],"scroll-ml":[{"scroll-ml":bf()}],"scroll-p":[{"scroll-p":bf()}],"scroll-px":[{"scroll-px":bf()}],"scroll-py":[{"scroll-py":bf()}],"scroll-ps":[{"scroll-ps":bf()}],"scroll-pe":[{"scroll-pe":bf()}],"scroll-pt":[{"scroll-pt":bf()}],"scroll-pr":[{"scroll-pr":bf()}],"scroll-pb":[{"scroll-pb":bf()}],"scroll-pl":[{"scroll-pl":bf()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",isArbitraryValue]}],fill:[{fill:[Ra,"none"]}],"stroke-w":[{stroke:[isLength$1,isArbitraryLength,isArbitraryNumber]}],stroke:[{stroke:[Ra,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},twMerge=createTailwindMerge(getDefaultConfig);function cn$4(...Ra){return twMerge(clsx(Ra))}const _sfc_main$1j=defineComponent({__name:"AlertDialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(Pv),null,{default:withCtx(()=>[createVNode(unref($v),{class:"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80"}),createVNode(unref(Dv),mergeProps(unref(ud),{class:unref(cn$4)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$1i=defineComponent({__name:"AlertDialogFooter",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$4)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),falsyToString=Ra=>typeof Ra=="boolean"?`${Ra}`:Ra===0?"0":Ra,cx=clsx,cva=(Ra,qa)=>nd=>{var od;if((qa==null?void 0:qa.variants)==null)return cx(Ra,nd==null?void 0:nd.class,nd==null?void 0:nd.className);const{variants:ld,defaultVariants:ud}=qa,cd=Object.keys(ld).map(fd=>{const md=nd==null?void 0:nd[fd],vd=ud==null?void 0:ud[fd];if(md===null)return null;const Ad=falsyToString(md)||falsyToString(vd);return ld[fd][Ad]}),dd=nd&&Object.entries(nd).reduce((fd,md)=>{let[vd,Ad]=md;return Ad===void 0||(fd[vd]=Ad),fd},{}),pd=qa==null||(od=qa.compoundVariants)===null||od===void 0?void 0:od.reduce((fd,md)=>{let{class:vd,className:Ad,...Nd}=md;return Object.entries(Nd).every(Id=>{let[kd,jd]=Id;return Array.isArray(jd)?jd.includes({...ud,...dd}[kd]):{...ud,...dd}[kd]===jd})?[...fd,vd,Ad]:fd},[]);return cx(Ra,cd,pd,nd==null?void 0:nd.class,nd==null?void 0:nd.className)},_sfc_main$1h=defineComponent({__name:"Button",props:{variant:{},size:{},class:{},asChild:{type:Boolean},as:{default:"button"}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(O$3),{as:nd.as,"as-child":nd.asChild,class:normalizeClass(unref(cn$4)(unref(buttonVariants)({variant:nd.variant,size:nd.size}),qa.class))},{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),buttonVariants=cva("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",xs:"h-7 rounded px-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),_sfc_main$1g=defineComponent({__name:"AlertDialogAction",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(Rv),mergeProps(nd.value,{class:unref(cn$4)(unref(buttonVariants)(),qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$1f=defineComponent({__name:"AlertDialogCancel",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(Bv),mergeProps(nd.value,{class:unref(cn$4)(unref(buttonVariants)({variant:"outline"}),"mt-2 sm:mt-0",qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$1e=defineComponent({__name:"AlertDialogHeader",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$4)("flex flex-col gap-y-2 text-center sm:text-left",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$1d=defineComponent({__name:"AlertDialogDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(Tv),mergeProps(nd.value,{class:unref(cn$4)("text-sm text-muted-foreground",qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$1c=defineComponent({__name:"AlertDialogTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(Iv),mergeProps(nd.value,{class:unref(cn$4)("text-lg font-semibold",qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_hoisted_1$b={key:0,class:"loading"},_sfc_main$1b=defineComponent({__name:"RunLoading",setup(Ra){const qa=ref$1(!0);return onMounted(()=>{setTimeout(()=>{qa.value=!1},100)}),(nd,od)=>(openBlock(),createBlock(Transition$1,{name:"fade"},{default:withCtx(()=>[unref(qa)?(openBlock(),createElementBlock("div",_hoisted_1$b,od[0]||(od[0]=[createBaseVNode("strong",null,"致力于让 Markdown 编辑更简单",-1)]))):createCommentVNode("",!0)]),_:1}))}}),_export_sfc=(Ra,qa)=>{const nd=Ra.__vccOpts||Ra;for(const[od,ld]of qa)nd[od]=ld;return nd},__unplugin_components_11=_export_sfc(_sfc_main$1b,[["__scopeId","data-v-8781f9ec"]]),_sfc_main$1a=defineComponent({__name:"Dialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,cd)=>(openBlock(),createBlock(unref(Zi$2),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}});/** * @license lucide-vue-next v0.462.0 - ISC * * This source code is licensed under the ISC license. @@ -145,7 +145,7 @@ var LN=Object.defineProperty;var Ix=Ra=>{throw TypeError(Ra)};var BN=(Ra,qa,nd)= * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const X$6=createLucideIcon("XIcon",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),_sfc_main$1a=defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(xv),null,{default:withCtx(()=>[createVNode(unref(_u$3),{class:"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80"}),createVNode(unref(Cu$3),mergeProps(unref(ud),{class:unref(cn$4)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$slots,"default"),createVNode(unref(Ul$3),{class:"data-[state=open]:bg-accent ring-offset-background data-[state=open]:text-muted-foreground focus:ring-ring absolute right-4 top-4 rounded-sm opacity-70 transition-opacity disabled:pointer-events-none hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2"},{default:withCtx(()=>[createVNode(unref(X$6),{class:"h-4 w-4"}),dd[0]||(dd[0]=createBaseVNode("span",{class:"sr-only"},"Close",-1))]),_:1})]),_:3},16,["class"])]),_:3}))}}),_sfc_main$19=defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Su$2),mergeProps(unref(od),{class:unref(cn$4)("text-sm text-muted-foreground",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$18=defineComponent({__name:"DialogFooter",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$4)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$17=defineComponent({__name:"DialogHeader",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$4)("flex flex-col gap-y-1.5 text-center sm:text-left",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$16=defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(xu$2),mergeProps(unref(od),{class:unref(cn$4)("text-lg font-semibold leading-none tracking-tight",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$15=defineComponent({__name:"DialogTrigger",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Ji$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}});function tryOnScopeDispose(Ra){return getCurrentScope()?(onScopeDispose(Ra),!0):!1}function createEventHook(){const Ra=new Set,qa=ld=>{Ra.delete(ld)};return{on:ld=>{Ra.add(ld);const ud=()=>qa(ld);return tryOnScopeDispose(ud),{off:ud}},off:qa,trigger:(...ld)=>Promise.all(Array.from(Ra).map(ud=>ud(...ld)))}}function toValue(Ra){return typeof Ra=="function"?Ra():unref(Ra)}const isClient=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const isDef=Ra=>typeof Ra<"u",toString$3=Object.prototype.toString,isObject$4=Ra=>toString$3.call(Ra)==="[object Object]",noop$5=()=>{},hasOwn$2=(Ra,qa)=>Object.prototype.hasOwnProperty.call(Ra,qa);function createFilterWrapper(Ra,qa){function nd(...od){return new Promise((ld,ud)=>{Promise.resolve(Ra(()=>qa.apply(this,od),{fn:qa,thisArg:this,args:od})).then(ld).catch(ud)})}return nd}const bypassFilter=Ra=>Ra();function pausableFilter(Ra=bypassFilter){const qa=ref$1(!0);function nd(){qa.value=!1}function od(){qa.value=!0}const ld=(...ud)=>{qa.value&&Ra(...ud)};return{isActive:readonly(qa),pause:nd,resume:od,eventFilter:ld}}function getLifeCycleTarget(Ra){return getCurrentInstance()}function toRef(...Ra){if(Ra.length!==1)return toRef$1(...Ra);const qa=Ra[0];return typeof qa=="function"?readonly(customRef(()=>({get:qa,set:noop$5}))):ref$1(qa)}function watchWithFilter(Ra,qa,nd={}){const{eventFilter:od=bypassFilter,...ld}=nd;return watch(Ra,createFilterWrapper(od,qa),ld)}function watchPausable(Ra,qa,nd={}){const{eventFilter:od,...ld}=nd,{eventFilter:ud,pause:cd,resume:dd,isActive:pd}=pausableFilter(od);return{stop:watchWithFilter(Ra,qa,{...ld,eventFilter:ud}),pause:cd,resume:dd,isActive:pd}}function tryOnMounted(Ra,qa=!0,nd){getLifeCycleTarget()?onMounted(Ra,nd):qa?Ra():nextTick$1(Ra)}function useToggle(Ra=!1,qa={}){const{truthyValue:nd=!0,falsyValue:od=!1}=qa,ld=isRef(Ra),ud=ref$1(Ra);function cd(dd){if(arguments.length)return ud.value=dd,ud.value;{const pd=toValue(nd);return ud.value=ud.value===pd?toValue(od):pd,ud.value}}return ld?cd:[ud,cd]}const defaultWindow=isClient?window:void 0,defaultDocument=isClient?window.document:void 0;function unrefElement(Ra){var qa;const nd=toValue(Ra);return(qa=nd==null?void 0:nd.$el)!=null?qa:nd}function useEventListener(...Ra){let qa,nd,od,ld;if(typeof Ra[0]=="string"||Array.isArray(Ra[0])?([nd,od,ld]=Ra,qa=defaultWindow):[qa,nd,od,ld]=Ra,!qa)return noop$5;Array.isArray(nd)||(nd=[nd]),Array.isArray(od)||(od=[od]);const ud=[],cd=()=>{ud.forEach(md=>md()),ud.length=0},dd=(md,vd,Ad,Nd)=>(md.addEventListener(vd,Ad,Nd),()=>md.removeEventListener(vd,Ad,Nd)),pd=watch(()=>[unrefElement(qa),toValue(ld)],([md,vd])=>{if(cd(),!md)return;const Ad=isObject$4(vd)?{...vd}:vd;ud.push(...nd.flatMap(Nd=>od.map(Id=>dd(md,Nd,Id,Ad))))},{immediate:!0,flush:"post"}),fd=()=>{pd(),cd()};return tryOnScopeDispose(fd),fd}function useMounted(){const Ra=ref$1(!1),qa=getCurrentInstance();return qa&&onMounted(()=>{Ra.value=!0},qa),Ra}function useSupported(Ra){const qa=useMounted();return computed(()=>(qa.value,!!Ra()))}function useMediaQuery(Ra,qa={}){const{window:nd=defaultWindow}=qa,od=useSupported(()=>nd&&"matchMedia"in nd&&typeof nd.matchMedia=="function");let ld;const ud=ref$1(!1),cd=fd=>{ud.value=fd.matches},dd=()=>{ld&&("removeEventListener"in ld?ld.removeEventListener("change",cd):ld.removeListener(cd))},pd=watchEffect(()=>{od.value&&(dd(),ld=nd.matchMedia(toValue(Ra)),"addEventListener"in ld?ld.addEventListener("change",cd):ld.addListener(cd),ud.value=ld.matches)});return tryOnScopeDispose(()=>{pd(),dd(),ld=void 0}),ud}function cloneFnJSON(Ra){return JSON.parse(JSON.stringify(Ra))}const _global$1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global$1<"u"?global$1:typeof self<"u"?self:{},globalKey="__vueuse_ssr_handlers__",handlers=getHandlers();function getHandlers(){return globalKey in _global$1||(_global$1[globalKey]=_global$1[globalKey]||{}),_global$1[globalKey]}function getSSRHandler(Ra,qa){return handlers[Ra]||qa}function usePreferredDark(Ra){return useMediaQuery("(prefers-color-scheme: dark)",Ra)}function guessSerializerType(Ra){return Ra==null?"any":Ra instanceof Set?"set":Ra instanceof Map?"map":Ra instanceof Date?"date":typeof Ra=="boolean"?"boolean":typeof Ra=="string"?"string":typeof Ra=="object"?"object":Number.isNaN(Ra)?"any":"number"}const StorageSerializers={boolean:{read:Ra=>Ra==="true",write:Ra=>String(Ra)},object:{read:Ra=>JSON.parse(Ra),write:Ra=>JSON.stringify(Ra)},number:{read:Ra=>Number.parseFloat(Ra),write:Ra=>String(Ra)},any:{read:Ra=>Ra,write:Ra=>String(Ra)},string:{read:Ra=>Ra,write:Ra=>String(Ra)},map:{read:Ra=>new Map(JSON.parse(Ra)),write:Ra=>JSON.stringify(Array.from(Ra.entries()))},set:{read:Ra=>new Set(JSON.parse(Ra)),write:Ra=>JSON.stringify(Array.from(Ra))},date:{read:Ra=>new Date(Ra),write:Ra=>Ra.toISOString()}},customStorageEventName="vueuse-storage";function useStorage(Ra,qa,nd,od={}){var ld;const{flush:ud="pre",deep:cd=!0,listenToStorageChanges:dd=!0,writeDefaults:pd=!0,mergeDefaults:fd=!1,shallow:md,window:vd=defaultWindow,eventFilter:Ad,onError:Nd=Zd=>{console.error(Zd)},initOnMounted:Id}=od,kd=(md?shallowRef:ref$1)(typeof qa=="function"?qa():qa);if(!nd)try{nd=getSSRHandler("getDefaultStorage",()=>{var Zd;return(Zd=defaultWindow)==null?void 0:Zd.localStorage})()}catch(Zd){Nd(Zd)}if(!nd)return kd;const jd=toValue(qa),Fd=guessSerializerType(jd),Md=(ld=od.serializer)!=null?ld:StorageSerializers[Fd],{pause:Ld,resume:Hd}=watchPausable(kd,()=>Vd(kd.value),{flush:ud,deep:cd,eventFilter:Ad});vd&&dd&&tryOnMounted(()=>{nd instanceof Storage?useEventListener(vd,"storage",mf):useEventListener(vd,customStorageEventName,Yd),Id&&mf()}),Id||mf();function Gd(Zd,Kd){if(vd){const bf={key:Ra,oldValue:Zd,newValue:Kd,storageArea:nd};vd.dispatchEvent(nd instanceof Storage?new StorageEvent("storage",bf):new CustomEvent(customStorageEventName,{detail:bf}))}}function Vd(Zd){try{const Kd=nd.getItem(Ra);if(Zd==null)Gd(Kd,null),nd.removeItem(Ra);else{const bf=Md.write(Zd);Kd!==bf&&(nd.setItem(Ra,bf),Gd(Kd,bf))}}catch(Kd){Nd(Kd)}}function Qd(Zd){const Kd=Zd?Zd.newValue:nd.getItem(Ra);if(Kd==null)return pd&&jd!=null&&nd.setItem(Ra,Md.write(jd)),jd;if(!Zd&&fd){const bf=Md.read(Kd);return typeof fd=="function"?fd(bf,jd):Fd==="object"&&!Array.isArray(bf)?{...jd,...bf}:bf}else return typeof Kd!="string"?Kd:Md.read(Kd)}function mf(Zd){if(!(Zd&&Zd.storageArea!==nd)){if(Zd&&Zd.key==null){kd.value=jd;return}if(!(Zd&&Zd.key!==Ra)){Ld();try{(Zd==null?void 0:Zd.newValue)!==Md.write(kd.value)&&(kd.value=Qd(Zd))}catch(Kd){Nd(Kd)}finally{Zd?nextTick$1(Hd):Hd()}}}}function Yd(Zd){mf(Zd.detail)}return kd}const CSS_DISABLE_TRANS="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function useColorMode(Ra={}){const{selector:qa="html",attribute:nd="class",initialValue:od="auto",window:ld=defaultWindow,storage:ud,storageKey:cd="vueuse-color-scheme",listenToStorageChanges:dd=!0,storageRef:pd,emitAuto:fd,disableTransition:md=!0}=Ra,vd={auto:"",light:"light",dark:"dark",...Ra.modes||{}},Ad=usePreferredDark({window:ld}),Nd=computed(()=>Ad.value?"dark":"light"),Id=pd||(cd==null?toRef(od):useStorage(cd,od,ud,{window:ld,listenToStorageChanges:dd})),kd=computed(()=>Id.value==="auto"?Nd.value:Id.value),jd=getSSRHandler("updateHTMLAttrs",(Hd,Gd,Vd)=>{const Qd=typeof Hd=="string"?ld==null?void 0:ld.document.querySelector(Hd):unrefElement(Hd);if(!Qd)return;const mf=new Set,Yd=new Set;let Zd=null;if(Gd==="class"){const bf=Vd.split(/\s/g);Object.values(vd).flatMap(gf=>(gf||"").split(/\s/g)).filter(Boolean).forEach(gf=>{bf.includes(gf)?mf.add(gf):Yd.add(gf)})}else Zd={key:Gd,value:Vd};if(mf.size===0&&Yd.size===0&&Zd===null)return;let Kd;md&&(Kd=ld.document.createElement("style"),Kd.appendChild(document.createTextNode(CSS_DISABLE_TRANS)),ld.document.head.appendChild(Kd));for(const bf of mf)Qd.classList.add(bf);for(const bf of Yd)Qd.classList.remove(bf);Zd&&Qd.setAttribute(Zd.key,Zd.value),md&&(ld.getComputedStyle(Kd).opacity,document.head.removeChild(Kd))});function Fd(Hd){var Gd;jd(qa,nd,(Gd=vd[Hd])!=null?Gd:Hd)}function Md(Hd){Ra.onChanged?Ra.onChanged(Hd,Fd):Fd(Hd)}watch(kd,Md,{flush:"post",immediate:!0}),tryOnMounted(()=>Md(kd.value));const Ld=computed({get(){return fd?Id.value:kd.value},set(Hd){Id.value=Hd}});return Object.assign(Ld,{store:Id,system:Nd,state:kd})}function useDark(Ra={}){const{valueDark:qa="dark",valueLight:nd=""}=Ra,od=useColorMode({...Ra,onChanged:(cd,dd)=>{var pd;Ra.onChanged?(pd=Ra.onChanged)==null||pd.call(Ra,cd==="dark",dd,cd):dd(cd)},modes:{dark:qa,light:nd}}),ld=computed(()=>od.system.value);return computed({get(){return od.value==="dark"},set(cd){const dd=cd?"dark":"light";ld.value===dd?od.value="auto":od.value=dd}})}const DEFAULT_OPTIONS={multiple:!0,accept:"*",reset:!1,directory:!1};function useFileDialog(Ra={}){const{document:qa=defaultDocument}=Ra,nd=ref$1(null),{on:od,trigger:ld}=createEventHook(),{on:ud,trigger:cd}=createEventHook();let dd;qa&&(dd=qa.createElement("input"),dd.type="file",dd.onchange=md=>{const vd=md.target;nd.value=vd.files,ld(nd.value)},dd.oncancel=()=>{cd()});const pd=()=>{nd.value=null,dd&&dd.value&&(dd.value="",ld(null))},fd=md=>{if(!dd)return;const vd={...DEFAULT_OPTIONS,...Ra,...md};dd.multiple=vd.multiple,dd.accept=vd.accept,dd.webkitdirectory=vd.directory,hasOwn$2(vd,"capture")&&(dd.capture=vd.capture),vd.reset&&pd(),dd.click()};return{files:readonly(nd),open:fd,reset:pd,onCancel:ud,onChange:od}}function useLocalStorage(Ra,qa,nd={}){const{window:od=defaultWindow}=nd;return useStorage(Ra,qa,od==null?void 0:od.localStorage,nd)}function useVModel(Ra,qa,nd,od={}){var ld,ud,cd;const{clone:dd=!1,passive:pd=!1,eventName:fd,deep:md=!1,defaultValue:vd,shouldEmit:Ad}=od,Nd=getCurrentInstance(),Id=nd||(Nd==null?void 0:Nd.emit)||((ld=Nd==null?void 0:Nd.$emit)==null?void 0:ld.bind(Nd))||((cd=(ud=Nd==null?void 0:Nd.proxy)==null?void 0:ud.$emit)==null?void 0:cd.bind(Nd==null?void 0:Nd.proxy));let kd=fd;kd=kd||`update:${qa.toString()}`;const jd=Ld=>dd?typeof dd=="function"?dd(Ld):cloneFnJSON(Ld):Ld,Fd=()=>isDef(Ra[qa])?jd(Ra[qa]):vd,Md=Ld=>{Ad?Ad(Ld)&&Id(kd,Ld):Id(kd,Ld)};if(pd){const Ld=Fd(),Hd=ref$1(Ld);let Gd=!1;return watch(()=>Ra[qa],Vd=>{Gd||(Gd=!0,Hd.value=jd(Vd),nextTick$1(()=>Gd=!1))}),watch(Hd,Vd=>{!Gd&&(Vd!==Ra[qa]||md)&&Md(Vd)},{deep:md}),Hd}else return computed({get(){return Fd()},set(Ld){Md(Ld)}})}const _sfc_main$14=defineComponent({__name:"Input",props:{defaultValue:{},modelValue:{},class:{}},setup(Ra,{emit:qa}){const nd=Ra,ld=useVModel(nd,"modelValue",qa,{passive:!0,defaultValue:nd.defaultValue});return(ud,cd)=>withDirectives((openBlock(),createElementBlock("input",{"onUpdate:modelValue":cd[0]||(cd[0]=dd=>isRef(ld)?ld.value=dd:null),class:normalizeClass(unref(cn$4)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",nd.class))},null,2)),[[vModelText,unref(ld)]])}}),_sfc_main$13=defineComponent({__name:"Tabs",props:{defaultValue:{},orientation:{},dir:{},activationMode:{},modelValue:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,cd)=>(openBlock(),createBlock(unref(fg),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$12=defineComponent({__name:"TabsContent",props:{value:{},forceMount:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(mg),mergeProps({class:unref(cn$4)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",qa.class)},nd.value),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$11=defineComponent({__name:"TabsList",props:{loop:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(vg),mergeProps(nd.value,{class:unref(cn$4)("inline-flex items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_hoisted_1$b={class:"truncate"},_sfc_main$10=defineComponent({__name:"TabsTrigger",props:{value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(hg),mergeProps(unref(od),{class:unref(cn$4)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",qa.class)}),{default:withCtx(()=>[createBaseVNode("span",_hoisted_1$b,[renderSlot(ld.$slots,"default")])]),_:3},16,["class"]))}}),DEFAULT_CONTENT=`# 探索 Markdown 的奇妙世界 + */const X$6=createLucideIcon("XIcon",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),_sfc_main$19=defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(xv),null,{default:withCtx(()=>[createVNode(unref(_u$3),{class:"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80"}),createVNode(unref(Cu$3),mergeProps(unref(ud),{class:unref(cn$4)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$slots,"default"),createVNode(unref(Ul$3),{class:"data-[state=open]:bg-accent ring-offset-background data-[state=open]:text-muted-foreground focus:ring-ring absolute right-4 top-4 rounded-sm opacity-70 transition-opacity disabled:pointer-events-none hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-offset-2"},{default:withCtx(()=>[createVNode(unref(X$6),{class:"h-4 w-4"}),dd[0]||(dd[0]=createBaseVNode("span",{class:"sr-only"},"Close",-1))]),_:1})]),_:3},16,["class"])]),_:3}))}}),_sfc_main$18=defineComponent({__name:"DialogFooter",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$4)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",qa.class))},[renderSlot(nd.$slots,"default")],2))}});function tryOnScopeDispose(Ra){return getCurrentScope()?(onScopeDispose(Ra),!0):!1}function createEventHook(){const Ra=new Set,qa=ld=>{Ra.delete(ld)};return{on:ld=>{Ra.add(ld);const ud=()=>qa(ld);return tryOnScopeDispose(ud),{off:ud}},off:qa,trigger:(...ld)=>Promise.all(Array.from(Ra).map(ud=>ud(...ld)))}}function toValue(Ra){return typeof Ra=="function"?Ra():unref(Ra)}const isClient=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const isDef=Ra=>typeof Ra<"u",toString$3=Object.prototype.toString,isObject$4=Ra=>toString$3.call(Ra)==="[object Object]",noop$5=()=>{},hasOwn$2=(Ra,qa)=>Object.prototype.hasOwnProperty.call(Ra,qa);function createFilterWrapper(Ra,qa){function nd(...od){return new Promise((ld,ud)=>{Promise.resolve(Ra(()=>qa.apply(this,od),{fn:qa,thisArg:this,args:od})).then(ld).catch(ud)})}return nd}const bypassFilter=Ra=>Ra();function pausableFilter(Ra=bypassFilter){const qa=ref$1(!0);function nd(){qa.value=!1}function od(){qa.value=!0}const ld=(...ud)=>{qa.value&&Ra(...ud)};return{isActive:readonly(qa),pause:nd,resume:od,eventFilter:ld}}function getLifeCycleTarget(Ra){return getCurrentInstance()}function toRef(...Ra){if(Ra.length!==1)return toRef$1(...Ra);const qa=Ra[0];return typeof qa=="function"?readonly(customRef(()=>({get:qa,set:noop$5}))):ref$1(qa)}function watchWithFilter(Ra,qa,nd={}){const{eventFilter:od=bypassFilter,...ld}=nd;return watch(Ra,createFilterWrapper(od,qa),ld)}function watchPausable(Ra,qa,nd={}){const{eventFilter:od,...ld}=nd,{eventFilter:ud,pause:cd,resume:dd,isActive:pd}=pausableFilter(od);return{stop:watchWithFilter(Ra,qa,{...ld,eventFilter:ud}),pause:cd,resume:dd,isActive:pd}}function tryOnMounted(Ra,qa=!0,nd){getLifeCycleTarget()?onMounted(Ra,nd):qa?Ra():nextTick$1(Ra)}function useToggle(Ra=!1,qa={}){const{truthyValue:nd=!0,falsyValue:od=!1}=qa,ld=isRef(Ra),ud=ref$1(Ra);function cd(dd){if(arguments.length)return ud.value=dd,ud.value;{const pd=toValue(nd);return ud.value=ud.value===pd?toValue(od):pd,ud.value}}return ld?cd:[ud,cd]}const defaultWindow=isClient?window:void 0,defaultDocument=isClient?window.document:void 0;function unrefElement(Ra){var qa;const nd=toValue(Ra);return(qa=nd==null?void 0:nd.$el)!=null?qa:nd}function useEventListener(...Ra){let qa,nd,od,ld;if(typeof Ra[0]=="string"||Array.isArray(Ra[0])?([nd,od,ld]=Ra,qa=defaultWindow):[qa,nd,od,ld]=Ra,!qa)return noop$5;Array.isArray(nd)||(nd=[nd]),Array.isArray(od)||(od=[od]);const ud=[],cd=()=>{ud.forEach(md=>md()),ud.length=0},dd=(md,vd,Ad,Nd)=>(md.addEventListener(vd,Ad,Nd),()=>md.removeEventListener(vd,Ad,Nd)),pd=watch(()=>[unrefElement(qa),toValue(ld)],([md,vd])=>{if(cd(),!md)return;const Ad=isObject$4(vd)?{...vd}:vd;ud.push(...nd.flatMap(Nd=>od.map(Id=>dd(md,Nd,Id,Ad))))},{immediate:!0,flush:"post"}),fd=()=>{pd(),cd()};return tryOnScopeDispose(fd),fd}function useMounted(){const Ra=ref$1(!1),qa=getCurrentInstance();return qa&&onMounted(()=>{Ra.value=!0},qa),Ra}function useSupported(Ra){const qa=useMounted();return computed(()=>(qa.value,!!Ra()))}function useMediaQuery(Ra,qa={}){const{window:nd=defaultWindow}=qa,od=useSupported(()=>nd&&"matchMedia"in nd&&typeof nd.matchMedia=="function");let ld;const ud=ref$1(!1),cd=fd=>{ud.value=fd.matches},dd=()=>{ld&&("removeEventListener"in ld?ld.removeEventListener("change",cd):ld.removeListener(cd))},pd=watchEffect(()=>{od.value&&(dd(),ld=nd.matchMedia(toValue(Ra)),"addEventListener"in ld?ld.addEventListener("change",cd):ld.addListener(cd),ud.value=ld.matches)});return tryOnScopeDispose(()=>{pd(),dd(),ld=void 0}),ud}function cloneFnJSON(Ra){return JSON.parse(JSON.stringify(Ra))}const _global$1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global$1<"u"?global$1:typeof self<"u"?self:{},globalKey="__vueuse_ssr_handlers__",handlers=getHandlers();function getHandlers(){return globalKey in _global$1||(_global$1[globalKey]=_global$1[globalKey]||{}),_global$1[globalKey]}function getSSRHandler(Ra,qa){return handlers[Ra]||qa}function usePreferredDark(Ra){return useMediaQuery("(prefers-color-scheme: dark)",Ra)}function guessSerializerType(Ra){return Ra==null?"any":Ra instanceof Set?"set":Ra instanceof Map?"map":Ra instanceof Date?"date":typeof Ra=="boolean"?"boolean":typeof Ra=="string"?"string":typeof Ra=="object"?"object":Number.isNaN(Ra)?"any":"number"}const StorageSerializers={boolean:{read:Ra=>Ra==="true",write:Ra=>String(Ra)},object:{read:Ra=>JSON.parse(Ra),write:Ra=>JSON.stringify(Ra)},number:{read:Ra=>Number.parseFloat(Ra),write:Ra=>String(Ra)},any:{read:Ra=>Ra,write:Ra=>String(Ra)},string:{read:Ra=>Ra,write:Ra=>String(Ra)},map:{read:Ra=>new Map(JSON.parse(Ra)),write:Ra=>JSON.stringify(Array.from(Ra.entries()))},set:{read:Ra=>new Set(JSON.parse(Ra)),write:Ra=>JSON.stringify(Array.from(Ra))},date:{read:Ra=>new Date(Ra),write:Ra=>Ra.toISOString()}},customStorageEventName="vueuse-storage";function useStorage(Ra,qa,nd,od={}){var ld;const{flush:ud="pre",deep:cd=!0,listenToStorageChanges:dd=!0,writeDefaults:pd=!0,mergeDefaults:fd=!1,shallow:md,window:vd=defaultWindow,eventFilter:Ad,onError:Nd=Zd=>{console.error(Zd)},initOnMounted:Id}=od,kd=(md?shallowRef:ref$1)(typeof qa=="function"?qa():qa);if(!nd)try{nd=getSSRHandler("getDefaultStorage",()=>{var Zd;return(Zd=defaultWindow)==null?void 0:Zd.localStorage})()}catch(Zd){Nd(Zd)}if(!nd)return kd;const jd=toValue(qa),Fd=guessSerializerType(jd),Md=(ld=od.serializer)!=null?ld:StorageSerializers[Fd],{pause:Ld,resume:Hd}=watchPausable(kd,()=>Vd(kd.value),{flush:ud,deep:cd,eventFilter:Ad});vd&&dd&&tryOnMounted(()=>{nd instanceof Storage?useEventListener(vd,"storage",mf):useEventListener(vd,customStorageEventName,Wd),Id&&mf()}),Id||mf();function Gd(Zd,Xd){if(vd){const bf={key:Ra,oldValue:Zd,newValue:Xd,storageArea:nd};vd.dispatchEvent(nd instanceof Storage?new StorageEvent("storage",bf):new CustomEvent(customStorageEventName,{detail:bf}))}}function Vd(Zd){try{const Xd=nd.getItem(Ra);if(Zd==null)Gd(Xd,null),nd.removeItem(Ra);else{const bf=Md.write(Zd);Xd!==bf&&(nd.setItem(Ra,bf),Gd(Xd,bf))}}catch(Xd){Nd(Xd)}}function Kd(Zd){const Xd=Zd?Zd.newValue:nd.getItem(Ra);if(Xd==null)return pd&&jd!=null&&nd.setItem(Ra,Md.write(jd)),jd;if(!Zd&&fd){const bf=Md.read(Xd);return typeof fd=="function"?fd(bf,jd):Fd==="object"&&!Array.isArray(bf)?{...jd,...bf}:bf}else return typeof Xd!="string"?Xd:Md.read(Xd)}function mf(Zd){if(!(Zd&&Zd.storageArea!==nd)){if(Zd&&Zd.key==null){kd.value=jd;return}if(!(Zd&&Zd.key!==Ra)){Ld();try{(Zd==null?void 0:Zd.newValue)!==Md.write(kd.value)&&(kd.value=Kd(Zd))}catch(Xd){Nd(Xd)}finally{Zd?nextTick$1(Hd):Hd()}}}}function Wd(Zd){mf(Zd.detail)}return kd}const CSS_DISABLE_TRANS="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function useColorMode(Ra={}){const{selector:qa="html",attribute:nd="class",initialValue:od="auto",window:ld=defaultWindow,storage:ud,storageKey:cd="vueuse-color-scheme",listenToStorageChanges:dd=!0,storageRef:pd,emitAuto:fd,disableTransition:md=!0}=Ra,vd={auto:"",light:"light",dark:"dark",...Ra.modes||{}},Ad=usePreferredDark({window:ld}),Nd=computed(()=>Ad.value?"dark":"light"),Id=pd||(cd==null?toRef(od):useStorage(cd,od,ud,{window:ld,listenToStorageChanges:dd})),kd=computed(()=>Id.value==="auto"?Nd.value:Id.value),jd=getSSRHandler("updateHTMLAttrs",(Hd,Gd,Vd)=>{const Kd=typeof Hd=="string"?ld==null?void 0:ld.document.querySelector(Hd):unrefElement(Hd);if(!Kd)return;const mf=new Set,Wd=new Set;let Zd=null;if(Gd==="class"){const bf=Vd.split(/\s/g);Object.values(vd).flatMap(yf=>(yf||"").split(/\s/g)).filter(Boolean).forEach(yf=>{bf.includes(yf)?mf.add(yf):Wd.add(yf)})}else Zd={key:Gd,value:Vd};if(mf.size===0&&Wd.size===0&&Zd===null)return;let Xd;md&&(Xd=ld.document.createElement("style"),Xd.appendChild(document.createTextNode(CSS_DISABLE_TRANS)),ld.document.head.appendChild(Xd));for(const bf of mf)Kd.classList.add(bf);for(const bf of Wd)Kd.classList.remove(bf);Zd&&Kd.setAttribute(Zd.key,Zd.value),md&&(ld.getComputedStyle(Xd).opacity,document.head.removeChild(Xd))});function Fd(Hd){var Gd;jd(qa,nd,(Gd=vd[Hd])!=null?Gd:Hd)}function Md(Hd){Ra.onChanged?Ra.onChanged(Hd,Fd):Fd(Hd)}watch(kd,Md,{flush:"post",immediate:!0}),tryOnMounted(()=>Md(kd.value));const Ld=computed({get(){return fd?Id.value:kd.value},set(Hd){Id.value=Hd}});return Object.assign(Ld,{store:Id,system:Nd,state:kd})}function useDark(Ra={}){const{valueDark:qa="dark",valueLight:nd=""}=Ra,od=useColorMode({...Ra,onChanged:(cd,dd)=>{var pd;Ra.onChanged?(pd=Ra.onChanged)==null||pd.call(Ra,cd==="dark",dd,cd):dd(cd)},modes:{dark:qa,light:nd}}),ld=computed(()=>od.system.value);return computed({get(){return od.value==="dark"},set(cd){const dd=cd?"dark":"light";ld.value===dd?od.value="auto":od.value=dd}})}const DEFAULT_OPTIONS={multiple:!0,accept:"*",reset:!1,directory:!1};function useFileDialog(Ra={}){const{document:qa=defaultDocument}=Ra,nd=ref$1(null),{on:od,trigger:ld}=createEventHook(),{on:ud,trigger:cd}=createEventHook();let dd;qa&&(dd=qa.createElement("input"),dd.type="file",dd.onchange=md=>{const vd=md.target;nd.value=vd.files,ld(nd.value)},dd.oncancel=()=>{cd()});const pd=()=>{nd.value=null,dd&&dd.value&&(dd.value="",ld(null))},fd=md=>{if(!dd)return;const vd={...DEFAULT_OPTIONS,...Ra,...md};dd.multiple=vd.multiple,dd.accept=vd.accept,dd.webkitdirectory=vd.directory,hasOwn$2(vd,"capture")&&(dd.capture=vd.capture),vd.reset&&pd(),dd.click()};return{files:readonly(nd),open:fd,reset:pd,onCancel:ud,onChange:od}}function useLocalStorage(Ra,qa,nd={}){const{window:od=defaultWindow}=nd;return useStorage(Ra,qa,od==null?void 0:od.localStorage,nd)}function useVModel(Ra,qa,nd,od={}){var ld,ud,cd;const{clone:dd=!1,passive:pd=!1,eventName:fd,deep:md=!1,defaultValue:vd,shouldEmit:Ad}=od,Nd=getCurrentInstance(),Id=nd||(Nd==null?void 0:Nd.emit)||((ld=Nd==null?void 0:Nd.$emit)==null?void 0:ld.bind(Nd))||((cd=(ud=Nd==null?void 0:Nd.proxy)==null?void 0:ud.$emit)==null?void 0:cd.bind(Nd==null?void 0:Nd.proxy));let kd=fd;kd=kd||`update:${qa.toString()}`;const jd=Ld=>dd?typeof dd=="function"?dd(Ld):cloneFnJSON(Ld):Ld,Fd=()=>isDef(Ra[qa])?jd(Ra[qa]):vd,Md=Ld=>{Ad?Ad(Ld)&&Id(kd,Ld):Id(kd,Ld)};if(pd){const Ld=Fd(),Hd=ref$1(Ld);let Gd=!1;return watch(()=>Ra[qa],Vd=>{Gd||(Gd=!0,Hd.value=jd(Vd),nextTick$1(()=>Gd=!1))}),watch(Hd,Vd=>{!Gd&&(Vd!==Ra[qa]||md)&&Md(Vd)},{deep:md}),Hd}else return computed({get(){return Fd()},set(Ld){Md(Ld)}})}const _sfc_main$17=defineComponent({__name:"Input",props:{defaultValue:{},modelValue:{},class:{}},setup(Ra,{emit:qa}){const nd=Ra,ld=useVModel(nd,"modelValue",qa,{passive:!0,defaultValue:nd.defaultValue});return(ud,cd)=>withDirectives((openBlock(),createElementBlock("input",{"onUpdate:modelValue":cd[0]||(cd[0]=dd=>isRef(ld)?ld.value=dd:null),class:normalizeClass(unref(cn$4)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",nd.class))},null,2)),[[vModelText,unref(ld)]])}}),_sfc_main$16=defineComponent({__name:"NumberField",props:{defaultValue:{},modelValue:{},min:{},max:{},step:{},formatOptions:{},locale:{},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},asChild:{type:Boolean},as:{},class:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(cy$1),mergeProps(unref(ud),{class:unref(cn$4)("grid gap-1.5",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$15=defineComponent({__name:"NumberFieldContent",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$4)("relative [&>[data-slot=input]]:has-[[data-slot=increment]]:pr-5 [&>[data-slot=input]]:has-[[data-slot=decrement]]:pl-5",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$14=defineComponent({__name:"NumberFieldIncrement",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(fy$1),mergeProps({"data-slot":"increment"},unref(od),{class:unref(cn$4)("absolute top-1/2 -translate-y-1/2 right-0 disabled:cursor-not-allowed disabled:opacity-20 p-3",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default",{},()=>[createVNode(unref(Plus),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),_sfc_main$13=defineComponent({__name:"NumberFieldInput",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(py$1),{"data-slot":"input",class:normalizeClass(unref(cn$4)("flex h-10 w-full rounded-md border border-input bg-background py-2 text-sm text-center ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",qa.class))},null,8,["class"]))}}),_sfc_main$12=defineComponent({__name:"NumberFieldDecrement",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(vy$1),mergeProps({"data-slot":"decrement"},unref(od),{class:unref(cn$4)("absolute top-1/2 -translate-y-1/2 left-0 p-3 disabled:cursor-not-allowed disabled:opacity-20",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default",{},()=>[createVNode(unref(Minus),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),_sfc_main$11=defineComponent({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(Ih),mergeProps(nd.value,{class:unref(cn$4)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$10=defineComponent({__name:"DialogHeader",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$4)("flex flex-col gap-y-1.5 text-center sm:text-left",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$$=defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(xu$2),mergeProps(unref(od),{class:unref(cn$4)("text-lg font-semibold leading-none tracking-tight",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"]))}}),DEFAULT_CONTENT=`# 探索 Markdown 的奇妙世界 欢迎来到 Markdown 的奇妙世界!无论你是写作爱好者、开发者、博主,还是想要简单记录点什么的人,Markdown 都能成为你新的好伙伴。它不仅让写作变得简单明了,还能轻松地将内容转化为漂亮的网页格式。今天,我们将全面探讨 Markdown 的基础和进阶语法,让你在这个过程中充分享受写作的乐趣! @@ -458,21 +458,21 @@ code_pre { * * @author Feross Aboukhadijeh * @license MIT - */(function(Ra){const qa=base64Js$1,nd=ieee754$1,od=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ra.Buffer=md,Ra.SlowBuffer=Gd,Ra.INSPECT_MAX_BYTES=50;const ld=2147483647;Ra.kMaxLength=ld;const{Uint8Array:ud,ArrayBuffer:cd,SharedArrayBuffer:dd}=globalThis;md.TYPED_ARRAY_SUPPORT=pd(),!md.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function pd(){try{const ph=new ud(1),Rf={foo:function(){return 42}};return Object.setPrototypeOf(Rf,ud.prototype),Object.setPrototypeOf(ph,Rf),ph.foo()===42}catch{return!1}}Object.defineProperty(md.prototype,"parent",{enumerable:!0,get:function(){if(md.isBuffer(this))return this.buffer}}),Object.defineProperty(md.prototype,"offset",{enumerable:!0,get:function(){if(md.isBuffer(this))return this.byteOffset}});function fd(ph){if(ph>ld)throw new RangeError('The value "'+ph+'" is invalid for option "size"');const Rf=new ud(ph);return Object.setPrototypeOf(Rf,md.prototype),Rf}function md(ph,Rf,wf){if(typeof ph=="number"){if(typeof Rf=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Id(ph)}return vd(ph,Rf,wf)}md.poolSize=8192;function vd(ph,Rf,wf){if(typeof ph=="string")return kd(ph,Rf);if(cd.isView(ph))return Fd(ph);if(ph==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ph);if(fm(ph,cd)||ph&&fm(ph.buffer,cd)||typeof dd<"u"&&(fm(ph,dd)||ph&&fm(ph.buffer,dd)))return Md(ph,Rf,wf);if(typeof ph=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const ch=ph.valueOf&&ph.valueOf();if(ch!=null&&ch!==ph)return md.from(ch,Rf,wf);const yh=Ld(ph);if(yh)return yh;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof ph[Symbol.toPrimitive]=="function")return md.from(ph[Symbol.toPrimitive]("string"),Rf,wf);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof ph)}md.from=function(ph,Rf,wf){return vd(ph,Rf,wf)},Object.setPrototypeOf(md.prototype,ud.prototype),Object.setPrototypeOf(md,ud);function Ad(ph){if(typeof ph!="number")throw new TypeError('"size" argument must be of type number');if(ph<0)throw new RangeError('The value "'+ph+'" is invalid for option "size"')}function Nd(ph,Rf,wf){return Ad(ph),ph<=0?fd(ph):Rf!==void 0?typeof wf=="string"?fd(ph).fill(Rf,wf):fd(ph).fill(Rf):fd(ph)}md.alloc=function(ph,Rf,wf){return Nd(ph,Rf,wf)};function Id(ph){return Ad(ph),fd(ph<0?0:Hd(ph)|0)}md.allocUnsafe=function(ph){return Id(ph)},md.allocUnsafeSlow=function(ph){return Id(ph)};function kd(ph,Rf){if((typeof Rf!="string"||Rf==="")&&(Rf="utf8"),!md.isEncoding(Rf))throw new TypeError("Unknown encoding: "+Rf);const wf=Vd(ph,Rf)|0;let ch=fd(wf);const yh=ch.write(ph,Rf);return yh!==wf&&(ch=ch.slice(0,yh)),ch}function jd(ph){const Rf=ph.length<0?0:Hd(ph.length)|0,wf=fd(Rf);for(let ch=0;ch=ld)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ld.toString(16)+" bytes");return ph|0}function Gd(ph){return+ph!=ph&&(ph=0),md.alloc(+ph)}md.isBuffer=function(Rf){return Rf!=null&&Rf._isBuffer===!0&&Rf!==md.prototype},md.compare=function(Rf,wf){if(fm(Rf,ud)&&(Rf=md.from(Rf,Rf.offset,Rf.byteLength)),fm(wf,ud)&&(wf=md.from(wf,wf.offset,wf.byteLength)),!md.isBuffer(Rf)||!md.isBuffer(wf))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Rf===wf)return 0;let ch=Rf.length,yh=wf.length;for(let Uh=0,Zh=Math.min(ch,yh);Uhyh.length?(md.isBuffer(Zh)||(Zh=md.from(Zh)),Zh.copy(yh,Uh)):ud.prototype.set.call(yh,Zh,Uh);else if(md.isBuffer(Zh))Zh.copy(yh,Uh);else throw new TypeError('"list" argument must be an Array of Buffers');Uh+=Zh.length}return yh};function Vd(ph,Rf){if(md.isBuffer(ph))return ph.length;if(cd.isView(ph)||fm(ph,cd))return ph.byteLength;if(typeof ph!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof ph);const wf=ph.length,ch=arguments.length>2&&arguments[2]===!0;if(!ch&&wf===0)return 0;let yh=!1;for(;;)switch(Rf){case"ascii":case"latin1":case"binary":return wf;case"utf8":case"utf-8":return vh(ph).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wf*2;case"hex":return wf>>>1;case"base64":return Vh(ph).length;default:if(yh)return ch?-1:vh(ph).length;Rf=(""+Rf).toLowerCase(),yh=!0}}md.byteLength=Vd;function Qd(ph,Rf,wf){let ch=!1;if((Rf===void 0||Rf<0)&&(Rf=0),Rf>this.length||((wf===void 0||wf>this.length)&&(wf=this.length),wf<=0)||(wf>>>=0,Rf>>>=0,wf<=Rf))return"";for(ph||(ph="utf8");;)switch(ph){case"hex":return jf(this,Rf,wf);case"utf8":case"utf-8":return Af(this,Rf,wf);case"ascii":return ih(this,Rf,wf);case"latin1":case"binary":return Zf(this,Rf,wf);case"base64":return xf(this,Rf,wf);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return If(this,Rf,wf);default:if(ch)throw new TypeError("Unknown encoding: "+ph);ph=(ph+"").toLowerCase(),ch=!0}}md.prototype._isBuffer=!0;function mf(ph,Rf,wf){const ch=ph[Rf];ph[Rf]=ph[wf],ph[wf]=ch}md.prototype.swap16=function(){const Rf=this.length;if(Rf%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let wf=0;wfwf&&(Rf+=" ... "),""},od&&(md.prototype[od]=md.prototype.inspect),md.prototype.compare=function(Rf,wf,ch,yh,Uh){if(fm(Rf,ud)&&(Rf=md.from(Rf,Rf.offset,Rf.byteLength)),!md.isBuffer(Rf))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Rf);if(wf===void 0&&(wf=0),ch===void 0&&(ch=Rf?Rf.length:0),yh===void 0&&(yh=0),Uh===void 0&&(Uh=this.length),wf<0||ch>Rf.length||yh<0||Uh>this.length)throw new RangeError("out of range index");if(yh>=Uh&&wf>=ch)return 0;if(yh>=Uh)return-1;if(wf>=ch)return 1;if(wf>>>=0,ch>>>=0,yh>>>=0,Uh>>>=0,this===Rf)return 0;let Zh=Uh-yh,_m=ch-wf;const Um=Math.min(Zh,_m),Om=this.slice(yh,Uh),r_=Rf.slice(wf,ch);for(let Xm=0;Xm2147483647?wf=2147483647:wf<-2147483648&&(wf=-2147483648),wf=+wf,Nm(wf)&&(wf=yh?0:ph.length-1),wf<0&&(wf=ph.length+wf),wf>=ph.length){if(yh)return-1;wf=ph.length-1}else if(wf<0)if(yh)wf=0;else return-1;if(typeof Rf=="string"&&(Rf=md.from(Rf,ch)),md.isBuffer(Rf))return Rf.length===0?-1:Zd(ph,Rf,wf,ch,yh);if(typeof Rf=="number")return Rf=Rf&255,typeof ud.prototype.indexOf=="function"?yh?ud.prototype.indexOf.call(ph,Rf,wf):ud.prototype.lastIndexOf.call(ph,Rf,wf):Zd(ph,[Rf],wf,ch,yh);throw new TypeError("val must be string, number or Buffer")}function Zd(ph,Rf,wf,ch,yh){let Uh=1,Zh=ph.length,_m=Rf.length;if(ch!==void 0&&(ch=String(ch).toLowerCase(),ch==="ucs2"||ch==="ucs-2"||ch==="utf16le"||ch==="utf-16le")){if(ph.length<2||Rf.length<2)return-1;Uh=2,Zh/=2,_m/=2,wf/=2}function Um(r_,Xm){return Uh===1?r_[Xm]:r_.readUInt16BE(Xm*Uh)}let Om;if(yh){let r_=-1;for(Om=wf;OmZh&&(wf=Zh-_m),Om=wf;Om>=0;Om--){let r_=!0;for(let Xm=0;Xm<_m;Xm++)if(Um(ph,Om+Xm)!==Um(Rf,Xm)){r_=!1;break}if(r_)return Om}return-1}md.prototype.includes=function(Rf,wf,ch){return this.indexOf(Rf,wf,ch)!==-1},md.prototype.indexOf=function(Rf,wf,ch){return Yd(this,Rf,wf,ch,!0)},md.prototype.lastIndexOf=function(Rf,wf,ch){return Yd(this,Rf,wf,ch,!1)};function Kd(ph,Rf,wf,ch){wf=Number(wf)||0;const yh=ph.length-wf;ch?(ch=Number(ch),ch>yh&&(ch=yh)):ch=yh;const Uh=Rf.length;ch>Uh/2&&(ch=Uh/2);let Zh;for(Zh=0;Zh>>0,isFinite(ch)?(ch=ch>>>0,yh===void 0&&(yh="utf8")):(yh=ch,ch=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const Uh=this.length-wf;if((ch===void 0||ch>Uh)&&(ch=Uh),Rf.length>0&&(ch<0||wf<0)||wf>this.length)throw new RangeError("Attempt to write outside buffer bounds");yh||(yh="utf8");let Zh=!1;for(;;)switch(yh){case"hex":return Kd(this,Rf,wf,ch);case"utf8":case"utf-8":return bf(this,Rf,wf,ch);case"ascii":case"latin1":case"binary":return gf(this,Rf,wf,ch);case"base64":return Ef(this,Rf,wf,ch);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return yf(this,Rf,wf,ch);default:if(Zh)throw new TypeError("Unknown encoding: "+yh);yh=(""+yh).toLowerCase(),Zh=!0}},md.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function xf(ph,Rf,wf){return Rf===0&&wf===ph.length?qa.fromByteArray(ph):qa.fromByteArray(ph.slice(Rf,wf))}function Af(ph,Rf,wf){wf=Math.min(ph.length,wf);const ch=[];let yh=Rf;for(;yh239?4:Uh>223?3:Uh>191?2:1;if(yh+_m<=wf){let Um,Om,r_,Xm;switch(_m){case 1:Uh<128&&(Zh=Uh);break;case 2:Um=ph[yh+1],(Um&192)===128&&(Xm=(Uh&31)<<6|Um&63,Xm>127&&(Zh=Xm));break;case 3:Um=ph[yh+1],Om=ph[yh+2],(Um&192)===128&&(Om&192)===128&&(Xm=(Uh&15)<<12|(Um&63)<<6|Om&63,Xm>2047&&(Xm<55296||Xm>57343)&&(Zh=Xm));break;case 4:Um=ph[yh+1],Om=ph[yh+2],r_=ph[yh+3],(Um&192)===128&&(Om&192)===128&&(r_&192)===128&&(Xm=(Uh&15)<<18|(Um&63)<<12|(Om&63)<<6|r_&63,Xm>65535&&Xm<1114112&&(Zh=Xm))}}Zh===null?(Zh=65533,_m=1):Zh>65535&&(Zh-=65536,ch.push(Zh>>>10&1023|55296),Zh=56320|Zh&1023),ch.push(Zh),yh+=_m}return Xf(ch)}const Lf=4096;function Xf(ph){const Rf=ph.length;if(Rf<=Lf)return String.fromCharCode.apply(String,ph);let wf="",ch=0;for(;chch)&&(wf=ch);let yh="";for(let Uh=Rf;Uhch&&(Rf=ch),wf<0?(wf+=ch,wf<0&&(wf=0)):wf>ch&&(wf=ch),wfwf)throw new RangeError("Trying to access beyond buffer length")}md.prototype.readUintLE=md.prototype.readUIntLE=function(Rf,wf,ch){Rf=Rf>>>0,wf=wf>>>0,ch||Uf(Rf,wf,this.length);let yh=this[Rf],Uh=1,Zh=0;for(;++Zh>>0,wf=wf>>>0,ch||Uf(Rf,wf,this.length);let yh=this[Rf+--wf],Uh=1;for(;wf>0&&(Uh*=256);)yh+=this[Rf+--wf]*Uh;return yh},md.prototype.readUint8=md.prototype.readUInt8=function(Rf,wf){return Rf=Rf>>>0,wf||Uf(Rf,1,this.length),this[Rf]},md.prototype.readUint16LE=md.prototype.readUInt16LE=function(Rf,wf){return Rf=Rf>>>0,wf||Uf(Rf,2,this.length),this[Rf]|this[Rf+1]<<8},md.prototype.readUint16BE=md.prototype.readUInt16BE=function(Rf,wf){return Rf=Rf>>>0,wf||Uf(Rf,2,this.length),this[Rf]<<8|this[Rf+1]},md.prototype.readUint32LE=md.prototype.readUInt32LE=function(Rf,wf){return Rf=Rf>>>0,wf||Uf(Rf,4,this.length),(this[Rf]|this[Rf+1]<<8|this[Rf+2]<<16)+this[Rf+3]*16777216},md.prototype.readUint32BE=md.prototype.readUInt32BE=function(Rf,wf){return Rf=Rf>>>0,wf||Uf(Rf,4,this.length),this[Rf]*16777216+(this[Rf+1]<<16|this[Rf+2]<<8|this[Rf+3])},md.prototype.readBigUInt64LE=Sm(function(Rf){Rf=Rf>>>0,Qf(Rf,"offset");const wf=this[Rf],ch=this[Rf+7];(wf===void 0||ch===void 0)&&Nf(Rf,this.length-8);const yh=wf+this[++Rf]*2**8+this[++Rf]*2**16+this[++Rf]*2**24,Uh=this[++Rf]+this[++Rf]*2**8+this[++Rf]*2**16+ch*2**24;return BigInt(yh)+(BigInt(Uh)<>>0,Qf(Rf,"offset");const wf=this[Rf],ch=this[Rf+7];(wf===void 0||ch===void 0)&&Nf(Rf,this.length-8);const yh=wf*2**24+this[++Rf]*2**16+this[++Rf]*2**8+this[++Rf],Uh=this[++Rf]*2**24+this[++Rf]*2**16+this[++Rf]*2**8+ch;return(BigInt(yh)<>>0,wf=wf>>>0,ch||Uf(Rf,wf,this.length);let yh=this[Rf],Uh=1,Zh=0;for(;++Zh=Uh&&(yh-=Math.pow(2,8*wf)),yh},md.prototype.readIntBE=function(Rf,wf,ch){Rf=Rf>>>0,wf=wf>>>0,ch||Uf(Rf,wf,this.length);let yh=wf,Uh=1,Zh=this[Rf+--yh];for(;yh>0&&(Uh*=256);)Zh+=this[Rf+--yh]*Uh;return Uh*=128,Zh>=Uh&&(Zh-=Math.pow(2,8*wf)),Zh},md.prototype.readInt8=function(Rf,wf){return Rf=Rf>>>0,wf||Uf(Rf,1,this.length),this[Rf]&128?(255-this[Rf]+1)*-1:this[Rf]},md.prototype.readInt16LE=function(Rf,wf){Rf=Rf>>>0,wf||Uf(Rf,2,this.length);const ch=this[Rf]|this[Rf+1]<<8;return ch&32768?ch|4294901760:ch},md.prototype.readInt16BE=function(Rf,wf){Rf=Rf>>>0,wf||Uf(Rf,2,this.length);const ch=this[Rf+1]|this[Rf]<<8;return ch&32768?ch|4294901760:ch},md.prototype.readInt32LE=function(Rf,wf){return Rf=Rf>>>0,wf||Uf(Rf,4,this.length),this[Rf]|this[Rf+1]<<8|this[Rf+2]<<16|this[Rf+3]<<24},md.prototype.readInt32BE=function(Rf,wf){return Rf=Rf>>>0,wf||Uf(Rf,4,this.length),this[Rf]<<24|this[Rf+1]<<16|this[Rf+2]<<8|this[Rf+3]},md.prototype.readBigInt64LE=Sm(function(Rf){Rf=Rf>>>0,Qf(Rf,"offset");const wf=this[Rf],ch=this[Rf+7];(wf===void 0||ch===void 0)&&Nf(Rf,this.length-8);const yh=this[Rf+4]+this[Rf+5]*2**8+this[Rf+6]*2**16+(ch<<24);return(BigInt(yh)<>>0,Qf(Rf,"offset");const wf=this[Rf],ch=this[Rf+7];(wf===void 0||ch===void 0)&&Nf(Rf,this.length-8);const yh=(wf<<24)+this[++Rf]*2**16+this[++Rf]*2**8+this[++Rf];return(BigInt(yh)<>>0,wf||Uf(Rf,4,this.length),nd.read(this,Rf,!0,23,4)},md.prototype.readFloatBE=function(Rf,wf){return Rf=Rf>>>0,wf||Uf(Rf,4,this.length),nd.read(this,Rf,!1,23,4)},md.prototype.readDoubleLE=function(Rf,wf){return Rf=Rf>>>0,wf||Uf(Rf,8,this.length),nd.read(this,Rf,!0,52,8)},md.prototype.readDoubleBE=function(Rf,wf){return Rf=Rf>>>0,wf||Uf(Rf,8,this.length),nd.read(this,Rf,!1,52,8)};function qf(ph,Rf,wf,ch,yh,Uh){if(!md.isBuffer(ph))throw new TypeError('"buffer" argument must be a Buffer instance');if(Rf>yh||Rfph.length)throw new RangeError("Index out of range")}md.prototype.writeUintLE=md.prototype.writeUIntLE=function(Rf,wf,ch,yh){if(Rf=+Rf,wf=wf>>>0,ch=ch>>>0,!yh){const _m=Math.pow(2,8*ch)-1;qf(this,Rf,wf,ch,_m,0)}let Uh=1,Zh=0;for(this[wf]=Rf&255;++Zh>>0,ch=ch>>>0,!yh){const _m=Math.pow(2,8*ch)-1;qf(this,Rf,wf,ch,_m,0)}let Uh=ch-1,Zh=1;for(this[wf+Uh]=Rf&255;--Uh>=0&&(Zh*=256);)this[wf+Uh]=Rf/Zh&255;return wf+ch},md.prototype.writeUint8=md.prototype.writeUInt8=function(Rf,wf,ch){return Rf=+Rf,wf=wf>>>0,ch||qf(this,Rf,wf,1,255,0),this[wf]=Rf&255,wf+1},md.prototype.writeUint16LE=md.prototype.writeUInt16LE=function(Rf,wf,ch){return Rf=+Rf,wf=wf>>>0,ch||qf(this,Rf,wf,2,65535,0),this[wf]=Rf&255,this[wf+1]=Rf>>>8,wf+2},md.prototype.writeUint16BE=md.prototype.writeUInt16BE=function(Rf,wf,ch){return Rf=+Rf,wf=wf>>>0,ch||qf(this,Rf,wf,2,65535,0),this[wf]=Rf>>>8,this[wf+1]=Rf&255,wf+2},md.prototype.writeUint32LE=md.prototype.writeUInt32LE=function(Rf,wf,ch){return Rf=+Rf,wf=wf>>>0,ch||qf(this,Rf,wf,4,4294967295,0),this[wf+3]=Rf>>>24,this[wf+2]=Rf>>>16,this[wf+1]=Rf>>>8,this[wf]=Rf&255,wf+4},md.prototype.writeUint32BE=md.prototype.writeUInt32BE=function(Rf,wf,ch){return Rf=+Rf,wf=wf>>>0,ch||qf(this,Rf,wf,4,4294967295,0),this[wf]=Rf>>>24,this[wf+1]=Rf>>>16,this[wf+2]=Rf>>>8,this[wf+3]=Rf&255,wf+4};function Kf(ph,Rf,wf,ch,yh){xh(Rf,ch,yh,ph,wf,7);let Uh=Number(Rf&BigInt(4294967295));ph[wf++]=Uh,Uh=Uh>>8,ph[wf++]=Uh,Uh=Uh>>8,ph[wf++]=Uh,Uh=Uh>>8,ph[wf++]=Uh;let Zh=Number(Rf>>BigInt(32)&BigInt(4294967295));return ph[wf++]=Zh,Zh=Zh>>8,ph[wf++]=Zh,Zh=Zh>>8,ph[wf++]=Zh,Zh=Zh>>8,ph[wf++]=Zh,wf}function Tf(ph,Rf,wf,ch,yh){xh(Rf,ch,yh,ph,wf,7);let Uh=Number(Rf&BigInt(4294967295));ph[wf+7]=Uh,Uh=Uh>>8,ph[wf+6]=Uh,Uh=Uh>>8,ph[wf+5]=Uh,Uh=Uh>>8,ph[wf+4]=Uh;let Zh=Number(Rf>>BigInt(32)&BigInt(4294967295));return ph[wf+3]=Zh,Zh=Zh>>8,ph[wf+2]=Zh,Zh=Zh>>8,ph[wf+1]=Zh,Zh=Zh>>8,ph[wf]=Zh,wf+8}md.prototype.writeBigUInt64LE=Sm(function(Rf,wf=0){return Kf(this,Rf,wf,BigInt(0),BigInt("0xffffffffffffffff"))}),md.prototype.writeBigUInt64BE=Sm(function(Rf,wf=0){return Tf(this,Rf,wf,BigInt(0),BigInt("0xffffffffffffffff"))}),md.prototype.writeIntLE=function(Rf,wf,ch,yh){if(Rf=+Rf,wf=wf>>>0,!yh){const Um=Math.pow(2,8*ch-1);qf(this,Rf,wf,ch,Um-1,-Um)}let Uh=0,Zh=1,_m=0;for(this[wf]=Rf&255;++Uh>0)-_m&255;return wf+ch},md.prototype.writeIntBE=function(Rf,wf,ch,yh){if(Rf=+Rf,wf=wf>>>0,!yh){const Um=Math.pow(2,8*ch-1);qf(this,Rf,wf,ch,Um-1,-Um)}let Uh=ch-1,Zh=1,_m=0;for(this[wf+Uh]=Rf&255;--Uh>=0&&(Zh*=256);)Rf<0&&_m===0&&this[wf+Uh+1]!==0&&(_m=1),this[wf+Uh]=(Rf/Zh>>0)-_m&255;return wf+ch},md.prototype.writeInt8=function(Rf,wf,ch){return Rf=+Rf,wf=wf>>>0,ch||qf(this,Rf,wf,1,127,-128),Rf<0&&(Rf=255+Rf+1),this[wf]=Rf&255,wf+1},md.prototype.writeInt16LE=function(Rf,wf,ch){return Rf=+Rf,wf=wf>>>0,ch||qf(this,Rf,wf,2,32767,-32768),this[wf]=Rf&255,this[wf+1]=Rf>>>8,wf+2},md.prototype.writeInt16BE=function(Rf,wf,ch){return Rf=+Rf,wf=wf>>>0,ch||qf(this,Rf,wf,2,32767,-32768),this[wf]=Rf>>>8,this[wf+1]=Rf&255,wf+2},md.prototype.writeInt32LE=function(Rf,wf,ch){return Rf=+Rf,wf=wf>>>0,ch||qf(this,Rf,wf,4,2147483647,-2147483648),this[wf]=Rf&255,this[wf+1]=Rf>>>8,this[wf+2]=Rf>>>16,this[wf+3]=Rf>>>24,wf+4},md.prototype.writeInt32BE=function(Rf,wf,ch){return Rf=+Rf,wf=wf>>>0,ch||qf(this,Rf,wf,4,2147483647,-2147483648),Rf<0&&(Rf=4294967295+Rf+1),this[wf]=Rf>>>24,this[wf+1]=Rf>>>16,this[wf+2]=Rf>>>8,this[wf+3]=Rf&255,wf+4},md.prototype.writeBigInt64LE=Sm(function(Rf,wf=0){return Kf(this,Rf,wf,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),md.prototype.writeBigInt64BE=Sm(function(Rf,wf=0){return Tf(this,Rf,wf,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function vf(ph,Rf,wf,ch,yh,Uh){if(wf+ch>ph.length)throw new RangeError("Index out of range");if(wf<0)throw new RangeError("Index out of range")}function Gf(ph,Rf,wf,ch,yh){return Rf=+Rf,wf=wf>>>0,yh||vf(ph,Rf,wf,4),nd.write(ph,Rf,wf,ch,23,4),wf+4}md.prototype.writeFloatLE=function(Rf,wf,ch){return Gf(this,Rf,wf,!0,ch)},md.prototype.writeFloatBE=function(Rf,wf,ch){return Gf(this,Rf,wf,!1,ch)};function Jf(ph,Rf,wf,ch,yh){return Rf=+Rf,wf=wf>>>0,yh||vf(ph,Rf,wf,8),nd.write(ph,Rf,wf,ch,52,8),wf+8}md.prototype.writeDoubleLE=function(Rf,wf,ch){return Jf(this,Rf,wf,!0,ch)},md.prototype.writeDoubleBE=function(Rf,wf,ch){return Jf(this,Rf,wf,!1,ch)},md.prototype.copy=function(Rf,wf,ch,yh){if(!md.isBuffer(Rf))throw new TypeError("argument should be a Buffer");if(ch||(ch=0),!yh&&yh!==0&&(yh=this.length),wf>=Rf.length&&(wf=Rf.length),wf||(wf=0),yh>0&&yh=this.length)throw new RangeError("Index out of range");if(yh<0)throw new RangeError("sourceEnd out of bounds");yh>this.length&&(yh=this.length),Rf.length-wf>>0,ch=ch===void 0?this.length:ch>>>0,Rf||(Rf=0);let Uh;if(typeof Rf=="number")for(Uh=wf;Uh2**32?yh=Pf(String(wf)):typeof wf=="bigint"&&(yh=String(wf),(wf>BigInt(2)**BigInt(32)||wf<-(BigInt(2)**BigInt(32)))&&(yh=Pf(yh)),yh+="n"),ch+=` It must be ${Rf}. Received ${yh}`,ch},RangeError);function Pf(ph){let Rf="",wf=ph.length;const ch=ph[0]==="-"?1:0;for(;wf>=ch+4;wf-=3)Rf=`_${ph.slice(wf-3,wf)}${Rf}`;return`${ph.slice(0,wf)}${Rf}`}function uh(ph,Rf,wf){Qf(Rf,"offset"),(ph[Rf]===void 0||ph[Rf+wf]===void 0)&&Nf(Rf,ph.length-(wf+1))}function xh(ph,Rf,wf,ch,yh,Uh){if(ph>wf||ph= 0${Zh} and < 2${Zh} ** ${(Uh+1)*8}${Zh}`:_m=`>= -(2${Zh} ** ${(Uh+1)*8-1}${Zh}) and < 2 ** ${(Uh+1)*8-1}${Zh}`,new gh.ERR_OUT_OF_RANGE("value",_m,ph)}uh(ch,yh,Uh)}function Qf(ph,Rf){if(typeof ph!="number")throw new gh.ERR_INVALID_ARG_TYPE(Rf,"number",ph)}function Nf(ph,Rf,wf){throw Math.floor(ph)!==ph?(Qf(ph,wf),new gh.ERR_OUT_OF_RANGE("offset","an integer",ph)):Rf<0?new gh.ERR_BUFFER_OUT_OF_BOUNDS:new gh.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${Rf}`,ph)}const $f=/[^+/0-9A-Za-z-_]/g;function Wf(ph){if(ph=ph.split("=")[0],ph=ph.trim().replace($f,""),ph.length<2)return"";for(;ph.length%4!==0;)ph=ph+"=";return ph}function vh(ph,Rf){Rf=Rf||1/0;let wf;const ch=ph.length;let yh=null;const Uh=[];for(let Zh=0;Zh55295&&wf<57344){if(!yh){if(wf>56319){(Rf-=3)>-1&&Uh.push(239,191,189);continue}else if(Zh+1===ch){(Rf-=3)>-1&&Uh.push(239,191,189);continue}yh=wf;continue}if(wf<56320){(Rf-=3)>-1&&Uh.push(239,191,189),yh=wf;continue}wf=(yh-55296<<10|wf-56320)+65536}else yh&&(Rf-=3)>-1&&Uh.push(239,191,189);if(yh=null,wf<128){if((Rf-=1)<0)break;Uh.push(wf)}else if(wf<2048){if((Rf-=2)<0)break;Uh.push(wf>>6|192,wf&63|128)}else if(wf<65536){if((Rf-=3)<0)break;Uh.push(wf>>12|224,wf>>6&63|128,wf&63|128)}else if(wf<1114112){if((Rf-=4)<0)break;Uh.push(wf>>18|240,wf>>12&63|128,wf>>6&63|128,wf&63|128)}else throw new Error("Invalid code point")}return Uh}function Th(ph){const Rf=[];for(let wf=0;wf>8,yh=wf%256,Uh.push(yh),Uh.push(ch);return Uh}function Vh(ph){return qa.toByteArray(Wf(ph))}function wh(ph,Rf,wf,ch){let yh;for(yh=0;yh=Rf.length||yh>=ph.length);++yh)Rf[yh+wf]=ph[yh];return yh}function fm(ph,Rf){return ph instanceof Rf||ph!=null&&ph.constructor!=null&&ph.constructor.name!=null&&ph.constructor.name===Rf.name}function Nm(ph){return ph!==ph}const cm=function(){const ph="0123456789abcdef",Rf=new Array(256);for(let wf=0;wf<16;++wf){const ch=wf*16;for(let yh=0;yh<16;++yh)Rf[ch+yh]=ph[wf]+ph[yh]}return Rf}();function Sm(ph){return typeof BigInt>"u"?$m:ph}function $m(){throw new Error("BigInt not supported")}})(buffer$1);const Buffer$4=buffer$1.Buffer;function getSymbols(Ra){return Object.getOwnPropertySymbols(Ra).filter(qa=>Object.prototype.propertyIsEnumerable.call(Ra,qa))}function cloneDeep(Ra){return cloneDeepImpl(Ra)}function cloneDeepImpl(Ra,qa=new Map){if(isPrimitive(Ra))return Ra;if(qa.has(Ra))return qa.get(Ra);if(Array.isArray(Ra)){const nd=new Array(Ra.length);qa.set(Ra,nd);for(let od=0;od0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(qa){this.children=qa}}class CDATA extends NodeWithChildren{constructor(){super(...arguments),this.type=ElementType.CDATA}get nodeType(){return 4}}class Document extends NodeWithChildren{constructor(){super(...arguments),this.type=ElementType.Root}get nodeType(){return 9}}let Element$1=class extends NodeWithChildren{constructor(qa,nd,od=[],ld=qa==="script"?ElementType.Script:qa==="style"?ElementType.Style:ElementType.Tag){super(od),this.name=qa,this.attribs=nd,this.type=ld}get nodeType(){return 1}get tagName(){return this.name}set tagName(qa){this.name=qa}get attributes(){return Object.keys(this.attribs).map(qa=>{var nd,od;return{name:qa,value:this.attribs[qa],namespace:(nd=this["x-attribsNamespace"])===null||nd===void 0?void 0:nd[qa],prefix:(od=this["x-attribsPrefix"])===null||od===void 0?void 0:od[qa]}})}};function isTag(Ra){return isTag$1(Ra)}function isCDATA(Ra){return Ra.type===ElementType.CDATA}function isText(Ra){return Ra.type===ElementType.Text}function isComment$1(Ra){return Ra.type===ElementType.Comment}function isDirective(Ra){return Ra.type===ElementType.Directive}function isDocument(Ra){return Ra.type===ElementType.Root}function hasChildren(Ra){return Object.prototype.hasOwnProperty.call(Ra,"children")}function cloneNode(Ra,qa=!1){let nd;if(isText(Ra))nd=new Text(Ra.data);else if(isComment$1(Ra))nd=new Comment(Ra.data);else if(isTag(Ra)){const od=qa?cloneChildren(Ra.children):[],ld=new Element$1(Ra.name,{...Ra.attribs},od);od.forEach(ud=>ud.parent=ld),Ra.namespace!=null&&(ld.namespace=Ra.namespace),Ra["x-attribsNamespace"]&&(ld["x-attribsNamespace"]={...Ra["x-attribsNamespace"]}),Ra["x-attribsPrefix"]&&(ld["x-attribsPrefix"]={...Ra["x-attribsPrefix"]}),nd=ld}else if(isCDATA(Ra)){const od=qa?cloneChildren(Ra.children):[],ld=new CDATA(od);od.forEach(ud=>ud.parent=ld),nd=ld}else if(isDocument(Ra)){const od=qa?cloneChildren(Ra.children):[],ld=new Document(od);od.forEach(ud=>ud.parent=ld),Ra["x-mode"]&&(ld["x-mode"]=Ra["x-mode"]),nd=ld}else if(isDirective(Ra)){const od=new ProcessingInstruction(Ra.name,Ra.data);Ra["x-name"]!=null&&(od["x-name"]=Ra["x-name"],od["x-publicId"]=Ra["x-publicId"],od["x-systemId"]=Ra["x-systemId"]),nd=od}else throw new Error(`Not implemented yet: ${Ra.type}`);return nd.startIndex=Ra.startIndex,nd.endIndex=Ra.endIndex,Ra.sourceCodeLocation!=null&&(nd.sourceCodeLocation=Ra.sourceCodeLocation),nd}function cloneChildren(Ra){const qa=Ra.map(nd=>cloneNode(nd,!0));for(let nd=1;nd䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(Ra=>Ra.charCodeAt(0))),xmlDecodeTree=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(Ra=>Ra.charCodeAt(0)));var _a$2;const decodeMap=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),fromCodePoint=(_a$2=String.fromCodePoint)!==null&&_a$2!==void 0?_a$2:function(Ra){let qa="";return Ra>65535&&(Ra-=65536,qa+=String.fromCharCode(Ra>>>10&1023|55296),Ra=56320|Ra&1023),qa+=String.fromCharCode(Ra),qa};function replaceCodePoint(Ra){var qa;return Ra>=55296&&Ra<=57343||Ra>1114111?65533:(qa=decodeMap.get(Ra))!==null&&qa!==void 0?qa:Ra}var CharCodes$1;(function(Ra){Ra[Ra.NUM=35]="NUM",Ra[Ra.SEMI=59]="SEMI",Ra[Ra.EQUALS=61]="EQUALS",Ra[Ra.ZERO=48]="ZERO",Ra[Ra.NINE=57]="NINE",Ra[Ra.LOWER_A=97]="LOWER_A",Ra[Ra.LOWER_F=102]="LOWER_F",Ra[Ra.LOWER_X=120]="LOWER_X",Ra[Ra.LOWER_Z=122]="LOWER_Z",Ra[Ra.UPPER_A=65]="UPPER_A",Ra[Ra.UPPER_F=70]="UPPER_F",Ra[Ra.UPPER_Z=90]="UPPER_Z"})(CharCodes$1||(CharCodes$1={}));const TO_LOWER_BIT=32;var BinTrieFlags;(function(Ra){Ra[Ra.VALUE_LENGTH=49152]="VALUE_LENGTH",Ra[Ra.BRANCH_LENGTH=16256]="BRANCH_LENGTH",Ra[Ra.JUMP_TABLE=127]="JUMP_TABLE"})(BinTrieFlags||(BinTrieFlags={}));function isNumber$2(Ra){return Ra>=CharCodes$1.ZERO&&Ra<=CharCodes$1.NINE}function isHexadecimalCharacter(Ra){return Ra>=CharCodes$1.UPPER_A&&Ra<=CharCodes$1.UPPER_F||Ra>=CharCodes$1.LOWER_A&&Ra<=CharCodes$1.LOWER_F}function isAsciiAlphaNumeric$1(Ra){return Ra>=CharCodes$1.UPPER_A&&Ra<=CharCodes$1.UPPER_Z||Ra>=CharCodes$1.LOWER_A&&Ra<=CharCodes$1.LOWER_Z||isNumber$2(Ra)}function isEntityInAttributeInvalidEnd(Ra){return Ra===CharCodes$1.EQUALS||isAsciiAlphaNumeric$1(Ra)}var EntityDecoderState;(function(Ra){Ra[Ra.EntityStart=0]="EntityStart",Ra[Ra.NumericStart=1]="NumericStart",Ra[Ra.NumericDecimal=2]="NumericDecimal",Ra[Ra.NumericHex=3]="NumericHex",Ra[Ra.NamedEntity=4]="NamedEntity"})(EntityDecoderState||(EntityDecoderState={}));var DecodingMode;(function(Ra){Ra[Ra.Legacy=0]="Legacy",Ra[Ra.Strict=1]="Strict",Ra[Ra.Attribute=2]="Attribute"})(DecodingMode||(DecodingMode={}));class EntityDecoder{constructor(qa,nd,od){this.decodeTree=qa,this.emitCodePoint=nd,this.errors=od,this.state=EntityDecoderState.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=DecodingMode.Strict}startEntity(qa){this.decodeMode=qa,this.state=EntityDecoderState.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(qa,nd){switch(this.state){case EntityDecoderState.EntityStart:return qa.charCodeAt(nd)===CharCodes$1.NUM?(this.state=EntityDecoderState.NumericStart,this.consumed+=1,this.stateNumericStart(qa,nd+1)):(this.state=EntityDecoderState.NamedEntity,this.stateNamedEntity(qa,nd));case EntityDecoderState.NumericStart:return this.stateNumericStart(qa,nd);case EntityDecoderState.NumericDecimal:return this.stateNumericDecimal(qa,nd);case EntityDecoderState.NumericHex:return this.stateNumericHex(qa,nd);case EntityDecoderState.NamedEntity:return this.stateNamedEntity(qa,nd)}}stateNumericStart(qa,nd){return nd>=qa.length?-1:(qa.charCodeAt(nd)|TO_LOWER_BIT)===CharCodes$1.LOWER_X?(this.state=EntityDecoderState.NumericHex,this.consumed+=1,this.stateNumericHex(qa,nd+1)):(this.state=EntityDecoderState.NumericDecimal,this.stateNumericDecimal(qa,nd))}addToNumericResult(qa,nd,od,ld){if(nd!==od){const ud=od-nd;this.result=this.result*Math.pow(ld,ud)+parseInt(qa.substr(nd,ud),ld),this.consumed+=ud}}stateNumericHex(qa,nd){const od=nd;for(;nd>14;for(;nd>14,ud!==0){if(cd===CharCodes$1.SEMI)return this.emitNamedEntityData(this.treeIndex,ud,this.consumed+this.excess);this.decodeMode!==DecodingMode.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var qa;const{result:nd,decodeTree:od}=this,ld=(od[nd]&BinTrieFlags.VALUE_LENGTH)>>14;return this.emitNamedEntityData(nd,ld,this.consumed),(qa=this.errors)===null||qa===void 0||qa.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(qa,nd,od){const{decodeTree:ld}=this;return this.emitCodePoint(nd===1?ld[qa]&~BinTrieFlags.VALUE_LENGTH:ld[qa+1],od),nd===3&&this.emitCodePoint(ld[qa+2],od),od}end(){var qa;switch(this.state){case EntityDecoderState.NamedEntity:return this.result!==0&&(this.decodeMode!==DecodingMode.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case EntityDecoderState.NumericDecimal:return this.emitNumericEntity(0,2);case EntityDecoderState.NumericHex:return this.emitNumericEntity(0,3);case EntityDecoderState.NumericStart:return(qa=this.errors)===null||qa===void 0||qa.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case EntityDecoderState.EntityStart:return 0}}}function getDecoder(Ra){let qa="";const nd=new EntityDecoder(Ra,od=>qa+=fromCodePoint(od));return function(ld,ud){let cd=0,dd=0;for(;(dd=ld.indexOf("&",dd))>=0;){qa+=ld.slice(cd,dd),nd.startEntity(ud);const fd=nd.write(ld,dd+1);if(fd<0){cd=dd+nd.end();break}cd=dd+fd,dd=fd===0?cd+1:cd}const pd=qa+ld.slice(cd);return qa="",pd}}function determineBranch(Ra,qa,nd,od){const ld=(qa&BinTrieFlags.BRANCH_LENGTH)>>7,ud=qa&BinTrieFlags.JUMP_TABLE;if(ld===0)return ud!==0&&od===ud?nd:-1;if(ud){const pd=od-ud;return pd<0||pd>=ld?-1:Ra[nd+pd]-1}let cd=nd,dd=cd+ld-1;for(;cd<=dd;){const pd=cd+dd>>>1,fd=Ra[pd];if(fdod)dd=pd-1;else return Ra[pd+ld]}return-1}getDecoder(htmlDecodeTree);getDecoder(xmlDecodeTree);const xmlReplacer=/["&'<>$\x80-\uFFFF]/g,xmlCodeMap=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),getCodePoint=String.prototype.codePointAt!=null?(Ra,qa)=>Ra.codePointAt(qa):(Ra,qa)=>(Ra.charCodeAt(qa)&64512)===55296?(Ra.charCodeAt(qa)-55296)*1024+Ra.charCodeAt(qa+1)-56320+65536:Ra.charCodeAt(qa);function encodeXML(Ra){let qa="",nd=0,od;for(;(od=xmlReplacer.exec(Ra))!==null;){const ld=od.index,ud=Ra.charCodeAt(ld),cd=xmlCodeMap.get(ud);cd!==void 0?(qa+=Ra.substring(nd,ld)+cd,nd=ld+1):(qa+=`${Ra.substring(nd,ld)}&#x${getCodePoint(Ra,ld).toString(16)};`,nd=xmlReplacer.lastIndex+=+((ud&64512)===55296))}return qa+Ra.substr(nd)}function getEscaper(Ra,qa){return function(od){let ld,ud=0,cd="";for(;ld=Ra.exec(od);)ud!==ld.index&&(cd+=od.substring(ud,ld.index)),cd+=qa.get(ld[0].charCodeAt(0)),ud=ld.index+1;return cd+od.substring(ud)}}const escapeAttribute=getEscaper(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),escapeText=getEscaper(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(Ra=>[Ra.toLowerCase(),Ra])),attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(Ra=>[Ra.toLowerCase(),Ra])),unencodedElements=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function replaceQuotes(Ra){return Ra.replace(/"/g,""")}function formatAttributes(Ra,qa){var nd;if(!Ra)return;const od=((nd=qa.encodeEntities)!==null&&nd!==void 0?nd:qa.decodeEntities)===!1?replaceQuotes:qa.xmlMode||qa.encodeEntities!=="utf8"?encodeXML:escapeAttribute;return Object.keys(Ra).map(ld=>{var ud,cd;const dd=(ud=Ra[ld])!==null&&ud!==void 0?ud:"";return qa.xmlMode==="foreign"&&(ld=(cd=attributeNames.get(ld))!==null&&cd!==void 0?cd:ld),!qa.emptyAttrs&&!qa.xmlMode&&dd===""?ld:`${ld}="${od(dd)}"`}).join(" ")}const singleTag=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function render$3(Ra,qa={}){const nd="length"in Ra?Ra:[Ra];let od="";for(let ld=0;ld0&&(od+=render$3(Ra.children,qa)),(qa.xmlMode||!singleTag.has(Ra.name))&&(od+=``)),od}function renderDirective(Ra){return`<${Ra.data}>`}function renderText(Ra,qa){var nd;let od=Ra.data||"";return((nd=qa.encodeEntities)!==null&&nd!==void 0?nd:qa.decodeEntities)!==!1&&!(!qa.xmlMode&&Ra.parent&&unencodedElements.has(Ra.parent.name))&&(od=qa.xmlMode||qa.encodeEntities!=="utf8"?encodeXML(od):escapeText(od)),od}function renderCdata(Ra){return``}function renderComment(Ra){return``}function getOuterHTML(Ra,qa){return render$3(Ra,qa)}function getInnerHTML(Ra,qa){return hasChildren(Ra)?Ra.children.map(nd=>getOuterHTML(nd,qa)).join(""):""}function getText(Ra){return Array.isArray(Ra)?Ra.map(getText).join(""):isTag(Ra)?Ra.name==="br"?` + */(function(Ra){const qa=base64Js$1,nd=ieee754$1,od=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ra.Buffer=md,Ra.SlowBuffer=Gd,Ra.INSPECT_MAX_BYTES=50;const ld=2147483647;Ra.kMaxLength=ld;const{Uint8Array:ud,ArrayBuffer:cd,SharedArrayBuffer:dd}=globalThis;md.TYPED_ARRAY_SUPPORT=pd(),!md.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function pd(){try{const fh=new ud(1),Rf={foo:function(){return 42}};return Object.setPrototypeOf(Rf,ud.prototype),Object.setPrototypeOf(fh,Rf),fh.foo()===42}catch{return!1}}Object.defineProperty(md.prototype,"parent",{enumerable:!0,get:function(){if(md.isBuffer(this))return this.buffer}}),Object.defineProperty(md.prototype,"offset",{enumerable:!0,get:function(){if(md.isBuffer(this))return this.byteOffset}});function fd(fh){if(fh>ld)throw new RangeError('The value "'+fh+'" is invalid for option "size"');const Rf=new ud(fh);return Object.setPrototypeOf(Rf,md.prototype),Rf}function md(fh,Rf,If){if(typeof fh=="number"){if(typeof Rf=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Id(fh)}return vd(fh,Rf,If)}md.poolSize=8192;function vd(fh,Rf,If){if(typeof fh=="string")return kd(fh,Rf);if(cd.isView(fh))return Fd(fh);if(fh==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof fh);if(fm(fh,cd)||fh&&fm(fh.buffer,cd)||typeof dd<"u"&&(fm(fh,dd)||fh&&fm(fh.buffer,dd)))return Md(fh,Rf,If);if(typeof fh=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const dh=fh.valueOf&&fh.valueOf();if(dh!=null&&dh!==fh)return md.from(dh,Rf,If);const yh=Ld(fh);if(yh)return yh;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof fh[Symbol.toPrimitive]=="function")return md.from(fh[Symbol.toPrimitive]("string"),Rf,If);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof fh)}md.from=function(fh,Rf,If){return vd(fh,Rf,If)},Object.setPrototypeOf(md.prototype,ud.prototype),Object.setPrototypeOf(md,ud);function Ad(fh){if(typeof fh!="number")throw new TypeError('"size" argument must be of type number');if(fh<0)throw new RangeError('The value "'+fh+'" is invalid for option "size"')}function Nd(fh,Rf,If){return Ad(fh),fh<=0?fd(fh):Rf!==void 0?typeof If=="string"?fd(fh).fill(Rf,If):fd(fh).fill(Rf):fd(fh)}md.alloc=function(fh,Rf,If){return Nd(fh,Rf,If)};function Id(fh){return Ad(fh),fd(fh<0?0:Hd(fh)|0)}md.allocUnsafe=function(fh){return Id(fh)},md.allocUnsafeSlow=function(fh){return Id(fh)};function kd(fh,Rf){if((typeof Rf!="string"||Rf==="")&&(Rf="utf8"),!md.isEncoding(Rf))throw new TypeError("Unknown encoding: "+Rf);const If=Vd(fh,Rf)|0;let dh=fd(If);const yh=dh.write(fh,Rf);return yh!==If&&(dh=dh.slice(0,yh)),dh}function jd(fh){const Rf=fh.length<0?0:Hd(fh.length)|0,If=fd(Rf);for(let dh=0;dh=ld)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ld.toString(16)+" bytes");return fh|0}function Gd(fh){return+fh!=fh&&(fh=0),md.alloc(+fh)}md.isBuffer=function(Rf){return Rf!=null&&Rf._isBuffer===!0&&Rf!==md.prototype},md.compare=function(Rf,If){if(fm(Rf,ud)&&(Rf=md.from(Rf,Rf.offset,Rf.byteLength)),fm(If,ud)&&(If=md.from(If,If.offset,If.byteLength)),!md.isBuffer(Rf)||!md.isBuffer(If))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Rf===If)return 0;let dh=Rf.length,yh=If.length;for(let Uh=0,Zh=Math.min(dh,yh);Uhyh.length?(md.isBuffer(Zh)||(Zh=md.from(Zh)),Zh.copy(yh,Uh)):ud.prototype.set.call(yh,Zh,Uh);else if(md.isBuffer(Zh))Zh.copy(yh,Uh);else throw new TypeError('"list" argument must be an Array of Buffers');Uh+=Zh.length}return yh};function Vd(fh,Rf){if(md.isBuffer(fh))return fh.length;if(cd.isView(fh)||fm(fh,cd))return fh.byteLength;if(typeof fh!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof fh);const If=fh.length,dh=arguments.length>2&&arguments[2]===!0;if(!dh&&If===0)return 0;let yh=!1;for(;;)switch(Rf){case"ascii":case"latin1":case"binary":return If;case"utf8":case"utf-8":return vh(fh).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return If*2;case"hex":return If>>>1;case"base64":return Vh(fh).length;default:if(yh)return dh?-1:vh(fh).length;Rf=(""+Rf).toLowerCase(),yh=!0}}md.byteLength=Vd;function Kd(fh,Rf,If){let dh=!1;if((Rf===void 0||Rf<0)&&(Rf=0),Rf>this.length||((If===void 0||If>this.length)&&(If=this.length),If<=0)||(If>>>=0,Rf>>>=0,If<=Rf))return"";for(fh||(fh="utf8");;)switch(fh){case"hex":return Bf(this,Rf,If);case"utf8":case"utf-8":return Af(this,Rf,If);case"ascii":return Jf(this,Rf,If);case"latin1":case"binary":return Zf(this,Rf,If);case"base64":return xf(this,Rf,If);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Df(this,Rf,If);default:if(dh)throw new TypeError("Unknown encoding: "+fh);fh=(fh+"").toLowerCase(),dh=!0}}md.prototype._isBuffer=!0;function mf(fh,Rf,If){const dh=fh[Rf];fh[Rf]=fh[If],fh[If]=dh}md.prototype.swap16=function(){const Rf=this.length;if(Rf%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let If=0;IfIf&&(Rf+=" ... "),""},od&&(md.prototype[od]=md.prototype.inspect),md.prototype.compare=function(Rf,If,dh,yh,Uh){if(fm(Rf,ud)&&(Rf=md.from(Rf,Rf.offset,Rf.byteLength)),!md.isBuffer(Rf))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Rf);if(If===void 0&&(If=0),dh===void 0&&(dh=Rf?Rf.length:0),yh===void 0&&(yh=0),Uh===void 0&&(Uh=this.length),If<0||dh>Rf.length||yh<0||Uh>this.length)throw new RangeError("out of range index");if(yh>=Uh&&If>=dh)return 0;if(yh>=Uh)return-1;if(If>=dh)return 1;if(If>>>=0,dh>>>=0,yh>>>=0,Uh>>>=0,this===Rf)return 0;let Zh=Uh-yh,_m=dh-If;const Um=Math.min(Zh,_m),Om=this.slice(yh,Uh),r_=Rf.slice(If,dh);for(let Xm=0;Xm2147483647?If=2147483647:If<-2147483648&&(If=-2147483648),If=+If,Nm(If)&&(If=yh?0:fh.length-1),If<0&&(If=fh.length+If),If>=fh.length){if(yh)return-1;If=fh.length-1}else if(If<0)if(yh)If=0;else return-1;if(typeof Rf=="string"&&(Rf=md.from(Rf,dh)),md.isBuffer(Rf))return Rf.length===0?-1:Zd(fh,Rf,If,dh,yh);if(typeof Rf=="number")return Rf=Rf&255,typeof ud.prototype.indexOf=="function"?yh?ud.prototype.indexOf.call(fh,Rf,If):ud.prototype.lastIndexOf.call(fh,Rf,If):Zd(fh,[Rf],If,dh,yh);throw new TypeError("val must be string, number or Buffer")}function Zd(fh,Rf,If,dh,yh){let Uh=1,Zh=fh.length,_m=Rf.length;if(dh!==void 0&&(dh=String(dh).toLowerCase(),dh==="ucs2"||dh==="ucs-2"||dh==="utf16le"||dh==="utf-16le")){if(fh.length<2||Rf.length<2)return-1;Uh=2,Zh/=2,_m/=2,If/=2}function Um(r_,Xm){return Uh===1?r_[Xm]:r_.readUInt16BE(Xm*Uh)}let Om;if(yh){let r_=-1;for(Om=If;OmZh&&(If=Zh-_m),Om=If;Om>=0;Om--){let r_=!0;for(let Xm=0;Xm<_m;Xm++)if(Um(fh,Om+Xm)!==Um(Rf,Xm)){r_=!1;break}if(r_)return Om}return-1}md.prototype.includes=function(Rf,If,dh){return this.indexOf(Rf,If,dh)!==-1},md.prototype.indexOf=function(Rf,If,dh){return Wd(this,Rf,If,dh,!0)},md.prototype.lastIndexOf=function(Rf,If,dh){return Wd(this,Rf,If,dh,!1)};function Xd(fh,Rf,If,dh){If=Number(If)||0;const yh=fh.length-If;dh?(dh=Number(dh),dh>yh&&(dh=yh)):dh=yh;const Uh=Rf.length;dh>Uh/2&&(dh=Uh/2);let Zh;for(Zh=0;Zh>>0,isFinite(dh)?(dh=dh>>>0,yh===void 0&&(yh="utf8")):(yh=dh,dh=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const Uh=this.length-If;if((dh===void 0||dh>Uh)&&(dh=Uh),Rf.length>0&&(dh<0||If<0)||If>this.length)throw new RangeError("Attempt to write outside buffer bounds");yh||(yh="utf8");let Zh=!1;for(;;)switch(yh){case"hex":return Xd(this,Rf,If,dh);case"utf8":case"utf-8":return bf(this,Rf,If,dh);case"ascii":case"latin1":case"binary":return yf(this,Rf,If,dh);case"base64":return Ef(this,Rf,If,dh);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return gf(this,Rf,If,dh);default:if(Zh)throw new TypeError("Unknown encoding: "+yh);yh=(""+yh).toLowerCase(),Zh=!0}},md.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function xf(fh,Rf,If){return Rf===0&&If===fh.length?qa.fromByteArray(fh):qa.fromByteArray(fh.slice(Rf,If))}function Af(fh,Rf,If){If=Math.min(fh.length,If);const dh=[];let yh=Rf;for(;yh239?4:Uh>223?3:Uh>191?2:1;if(yh+_m<=If){let Um,Om,r_,Xm;switch(_m){case 1:Uh<128&&(Zh=Uh);break;case 2:Um=fh[yh+1],(Um&192)===128&&(Xm=(Uh&31)<<6|Um&63,Xm>127&&(Zh=Xm));break;case 3:Um=fh[yh+1],Om=fh[yh+2],(Um&192)===128&&(Om&192)===128&&(Xm=(Uh&15)<<12|(Um&63)<<6|Om&63,Xm>2047&&(Xm<55296||Xm>57343)&&(Zh=Xm));break;case 4:Um=fh[yh+1],Om=fh[yh+2],r_=fh[yh+3],(Um&192)===128&&(Om&192)===128&&(r_&192)===128&&(Xm=(Uh&15)<<18|(Um&63)<<12|(Om&63)<<6|r_&63,Xm>65535&&Xm<1114112&&(Zh=Xm))}}Zh===null?(Zh=65533,_m=1):Zh>65535&&(Zh-=65536,dh.push(Zh>>>10&1023|55296),Zh=56320|Zh&1023),dh.push(Zh),yh+=_m}return Xf(dh)}const Lf=4096;function Xf(fh){const Rf=fh.length;if(Rf<=Lf)return String.fromCharCode.apply(String,fh);let If="",dh=0;for(;dhdh)&&(If=dh);let yh="";for(let Uh=Rf;Uhdh&&(Rf=dh),If<0?(If+=dh,If<0&&(If=0)):If>dh&&(If=dh),IfIf)throw new RangeError("Trying to access beyond buffer length")}md.prototype.readUintLE=md.prototype.readUIntLE=function(Rf,If,dh){Rf=Rf>>>0,If=If>>>0,dh||Uf(Rf,If,this.length);let yh=this[Rf],Uh=1,Zh=0;for(;++Zh>>0,If=If>>>0,dh||Uf(Rf,If,this.length);let yh=this[Rf+--If],Uh=1;for(;If>0&&(Uh*=256);)yh+=this[Rf+--If]*Uh;return yh},md.prototype.readUint8=md.prototype.readUInt8=function(Rf,If){return Rf=Rf>>>0,If||Uf(Rf,1,this.length),this[Rf]},md.prototype.readUint16LE=md.prototype.readUInt16LE=function(Rf,If){return Rf=Rf>>>0,If||Uf(Rf,2,this.length),this[Rf]|this[Rf+1]<<8},md.prototype.readUint16BE=md.prototype.readUInt16BE=function(Rf,If){return Rf=Rf>>>0,If||Uf(Rf,2,this.length),this[Rf]<<8|this[Rf+1]},md.prototype.readUint32LE=md.prototype.readUInt32LE=function(Rf,If){return Rf=Rf>>>0,If||Uf(Rf,4,this.length),(this[Rf]|this[Rf+1]<<8|this[Rf+2]<<16)+this[Rf+3]*16777216},md.prototype.readUint32BE=md.prototype.readUInt32BE=function(Rf,If){return Rf=Rf>>>0,If||Uf(Rf,4,this.length),this[Rf]*16777216+(this[Rf+1]<<16|this[Rf+2]<<8|this[Rf+3])},md.prototype.readBigUInt64LE=Sm(function(Rf){Rf=Rf>>>0,Qf(Rf,"offset");const If=this[Rf],dh=this[Rf+7];(If===void 0||dh===void 0)&&wf(Rf,this.length-8);const yh=If+this[++Rf]*2**8+this[++Rf]*2**16+this[++Rf]*2**24,Uh=this[++Rf]+this[++Rf]*2**8+this[++Rf]*2**16+dh*2**24;return BigInt(yh)+(BigInt(Uh)<>>0,Qf(Rf,"offset");const If=this[Rf],dh=this[Rf+7];(If===void 0||dh===void 0)&&wf(Rf,this.length-8);const yh=If*2**24+this[++Rf]*2**16+this[++Rf]*2**8+this[++Rf],Uh=this[++Rf]*2**24+this[++Rf]*2**16+this[++Rf]*2**8+dh;return(BigInt(yh)<>>0,If=If>>>0,dh||Uf(Rf,If,this.length);let yh=this[Rf],Uh=1,Zh=0;for(;++Zh=Uh&&(yh-=Math.pow(2,8*If)),yh},md.prototype.readIntBE=function(Rf,If,dh){Rf=Rf>>>0,If=If>>>0,dh||Uf(Rf,If,this.length);let yh=If,Uh=1,Zh=this[Rf+--yh];for(;yh>0&&(Uh*=256);)Zh+=this[Rf+--yh]*Uh;return Uh*=128,Zh>=Uh&&(Zh-=Math.pow(2,8*If)),Zh},md.prototype.readInt8=function(Rf,If){return Rf=Rf>>>0,If||Uf(Rf,1,this.length),this[Rf]&128?(255-this[Rf]+1)*-1:this[Rf]},md.prototype.readInt16LE=function(Rf,If){Rf=Rf>>>0,If||Uf(Rf,2,this.length);const dh=this[Rf]|this[Rf+1]<<8;return dh&32768?dh|4294901760:dh},md.prototype.readInt16BE=function(Rf,If){Rf=Rf>>>0,If||Uf(Rf,2,this.length);const dh=this[Rf+1]|this[Rf]<<8;return dh&32768?dh|4294901760:dh},md.prototype.readInt32LE=function(Rf,If){return Rf=Rf>>>0,If||Uf(Rf,4,this.length),this[Rf]|this[Rf+1]<<8|this[Rf+2]<<16|this[Rf+3]<<24},md.prototype.readInt32BE=function(Rf,If){return Rf=Rf>>>0,If||Uf(Rf,4,this.length),this[Rf]<<24|this[Rf+1]<<16|this[Rf+2]<<8|this[Rf+3]},md.prototype.readBigInt64LE=Sm(function(Rf){Rf=Rf>>>0,Qf(Rf,"offset");const If=this[Rf],dh=this[Rf+7];(If===void 0||dh===void 0)&&wf(Rf,this.length-8);const yh=this[Rf+4]+this[Rf+5]*2**8+this[Rf+6]*2**16+(dh<<24);return(BigInt(yh)<>>0,Qf(Rf,"offset");const If=this[Rf],dh=this[Rf+7];(If===void 0||dh===void 0)&&wf(Rf,this.length-8);const yh=(If<<24)+this[++Rf]*2**16+this[++Rf]*2**8+this[++Rf];return(BigInt(yh)<>>0,If||Uf(Rf,4,this.length),nd.read(this,Rf,!0,23,4)},md.prototype.readFloatBE=function(Rf,If){return Rf=Rf>>>0,If||Uf(Rf,4,this.length),nd.read(this,Rf,!1,23,4)},md.prototype.readDoubleLE=function(Rf,If){return Rf=Rf>>>0,If||Uf(Rf,8,this.length),nd.read(this,Rf,!0,52,8)},md.prototype.readDoubleBE=function(Rf,If){return Rf=Rf>>>0,If||Uf(Rf,8,this.length),nd.read(this,Rf,!1,52,8)};function Gf(fh,Rf,If,dh,yh,Uh){if(!md.isBuffer(fh))throw new TypeError('"buffer" argument must be a Buffer instance');if(Rf>yh||Rffh.length)throw new RangeError("Index out of range")}md.prototype.writeUintLE=md.prototype.writeUIntLE=function(Rf,If,dh,yh){if(Rf=+Rf,If=If>>>0,dh=dh>>>0,!yh){const _m=Math.pow(2,8*dh)-1;Gf(this,Rf,If,dh,_m,0)}let Uh=1,Zh=0;for(this[If]=Rf&255;++Zh>>0,dh=dh>>>0,!yh){const _m=Math.pow(2,8*dh)-1;Gf(this,Rf,If,dh,_m,0)}let Uh=dh-1,Zh=1;for(this[If+Uh]=Rf&255;--Uh>=0&&(Zh*=256);)this[If+Uh]=Rf/Zh&255;return If+dh},md.prototype.writeUint8=md.prototype.writeUInt8=function(Rf,If,dh){return Rf=+Rf,If=If>>>0,dh||Gf(this,Rf,If,1,255,0),this[If]=Rf&255,If+1},md.prototype.writeUint16LE=md.prototype.writeUInt16LE=function(Rf,If,dh){return Rf=+Rf,If=If>>>0,dh||Gf(this,Rf,If,2,65535,0),this[If]=Rf&255,this[If+1]=Rf>>>8,If+2},md.prototype.writeUint16BE=md.prototype.writeUInt16BE=function(Rf,If,dh){return Rf=+Rf,If=If>>>0,dh||Gf(this,Rf,If,2,65535,0),this[If]=Rf>>>8,this[If+1]=Rf&255,If+2},md.prototype.writeUint32LE=md.prototype.writeUInt32LE=function(Rf,If,dh){return Rf=+Rf,If=If>>>0,dh||Gf(this,Rf,If,4,4294967295,0),this[If+3]=Rf>>>24,this[If+2]=Rf>>>16,this[If+1]=Rf>>>8,this[If]=Rf&255,If+4},md.prototype.writeUint32BE=md.prototype.writeUInt32BE=function(Rf,If,dh){return Rf=+Rf,If=If>>>0,dh||Gf(this,Rf,If,4,4294967295,0),this[If]=Rf>>>24,this[If+1]=Rf>>>16,this[If+2]=Rf>>>8,this[If+3]=Rf&255,If+4};function zf(fh,Rf,If,dh,yh){xh(Rf,dh,yh,fh,If,7);let Uh=Number(Rf&BigInt(4294967295));fh[If++]=Uh,Uh=Uh>>8,fh[If++]=Uh,Uh=Uh>>8,fh[If++]=Uh,Uh=Uh>>8,fh[If++]=Uh;let Zh=Number(Rf>>BigInt(32)&BigInt(4294967295));return fh[If++]=Zh,Zh=Zh>>8,fh[If++]=Zh,Zh=Zh>>8,fh[If++]=Zh,Zh=Zh>>8,fh[If++]=Zh,If}function Tf(fh,Rf,If,dh,yh){xh(Rf,dh,yh,fh,If,7);let Uh=Number(Rf&BigInt(4294967295));fh[If+7]=Uh,Uh=Uh>>8,fh[If+6]=Uh,Uh=Uh>>8,fh[If+5]=Uh,Uh=Uh>>8,fh[If+4]=Uh;let Zh=Number(Rf>>BigInt(32)&BigInt(4294967295));return fh[If+3]=Zh,Zh=Zh>>8,fh[If+2]=Zh,Zh=Zh>>8,fh[If+1]=Zh,Zh=Zh>>8,fh[If]=Zh,If+8}md.prototype.writeBigUInt64LE=Sm(function(Rf,If=0){return zf(this,Rf,If,BigInt(0),BigInt("0xffffffffffffffff"))}),md.prototype.writeBigUInt64BE=Sm(function(Rf,If=0){return Tf(this,Rf,If,BigInt(0),BigInt("0xffffffffffffffff"))}),md.prototype.writeIntLE=function(Rf,If,dh,yh){if(Rf=+Rf,If=If>>>0,!yh){const Um=Math.pow(2,8*dh-1);Gf(this,Rf,If,dh,Um-1,-Um)}let Uh=0,Zh=1,_m=0;for(this[If]=Rf&255;++Uh>0)-_m&255;return If+dh},md.prototype.writeIntBE=function(Rf,If,dh,yh){if(Rf=+Rf,If=If>>>0,!yh){const Um=Math.pow(2,8*dh-1);Gf(this,Rf,If,dh,Um-1,-Um)}let Uh=dh-1,Zh=1,_m=0;for(this[If+Uh]=Rf&255;--Uh>=0&&(Zh*=256);)Rf<0&&_m===0&&this[If+Uh+1]!==0&&(_m=1),this[If+Uh]=(Rf/Zh>>0)-_m&255;return If+dh},md.prototype.writeInt8=function(Rf,If,dh){return Rf=+Rf,If=If>>>0,dh||Gf(this,Rf,If,1,127,-128),Rf<0&&(Rf=255+Rf+1),this[If]=Rf&255,If+1},md.prototype.writeInt16LE=function(Rf,If,dh){return Rf=+Rf,If=If>>>0,dh||Gf(this,Rf,If,2,32767,-32768),this[If]=Rf&255,this[If+1]=Rf>>>8,If+2},md.prototype.writeInt16BE=function(Rf,If,dh){return Rf=+Rf,If=If>>>0,dh||Gf(this,Rf,If,2,32767,-32768),this[If]=Rf>>>8,this[If+1]=Rf&255,If+2},md.prototype.writeInt32LE=function(Rf,If,dh){return Rf=+Rf,If=If>>>0,dh||Gf(this,Rf,If,4,2147483647,-2147483648),this[If]=Rf&255,this[If+1]=Rf>>>8,this[If+2]=Rf>>>16,this[If+3]=Rf>>>24,If+4},md.prototype.writeInt32BE=function(Rf,If,dh){return Rf=+Rf,If=If>>>0,dh||Gf(this,Rf,If,4,2147483647,-2147483648),Rf<0&&(Rf=4294967295+Rf+1),this[If]=Rf>>>24,this[If+1]=Rf>>>16,this[If+2]=Rf>>>8,this[If+3]=Rf&255,If+4},md.prototype.writeBigInt64LE=Sm(function(Rf,If=0){return zf(this,Rf,If,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),md.prototype.writeBigInt64BE=Sm(function(Rf,If=0){return Tf(this,Rf,If,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function vf(fh,Rf,If,dh,yh,Uh){if(If+dh>fh.length)throw new RangeError("Index out of range");if(If<0)throw new RangeError("Index out of range")}function qf(fh,Rf,If,dh,yh){return Rf=+Rf,If=If>>>0,yh||vf(fh,Rf,If,4),nd.write(fh,Rf,If,dh,23,4),If+4}md.prototype.writeFloatLE=function(Rf,If,dh){return qf(this,Rf,If,!0,dh)},md.prototype.writeFloatBE=function(Rf,If,dh){return qf(this,Rf,If,!1,dh)};function eh(fh,Rf,If,dh,yh){return Rf=+Rf,If=If>>>0,yh||vf(fh,Rf,If,8),nd.write(fh,Rf,If,dh,52,8),If+8}md.prototype.writeDoubleLE=function(Rf,If,dh){return eh(this,Rf,If,!0,dh)},md.prototype.writeDoubleBE=function(Rf,If,dh){return eh(this,Rf,If,!1,dh)},md.prototype.copy=function(Rf,If,dh,yh){if(!md.isBuffer(Rf))throw new TypeError("argument should be a Buffer");if(dh||(dh=0),!yh&&yh!==0&&(yh=this.length),If>=Rf.length&&(If=Rf.length),If||(If=0),yh>0&&yh=this.length)throw new RangeError("Index out of range");if(yh<0)throw new RangeError("sourceEnd out of bounds");yh>this.length&&(yh=this.length),Rf.length-If>>0,dh=dh===void 0?this.length:dh>>>0,Rf||(Rf=0);let Uh;if(typeof Rf=="number")for(Uh=If;Uh2**32?yh=Pf(String(If)):typeof If=="bigint"&&(yh=String(If),(If>BigInt(2)**BigInt(32)||If<-(BigInt(2)**BigInt(32)))&&(yh=Pf(yh)),yh+="n"),dh+=` It must be ${Rf}. Received ${yh}`,dh},RangeError);function Pf(fh){let Rf="",If=fh.length;const dh=fh[0]==="-"?1:0;for(;If>=dh+4;If-=3)Rf=`_${fh.slice(If-3,If)}${Rf}`;return`${fh.slice(0,If)}${Rf}`}function uh(fh,Rf,If){Qf(Rf,"offset"),(fh[Rf]===void 0||fh[Rf+If]===void 0)&&wf(Rf,fh.length-(If+1))}function xh(fh,Rf,If,dh,yh,Uh){if(fh>If||fh= 0${Zh} and < 2${Zh} ** ${(Uh+1)*8}${Zh}`:_m=`>= -(2${Zh} ** ${(Uh+1)*8-1}${Zh}) and < 2 ** ${(Uh+1)*8-1}${Zh}`,new ch.ERR_OUT_OF_RANGE("value",_m,fh)}uh(dh,yh,Uh)}function Qf(fh,Rf){if(typeof fh!="number")throw new ch.ERR_INVALID_ARG_TYPE(Rf,"number",fh)}function wf(fh,Rf,If){throw Math.floor(fh)!==fh?(Qf(fh,If),new ch.ERR_OUT_OF_RANGE("offset","an integer",fh)):Rf<0?new ch.ERR_BUFFER_OUT_OF_BOUNDS:new ch.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${Rf}`,fh)}const $f=/[^+/0-9A-Za-z-_]/g;function Wf(fh){if(fh=fh.split("=")[0],fh=fh.trim().replace($f,""),fh.length<2)return"";for(;fh.length%4!==0;)fh=fh+"=";return fh}function vh(fh,Rf){Rf=Rf||1/0;let If;const dh=fh.length;let yh=null;const Uh=[];for(let Zh=0;Zh55295&&If<57344){if(!yh){if(If>56319){(Rf-=3)>-1&&Uh.push(239,191,189);continue}else if(Zh+1===dh){(Rf-=3)>-1&&Uh.push(239,191,189);continue}yh=If;continue}if(If<56320){(Rf-=3)>-1&&Uh.push(239,191,189),yh=If;continue}If=(yh-55296<<10|If-56320)+65536}else yh&&(Rf-=3)>-1&&Uh.push(239,191,189);if(yh=null,If<128){if((Rf-=1)<0)break;Uh.push(If)}else if(If<2048){if((Rf-=2)<0)break;Uh.push(If>>6|192,If&63|128)}else if(If<65536){if((Rf-=3)<0)break;Uh.push(If>>12|224,If>>6&63|128,If&63|128)}else if(If<1114112){if((Rf-=4)<0)break;Uh.push(If>>18|240,If>>12&63|128,If>>6&63|128,If&63|128)}else throw new Error("Invalid code point")}return Uh}function Th(fh){const Rf=[];for(let If=0;If>8,yh=If%256,Uh.push(yh),Uh.push(dh);return Uh}function Vh(fh){return qa.toByteArray(Wf(fh))}function wh(fh,Rf,If,dh){let yh;for(yh=0;yh=Rf.length||yh>=fh.length);++yh)Rf[yh+If]=fh[yh];return yh}function fm(fh,Rf){return fh instanceof Rf||fh!=null&&fh.constructor!=null&&fh.constructor.name!=null&&fh.constructor.name===Rf.name}function Nm(fh){return fh!==fh}const cm=function(){const fh="0123456789abcdef",Rf=new Array(256);for(let If=0;If<16;++If){const dh=If*16;for(let yh=0;yh<16;++yh)Rf[dh+yh]=fh[If]+fh[yh]}return Rf}();function Sm(fh){return typeof BigInt>"u"?$m:fh}function $m(){throw new Error("BigInt not supported")}})(buffer$1);const Buffer$4=buffer$1.Buffer;function getSymbols(Ra){return Object.getOwnPropertySymbols(Ra).filter(qa=>Object.prototype.propertyIsEnumerable.call(Ra,qa))}function cloneDeep(Ra){return cloneDeepImpl(Ra)}function cloneDeepImpl(Ra,qa=new Map){if(isPrimitive(Ra))return Ra;if(qa.has(Ra))return qa.get(Ra);if(Array.isArray(Ra)){const nd=new Array(Ra.length);qa.set(Ra,nd);for(let od=0;od0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(qa){this.children=qa}}class CDATA extends NodeWithChildren{constructor(){super(...arguments),this.type=ElementType.CDATA}get nodeType(){return 4}}class Document extends NodeWithChildren{constructor(){super(...arguments),this.type=ElementType.Root}get nodeType(){return 9}}let Element$1=class extends NodeWithChildren{constructor(qa,nd,od=[],ld=qa==="script"?ElementType.Script:qa==="style"?ElementType.Style:ElementType.Tag){super(od),this.name=qa,this.attribs=nd,this.type=ld}get nodeType(){return 1}get tagName(){return this.name}set tagName(qa){this.name=qa}get attributes(){return Object.keys(this.attribs).map(qa=>{var nd,od;return{name:qa,value:this.attribs[qa],namespace:(nd=this["x-attribsNamespace"])===null||nd===void 0?void 0:nd[qa],prefix:(od=this["x-attribsPrefix"])===null||od===void 0?void 0:od[qa]}})}};function isTag(Ra){return isTag$1(Ra)}function isCDATA(Ra){return Ra.type===ElementType.CDATA}function isText(Ra){return Ra.type===ElementType.Text}function isComment$1(Ra){return Ra.type===ElementType.Comment}function isDirective(Ra){return Ra.type===ElementType.Directive}function isDocument(Ra){return Ra.type===ElementType.Root}function hasChildren(Ra){return Object.prototype.hasOwnProperty.call(Ra,"children")}function cloneNode(Ra,qa=!1){let nd;if(isText(Ra))nd=new Text(Ra.data);else if(isComment$1(Ra))nd=new Comment(Ra.data);else if(isTag(Ra)){const od=qa?cloneChildren(Ra.children):[],ld=new Element$1(Ra.name,{...Ra.attribs},od);od.forEach(ud=>ud.parent=ld),Ra.namespace!=null&&(ld.namespace=Ra.namespace),Ra["x-attribsNamespace"]&&(ld["x-attribsNamespace"]={...Ra["x-attribsNamespace"]}),Ra["x-attribsPrefix"]&&(ld["x-attribsPrefix"]={...Ra["x-attribsPrefix"]}),nd=ld}else if(isCDATA(Ra)){const od=qa?cloneChildren(Ra.children):[],ld=new CDATA(od);od.forEach(ud=>ud.parent=ld),nd=ld}else if(isDocument(Ra)){const od=qa?cloneChildren(Ra.children):[],ld=new Document(od);od.forEach(ud=>ud.parent=ld),Ra["x-mode"]&&(ld["x-mode"]=Ra["x-mode"]),nd=ld}else if(isDirective(Ra)){const od=new ProcessingInstruction(Ra.name,Ra.data);Ra["x-name"]!=null&&(od["x-name"]=Ra["x-name"],od["x-publicId"]=Ra["x-publicId"],od["x-systemId"]=Ra["x-systemId"]),nd=od}else throw new Error(`Not implemented yet: ${Ra.type}`);return nd.startIndex=Ra.startIndex,nd.endIndex=Ra.endIndex,Ra.sourceCodeLocation!=null&&(nd.sourceCodeLocation=Ra.sourceCodeLocation),nd}function cloneChildren(Ra){const qa=Ra.map(nd=>cloneNode(nd,!0));for(let nd=1;nd䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(Ra=>Ra.charCodeAt(0))),xmlDecodeTree=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(Ra=>Ra.charCodeAt(0)));var _a$2;const decodeMap=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),fromCodePoint=(_a$2=String.fromCodePoint)!==null&&_a$2!==void 0?_a$2:function(Ra){let qa="";return Ra>65535&&(Ra-=65536,qa+=String.fromCharCode(Ra>>>10&1023|55296),Ra=56320|Ra&1023),qa+=String.fromCharCode(Ra),qa};function replaceCodePoint(Ra){var qa;return Ra>=55296&&Ra<=57343||Ra>1114111?65533:(qa=decodeMap.get(Ra))!==null&&qa!==void 0?qa:Ra}var CharCodes$1;(function(Ra){Ra[Ra.NUM=35]="NUM",Ra[Ra.SEMI=59]="SEMI",Ra[Ra.EQUALS=61]="EQUALS",Ra[Ra.ZERO=48]="ZERO",Ra[Ra.NINE=57]="NINE",Ra[Ra.LOWER_A=97]="LOWER_A",Ra[Ra.LOWER_F=102]="LOWER_F",Ra[Ra.LOWER_X=120]="LOWER_X",Ra[Ra.LOWER_Z=122]="LOWER_Z",Ra[Ra.UPPER_A=65]="UPPER_A",Ra[Ra.UPPER_F=70]="UPPER_F",Ra[Ra.UPPER_Z=90]="UPPER_Z"})(CharCodes$1||(CharCodes$1={}));const TO_LOWER_BIT=32;var BinTrieFlags;(function(Ra){Ra[Ra.VALUE_LENGTH=49152]="VALUE_LENGTH",Ra[Ra.BRANCH_LENGTH=16256]="BRANCH_LENGTH",Ra[Ra.JUMP_TABLE=127]="JUMP_TABLE"})(BinTrieFlags||(BinTrieFlags={}));function isNumber$2(Ra){return Ra>=CharCodes$1.ZERO&&Ra<=CharCodes$1.NINE}function isHexadecimalCharacter(Ra){return Ra>=CharCodes$1.UPPER_A&&Ra<=CharCodes$1.UPPER_F||Ra>=CharCodes$1.LOWER_A&&Ra<=CharCodes$1.LOWER_F}function isAsciiAlphaNumeric$1(Ra){return Ra>=CharCodes$1.UPPER_A&&Ra<=CharCodes$1.UPPER_Z||Ra>=CharCodes$1.LOWER_A&&Ra<=CharCodes$1.LOWER_Z||isNumber$2(Ra)}function isEntityInAttributeInvalidEnd(Ra){return Ra===CharCodes$1.EQUALS||isAsciiAlphaNumeric$1(Ra)}var EntityDecoderState;(function(Ra){Ra[Ra.EntityStart=0]="EntityStart",Ra[Ra.NumericStart=1]="NumericStart",Ra[Ra.NumericDecimal=2]="NumericDecimal",Ra[Ra.NumericHex=3]="NumericHex",Ra[Ra.NamedEntity=4]="NamedEntity"})(EntityDecoderState||(EntityDecoderState={}));var DecodingMode;(function(Ra){Ra[Ra.Legacy=0]="Legacy",Ra[Ra.Strict=1]="Strict",Ra[Ra.Attribute=2]="Attribute"})(DecodingMode||(DecodingMode={}));class EntityDecoder{constructor(qa,nd,od){this.decodeTree=qa,this.emitCodePoint=nd,this.errors=od,this.state=EntityDecoderState.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=DecodingMode.Strict}startEntity(qa){this.decodeMode=qa,this.state=EntityDecoderState.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(qa,nd){switch(this.state){case EntityDecoderState.EntityStart:return qa.charCodeAt(nd)===CharCodes$1.NUM?(this.state=EntityDecoderState.NumericStart,this.consumed+=1,this.stateNumericStart(qa,nd+1)):(this.state=EntityDecoderState.NamedEntity,this.stateNamedEntity(qa,nd));case EntityDecoderState.NumericStart:return this.stateNumericStart(qa,nd);case EntityDecoderState.NumericDecimal:return this.stateNumericDecimal(qa,nd);case EntityDecoderState.NumericHex:return this.stateNumericHex(qa,nd);case EntityDecoderState.NamedEntity:return this.stateNamedEntity(qa,nd)}}stateNumericStart(qa,nd){return nd>=qa.length?-1:(qa.charCodeAt(nd)|TO_LOWER_BIT)===CharCodes$1.LOWER_X?(this.state=EntityDecoderState.NumericHex,this.consumed+=1,this.stateNumericHex(qa,nd+1)):(this.state=EntityDecoderState.NumericDecimal,this.stateNumericDecimal(qa,nd))}addToNumericResult(qa,nd,od,ld){if(nd!==od){const ud=od-nd;this.result=this.result*Math.pow(ld,ud)+parseInt(qa.substr(nd,ud),ld),this.consumed+=ud}}stateNumericHex(qa,nd){const od=nd;for(;nd>14;for(;nd>14,ud!==0){if(cd===CharCodes$1.SEMI)return this.emitNamedEntityData(this.treeIndex,ud,this.consumed+this.excess);this.decodeMode!==DecodingMode.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var qa;const{result:nd,decodeTree:od}=this,ld=(od[nd]&BinTrieFlags.VALUE_LENGTH)>>14;return this.emitNamedEntityData(nd,ld,this.consumed),(qa=this.errors)===null||qa===void 0||qa.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(qa,nd,od){const{decodeTree:ld}=this;return this.emitCodePoint(nd===1?ld[qa]&~BinTrieFlags.VALUE_LENGTH:ld[qa+1],od),nd===3&&this.emitCodePoint(ld[qa+2],od),od}end(){var qa;switch(this.state){case EntityDecoderState.NamedEntity:return this.result!==0&&(this.decodeMode!==DecodingMode.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case EntityDecoderState.NumericDecimal:return this.emitNumericEntity(0,2);case EntityDecoderState.NumericHex:return this.emitNumericEntity(0,3);case EntityDecoderState.NumericStart:return(qa=this.errors)===null||qa===void 0||qa.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case EntityDecoderState.EntityStart:return 0}}}function getDecoder(Ra){let qa="";const nd=new EntityDecoder(Ra,od=>qa+=fromCodePoint(od));return function(ld,ud){let cd=0,dd=0;for(;(dd=ld.indexOf("&",dd))>=0;){qa+=ld.slice(cd,dd),nd.startEntity(ud);const fd=nd.write(ld,dd+1);if(fd<0){cd=dd+nd.end();break}cd=dd+fd,dd=fd===0?cd+1:cd}const pd=qa+ld.slice(cd);return qa="",pd}}function determineBranch(Ra,qa,nd,od){const ld=(qa&BinTrieFlags.BRANCH_LENGTH)>>7,ud=qa&BinTrieFlags.JUMP_TABLE;if(ld===0)return ud!==0&&od===ud?nd:-1;if(ud){const pd=od-ud;return pd<0||pd>=ld?-1:Ra[nd+pd]-1}let cd=nd,dd=cd+ld-1;for(;cd<=dd;){const pd=cd+dd>>>1,fd=Ra[pd];if(fdod)dd=pd-1;else return Ra[pd+ld]}return-1}getDecoder(htmlDecodeTree);getDecoder(xmlDecodeTree);const xmlReplacer=/["&'<>$\x80-\uFFFF]/g,xmlCodeMap=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),getCodePoint=String.prototype.codePointAt!=null?(Ra,qa)=>Ra.codePointAt(qa):(Ra,qa)=>(Ra.charCodeAt(qa)&64512)===55296?(Ra.charCodeAt(qa)-55296)*1024+Ra.charCodeAt(qa+1)-56320+65536:Ra.charCodeAt(qa);function encodeXML(Ra){let qa="",nd=0,od;for(;(od=xmlReplacer.exec(Ra))!==null;){const ld=od.index,ud=Ra.charCodeAt(ld),cd=xmlCodeMap.get(ud);cd!==void 0?(qa+=Ra.substring(nd,ld)+cd,nd=ld+1):(qa+=`${Ra.substring(nd,ld)}&#x${getCodePoint(Ra,ld).toString(16)};`,nd=xmlReplacer.lastIndex+=+((ud&64512)===55296))}return qa+Ra.substr(nd)}function getEscaper(Ra,qa){return function(od){let ld,ud=0,cd="";for(;ld=Ra.exec(od);)ud!==ld.index&&(cd+=od.substring(ud,ld.index)),cd+=qa.get(ld[0].charCodeAt(0)),ud=ld.index+1;return cd+od.substring(ud)}}const escapeAttribute=getEscaper(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),escapeText=getEscaper(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]])),elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(Ra=>[Ra.toLowerCase(),Ra])),attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(Ra=>[Ra.toLowerCase(),Ra])),unencodedElements=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function replaceQuotes(Ra){return Ra.replace(/"/g,""")}function formatAttributes(Ra,qa){var nd;if(!Ra)return;const od=((nd=qa.encodeEntities)!==null&&nd!==void 0?nd:qa.decodeEntities)===!1?replaceQuotes:qa.xmlMode||qa.encodeEntities!=="utf8"?encodeXML:escapeAttribute;return Object.keys(Ra).map(ld=>{var ud,cd;const dd=(ud=Ra[ld])!==null&&ud!==void 0?ud:"";return qa.xmlMode==="foreign"&&(ld=(cd=attributeNames.get(ld))!==null&&cd!==void 0?cd:ld),!qa.emptyAttrs&&!qa.xmlMode&&dd===""?ld:`${ld}="${od(dd)}"`}).join(" ")}const singleTag=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function render$3(Ra,qa={}){const nd="length"in Ra?Ra:[Ra];let od="";for(let ld=0;ld0&&(od+=render$3(Ra.children,qa)),(qa.xmlMode||!singleTag.has(Ra.name))&&(od+=``)),od}function renderDirective(Ra){return`<${Ra.data}>`}function renderText(Ra,qa){var nd;let od=Ra.data||"";return((nd=qa.encodeEntities)!==null&&nd!==void 0?nd:qa.decodeEntities)!==!1&&!(!qa.xmlMode&&Ra.parent&&unencodedElements.has(Ra.parent.name))&&(od=qa.xmlMode||qa.encodeEntities!=="utf8"?encodeXML(od):escapeText(od)),od}function renderCdata(Ra){return``}function renderComment(Ra){return``}function getOuterHTML(Ra,qa){return render$3(Ra,qa)}function getInnerHTML(Ra,qa){return hasChildren(Ra)?Ra.children.map(nd=>getOuterHTML(nd,qa)).join(""):""}function getText(Ra){return Array.isArray(Ra)?Ra.map(getText).join(""):isTag(Ra)?Ra.name==="br"?` `:getText(Ra.children):isCDATA(Ra)?getText(Ra.children):isText(Ra)?Ra.data:""}function textContent(Ra){return Array.isArray(Ra)?Ra.map(textContent).join(""):hasChildren(Ra)&&!isComment$1(Ra)?textContent(Ra.children):isText(Ra)?Ra.data:""}function innerText(Ra){return Array.isArray(Ra)?Ra.map(innerText).join(""):hasChildren(Ra)&&(Ra.type===ElementType.Tag||isCDATA(Ra))?innerText(Ra.children):isText(Ra)?Ra.data:""}function getChildren(Ra){return hasChildren(Ra)?Ra.children:[]}function getParent(Ra){return Ra.parent||null}function getSiblings(Ra){const qa=getParent(Ra);if(qa!=null)return getChildren(qa);const nd=[Ra];let{prev:od,next:ld}=Ra;for(;od!=null;)nd.unshift(od),{prev:od}=od;for(;ld!=null;)nd.push(ld),{next:ld}=ld;return nd}function getAttributeValue(Ra,qa){var nd;return(nd=Ra.attribs)===null||nd===void 0?void 0:nd[qa]}function hasAttrib(Ra,qa){return Ra.attribs!=null&&Object.prototype.hasOwnProperty.call(Ra.attribs,qa)&&Ra.attribs[qa]!=null}function getName(Ra){return Ra.name}function nextElementSibling(Ra){let{next:qa}=Ra;for(;qa!==null&&!isTag(qa);)({next:qa}=qa);return qa}function prevElementSibling(Ra){let{prev:qa}=Ra;for(;qa!==null&&!isTag(qa);)({prev:qa}=qa);return qa}function removeElement(Ra){if(Ra.prev&&(Ra.prev.next=Ra.next),Ra.next&&(Ra.next.prev=Ra.prev),Ra.parent){const qa=Ra.parent.children,nd=qa.lastIndexOf(Ra);nd>=0&&qa.splice(nd,1)}Ra.next=null,Ra.prev=null,Ra.parent=null}function replaceElement(Ra,qa){const nd=qa.prev=Ra.prev;nd&&(nd.next=qa);const od=qa.next=Ra.next;od&&(od.prev=qa);const ld=qa.parent=Ra.parent;if(ld){const ud=ld.children;ud[ud.lastIndexOf(Ra)]=qa,Ra.parent=null}}function appendChild(Ra,qa){if(removeElement(qa),qa.next=null,qa.parent=Ra,Ra.children.push(qa)>1){const nd=Ra.children[Ra.children.length-2];nd.next=qa,qa.prev=nd}else qa.prev=null}function append$3(Ra,qa){removeElement(qa);const{parent:nd}=Ra,od=Ra.next;if(qa.next=od,qa.prev=Ra,Ra.next=qa,qa.parent=nd,od){if(od.prev=qa,nd){const ld=nd.children;ld.splice(ld.lastIndexOf(od),0,qa)}}else nd&&nd.children.push(qa)}function prependChild(Ra,qa){if(removeElement(qa),qa.parent=Ra,qa.prev=null,Ra.children.unshift(qa)!==1){const nd=Ra.children[1];nd.prev=qa,qa.next=nd}else qa.next=null}function prepend$1(Ra,qa){removeElement(qa);const{parent:nd}=Ra;if(nd){const od=nd.children;od.splice(od.indexOf(Ra),0,qa)}Ra.prev&&(Ra.prev.next=qa),qa.parent=nd,qa.prev=Ra.prev,qa.next=Ra,Ra.prev=qa}function filter$5(Ra,qa,nd=!0,od=1/0){return find$3(Ra,Array.isArray(qa)?qa:[qa],nd,od)}function find$3(Ra,qa,nd,od){const ld=[],ud=[qa],cd=[0];for(;;){if(cd[0]>=ud[0].length){if(cd.length===1)return ld;ud.shift(),cd.shift();continue}const dd=ud[0][cd[0]++];if(Ra(dd)&&(ld.push(dd),--od<=0))return ld;nd&&hasChildren(dd)&&dd.children.length>0&&(cd.unshift(0),ud.unshift(dd.children))}}function findOneChild(Ra,qa){return qa.find(Ra)}function findOne(Ra,qa,nd=!0){let od=null;for(let ld=0;ld0&&(od=findOne(Ra,ud.children,!0));else continue}return od}function existsOne(Ra,qa){return qa.some(nd=>isTag(nd)&&(Ra(nd)||existsOne(Ra,nd.children)))}function findAll(Ra,qa){const nd=[],od=[qa],ld=[0];for(;;){if(ld[0]>=od[0].length){if(od.length===1)return nd;od.shift(),ld.shift();continue}const ud=od[0][ld[0]++];isTag(ud)&&(Ra(ud)&&nd.push(ud),ud.children.length>0&&(ld.unshift(0),od.unshift(ud.children)))}}const Checks={tag_name(Ra){return typeof Ra=="function"?qa=>isTag(qa)&&Ra(qa.name):Ra==="*"?isTag:qa=>isTag(qa)&&qa.name===Ra},tag_type(Ra){return typeof Ra=="function"?qa=>Ra(qa.type):qa=>qa.type===Ra},tag_contains(Ra){return typeof Ra=="function"?qa=>isText(qa)&&Ra(qa.data):qa=>isText(qa)&&qa.data===Ra}};function getAttribCheck(Ra,qa){return typeof qa=="function"?nd=>isTag(nd)&&qa(nd.attribs[Ra]):nd=>isTag(nd)&&nd.attribs[Ra]===qa}function combineFuncs(Ra,qa){return nd=>Ra(nd)||qa(nd)}function compileTest(Ra){const qa=Object.keys(Ra).map(nd=>{const od=Ra[nd];return Object.prototype.hasOwnProperty.call(Checks,nd)?Checks[nd](od):getAttribCheck(nd,od)});return qa.length===0?null:qa.reduce(combineFuncs)}function testElement(Ra,qa){const nd=compileTest(Ra);return nd?nd(qa):!0}function getElements(Ra,qa,nd,od=1/0){const ld=compileTest(Ra);return ld?filter$5(ld,qa,nd,od):[]}function getElementById(Ra,qa,nd=!0){return Array.isArray(qa)||(qa=[qa]),findOne(getAttribCheck("id",Ra),qa,nd)}function getElementsByTagName(Ra,qa,nd=!0,od=1/0){return filter$5(Checks.tag_name(Ra),qa,nd,od)}function getElementsByTagType(Ra,qa,nd=!0,od=1/0){return filter$5(Checks.tag_type(Ra),qa,nd,od)}function removeSubsets(Ra){let qa=Ra.length;for(;--qa>=0;){const nd=Ra[qa];if(qa>0&&Ra.lastIndexOf(nd,qa-1)>=0){Ra.splice(qa,1);continue}for(let od=nd.parent;od;od=od.parent)if(Ra.includes(od)){Ra.splice(qa,1);break}}return Ra}var DocumentPosition$1;(function(Ra){Ra[Ra.DISCONNECTED=1]="DISCONNECTED",Ra[Ra.PRECEDING=2]="PRECEDING",Ra[Ra.FOLLOWING=4]="FOLLOWING",Ra[Ra.CONTAINS=8]="CONTAINS",Ra[Ra.CONTAINED_BY=16]="CONTAINED_BY"})(DocumentPosition$1||(DocumentPosition$1={}));function compareDocumentPosition(Ra,qa){const nd=[],od=[];if(Ra===qa)return 0;let ld=hasChildren(Ra)?Ra:Ra.parent;for(;ld;)nd.unshift(ld),ld=ld.parent;for(ld=hasChildren(qa)?qa:qa.parent;ld;)od.unshift(ld),ld=ld.parent;const ud=Math.min(nd.length,od.length);let cd=0;for(;cdpd.indexOf(md)?dd===qa?DocumentPosition$1.FOLLOWING|DocumentPosition$1.CONTAINED_BY:DocumentPosition$1.FOLLOWING:dd===Ra?DocumentPosition$1.PRECEDING|DocumentPosition$1.CONTAINS:DocumentPosition$1.PRECEDING}function uniqueSort(Ra){return Ra=Ra.filter((qa,nd,od)=>!od.includes(qa,nd+1)),Ra.sort((qa,nd)=>{const od=compareDocumentPosition(qa,nd);return od&DocumentPosition$1.PRECEDING?-1:od&DocumentPosition$1.FOLLOWING?1:0}),Ra}function getFeed(Ra){const qa=getOneElement(isValidFeed,Ra);return qa?qa.name==="feed"?getAtomFeed(qa):getRssFeed(qa):null}function getAtomFeed(Ra){var qa;const nd=Ra.children,od={type:"atom",items:getElementsByTagName("entry",nd).map(cd=>{var dd;const{children:pd}=cd,fd={media:getMediaElements(pd)};addConditionally(fd,"id","id",pd),addConditionally(fd,"title","title",pd);const md=(dd=getOneElement("link",pd))===null||dd===void 0?void 0:dd.attribs.href;md&&(fd.link=md);const vd=fetch$1("summary",pd)||fetch$1("content",pd);vd&&(fd.description=vd);const Ad=fetch$1("updated",pd);return Ad&&(fd.pubDate=new Date(Ad)),fd})};addConditionally(od,"id","id",nd),addConditionally(od,"title","title",nd);const ld=(qa=getOneElement("link",nd))===null||qa===void 0?void 0:qa.attribs.href;ld&&(od.link=ld),addConditionally(od,"description","subtitle",nd);const ud=fetch$1("updated",nd);return ud&&(od.updated=new Date(ud)),addConditionally(od,"author","email",nd,!0),od}function getRssFeed(Ra){var qa,nd;const od=(nd=(qa=getOneElement("channel",Ra.children))===null||qa===void 0?void 0:qa.children)!==null&&nd!==void 0?nd:[],ld={type:Ra.name.substr(0,3),id:"",items:getElementsByTagName("item",Ra.children).map(cd=>{const{children:dd}=cd,pd={media:getMediaElements(dd)};addConditionally(pd,"id","guid",dd),addConditionally(pd,"title","title",dd),addConditionally(pd,"link","link",dd),addConditionally(pd,"description","description",dd);const fd=fetch$1("pubDate",dd)||fetch$1("dc:date",dd);return fd&&(pd.pubDate=new Date(fd)),pd})};addConditionally(ld,"title","title",od),addConditionally(ld,"link","link",od),addConditionally(ld,"description","description",od);const ud=fetch$1("lastBuildDate",od);return ud&&(ld.updated=new Date(ud)),addConditionally(ld,"author","managingEditor",od,!0),ld}const MEDIA_KEYS_STRING=["url","type","lang"],MEDIA_KEYS_INT=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function getMediaElements(Ra){return getElementsByTagName("media:content",Ra).map(qa=>{const{attribs:nd}=qa,od={medium:nd.medium,isDefault:!!nd.isDefault};for(const ld of MEDIA_KEYS_STRING)nd[ld]&&(od[ld]=nd[ld]);for(const ld of MEDIA_KEYS_INT)nd[ld]&&(od[ld]=parseInt(nd[ld],10));return nd.expression&&(od.expression=nd.expression),od})}function getOneElement(Ra,qa){return getElementsByTagName(Ra,qa,!0,1)[0]}function fetch$1(Ra,qa,nd=!1){return textContent(getElementsByTagName(Ra,qa,nd,1)).trim()}function addConditionally(Ra,qa,nd,od,ld=!1){const ud=fetch$1(nd,od,ld);ud&&(Ra[qa]=ud)}function isValidFeed(Ra){return Ra==="rss"||Ra==="feed"||Ra==="rdf:RDF"}const DomUtils=Object.freeze(Object.defineProperty({__proto__:null,get DocumentPosition(){return DocumentPosition$1},append:append$3,appendChild,compareDocumentPosition,existsOne,filter:filter$5,find:find$3,findAll,findOne,findOneChild,getAttributeValue,getChildren,getElementById,getElements,getElementsByTagName,getElementsByTagType,getFeed,getInnerHTML,getName,getOuterHTML,getParent,getSiblings,getText,hasAttrib,hasChildren,innerText,isCDATA,isComment:isComment$1,isDocument,isTag,isText,nextElementSibling,prepend:prepend$1,prependChild,prevElementSibling,removeElement,removeSubsets,replaceElement,testElement,textContent,uniqueSort},Symbol.toStringTag,{value:"Module"})),defaultOpts$1={_useHtmlParser2:!1};function flattenOptions(Ra,qa){if(!Ra)return qa??defaultOpts$1;const nd={_useHtmlParser2:!!Ra.xmlMode,...qa,...Ra};return Ra.xml?(nd._useHtmlParser2=!0,nd.xmlMode=!0,Ra.xml!==!0&&Object.assign(nd,Ra.xml)):Ra.xmlMode&&(nd._useHtmlParser2=!0),nd}function render$2(Ra,qa,nd){return Ra?Ra(qa??Ra._root.children,null,void 0,nd).toString():""}function isOptions(Ra,qa){return typeof Ra=="object"&&Ra!=null&&!("length"in Ra)&&!("type"in Ra)}function html$5(Ra,qa){const nd=isOptions(Ra)?(qa=Ra,void 0):Ra,od={...this===null||this===void 0?void 0:this._options,...flattenOptions(qa)};return render$2(this,nd,od)}function xml$4(Ra){const qa={...this._options,xmlMode:!0};return render$2(this,Ra,qa)}function text$3(Ra){const qa=Ra??(this?this.root():[]);let nd="";for(let od=0;odnd.toUpperCase())}function cssCase(Ra){return Ra.replace(/[A-Z]/g,"-$&").toLowerCase()}function domEach(Ra,qa){const nd=Ra.length;for(let od=0;odRa.length-3)return!1;const nd=Ra.charCodeAt(qa+1);return(nd>=CharacterCodes.LowerA&&nd<=CharacterCodes.LowerZ||nd>=CharacterCodes.UpperA&&nd<=CharacterCodes.UpperZ||nd===CharacterCodes.Exclamation)&&Ra.includes(">",qa+2)}const hasOwn$1=Object.prototype.hasOwnProperty,rspace=/\s+/,dataAttrPrefix="data-",rboolean=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,rbrace=/^{[^]*}$|^\[[^]*]$/;function getAttr(Ra,qa,nd){var od;if(!(!Ra||!isTag(Ra))){if((od=Ra.attribs)!==null&&od!==void 0||(Ra.attribs={}),!qa)return Ra.attribs;if(hasOwn$1.call(Ra.attribs,qa))return!nd&&rboolean.test(qa)?qa:Ra.attribs[qa];if(Ra.name==="option"&&qa==="value")return text$3(Ra.children);if(Ra.name==="input"&&(Ra.attribs.type==="radio"||Ra.attribs.type==="checkbox")&&qa==="value")return"on"}}function setAttr(Ra,qa,nd){nd===null?removeAttribute(Ra,qa):Ra.attribs[qa]=`${nd}`}function attr(Ra,qa){if(typeof Ra=="object"||qa!==void 0){if(typeof qa=="function"){if(typeof Ra!="string")throw new Error("Bad combination of arguments.");return domEach(this,(nd,od)=>{isTag(nd)&&setAttr(nd,Ra,qa.call(nd,od,nd.attribs[Ra]))})}return domEach(this,nd=>{if(isTag(nd))if(typeof Ra=="object")for(const od of Object.keys(Ra)){const ld=Ra[od];setAttr(nd,od,ld)}else setAttr(nd,Ra,qa)})}return arguments.length>1?this:getAttr(this[0],Ra,this.options.xmlMode)}function getProp(Ra,qa,nd){return qa in Ra?Ra[qa]:!nd&&rboolean.test(qa)?getAttr(Ra,qa,!1)!==void 0:getAttr(Ra,qa,nd)}function setProp(Ra,qa,nd,od){qa in Ra?Ra[qa]=nd:setAttr(Ra,qa,!od&&rboolean.test(qa)?nd?"":null:`${nd}`)}function prop(Ra,qa){var nd;if(typeof Ra=="string"&&qa===void 0){const od=this[0];if(!od||!isTag(od))return;switch(Ra){case"style":{const ld=this.css(),ud=Object.keys(ld);for(let cd=0;cd").parent().html();case"innerHTML":return this.html();default:return getProp(od,Ra,this.options.xmlMode)}}if(typeof Ra=="object"||qa!==void 0){if(typeof qa=="function"){if(typeof Ra=="object")throw new TypeError("Bad combination of arguments.");return domEach(this,(od,ld)=>{isTag(od)&&setProp(od,Ra,qa.call(od,ld,getProp(od,Ra,this.options.xmlMode)),this.options.xmlMode)})}return domEach(this,od=>{if(isTag(od))if(typeof Ra=="object")for(const ld of Object.keys(Ra)){const ud=Ra[ld];setProp(od,ld,ud,this.options.xmlMode)}else setProp(od,Ra,qa,this.options.xmlMode)})}}function setData(Ra,qa,nd){var od;(od=Ra.data)!==null&&od!==void 0||(Ra.data={}),typeof qa=="object"?Object.assign(Ra.data,qa):typeof qa=="string"&&nd!==void 0&&(Ra.data[qa]=nd)}function readAllData(Ra){for(const qa of Object.keys(Ra.attribs)){if(!qa.startsWith(dataAttrPrefix))continue;const nd=camelCase(qa.slice(dataAttrPrefix.length));hasOwn$1.call(Ra.data,nd)||(Ra.data[nd]=parseDataValue(Ra.attribs[qa]))}return Ra.data}function readData(Ra,qa){const nd=dataAttrPrefix+cssCase(qa),od=Ra.data;if(hasOwn$1.call(od,qa))return od[qa];if(hasOwn$1.call(Ra.attribs,nd))return od[qa]=parseDataValue(Ra.attribs[nd])}function parseDataValue(Ra){if(Ra==="null")return null;if(Ra==="true")return!0;if(Ra==="false")return!1;const qa=Number(Ra);if(Ra===String(qa))return qa;if(rbrace.test(Ra))try{return JSON.parse(Ra)}catch{}return Ra}function data(Ra,qa){var nd;const od=this[0];if(!od||!isTag(od))return;const ld=od;return(nd=ld.data)!==null&&nd!==void 0||(ld.data={}),Ra==null?readAllData(ld):typeof Ra=="object"||qa!==void 0?(domEach(this,ud=>{isTag(ud)&&(typeof Ra=="object"?setData(ud,Ra):setData(ud,Ra,qa))}),this):readData(ld,Ra)}function val$1(Ra){const qa=arguments.length===0,nd=this[0];if(!nd||!isTag(nd))return qa?void 0:this;switch(nd.name){case"textarea":return this.text(Ra);case"select":{const od=this.find("option:selected");if(!qa){if(this.attr("multiple")==null&&typeof Ra=="object")return this;this.find("option").removeAttr("selected");const ld=typeof Ra=="object"?Ra:[Ra];for(const ud of ld)this.find(`option[value="${ud}"]`).attr("selected","");return this}return this.attr("multiple")?od.toArray().map(ld=>text$3(ld.children)):od.attr("value")}case"input":case"option":return qa?this.attr("value"):this.attr("value",Ra)}}function removeAttribute(Ra,qa){!Ra.attribs||!hasOwn$1.call(Ra.attribs,qa)||delete Ra.attribs[qa]}function splitNames(Ra){return Ra?Ra.trim().split(rspace):[]}function removeAttr(Ra){const qa=splitNames(Ra);for(const nd of qa)domEach(this,od=>{isTag(od)&&removeAttribute(od,nd)});return this}function hasClass(Ra){return this.toArray().some(qa=>{const nd=isTag(qa)&&qa.attribs.class;let od=-1;if(nd&&Ra.length>0)for(;(od=nd.indexOf(Ra,od+1))>-1;){const ld=od+Ra.length;if((od===0||rspace.test(nd[od-1]))&&(ld===nd.length||rspace.test(nd[ld])))return!0}return!1})}function addClass(Ra){if(typeof Ra=="function")return domEach(this,(od,ld)=>{if(isTag(od)){const ud=od.attribs.class||"";addClass.call([od],Ra.call(od,ld,ud))}});if(!Ra||typeof Ra!="string")return this;const qa=Ra.split(rspace),nd=this.length;for(let od=0;od{isTag(ld)&&removeClass.call([ld],Ra.call(ld,ud,ld.attribs.class||""))});const qa=splitNames(Ra),nd=qa.length,od=arguments.length===0;return domEach(this,ld=>{if(isTag(ld))if(od)ld.attribs.class="";else{const ud=splitNames(ld.attribs.class);let cd=!1;for(let dd=0;dd=0&&(ud.splice(pd,1),cd=!0,dd--)}cd&&(ld.attribs.class=ud.join(" "))}})}function toggleClass(Ra,qa){if(typeof Ra=="function")return domEach(this,(cd,dd)=>{isTag(cd)&&toggleClass.call([cd],Ra.call(cd,dd,cd.attribs.class||"",qa),qa)});if(!Ra||typeof Ra!="string")return this;const nd=Ra.split(rspace),od=nd.length,ld=typeof qa=="boolean"?qa?1:-1:0,ud=this.length;for(let cd=0;cd=0&&md<0?pd.push(nd[fd]):ld<=0&&md>=0&&pd.splice(md,1)}dd.attribs.class=pd.join(" ")}return this}const Attributes=Object.freeze(Object.defineProperty({__proto__:null,addClass,attr,data,hasClass,prop,removeAttr,removeClass,toggleClass,val:val$1},Symbol.toStringTag,{value:"Module"}));var SelectorType;(function(Ra){Ra.Attribute="attribute",Ra.Pseudo="pseudo",Ra.PseudoElement="pseudo-element",Ra.Tag="tag",Ra.Universal="universal",Ra.Adjacent="adjacent",Ra.Child="child",Ra.Descendant="descendant",Ra.Parent="parent",Ra.Sibling="sibling",Ra.ColumnCombinator="column-combinator"})(SelectorType||(SelectorType={}));var AttributeAction;(function(Ra){Ra.Any="any",Ra.Element="element",Ra.End="end",Ra.Equals="equals",Ra.Exists="exists",Ra.Hyphen="hyphen",Ra.Not="not",Ra.Start="start"})(AttributeAction||(AttributeAction={}));const reName=/^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/,reEscape=/\\([\da-f]{1,6}\s?|(\s)|.)/gi,actionTypes=new Map([[126,AttributeAction.Element],[94,AttributeAction.Start],[36,AttributeAction.End],[42,AttributeAction.Any],[33,AttributeAction.Not],[124,AttributeAction.Hyphen]]),unpackPseudos=new Set(["has","not","matches","is","where","host","host-context"]);function isTraversal$1(Ra){switch(Ra.type){case SelectorType.Adjacent:case SelectorType.Child:case SelectorType.Descendant:case SelectorType.Parent:case SelectorType.Sibling:case SelectorType.ColumnCombinator:return!0;default:return!1}}const stripQuotesFromPseudos=new Set(["contains","icontains"]);function funescape(Ra,qa,nd){const od=parseInt(qa,16)-65536;return od!==od||nd?qa:od<0?String.fromCharCode(od+65536):String.fromCharCode(od>>10|55296,od&1023|56320)}function unescapeCSS(Ra){return Ra.replace(reEscape,funescape)}function isQuote(Ra){return Ra===39||Ra===34}function isWhitespace$3(Ra){return Ra===32||Ra===9||Ra===10||Ra===12||Ra===13}function parse$7(Ra){const qa=[],nd=parseSelector(qa,`${Ra}`,0);if(nd0&&nd0&&isTraversal$1(od[od.length-1]))throw new Error("Did not expect successive traversals.")}function fd(Ad){if(od.length>0&&od[od.length-1].type===SelectorType.Descendant){od[od.length-1].type=Ad;return}pd(),od.push({type:Ad})}function md(Ad,Nd){od.push({type:SelectorType.Attribute,name:Ad,action:Nd,value:ld(1),namespace:null,ignoreCase:"quirks"})}function vd(){if(od.length&&od[od.length-1].type===SelectorType.Descendant&&od.pop(),od.length===0)throw new Error("Empty sub-selector");Ra.push(od)}if(ud(0),qa.length===nd)return nd;e:for(;nd=0&&od>=1)):Ra.type===SelectorType.Pseudo&&(Ra.data?Ra.name==="has"||Ra.name==="contains"?od=0:Array.isArray(Ra.data)?(od=Math.min(...Ra.data.map(ld=>Math.min(...ld.map(getProcedure)))),od<0&&(od=0)):od=2:od=3),od}const reChars=/[-[\]{}()*+?.,\\^$|#\s]/g;function escapeRegex(Ra){return Ra.replace(reChars,"\\$&")}const caseInsensitiveAttributes=new Set(["accept","accept-charset","align","alink","axis","bgcolor","charset","checked","clear","codetype","color","compact","declare","defer","dir","direction","disabled","enctype","face","frame","hreflang","http-equiv","lang","language","link","media","method","multiple","nohref","noresize","noshade","nowrap","readonly","rel","rev","rules","scope","scrolling","selected","shape","target","text","type","valign","valuetype","vlink"]);function shouldIgnoreCase(Ra,qa){return typeof Ra.ignoreCase=="boolean"?Ra.ignoreCase:Ra.ignoreCase==="quirks"?!!qa.quirksMode:!qa.xmlMode&&caseInsensitiveAttributes.has(Ra.name)}const attributeRules={equals(Ra,qa,nd){const{adapter:od}=nd,{name:ld}=qa;let{value:ud}=qa;return shouldIgnoreCase(qa,nd)?(ud=ud.toLowerCase(),cd=>{const dd=od.getAttributeValue(cd,ld);return dd!=null&&dd.length===ud.length&&dd.toLowerCase()===ud&&Ra(cd)}):cd=>od.getAttributeValue(cd,ld)===ud&&Ra(cd)},hyphen(Ra,qa,nd){const{adapter:od}=nd,{name:ld}=qa;let{value:ud}=qa;const cd=ud.length;return shouldIgnoreCase(qa,nd)?(ud=ud.toLowerCase(),function(pd){const fd=od.getAttributeValue(pd,ld);return fd!=null&&(fd.length===cd||fd.charAt(cd)==="-")&&fd.substr(0,cd).toLowerCase()===ud&&Ra(pd)}):function(pd){const fd=od.getAttributeValue(pd,ld);return fd!=null&&(fd.length===cd||fd.charAt(cd)==="-")&&fd.substr(0,cd)===ud&&Ra(pd)}},element(Ra,qa,nd){const{adapter:od}=nd,{name:ld,value:ud}=qa;if(/\s/.test(ud))return boolbase$1.falseFunc;const cd=new RegExp(`(?:^|\\s)${escapeRegex(ud)}(?:$|\\s)`,shouldIgnoreCase(qa,nd)?"i":"");return function(pd){const fd=od.getAttributeValue(pd,ld);return fd!=null&&fd.length>=ud.length&&cd.test(fd)&&Ra(pd)}},exists(Ra,{name:qa},{adapter:nd}){return od=>nd.hasAttrib(od,qa)&&Ra(od)},start(Ra,qa,nd){const{adapter:od}=nd,{name:ld}=qa;let{value:ud}=qa;const cd=ud.length;return cd===0?boolbase$1.falseFunc:shouldIgnoreCase(qa,nd)?(ud=ud.toLowerCase(),dd=>{const pd=od.getAttributeValue(dd,ld);return pd!=null&&pd.length>=cd&&pd.substr(0,cd).toLowerCase()===ud&&Ra(dd)}):dd=>{var pd;return!!(!((pd=od.getAttributeValue(dd,ld))===null||pd===void 0)&&pd.startsWith(ud))&&Ra(dd)}},end(Ra,qa,nd){const{adapter:od}=nd,{name:ld}=qa;let{value:ud}=qa;const cd=-ud.length;return cd===0?boolbase$1.falseFunc:shouldIgnoreCase(qa,nd)?(ud=ud.toLowerCase(),dd=>{var pd;return((pd=od.getAttributeValue(dd,ld))===null||pd===void 0?void 0:pd.substr(cd).toLowerCase())===ud&&Ra(dd)}):dd=>{var pd;return!!(!((pd=od.getAttributeValue(dd,ld))===null||pd===void 0)&&pd.endsWith(ud))&&Ra(dd)}},any(Ra,qa,nd){const{adapter:od}=nd,{name:ld,value:ud}=qa;if(ud==="")return boolbase$1.falseFunc;if(shouldIgnoreCase(qa,nd)){const cd=new RegExp(escapeRegex(ud),"i");return function(pd){const fd=od.getAttributeValue(pd,ld);return fd!=null&&fd.length>=ud.length&&cd.test(fd)&&Ra(pd)}}return cd=>{var dd;return!!(!((dd=od.getAttributeValue(cd,ld))===null||dd===void 0)&&dd.includes(ud))&&Ra(cd)}},not(Ra,qa,nd){const{adapter:od}=nd,{name:ld}=qa;let{value:ud}=qa;return ud===""?cd=>!!od.getAttributeValue(cd,ld)&&Ra(cd):shouldIgnoreCase(qa,nd)?(ud=ud.toLowerCase(),cd=>{const dd=od.getAttributeValue(cd,ld);return(dd==null||dd.length!==ud.length||dd.toLowerCase()!==ud)&&Ra(cd)}):cd=>od.getAttributeValue(cd,ld)!==ud&&Ra(cd)}},whitespace$1=new Set([9,10,12,13,32]),ZERO=48,NINE=57;function parse$6(Ra){if(Ra=Ra.trim().toLowerCase(),Ra==="even")return[2,0];if(Ra==="odd")return[2,1];let qa=0,nd=0,od=ud(),ld=cd();if(qa=ZERO&&Ra.charCodeAt(qa)<=NINE;)fd=fd*10+(Ra.charCodeAt(qa)-ZERO),qa++;return qa===pd?null:fd}function dd(){for(;qaud<=nd;if(qa===0)return ud=>ud===nd;if(qa===1)return nd<0?boolbase$1.trueFunc:ud=>ud>=nd;const od=Math.abs(qa),ld=(nd%od+od)%od;return qa>1?ud=>ud>=nd&&ud%od===ld:ud=>ud<=nd&&ud%od===ld}function nthCheck(Ra){return compile$1(parse$6(Ra))}function getChildFunc(Ra,qa){return nd=>{const od=qa.getParent(nd);return od!=null&&qa.isTag(od)&&Ra(nd)}}const filters={contains(Ra,qa,{adapter:nd}){return function(ld){return Ra(ld)&&nd.getText(ld).includes(qa)}},icontains(Ra,qa,{adapter:nd}){const od=qa.toLowerCase();return function(ud){return Ra(ud)&&nd.getText(ud).toLowerCase().includes(od)}},"nth-child"(Ra,qa,{adapter:nd,equals:od}){const ld=nthCheck(qa);return ld===boolbase$1.falseFunc?boolbase$1.falseFunc:ld===boolbase$1.trueFunc?getChildFunc(Ra,nd):function(cd){const dd=nd.getSiblings(cd);let pd=0;for(let fd=0;fd=0&&!od(cd,dd[fd]);fd--)nd.isTag(dd[fd])&&pd++;return ld(pd)&&Ra(cd)}},"nth-of-type"(Ra,qa,{adapter:nd,equals:od}){const ld=nthCheck(qa);return ld===boolbase$1.falseFunc?boolbase$1.falseFunc:ld===boolbase$1.trueFunc?getChildFunc(Ra,nd):function(cd){const dd=nd.getSiblings(cd);let pd=0;for(let fd=0;fd=0;fd--){const md=dd[fd];if(od(cd,md))break;nd.isTag(md)&&nd.getName(md)===nd.getName(cd)&&pd++}return ld(pd)&&Ra(cd)}},root(Ra,qa,{adapter:nd}){return od=>{const ld=nd.getParent(od);return(ld==null||!nd.isTag(ld))&&Ra(od)}},scope(Ra,qa,nd,od){const{equals:ld}=nd;return!od||od.length===0?filters.root(Ra,qa,nd):od.length===1?ud=>ld(od[0],ud)&&Ra(ud):ud=>od.includes(ud)&&Ra(ud)},hover:dynamicStatePseudo("isHovered"),visited:dynamicStatePseudo("isVisited"),active:dynamicStatePseudo("isActive")};function dynamicStatePseudo(Ra){return function(nd,od,{adapter:ld}){const ud=ld[Ra];return typeof ud!="function"?boolbase$1.falseFunc:function(dd){return ud(dd)&&nd(dd)}}}const pseudos={empty(Ra,{adapter:qa}){return!qa.getChildren(Ra).some(nd=>qa.isTag(nd)||qa.getText(nd)!=="")},"first-child"(Ra,{adapter:qa,equals:nd}){if(qa.prevElementSibling)return qa.prevElementSibling(Ra)==null;const od=qa.getSiblings(Ra).find(ld=>qa.isTag(ld));return od!=null&&nd(Ra,od)},"last-child"(Ra,{adapter:qa,equals:nd}){const od=qa.getSiblings(Ra);for(let ld=od.length-1;ld>=0;ld--){if(nd(Ra,od[ld]))return!0;if(qa.isTag(od[ld]))break}return!1},"first-of-type"(Ra,{adapter:qa,equals:nd}){const od=qa.getSiblings(Ra),ld=qa.getName(Ra);for(let ud=0;ud=0;ud--){const cd=od[ud];if(nd(Ra,cd))return!0;if(qa.isTag(cd)&&qa.getName(cd)===ld)break}return!1},"only-of-type"(Ra,{adapter:qa,equals:nd}){const od=qa.getName(Ra);return qa.getSiblings(Ra).every(ld=>nd(Ra,ld)||!qa.isTag(ld)||qa.getName(ld)!==od)},"only-child"(Ra,{adapter:qa,equals:nd}){return qa.getSiblings(Ra).every(od=>nd(Ra,od)||!qa.isTag(od))}};function verifyPseudoArgs(Ra,qa,nd,od){if(nd===null){if(Ra.length>od)throw new Error(`Pseudo-class :${qa} requires an argument`)}else if(Ra.length===od)throw new Error(`Pseudo-class :${qa} doesn't have any arguments`)}const aliases={"any-link":":is(a, area, link)[href]",link:":any-link:not(:visited)",disabled:`:is( :is(button, input, select, textarea, optgroup, option)[disabled], optgroup[disabled] > option, fieldset[disabled]:not(fieldset[disabled] legend:first-of-type *) )`,enabled:":not(:disabled)",checked:":is(:is(input[type=radio], input[type=checkbox])[checked], option:selected)",required:":is(input, select, textarea)[required]",optional:":is(input, select, textarea):not([required])",selected:"option:is([selected], select:not([multiple]):not(:has(> option[selected])) > :first-of-type)",checkbox:"[type=checkbox]",file:"[type=file]",password:"[type=password]",radio:"[type=radio]",reset:"[type=reset]",image:"[type=image]",submit:"[type=submit]",parent:":not(:empty)",header:":is(h1, h2, h3, h4, h5, h6)",button:":is(button, input[type=button])",input:":is(input, textarea, select, button)",text:"input:is(:not([type!='']), [type=text])"},PLACEHOLDER_ELEMENT={};function ensureIsTag(Ra,qa){return Ra===boolbase$1.falseFunc?boolbase$1.falseFunc:nd=>qa.isTag(nd)&&Ra(nd)}function getNextSiblings(Ra,qa){const nd=qa.getSiblings(Ra);if(nd.length<=1)return[];const od=nd.indexOf(Ra);return od<0||od===nd.length-1?[]:nd.slice(od+1).filter(qa.isTag)}function copyOptions(Ra){return{xmlMode:!!Ra.xmlMode,lowerCaseAttributeNames:!!Ra.lowerCaseAttributeNames,lowerCaseTags:!!Ra.lowerCaseTags,quirksMode:!!Ra.quirksMode,cacheResults:!!Ra.cacheResults,pseudos:Ra.pseudos,adapter:Ra.adapter,equals:Ra.equals}}const is$3=(Ra,qa,nd,od,ld)=>{const ud=ld(qa,copyOptions(nd),od);return ud===boolbase$1.trueFunc?Ra:ud===boolbase$1.falseFunc?boolbase$1.falseFunc:cd=>ud(cd)&&Ra(cd)},subselects={is:is$3,matches:is$3,where:is$3,not(Ra,qa,nd,od,ld){const ud=ld(qa,copyOptions(nd),od);return ud===boolbase$1.falseFunc?Ra:ud===boolbase$1.trueFunc?boolbase$1.falseFunc:cd=>!ud(cd)&&Ra(cd)},has(Ra,qa,nd,od,ld){const{adapter:ud}=nd,cd=copyOptions(nd);cd.relativeSelector=!0;const dd=qa.some(md=>md.some(isTraversal))?[PLACEHOLDER_ELEMENT]:void 0,pd=ld(qa,cd,dd);if(pd===boolbase$1.falseFunc)return boolbase$1.falseFunc;const fd=ensureIsTag(pd,ud);if(dd&&pd!==boolbase$1.trueFunc){const{shouldTestNextSiblings:md=!1}=pd;return vd=>{if(!Ra(vd))return!1;dd[0]=vd;const Ad=ud.getChildren(vd),Nd=md?[...Ad,...getNextSiblings(vd,ud)]:Ad;return ud.existsOne(fd,Nd)}}return md=>Ra(md)&&ud.existsOne(fd,ud.getChildren(md))}};function compilePseudoSelector(Ra,qa,nd,od,ld){var ud;const{name:cd,data:dd}=qa;if(Array.isArray(dd)){if(!(cd in subselects))throw new Error(`Unknown pseudo-class :${cd}(${dd})`);return subselects[cd](Ra,dd,nd,od,ld)}const pd=(ud=nd.pseudos)===null||ud===void 0?void 0:ud[cd],fd=typeof pd=="string"?pd:aliases[cd];if(typeof fd=="string"){if(dd!=null)throw new Error(`Pseudo ${cd} doesn't have any arguments`);const md=parse$7(fd);return subselects.is(Ra,md,nd,od,ld)}if(typeof pd=="function")return verifyPseudoArgs(pd,cd,dd,1),md=>pd(md,dd)&&Ra(md);if(cd in filters)return filters[cd](Ra,dd,nd,od);if(cd in pseudos){const md=pseudos[cd];return verifyPseudoArgs(md,cd,dd,2),vd=>md(vd,nd,dd)&&Ra(vd)}throw new Error(`Unknown pseudo-class :${cd}`)}function getElementParent(Ra,qa){const nd=qa.getParent(Ra);return nd&&qa.isTag(nd)?nd:null}function compileGeneralSelector(Ra,qa,nd,od,ld){const{adapter:ud,equals:cd}=nd;switch(qa.type){case SelectorType.PseudoElement:throw new Error("Pseudo-elements are not supported by css-select");case SelectorType.ColumnCombinator:throw new Error("Column combinators are not yet supported by css-select");case SelectorType.Attribute:{if(qa.namespace!=null)throw new Error("Namespaced attributes are not yet supported by css-select");return(!nd.xmlMode||nd.lowerCaseAttributeNames)&&(qa.name=qa.name.toLowerCase()),attributeRules[qa.action](Ra,qa,nd)}case SelectorType.Pseudo:return compilePseudoSelector(Ra,qa,nd,od,ld);case SelectorType.Tag:{if(qa.namespace!=null)throw new Error("Namespaced tag names are not yet supported by css-select");let{name:dd}=qa;return(!nd.xmlMode||nd.lowerCaseTags)&&(dd=dd.toLowerCase()),function(fd){return ud.getName(fd)===dd&&Ra(fd)}}case SelectorType.Descendant:{if(nd.cacheResults===!1||typeof WeakSet>"u")return function(fd){let md=fd;for(;md=getElementParent(md,ud);)if(Ra(md))return!0;return!1};const dd=new WeakSet;return function(fd){let md=fd;for(;md=getElementParent(md,ud);)if(!dd.has(md)){if(ud.isTag(md)&&Ra(md))return!0;dd.add(md)}return!1}}case"_flexibleDescendant":return function(pd){let fd=pd;do if(Ra(fd))return!0;while(fd=getElementParent(fd,ud));return!1};case SelectorType.Parent:return function(pd){return ud.getChildren(pd).some(fd=>ud.isTag(fd)&&Ra(fd))};case SelectorType.Child:return function(pd){const fd=ud.getParent(pd);return fd!=null&&ud.isTag(fd)&&Ra(fd)};case SelectorType.Sibling:return function(pd){const fd=ud.getSiblings(pd);for(let md=0;mdqa.some(includesScopePseudo)))}const DESCENDANT_TOKEN={type:SelectorType.Descendant},FLEXIBLE_DESCENDANT_TOKEN={type:"_flexibleDescendant"},SCOPE_TOKEN={type:SelectorType.Pseudo,name:"scope",data:null};function absolutize(Ra,{adapter:qa},nd){const od=!!(nd!=null&&nd.every(ld=>{const ud=qa.isTag(ld)&&qa.getParent(ld);return ld===PLACEHOLDER_ELEMENT||ud&&qa.isTag(ud)}));for(const ld of Ra){if(!(ld.length>0&&isTraversal(ld[0])&&ld[0].type!==SelectorType.Descendant))if(od&&!ld.some(includesScopePseudo))ld.unshift(DESCENDANT_TOKEN);else continue;ld.unshift(SCOPE_TOKEN)}}function compileToken(Ra,qa,nd){var od;Ra.forEach(sortByProcedure),nd=(od=qa.context)!==null&&od!==void 0?od:nd;const ld=Array.isArray(nd),ud=nd&&(Array.isArray(nd)?nd:[nd]);if(qa.relativeSelector!==!1)absolutize(Ra,qa,ud);else if(Ra.some(pd=>pd.length>0&&isTraversal(pd[0])))throw new Error("Relative selectors are not allowed when the `relativeSelector` option is disabled");let cd=!1;const dd=Ra.map(pd=>{if(pd.length>=2){const[fd,md]=pd;fd.type!==SelectorType.Pseudo||fd.name!=="scope"||(ld&&md.type===SelectorType.Descendant?pd[1]=FLEXIBLE_DESCENDANT_TOKEN:(md.type===SelectorType.Adjacent||md.type===SelectorType.Sibling)&&(cd=!0))}return compileRules(pd,qa,ud)}).reduce(reduceRules,boolbase$1.falseFunc);return dd.shouldTestNextSiblings=cd,dd}function compileRules(Ra,qa,nd){var od;return Ra.reduce((ld,ud)=>ld===boolbase$1.falseFunc?boolbase$1.falseFunc:compileGeneralSelector(ld,ud,qa,nd,compileToken),(od=qa.rootFunc)!==null&&od!==void 0?od:boolbase$1.trueFunc)}function reduceRules(Ra,qa){return qa===boolbase$1.falseFunc||Ra===boolbase$1.trueFunc?Ra:Ra===boolbase$1.falseFunc||qa===boolbase$1.trueFunc?qa:function(od){return Ra(od)||qa(od)}}const defaultEquals=(Ra,qa)=>Ra===qa,defaultOptions$3={adapter:DomUtils,equals:defaultEquals};function convertOptionFormats(Ra){var qa,nd,od,ld;const ud=Ra??defaultOptions$3;return(qa=ud.adapter)!==null&&qa!==void 0||(ud.adapter=DomUtils),(nd=ud.equals)!==null&&nd!==void 0||(ud.equals=(ld=(od=ud.adapter)===null||od===void 0?void 0:od.equals)!==null&&ld!==void 0?ld:defaultEquals),ud}function wrapCompile(Ra){return function(nd,od,ld){const ud=convertOptionFormats(od);return Ra(nd,ud,ld)}}const _compileToken=wrapCompile(compileToken);function prepareContext(Ra,qa,nd=!1){return nd&&(Ra=appendNextSiblings(Ra,qa)),Array.isArray(Ra)?qa.removeSubsets(Ra):qa.getChildren(Ra)}function appendNextSiblings(Ra,qa){const nd=Array.isArray(Ra)?Ra.slice(0):[Ra],od=nd.length;for(let ld=0;ldqa.some(isFilter)):!1}function getLimit(Ra,qa,nd){const od=qa!=null?parseInt(qa,10):NaN;switch(Ra){case"first":return 1;case"nth":case"eq":return isFinite(od)?od>=0?od+1:1/0:0;case"lt":return isFinite(od)?od>=0?Math.min(od,nd):1/0:0;case"gt":return isFinite(od)?1/0:0;case"odd":return 2*nd;case"even":return 2*nd-1;case"last":case"not":return 1/0}}function getDocumentRoot(Ra){for(;Ra.parent;)Ra=Ra.parent;return Ra}function groupSelectors(Ra){const qa=[],nd=[];for(const od of Ra)od.some(isFilter)?qa.push(od):nd.push(od);return[nd,qa]}const UNIVERSAL_SELECTOR={type:SelectorType.Universal,namespace:null},SCOPE_PSEUDO={type:SelectorType.Pseudo,name:"scope",data:null};function is$2(Ra,qa,nd={}){return some$2([Ra],qa,nd)}function some$2(Ra,qa,nd={}){if(typeof qa=="function")return Ra.some(qa);const[od,ld]=groupSelectors(parse$7(qa));return od.length>0&&Ra.some(_compileToken(od,nd))||ld.some(ud=>filterBySelector(ud,Ra,nd).length>0)}function filterByPosition(Ra,qa,nd,od){const ld=typeof nd=="string"?parseInt(nd,10):NaN;switch(Ra){case"first":case"lt":return qa;case"last":return qa.length>0?[qa[qa.length-1]]:qa;case"nth":case"eq":return isFinite(ld)&&Math.abs(ld)cd%2===0);case"odd":return qa.filter((ud,cd)=>cd%2===1);case"not":{const ud=new Set(filterParsed(nd,qa,od));return qa.filter(cd=>!ud.has(cd))}}}function filter$4(Ra,qa,nd={}){return filterParsed(parse$7(Ra),qa,nd)}function filterParsed(Ra,qa,nd){if(qa.length===0)return[];const[od,ld]=groupSelectors(Ra);let ud;if(od.length){const cd=filterElements(qa,od,nd);if(ld.length===0)return cd;cd.length&&(ud=new Set(cd))}for(let cd=0;cdisTag(md)&&!ud.has(md)):qa).length===0)break;const fd=filterBySelector(dd,qa,nd);if(fd.length)if(ud)fd.forEach(md=>ud.add(md));else{if(cd===ld.length-1)return fd;ud=new Set(fd)}}return typeof ud<"u"?ud.size===qa.length?qa:qa.filter(cd=>ud.has(cd)):[]}function filterBySelector(Ra,qa,nd){var od;if(Ra.some(isTraversal$1)){const ld=(od=nd.root)!==null&&od!==void 0?od:getDocumentRoot(qa[0]),ud={...nd,context:qa,relativeSelector:!1};return Ra.push(SCOPE_PSEUDO),findFilterElements(ld,Ra,ud,!0,qa.length)}return findFilterElements(qa,Ra,nd,!1,qa.length)}function select$1(Ra,qa,nd={},od=1/0){if(typeof Ra=="function")return find$2(qa,Ra);const[ld,ud]=groupSelectors(parse$7(Ra)),cd=ud.map(dd=>findFilterElements(qa,dd,nd,!0,od));return ld.length&&cd.push(findElements(qa,ld,nd,od)),cd.length===0?[]:cd.length===1?cd[0]:uniqueSort(cd.reduce((dd,pd)=>[...dd,...pd]))}function findFilterElements(Ra,qa,nd,od,ld){const ud=qa.findIndex(isFilter),cd=qa.slice(0,ud),dd=qa[ud],pd=qa.length-1===ud?ld:1/0,fd=getLimit(dd.name,dd.data,pd);if(fd===0)return[];const vd=(cd.length===0&&!Array.isArray(Ra)?getChildren(Ra).filter(isTag):cd.length===0?(Array.isArray(Ra)?Ra:[Ra]).filter(isTag):od||cd.some(isTraversal$1)?findElements(Ra,[cd],nd,fd):filterElements(Ra,[cd],nd)).slice(0,fd);let Ad=filterByPosition(dd.name,vd,dd.data,nd);if(Ad.length===0||qa.length===ud+1)return Ad;const Nd=qa.slice(ud+1),Id=Nd.some(isTraversal$1);if(Id){if(isTraversal$1(Nd[0])){const{type:kd}=Nd[0];(kd===SelectorType.Sibling||kd===SelectorType.Adjacent)&&(Ad=prepareContext(Ad,DomUtils,!0)),Nd.unshift(UNIVERSAL_SELECTOR)}nd={...nd,relativeSelector:!1,rootFunc:kd=>Ad.includes(kd)}}else nd.rootFunc&&nd.rootFunc!==boolbase.trueFunc&&(nd={...nd,rootFunc:boolbase.trueFunc});return Nd.some(isFilter)?findFilterElements(Ad,Nd,nd,!1,ld):Id?findElements(Ad,[Nd],nd,ld):filterElements(Ad,[Nd],nd)}function findElements(Ra,qa,nd,od){const ld=_compileToken(qa,nd,Ra);return find$2(Ra,ld,od)}function find$2(Ra,qa,nd=1/0){const od=prepareContext(Ra,DomUtils,qa.shouldTestNextSiblings);return find$3(ld=>isTag(ld)&&qa(ld),od,!0,nd)}function filterElements(Ra,qa,nd){const od=(Array.isArray(Ra)?Ra:[Ra]).filter(isTag);if(od.length===0)return od;const ld=_compileToken(qa,nd);return ld===boolbase.trueFunc?od:od.filter(ld)}const reSiblingSelector=/^\s*[+~]/;function find$1(Ra){if(!Ra)return this._make([]);if(typeof Ra!="string"){const qa=isCheerio(Ra)?Ra.toArray():[Ra],nd=this.toArray();return this._make(qa.filter(od=>nd.some(ld=>contains(ld,od))))}return this._findBySelector(Ra,Number.POSITIVE_INFINITY)}function _findBySelector(Ra,qa){var nd;const od=this.toArray(),ld=reSiblingSelector.test(Ra)?od:this.children().toArray(),ud={context:od,root:(nd=this._root)===null||nd===void 0?void 0:nd[0],xmlMode:this.options.xmlMode,lowerCaseTags:this.options.lowerCaseTags,lowerCaseAttributeNames:this.options.lowerCaseAttributeNames,pseudos:this.options.pseudos,quirksMode:this.options.quirksMode};return this._make(select$1(Ra,ld,ud,qa))}function _getMatcher(Ra){return function(qa,...nd){return function(od){var ld;let ud=Ra(qa,this);return od&&(ud=filterArray$1(ud,od,this.options.xmlMode,(ld=this._root)===null||ld===void 0?void 0:ld[0])),this._make(this.length>1&&ud.length>1?nd.reduce((cd,dd)=>dd(cd),ud):ud)}}}const _matcher=_getMatcher((Ra,qa)=>{let nd=[];for(let od=0;od0&&(nd=nd.concat(ld))}return nd}),_singleMatcher=_getMatcher((Ra,qa)=>{const nd=[];for(let od=0;od{const cd=[];return domEach(ud,dd=>{for(let pd;(pd=ld(dd))&&!(nd!=null&&nd(pd,cd.length));dd=pd)cd.push(pd)}),cd})(Ra,...qa);return function(ld,ud){nd=typeof ld=="string"?dd=>is$2(dd,ld,this.options):ld?getFilterFn(ld):null;const cd=od.call(this,ud);return nd=null,cd}}function _removeDuplicates(Ra){return Ra.length>1?Array.from(new Set(Ra)):Ra}const parent$1=_singleMatcher(({parent:Ra})=>Ra&&!isDocument(Ra)?Ra:null,_removeDuplicates),parents=_matcher(Ra=>{const qa=[];for(;Ra.parent&&!isDocument(Ra.parent);)qa.push(Ra.parent),Ra=Ra.parent;return qa},uniqueSort,Ra=>Ra.reverse()),parentsUntil=_matchUntil(({parent:Ra})=>Ra&&!isDocument(Ra)?Ra:null,uniqueSort,Ra=>Ra.reverse());function closest(Ra){var qa;const nd=[];if(!Ra)return this._make(nd);const od={xmlMode:this.options.xmlMode,root:(qa=this._root)===null||qa===void 0?void 0:qa[0]},ld=typeof Ra=="string"?ud=>is$2(ud,Ra,od):getFilterFn(Ra);return domEach(this,ud=>{for(ud&&!isDocument(ud)&&!isTag(ud)&&(ud=ud.parent);ud&&isTag(ud);){if(ld(ud,0)){nd.includes(ud)||nd.push(ud);break}ud=ud.parent}}),this._make(nd)}const next$1=_singleMatcher(Ra=>nextElementSibling(Ra)),nextAll=_matcher(Ra=>{const qa=[];for(;Ra.next;)Ra=Ra.next,isTag(Ra)&&qa.push(Ra);return qa},_removeDuplicates),nextUntil=_matchUntil(Ra=>nextElementSibling(Ra),_removeDuplicates),prev$1=_singleMatcher(Ra=>prevElementSibling(Ra)),prevAll=_matcher(Ra=>{const qa=[];for(;Ra.prev;)Ra=Ra.prev,isTag(Ra)&&qa.push(Ra);return qa},_removeDuplicates),prevUntil=_matchUntil(Ra=>prevElementSibling(Ra),_removeDuplicates),siblings=_matcher(Ra=>getSiblings(Ra).filter(qa=>isTag(qa)&&qa!==Ra),uniqueSort),children$2=_matcher(Ra=>getChildren(Ra).filter(isTag),_removeDuplicates);function contents(){const Ra=this.toArray().reduce((qa,nd)=>hasChildren(nd)?qa.concat(nd.children):qa,[]);return this._make(Ra)}function each$1(Ra){let qa=0;const nd=this.length;for(;qaRa.call(qa,nd,qa):isCheerio(Ra)?qa=>Array.prototype.includes.call(Ra,qa):function(qa){return Ra===qa}}function filter$3(Ra){var qa;return this._make(filterArray$1(this.toArray(),Ra,this.options.xmlMode,(qa=this._root)===null||qa===void 0?void 0:qa[0]))}function filterArray$1(Ra,qa,nd,od){return typeof qa=="string"?filter$4(qa,Ra,{xmlMode:nd,root:od}):Ra.filter(getFilterFn(qa))}function is$1(Ra){const qa=this.toArray();return typeof Ra=="string"?some$2(qa.filter(isTag),Ra,this.options):Ra?qa.some(getFilterFn(Ra)):!1}function not(Ra){let qa=this.toArray();if(typeof Ra=="string"){const nd=new Set(filter$4(Ra,qa,this.options));qa=qa.filter(od=>!nd.has(od))}else{const nd=getFilterFn(Ra);qa=qa.filter((od,ld)=>!nd(od,ld))}return this._make(qa)}function has(Ra){return this.filter(typeof Ra=="string"?`:has(${Ra})`:(qa,nd)=>this._make(nd).find(Ra).length>0)}function first(){return this.length>1?this._make(this[0]):this}function last(){return this.length>0?this._make(this[this.length-1]):this}function eq$1(Ra){var qa;return Ra=+Ra,Ra===0&&this.length<=1?this:(Ra<0&&(Ra=this.length+Ra),this._make((qa=this[Ra])!==null&&qa!==void 0?qa:[]))}function get$2(Ra){return Ra==null?this.toArray():this[Ra<0?this.length+Ra:Ra]}function toArray$3(){return Array.prototype.slice.call(this)}function index$1(Ra){let qa,nd;return Ra==null?(qa=this.parent().children(),nd=this[0]):typeof Ra=="string"?(qa=this._make(Ra),nd=this[0]):(qa=this,nd=isCheerio(Ra)?Ra[0]:Ra),Array.prototype.indexOf.call(qa,nd)}function slice$1(Ra,qa){return this._make(Array.prototype.slice.call(this,Ra,qa))}function end(){var Ra;return(Ra=this.prevObject)!==null&&Ra!==void 0?Ra:this._make([])}function add(Ra,qa){const nd=this._make(Ra,qa),od=uniqueSort([...this.get(),...nd.get()]);return this._make(od)}function addBack(Ra){return this.prevObject?this.add(Ra?this.prevObject.filter(Ra):this.prevObject):this}const Traversing=Object.freeze(Object.defineProperty({__proto__:null,_findBySelector,add,addBack,children:children$2,closest,contents,each:each$1,end,eq:eq$1,filter:filter$3,filterArray:filterArray$1,find:find$1,first,get:get$2,has,index:index$1,is:is$1,last,map:map$3,next:next$1,nextAll,nextUntil,not,parent:parent$1,parents,parentsUntil,prev:prev$1,prevAll,prevUntil,siblings,slice:slice$1,toArray:toArray$3},Symbol.toStringTag,{value:"Module"}));function getParse(Ra){return function(nd,od,ld,ud){if(typeof Buffer$4<"u"&&Buffer$4.isBuffer(nd)&&(nd=nd.toString()),typeof nd=="string")return Ra(nd,od,ld,ud);const cd=nd;if(!Array.isArray(cd)&&isDocument(cd))return cd;const dd=new Document([]);return update(cd,dd),dd}}function update(Ra,qa){const nd=Array.isArray(Ra)?Ra:[Ra];qa?qa.children=nd:qa=null;for(let od=0;od{if(!hasChildren(od))return;const ud=typeof qa[0]=="function"?qa[0].call(od,ld,this._render(od.children)):qa,cd=this._makeDomArray(ud,ld=Ra.length?null:Ra[qa+nd];for(let md=0;md-1&&(Ad.children.splice(Id,1),ld===Ad&&qa>Id&&dd[0]--)}vd.parent=ld,vd.prev&&(vd.prev.next=(ud=vd.next)!==null&&ud!==void 0?ud:null),vd.next&&(vd.next.prev=(cd=vd.prev)!==null&&cd!==void 0?cd:null),vd.prev=md===0?pd:od[md-1],vd.next=md===od.length-1?fd:od[md+1]}return pd&&(pd.next=od[0]),fd&&(fd.prev=od[od.length-1]),Ra.splice(...dd)}function appendTo(Ra){return(isCheerio(Ra)?Ra:this._make(Ra)).append(this),this}function prependTo(Ra){return(isCheerio(Ra)?Ra:this._make(Ra)).prepend(this),this}const append$2=_insert((Ra,qa,nd)=>{uniqueSplice(qa,qa.length,0,Ra,nd)}),prepend=_insert((Ra,qa,nd)=>{uniqueSplice(qa,0,0,Ra,nd)});function _wrap(Ra){return function(qa){const nd=this.length-1,od=this.parents().last();for(let ld=0;ld{const{parent:od}=Ra;if(!od)return;const ld=od.children,ud=ld.indexOf(Ra);update([Ra],qa),uniqueSplice(ld,ud,0,nd,od)}),wrapInner=_wrap((Ra,qa,nd)=>{hasChildren(Ra)&&(update(Ra.children,qa),update(nd,Ra))});function unwrap(Ra){return this.parent(Ra).not("body").each((qa,nd)=>{this._make(nd).replaceWith(nd.children)}),this}function wrapAll(Ra){const qa=this[0];if(qa){const nd=this._make(typeof Ra=="function"?Ra.call(qa,0,qa):Ra).insertBefore(qa);let od;for(let ud=0;ud{if(!hasChildren(nd)||!nd.parent)return;const ld=nd.parent.children,ud=ld.indexOf(nd);if(ud<0)return;const cd=typeof Ra[0]=="function"?Ra[0].call(nd,od,this._render(nd.children)):Ra,dd=this._makeDomArray(cd,od{if(!hasChildren(nd)||!nd.parent)return;const ld=nd.parent.children,ud=ld.indexOf(nd);if(ud<0)return;const cd=typeof Ra[0]=="function"?Ra[0].call(nd,od,this._render(nd.children)):Ra,dd=this._makeDomArray(cd,od{const ld=this.clone().toArray(),{parent:ud}=od;if(!ud)return;const cd=ud.children,dd=cd.indexOf(od);dd<0||(uniqueSplice(cd,dd,0,ld,ud),nd.push(...ld))}),this._make(nd)}function remove$1(Ra){const qa=Ra?this.filter(Ra):this;return domEach(qa,nd=>{removeElement(nd),nd.prev=nd.next=nd.parent=null}),this}function replaceWith(Ra){return domEach(this,(qa,nd)=>{const{parent:od}=qa;if(!od)return;const ld=od.children,ud=typeof Ra=="function"?Ra.call(qa,nd,qa):Ra,cd=this._makeDomArray(ud);update(cd,null);const dd=ld.indexOf(qa);uniqueSplice(ld,dd,1,cd,od),cd.includes(qa)||(qa.parent=qa.prev=qa.next=null)})}function empty$1(){return domEach(this,Ra=>{if(hasChildren(Ra)){for(const qa of Ra.children)qa.next=qa.prev=qa.parent=null;Ra.children.length=0}})}function html$4(Ra){if(Ra===void 0){const qa=this[0];return!qa||!hasChildren(qa)?null:this._render(qa.children)}return domEach(this,qa=>{if(!hasChildren(qa))return;for(const od of qa.children)od.next=od.prev=od.parent=null;const nd=isCheerio(Ra)?Ra.toArray():this._parse(`${Ra}`,this.options,!1,qa).children;update(nd,qa)})}function toString$2(){return this._render(this)}function text$2(Ra){return Ra===void 0?text$3(this):typeof Ra=="function"?domEach(this,(qa,nd)=>this._make(qa).text(Ra.call(qa,nd,text$3([qa])))):domEach(this,qa=>{if(!hasChildren(qa))return;for(const od of qa.children)od.next=od.prev=od.parent=null;const nd=new Text(`${Ra}`);update(nd,qa)})}function clone$1(){const Ra=Array.prototype.map.call(this.get(),nd=>cloneNode(nd,!0)),qa=new Document(Ra);for(const nd of Ra)nd.parent=qa;return this._make(Ra)}const Manipulation=Object.freeze(Object.defineProperty({__proto__:null,_makeDomArray,after,append:append$2,appendTo,before,clone:clone$1,empty:empty$1,html:html$4,insertAfter,insertBefore,prepend,prependTo,remove:remove$1,replaceWith,text:text$2,toString:toString$2,unwrap,wrap:wrap$1,wrapAll,wrapInner},Symbol.toStringTag,{value:"Module"}));function css$1(Ra,qa){if(Ra!=null&&qa!=null||typeof Ra=="object"&&!Array.isArray(Ra))return domEach(this,(nd,od)=>{isTag(nd)&&setCss(nd,Ra,qa,od)});if(this.length!==0)return getCss(this[0],Ra)}function setCss(Ra,qa,nd,od){if(typeof qa=="string"){const ld=getCss(Ra),ud=typeof nd=="function"?nd.call(Ra,od,ld[qa]):nd;ud===""?delete ld[qa]:ud!=null&&(ld[qa]=ud),Ra.attribs.style=stringify$3(ld)}else if(typeof qa=="object"){const ld=Object.keys(qa);for(let ud=0;ud`${qa}${qa?" ":""}${nd}: ${Ra[nd]};`,"")}function parse$5(Ra){if(Ra=(Ra||"").trim(),!Ra)return{};const qa={};let nd;for(const od of Ra.split(";")){const ld=od.indexOf(":");if(ld<1||ld===od.length-1){const ud=od.trimEnd();ud.length>0&&nd!==void 0&&(qa[nd]+=`;${ud}`)}else nd=od.slice(0,ld).trim(),qa[nd]=od.slice(ld+1).trim()}return qa}const Css=Object.freeze(Object.defineProperty({__proto__:null,css:css$1},Symbol.toStringTag,{value:"Module"})),submittableSelector="input,select,textarea,keygen",r20=/%20/g,rCRLF=/\r?\n/g;function serialize$1(){return this.serializeArray().map(nd=>`${encodeURIComponent(nd.name)}=${encodeURIComponent(nd.value)}`).join("&").replace(r20,"+")}function serializeArray(){return this.map((Ra,qa)=>{const nd=this._make(qa);return isTag(qa)&&qa.name==="form"?nd.find(submittableSelector).toArray():nd.filter(submittableSelector).toArray()}).filter('[name!=""]:enabled:not(:submit, :button, :image, :reset, :file):matches([checked], :not(:checkbox, :radio))').map((Ra,qa)=>{var nd;const od=this._make(qa),ld=od.attr("name"),ud=(nd=od.val())!==null&&nd!==void 0?nd:"";return Array.isArray(ud)?ud.map(cd=>({name:ld,value:cd.replace(rCRLF,`\r `)})):{name:ld,value:ud.replace(rCRLF,`\r -`)}}).toArray()}const Forms=Object.freeze(Object.defineProperty({__proto__:null,serialize:serialize$1,serializeArray},Symbol.toStringTag,{value:"Module"}));function getExtractDescr(Ra){var qa;return typeof Ra=="string"?{selector:Ra,value:"textContent"}:{selector:Ra.selector,value:(qa=Ra.value)!==null&&qa!==void 0?qa:"textContent"}}function extract(Ra){const qa={};for(const nd in Ra){const od=Ra[nd],ld=Array.isArray(od),{selector:ud,value:cd}=getExtractDescr(ld?od[0]:od),dd=typeof cd=="function"?cd:typeof cd=="string"?pd=>this._make(pd).prop(cd):pd=>this._make(pd).extract(cd);if(ld)qa[nd]=this._findBySelector(ud,Number.POSITIVE_INFINITY).map((pd,fd)=>dd(fd,nd,qa)).get();else{const pd=this._findBySelector(ud,1);qa[nd]=pd.length>0?dd(pd[0],nd,qa):void 0}}return qa}const Extract=Object.freeze(Object.defineProperty({__proto__:null,extract},Symbol.toStringTag,{value:"Module"}));class Cheerio{constructor(qa,nd,od){if(this.length=0,this.options=od,this._root=nd,qa){for(let ld=0;ld=55296&&Ra<=57343}function isSurrogatePair(Ra){return Ra>=56320&&Ra<=57343}function getSurrogatePairCodePoint(Ra,qa){return(Ra-55296)*1024+9216+qa}function isControlCodePoint(Ra){return Ra!==32&&Ra!==10&&Ra!==13&&Ra!==9&&Ra!==12&&Ra>=1&&Ra<=31||Ra>=127&&Ra<=159}function isUndefinedCodePoint(Ra){return Ra>=64976&&Ra<=65007||UNDEFINED_CODE_POINTS.has(Ra)}var ERR;(function(Ra){Ra.controlCharacterInInputStream="control-character-in-input-stream",Ra.noncharacterInInputStream="noncharacter-in-input-stream",Ra.surrogateInInputStream="surrogate-in-input-stream",Ra.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",Ra.endTagWithAttributes="end-tag-with-attributes",Ra.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",Ra.unexpectedSolidusInTag="unexpected-solidus-in-tag",Ra.unexpectedNullCharacter="unexpected-null-character",Ra.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",Ra.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",Ra.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",Ra.missingEndTagName="missing-end-tag-name",Ra.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",Ra.unknownNamedCharacterReference="unknown-named-character-reference",Ra.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",Ra.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",Ra.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",Ra.eofBeforeTagName="eof-before-tag-name",Ra.eofInTag="eof-in-tag",Ra.missingAttributeValue="missing-attribute-value",Ra.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",Ra.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",Ra.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",Ra.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",Ra.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",Ra.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",Ra.missingDoctypePublicIdentifier="missing-doctype-public-identifier",Ra.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",Ra.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",Ra.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",Ra.cdataInHtmlContent="cdata-in-html-content",Ra.incorrectlyOpenedComment="incorrectly-opened-comment",Ra.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",Ra.eofInDoctype="eof-in-doctype",Ra.nestedComment="nested-comment",Ra.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",Ra.eofInComment="eof-in-comment",Ra.incorrectlyClosedComment="incorrectly-closed-comment",Ra.eofInCdata="eof-in-cdata",Ra.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",Ra.nullCharacterReference="null-character-reference",Ra.surrogateCharacterReference="surrogate-character-reference",Ra.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",Ra.controlCharacterReference="control-character-reference",Ra.noncharacterCharacterReference="noncharacter-character-reference",Ra.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",Ra.missingDoctypeName="missing-doctype-name",Ra.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",Ra.duplicateAttribute="duplicate-attribute",Ra.nonConformingDoctype="non-conforming-doctype",Ra.missingDoctype="missing-doctype",Ra.misplacedDoctype="misplaced-doctype",Ra.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",Ra.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",Ra.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",Ra.openElementsLeftAfterEof="open-elements-left-after-eof",Ra.abandonedHeadElementChild="abandoned-head-element-child",Ra.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",Ra.nestedNoscriptInHead="nested-noscript-in-head",Ra.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(ERR||(ERR={}));const DEFAULT_BUFFER_WATERLINE=65536;class Preprocessor{constructor(qa){this.handler=qa,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=DEFAULT_BUFFER_WATERLINE,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(qa,nd){const{line:od,col:ld,offset:ud}=this,cd=ld+nd,dd=ud+nd;return{code:qa,startLine:od,endLine:od,startCol:cd,endCol:cd,startOffset:dd,endOffset:dd}}_err(qa){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(qa,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(qa){if(this.pos!==this.html.length-1){const nd=this.html.charCodeAt(this.pos+1);if(isSurrogatePair(nd))return this.pos++,this._addGap(),getSurrogatePairCodePoint(qa,nd)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,CODE_POINTS.EOF;return this._err(ERR.surrogateInInputStream),qa}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(qa,nd){this.html.length>0?this.html+=qa:this.html=qa,this.endOfChunkHit=!1,this.lastChunkWritten=nd}insertHtmlAtCurrentPos(qa){this.html=this.html.substring(0,this.pos+1)+qa+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(qa,nd){if(this.pos+qa.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(nd)return this.html.startsWith(qa,this.pos);for(let od=0;od=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,CODE_POINTS.EOF;const od=this.html.charCodeAt(nd);return od===CODE_POINTS.CARRIAGE_RETURN?CODE_POINTS.LINE_FEED:od}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,CODE_POINTS.EOF;let qa=this.html.charCodeAt(this.pos);return qa===CODE_POINTS.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,CODE_POINTS.LINE_FEED):qa===CODE_POINTS.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,isSurrogate(qa)&&(qa=this._processSurrogate(qa)),this.handler.onParseError===null||qa>31&&qa<127||qa===CODE_POINTS.LINE_FEED||qa===CODE_POINTS.CARRIAGE_RETURN||qa>159&&qa<64976||this._checkForProblematicCharacters(qa),qa)}_checkForProblematicCharacters(qa){isControlCodePoint(qa)?this._err(ERR.controlCharacterInInputStream):isUndefinedCodePoint(qa)&&this._err(ERR.noncharacterInInputStream)}retreat(qa){for(this.pos-=qa;this.pos=0;nd--)if(Ra.attrs[nd].name===qa)return Ra.attrs[nd].value;return null}var NS;(function(Ra){Ra.HTML="http://www.w3.org/1999/xhtml",Ra.MATHML="http://www.w3.org/1998/Math/MathML",Ra.SVG="http://www.w3.org/2000/svg",Ra.XLINK="http://www.w3.org/1999/xlink",Ra.XML="http://www.w3.org/XML/1998/namespace",Ra.XMLNS="http://www.w3.org/2000/xmlns/"})(NS||(NS={}));var ATTRS;(function(Ra){Ra.TYPE="type",Ra.ACTION="action",Ra.ENCODING="encoding",Ra.PROMPT="prompt",Ra.NAME="name",Ra.COLOR="color",Ra.FACE="face",Ra.SIZE="size"})(ATTRS||(ATTRS={}));var DOCUMENT_MODE;(function(Ra){Ra.NO_QUIRKS="no-quirks",Ra.QUIRKS="quirks",Ra.LIMITED_QUIRKS="limited-quirks"})(DOCUMENT_MODE||(DOCUMENT_MODE={}));var TAG_NAMES;(function(Ra){Ra.A="a",Ra.ADDRESS="address",Ra.ANNOTATION_XML="annotation-xml",Ra.APPLET="applet",Ra.AREA="area",Ra.ARTICLE="article",Ra.ASIDE="aside",Ra.B="b",Ra.BASE="base",Ra.BASEFONT="basefont",Ra.BGSOUND="bgsound",Ra.BIG="big",Ra.BLOCKQUOTE="blockquote",Ra.BODY="body",Ra.BR="br",Ra.BUTTON="button",Ra.CAPTION="caption",Ra.CENTER="center",Ra.CODE="code",Ra.COL="col",Ra.COLGROUP="colgroup",Ra.DD="dd",Ra.DESC="desc",Ra.DETAILS="details",Ra.DIALOG="dialog",Ra.DIR="dir",Ra.DIV="div",Ra.DL="dl",Ra.DT="dt",Ra.EM="em",Ra.EMBED="embed",Ra.FIELDSET="fieldset",Ra.FIGCAPTION="figcaption",Ra.FIGURE="figure",Ra.FONT="font",Ra.FOOTER="footer",Ra.FOREIGN_OBJECT="foreignObject",Ra.FORM="form",Ra.FRAME="frame",Ra.FRAMESET="frameset",Ra.H1="h1",Ra.H2="h2",Ra.H3="h3",Ra.H4="h4",Ra.H5="h5",Ra.H6="h6",Ra.HEAD="head",Ra.HEADER="header",Ra.HGROUP="hgroup",Ra.HR="hr",Ra.HTML="html",Ra.I="i",Ra.IMG="img",Ra.IMAGE="image",Ra.INPUT="input",Ra.IFRAME="iframe",Ra.KEYGEN="keygen",Ra.LABEL="label",Ra.LI="li",Ra.LINK="link",Ra.LISTING="listing",Ra.MAIN="main",Ra.MALIGNMARK="malignmark",Ra.MARQUEE="marquee",Ra.MATH="math",Ra.MENU="menu",Ra.META="meta",Ra.MGLYPH="mglyph",Ra.MI="mi",Ra.MO="mo",Ra.MN="mn",Ra.MS="ms",Ra.MTEXT="mtext",Ra.NAV="nav",Ra.NOBR="nobr",Ra.NOFRAMES="noframes",Ra.NOEMBED="noembed",Ra.NOSCRIPT="noscript",Ra.OBJECT="object",Ra.OL="ol",Ra.OPTGROUP="optgroup",Ra.OPTION="option",Ra.P="p",Ra.PARAM="param",Ra.PLAINTEXT="plaintext",Ra.PRE="pre",Ra.RB="rb",Ra.RP="rp",Ra.RT="rt",Ra.RTC="rtc",Ra.RUBY="ruby",Ra.S="s",Ra.SCRIPT="script",Ra.SEARCH="search",Ra.SECTION="section",Ra.SELECT="select",Ra.SOURCE="source",Ra.SMALL="small",Ra.SPAN="span",Ra.STRIKE="strike",Ra.STRONG="strong",Ra.STYLE="style",Ra.SUB="sub",Ra.SUMMARY="summary",Ra.SUP="sup",Ra.TABLE="table",Ra.TBODY="tbody",Ra.TEMPLATE="template",Ra.TEXTAREA="textarea",Ra.TFOOT="tfoot",Ra.TD="td",Ra.TH="th",Ra.THEAD="thead",Ra.TITLE="title",Ra.TR="tr",Ra.TRACK="track",Ra.TT="tt",Ra.U="u",Ra.UL="ul",Ra.SVG="svg",Ra.VAR="var",Ra.WBR="wbr",Ra.XMP="xmp"})(TAG_NAMES||(TAG_NAMES={}));var TAG_ID;(function(Ra){Ra[Ra.UNKNOWN=0]="UNKNOWN",Ra[Ra.A=1]="A",Ra[Ra.ADDRESS=2]="ADDRESS",Ra[Ra.ANNOTATION_XML=3]="ANNOTATION_XML",Ra[Ra.APPLET=4]="APPLET",Ra[Ra.AREA=5]="AREA",Ra[Ra.ARTICLE=6]="ARTICLE",Ra[Ra.ASIDE=7]="ASIDE",Ra[Ra.B=8]="B",Ra[Ra.BASE=9]="BASE",Ra[Ra.BASEFONT=10]="BASEFONT",Ra[Ra.BGSOUND=11]="BGSOUND",Ra[Ra.BIG=12]="BIG",Ra[Ra.BLOCKQUOTE=13]="BLOCKQUOTE",Ra[Ra.BODY=14]="BODY",Ra[Ra.BR=15]="BR",Ra[Ra.BUTTON=16]="BUTTON",Ra[Ra.CAPTION=17]="CAPTION",Ra[Ra.CENTER=18]="CENTER",Ra[Ra.CODE=19]="CODE",Ra[Ra.COL=20]="COL",Ra[Ra.COLGROUP=21]="COLGROUP",Ra[Ra.DD=22]="DD",Ra[Ra.DESC=23]="DESC",Ra[Ra.DETAILS=24]="DETAILS",Ra[Ra.DIALOG=25]="DIALOG",Ra[Ra.DIR=26]="DIR",Ra[Ra.DIV=27]="DIV",Ra[Ra.DL=28]="DL",Ra[Ra.DT=29]="DT",Ra[Ra.EM=30]="EM",Ra[Ra.EMBED=31]="EMBED",Ra[Ra.FIELDSET=32]="FIELDSET",Ra[Ra.FIGCAPTION=33]="FIGCAPTION",Ra[Ra.FIGURE=34]="FIGURE",Ra[Ra.FONT=35]="FONT",Ra[Ra.FOOTER=36]="FOOTER",Ra[Ra.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",Ra[Ra.FORM=38]="FORM",Ra[Ra.FRAME=39]="FRAME",Ra[Ra.FRAMESET=40]="FRAMESET",Ra[Ra.H1=41]="H1",Ra[Ra.H2=42]="H2",Ra[Ra.H3=43]="H3",Ra[Ra.H4=44]="H4",Ra[Ra.H5=45]="H5",Ra[Ra.H6=46]="H6",Ra[Ra.HEAD=47]="HEAD",Ra[Ra.HEADER=48]="HEADER",Ra[Ra.HGROUP=49]="HGROUP",Ra[Ra.HR=50]="HR",Ra[Ra.HTML=51]="HTML",Ra[Ra.I=52]="I",Ra[Ra.IMG=53]="IMG",Ra[Ra.IMAGE=54]="IMAGE",Ra[Ra.INPUT=55]="INPUT",Ra[Ra.IFRAME=56]="IFRAME",Ra[Ra.KEYGEN=57]="KEYGEN",Ra[Ra.LABEL=58]="LABEL",Ra[Ra.LI=59]="LI",Ra[Ra.LINK=60]="LINK",Ra[Ra.LISTING=61]="LISTING",Ra[Ra.MAIN=62]="MAIN",Ra[Ra.MALIGNMARK=63]="MALIGNMARK",Ra[Ra.MARQUEE=64]="MARQUEE",Ra[Ra.MATH=65]="MATH",Ra[Ra.MENU=66]="MENU",Ra[Ra.META=67]="META",Ra[Ra.MGLYPH=68]="MGLYPH",Ra[Ra.MI=69]="MI",Ra[Ra.MO=70]="MO",Ra[Ra.MN=71]="MN",Ra[Ra.MS=72]="MS",Ra[Ra.MTEXT=73]="MTEXT",Ra[Ra.NAV=74]="NAV",Ra[Ra.NOBR=75]="NOBR",Ra[Ra.NOFRAMES=76]="NOFRAMES",Ra[Ra.NOEMBED=77]="NOEMBED",Ra[Ra.NOSCRIPT=78]="NOSCRIPT",Ra[Ra.OBJECT=79]="OBJECT",Ra[Ra.OL=80]="OL",Ra[Ra.OPTGROUP=81]="OPTGROUP",Ra[Ra.OPTION=82]="OPTION",Ra[Ra.P=83]="P",Ra[Ra.PARAM=84]="PARAM",Ra[Ra.PLAINTEXT=85]="PLAINTEXT",Ra[Ra.PRE=86]="PRE",Ra[Ra.RB=87]="RB",Ra[Ra.RP=88]="RP",Ra[Ra.RT=89]="RT",Ra[Ra.RTC=90]="RTC",Ra[Ra.RUBY=91]="RUBY",Ra[Ra.S=92]="S",Ra[Ra.SCRIPT=93]="SCRIPT",Ra[Ra.SEARCH=94]="SEARCH",Ra[Ra.SECTION=95]="SECTION",Ra[Ra.SELECT=96]="SELECT",Ra[Ra.SOURCE=97]="SOURCE",Ra[Ra.SMALL=98]="SMALL",Ra[Ra.SPAN=99]="SPAN",Ra[Ra.STRIKE=100]="STRIKE",Ra[Ra.STRONG=101]="STRONG",Ra[Ra.STYLE=102]="STYLE",Ra[Ra.SUB=103]="SUB",Ra[Ra.SUMMARY=104]="SUMMARY",Ra[Ra.SUP=105]="SUP",Ra[Ra.TABLE=106]="TABLE",Ra[Ra.TBODY=107]="TBODY",Ra[Ra.TEMPLATE=108]="TEMPLATE",Ra[Ra.TEXTAREA=109]="TEXTAREA",Ra[Ra.TFOOT=110]="TFOOT",Ra[Ra.TD=111]="TD",Ra[Ra.TH=112]="TH",Ra[Ra.THEAD=113]="THEAD",Ra[Ra.TITLE=114]="TITLE",Ra[Ra.TR=115]="TR",Ra[Ra.TRACK=116]="TRACK",Ra[Ra.TT=117]="TT",Ra[Ra.U=118]="U",Ra[Ra.UL=119]="UL",Ra[Ra.SVG=120]="SVG",Ra[Ra.VAR=121]="VAR",Ra[Ra.WBR=122]="WBR",Ra[Ra.XMP=123]="XMP"})(TAG_ID||(TAG_ID={}));const TAG_NAME_TO_ID=new Map([[TAG_NAMES.A,TAG_ID.A],[TAG_NAMES.ADDRESS,TAG_ID.ADDRESS],[TAG_NAMES.ANNOTATION_XML,TAG_ID.ANNOTATION_XML],[TAG_NAMES.APPLET,TAG_ID.APPLET],[TAG_NAMES.AREA,TAG_ID.AREA],[TAG_NAMES.ARTICLE,TAG_ID.ARTICLE],[TAG_NAMES.ASIDE,TAG_ID.ASIDE],[TAG_NAMES.B,TAG_ID.B],[TAG_NAMES.BASE,TAG_ID.BASE],[TAG_NAMES.BASEFONT,TAG_ID.BASEFONT],[TAG_NAMES.BGSOUND,TAG_ID.BGSOUND],[TAG_NAMES.BIG,TAG_ID.BIG],[TAG_NAMES.BLOCKQUOTE,TAG_ID.BLOCKQUOTE],[TAG_NAMES.BODY,TAG_ID.BODY],[TAG_NAMES.BR,TAG_ID.BR],[TAG_NAMES.BUTTON,TAG_ID.BUTTON],[TAG_NAMES.CAPTION,TAG_ID.CAPTION],[TAG_NAMES.CENTER,TAG_ID.CENTER],[TAG_NAMES.CODE,TAG_ID.CODE],[TAG_NAMES.COL,TAG_ID.COL],[TAG_NAMES.COLGROUP,TAG_ID.COLGROUP],[TAG_NAMES.DD,TAG_ID.DD],[TAG_NAMES.DESC,TAG_ID.DESC],[TAG_NAMES.DETAILS,TAG_ID.DETAILS],[TAG_NAMES.DIALOG,TAG_ID.DIALOG],[TAG_NAMES.DIR,TAG_ID.DIR],[TAG_NAMES.DIV,TAG_ID.DIV],[TAG_NAMES.DL,TAG_ID.DL],[TAG_NAMES.DT,TAG_ID.DT],[TAG_NAMES.EM,TAG_ID.EM],[TAG_NAMES.EMBED,TAG_ID.EMBED],[TAG_NAMES.FIELDSET,TAG_ID.FIELDSET],[TAG_NAMES.FIGCAPTION,TAG_ID.FIGCAPTION],[TAG_NAMES.FIGURE,TAG_ID.FIGURE],[TAG_NAMES.FONT,TAG_ID.FONT],[TAG_NAMES.FOOTER,TAG_ID.FOOTER],[TAG_NAMES.FOREIGN_OBJECT,TAG_ID.FOREIGN_OBJECT],[TAG_NAMES.FORM,TAG_ID.FORM],[TAG_NAMES.FRAME,TAG_ID.FRAME],[TAG_NAMES.FRAMESET,TAG_ID.FRAMESET],[TAG_NAMES.H1,TAG_ID.H1],[TAG_NAMES.H2,TAG_ID.H2],[TAG_NAMES.H3,TAG_ID.H3],[TAG_NAMES.H4,TAG_ID.H4],[TAG_NAMES.H5,TAG_ID.H5],[TAG_NAMES.H6,TAG_ID.H6],[TAG_NAMES.HEAD,TAG_ID.HEAD],[TAG_NAMES.HEADER,TAG_ID.HEADER],[TAG_NAMES.HGROUP,TAG_ID.HGROUP],[TAG_NAMES.HR,TAG_ID.HR],[TAG_NAMES.HTML,TAG_ID.HTML],[TAG_NAMES.I,TAG_ID.I],[TAG_NAMES.IMG,TAG_ID.IMG],[TAG_NAMES.IMAGE,TAG_ID.IMAGE],[TAG_NAMES.INPUT,TAG_ID.INPUT],[TAG_NAMES.IFRAME,TAG_ID.IFRAME],[TAG_NAMES.KEYGEN,TAG_ID.KEYGEN],[TAG_NAMES.LABEL,TAG_ID.LABEL],[TAG_NAMES.LI,TAG_ID.LI],[TAG_NAMES.LINK,TAG_ID.LINK],[TAG_NAMES.LISTING,TAG_ID.LISTING],[TAG_NAMES.MAIN,TAG_ID.MAIN],[TAG_NAMES.MALIGNMARK,TAG_ID.MALIGNMARK],[TAG_NAMES.MARQUEE,TAG_ID.MARQUEE],[TAG_NAMES.MATH,TAG_ID.MATH],[TAG_NAMES.MENU,TAG_ID.MENU],[TAG_NAMES.META,TAG_ID.META],[TAG_NAMES.MGLYPH,TAG_ID.MGLYPH],[TAG_NAMES.MI,TAG_ID.MI],[TAG_NAMES.MO,TAG_ID.MO],[TAG_NAMES.MN,TAG_ID.MN],[TAG_NAMES.MS,TAG_ID.MS],[TAG_NAMES.MTEXT,TAG_ID.MTEXT],[TAG_NAMES.NAV,TAG_ID.NAV],[TAG_NAMES.NOBR,TAG_ID.NOBR],[TAG_NAMES.NOFRAMES,TAG_ID.NOFRAMES],[TAG_NAMES.NOEMBED,TAG_ID.NOEMBED],[TAG_NAMES.NOSCRIPT,TAG_ID.NOSCRIPT],[TAG_NAMES.OBJECT,TAG_ID.OBJECT],[TAG_NAMES.OL,TAG_ID.OL],[TAG_NAMES.OPTGROUP,TAG_ID.OPTGROUP],[TAG_NAMES.OPTION,TAG_ID.OPTION],[TAG_NAMES.P,TAG_ID.P],[TAG_NAMES.PARAM,TAG_ID.PARAM],[TAG_NAMES.PLAINTEXT,TAG_ID.PLAINTEXT],[TAG_NAMES.PRE,TAG_ID.PRE],[TAG_NAMES.RB,TAG_ID.RB],[TAG_NAMES.RP,TAG_ID.RP],[TAG_NAMES.RT,TAG_ID.RT],[TAG_NAMES.RTC,TAG_ID.RTC],[TAG_NAMES.RUBY,TAG_ID.RUBY],[TAG_NAMES.S,TAG_ID.S],[TAG_NAMES.SCRIPT,TAG_ID.SCRIPT],[TAG_NAMES.SEARCH,TAG_ID.SEARCH],[TAG_NAMES.SECTION,TAG_ID.SECTION],[TAG_NAMES.SELECT,TAG_ID.SELECT],[TAG_NAMES.SOURCE,TAG_ID.SOURCE],[TAG_NAMES.SMALL,TAG_ID.SMALL],[TAG_NAMES.SPAN,TAG_ID.SPAN],[TAG_NAMES.STRIKE,TAG_ID.STRIKE],[TAG_NAMES.STRONG,TAG_ID.STRONG],[TAG_NAMES.STYLE,TAG_ID.STYLE],[TAG_NAMES.SUB,TAG_ID.SUB],[TAG_NAMES.SUMMARY,TAG_ID.SUMMARY],[TAG_NAMES.SUP,TAG_ID.SUP],[TAG_NAMES.TABLE,TAG_ID.TABLE],[TAG_NAMES.TBODY,TAG_ID.TBODY],[TAG_NAMES.TEMPLATE,TAG_ID.TEMPLATE],[TAG_NAMES.TEXTAREA,TAG_ID.TEXTAREA],[TAG_NAMES.TFOOT,TAG_ID.TFOOT],[TAG_NAMES.TD,TAG_ID.TD],[TAG_NAMES.TH,TAG_ID.TH],[TAG_NAMES.THEAD,TAG_ID.THEAD],[TAG_NAMES.TITLE,TAG_ID.TITLE],[TAG_NAMES.TR,TAG_ID.TR],[TAG_NAMES.TRACK,TAG_ID.TRACK],[TAG_NAMES.TT,TAG_ID.TT],[TAG_NAMES.U,TAG_ID.U],[TAG_NAMES.UL,TAG_ID.UL],[TAG_NAMES.SVG,TAG_ID.SVG],[TAG_NAMES.VAR,TAG_ID.VAR],[TAG_NAMES.WBR,TAG_ID.WBR],[TAG_NAMES.XMP,TAG_ID.XMP]]);function getTagID(Ra){var qa;return(qa=TAG_NAME_TO_ID.get(Ra))!==null&&qa!==void 0?qa:TAG_ID.UNKNOWN}const $$4=TAG_ID,SPECIAL_ELEMENTS={[NS.HTML]:new Set([$$4.ADDRESS,$$4.APPLET,$$4.AREA,$$4.ARTICLE,$$4.ASIDE,$$4.BASE,$$4.BASEFONT,$$4.BGSOUND,$$4.BLOCKQUOTE,$$4.BODY,$$4.BR,$$4.BUTTON,$$4.CAPTION,$$4.CENTER,$$4.COL,$$4.COLGROUP,$$4.DD,$$4.DETAILS,$$4.DIR,$$4.DIV,$$4.DL,$$4.DT,$$4.EMBED,$$4.FIELDSET,$$4.FIGCAPTION,$$4.FIGURE,$$4.FOOTER,$$4.FORM,$$4.FRAME,$$4.FRAMESET,$$4.H1,$$4.H2,$$4.H3,$$4.H4,$$4.H5,$$4.H6,$$4.HEAD,$$4.HEADER,$$4.HGROUP,$$4.HR,$$4.HTML,$$4.IFRAME,$$4.IMG,$$4.INPUT,$$4.LI,$$4.LINK,$$4.LISTING,$$4.MAIN,$$4.MARQUEE,$$4.MENU,$$4.META,$$4.NAV,$$4.NOEMBED,$$4.NOFRAMES,$$4.NOSCRIPT,$$4.OBJECT,$$4.OL,$$4.P,$$4.PARAM,$$4.PLAINTEXT,$$4.PRE,$$4.SCRIPT,$$4.SECTION,$$4.SELECT,$$4.SOURCE,$$4.STYLE,$$4.SUMMARY,$$4.TABLE,$$4.TBODY,$$4.TD,$$4.TEMPLATE,$$4.TEXTAREA,$$4.TFOOT,$$4.TH,$$4.THEAD,$$4.TITLE,$$4.TR,$$4.TRACK,$$4.UL,$$4.WBR,$$4.XMP]),[NS.MATHML]:new Set([$$4.MI,$$4.MO,$$4.MN,$$4.MS,$$4.MTEXT,$$4.ANNOTATION_XML]),[NS.SVG]:new Set([$$4.TITLE,$$4.FOREIGN_OBJECT,$$4.DESC]),[NS.XLINK]:new Set,[NS.XML]:new Set,[NS.XMLNS]:new Set},NUMBERED_HEADERS=new Set([$$4.H1,$$4.H2,$$4.H3,$$4.H4,$$4.H5,$$4.H6]),UNESCAPED_TEXT=new Set([TAG_NAMES.STYLE,TAG_NAMES.SCRIPT,TAG_NAMES.XMP,TAG_NAMES.IFRAME,TAG_NAMES.NOEMBED,TAG_NAMES.NOFRAMES,TAG_NAMES.PLAINTEXT]);function hasUnescapedText(Ra,qa){return UNESCAPED_TEXT.has(Ra)||qa&&Ra===TAG_NAMES.NOSCRIPT}var State$3;(function(Ra){Ra[Ra.DATA=0]="DATA",Ra[Ra.RCDATA=1]="RCDATA",Ra[Ra.RAWTEXT=2]="RAWTEXT",Ra[Ra.SCRIPT_DATA=3]="SCRIPT_DATA",Ra[Ra.PLAINTEXT=4]="PLAINTEXT",Ra[Ra.TAG_OPEN=5]="TAG_OPEN",Ra[Ra.END_TAG_OPEN=6]="END_TAG_OPEN",Ra[Ra.TAG_NAME=7]="TAG_NAME",Ra[Ra.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",Ra[Ra.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",Ra[Ra.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",Ra[Ra.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",Ra[Ra.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",Ra[Ra.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",Ra[Ra.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",Ra[Ra.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",Ra[Ra.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",Ra[Ra.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",Ra[Ra.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",Ra[Ra.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",Ra[Ra.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",Ra[Ra.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",Ra[Ra.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",Ra[Ra.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",Ra[Ra.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",Ra[Ra.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",Ra[Ra.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",Ra[Ra.BOGUS_COMMENT=40]="BOGUS_COMMENT",Ra[Ra.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",Ra[Ra.COMMENT_START=42]="COMMENT_START",Ra[Ra.COMMENT_START_DASH=43]="COMMENT_START_DASH",Ra[Ra.COMMENT=44]="COMMENT",Ra[Ra.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",Ra[Ra.COMMENT_END_DASH=49]="COMMENT_END_DASH",Ra[Ra.COMMENT_END=50]="COMMENT_END",Ra[Ra.COMMENT_END_BANG=51]="COMMENT_END_BANG",Ra[Ra.DOCTYPE=52]="DOCTYPE",Ra[Ra.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",Ra[Ra.DOCTYPE_NAME=54]="DOCTYPE_NAME",Ra[Ra.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",Ra[Ra.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",Ra[Ra.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",Ra[Ra.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",Ra[Ra.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",Ra[Ra.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",Ra[Ra.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",Ra[Ra.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",Ra[Ra.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",Ra[Ra.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",Ra[Ra.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",Ra[Ra.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",Ra[Ra.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",Ra[Ra.CDATA_SECTION=68]="CDATA_SECTION",Ra[Ra.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",Ra[Ra.CDATA_SECTION_END=70]="CDATA_SECTION_END",Ra[Ra.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",Ra[Ra.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(State$3||(State$3={}));const TokenizerMode={DATA:State$3.DATA,RCDATA:State$3.RCDATA,RAWTEXT:State$3.RAWTEXT,SCRIPT_DATA:State$3.SCRIPT_DATA,PLAINTEXT:State$3.PLAINTEXT,CDATA_SECTION:State$3.CDATA_SECTION};function isAsciiDigit(Ra){return Ra>=CODE_POINTS.DIGIT_0&&Ra<=CODE_POINTS.DIGIT_9}function isAsciiUpper(Ra){return Ra>=CODE_POINTS.LATIN_CAPITAL_A&&Ra<=CODE_POINTS.LATIN_CAPITAL_Z}function isAsciiLower(Ra){return Ra>=CODE_POINTS.LATIN_SMALL_A&&Ra<=CODE_POINTS.LATIN_SMALL_Z}function isAsciiLetter(Ra){return isAsciiLower(Ra)||isAsciiUpper(Ra)}function isAsciiAlphaNumeric(Ra){return isAsciiLetter(Ra)||isAsciiDigit(Ra)}function toAsciiLower(Ra){return Ra+32}function isWhitespace$2(Ra){return Ra===CODE_POINTS.SPACE||Ra===CODE_POINTS.LINE_FEED||Ra===CODE_POINTS.TABULATION||Ra===CODE_POINTS.FORM_FEED}function isScriptDataDoubleEscapeSequenceEnd(Ra){return isWhitespace$2(Ra)||Ra===CODE_POINTS.SOLIDUS||Ra===CODE_POINTS.GREATER_THAN_SIGN}function getErrorForNumericCharacterReference(Ra){return Ra===CODE_POINTS.NULL?ERR.nullCharacterReference:Ra>1114111?ERR.characterReferenceOutsideUnicodeRange:isSurrogate(Ra)?ERR.surrogateCharacterReference:isUndefinedCodePoint(Ra)?ERR.noncharacterCharacterReference:isControlCodePoint(Ra)||Ra===CODE_POINTS.CARRIAGE_RETURN?ERR.controlCharacterReference:null}let Tokenizer$1=class{constructor(qa,nd){this.options=qa,this.handler=nd,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=State$3.DATA,this.returnState=State$3.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Preprocessor(nd),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new EntityDecoder(htmlDecodeTree,(od,ld)=>{this.preprocessor.pos=this.entityStartPos+ld-1,this._flushCodePointConsumedAsCharacterReference(od)},nd.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(ERR.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:od=>{this._err(ERR.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+od)},validateNumericCharacterReference:od=>{const ld=getErrorForNumericCharacterReference(od);ld&&this._err(ld,1)}}:void 0)}_err(qa,nd=0){var od,ld;(ld=(od=this.handler).onParseError)===null||ld===void 0||ld.call(od,this.preprocessor.getError(qa,nd))}getCurrentLocation(qa){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-qa,startOffset:this.preprocessor.offset-qa,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const qa=this._consume();this._ensureHibernation()||this._callState(qa)}this.inLoop=!1}}pause(){this.paused=!0}resume(qa){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||qa==null||qa())}write(qa,nd,od){this.active=!0,this.preprocessor.write(qa,nd),this._runParsingLoop(),this.paused||od==null||od()}insertHtmlAtCurrentPos(qa){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(qa),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(qa){this.consumedAfterSnapshot+=qa;for(let nd=0;nd0&&this._err(ERR.endTagWithAttributes),qa.selfClosing&&this._err(ERR.endTagWithTrailingSolidus),this.handler.onEndTag(qa)),this.preprocessor.dropParsedChunk()}emitCurrentComment(qa){this.prepareToken(qa),this.handler.onComment(qa),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(qa){this.prepareToken(qa),this.handler.onDoctype(qa),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(qa){if(this.currentCharacterToken){switch(qa&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=qa.startLine,this.currentCharacterToken.location.endCol=qa.startCol,this.currentCharacterToken.location.endOffset=qa.startOffset),this.currentCharacterToken.type){case TokenType.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case TokenType.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case TokenType.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const qa=this.getCurrentLocation(0);qa&&(qa.endLine=qa.startLine,qa.endCol=qa.startCol,qa.endOffset=qa.startOffset),this._emitCurrentCharacterToken(qa),this.handler.onEof({type:TokenType.EOF,location:qa}),this.active=!1}_appendCharToCurrentCharacterToken(qa,nd){if(this.currentCharacterToken)if(this.currentCharacterToken.type===qa){this.currentCharacterToken.chars+=nd;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(qa,nd)}_emitCodePoint(qa){const nd=isWhitespace$2(qa)?TokenType.WHITESPACE_CHARACTER:qa===CODE_POINTS.NULL?TokenType.NULL_CHARACTER:TokenType.CHARACTER;this._appendCharToCurrentCharacterToken(nd,String.fromCodePoint(qa))}_emitChars(qa){this._appendCharToCurrentCharacterToken(TokenType.CHARACTER,qa)}_startCharacterReference(){this.returnState=this.state,this.state=State$3.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?DecodingMode.Attribute:DecodingMode.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===State$3.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===State$3.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===State$3.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(qa){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(qa):this._emitCodePoint(qa)}_callState(qa){switch(this.state){case State$3.DATA:{this._stateData(qa);break}case State$3.RCDATA:{this._stateRcdata(qa);break}case State$3.RAWTEXT:{this._stateRawtext(qa);break}case State$3.SCRIPT_DATA:{this._stateScriptData(qa);break}case State$3.PLAINTEXT:{this._statePlaintext(qa);break}case State$3.TAG_OPEN:{this._stateTagOpen(qa);break}case State$3.END_TAG_OPEN:{this._stateEndTagOpen(qa);break}case State$3.TAG_NAME:{this._stateTagName(qa);break}case State$3.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(qa);break}case State$3.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(qa);break}case State$3.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(qa);break}case State$3.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(qa);break}case State$3.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(qa);break}case State$3.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(qa);break}case State$3.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(qa);break}case State$3.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(qa);break}case State$3.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(qa);break}case State$3.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(qa);break}case State$3.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(qa);break}case State$3.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(qa);break}case State$3.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(qa);break}case State$3.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(qa);break}case State$3.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(qa);break}case State$3.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(qa);break}case State$3.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(qa);break}case State$3.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(qa);break}case State$3.ATTRIBUTE_NAME:{this._stateAttributeName(qa);break}case State$3.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(qa);break}case State$3.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(qa);break}case State$3.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(qa);break}case State$3.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(qa);break}case State$3.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(qa);break}case State$3.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(qa);break}case State$3.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(qa);break}case State$3.BOGUS_COMMENT:{this._stateBogusComment(qa);break}case State$3.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(qa);break}case State$3.COMMENT_START:{this._stateCommentStart(qa);break}case State$3.COMMENT_START_DASH:{this._stateCommentStartDash(qa);break}case State$3.COMMENT:{this._stateComment(qa);break}case State$3.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(qa);break}case State$3.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(qa);break}case State$3.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(qa);break}case State$3.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(qa);break}case State$3.COMMENT_END_DASH:{this._stateCommentEndDash(qa);break}case State$3.COMMENT_END:{this._stateCommentEnd(qa);break}case State$3.COMMENT_END_BANG:{this._stateCommentEndBang(qa);break}case State$3.DOCTYPE:{this._stateDoctype(qa);break}case State$3.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(qa);break}case State$3.DOCTYPE_NAME:{this._stateDoctypeName(qa);break}case State$3.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(qa);break}case State$3.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(qa);break}case State$3.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(qa);break}case State$3.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(qa);break}case State$3.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(qa);break}case State$3.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(qa);break}case State$3.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(qa);break}case State$3.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(qa);break}case State$3.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(qa);break}case State$3.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(qa);break}case State$3.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(qa);break}case State$3.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(qa);break}case State$3.BOGUS_DOCTYPE:{this._stateBogusDoctype(qa);break}case State$3.CDATA_SECTION:{this._stateCdataSection(qa);break}case State$3.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(qa);break}case State$3.CDATA_SECTION_END:{this._stateCdataSectionEnd(qa);break}case State$3.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case State$3.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(qa);break}default:throw new Error("Unknown state")}}_stateData(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.TAG_OPEN;break}case CODE_POINTS.AMPERSAND:{this._startCharacterReference();break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitCodePoint(qa);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateRcdata(qa){switch(qa){case CODE_POINTS.AMPERSAND:{this._startCharacterReference();break}case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.RCDATA_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateRawtext(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.RAWTEXT_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateScriptData(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.SCRIPT_DATA_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_statePlaintext(qa){switch(qa){case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateTagOpen(qa){if(isAsciiLetter(qa))this._createStartTagToken(),this.state=State$3.TAG_NAME,this._stateTagName(qa);else switch(qa){case CODE_POINTS.EXCLAMATION_MARK:{this.state=State$3.MARKUP_DECLARATION_OPEN;break}case CODE_POINTS.SOLIDUS:{this.state=State$3.END_TAG_OPEN;break}case CODE_POINTS.QUESTION_MARK:{this._err(ERR.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=State$3.BOGUS_COMMENT,this._stateBogusComment(qa);break}case CODE_POINTS.EOF:{this._err(ERR.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(ERR.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=State$3.DATA,this._stateData(qa)}}_stateEndTagOpen(qa){if(isAsciiLetter(qa))this._createEndTagToken(),this.state=State$3.TAG_NAME,this._stateTagName(qa);else switch(qa){case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.missingEndTagName),this.state=State$3.DATA;break}case CODE_POINTS.EOF:{this._err(ERR.eofBeforeTagName),this._emitChars("");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State$3.SCRIPT_DATA_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State$3.SCRIPT_DATA_ESCAPED,this._emitCodePoint(qa)}}_stateScriptDataEscapedLessThanSign(qa){qa===CODE_POINTS.SOLIDUS?this.state=State$3.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:isAsciiLetter(qa)?(this._emitChars("<"),this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(qa)):(this._emitChars("<"),this.state=State$3.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(qa))}_stateScriptDataEscapedEndTagOpen(qa){isAsciiLetter(qa)?(this.state=State$3.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(qa)):(this._emitChars("");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(qa)}}_stateScriptDataDoubleEscapedLessThanSign(qa){qa===CODE_POINTS.SOLIDUS?(this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(qa))}_stateScriptDataDoubleEscapeEnd(qa){if(this.preprocessor.startsWith(SEQUENCES.SCRIPT,!1)&&isScriptDataDoubleEscapeSequenceEnd(this.preprocessor.peek(SEQUENCES.SCRIPT.length))){this._emitCodePoint(qa);for(let nd=0;nd0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(qa,!0)}replace(qa,nd){const od=this._indexOf(qa);this.items[od]=nd,od===this.stackTop&&(this.current=nd)}insertAfter(qa,nd,od){const ld=this._indexOf(qa)+1;this.items.splice(ld,0,nd),this.tagIDs.splice(ld,0,od),this.stackTop++,ld===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,ld===this.stackTop)}popUntilTagNamePopped(qa){let nd=this.stackTop+1;do nd=this.tagIDs.lastIndexOf(qa,nd-1);while(nd>0&&this.treeAdapter.getNamespaceURI(this.items[nd])!==NS.HTML);this.shortenToLength(nd<0?0:nd)}shortenToLength(qa){for(;this.stackTop>=qa;){const nd=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(nd,this.stackTop=0;od--)if(qa.has(this.tagIDs[od])&&this.treeAdapter.getNamespaceURI(this.items[od])===nd)return od;return-1}clearBackTo(qa,nd){const od=this._indexOfTagNames(qa,nd);this.shortenToLength(od+1)}clearBackToTableContext(){this.clearBackTo(TABLE_CONTEXT,NS.HTML)}clearBackToTableBodyContext(){this.clearBackTo(TABLE_BODY_CONTEXT,NS.HTML)}clearBackToTableRowContext(){this.clearBackTo(TABLE_ROW_CONTEXT,NS.HTML)}remove(qa){const nd=this._indexOf(qa);nd>=0&&(nd===this.stackTop?this.pop():(this.items.splice(nd,1),this.tagIDs.splice(nd,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(qa,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===TAG_ID.BODY?this.items[1]:null}contains(qa){return this._indexOf(qa)>-1}getCommonAncestor(qa){const nd=this._indexOf(qa)-1;return nd>=0?this.items[nd]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===TAG_ID.HTML}hasInDynamicScope(qa,nd){for(let od=this.stackTop;od>=0;od--){const ld=this.tagIDs[od];switch(this.treeAdapter.getNamespaceURI(this.items[od])){case NS.HTML:{if(ld===qa)return!0;if(nd.has(ld))return!1;break}case NS.SVG:{if(SCOPING_ELEMENTS_SVG.has(ld))return!1;break}case NS.MATHML:{if(SCOPING_ELEMENTS_MATHML.has(ld))return!1;break}}}return!0}hasInScope(qa){return this.hasInDynamicScope(qa,SCOPING_ELEMENTS_HTML)}hasInListItemScope(qa){return this.hasInDynamicScope(qa,SCOPING_ELEMENTS_HTML_LIST)}hasInButtonScope(qa){return this.hasInDynamicScope(qa,SCOPING_ELEMENTS_HTML_BUTTON)}hasNumberedHeaderInScope(){for(let qa=this.stackTop;qa>=0;qa--){const nd=this.tagIDs[qa];switch(this.treeAdapter.getNamespaceURI(this.items[qa])){case NS.HTML:{if(NUMBERED_HEADERS.has(nd))return!0;if(SCOPING_ELEMENTS_HTML.has(nd))return!1;break}case NS.SVG:{if(SCOPING_ELEMENTS_SVG.has(nd))return!1;break}case NS.MATHML:{if(SCOPING_ELEMENTS_MATHML.has(nd))return!1;break}}}return!0}hasInTableScope(qa){for(let nd=this.stackTop;nd>=0;nd--)if(this.treeAdapter.getNamespaceURI(this.items[nd])===NS.HTML)switch(this.tagIDs[nd]){case qa:return!0;case TAG_ID.TABLE:case TAG_ID.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let qa=this.stackTop;qa>=0;qa--)if(this.treeAdapter.getNamespaceURI(this.items[qa])===NS.HTML)switch(this.tagIDs[qa]){case TAG_ID.TBODY:case TAG_ID.THEAD:case TAG_ID.TFOOT:return!0;case TAG_ID.TABLE:case TAG_ID.HTML:return!1}return!0}hasInSelectScope(qa){for(let nd=this.stackTop;nd>=0;nd--)if(this.treeAdapter.getNamespaceURI(this.items[nd])===NS.HTML)switch(this.tagIDs[nd]){case qa:return!0;case TAG_ID.OPTION:case TAG_ID.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;IMPLICIT_END_TAG_REQUIRED.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(qa){for(;this.currentTagId!==qa&&IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId);)this.pop()}}const NOAH_ARK_CAPACITY=3;var EntryType;(function(Ra){Ra[Ra.Marker=0]="Marker",Ra[Ra.Element=1]="Element"})(EntryType||(EntryType={}));const MARKER={type:EntryType.Marker};class FormattingElementList{constructor(qa){this.treeAdapter=qa,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(qa,nd){const od=[],ld=nd.length,ud=this.treeAdapter.getTagName(qa),cd=this.treeAdapter.getNamespaceURI(qa);for(let dd=0;dd[cd.name,cd.value]));let ud=0;for(let cd=0;cdld.get(pd.name)===pd.value)&&(ud+=1,ud>=NOAH_ARK_CAPACITY&&this.entries.splice(dd.idx,1))}}insertMarker(){this.entries.unshift(MARKER)}pushElement(qa,nd){this._ensureNoahArkCondition(qa),this.entries.unshift({type:EntryType.Element,element:qa,token:nd})}insertElementAfterBookmark(qa,nd){const od=this.entries.indexOf(this.bookmark);this.entries.splice(od,0,{type:EntryType.Element,element:qa,token:nd})}removeEntry(qa){const nd=this.entries.indexOf(qa);nd>=0&&this.entries.splice(nd,1)}clearToLastMarker(){const qa=this.entries.indexOf(MARKER);qa>=0?this.entries.splice(0,qa+1):this.entries.length=0}getElementEntryInScopeWithTagName(qa){const nd=this.entries.find(od=>od.type===EntryType.Marker||this.treeAdapter.getTagName(od.element)===qa);return nd&&nd.type===EntryType.Element?nd:null}getElementEntry(qa){return this.entries.find(nd=>nd.type===EntryType.Element&&nd.element===qa)}}const defaultTreeAdapter={createDocument(){return{nodeName:"#document",mode:DOCUMENT_MODE.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(Ra,qa,nd){return{nodeName:Ra,tagName:Ra,attrs:nd,namespaceURI:qa,childNodes:[],parentNode:null}},createCommentNode(Ra){return{nodeName:"#comment",data:Ra,parentNode:null}},createTextNode(Ra){return{nodeName:"#text",value:Ra,parentNode:null}},appendChild(Ra,qa){Ra.childNodes.push(qa),qa.parentNode=Ra},insertBefore(Ra,qa,nd){const od=Ra.childNodes.indexOf(nd);Ra.childNodes.splice(od,0,qa),qa.parentNode=Ra},setTemplateContent(Ra,qa){Ra.content=qa},getTemplateContent(Ra){return Ra.content},setDocumentType(Ra,qa,nd,od){const ld=Ra.childNodes.find(ud=>ud.nodeName==="#documentType");if(ld)ld.name=qa,ld.publicId=nd,ld.systemId=od;else{const ud={nodeName:"#documentType",name:qa,publicId:nd,systemId:od,parentNode:null};defaultTreeAdapter.appendChild(Ra,ud)}},setDocumentMode(Ra,qa){Ra.mode=qa},getDocumentMode(Ra){return Ra.mode},detachNode(Ra){if(Ra.parentNode){const qa=Ra.parentNode.childNodes.indexOf(Ra);Ra.parentNode.childNodes.splice(qa,1),Ra.parentNode=null}},insertText(Ra,qa){if(Ra.childNodes.length>0){const nd=Ra.childNodes[Ra.childNodes.length-1];if(defaultTreeAdapter.isTextNode(nd)){nd.value+=qa;return}}defaultTreeAdapter.appendChild(Ra,defaultTreeAdapter.createTextNode(qa))},insertTextBefore(Ra,qa,nd){const od=Ra.childNodes[Ra.childNodes.indexOf(nd)-1];od&&defaultTreeAdapter.isTextNode(od)?od.value+=qa:defaultTreeAdapter.insertBefore(Ra,defaultTreeAdapter.createTextNode(qa),nd)},adoptAttributes(Ra,qa){const nd=new Set(Ra.attrs.map(od=>od.name));for(let od=0;odRa.startsWith(nd))}function isConforming(Ra){return Ra.name===VALID_DOCTYPE_NAME&&Ra.publicId===null&&(Ra.systemId===null||Ra.systemId===VALID_SYSTEM_ID)}function getDocumentMode(Ra){if(Ra.name!==VALID_DOCTYPE_NAME)return DOCUMENT_MODE.QUIRKS;const{systemId:qa}=Ra;if(qa&&qa.toLowerCase()===QUIRKS_MODE_SYSTEM_ID)return DOCUMENT_MODE.QUIRKS;let{publicId:nd}=Ra;if(nd!==null){if(nd=nd.toLowerCase(),QUIRKS_MODE_PUBLIC_IDS.has(nd))return DOCUMENT_MODE.QUIRKS;let od=qa===null?QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES:QUIRKS_MODE_PUBLIC_ID_PREFIXES;if(hasPrefix(nd,od))return DOCUMENT_MODE.QUIRKS;if(od=qa===null?LIMITED_QUIRKS_PUBLIC_ID_PREFIXES:LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES,hasPrefix(nd,od))return DOCUMENT_MODE.LIMITED_QUIRKS}return DOCUMENT_MODE.NO_QUIRKS}const MIME_TYPES={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},DEFINITION_URL_ATTR="definitionurl",ADJUSTED_DEFINITION_URL_ATTR="definitionURL",SVG_ATTRS_ADJUSTMENT_MAP=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(Ra=>[Ra.toLowerCase(),Ra])),XML_ATTRS_ADJUSTMENT_MAP=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:NS.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:NS.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:NS.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:NS.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:NS.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:NS.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:NS.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:NS.XML}],["xml:space",{prefix:"xml",name:"space",namespace:NS.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:NS.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:NS.XMLNS}]]),SVG_TAG_NAMES_ADJUSTMENT_MAP=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(Ra=>[Ra.toLowerCase(),Ra])),EXITS_FOREIGN_CONTENT=new Set([TAG_ID.B,TAG_ID.BIG,TAG_ID.BLOCKQUOTE,TAG_ID.BODY,TAG_ID.BR,TAG_ID.CENTER,TAG_ID.CODE,TAG_ID.DD,TAG_ID.DIV,TAG_ID.DL,TAG_ID.DT,TAG_ID.EM,TAG_ID.EMBED,TAG_ID.H1,TAG_ID.H2,TAG_ID.H3,TAG_ID.H4,TAG_ID.H5,TAG_ID.H6,TAG_ID.HEAD,TAG_ID.HR,TAG_ID.I,TAG_ID.IMG,TAG_ID.LI,TAG_ID.LISTING,TAG_ID.MENU,TAG_ID.META,TAG_ID.NOBR,TAG_ID.OL,TAG_ID.P,TAG_ID.PRE,TAG_ID.RUBY,TAG_ID.S,TAG_ID.SMALL,TAG_ID.SPAN,TAG_ID.STRONG,TAG_ID.STRIKE,TAG_ID.SUB,TAG_ID.SUP,TAG_ID.TABLE,TAG_ID.TT,TAG_ID.U,TAG_ID.UL,TAG_ID.VAR]);function causesExit(Ra){const qa=Ra.tagID;return qa===TAG_ID.FONT&&Ra.attrs.some(({name:od})=>od===ATTRS.COLOR||od===ATTRS.SIZE||od===ATTRS.FACE)||EXITS_FOREIGN_CONTENT.has(qa)}function adjustTokenMathMLAttrs(Ra){for(let qa=0;qa0&&this._setContextModes(qa,nd)}onItemPop(qa,nd){var od,ld;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(qa,this.currentToken),(ld=(od=this.treeAdapter).onItemPop)===null||ld===void 0||ld.call(od,qa,this.openElements.current),nd){let ud,cd;this.openElements.stackTop===0&&this.fragmentContext?(ud=this.fragmentContext,cd=this.fragmentContextID):{current:ud,currentTagId:cd}=this.openElements,this._setContextModes(ud,cd)}}_setContextModes(qa,nd){const od=qa===this.document||this.treeAdapter.getNamespaceURI(qa)===NS.HTML;this.currentNotInHTML=!od,this.tokenizer.inForeignNode=!od&&!this._isIntegrationPoint(nd,qa)}_switchToTextParsing(qa,nd){this._insertElement(qa,NS.HTML),this.tokenizer.state=nd,this.originalInsertionMode=this.insertionMode,this.insertionMode=InsertionMode.TEXT}switchToPlaintextParsing(){this.insertionMode=InsertionMode.TEXT,this.originalInsertionMode=InsertionMode.IN_BODY,this.tokenizer.state=TokenizerMode.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let qa=this.fragmentContext;for(;qa;){if(this.treeAdapter.getTagName(qa)===TAG_NAMES.FORM){this.formElement=qa;break}qa=this.treeAdapter.getParentNode(qa)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==NS.HTML))switch(this.fragmentContextID){case TAG_ID.TITLE:case TAG_ID.TEXTAREA:{this.tokenizer.state=TokenizerMode.RCDATA;break}case TAG_ID.STYLE:case TAG_ID.XMP:case TAG_ID.IFRAME:case TAG_ID.NOEMBED:case TAG_ID.NOFRAMES:case TAG_ID.NOSCRIPT:{this.tokenizer.state=TokenizerMode.RAWTEXT;break}case TAG_ID.SCRIPT:{this.tokenizer.state=TokenizerMode.SCRIPT_DATA;break}case TAG_ID.PLAINTEXT:{this.tokenizer.state=TokenizerMode.PLAINTEXT;break}}}_setDocumentType(qa){const nd=qa.name||"",od=qa.publicId||"",ld=qa.systemId||"";if(this.treeAdapter.setDocumentType(this.document,nd,od,ld),qa.location){const cd=this.treeAdapter.getChildNodes(this.document).find(dd=>this.treeAdapter.isDocumentTypeNode(dd));cd&&this.treeAdapter.setNodeSourceCodeLocation(cd,qa.location)}}_attachElementToTree(qa,nd){if(this.options.sourceCodeLocationInfo){const od=nd&&{...nd,startTag:nd};this.treeAdapter.setNodeSourceCodeLocation(qa,od)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(qa);else{const od=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(od,qa)}}_appendElement(qa,nd){const od=this.treeAdapter.createElement(qa.tagName,nd,qa.attrs);this._attachElementToTree(od,qa.location)}_insertElement(qa,nd){const od=this.treeAdapter.createElement(qa.tagName,nd,qa.attrs);this._attachElementToTree(od,qa.location),this.openElements.push(od,qa.tagID)}_insertFakeElement(qa,nd){const od=this.treeAdapter.createElement(qa,NS.HTML,[]);this._attachElementToTree(od,null),this.openElements.push(od,nd)}_insertTemplate(qa){const nd=this.treeAdapter.createElement(qa.tagName,NS.HTML,qa.attrs),od=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(nd,od),this._attachElementToTree(nd,qa.location),this.openElements.push(nd,qa.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(od,null)}_insertFakeRootElement(){const qa=this.treeAdapter.createElement(TAG_NAMES.HTML,NS.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(qa,null),this.treeAdapter.appendChild(this.openElements.current,qa),this.openElements.push(qa,TAG_ID.HTML)}_appendCommentNode(qa,nd){const od=this.treeAdapter.createCommentNode(qa.data);this.treeAdapter.appendChild(nd,od),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(od,qa.location)}_insertCharacters(qa){let nd,od;if(this._shouldFosterParentOnInsertion()?({parent:nd,beforeElement:od}=this._findFosterParentingLocation(),od?this.treeAdapter.insertTextBefore(nd,qa.chars,od):this.treeAdapter.insertText(nd,qa.chars)):(nd=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(nd,qa.chars)),!qa.location)return;const ld=this.treeAdapter.getChildNodes(nd),ud=od?ld.lastIndexOf(od):ld.length,cd=ld[ud-1];if(this.treeAdapter.getNodeSourceCodeLocation(cd)){const{endLine:pd,endCol:fd,endOffset:md}=qa.location;this.treeAdapter.updateNodeSourceCodeLocation(cd,{endLine:pd,endCol:fd,endOffset:md})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(cd,qa.location)}_adoptNodes(qa,nd){for(let od=this.treeAdapter.getFirstChild(qa);od;od=this.treeAdapter.getFirstChild(qa))this.treeAdapter.detachNode(od),this.treeAdapter.appendChild(nd,od)}_setEndLocation(qa,nd){if(this.treeAdapter.getNodeSourceCodeLocation(qa)&&nd.location){const od=nd.location,ld=this.treeAdapter.getTagName(qa),ud=nd.type===TokenType.END_TAG&&ld===nd.tagName?{endTag:{...od},endLine:od.endLine,endCol:od.endCol,endOffset:od.endOffset}:{endLine:od.startLine,endCol:od.startCol,endOffset:od.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(qa,ud)}}shouldProcessStartTagTokenInForeignContent(qa){if(!this.currentNotInHTML)return!1;let nd,od;return this.openElements.stackTop===0&&this.fragmentContext?(nd=this.fragmentContext,od=this.fragmentContextID):{current:nd,currentTagId:od}=this.openElements,qa.tagID===TAG_ID.SVG&&this.treeAdapter.getTagName(nd)===TAG_NAMES.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(nd)===NS.MATHML?!1:this.tokenizer.inForeignNode||(qa.tagID===TAG_ID.MGLYPH||qa.tagID===TAG_ID.MALIGNMARK)&&!this._isIntegrationPoint(od,nd,NS.HTML)}_processToken(qa){switch(qa.type){case TokenType.CHARACTER:{this.onCharacter(qa);break}case TokenType.NULL_CHARACTER:{this.onNullCharacter(qa);break}case TokenType.COMMENT:{this.onComment(qa);break}case TokenType.DOCTYPE:{this.onDoctype(qa);break}case TokenType.START_TAG:{this._processStartTag(qa);break}case TokenType.END_TAG:{this.onEndTag(qa);break}case TokenType.EOF:{this.onEof(qa);break}case TokenType.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(qa);break}}}_isIntegrationPoint(qa,nd,od){const ld=this.treeAdapter.getNamespaceURI(nd),ud=this.treeAdapter.getAttrList(nd);return isIntegrationPoint(qa,ld,ud,od)}_reconstructActiveFormattingElements(){const qa=this.activeFormattingElements.entries.length;if(qa){const nd=this.activeFormattingElements.entries.findIndex(ld=>ld.type===EntryType.Marker||this.openElements.contains(ld.element)),od=nd<0?qa-1:nd-1;for(let ld=od;ld>=0;ld--){const ud=this.activeFormattingElements.entries[ld];this._insertElement(ud.token,this.treeAdapter.getNamespaceURI(ud.element)),ud.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=InsertionMode.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.P),this.openElements.popUntilTagNamePopped(TAG_ID.P)}_resetInsertionMode(){for(let qa=this.openElements.stackTop;qa>=0;qa--)switch(qa===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[qa]){case TAG_ID.TR:{this.insertionMode=InsertionMode.IN_ROW;return}case TAG_ID.TBODY:case TAG_ID.THEAD:case TAG_ID.TFOOT:{this.insertionMode=InsertionMode.IN_TABLE_BODY;return}case TAG_ID.CAPTION:{this.insertionMode=InsertionMode.IN_CAPTION;return}case TAG_ID.COLGROUP:{this.insertionMode=InsertionMode.IN_COLUMN_GROUP;return}case TAG_ID.TABLE:{this.insertionMode=InsertionMode.IN_TABLE;return}case TAG_ID.BODY:{this.insertionMode=InsertionMode.IN_BODY;return}case TAG_ID.FRAMESET:{this.insertionMode=InsertionMode.IN_FRAMESET;return}case TAG_ID.SELECT:{this._resetInsertionModeForSelect(qa);return}case TAG_ID.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case TAG_ID.HTML:{this.insertionMode=this.headElement?InsertionMode.AFTER_HEAD:InsertionMode.BEFORE_HEAD;return}case TAG_ID.TD:case TAG_ID.TH:{if(qa>0){this.insertionMode=InsertionMode.IN_CELL;return}break}case TAG_ID.HEAD:{if(qa>0){this.insertionMode=InsertionMode.IN_HEAD;return}break}}this.insertionMode=InsertionMode.IN_BODY}_resetInsertionModeForSelect(qa){if(qa>0)for(let nd=qa-1;nd>0;nd--){const od=this.openElements.tagIDs[nd];if(od===TAG_ID.TEMPLATE)break;if(od===TAG_ID.TABLE){this.insertionMode=InsertionMode.IN_SELECT_IN_TABLE;return}}this.insertionMode=InsertionMode.IN_SELECT}_isElementCausesFosterParenting(qa){return TABLE_STRUCTURE_TAGS.has(qa)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let qa=this.openElements.stackTop;qa>=0;qa--){const nd=this.openElements.items[qa];switch(this.openElements.tagIDs[qa]){case TAG_ID.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(nd)===NS.HTML)return{parent:this.treeAdapter.getTemplateContent(nd),beforeElement:null};break}case TAG_ID.TABLE:{const od=this.treeAdapter.getParentNode(nd);return od?{parent:od,beforeElement:nd}:{parent:this.openElements.items[qa-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(qa){const nd=this._findFosterParentingLocation();nd.beforeElement?this.treeAdapter.insertBefore(nd.parent,qa,nd.beforeElement):this.treeAdapter.appendChild(nd.parent,qa)}_isSpecialElement(qa,nd){const od=this.treeAdapter.getNamespaceURI(qa);return SPECIAL_ELEMENTS[od].has(nd)}onCharacter(qa){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){characterInForeignContent(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_CAPTION:case InsertionMode.IN_CELL:case InsertionMode.IN_TEMPLATE:{characterInBody(this,qa);break}case InsertionMode.TEXT:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:{this._insertCharacters(qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{characterInTableText(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{tokenInColumnGroup(this,qa);break}case InsertionMode.AFTER_BODY:{tokenAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onNullCharacter(qa){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){nullCharacterInForeignContent(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.TEXT:{this._insertCharacters(qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{tokenInColumnGroup(this,qa);break}case InsertionMode.AFTER_BODY:{tokenAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onComment(qa){if(this.skipNextNewLine=!1,this.currentNotInHTML){appendComment(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:case InsertionMode.BEFORE_HTML:case InsertionMode.BEFORE_HEAD:case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:case InsertionMode.IN_BODY:case InsertionMode.IN_TABLE:case InsertionMode.IN_CAPTION:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:case InsertionMode.IN_CELL:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:case InsertionMode.IN_TEMPLATE:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:{appendComment(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.AFTER_BODY:{appendCommentToRootHtmlElement(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{appendCommentToDocument(this,qa);break}}}onDoctype(qa){switch(this.skipNextNewLine=!1,this.insertionMode){case InsertionMode.INITIAL:{doctypeInInitialMode(this,qa);break}case InsertionMode.BEFORE_HEAD:case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:{this._err(qa,ERR.misplacedDoctype);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}}}onStartTag(qa){this.skipNextNewLine=!1,this.currentToken=qa,this._processStartTag(qa),qa.selfClosing&&!qa.ackSelfClosing&&this._err(qa,ERR.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(qa){this.shouldProcessStartTagTokenInForeignContent(qa)?startTagInForeignContent(this,qa):this._startTagOutsideForeignContent(qa)}_startTagOutsideForeignContent(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{startTagBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{startTagBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{startTagInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{startTagInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{startTagAfterHead(this,qa);break}case InsertionMode.IN_BODY:{startTagInBody(this,qa);break}case InsertionMode.IN_TABLE:{startTagInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_CAPTION:{startTagInCaption(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{startTagInColumnGroup(this,qa);break}case InsertionMode.IN_TABLE_BODY:{startTagInTableBody(this,qa);break}case InsertionMode.IN_ROW:{startTagInRow(this,qa);break}case InsertionMode.IN_CELL:{startTagInCell(this,qa);break}case InsertionMode.IN_SELECT:{startTagInSelect(this,qa);break}case InsertionMode.IN_SELECT_IN_TABLE:{startTagInSelectInTable(this,qa);break}case InsertionMode.IN_TEMPLATE:{startTagInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:{startTagAfterBody(this,qa);break}case InsertionMode.IN_FRAMESET:{startTagInFrameset(this,qa);break}case InsertionMode.AFTER_FRAMESET:{startTagAfterFrameset(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{startTagAfterAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_FRAMESET:{startTagAfterAfterFrameset(this,qa);break}}}onEndTag(qa){this.skipNextNewLine=!1,this.currentToken=qa,this.currentNotInHTML?endTagInForeignContent(this,qa):this._endTagOutsideForeignContent(qa)}_endTagOutsideForeignContent(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{endTagBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{endTagBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{endTagInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{endTagInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{endTagAfterHead(this,qa);break}case InsertionMode.IN_BODY:{endTagInBody(this,qa);break}case InsertionMode.TEXT:{endTagInText(this,qa);break}case InsertionMode.IN_TABLE:{endTagInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_CAPTION:{endTagInCaption(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{endTagInColumnGroup(this,qa);break}case InsertionMode.IN_TABLE_BODY:{endTagInTableBody(this,qa);break}case InsertionMode.IN_ROW:{endTagInRow(this,qa);break}case InsertionMode.IN_CELL:{endTagInCell(this,qa);break}case InsertionMode.IN_SELECT:{endTagInSelect(this,qa);break}case InsertionMode.IN_SELECT_IN_TABLE:{endTagInSelectInTable(this,qa);break}case InsertionMode.IN_TEMPLATE:{endTagInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:{endTagAfterBody(this,qa);break}case InsertionMode.IN_FRAMESET:{endTagInFrameset(this,qa);break}case InsertionMode.AFTER_FRAMESET:{endTagAfterFrameset(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onEof(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_TABLE:case InsertionMode.IN_CAPTION:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:case InsertionMode.IN_CELL:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:{eofInBody(this,qa);break}case InsertionMode.TEXT:{eofInText(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_TEMPLATE:{eofInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{stopParsing(this,qa);break}}}onWhitespaceCharacter(qa){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,qa.chars.charCodeAt(0)===CODE_POINTS.LINE_FEED)){if(qa.chars.length===1)return;qa.chars=qa.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(qa);return}switch(this.insertionMode){case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:case InsertionMode.TEXT:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:{this._insertCharacters(qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_CAPTION:case InsertionMode.IN_CELL:case InsertionMode.IN_TEMPLATE:case InsertionMode.AFTER_BODY:case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{whitespaceCharacterInBody(this,qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{whitespaceCharacterInTableText(this,qa);break}}}};function aaObtainFormattingElementEntry(Ra,qa){let nd=Ra.activeFormattingElements.getElementEntryInScopeWithTagName(qa.tagName);return nd?Ra.openElements.contains(nd.element)?Ra.openElements.hasInScope(qa.tagID)||(nd=null):(Ra.activeFormattingElements.removeEntry(nd),nd=null):genericEndTagInBody(Ra,qa),nd}function aaObtainFurthestBlock(Ra,qa){let nd=null,od=Ra.openElements.stackTop;for(;od>=0;od--){const ld=Ra.openElements.items[od];if(ld===qa.element)break;Ra._isSpecialElement(ld,Ra.openElements.tagIDs[od])&&(nd=ld)}return nd||(Ra.openElements.shortenToLength(od<0?0:od),Ra.activeFormattingElements.removeEntry(qa)),nd}function aaInnerLoop(Ra,qa,nd){let od=qa,ld=Ra.openElements.getCommonAncestor(qa);for(let ud=0,cd=ld;cd!==nd;ud++,cd=ld){ld=Ra.openElements.getCommonAncestor(cd);const dd=Ra.activeFormattingElements.getElementEntry(cd),pd=dd&&ud>=AA_INNER_LOOP_ITER;!dd||pd?(pd&&Ra.activeFormattingElements.removeEntry(dd),Ra.openElements.remove(cd)):(cd=aaRecreateElementFromEntry(Ra,dd),od===qa&&(Ra.activeFormattingElements.bookmark=dd),Ra.treeAdapter.detachNode(od),Ra.treeAdapter.appendChild(cd,od),od=cd)}return od}function aaRecreateElementFromEntry(Ra,qa){const nd=Ra.treeAdapter.getNamespaceURI(qa.element),od=Ra.treeAdapter.createElement(qa.token.tagName,nd,qa.token.attrs);return Ra.openElements.replace(qa.element,od),qa.element=od,od}function aaInsertLastNodeInCommonAncestor(Ra,qa,nd){const od=Ra.treeAdapter.getTagName(qa),ld=getTagID(od);if(Ra._isElementCausesFosterParenting(ld))Ra._fosterParentElement(nd);else{const ud=Ra.treeAdapter.getNamespaceURI(qa);ld===TAG_ID.TEMPLATE&&ud===NS.HTML&&(qa=Ra.treeAdapter.getTemplateContent(qa)),Ra.treeAdapter.appendChild(qa,nd)}}function aaReplaceFormattingElement(Ra,qa,nd){const od=Ra.treeAdapter.getNamespaceURI(nd.element),{token:ld}=nd,ud=Ra.treeAdapter.createElement(ld.tagName,od,ld.attrs);Ra._adoptNodes(qa,ud),Ra.treeAdapter.appendChild(qa,ud),Ra.activeFormattingElements.insertElementAfterBookmark(ud,ld),Ra.activeFormattingElements.removeEntry(nd),Ra.openElements.remove(nd.element),Ra.openElements.insertAfter(qa,ud,ld.tagID)}function callAdoptionAgency(Ra,qa){for(let nd=0;nd=nd;od--)Ra._setEndLocation(Ra.openElements.items[od],qa);if(!Ra.fragmentContext&&Ra.openElements.stackTop>=0){const od=Ra.openElements.items[0],ld=Ra.treeAdapter.getNodeSourceCodeLocation(od);if(ld&&!ld.endTag&&(Ra._setEndLocation(od,qa),Ra.openElements.stackTop>=1)){const ud=Ra.openElements.items[1],cd=Ra.treeAdapter.getNodeSourceCodeLocation(ud);cd&&!cd.endTag&&Ra._setEndLocation(ud,qa)}}}}function doctypeInInitialMode(Ra,qa){Ra._setDocumentType(qa);const nd=qa.forceQuirks?DOCUMENT_MODE.QUIRKS:getDocumentMode(qa);isConforming(qa)||Ra._err(qa,ERR.nonConformingDoctype),Ra.treeAdapter.setDocumentMode(Ra.document,nd),Ra.insertionMode=InsertionMode.BEFORE_HTML}function tokenInInitialMode(Ra,qa){Ra._err(qa,ERR.missingDoctype,!0),Ra.treeAdapter.setDocumentMode(Ra.document,DOCUMENT_MODE.QUIRKS),Ra.insertionMode=InsertionMode.BEFORE_HTML,Ra._processToken(qa)}function startTagBeforeHtml(Ra,qa){qa.tagID===TAG_ID.HTML?(Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.BEFORE_HEAD):tokenBeforeHtml(Ra,qa)}function endTagBeforeHtml(Ra,qa){const nd=qa.tagID;(nd===TAG_ID.HTML||nd===TAG_ID.HEAD||nd===TAG_ID.BODY||nd===TAG_ID.BR)&&tokenBeforeHtml(Ra,qa)}function tokenBeforeHtml(Ra,qa){Ra._insertFakeRootElement(),Ra.insertionMode=InsertionMode.BEFORE_HEAD,Ra._processToken(qa)}function startTagBeforeHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.HEAD:{Ra._insertElement(qa,NS.HTML),Ra.headElement=Ra.openElements.current,Ra.insertionMode=InsertionMode.IN_HEAD;break}default:tokenBeforeHead(Ra,qa)}}function endTagBeforeHead(Ra,qa){const nd=qa.tagID;nd===TAG_ID.HEAD||nd===TAG_ID.BODY||nd===TAG_ID.HTML||nd===TAG_ID.BR?tokenBeforeHead(Ra,qa):Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}function tokenBeforeHead(Ra,qa){Ra._insertFakeElement(TAG_NAMES.HEAD,TAG_ID.HEAD),Ra.headElement=Ra.openElements.current,Ra.insertionMode=InsertionMode.IN_HEAD,Ra._processToken(qa)}function startTagInHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:{Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0;break}case TAG_ID.TITLE:{Ra._switchToTextParsing(qa,TokenizerMode.RCDATA);break}case TAG_ID.NOSCRIPT:{Ra.options.scriptingEnabled?Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT):(Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_HEAD_NO_SCRIPT);break}case TAG_ID.NOFRAMES:case TAG_ID.STYLE:{Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT);break}case TAG_ID.SCRIPT:{Ra._switchToTextParsing(qa,TokenizerMode.SCRIPT_DATA);break}case TAG_ID.TEMPLATE:{Ra._insertTemplate(qa),Ra.activeFormattingElements.insertMarker(),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_TEMPLATE,Ra.tmplInsertionModeStack.unshift(InsertionMode.IN_TEMPLATE);break}case TAG_ID.HEAD:{Ra._err(qa,ERR.misplacedStartTagForHeadElement);break}default:tokenInHead(Ra,qa)}}function endTagInHead(Ra,qa){switch(qa.tagID){case TAG_ID.HEAD:{Ra.openElements.pop(),Ra.insertionMode=InsertionMode.AFTER_HEAD;break}case TAG_ID.BODY:case TAG_ID.BR:case TAG_ID.HTML:{tokenInHead(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function templateEndTagInHead(Ra,qa){Ra.openElements.tmplCount>0?(Ra.openElements.generateImpliedEndTagsThoroughly(),Ra.openElements.currentTagId!==TAG_ID.TEMPLATE&&Ra._err(qa,ERR.closingOfElementWithOpenChildElements),Ra.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE),Ra.activeFormattingElements.clearToLastMarker(),Ra.tmplInsertionModeStack.shift(),Ra._resetInsertionMode()):Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}function tokenInHead(Ra,qa){Ra.openElements.pop(),Ra.insertionMode=InsertionMode.AFTER_HEAD,Ra._processToken(qa)}function startTagInHeadNoScript(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.HEAD:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.STYLE:{startTagInHead(Ra,qa);break}case TAG_ID.NOSCRIPT:{Ra._err(qa,ERR.nestedNoscriptInHead);break}default:tokenInHeadNoScript(Ra,qa)}}function endTagInHeadNoScript(Ra,qa){switch(qa.tagID){case TAG_ID.NOSCRIPT:{Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_HEAD;break}case TAG_ID.BR:{tokenInHeadNoScript(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function tokenInHeadNoScript(Ra,qa){const nd=qa.type===TokenType.EOF?ERR.openElementsLeftAfterEof:ERR.disallowedContentInNoscriptInHead;Ra._err(qa,nd),Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_HEAD,Ra._processToken(qa)}function startTagAfterHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BODY:{Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_BODY;break}case TAG_ID.FRAMESET:{Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_FRAMESET;break}case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.SCRIPT:case TAG_ID.STYLE:case TAG_ID.TEMPLATE:case TAG_ID.TITLE:{Ra._err(qa,ERR.abandonedHeadElementChild),Ra.openElements.push(Ra.headElement,TAG_ID.HEAD),startTagInHead(Ra,qa),Ra.openElements.remove(Ra.headElement);break}case TAG_ID.HEAD:{Ra._err(qa,ERR.misplacedStartTagForHeadElement);break}default:tokenAfterHead(Ra,qa)}}function endTagAfterHead(Ra,qa){switch(qa.tagID){case TAG_ID.BODY:case TAG_ID.HTML:case TAG_ID.BR:{tokenAfterHead(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function tokenAfterHead(Ra,qa){Ra._insertFakeElement(TAG_NAMES.BODY,TAG_ID.BODY),Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function modeInBody(Ra,qa){switch(qa.type){case TokenType.CHARACTER:{characterInBody(Ra,qa);break}case TokenType.WHITESPACE_CHARACTER:{whitespaceCharacterInBody(Ra,qa);break}case TokenType.COMMENT:{appendComment(Ra,qa);break}case TokenType.START_TAG:{startTagInBody(Ra,qa);break}case TokenType.END_TAG:{endTagInBody(Ra,qa);break}case TokenType.EOF:{eofInBody(Ra,qa);break}}}function whitespaceCharacterInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertCharacters(qa)}function characterInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertCharacters(qa),Ra.framesetOk=!1}function htmlStartTagInBody(Ra,qa){Ra.openElements.tmplCount===0&&Ra.treeAdapter.adoptAttributes(Ra.openElements.items[0],qa.attrs)}function bodyStartTagInBody(Ra,qa){const nd=Ra.openElements.tryPeekProperlyNestedBodyElement();nd&&Ra.openElements.tmplCount===0&&(Ra.framesetOk=!1,Ra.treeAdapter.adoptAttributes(nd,qa.attrs))}function framesetStartTagInBody(Ra,qa){const nd=Ra.openElements.tryPeekProperlyNestedBodyElement();Ra.framesetOk&&nd&&(Ra.treeAdapter.detachNode(nd),Ra.openElements.popAllUpToHtmlElement(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_FRAMESET)}function addressStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML)}function numberedHeaderStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),NUMBERED_HEADERS.has(Ra.openElements.currentTagId)&&Ra.openElements.pop(),Ra._insertElement(qa,NS.HTML)}function preStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.skipNextNewLine=!0,Ra.framesetOk=!1}function formStartTagInBody(Ra,qa){const nd=Ra.openElements.tmplCount>0;(!Ra.formElement||nd)&&(Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),nd||(Ra.formElement=Ra.openElements.current))}function listItemStartTagInBody(Ra,qa){Ra.framesetOk=!1;const nd=qa.tagID;for(let od=Ra.openElements.stackTop;od>=0;od--){const ld=Ra.openElements.tagIDs[od];if(nd===TAG_ID.LI&&ld===TAG_ID.LI||(nd===TAG_ID.DD||nd===TAG_ID.DT)&&(ld===TAG_ID.DD||ld===TAG_ID.DT)){Ra.openElements.generateImpliedEndTagsWithExclusion(ld),Ra.openElements.popUntilTagNamePopped(ld);break}if(ld!==TAG_ID.ADDRESS&&ld!==TAG_ID.DIV&&ld!==TAG_ID.P&&Ra._isSpecialElement(Ra.openElements.items[od],ld))break}Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML)}function plaintextStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.tokenizer.state=TokenizerMode.PLAINTEXT}function buttonStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.BUTTON)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(TAG_ID.BUTTON)),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1}function aStartTagInBody(Ra,qa){const nd=Ra.activeFormattingElements.getElementEntryInScopeWithTagName(TAG_NAMES.A);nd&&(callAdoptionAgency(Ra,qa),Ra.openElements.remove(nd.element),Ra.activeFormattingElements.removeEntry(nd)),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function bStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function nobrStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra.openElements.hasInScope(TAG_ID.NOBR)&&(callAdoptionAgency(Ra,qa),Ra._reconstructActiveFormattingElements()),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function appletStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.insertMarker(),Ra.framesetOk=!1}function tableStartTagInBody(Ra,qa){Ra.treeAdapter.getDocumentMode(Ra.document)!==DOCUMENT_MODE.QUIRKS&&Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_TABLE}function areaStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._appendElement(qa,NS.HTML),Ra.framesetOk=!1,qa.ackSelfClosing=!0}function isHiddenInput(Ra){const qa=getTokenAttr(Ra,ATTRS.TYPE);return qa!=null&&qa.toLowerCase()===HIDDEN_INPUT_TYPE}function inputStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._appendElement(qa,NS.HTML),isHiddenInput(qa)||(Ra.framesetOk=!1),qa.ackSelfClosing=!0}function paramStartTagInBody(Ra,qa){Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0}function hrStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._appendElement(qa,NS.HTML),Ra.framesetOk=!1,qa.ackSelfClosing=!0}function imageStartTagInBody(Ra,qa){qa.tagName=TAG_NAMES.IMG,qa.tagID=TAG_ID.IMG,areaStartTagInBody(Ra,qa)}function textareaStartTagInBody(Ra,qa){Ra._insertElement(qa,NS.HTML),Ra.skipNextNewLine=!0,Ra.tokenizer.state=TokenizerMode.RCDATA,Ra.originalInsertionMode=Ra.insertionMode,Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.TEXT}function xmpStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._reconstructActiveFormattingElements(),Ra.framesetOk=!1,Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function iframeStartTagInBody(Ra,qa){Ra.framesetOk=!1,Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function rawTextStartTagInBody(Ra,qa){Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function selectStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=Ra.insertionMode===InsertionMode.IN_TABLE||Ra.insertionMode===InsertionMode.IN_CAPTION||Ra.insertionMode===InsertionMode.IN_TABLE_BODY||Ra.insertionMode===InsertionMode.IN_ROW||Ra.insertionMode===InsertionMode.IN_CELL?InsertionMode.IN_SELECT_IN_TABLE:InsertionMode.IN_SELECT}function optgroupStartTagInBody(Ra,qa){Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.pop(),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML)}function rbStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.RUBY)&&Ra.openElements.generateImpliedEndTags(),Ra._insertElement(qa,NS.HTML)}function rtStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.RUBY)&&Ra.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.RTC),Ra._insertElement(qa,NS.HTML)}function mathStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),adjustTokenMathMLAttrs(qa),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,NS.MATHML):Ra._insertElement(qa,NS.MATHML),qa.ackSelfClosing=!0}function svgStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),adjustTokenSVGAttrs(qa),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,NS.SVG):Ra._insertElement(qa,NS.SVG),qa.ackSelfClosing=!0}function genericStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML)}function startTagInBody(Ra,qa){switch(qa.tagID){case TAG_ID.I:case TAG_ID.S:case TAG_ID.B:case TAG_ID.U:case TAG_ID.EM:case TAG_ID.TT:case TAG_ID.BIG:case TAG_ID.CODE:case TAG_ID.FONT:case TAG_ID.SMALL:case TAG_ID.STRIKE:case TAG_ID.STRONG:{bStartTagInBody(Ra,qa);break}case TAG_ID.A:{aStartTagInBody(Ra,qa);break}case TAG_ID.H1:case TAG_ID.H2:case TAG_ID.H3:case TAG_ID.H4:case TAG_ID.H5:case TAG_ID.H6:{numberedHeaderStartTagInBody(Ra,qa);break}case TAG_ID.P:case TAG_ID.DL:case TAG_ID.OL:case TAG_ID.UL:case TAG_ID.DIV:case TAG_ID.DIR:case TAG_ID.NAV:case TAG_ID.MAIN:case TAG_ID.MENU:case TAG_ID.ASIDE:case TAG_ID.CENTER:case TAG_ID.FIGURE:case TAG_ID.FOOTER:case TAG_ID.HEADER:case TAG_ID.HGROUP:case TAG_ID.DIALOG:case TAG_ID.DETAILS:case TAG_ID.ADDRESS:case TAG_ID.ARTICLE:case TAG_ID.SEARCH:case TAG_ID.SECTION:case TAG_ID.SUMMARY:case TAG_ID.FIELDSET:case TAG_ID.BLOCKQUOTE:case TAG_ID.FIGCAPTION:{addressStartTagInBody(Ra,qa);break}case TAG_ID.LI:case TAG_ID.DD:case TAG_ID.DT:{listItemStartTagInBody(Ra,qa);break}case TAG_ID.BR:case TAG_ID.IMG:case TAG_ID.WBR:case TAG_ID.AREA:case TAG_ID.EMBED:case TAG_ID.KEYGEN:{areaStartTagInBody(Ra,qa);break}case TAG_ID.HR:{hrStartTagInBody(Ra,qa);break}case TAG_ID.RB:case TAG_ID.RTC:{rbStartTagInBody(Ra,qa);break}case TAG_ID.RT:case TAG_ID.RP:{rtStartTagInBody(Ra,qa);break}case TAG_ID.PRE:case TAG_ID.LISTING:{preStartTagInBody(Ra,qa);break}case TAG_ID.XMP:{xmpStartTagInBody(Ra,qa);break}case TAG_ID.SVG:{svgStartTagInBody(Ra,qa);break}case TAG_ID.HTML:{htmlStartTagInBody(Ra,qa);break}case TAG_ID.BASE:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.STYLE:case TAG_ID.TITLE:case TAG_ID.SCRIPT:case TAG_ID.BGSOUND:case TAG_ID.BASEFONT:case TAG_ID.TEMPLATE:{startTagInHead(Ra,qa);break}case TAG_ID.BODY:{bodyStartTagInBody(Ra,qa);break}case TAG_ID.FORM:{formStartTagInBody(Ra,qa);break}case TAG_ID.NOBR:{nobrStartTagInBody(Ra,qa);break}case TAG_ID.MATH:{mathStartTagInBody(Ra,qa);break}case TAG_ID.TABLE:{tableStartTagInBody(Ra,qa);break}case TAG_ID.INPUT:{inputStartTagInBody(Ra,qa);break}case TAG_ID.PARAM:case TAG_ID.TRACK:case TAG_ID.SOURCE:{paramStartTagInBody(Ra,qa);break}case TAG_ID.IMAGE:{imageStartTagInBody(Ra,qa);break}case TAG_ID.BUTTON:{buttonStartTagInBody(Ra,qa);break}case TAG_ID.APPLET:case TAG_ID.OBJECT:case TAG_ID.MARQUEE:{appletStartTagInBody(Ra,qa);break}case TAG_ID.IFRAME:{iframeStartTagInBody(Ra,qa);break}case TAG_ID.SELECT:{selectStartTagInBody(Ra,qa);break}case TAG_ID.OPTION:case TAG_ID.OPTGROUP:{optgroupStartTagInBody(Ra,qa);break}case TAG_ID.NOEMBED:case TAG_ID.NOFRAMES:{rawTextStartTagInBody(Ra,qa);break}case TAG_ID.FRAMESET:{framesetStartTagInBody(Ra,qa);break}case TAG_ID.TEXTAREA:{textareaStartTagInBody(Ra,qa);break}case TAG_ID.NOSCRIPT:{Ra.options.scriptingEnabled?rawTextStartTagInBody(Ra,qa):genericStartTagInBody(Ra,qa);break}case TAG_ID.PLAINTEXT:{plaintextStartTagInBody(Ra,qa);break}case TAG_ID.COL:case TAG_ID.TH:case TAG_ID.TD:case TAG_ID.TR:case TAG_ID.HEAD:case TAG_ID.FRAME:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:case TAG_ID.CAPTION:case TAG_ID.COLGROUP:break;default:genericStartTagInBody(Ra,qa)}}function bodyEndTagInBody(Ra,qa){if(Ra.openElements.hasInScope(TAG_ID.BODY)&&(Ra.insertionMode=InsertionMode.AFTER_BODY,Ra.options.sourceCodeLocationInfo)){const nd=Ra.openElements.tryPeekProperlyNestedBodyElement();nd&&Ra._setEndLocation(nd,qa)}}function htmlEndTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.BODY)&&(Ra.insertionMode=InsertionMode.AFTER_BODY,endTagAfterBody(Ra,qa))}function addressEndTagInBody(Ra,qa){const nd=qa.tagID;Ra.openElements.hasInScope(nd)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(nd))}function formEndTagInBody(Ra){const qa=Ra.openElements.tmplCount>0,{formElement:nd}=Ra;qa||(Ra.formElement=null),(nd||qa)&&Ra.openElements.hasInScope(TAG_ID.FORM)&&(Ra.openElements.generateImpliedEndTags(),qa?Ra.openElements.popUntilTagNamePopped(TAG_ID.FORM):nd&&Ra.openElements.remove(nd))}function pEndTagInBody(Ra){Ra.openElements.hasInButtonScope(TAG_ID.P)||Ra._insertFakeElement(TAG_NAMES.P,TAG_ID.P),Ra._closePElement()}function liEndTagInBody(Ra){Ra.openElements.hasInListItemScope(TAG_ID.LI)&&(Ra.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.LI),Ra.openElements.popUntilTagNamePopped(TAG_ID.LI))}function ddEndTagInBody(Ra,qa){const nd=qa.tagID;Ra.openElements.hasInScope(nd)&&(Ra.openElements.generateImpliedEndTagsWithExclusion(nd),Ra.openElements.popUntilTagNamePopped(nd))}function numberedHeaderEndTagInBody(Ra){Ra.openElements.hasNumberedHeaderInScope()&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilNumberedHeaderPopped())}function appletEndTagInBody(Ra,qa){const nd=qa.tagID;Ra.openElements.hasInScope(nd)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(nd),Ra.activeFormattingElements.clearToLastMarker())}function brEndTagInBody(Ra){Ra._reconstructActiveFormattingElements(),Ra._insertFakeElement(TAG_NAMES.BR,TAG_ID.BR),Ra.openElements.pop(),Ra.framesetOk=!1}function genericEndTagInBody(Ra,qa){const nd=qa.tagName,od=qa.tagID;for(let ld=Ra.openElements.stackTop;ld>0;ld--){const ud=Ra.openElements.items[ld],cd=Ra.openElements.tagIDs[ld];if(od===cd&&(od!==TAG_ID.UNKNOWN||Ra.treeAdapter.getTagName(ud)===nd)){Ra.openElements.generateImpliedEndTagsWithExclusion(od),Ra.openElements.stackTop>=ld&&Ra.openElements.shortenToLength(ld);break}if(Ra._isSpecialElement(ud,cd))break}}function endTagInBody(Ra,qa){switch(qa.tagID){case TAG_ID.A:case TAG_ID.B:case TAG_ID.I:case TAG_ID.S:case TAG_ID.U:case TAG_ID.EM:case TAG_ID.TT:case TAG_ID.BIG:case TAG_ID.CODE:case TAG_ID.FONT:case TAG_ID.NOBR:case TAG_ID.SMALL:case TAG_ID.STRIKE:case TAG_ID.STRONG:{callAdoptionAgency(Ra,qa);break}case TAG_ID.P:{pEndTagInBody(Ra);break}case TAG_ID.DL:case TAG_ID.UL:case TAG_ID.OL:case TAG_ID.DIR:case TAG_ID.DIV:case TAG_ID.NAV:case TAG_ID.PRE:case TAG_ID.MAIN:case TAG_ID.MENU:case TAG_ID.ASIDE:case TAG_ID.BUTTON:case TAG_ID.CENTER:case TAG_ID.FIGURE:case TAG_ID.FOOTER:case TAG_ID.HEADER:case TAG_ID.HGROUP:case TAG_ID.DIALOG:case TAG_ID.ADDRESS:case TAG_ID.ARTICLE:case TAG_ID.DETAILS:case TAG_ID.SEARCH:case TAG_ID.SECTION:case TAG_ID.SUMMARY:case TAG_ID.LISTING:case TAG_ID.FIELDSET:case TAG_ID.BLOCKQUOTE:case TAG_ID.FIGCAPTION:{addressEndTagInBody(Ra,qa);break}case TAG_ID.LI:{liEndTagInBody(Ra);break}case TAG_ID.DD:case TAG_ID.DT:{ddEndTagInBody(Ra,qa);break}case TAG_ID.H1:case TAG_ID.H2:case TAG_ID.H3:case TAG_ID.H4:case TAG_ID.H5:case TAG_ID.H6:{numberedHeaderEndTagInBody(Ra);break}case TAG_ID.BR:{brEndTagInBody(Ra);break}case TAG_ID.BODY:{bodyEndTagInBody(Ra,qa);break}case TAG_ID.HTML:{htmlEndTagInBody(Ra,qa);break}case TAG_ID.FORM:{formEndTagInBody(Ra);break}case TAG_ID.APPLET:case TAG_ID.OBJECT:case TAG_ID.MARQUEE:{appletEndTagInBody(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:genericEndTagInBody(Ra,qa)}}function eofInBody(Ra,qa){Ra.tmplInsertionModeStack.length>0?eofInTemplate(Ra,qa):stopParsing(Ra,qa)}function endTagInText(Ra,qa){var nd;qa.tagID===TAG_ID.SCRIPT&&((nd=Ra.scriptHandler)===null||nd===void 0||nd.call(Ra,Ra.openElements.current)),Ra.openElements.pop(),Ra.insertionMode=Ra.originalInsertionMode}function eofInText(Ra,qa){Ra._err(qa,ERR.eofInElementThatCanContainOnlyText),Ra.openElements.pop(),Ra.insertionMode=Ra.originalInsertionMode,Ra.onEof(qa)}function characterInTable(Ra,qa){if(TABLE_STRUCTURE_TAGS.has(Ra.openElements.currentTagId))switch(Ra.pendingCharacterTokens.length=0,Ra.hasNonWhitespacePendingCharacterToken=!1,Ra.originalInsertionMode=Ra.insertionMode,Ra.insertionMode=InsertionMode.IN_TABLE_TEXT,qa.type){case TokenType.CHARACTER:{characterInTableText(Ra,qa);break}case TokenType.WHITESPACE_CHARACTER:{whitespaceCharacterInTableText(Ra,qa);break}}else tokenInTable(Ra,qa)}function captionStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra.activeFormattingElements.insertMarker(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_CAPTION}function colgroupStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP}function colStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertFakeElement(TAG_NAMES.COLGROUP,TAG_ID.COLGROUP),Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP,startTagInColumnGroup(Ra,qa)}function tbodyStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_TABLE_BODY}function tdStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertFakeElement(TAG_NAMES.TBODY,TAG_ID.TBODY),Ra.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(Ra,qa)}function tableStartTagInTable(Ra,qa){Ra.openElements.hasInTableScope(TAG_ID.TABLE)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.TABLE),Ra._resetInsertionMode(),Ra._processStartTag(qa))}function inputStartTagInTable(Ra,qa){isHiddenInput(qa)?Ra._appendElement(qa,NS.HTML):tokenInTable(Ra,qa),qa.ackSelfClosing=!0}function formStartTagInTable(Ra,qa){!Ra.formElement&&Ra.openElements.tmplCount===0&&(Ra._insertElement(qa,NS.HTML),Ra.formElement=Ra.openElements.current,Ra.openElements.pop())}function startTagInTable(Ra,qa){switch(qa.tagID){case TAG_ID.TD:case TAG_ID.TH:case TAG_ID.TR:{tdStartTagInTable(Ra,qa);break}case TAG_ID.STYLE:case TAG_ID.SCRIPT:case TAG_ID.TEMPLATE:{startTagInHead(Ra,qa);break}case TAG_ID.COL:{colStartTagInTable(Ra,qa);break}case TAG_ID.FORM:{formStartTagInTable(Ra,qa);break}case TAG_ID.TABLE:{tableStartTagInTable(Ra,qa);break}case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{tbodyStartTagInTable(Ra,qa);break}case TAG_ID.INPUT:{inputStartTagInTable(Ra,qa);break}case TAG_ID.CAPTION:{captionStartTagInTable(Ra,qa);break}case TAG_ID.COLGROUP:{colgroupStartTagInTable(Ra,qa);break}default:tokenInTable(Ra,qa)}}function endTagInTable(Ra,qa){switch(qa.tagID){case TAG_ID.TABLE:{Ra.openElements.hasInTableScope(TAG_ID.TABLE)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.TABLE),Ra._resetInsertionMode());break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}case TAG_ID.BODY:case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.HTML:case TAG_ID.TBODY:case TAG_ID.TD:case TAG_ID.TFOOT:case TAG_ID.TH:case TAG_ID.THEAD:case TAG_ID.TR:break;default:tokenInTable(Ra,qa)}}function tokenInTable(Ra,qa){const nd=Ra.fosterParentingEnabled;Ra.fosterParentingEnabled=!0,modeInBody(Ra,qa),Ra.fosterParentingEnabled=nd}function whitespaceCharacterInTableText(Ra,qa){Ra.pendingCharacterTokens.push(qa)}function characterInTableText(Ra,qa){Ra.pendingCharacterTokens.push(qa),Ra.hasNonWhitespacePendingCharacterToken=!0}function tokenInTableText(Ra,qa){let nd=0;if(Ra.hasNonWhitespacePendingCharacterToken)for(;nd0&&Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.tagIDs[Ra.openElements.stackTop-1]===TAG_ID.OPTGROUP&&Ra.openElements.pop(),Ra.openElements.currentTagId===TAG_ID.OPTGROUP&&Ra.openElements.pop();break}case TAG_ID.OPTION:{Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.pop();break}case TAG_ID.SELECT:{Ra.openElements.hasInSelectScope(TAG_ID.SELECT)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode());break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}}}function startTagInSelectInTable(Ra,qa){const nd=qa.tagID;nd===TAG_ID.CAPTION||nd===TAG_ID.TABLE||nd===TAG_ID.TBODY||nd===TAG_ID.TFOOT||nd===TAG_ID.THEAD||nd===TAG_ID.TR||nd===TAG_ID.TD||nd===TAG_ID.TH?(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode(),Ra._processStartTag(qa)):startTagInSelect(Ra,qa)}function endTagInSelectInTable(Ra,qa){const nd=qa.tagID;nd===TAG_ID.CAPTION||nd===TAG_ID.TABLE||nd===TAG_ID.TBODY||nd===TAG_ID.TFOOT||nd===TAG_ID.THEAD||nd===TAG_ID.TR||nd===TAG_ID.TD||nd===TAG_ID.TH?Ra.openElements.hasInTableScope(nd)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode(),Ra.onEndTag(qa)):endTagInSelect(Ra,qa)}function startTagInTemplate(Ra,qa){switch(qa.tagID){case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.SCRIPT:case TAG_ID.STYLE:case TAG_ID.TEMPLATE:case TAG_ID.TITLE:{startTagInHead(Ra,qa);break}case TAG_ID.CAPTION:case TAG_ID.COLGROUP:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_TABLE,Ra.insertionMode=InsertionMode.IN_TABLE,startTagInTable(Ra,qa);break}case TAG_ID.COL:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_COLUMN_GROUP,Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP,startTagInColumnGroup(Ra,qa);break}case TAG_ID.TR:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_TABLE_BODY,Ra.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(Ra,qa);break}case TAG_ID.TD:case TAG_ID.TH:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_ROW,Ra.insertionMode=InsertionMode.IN_ROW,startTagInRow(Ra,qa);break}default:Ra.tmplInsertionModeStack[0]=InsertionMode.IN_BODY,Ra.insertionMode=InsertionMode.IN_BODY,startTagInBody(Ra,qa)}}function endTagInTemplate(Ra,qa){qa.tagID===TAG_ID.TEMPLATE&&templateEndTagInHead(Ra,qa)}function eofInTemplate(Ra,qa){Ra.openElements.tmplCount>0?(Ra.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE),Ra.activeFormattingElements.clearToLastMarker(),Ra.tmplInsertionModeStack.shift(),Ra._resetInsertionMode(),Ra.onEof(qa)):stopParsing(Ra,qa)}function startTagAfterBody(Ra,qa){qa.tagID===TAG_ID.HTML?startTagInBody(Ra,qa):tokenAfterBody(Ra,qa)}function endTagAfterBody(Ra,qa){var nd;if(qa.tagID===TAG_ID.HTML){if(Ra.fragmentContext||(Ra.insertionMode=InsertionMode.AFTER_AFTER_BODY),Ra.options.sourceCodeLocationInfo&&Ra.openElements.tagIDs[0]===TAG_ID.HTML){Ra._setEndLocation(Ra.openElements.items[0],qa);const od=Ra.openElements.items[1];od&&!(!((nd=Ra.treeAdapter.getNodeSourceCodeLocation(od))===null||nd===void 0)&&nd.endTag)&&Ra._setEndLocation(od,qa)}}else tokenAfterBody(Ra,qa)}function tokenAfterBody(Ra,qa){Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function startTagInFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.FRAMESET:{Ra._insertElement(qa,NS.HTML);break}case TAG_ID.FRAME:{Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0;break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function endTagInFrameset(Ra,qa){qa.tagID===TAG_ID.FRAMESET&&!Ra.openElements.isRootHtmlElementCurrent()&&(Ra.openElements.pop(),!Ra.fragmentContext&&Ra.openElements.currentTagId!==TAG_ID.FRAMESET&&(Ra.insertionMode=InsertionMode.AFTER_FRAMESET))}function startTagAfterFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function endTagAfterFrameset(Ra,qa){qa.tagID===TAG_ID.HTML&&(Ra.insertionMode=InsertionMode.AFTER_AFTER_FRAMESET)}function startTagAfterAfterBody(Ra,qa){qa.tagID===TAG_ID.HTML?startTagInBody(Ra,qa):tokenAfterAfterBody(Ra,qa)}function tokenAfterAfterBody(Ra,qa){Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function startTagAfterAfterFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function nullCharacterInForeignContent(Ra,qa){qa.chars=REPLACEMENT_CHARACTER,Ra._insertCharacters(qa)}function characterInForeignContent(Ra,qa){Ra._insertCharacters(qa),Ra.framesetOk=!1}function popUntilHtmlOrIntegrationPoint(Ra){for(;Ra.treeAdapter.getNamespaceURI(Ra.openElements.current)!==NS.HTML&&!Ra._isIntegrationPoint(Ra.openElements.currentTagId,Ra.openElements.current);)Ra.openElements.pop()}function startTagInForeignContent(Ra,qa){if(causesExit(qa))popUntilHtmlOrIntegrationPoint(Ra),Ra._startTagOutsideForeignContent(qa);else{const nd=Ra._getAdjustedCurrentElement(),od=Ra.treeAdapter.getNamespaceURI(nd);od===NS.MATHML?adjustTokenMathMLAttrs(qa):od===NS.SVG&&(adjustTokenSVGTagName(qa),adjustTokenSVGAttrs(qa)),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,od):Ra._insertElement(qa,od),qa.ackSelfClosing=!0}}function endTagInForeignContent(Ra,qa){if(qa.tagID===TAG_ID.P||qa.tagID===TAG_ID.BR){popUntilHtmlOrIntegrationPoint(Ra),Ra._endTagOutsideForeignContent(qa);return}for(let nd=Ra.openElements.stackTop;nd>0;nd--){const od=Ra.openElements.items[nd];if(Ra.treeAdapter.getNamespaceURI(od)===NS.HTML){Ra._endTagOutsideForeignContent(qa);break}const ld=Ra.treeAdapter.getTagName(od);if(ld.toLowerCase()===qa.tagName){qa.tagName=ld,Ra.openElements.shortenToLength(nd);break}}}const VOID_ELEMENTS=new Set([TAG_NAMES.AREA,TAG_NAMES.BASE,TAG_NAMES.BASEFONT,TAG_NAMES.BGSOUND,TAG_NAMES.BR,TAG_NAMES.COL,TAG_NAMES.EMBED,TAG_NAMES.FRAME,TAG_NAMES.HR,TAG_NAMES.IMG,TAG_NAMES.INPUT,TAG_NAMES.KEYGEN,TAG_NAMES.LINK,TAG_NAMES.META,TAG_NAMES.PARAM,TAG_NAMES.SOURCE,TAG_NAMES.TRACK,TAG_NAMES.WBR]);function isVoidElement(Ra,qa){return qa.treeAdapter.isElementNode(Ra)&&qa.treeAdapter.getNamespaceURI(Ra)===NS.HTML&&VOID_ELEMENTS.has(qa.treeAdapter.getTagName(Ra))}const defaultOpts={treeAdapter:defaultTreeAdapter,scriptingEnabled:!0};function serializeOuter(Ra,qa){const nd={...defaultOpts,...qa};return serializeNode(Ra,nd)}function serializeChildNodes(Ra,qa){let nd="";const od=qa.treeAdapter.isElementNode(Ra)&&qa.treeAdapter.getTagName(Ra)===TAG_NAMES.TEMPLATE&&qa.treeAdapter.getNamespaceURI(Ra)===NS.HTML?qa.treeAdapter.getTemplateContent(Ra):Ra,ld=qa.treeAdapter.getChildNodes(od);if(ld)for(const ud of ld)nd+=serializeNode(ud,qa);return nd}function serializeNode(Ra,qa){return qa.treeAdapter.isElementNode(Ra)?serializeElement(Ra,qa):qa.treeAdapter.isTextNode(Ra)?serializeTextNode(Ra,qa):qa.treeAdapter.isCommentNode(Ra)?serializeCommentNode(Ra,qa):qa.treeAdapter.isDocumentTypeNode(Ra)?serializeDocumentTypeNode(Ra,qa):""}function serializeElement(Ra,qa){const nd=qa.treeAdapter.getTagName(Ra);return`<${nd}${serializeAttributes(Ra,qa)}>${isVoidElement(Ra,qa)?"":`${serializeChildNodes(Ra,qa)}`}`}function serializeAttributes(Ra,{treeAdapter:qa}){let nd="";for(const od of qa.getAttrList(Ra)){if(nd+=" ",od.namespace)switch(od.namespace){case NS.XML:{nd+=`xml:${od.name}`;break}case NS.XMLNS:{od.name!=="xmlns"&&(nd+="xmlns:"),nd+=od.name;break}case NS.XLINK:{nd+=`xlink:${od.name}`;break}default:nd+=`${od.prefix}:${od.name}`}else nd+=od.name;nd+=`="${escapeAttribute(od.value)}"`}return nd}function serializeTextNode(Ra,qa){const{treeAdapter:nd}=qa,od=nd.getTextNodeContent(Ra),ld=nd.getParentNode(Ra),ud=ld&&nd.isElementNode(ld)&&nd.getTagName(ld);return ud&&nd.getNamespaceURI(ld)===NS.HTML&&hasUnescapedText(ud,qa.scriptingEnabled)?od:escapeText(od)}function serializeCommentNode(Ra,{treeAdapter:qa}){return``}function serializeDocumentTypeNode(Ra,{treeAdapter:qa}){return``}function parse$4(Ra,qa){return Parser$1.parse(Ra,qa)}function parseFragment(Ra,qa,nd){typeof Ra=="string"&&(nd=qa,qa=Ra,Ra=null);const od=Parser$1.getFragmentParser(Ra,nd);return od.tokenizer.write(qa,!0),od.getFragment()}function enquoteDoctypeId(Ra){const qa=Ra.includes('"')?"'":'"';return qa+Ra+qa}function serializeDoctypeContent(Ra,qa,nd){let od="!DOCTYPE ";return Ra&&(od+=Ra),qa?od+=` PUBLIC ${enquoteDoctypeId(qa)}`:nd&&(od+=" SYSTEM"),nd&&(od+=` ${enquoteDoctypeId(nd)}`),od}const adapter={isCommentNode:isComment$1,isElementNode:isTag,isTextNode:isText,createDocument(){const Ra=new Document([]);return Ra["x-mode"]=DOCUMENT_MODE.NO_QUIRKS,Ra},createDocumentFragment(){return new Document([])},createElement(Ra,qa,nd){const od=Object.create(null),ld=Object.create(null),ud=Object.create(null);for(let dd=0;ddisDirective(cd)&&cd.name==="!doctype");ud?ud.data=ld??null:(ud=new ProcessingInstruction("!doctype",ld),adapter.appendChild(Ra,ud)),ud["x-name"]=qa,ud["x-publicId"]=nd,ud["x-systemId"]=od},setDocumentMode(Ra,qa){Ra["x-mode"]=qa},getDocumentMode(Ra){return Ra["x-mode"]},detachNode(Ra){if(Ra.parent){const qa=Ra.parent.children.indexOf(Ra),{prev:nd,next:od}=Ra;Ra.prev=null,Ra.next=null,nd&&(nd.next=od),od&&(od.prev=nd),Ra.parent.children.splice(qa,1),Ra.parent=null}},insertText(Ra,qa){const nd=Ra.children[Ra.children.length-1];nd&&isText(nd)?nd.data+=qa:adapter.appendChild(Ra,adapter.createTextNode(qa))},insertTextBefore(Ra,qa,nd){const od=Ra.children[Ra.children.indexOf(nd)-1];od&&isText(od)?od.data+=qa:adapter.insertBefore(Ra,adapter.createTextNode(qa),nd)},adoptAttributes(Ra,qa){for(let nd=0;nd=CharCodes.LowerA&&Ra<=CharCodes.LowerZ||Ra>=CharCodes.UpperA&&Ra<=CharCodes.UpperZ}var QuoteType;(function(Ra){Ra[Ra.NoValue=0]="NoValue",Ra[Ra.Unquoted=1]="Unquoted",Ra[Ra.Single=2]="Single",Ra[Ra.Double=3]="Double"})(QuoteType||(QuoteType={}));const Sequences={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class Tokenizer{constructor({xmlMode:qa=!1,decodeEntities:nd=!0},od){this.cbs=od,this.state=State$2.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=State$2.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=qa,this.decodeEntities=nd,this.entityDecoder=new EntityDecoder(qa?xmlDecodeTree:htmlDecodeTree,(ld,ud)=>this.emitCodePoint(ld,ud))}reset(){this.state=State$2.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=State$2.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(qa){this.offset+=this.buffer.length,this.buffer=qa,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=State$2.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&qa===CharCodes.Amp&&this.startEntity()}stateSpecialStartSequence(qa){const nd=this.sequenceIndex===this.currentSequence.length;if(!(nd?isEndOfTagSection(qa):(qa|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!nd){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=State$2.InTagName,this.stateInTagName(qa)}stateInSpecialTag(qa){if(this.sequenceIndex===this.currentSequence.length){if(qa===CharCodes.Gt||isWhitespace$1(qa)){const nd=this.index-this.currentSequence.length;if(this.sectionStart=0?(this.state=this.baseState,qa===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===State$2.Text||this.state===State$2.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===State$2.InAttributeValueDq||this.state===State$2.InAttributeValueSq||this.state===State$2.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index=qa||(this.state===State$2.InCommentLike?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,qa,0):this.cbs.oncomment(this.sectionStart,qa,0):this.state===State$2.InTagName||this.state===State$2.BeforeAttributeName||this.state===State$2.BeforeAttributeValue||this.state===State$2.AfterAttributeName||this.state===State$2.InAttributeName||this.state===State$2.InAttributeValueSq||this.state===State$2.InAttributeValueDq||this.state===State$2.InAttributeValueNq||this.state===State$2.InClosingTagName||this.cbs.ontext(this.sectionStart,qa))}emitCodePoint(qa,nd){this.baseState!==State$2.Text&&this.baseState!==State$2.InSpecialTag?(this.sectionStart0&&cd.has(this.stack[0]);){const dd=this.stack.shift();(od=(nd=this.cbs).onclosetag)===null||od===void 0||od.call(nd,dd,!0)}this.isVoidElement(qa)||(this.stack.unshift(qa),this.htmlMode&&(foreignContextElements.has(qa)?this.foreignContext.unshift(!0):htmlIntegrationElements.has(qa)&&this.foreignContext.unshift(!1))),(ud=(ld=this.cbs).onopentagname)===null||ud===void 0||ud.call(ld,qa),this.cbs.onopentag&&(this.attribs={})}endOpenTag(qa){var nd,od;this.startIndex=this.openTagStart,this.attribs&&((od=(nd=this.cbs).onopentag)===null||od===void 0||od.call(nd,this.tagname,this.attribs,qa),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(qa){this.endIndex=qa,this.endOpenTag(!1),this.startIndex=qa+1}onclosetag(qa,nd){var od,ld,ud,cd,dd,pd,fd,md;this.endIndex=nd;let vd=this.getSlice(qa,nd);if(this.lowerCaseTagNames&&(vd=vd.toLowerCase()),this.htmlMode&&(foreignContextElements.has(vd)||htmlIntegrationElements.has(vd))&&this.foreignContext.shift(),this.isVoidElement(vd))this.htmlMode&&vd==="br"&&((cd=(ud=this.cbs).onopentagname)===null||cd===void 0||cd.call(ud,"br"),(pd=(dd=this.cbs).onopentag)===null||pd===void 0||pd.call(dd,"br",{},!0),(md=(fd=this.cbs).onclosetag)===null||md===void 0||md.call(fd,"br",!1));else{const Ad=this.stack.indexOf(vd);if(Ad!==-1)for(let Nd=0;Nd<=Ad;Nd++){const Id=this.stack.shift();(ld=(od=this.cbs).onclosetag)===null||ld===void 0||ld.call(od,Id,Nd!==Ad)}else this.htmlMode&&vd==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=nd+1}onselfclosingtag(qa){this.endIndex=qa,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=qa+1):this.onopentagend(qa)}closeCurrentTag(qa){var nd,od;const ld=this.tagname;this.endOpenTag(qa),this.stack[0]===ld&&((od=(nd=this.cbs).onclosetag)===null||od===void 0||od.call(nd,ld,!qa),this.stack.shift())}onattribname(qa,nd){this.startIndex=qa;const od=this.getSlice(qa,nd);this.attribname=this.lowerCaseAttributeNames?od.toLowerCase():od}onattribdata(qa,nd){this.attribvalue+=this.getSlice(qa,nd)}onattribentity(qa){this.attribvalue+=fromCodePoint(qa)}onattribend(qa,nd){var od,ld;this.endIndex=nd,(ld=(od=this.cbs).onattribute)===null||ld===void 0||ld.call(od,this.attribname,this.attribvalue,qa===QuoteType.Double?'"':qa===QuoteType.Single?"'":qa===QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(qa){const nd=qa.search(reNameEnd);let od=nd<0?qa:qa.substr(0,nd);return this.lowerCaseTagNames&&(od=od.toLowerCase()),od}ondeclaration(qa,nd){this.endIndex=nd;const od=this.getSlice(qa,nd);if(this.cbs.onprocessinginstruction){const ld=this.getInstructionName(od);this.cbs.onprocessinginstruction(`!${ld}`,`!${od}`)}this.startIndex=nd+1}onprocessinginstruction(qa,nd){this.endIndex=nd;const od=this.getSlice(qa,nd);if(this.cbs.onprocessinginstruction){const ld=this.getInstructionName(od);this.cbs.onprocessinginstruction(`?${ld}`,`?${od}`)}this.startIndex=nd+1}oncomment(qa,nd,od){var ld,ud,cd,dd;this.endIndex=nd,(ud=(ld=this.cbs).oncomment)===null||ud===void 0||ud.call(ld,this.getSlice(qa,nd-od)),(dd=(cd=this.cbs).oncommentend)===null||dd===void 0||dd.call(cd),this.startIndex=nd+1}oncdata(qa,nd,od){var ld,ud,cd,dd,pd,fd,md,vd,Ad,Nd;this.endIndex=nd;const Id=this.getSlice(qa,nd-od);!this.htmlMode||this.options.recognizeCDATA?((ud=(ld=this.cbs).oncdatastart)===null||ud===void 0||ud.call(ld),(dd=(cd=this.cbs).ontext)===null||dd===void 0||dd.call(cd,Id),(fd=(pd=this.cbs).oncdataend)===null||fd===void 0||fd.call(pd)):((vd=(md=this.cbs).oncomment)===null||vd===void 0||vd.call(md,`[CDATA[${Id}]]`),(Nd=(Ad=this.cbs).oncommentend)===null||Nd===void 0||Nd.call(Ad)),this.startIndex=nd+1}onend(){var qa,nd;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let od=0;od=this.buffers[0].length;)this.shiftBuffer();let od=this.buffers[0].slice(qa-this.bufferOffset,nd-this.bufferOffset);for(;nd-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),od+=this.buffers[0].slice(0,nd-this.bufferOffset);return od}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(qa){var nd,od;if(this.ended){(od=(nd=this.cbs).onerror)===null||od===void 0||od.call(nd,new Error(".write() after done!"));return}this.buffers.push(qa),this.tokenizer.running&&(this.tokenizer.write(qa),this.writeIndex++)}end(qa){var nd,od;if(this.ended){(od=(nd=this.cbs).onerror)===null||od===void 0||od.call(nd,new Error(".end() after done!"));return}qa&&this.write(qa),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndexqa._useHtmlParser2?parseDocument(Ra,qa):parseWithParse5(Ra,qa,nd,od)),load$2=getLoad(parse$3,(Ra,qa)=>qa._useHtmlParser2?render$3(Ra,qa):renderWithParse5(Ra)),browser$1=Object.freeze(Object.defineProperty({__proto__:null,contains,load:load$2,merge:merge$3},Symbol.toStringTag,{value:"Module"})),require$$0$2=getAugmentedNamespace(browser$1);var utils$4={},lexer={exports:{}},debug={exports:{}};(function(Ra,qa){var nd={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:1},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_e72d6a91-80dc-48ef-805e-8b024d3e943e",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_e72d6a91-80dc-48ef-805e-8b024d3e943e",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"827",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241208.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5833",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12390458500",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_0be29237-df24-42ff-8577-19b0738a094d",INVOCATION_ID:"6082e0c4f23d452ea1611619b2624143",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"467",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 14",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_e72d6a91-80dc-48ef-805e-8b024d3e943e",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_e72d6a91-80dc-48ef-805e-8b024d3e943e",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_e72d6a91-80dc-48ef-805e-8b024d3e943e",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2179,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};Ra.exports=od;function od(ud){return ld.bind(null,ud)}function ld(ud){var cd=[].slice.call(arguments,1);cd.unshift("["+ud+"]"),nd.stderr.write(cd.join(" ")+` -`)}})(debug);var debugExports=debug.exports;(function(Ra,qa){debugExports("lex"),Ra.exports=nd;function nd(od){var ld="",ud,cd=0,dd=-1,pd=0,fd=1,md="before-selector",vd=[md],Ad={},Nd=[],Id=["media","keyframes",{name:"-webkit-keyframes",type:"keyframes",prefix:"-webkit-"},{name:"-moz-keyframes",type:"keyframes",prefix:"-moz-"},{name:"-ms-keyframes",type:"keyframes",prefix:"-ms-"},{name:"-o-keyframes",type:"keyframes",prefix:"-o-"},"font-face",{name:"import",state:"before-at-value"},{name:"charset",state:"before-at-value"},"supports","viewport",{name:"namespace",state:"before-at-value"},"document",{name:"-moz-document",type:"document",prefix:"-moz-"},"page"];function kd(){return mf(),od[dd]}function jd(Af){return Af?vd[vd.length-1-Af]:md}function Fd(Af){var Lf=dd+1;return Af===od.slice(Lf,Lf+Af.length)}function Md(Af){var Lf=od.slice(dd).indexOf(Af);return Lf>0?Lf:!1}function Ld(Af){return Af===Hd(1)}function Hd(Af){return od[dd+(Af||1)]}function Gd(){var Af=vd.pop();return md=vd[vd.length-1],Af}function Vd(Af){return md=Af,vd.push(md),vd.length}function Qd(Af){var Lf=md;return vd[vd.length-1]=md=Af,Lf}function mf(Af){if((Af||1)==1)od[dd]==` +`)}}).toArray()}const Forms=Object.freeze(Object.defineProperty({__proto__:null,serialize:serialize$1,serializeArray},Symbol.toStringTag,{value:"Module"}));function getExtractDescr(Ra){var qa;return typeof Ra=="string"?{selector:Ra,value:"textContent"}:{selector:Ra.selector,value:(qa=Ra.value)!==null&&qa!==void 0?qa:"textContent"}}function extract(Ra){const qa={};for(const nd in Ra){const od=Ra[nd],ld=Array.isArray(od),{selector:ud,value:cd}=getExtractDescr(ld?od[0]:od),dd=typeof cd=="function"?cd:typeof cd=="string"?pd=>this._make(pd).prop(cd):pd=>this._make(pd).extract(cd);if(ld)qa[nd]=this._findBySelector(ud,Number.POSITIVE_INFINITY).map((pd,fd)=>dd(fd,nd,qa)).get();else{const pd=this._findBySelector(ud,1);qa[nd]=pd.length>0?dd(pd[0],nd,qa):void 0}}return qa}const Extract=Object.freeze(Object.defineProperty({__proto__:null,extract},Symbol.toStringTag,{value:"Module"}));class Cheerio{constructor(qa,nd,od){if(this.length=0,this.options=od,this._root=nd,qa){for(let ld=0;ld=55296&&Ra<=57343}function isSurrogatePair(Ra){return Ra>=56320&&Ra<=57343}function getSurrogatePairCodePoint(Ra,qa){return(Ra-55296)*1024+9216+qa}function isControlCodePoint(Ra){return Ra!==32&&Ra!==10&&Ra!==13&&Ra!==9&&Ra!==12&&Ra>=1&&Ra<=31||Ra>=127&&Ra<=159}function isUndefinedCodePoint(Ra){return Ra>=64976&&Ra<=65007||UNDEFINED_CODE_POINTS.has(Ra)}var ERR;(function(Ra){Ra.controlCharacterInInputStream="control-character-in-input-stream",Ra.noncharacterInInputStream="noncharacter-in-input-stream",Ra.surrogateInInputStream="surrogate-in-input-stream",Ra.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",Ra.endTagWithAttributes="end-tag-with-attributes",Ra.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",Ra.unexpectedSolidusInTag="unexpected-solidus-in-tag",Ra.unexpectedNullCharacter="unexpected-null-character",Ra.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",Ra.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",Ra.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",Ra.missingEndTagName="missing-end-tag-name",Ra.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",Ra.unknownNamedCharacterReference="unknown-named-character-reference",Ra.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",Ra.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",Ra.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",Ra.eofBeforeTagName="eof-before-tag-name",Ra.eofInTag="eof-in-tag",Ra.missingAttributeValue="missing-attribute-value",Ra.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",Ra.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",Ra.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",Ra.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",Ra.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",Ra.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",Ra.missingDoctypePublicIdentifier="missing-doctype-public-identifier",Ra.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",Ra.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",Ra.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",Ra.cdataInHtmlContent="cdata-in-html-content",Ra.incorrectlyOpenedComment="incorrectly-opened-comment",Ra.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",Ra.eofInDoctype="eof-in-doctype",Ra.nestedComment="nested-comment",Ra.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",Ra.eofInComment="eof-in-comment",Ra.incorrectlyClosedComment="incorrectly-closed-comment",Ra.eofInCdata="eof-in-cdata",Ra.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",Ra.nullCharacterReference="null-character-reference",Ra.surrogateCharacterReference="surrogate-character-reference",Ra.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",Ra.controlCharacterReference="control-character-reference",Ra.noncharacterCharacterReference="noncharacter-character-reference",Ra.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",Ra.missingDoctypeName="missing-doctype-name",Ra.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",Ra.duplicateAttribute="duplicate-attribute",Ra.nonConformingDoctype="non-conforming-doctype",Ra.missingDoctype="missing-doctype",Ra.misplacedDoctype="misplaced-doctype",Ra.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",Ra.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",Ra.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",Ra.openElementsLeftAfterEof="open-elements-left-after-eof",Ra.abandonedHeadElementChild="abandoned-head-element-child",Ra.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",Ra.nestedNoscriptInHead="nested-noscript-in-head",Ra.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(ERR||(ERR={}));const DEFAULT_BUFFER_WATERLINE=65536;class Preprocessor{constructor(qa){this.handler=qa,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=DEFAULT_BUFFER_WATERLINE,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(qa,nd){const{line:od,col:ld,offset:ud}=this,cd=ld+nd,dd=ud+nd;return{code:qa,startLine:od,endLine:od,startCol:cd,endCol:cd,startOffset:dd,endOffset:dd}}_err(qa){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(qa,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(qa){if(this.pos!==this.html.length-1){const nd=this.html.charCodeAt(this.pos+1);if(isSurrogatePair(nd))return this.pos++,this._addGap(),getSurrogatePairCodePoint(qa,nd)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,CODE_POINTS.EOF;return this._err(ERR.surrogateInInputStream),qa}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(qa,nd){this.html.length>0?this.html+=qa:this.html=qa,this.endOfChunkHit=!1,this.lastChunkWritten=nd}insertHtmlAtCurrentPos(qa){this.html=this.html.substring(0,this.pos+1)+qa+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(qa,nd){if(this.pos+qa.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(nd)return this.html.startsWith(qa,this.pos);for(let od=0;od=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,CODE_POINTS.EOF;const od=this.html.charCodeAt(nd);return od===CODE_POINTS.CARRIAGE_RETURN?CODE_POINTS.LINE_FEED:od}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,CODE_POINTS.EOF;let qa=this.html.charCodeAt(this.pos);return qa===CODE_POINTS.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,CODE_POINTS.LINE_FEED):qa===CODE_POINTS.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,isSurrogate(qa)&&(qa=this._processSurrogate(qa)),this.handler.onParseError===null||qa>31&&qa<127||qa===CODE_POINTS.LINE_FEED||qa===CODE_POINTS.CARRIAGE_RETURN||qa>159&&qa<64976||this._checkForProblematicCharacters(qa),qa)}_checkForProblematicCharacters(qa){isControlCodePoint(qa)?this._err(ERR.controlCharacterInInputStream):isUndefinedCodePoint(qa)&&this._err(ERR.noncharacterInInputStream)}retreat(qa){for(this.pos-=qa;this.pos=0;nd--)if(Ra.attrs[nd].name===qa)return Ra.attrs[nd].value;return null}var NS;(function(Ra){Ra.HTML="http://www.w3.org/1999/xhtml",Ra.MATHML="http://www.w3.org/1998/Math/MathML",Ra.SVG="http://www.w3.org/2000/svg",Ra.XLINK="http://www.w3.org/1999/xlink",Ra.XML="http://www.w3.org/XML/1998/namespace",Ra.XMLNS="http://www.w3.org/2000/xmlns/"})(NS||(NS={}));var ATTRS;(function(Ra){Ra.TYPE="type",Ra.ACTION="action",Ra.ENCODING="encoding",Ra.PROMPT="prompt",Ra.NAME="name",Ra.COLOR="color",Ra.FACE="face",Ra.SIZE="size"})(ATTRS||(ATTRS={}));var DOCUMENT_MODE;(function(Ra){Ra.NO_QUIRKS="no-quirks",Ra.QUIRKS="quirks",Ra.LIMITED_QUIRKS="limited-quirks"})(DOCUMENT_MODE||(DOCUMENT_MODE={}));var TAG_NAMES;(function(Ra){Ra.A="a",Ra.ADDRESS="address",Ra.ANNOTATION_XML="annotation-xml",Ra.APPLET="applet",Ra.AREA="area",Ra.ARTICLE="article",Ra.ASIDE="aside",Ra.B="b",Ra.BASE="base",Ra.BASEFONT="basefont",Ra.BGSOUND="bgsound",Ra.BIG="big",Ra.BLOCKQUOTE="blockquote",Ra.BODY="body",Ra.BR="br",Ra.BUTTON="button",Ra.CAPTION="caption",Ra.CENTER="center",Ra.CODE="code",Ra.COL="col",Ra.COLGROUP="colgroup",Ra.DD="dd",Ra.DESC="desc",Ra.DETAILS="details",Ra.DIALOG="dialog",Ra.DIR="dir",Ra.DIV="div",Ra.DL="dl",Ra.DT="dt",Ra.EM="em",Ra.EMBED="embed",Ra.FIELDSET="fieldset",Ra.FIGCAPTION="figcaption",Ra.FIGURE="figure",Ra.FONT="font",Ra.FOOTER="footer",Ra.FOREIGN_OBJECT="foreignObject",Ra.FORM="form",Ra.FRAME="frame",Ra.FRAMESET="frameset",Ra.H1="h1",Ra.H2="h2",Ra.H3="h3",Ra.H4="h4",Ra.H5="h5",Ra.H6="h6",Ra.HEAD="head",Ra.HEADER="header",Ra.HGROUP="hgroup",Ra.HR="hr",Ra.HTML="html",Ra.I="i",Ra.IMG="img",Ra.IMAGE="image",Ra.INPUT="input",Ra.IFRAME="iframe",Ra.KEYGEN="keygen",Ra.LABEL="label",Ra.LI="li",Ra.LINK="link",Ra.LISTING="listing",Ra.MAIN="main",Ra.MALIGNMARK="malignmark",Ra.MARQUEE="marquee",Ra.MATH="math",Ra.MENU="menu",Ra.META="meta",Ra.MGLYPH="mglyph",Ra.MI="mi",Ra.MO="mo",Ra.MN="mn",Ra.MS="ms",Ra.MTEXT="mtext",Ra.NAV="nav",Ra.NOBR="nobr",Ra.NOFRAMES="noframes",Ra.NOEMBED="noembed",Ra.NOSCRIPT="noscript",Ra.OBJECT="object",Ra.OL="ol",Ra.OPTGROUP="optgroup",Ra.OPTION="option",Ra.P="p",Ra.PARAM="param",Ra.PLAINTEXT="plaintext",Ra.PRE="pre",Ra.RB="rb",Ra.RP="rp",Ra.RT="rt",Ra.RTC="rtc",Ra.RUBY="ruby",Ra.S="s",Ra.SCRIPT="script",Ra.SEARCH="search",Ra.SECTION="section",Ra.SELECT="select",Ra.SOURCE="source",Ra.SMALL="small",Ra.SPAN="span",Ra.STRIKE="strike",Ra.STRONG="strong",Ra.STYLE="style",Ra.SUB="sub",Ra.SUMMARY="summary",Ra.SUP="sup",Ra.TABLE="table",Ra.TBODY="tbody",Ra.TEMPLATE="template",Ra.TEXTAREA="textarea",Ra.TFOOT="tfoot",Ra.TD="td",Ra.TH="th",Ra.THEAD="thead",Ra.TITLE="title",Ra.TR="tr",Ra.TRACK="track",Ra.TT="tt",Ra.U="u",Ra.UL="ul",Ra.SVG="svg",Ra.VAR="var",Ra.WBR="wbr",Ra.XMP="xmp"})(TAG_NAMES||(TAG_NAMES={}));var TAG_ID;(function(Ra){Ra[Ra.UNKNOWN=0]="UNKNOWN",Ra[Ra.A=1]="A",Ra[Ra.ADDRESS=2]="ADDRESS",Ra[Ra.ANNOTATION_XML=3]="ANNOTATION_XML",Ra[Ra.APPLET=4]="APPLET",Ra[Ra.AREA=5]="AREA",Ra[Ra.ARTICLE=6]="ARTICLE",Ra[Ra.ASIDE=7]="ASIDE",Ra[Ra.B=8]="B",Ra[Ra.BASE=9]="BASE",Ra[Ra.BASEFONT=10]="BASEFONT",Ra[Ra.BGSOUND=11]="BGSOUND",Ra[Ra.BIG=12]="BIG",Ra[Ra.BLOCKQUOTE=13]="BLOCKQUOTE",Ra[Ra.BODY=14]="BODY",Ra[Ra.BR=15]="BR",Ra[Ra.BUTTON=16]="BUTTON",Ra[Ra.CAPTION=17]="CAPTION",Ra[Ra.CENTER=18]="CENTER",Ra[Ra.CODE=19]="CODE",Ra[Ra.COL=20]="COL",Ra[Ra.COLGROUP=21]="COLGROUP",Ra[Ra.DD=22]="DD",Ra[Ra.DESC=23]="DESC",Ra[Ra.DETAILS=24]="DETAILS",Ra[Ra.DIALOG=25]="DIALOG",Ra[Ra.DIR=26]="DIR",Ra[Ra.DIV=27]="DIV",Ra[Ra.DL=28]="DL",Ra[Ra.DT=29]="DT",Ra[Ra.EM=30]="EM",Ra[Ra.EMBED=31]="EMBED",Ra[Ra.FIELDSET=32]="FIELDSET",Ra[Ra.FIGCAPTION=33]="FIGCAPTION",Ra[Ra.FIGURE=34]="FIGURE",Ra[Ra.FONT=35]="FONT",Ra[Ra.FOOTER=36]="FOOTER",Ra[Ra.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",Ra[Ra.FORM=38]="FORM",Ra[Ra.FRAME=39]="FRAME",Ra[Ra.FRAMESET=40]="FRAMESET",Ra[Ra.H1=41]="H1",Ra[Ra.H2=42]="H2",Ra[Ra.H3=43]="H3",Ra[Ra.H4=44]="H4",Ra[Ra.H5=45]="H5",Ra[Ra.H6=46]="H6",Ra[Ra.HEAD=47]="HEAD",Ra[Ra.HEADER=48]="HEADER",Ra[Ra.HGROUP=49]="HGROUP",Ra[Ra.HR=50]="HR",Ra[Ra.HTML=51]="HTML",Ra[Ra.I=52]="I",Ra[Ra.IMG=53]="IMG",Ra[Ra.IMAGE=54]="IMAGE",Ra[Ra.INPUT=55]="INPUT",Ra[Ra.IFRAME=56]="IFRAME",Ra[Ra.KEYGEN=57]="KEYGEN",Ra[Ra.LABEL=58]="LABEL",Ra[Ra.LI=59]="LI",Ra[Ra.LINK=60]="LINK",Ra[Ra.LISTING=61]="LISTING",Ra[Ra.MAIN=62]="MAIN",Ra[Ra.MALIGNMARK=63]="MALIGNMARK",Ra[Ra.MARQUEE=64]="MARQUEE",Ra[Ra.MATH=65]="MATH",Ra[Ra.MENU=66]="MENU",Ra[Ra.META=67]="META",Ra[Ra.MGLYPH=68]="MGLYPH",Ra[Ra.MI=69]="MI",Ra[Ra.MO=70]="MO",Ra[Ra.MN=71]="MN",Ra[Ra.MS=72]="MS",Ra[Ra.MTEXT=73]="MTEXT",Ra[Ra.NAV=74]="NAV",Ra[Ra.NOBR=75]="NOBR",Ra[Ra.NOFRAMES=76]="NOFRAMES",Ra[Ra.NOEMBED=77]="NOEMBED",Ra[Ra.NOSCRIPT=78]="NOSCRIPT",Ra[Ra.OBJECT=79]="OBJECT",Ra[Ra.OL=80]="OL",Ra[Ra.OPTGROUP=81]="OPTGROUP",Ra[Ra.OPTION=82]="OPTION",Ra[Ra.P=83]="P",Ra[Ra.PARAM=84]="PARAM",Ra[Ra.PLAINTEXT=85]="PLAINTEXT",Ra[Ra.PRE=86]="PRE",Ra[Ra.RB=87]="RB",Ra[Ra.RP=88]="RP",Ra[Ra.RT=89]="RT",Ra[Ra.RTC=90]="RTC",Ra[Ra.RUBY=91]="RUBY",Ra[Ra.S=92]="S",Ra[Ra.SCRIPT=93]="SCRIPT",Ra[Ra.SEARCH=94]="SEARCH",Ra[Ra.SECTION=95]="SECTION",Ra[Ra.SELECT=96]="SELECT",Ra[Ra.SOURCE=97]="SOURCE",Ra[Ra.SMALL=98]="SMALL",Ra[Ra.SPAN=99]="SPAN",Ra[Ra.STRIKE=100]="STRIKE",Ra[Ra.STRONG=101]="STRONG",Ra[Ra.STYLE=102]="STYLE",Ra[Ra.SUB=103]="SUB",Ra[Ra.SUMMARY=104]="SUMMARY",Ra[Ra.SUP=105]="SUP",Ra[Ra.TABLE=106]="TABLE",Ra[Ra.TBODY=107]="TBODY",Ra[Ra.TEMPLATE=108]="TEMPLATE",Ra[Ra.TEXTAREA=109]="TEXTAREA",Ra[Ra.TFOOT=110]="TFOOT",Ra[Ra.TD=111]="TD",Ra[Ra.TH=112]="TH",Ra[Ra.THEAD=113]="THEAD",Ra[Ra.TITLE=114]="TITLE",Ra[Ra.TR=115]="TR",Ra[Ra.TRACK=116]="TRACK",Ra[Ra.TT=117]="TT",Ra[Ra.U=118]="U",Ra[Ra.UL=119]="UL",Ra[Ra.SVG=120]="SVG",Ra[Ra.VAR=121]="VAR",Ra[Ra.WBR=122]="WBR",Ra[Ra.XMP=123]="XMP"})(TAG_ID||(TAG_ID={}));const TAG_NAME_TO_ID=new Map([[TAG_NAMES.A,TAG_ID.A],[TAG_NAMES.ADDRESS,TAG_ID.ADDRESS],[TAG_NAMES.ANNOTATION_XML,TAG_ID.ANNOTATION_XML],[TAG_NAMES.APPLET,TAG_ID.APPLET],[TAG_NAMES.AREA,TAG_ID.AREA],[TAG_NAMES.ARTICLE,TAG_ID.ARTICLE],[TAG_NAMES.ASIDE,TAG_ID.ASIDE],[TAG_NAMES.B,TAG_ID.B],[TAG_NAMES.BASE,TAG_ID.BASE],[TAG_NAMES.BASEFONT,TAG_ID.BASEFONT],[TAG_NAMES.BGSOUND,TAG_ID.BGSOUND],[TAG_NAMES.BIG,TAG_ID.BIG],[TAG_NAMES.BLOCKQUOTE,TAG_ID.BLOCKQUOTE],[TAG_NAMES.BODY,TAG_ID.BODY],[TAG_NAMES.BR,TAG_ID.BR],[TAG_NAMES.BUTTON,TAG_ID.BUTTON],[TAG_NAMES.CAPTION,TAG_ID.CAPTION],[TAG_NAMES.CENTER,TAG_ID.CENTER],[TAG_NAMES.CODE,TAG_ID.CODE],[TAG_NAMES.COL,TAG_ID.COL],[TAG_NAMES.COLGROUP,TAG_ID.COLGROUP],[TAG_NAMES.DD,TAG_ID.DD],[TAG_NAMES.DESC,TAG_ID.DESC],[TAG_NAMES.DETAILS,TAG_ID.DETAILS],[TAG_NAMES.DIALOG,TAG_ID.DIALOG],[TAG_NAMES.DIR,TAG_ID.DIR],[TAG_NAMES.DIV,TAG_ID.DIV],[TAG_NAMES.DL,TAG_ID.DL],[TAG_NAMES.DT,TAG_ID.DT],[TAG_NAMES.EM,TAG_ID.EM],[TAG_NAMES.EMBED,TAG_ID.EMBED],[TAG_NAMES.FIELDSET,TAG_ID.FIELDSET],[TAG_NAMES.FIGCAPTION,TAG_ID.FIGCAPTION],[TAG_NAMES.FIGURE,TAG_ID.FIGURE],[TAG_NAMES.FONT,TAG_ID.FONT],[TAG_NAMES.FOOTER,TAG_ID.FOOTER],[TAG_NAMES.FOREIGN_OBJECT,TAG_ID.FOREIGN_OBJECT],[TAG_NAMES.FORM,TAG_ID.FORM],[TAG_NAMES.FRAME,TAG_ID.FRAME],[TAG_NAMES.FRAMESET,TAG_ID.FRAMESET],[TAG_NAMES.H1,TAG_ID.H1],[TAG_NAMES.H2,TAG_ID.H2],[TAG_NAMES.H3,TAG_ID.H3],[TAG_NAMES.H4,TAG_ID.H4],[TAG_NAMES.H5,TAG_ID.H5],[TAG_NAMES.H6,TAG_ID.H6],[TAG_NAMES.HEAD,TAG_ID.HEAD],[TAG_NAMES.HEADER,TAG_ID.HEADER],[TAG_NAMES.HGROUP,TAG_ID.HGROUP],[TAG_NAMES.HR,TAG_ID.HR],[TAG_NAMES.HTML,TAG_ID.HTML],[TAG_NAMES.I,TAG_ID.I],[TAG_NAMES.IMG,TAG_ID.IMG],[TAG_NAMES.IMAGE,TAG_ID.IMAGE],[TAG_NAMES.INPUT,TAG_ID.INPUT],[TAG_NAMES.IFRAME,TAG_ID.IFRAME],[TAG_NAMES.KEYGEN,TAG_ID.KEYGEN],[TAG_NAMES.LABEL,TAG_ID.LABEL],[TAG_NAMES.LI,TAG_ID.LI],[TAG_NAMES.LINK,TAG_ID.LINK],[TAG_NAMES.LISTING,TAG_ID.LISTING],[TAG_NAMES.MAIN,TAG_ID.MAIN],[TAG_NAMES.MALIGNMARK,TAG_ID.MALIGNMARK],[TAG_NAMES.MARQUEE,TAG_ID.MARQUEE],[TAG_NAMES.MATH,TAG_ID.MATH],[TAG_NAMES.MENU,TAG_ID.MENU],[TAG_NAMES.META,TAG_ID.META],[TAG_NAMES.MGLYPH,TAG_ID.MGLYPH],[TAG_NAMES.MI,TAG_ID.MI],[TAG_NAMES.MO,TAG_ID.MO],[TAG_NAMES.MN,TAG_ID.MN],[TAG_NAMES.MS,TAG_ID.MS],[TAG_NAMES.MTEXT,TAG_ID.MTEXT],[TAG_NAMES.NAV,TAG_ID.NAV],[TAG_NAMES.NOBR,TAG_ID.NOBR],[TAG_NAMES.NOFRAMES,TAG_ID.NOFRAMES],[TAG_NAMES.NOEMBED,TAG_ID.NOEMBED],[TAG_NAMES.NOSCRIPT,TAG_ID.NOSCRIPT],[TAG_NAMES.OBJECT,TAG_ID.OBJECT],[TAG_NAMES.OL,TAG_ID.OL],[TAG_NAMES.OPTGROUP,TAG_ID.OPTGROUP],[TAG_NAMES.OPTION,TAG_ID.OPTION],[TAG_NAMES.P,TAG_ID.P],[TAG_NAMES.PARAM,TAG_ID.PARAM],[TAG_NAMES.PLAINTEXT,TAG_ID.PLAINTEXT],[TAG_NAMES.PRE,TAG_ID.PRE],[TAG_NAMES.RB,TAG_ID.RB],[TAG_NAMES.RP,TAG_ID.RP],[TAG_NAMES.RT,TAG_ID.RT],[TAG_NAMES.RTC,TAG_ID.RTC],[TAG_NAMES.RUBY,TAG_ID.RUBY],[TAG_NAMES.S,TAG_ID.S],[TAG_NAMES.SCRIPT,TAG_ID.SCRIPT],[TAG_NAMES.SEARCH,TAG_ID.SEARCH],[TAG_NAMES.SECTION,TAG_ID.SECTION],[TAG_NAMES.SELECT,TAG_ID.SELECT],[TAG_NAMES.SOURCE,TAG_ID.SOURCE],[TAG_NAMES.SMALL,TAG_ID.SMALL],[TAG_NAMES.SPAN,TAG_ID.SPAN],[TAG_NAMES.STRIKE,TAG_ID.STRIKE],[TAG_NAMES.STRONG,TAG_ID.STRONG],[TAG_NAMES.STYLE,TAG_ID.STYLE],[TAG_NAMES.SUB,TAG_ID.SUB],[TAG_NAMES.SUMMARY,TAG_ID.SUMMARY],[TAG_NAMES.SUP,TAG_ID.SUP],[TAG_NAMES.TABLE,TAG_ID.TABLE],[TAG_NAMES.TBODY,TAG_ID.TBODY],[TAG_NAMES.TEMPLATE,TAG_ID.TEMPLATE],[TAG_NAMES.TEXTAREA,TAG_ID.TEXTAREA],[TAG_NAMES.TFOOT,TAG_ID.TFOOT],[TAG_NAMES.TD,TAG_ID.TD],[TAG_NAMES.TH,TAG_ID.TH],[TAG_NAMES.THEAD,TAG_ID.THEAD],[TAG_NAMES.TITLE,TAG_ID.TITLE],[TAG_NAMES.TR,TAG_ID.TR],[TAG_NAMES.TRACK,TAG_ID.TRACK],[TAG_NAMES.TT,TAG_ID.TT],[TAG_NAMES.U,TAG_ID.U],[TAG_NAMES.UL,TAG_ID.UL],[TAG_NAMES.SVG,TAG_ID.SVG],[TAG_NAMES.VAR,TAG_ID.VAR],[TAG_NAMES.WBR,TAG_ID.WBR],[TAG_NAMES.XMP,TAG_ID.XMP]]);function getTagID(Ra){var qa;return(qa=TAG_NAME_TO_ID.get(Ra))!==null&&qa!==void 0?qa:TAG_ID.UNKNOWN}const $$4=TAG_ID,SPECIAL_ELEMENTS={[NS.HTML]:new Set([$$4.ADDRESS,$$4.APPLET,$$4.AREA,$$4.ARTICLE,$$4.ASIDE,$$4.BASE,$$4.BASEFONT,$$4.BGSOUND,$$4.BLOCKQUOTE,$$4.BODY,$$4.BR,$$4.BUTTON,$$4.CAPTION,$$4.CENTER,$$4.COL,$$4.COLGROUP,$$4.DD,$$4.DETAILS,$$4.DIR,$$4.DIV,$$4.DL,$$4.DT,$$4.EMBED,$$4.FIELDSET,$$4.FIGCAPTION,$$4.FIGURE,$$4.FOOTER,$$4.FORM,$$4.FRAME,$$4.FRAMESET,$$4.H1,$$4.H2,$$4.H3,$$4.H4,$$4.H5,$$4.H6,$$4.HEAD,$$4.HEADER,$$4.HGROUP,$$4.HR,$$4.HTML,$$4.IFRAME,$$4.IMG,$$4.INPUT,$$4.LI,$$4.LINK,$$4.LISTING,$$4.MAIN,$$4.MARQUEE,$$4.MENU,$$4.META,$$4.NAV,$$4.NOEMBED,$$4.NOFRAMES,$$4.NOSCRIPT,$$4.OBJECT,$$4.OL,$$4.P,$$4.PARAM,$$4.PLAINTEXT,$$4.PRE,$$4.SCRIPT,$$4.SECTION,$$4.SELECT,$$4.SOURCE,$$4.STYLE,$$4.SUMMARY,$$4.TABLE,$$4.TBODY,$$4.TD,$$4.TEMPLATE,$$4.TEXTAREA,$$4.TFOOT,$$4.TH,$$4.THEAD,$$4.TITLE,$$4.TR,$$4.TRACK,$$4.UL,$$4.WBR,$$4.XMP]),[NS.MATHML]:new Set([$$4.MI,$$4.MO,$$4.MN,$$4.MS,$$4.MTEXT,$$4.ANNOTATION_XML]),[NS.SVG]:new Set([$$4.TITLE,$$4.FOREIGN_OBJECT,$$4.DESC]),[NS.XLINK]:new Set,[NS.XML]:new Set,[NS.XMLNS]:new Set},NUMBERED_HEADERS=new Set([$$4.H1,$$4.H2,$$4.H3,$$4.H4,$$4.H5,$$4.H6]),UNESCAPED_TEXT=new Set([TAG_NAMES.STYLE,TAG_NAMES.SCRIPT,TAG_NAMES.XMP,TAG_NAMES.IFRAME,TAG_NAMES.NOEMBED,TAG_NAMES.NOFRAMES,TAG_NAMES.PLAINTEXT]);function hasUnescapedText(Ra,qa){return UNESCAPED_TEXT.has(Ra)||qa&&Ra===TAG_NAMES.NOSCRIPT}var State$3;(function(Ra){Ra[Ra.DATA=0]="DATA",Ra[Ra.RCDATA=1]="RCDATA",Ra[Ra.RAWTEXT=2]="RAWTEXT",Ra[Ra.SCRIPT_DATA=3]="SCRIPT_DATA",Ra[Ra.PLAINTEXT=4]="PLAINTEXT",Ra[Ra.TAG_OPEN=5]="TAG_OPEN",Ra[Ra.END_TAG_OPEN=6]="END_TAG_OPEN",Ra[Ra.TAG_NAME=7]="TAG_NAME",Ra[Ra.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",Ra[Ra.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",Ra[Ra.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",Ra[Ra.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",Ra[Ra.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",Ra[Ra.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",Ra[Ra.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",Ra[Ra.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",Ra[Ra.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",Ra[Ra.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",Ra[Ra.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",Ra[Ra.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",Ra[Ra.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",Ra[Ra.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",Ra[Ra.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",Ra[Ra.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",Ra[Ra.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",Ra[Ra.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",Ra[Ra.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",Ra[Ra.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",Ra[Ra.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",Ra[Ra.BOGUS_COMMENT=40]="BOGUS_COMMENT",Ra[Ra.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",Ra[Ra.COMMENT_START=42]="COMMENT_START",Ra[Ra.COMMENT_START_DASH=43]="COMMENT_START_DASH",Ra[Ra.COMMENT=44]="COMMENT",Ra[Ra.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",Ra[Ra.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",Ra[Ra.COMMENT_END_DASH=49]="COMMENT_END_DASH",Ra[Ra.COMMENT_END=50]="COMMENT_END",Ra[Ra.COMMENT_END_BANG=51]="COMMENT_END_BANG",Ra[Ra.DOCTYPE=52]="DOCTYPE",Ra[Ra.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",Ra[Ra.DOCTYPE_NAME=54]="DOCTYPE_NAME",Ra[Ra.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",Ra[Ra.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",Ra[Ra.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",Ra[Ra.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",Ra[Ra.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",Ra[Ra.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",Ra[Ra.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",Ra[Ra.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",Ra[Ra.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",Ra[Ra.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",Ra[Ra.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",Ra[Ra.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",Ra[Ra.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",Ra[Ra.CDATA_SECTION=68]="CDATA_SECTION",Ra[Ra.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",Ra[Ra.CDATA_SECTION_END=70]="CDATA_SECTION_END",Ra[Ra.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",Ra[Ra.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(State$3||(State$3={}));const TokenizerMode={DATA:State$3.DATA,RCDATA:State$3.RCDATA,RAWTEXT:State$3.RAWTEXT,SCRIPT_DATA:State$3.SCRIPT_DATA,PLAINTEXT:State$3.PLAINTEXT,CDATA_SECTION:State$3.CDATA_SECTION};function isAsciiDigit(Ra){return Ra>=CODE_POINTS.DIGIT_0&&Ra<=CODE_POINTS.DIGIT_9}function isAsciiUpper(Ra){return Ra>=CODE_POINTS.LATIN_CAPITAL_A&&Ra<=CODE_POINTS.LATIN_CAPITAL_Z}function isAsciiLower(Ra){return Ra>=CODE_POINTS.LATIN_SMALL_A&&Ra<=CODE_POINTS.LATIN_SMALL_Z}function isAsciiLetter(Ra){return isAsciiLower(Ra)||isAsciiUpper(Ra)}function isAsciiAlphaNumeric(Ra){return isAsciiLetter(Ra)||isAsciiDigit(Ra)}function toAsciiLower(Ra){return Ra+32}function isWhitespace$2(Ra){return Ra===CODE_POINTS.SPACE||Ra===CODE_POINTS.LINE_FEED||Ra===CODE_POINTS.TABULATION||Ra===CODE_POINTS.FORM_FEED}function isScriptDataDoubleEscapeSequenceEnd(Ra){return isWhitespace$2(Ra)||Ra===CODE_POINTS.SOLIDUS||Ra===CODE_POINTS.GREATER_THAN_SIGN}function getErrorForNumericCharacterReference(Ra){return Ra===CODE_POINTS.NULL?ERR.nullCharacterReference:Ra>1114111?ERR.characterReferenceOutsideUnicodeRange:isSurrogate(Ra)?ERR.surrogateCharacterReference:isUndefinedCodePoint(Ra)?ERR.noncharacterCharacterReference:isControlCodePoint(Ra)||Ra===CODE_POINTS.CARRIAGE_RETURN?ERR.controlCharacterReference:null}let Tokenizer$1=class{constructor(qa,nd){this.options=qa,this.handler=nd,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=State$3.DATA,this.returnState=State$3.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Preprocessor(nd),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new EntityDecoder(htmlDecodeTree,(od,ld)=>{this.preprocessor.pos=this.entityStartPos+ld-1,this._flushCodePointConsumedAsCharacterReference(od)},nd.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(ERR.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:od=>{this._err(ERR.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+od)},validateNumericCharacterReference:od=>{const ld=getErrorForNumericCharacterReference(od);ld&&this._err(ld,1)}}:void 0)}_err(qa,nd=0){var od,ld;(ld=(od=this.handler).onParseError)===null||ld===void 0||ld.call(od,this.preprocessor.getError(qa,nd))}getCurrentLocation(qa){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-qa,startOffset:this.preprocessor.offset-qa,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const qa=this._consume();this._ensureHibernation()||this._callState(qa)}this.inLoop=!1}}pause(){this.paused=!0}resume(qa){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||qa==null||qa())}write(qa,nd,od){this.active=!0,this.preprocessor.write(qa,nd),this._runParsingLoop(),this.paused||od==null||od()}insertHtmlAtCurrentPos(qa){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(qa),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(qa){this.consumedAfterSnapshot+=qa;for(let nd=0;nd0&&this._err(ERR.endTagWithAttributes),qa.selfClosing&&this._err(ERR.endTagWithTrailingSolidus),this.handler.onEndTag(qa)),this.preprocessor.dropParsedChunk()}emitCurrentComment(qa){this.prepareToken(qa),this.handler.onComment(qa),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(qa){this.prepareToken(qa),this.handler.onDoctype(qa),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(qa){if(this.currentCharacterToken){switch(qa&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=qa.startLine,this.currentCharacterToken.location.endCol=qa.startCol,this.currentCharacterToken.location.endOffset=qa.startOffset),this.currentCharacterToken.type){case TokenType.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case TokenType.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case TokenType.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const qa=this.getCurrentLocation(0);qa&&(qa.endLine=qa.startLine,qa.endCol=qa.startCol,qa.endOffset=qa.startOffset),this._emitCurrentCharacterToken(qa),this.handler.onEof({type:TokenType.EOF,location:qa}),this.active=!1}_appendCharToCurrentCharacterToken(qa,nd){if(this.currentCharacterToken)if(this.currentCharacterToken.type===qa){this.currentCharacterToken.chars+=nd;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(qa,nd)}_emitCodePoint(qa){const nd=isWhitespace$2(qa)?TokenType.WHITESPACE_CHARACTER:qa===CODE_POINTS.NULL?TokenType.NULL_CHARACTER:TokenType.CHARACTER;this._appendCharToCurrentCharacterToken(nd,String.fromCodePoint(qa))}_emitChars(qa){this._appendCharToCurrentCharacterToken(TokenType.CHARACTER,qa)}_startCharacterReference(){this.returnState=this.state,this.state=State$3.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?DecodingMode.Attribute:DecodingMode.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===State$3.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===State$3.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===State$3.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(qa){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(qa):this._emitCodePoint(qa)}_callState(qa){switch(this.state){case State$3.DATA:{this._stateData(qa);break}case State$3.RCDATA:{this._stateRcdata(qa);break}case State$3.RAWTEXT:{this._stateRawtext(qa);break}case State$3.SCRIPT_DATA:{this._stateScriptData(qa);break}case State$3.PLAINTEXT:{this._statePlaintext(qa);break}case State$3.TAG_OPEN:{this._stateTagOpen(qa);break}case State$3.END_TAG_OPEN:{this._stateEndTagOpen(qa);break}case State$3.TAG_NAME:{this._stateTagName(qa);break}case State$3.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(qa);break}case State$3.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(qa);break}case State$3.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(qa);break}case State$3.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(qa);break}case State$3.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(qa);break}case State$3.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(qa);break}case State$3.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(qa);break}case State$3.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(qa);break}case State$3.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(qa);break}case State$3.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(qa);break}case State$3.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(qa);break}case State$3.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(qa);break}case State$3.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(qa);break}case State$3.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(qa);break}case State$3.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(qa);break}case State$3.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(qa);break}case State$3.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(qa);break}case State$3.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(qa);break}case State$3.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(qa);break}case State$3.ATTRIBUTE_NAME:{this._stateAttributeName(qa);break}case State$3.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(qa);break}case State$3.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(qa);break}case State$3.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(qa);break}case State$3.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(qa);break}case State$3.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(qa);break}case State$3.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(qa);break}case State$3.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(qa);break}case State$3.BOGUS_COMMENT:{this._stateBogusComment(qa);break}case State$3.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(qa);break}case State$3.COMMENT_START:{this._stateCommentStart(qa);break}case State$3.COMMENT_START_DASH:{this._stateCommentStartDash(qa);break}case State$3.COMMENT:{this._stateComment(qa);break}case State$3.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(qa);break}case State$3.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(qa);break}case State$3.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(qa);break}case State$3.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(qa);break}case State$3.COMMENT_END_DASH:{this._stateCommentEndDash(qa);break}case State$3.COMMENT_END:{this._stateCommentEnd(qa);break}case State$3.COMMENT_END_BANG:{this._stateCommentEndBang(qa);break}case State$3.DOCTYPE:{this._stateDoctype(qa);break}case State$3.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(qa);break}case State$3.DOCTYPE_NAME:{this._stateDoctypeName(qa);break}case State$3.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(qa);break}case State$3.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(qa);break}case State$3.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(qa);break}case State$3.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(qa);break}case State$3.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(qa);break}case State$3.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(qa);break}case State$3.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(qa);break}case State$3.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(qa);break}case State$3.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(qa);break}case State$3.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(qa);break}case State$3.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(qa);break}case State$3.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(qa);break}case State$3.BOGUS_DOCTYPE:{this._stateBogusDoctype(qa);break}case State$3.CDATA_SECTION:{this._stateCdataSection(qa);break}case State$3.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(qa);break}case State$3.CDATA_SECTION_END:{this._stateCdataSectionEnd(qa);break}case State$3.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case State$3.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(qa);break}default:throw new Error("Unknown state")}}_stateData(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.TAG_OPEN;break}case CODE_POINTS.AMPERSAND:{this._startCharacterReference();break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitCodePoint(qa);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateRcdata(qa){switch(qa){case CODE_POINTS.AMPERSAND:{this._startCharacterReference();break}case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.RCDATA_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateRawtext(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.RAWTEXT_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateScriptData(qa){switch(qa){case CODE_POINTS.LESS_THAN_SIGN:{this.state=State$3.SCRIPT_DATA_LESS_THAN_SIGN;break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_statePlaintext(qa){switch(qa){case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(qa)}}_stateTagOpen(qa){if(isAsciiLetter(qa))this._createStartTagToken(),this.state=State$3.TAG_NAME,this._stateTagName(qa);else switch(qa){case CODE_POINTS.EXCLAMATION_MARK:{this.state=State$3.MARKUP_DECLARATION_OPEN;break}case CODE_POINTS.SOLIDUS:{this.state=State$3.END_TAG_OPEN;break}case CODE_POINTS.QUESTION_MARK:{this._err(ERR.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=State$3.BOGUS_COMMENT,this._stateBogusComment(qa);break}case CODE_POINTS.EOF:{this._err(ERR.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(ERR.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=State$3.DATA,this._stateData(qa)}}_stateEndTagOpen(qa){if(isAsciiLetter(qa))this._createEndTagToken(),this.state=State$3.TAG_NAME,this._stateTagName(qa);else switch(qa){case CODE_POINTS.GREATER_THAN_SIGN:{this._err(ERR.missingEndTagName),this.state=State$3.DATA;break}case CODE_POINTS.EOF:{this._err(ERR.eofBeforeTagName),this._emitChars("");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State$3.SCRIPT_DATA_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State$3.SCRIPT_DATA_ESCAPED,this._emitCodePoint(qa)}}_stateScriptDataEscapedLessThanSign(qa){qa===CODE_POINTS.SOLIDUS?this.state=State$3.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:isAsciiLetter(qa)?(this._emitChars("<"),this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(qa)):(this._emitChars("<"),this.state=State$3.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(qa))}_stateScriptDataEscapedEndTagOpen(qa){isAsciiLetter(qa)?(this.state=State$3.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(qa)):(this._emitChars("");break}case CODE_POINTS.NULL:{this._err(ERR.unexpectedNullCharacter),this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(REPLACEMENT_CHARACTER);break}case CODE_POINTS.EOF:{this._err(ERR.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(qa)}}_stateScriptDataDoubleEscapedLessThanSign(qa){qa===CODE_POINTS.SOLIDUS?(this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=State$3.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(qa))}_stateScriptDataDoubleEscapeEnd(qa){if(this.preprocessor.startsWith(SEQUENCES.SCRIPT,!1)&&isScriptDataDoubleEscapeSequenceEnd(this.preprocessor.peek(SEQUENCES.SCRIPT.length))){this._emitCodePoint(qa);for(let nd=0;nd0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(qa,!0)}replace(qa,nd){const od=this._indexOf(qa);this.items[od]=nd,od===this.stackTop&&(this.current=nd)}insertAfter(qa,nd,od){const ld=this._indexOf(qa)+1;this.items.splice(ld,0,nd),this.tagIDs.splice(ld,0,od),this.stackTop++,ld===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,ld===this.stackTop)}popUntilTagNamePopped(qa){let nd=this.stackTop+1;do nd=this.tagIDs.lastIndexOf(qa,nd-1);while(nd>0&&this.treeAdapter.getNamespaceURI(this.items[nd])!==NS.HTML);this.shortenToLength(nd<0?0:nd)}shortenToLength(qa){for(;this.stackTop>=qa;){const nd=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(nd,this.stackTop=0;od--)if(qa.has(this.tagIDs[od])&&this.treeAdapter.getNamespaceURI(this.items[od])===nd)return od;return-1}clearBackTo(qa,nd){const od=this._indexOfTagNames(qa,nd);this.shortenToLength(od+1)}clearBackToTableContext(){this.clearBackTo(TABLE_CONTEXT,NS.HTML)}clearBackToTableBodyContext(){this.clearBackTo(TABLE_BODY_CONTEXT,NS.HTML)}clearBackToTableRowContext(){this.clearBackTo(TABLE_ROW_CONTEXT,NS.HTML)}remove(qa){const nd=this._indexOf(qa);nd>=0&&(nd===this.stackTop?this.pop():(this.items.splice(nd,1),this.tagIDs.splice(nd,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(qa,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===TAG_ID.BODY?this.items[1]:null}contains(qa){return this._indexOf(qa)>-1}getCommonAncestor(qa){const nd=this._indexOf(qa)-1;return nd>=0?this.items[nd]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===TAG_ID.HTML}hasInDynamicScope(qa,nd){for(let od=this.stackTop;od>=0;od--){const ld=this.tagIDs[od];switch(this.treeAdapter.getNamespaceURI(this.items[od])){case NS.HTML:{if(ld===qa)return!0;if(nd.has(ld))return!1;break}case NS.SVG:{if(SCOPING_ELEMENTS_SVG.has(ld))return!1;break}case NS.MATHML:{if(SCOPING_ELEMENTS_MATHML.has(ld))return!1;break}}}return!0}hasInScope(qa){return this.hasInDynamicScope(qa,SCOPING_ELEMENTS_HTML)}hasInListItemScope(qa){return this.hasInDynamicScope(qa,SCOPING_ELEMENTS_HTML_LIST)}hasInButtonScope(qa){return this.hasInDynamicScope(qa,SCOPING_ELEMENTS_HTML_BUTTON)}hasNumberedHeaderInScope(){for(let qa=this.stackTop;qa>=0;qa--){const nd=this.tagIDs[qa];switch(this.treeAdapter.getNamespaceURI(this.items[qa])){case NS.HTML:{if(NUMBERED_HEADERS.has(nd))return!0;if(SCOPING_ELEMENTS_HTML.has(nd))return!1;break}case NS.SVG:{if(SCOPING_ELEMENTS_SVG.has(nd))return!1;break}case NS.MATHML:{if(SCOPING_ELEMENTS_MATHML.has(nd))return!1;break}}}return!0}hasInTableScope(qa){for(let nd=this.stackTop;nd>=0;nd--)if(this.treeAdapter.getNamespaceURI(this.items[nd])===NS.HTML)switch(this.tagIDs[nd]){case qa:return!0;case TAG_ID.TABLE:case TAG_ID.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let qa=this.stackTop;qa>=0;qa--)if(this.treeAdapter.getNamespaceURI(this.items[qa])===NS.HTML)switch(this.tagIDs[qa]){case TAG_ID.TBODY:case TAG_ID.THEAD:case TAG_ID.TFOOT:return!0;case TAG_ID.TABLE:case TAG_ID.HTML:return!1}return!0}hasInSelectScope(qa){for(let nd=this.stackTop;nd>=0;nd--)if(this.treeAdapter.getNamespaceURI(this.items[nd])===NS.HTML)switch(this.tagIDs[nd]){case qa:return!0;case TAG_ID.OPTION:case TAG_ID.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;IMPLICIT_END_TAG_REQUIRED.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(qa){for(;this.currentTagId!==qa&&IMPLICIT_END_TAG_REQUIRED_THOROUGHLY.has(this.currentTagId);)this.pop()}}const NOAH_ARK_CAPACITY=3;var EntryType;(function(Ra){Ra[Ra.Marker=0]="Marker",Ra[Ra.Element=1]="Element"})(EntryType||(EntryType={}));const MARKER={type:EntryType.Marker};class FormattingElementList{constructor(qa){this.treeAdapter=qa,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(qa,nd){const od=[],ld=nd.length,ud=this.treeAdapter.getTagName(qa),cd=this.treeAdapter.getNamespaceURI(qa);for(let dd=0;dd[cd.name,cd.value]));let ud=0;for(let cd=0;cdld.get(pd.name)===pd.value)&&(ud+=1,ud>=NOAH_ARK_CAPACITY&&this.entries.splice(dd.idx,1))}}insertMarker(){this.entries.unshift(MARKER)}pushElement(qa,nd){this._ensureNoahArkCondition(qa),this.entries.unshift({type:EntryType.Element,element:qa,token:nd})}insertElementAfterBookmark(qa,nd){const od=this.entries.indexOf(this.bookmark);this.entries.splice(od,0,{type:EntryType.Element,element:qa,token:nd})}removeEntry(qa){const nd=this.entries.indexOf(qa);nd>=0&&this.entries.splice(nd,1)}clearToLastMarker(){const qa=this.entries.indexOf(MARKER);qa>=0?this.entries.splice(0,qa+1):this.entries.length=0}getElementEntryInScopeWithTagName(qa){const nd=this.entries.find(od=>od.type===EntryType.Marker||this.treeAdapter.getTagName(od.element)===qa);return nd&&nd.type===EntryType.Element?nd:null}getElementEntry(qa){return this.entries.find(nd=>nd.type===EntryType.Element&&nd.element===qa)}}const defaultTreeAdapter={createDocument(){return{nodeName:"#document",mode:DOCUMENT_MODE.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(Ra,qa,nd){return{nodeName:Ra,tagName:Ra,attrs:nd,namespaceURI:qa,childNodes:[],parentNode:null}},createCommentNode(Ra){return{nodeName:"#comment",data:Ra,parentNode:null}},createTextNode(Ra){return{nodeName:"#text",value:Ra,parentNode:null}},appendChild(Ra,qa){Ra.childNodes.push(qa),qa.parentNode=Ra},insertBefore(Ra,qa,nd){const od=Ra.childNodes.indexOf(nd);Ra.childNodes.splice(od,0,qa),qa.parentNode=Ra},setTemplateContent(Ra,qa){Ra.content=qa},getTemplateContent(Ra){return Ra.content},setDocumentType(Ra,qa,nd,od){const ld=Ra.childNodes.find(ud=>ud.nodeName==="#documentType");if(ld)ld.name=qa,ld.publicId=nd,ld.systemId=od;else{const ud={nodeName:"#documentType",name:qa,publicId:nd,systemId:od,parentNode:null};defaultTreeAdapter.appendChild(Ra,ud)}},setDocumentMode(Ra,qa){Ra.mode=qa},getDocumentMode(Ra){return Ra.mode},detachNode(Ra){if(Ra.parentNode){const qa=Ra.parentNode.childNodes.indexOf(Ra);Ra.parentNode.childNodes.splice(qa,1),Ra.parentNode=null}},insertText(Ra,qa){if(Ra.childNodes.length>0){const nd=Ra.childNodes[Ra.childNodes.length-1];if(defaultTreeAdapter.isTextNode(nd)){nd.value+=qa;return}}defaultTreeAdapter.appendChild(Ra,defaultTreeAdapter.createTextNode(qa))},insertTextBefore(Ra,qa,nd){const od=Ra.childNodes[Ra.childNodes.indexOf(nd)-1];od&&defaultTreeAdapter.isTextNode(od)?od.value+=qa:defaultTreeAdapter.insertBefore(Ra,defaultTreeAdapter.createTextNode(qa),nd)},adoptAttributes(Ra,qa){const nd=new Set(Ra.attrs.map(od=>od.name));for(let od=0;odRa.startsWith(nd))}function isConforming(Ra){return Ra.name===VALID_DOCTYPE_NAME&&Ra.publicId===null&&(Ra.systemId===null||Ra.systemId===VALID_SYSTEM_ID)}function getDocumentMode(Ra){if(Ra.name!==VALID_DOCTYPE_NAME)return DOCUMENT_MODE.QUIRKS;const{systemId:qa}=Ra;if(qa&&qa.toLowerCase()===QUIRKS_MODE_SYSTEM_ID)return DOCUMENT_MODE.QUIRKS;let{publicId:nd}=Ra;if(nd!==null){if(nd=nd.toLowerCase(),QUIRKS_MODE_PUBLIC_IDS.has(nd))return DOCUMENT_MODE.QUIRKS;let od=qa===null?QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES:QUIRKS_MODE_PUBLIC_ID_PREFIXES;if(hasPrefix(nd,od))return DOCUMENT_MODE.QUIRKS;if(od=qa===null?LIMITED_QUIRKS_PUBLIC_ID_PREFIXES:LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES,hasPrefix(nd,od))return DOCUMENT_MODE.LIMITED_QUIRKS}return DOCUMENT_MODE.NO_QUIRKS}const MIME_TYPES={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},DEFINITION_URL_ATTR="definitionurl",ADJUSTED_DEFINITION_URL_ATTR="definitionURL",SVG_ATTRS_ADJUSTMENT_MAP=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(Ra=>[Ra.toLowerCase(),Ra])),XML_ATTRS_ADJUSTMENT_MAP=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:NS.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:NS.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:NS.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:NS.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:NS.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:NS.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:NS.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:NS.XML}],["xml:space",{prefix:"xml",name:"space",namespace:NS.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:NS.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:NS.XMLNS}]]),SVG_TAG_NAMES_ADJUSTMENT_MAP=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(Ra=>[Ra.toLowerCase(),Ra])),EXITS_FOREIGN_CONTENT=new Set([TAG_ID.B,TAG_ID.BIG,TAG_ID.BLOCKQUOTE,TAG_ID.BODY,TAG_ID.BR,TAG_ID.CENTER,TAG_ID.CODE,TAG_ID.DD,TAG_ID.DIV,TAG_ID.DL,TAG_ID.DT,TAG_ID.EM,TAG_ID.EMBED,TAG_ID.H1,TAG_ID.H2,TAG_ID.H3,TAG_ID.H4,TAG_ID.H5,TAG_ID.H6,TAG_ID.HEAD,TAG_ID.HR,TAG_ID.I,TAG_ID.IMG,TAG_ID.LI,TAG_ID.LISTING,TAG_ID.MENU,TAG_ID.META,TAG_ID.NOBR,TAG_ID.OL,TAG_ID.P,TAG_ID.PRE,TAG_ID.RUBY,TAG_ID.S,TAG_ID.SMALL,TAG_ID.SPAN,TAG_ID.STRONG,TAG_ID.STRIKE,TAG_ID.SUB,TAG_ID.SUP,TAG_ID.TABLE,TAG_ID.TT,TAG_ID.U,TAG_ID.UL,TAG_ID.VAR]);function causesExit(Ra){const qa=Ra.tagID;return qa===TAG_ID.FONT&&Ra.attrs.some(({name:od})=>od===ATTRS.COLOR||od===ATTRS.SIZE||od===ATTRS.FACE)||EXITS_FOREIGN_CONTENT.has(qa)}function adjustTokenMathMLAttrs(Ra){for(let qa=0;qa0&&this._setContextModes(qa,nd)}onItemPop(qa,nd){var od,ld;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(qa,this.currentToken),(ld=(od=this.treeAdapter).onItemPop)===null||ld===void 0||ld.call(od,qa,this.openElements.current),nd){let ud,cd;this.openElements.stackTop===0&&this.fragmentContext?(ud=this.fragmentContext,cd=this.fragmentContextID):{current:ud,currentTagId:cd}=this.openElements,this._setContextModes(ud,cd)}}_setContextModes(qa,nd){const od=qa===this.document||this.treeAdapter.getNamespaceURI(qa)===NS.HTML;this.currentNotInHTML=!od,this.tokenizer.inForeignNode=!od&&!this._isIntegrationPoint(nd,qa)}_switchToTextParsing(qa,nd){this._insertElement(qa,NS.HTML),this.tokenizer.state=nd,this.originalInsertionMode=this.insertionMode,this.insertionMode=InsertionMode.TEXT}switchToPlaintextParsing(){this.insertionMode=InsertionMode.TEXT,this.originalInsertionMode=InsertionMode.IN_BODY,this.tokenizer.state=TokenizerMode.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let qa=this.fragmentContext;for(;qa;){if(this.treeAdapter.getTagName(qa)===TAG_NAMES.FORM){this.formElement=qa;break}qa=this.treeAdapter.getParentNode(qa)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==NS.HTML))switch(this.fragmentContextID){case TAG_ID.TITLE:case TAG_ID.TEXTAREA:{this.tokenizer.state=TokenizerMode.RCDATA;break}case TAG_ID.STYLE:case TAG_ID.XMP:case TAG_ID.IFRAME:case TAG_ID.NOEMBED:case TAG_ID.NOFRAMES:case TAG_ID.NOSCRIPT:{this.tokenizer.state=TokenizerMode.RAWTEXT;break}case TAG_ID.SCRIPT:{this.tokenizer.state=TokenizerMode.SCRIPT_DATA;break}case TAG_ID.PLAINTEXT:{this.tokenizer.state=TokenizerMode.PLAINTEXT;break}}}_setDocumentType(qa){const nd=qa.name||"",od=qa.publicId||"",ld=qa.systemId||"";if(this.treeAdapter.setDocumentType(this.document,nd,od,ld),qa.location){const cd=this.treeAdapter.getChildNodes(this.document).find(dd=>this.treeAdapter.isDocumentTypeNode(dd));cd&&this.treeAdapter.setNodeSourceCodeLocation(cd,qa.location)}}_attachElementToTree(qa,nd){if(this.options.sourceCodeLocationInfo){const od=nd&&{...nd,startTag:nd};this.treeAdapter.setNodeSourceCodeLocation(qa,od)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(qa);else{const od=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(od,qa)}}_appendElement(qa,nd){const od=this.treeAdapter.createElement(qa.tagName,nd,qa.attrs);this._attachElementToTree(od,qa.location)}_insertElement(qa,nd){const od=this.treeAdapter.createElement(qa.tagName,nd,qa.attrs);this._attachElementToTree(od,qa.location),this.openElements.push(od,qa.tagID)}_insertFakeElement(qa,nd){const od=this.treeAdapter.createElement(qa,NS.HTML,[]);this._attachElementToTree(od,null),this.openElements.push(od,nd)}_insertTemplate(qa){const nd=this.treeAdapter.createElement(qa.tagName,NS.HTML,qa.attrs),od=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(nd,od),this._attachElementToTree(nd,qa.location),this.openElements.push(nd,qa.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(od,null)}_insertFakeRootElement(){const qa=this.treeAdapter.createElement(TAG_NAMES.HTML,NS.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(qa,null),this.treeAdapter.appendChild(this.openElements.current,qa),this.openElements.push(qa,TAG_ID.HTML)}_appendCommentNode(qa,nd){const od=this.treeAdapter.createCommentNode(qa.data);this.treeAdapter.appendChild(nd,od),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(od,qa.location)}_insertCharacters(qa){let nd,od;if(this._shouldFosterParentOnInsertion()?({parent:nd,beforeElement:od}=this._findFosterParentingLocation(),od?this.treeAdapter.insertTextBefore(nd,qa.chars,od):this.treeAdapter.insertText(nd,qa.chars)):(nd=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(nd,qa.chars)),!qa.location)return;const ld=this.treeAdapter.getChildNodes(nd),ud=od?ld.lastIndexOf(od):ld.length,cd=ld[ud-1];if(this.treeAdapter.getNodeSourceCodeLocation(cd)){const{endLine:pd,endCol:fd,endOffset:md}=qa.location;this.treeAdapter.updateNodeSourceCodeLocation(cd,{endLine:pd,endCol:fd,endOffset:md})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(cd,qa.location)}_adoptNodes(qa,nd){for(let od=this.treeAdapter.getFirstChild(qa);od;od=this.treeAdapter.getFirstChild(qa))this.treeAdapter.detachNode(od),this.treeAdapter.appendChild(nd,od)}_setEndLocation(qa,nd){if(this.treeAdapter.getNodeSourceCodeLocation(qa)&&nd.location){const od=nd.location,ld=this.treeAdapter.getTagName(qa),ud=nd.type===TokenType.END_TAG&&ld===nd.tagName?{endTag:{...od},endLine:od.endLine,endCol:od.endCol,endOffset:od.endOffset}:{endLine:od.startLine,endCol:od.startCol,endOffset:od.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(qa,ud)}}shouldProcessStartTagTokenInForeignContent(qa){if(!this.currentNotInHTML)return!1;let nd,od;return this.openElements.stackTop===0&&this.fragmentContext?(nd=this.fragmentContext,od=this.fragmentContextID):{current:nd,currentTagId:od}=this.openElements,qa.tagID===TAG_ID.SVG&&this.treeAdapter.getTagName(nd)===TAG_NAMES.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(nd)===NS.MATHML?!1:this.tokenizer.inForeignNode||(qa.tagID===TAG_ID.MGLYPH||qa.tagID===TAG_ID.MALIGNMARK)&&!this._isIntegrationPoint(od,nd,NS.HTML)}_processToken(qa){switch(qa.type){case TokenType.CHARACTER:{this.onCharacter(qa);break}case TokenType.NULL_CHARACTER:{this.onNullCharacter(qa);break}case TokenType.COMMENT:{this.onComment(qa);break}case TokenType.DOCTYPE:{this.onDoctype(qa);break}case TokenType.START_TAG:{this._processStartTag(qa);break}case TokenType.END_TAG:{this.onEndTag(qa);break}case TokenType.EOF:{this.onEof(qa);break}case TokenType.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(qa);break}}}_isIntegrationPoint(qa,nd,od){const ld=this.treeAdapter.getNamespaceURI(nd),ud=this.treeAdapter.getAttrList(nd);return isIntegrationPoint(qa,ld,ud,od)}_reconstructActiveFormattingElements(){const qa=this.activeFormattingElements.entries.length;if(qa){const nd=this.activeFormattingElements.entries.findIndex(ld=>ld.type===EntryType.Marker||this.openElements.contains(ld.element)),od=nd<0?qa-1:nd-1;for(let ld=od;ld>=0;ld--){const ud=this.activeFormattingElements.entries[ld];this._insertElement(ud.token,this.treeAdapter.getNamespaceURI(ud.element)),ud.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=InsertionMode.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.P),this.openElements.popUntilTagNamePopped(TAG_ID.P)}_resetInsertionMode(){for(let qa=this.openElements.stackTop;qa>=0;qa--)switch(qa===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[qa]){case TAG_ID.TR:{this.insertionMode=InsertionMode.IN_ROW;return}case TAG_ID.TBODY:case TAG_ID.THEAD:case TAG_ID.TFOOT:{this.insertionMode=InsertionMode.IN_TABLE_BODY;return}case TAG_ID.CAPTION:{this.insertionMode=InsertionMode.IN_CAPTION;return}case TAG_ID.COLGROUP:{this.insertionMode=InsertionMode.IN_COLUMN_GROUP;return}case TAG_ID.TABLE:{this.insertionMode=InsertionMode.IN_TABLE;return}case TAG_ID.BODY:{this.insertionMode=InsertionMode.IN_BODY;return}case TAG_ID.FRAMESET:{this.insertionMode=InsertionMode.IN_FRAMESET;return}case TAG_ID.SELECT:{this._resetInsertionModeForSelect(qa);return}case TAG_ID.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case TAG_ID.HTML:{this.insertionMode=this.headElement?InsertionMode.AFTER_HEAD:InsertionMode.BEFORE_HEAD;return}case TAG_ID.TD:case TAG_ID.TH:{if(qa>0){this.insertionMode=InsertionMode.IN_CELL;return}break}case TAG_ID.HEAD:{if(qa>0){this.insertionMode=InsertionMode.IN_HEAD;return}break}}this.insertionMode=InsertionMode.IN_BODY}_resetInsertionModeForSelect(qa){if(qa>0)for(let nd=qa-1;nd>0;nd--){const od=this.openElements.tagIDs[nd];if(od===TAG_ID.TEMPLATE)break;if(od===TAG_ID.TABLE){this.insertionMode=InsertionMode.IN_SELECT_IN_TABLE;return}}this.insertionMode=InsertionMode.IN_SELECT}_isElementCausesFosterParenting(qa){return TABLE_STRUCTURE_TAGS.has(qa)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let qa=this.openElements.stackTop;qa>=0;qa--){const nd=this.openElements.items[qa];switch(this.openElements.tagIDs[qa]){case TAG_ID.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(nd)===NS.HTML)return{parent:this.treeAdapter.getTemplateContent(nd),beforeElement:null};break}case TAG_ID.TABLE:{const od=this.treeAdapter.getParentNode(nd);return od?{parent:od,beforeElement:nd}:{parent:this.openElements.items[qa-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(qa){const nd=this._findFosterParentingLocation();nd.beforeElement?this.treeAdapter.insertBefore(nd.parent,qa,nd.beforeElement):this.treeAdapter.appendChild(nd.parent,qa)}_isSpecialElement(qa,nd){const od=this.treeAdapter.getNamespaceURI(qa);return SPECIAL_ELEMENTS[od].has(nd)}onCharacter(qa){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){characterInForeignContent(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_CAPTION:case InsertionMode.IN_CELL:case InsertionMode.IN_TEMPLATE:{characterInBody(this,qa);break}case InsertionMode.TEXT:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:{this._insertCharacters(qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{characterInTableText(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{tokenInColumnGroup(this,qa);break}case InsertionMode.AFTER_BODY:{tokenAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onNullCharacter(qa){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){nullCharacterInForeignContent(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.TEXT:{this._insertCharacters(qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{tokenInColumnGroup(this,qa);break}case InsertionMode.AFTER_BODY:{tokenAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onComment(qa){if(this.skipNextNewLine=!1,this.currentNotInHTML){appendComment(this,qa);return}switch(this.insertionMode){case InsertionMode.INITIAL:case InsertionMode.BEFORE_HTML:case InsertionMode.BEFORE_HEAD:case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:case InsertionMode.IN_BODY:case InsertionMode.IN_TABLE:case InsertionMode.IN_CAPTION:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:case InsertionMode.IN_CELL:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:case InsertionMode.IN_TEMPLATE:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:{appendComment(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.AFTER_BODY:{appendCommentToRootHtmlElement(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{appendCommentToDocument(this,qa);break}}}onDoctype(qa){switch(this.skipNextNewLine=!1,this.insertionMode){case InsertionMode.INITIAL:{doctypeInInitialMode(this,qa);break}case InsertionMode.BEFORE_HEAD:case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:{this._err(qa,ERR.misplacedDoctype);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}}}onStartTag(qa){this.skipNextNewLine=!1,this.currentToken=qa,this._processStartTag(qa),qa.selfClosing&&!qa.ackSelfClosing&&this._err(qa,ERR.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(qa){this.shouldProcessStartTagTokenInForeignContent(qa)?startTagInForeignContent(this,qa):this._startTagOutsideForeignContent(qa)}_startTagOutsideForeignContent(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{startTagBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{startTagBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{startTagInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{startTagInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{startTagAfterHead(this,qa);break}case InsertionMode.IN_BODY:{startTagInBody(this,qa);break}case InsertionMode.IN_TABLE:{startTagInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_CAPTION:{startTagInCaption(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{startTagInColumnGroup(this,qa);break}case InsertionMode.IN_TABLE_BODY:{startTagInTableBody(this,qa);break}case InsertionMode.IN_ROW:{startTagInRow(this,qa);break}case InsertionMode.IN_CELL:{startTagInCell(this,qa);break}case InsertionMode.IN_SELECT:{startTagInSelect(this,qa);break}case InsertionMode.IN_SELECT_IN_TABLE:{startTagInSelectInTable(this,qa);break}case InsertionMode.IN_TEMPLATE:{startTagInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:{startTagAfterBody(this,qa);break}case InsertionMode.IN_FRAMESET:{startTagInFrameset(this,qa);break}case InsertionMode.AFTER_FRAMESET:{startTagAfterFrameset(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{startTagAfterAfterBody(this,qa);break}case InsertionMode.AFTER_AFTER_FRAMESET:{startTagAfterAfterFrameset(this,qa);break}}}onEndTag(qa){this.skipNextNewLine=!1,this.currentToken=qa,this.currentNotInHTML?endTagInForeignContent(this,qa):this._endTagOutsideForeignContent(qa)}_endTagOutsideForeignContent(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{endTagBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{endTagBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{endTagInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{endTagInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{endTagAfterHead(this,qa);break}case InsertionMode.IN_BODY:{endTagInBody(this,qa);break}case InsertionMode.TEXT:{endTagInText(this,qa);break}case InsertionMode.IN_TABLE:{endTagInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_CAPTION:{endTagInCaption(this,qa);break}case InsertionMode.IN_COLUMN_GROUP:{endTagInColumnGroup(this,qa);break}case InsertionMode.IN_TABLE_BODY:{endTagInTableBody(this,qa);break}case InsertionMode.IN_ROW:{endTagInRow(this,qa);break}case InsertionMode.IN_CELL:{endTagInCell(this,qa);break}case InsertionMode.IN_SELECT:{endTagInSelect(this,qa);break}case InsertionMode.IN_SELECT_IN_TABLE:{endTagInSelectInTable(this,qa);break}case InsertionMode.IN_TEMPLATE:{endTagInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:{endTagAfterBody(this,qa);break}case InsertionMode.IN_FRAMESET:{endTagInFrameset(this,qa);break}case InsertionMode.AFTER_FRAMESET:{endTagAfterFrameset(this,qa);break}case InsertionMode.AFTER_AFTER_BODY:{tokenAfterAfterBody(this,qa);break}}}onEof(qa){switch(this.insertionMode){case InsertionMode.INITIAL:{tokenInInitialMode(this,qa);break}case InsertionMode.BEFORE_HTML:{tokenBeforeHtml(this,qa);break}case InsertionMode.BEFORE_HEAD:{tokenBeforeHead(this,qa);break}case InsertionMode.IN_HEAD:{tokenInHead(this,qa);break}case InsertionMode.IN_HEAD_NO_SCRIPT:{tokenInHeadNoScript(this,qa);break}case InsertionMode.AFTER_HEAD:{tokenAfterHead(this,qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_TABLE:case InsertionMode.IN_CAPTION:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:case InsertionMode.IN_CELL:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:{eofInBody(this,qa);break}case InsertionMode.TEXT:{eofInText(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{tokenInTableText(this,qa);break}case InsertionMode.IN_TEMPLATE:{eofInTemplate(this,qa);break}case InsertionMode.AFTER_BODY:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{stopParsing(this,qa);break}}}onWhitespaceCharacter(qa){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,qa.chars.charCodeAt(0)===CODE_POINTS.LINE_FEED)){if(qa.chars.length===1)return;qa.chars=qa.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(qa);return}switch(this.insertionMode){case InsertionMode.IN_HEAD:case InsertionMode.IN_HEAD_NO_SCRIPT:case InsertionMode.AFTER_HEAD:case InsertionMode.TEXT:case InsertionMode.IN_COLUMN_GROUP:case InsertionMode.IN_SELECT:case InsertionMode.IN_SELECT_IN_TABLE:case InsertionMode.IN_FRAMESET:case InsertionMode.AFTER_FRAMESET:{this._insertCharacters(qa);break}case InsertionMode.IN_BODY:case InsertionMode.IN_CAPTION:case InsertionMode.IN_CELL:case InsertionMode.IN_TEMPLATE:case InsertionMode.AFTER_BODY:case InsertionMode.AFTER_AFTER_BODY:case InsertionMode.AFTER_AFTER_FRAMESET:{whitespaceCharacterInBody(this,qa);break}case InsertionMode.IN_TABLE:case InsertionMode.IN_TABLE_BODY:case InsertionMode.IN_ROW:{characterInTable(this,qa);break}case InsertionMode.IN_TABLE_TEXT:{whitespaceCharacterInTableText(this,qa);break}}}};function aaObtainFormattingElementEntry(Ra,qa){let nd=Ra.activeFormattingElements.getElementEntryInScopeWithTagName(qa.tagName);return nd?Ra.openElements.contains(nd.element)?Ra.openElements.hasInScope(qa.tagID)||(nd=null):(Ra.activeFormattingElements.removeEntry(nd),nd=null):genericEndTagInBody(Ra,qa),nd}function aaObtainFurthestBlock(Ra,qa){let nd=null,od=Ra.openElements.stackTop;for(;od>=0;od--){const ld=Ra.openElements.items[od];if(ld===qa.element)break;Ra._isSpecialElement(ld,Ra.openElements.tagIDs[od])&&(nd=ld)}return nd||(Ra.openElements.shortenToLength(od<0?0:od),Ra.activeFormattingElements.removeEntry(qa)),nd}function aaInnerLoop(Ra,qa,nd){let od=qa,ld=Ra.openElements.getCommonAncestor(qa);for(let ud=0,cd=ld;cd!==nd;ud++,cd=ld){ld=Ra.openElements.getCommonAncestor(cd);const dd=Ra.activeFormattingElements.getElementEntry(cd),pd=dd&&ud>=AA_INNER_LOOP_ITER;!dd||pd?(pd&&Ra.activeFormattingElements.removeEntry(dd),Ra.openElements.remove(cd)):(cd=aaRecreateElementFromEntry(Ra,dd),od===qa&&(Ra.activeFormattingElements.bookmark=dd),Ra.treeAdapter.detachNode(od),Ra.treeAdapter.appendChild(cd,od),od=cd)}return od}function aaRecreateElementFromEntry(Ra,qa){const nd=Ra.treeAdapter.getNamespaceURI(qa.element),od=Ra.treeAdapter.createElement(qa.token.tagName,nd,qa.token.attrs);return Ra.openElements.replace(qa.element,od),qa.element=od,od}function aaInsertLastNodeInCommonAncestor(Ra,qa,nd){const od=Ra.treeAdapter.getTagName(qa),ld=getTagID(od);if(Ra._isElementCausesFosterParenting(ld))Ra._fosterParentElement(nd);else{const ud=Ra.treeAdapter.getNamespaceURI(qa);ld===TAG_ID.TEMPLATE&&ud===NS.HTML&&(qa=Ra.treeAdapter.getTemplateContent(qa)),Ra.treeAdapter.appendChild(qa,nd)}}function aaReplaceFormattingElement(Ra,qa,nd){const od=Ra.treeAdapter.getNamespaceURI(nd.element),{token:ld}=nd,ud=Ra.treeAdapter.createElement(ld.tagName,od,ld.attrs);Ra._adoptNodes(qa,ud),Ra.treeAdapter.appendChild(qa,ud),Ra.activeFormattingElements.insertElementAfterBookmark(ud,ld),Ra.activeFormattingElements.removeEntry(nd),Ra.openElements.remove(nd.element),Ra.openElements.insertAfter(qa,ud,ld.tagID)}function callAdoptionAgency(Ra,qa){for(let nd=0;nd=nd;od--)Ra._setEndLocation(Ra.openElements.items[od],qa);if(!Ra.fragmentContext&&Ra.openElements.stackTop>=0){const od=Ra.openElements.items[0],ld=Ra.treeAdapter.getNodeSourceCodeLocation(od);if(ld&&!ld.endTag&&(Ra._setEndLocation(od,qa),Ra.openElements.stackTop>=1)){const ud=Ra.openElements.items[1],cd=Ra.treeAdapter.getNodeSourceCodeLocation(ud);cd&&!cd.endTag&&Ra._setEndLocation(ud,qa)}}}}function doctypeInInitialMode(Ra,qa){Ra._setDocumentType(qa);const nd=qa.forceQuirks?DOCUMENT_MODE.QUIRKS:getDocumentMode(qa);isConforming(qa)||Ra._err(qa,ERR.nonConformingDoctype),Ra.treeAdapter.setDocumentMode(Ra.document,nd),Ra.insertionMode=InsertionMode.BEFORE_HTML}function tokenInInitialMode(Ra,qa){Ra._err(qa,ERR.missingDoctype,!0),Ra.treeAdapter.setDocumentMode(Ra.document,DOCUMENT_MODE.QUIRKS),Ra.insertionMode=InsertionMode.BEFORE_HTML,Ra._processToken(qa)}function startTagBeforeHtml(Ra,qa){qa.tagID===TAG_ID.HTML?(Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.BEFORE_HEAD):tokenBeforeHtml(Ra,qa)}function endTagBeforeHtml(Ra,qa){const nd=qa.tagID;(nd===TAG_ID.HTML||nd===TAG_ID.HEAD||nd===TAG_ID.BODY||nd===TAG_ID.BR)&&tokenBeforeHtml(Ra,qa)}function tokenBeforeHtml(Ra,qa){Ra._insertFakeRootElement(),Ra.insertionMode=InsertionMode.BEFORE_HEAD,Ra._processToken(qa)}function startTagBeforeHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.HEAD:{Ra._insertElement(qa,NS.HTML),Ra.headElement=Ra.openElements.current,Ra.insertionMode=InsertionMode.IN_HEAD;break}default:tokenBeforeHead(Ra,qa)}}function endTagBeforeHead(Ra,qa){const nd=qa.tagID;nd===TAG_ID.HEAD||nd===TAG_ID.BODY||nd===TAG_ID.HTML||nd===TAG_ID.BR?tokenBeforeHead(Ra,qa):Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}function tokenBeforeHead(Ra,qa){Ra._insertFakeElement(TAG_NAMES.HEAD,TAG_ID.HEAD),Ra.headElement=Ra.openElements.current,Ra.insertionMode=InsertionMode.IN_HEAD,Ra._processToken(qa)}function startTagInHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:{Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0;break}case TAG_ID.TITLE:{Ra._switchToTextParsing(qa,TokenizerMode.RCDATA);break}case TAG_ID.NOSCRIPT:{Ra.options.scriptingEnabled?Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT):(Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_HEAD_NO_SCRIPT);break}case TAG_ID.NOFRAMES:case TAG_ID.STYLE:{Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT);break}case TAG_ID.SCRIPT:{Ra._switchToTextParsing(qa,TokenizerMode.SCRIPT_DATA);break}case TAG_ID.TEMPLATE:{Ra._insertTemplate(qa),Ra.activeFormattingElements.insertMarker(),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_TEMPLATE,Ra.tmplInsertionModeStack.unshift(InsertionMode.IN_TEMPLATE);break}case TAG_ID.HEAD:{Ra._err(qa,ERR.misplacedStartTagForHeadElement);break}default:tokenInHead(Ra,qa)}}function endTagInHead(Ra,qa){switch(qa.tagID){case TAG_ID.HEAD:{Ra.openElements.pop(),Ra.insertionMode=InsertionMode.AFTER_HEAD;break}case TAG_ID.BODY:case TAG_ID.BR:case TAG_ID.HTML:{tokenInHead(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function templateEndTagInHead(Ra,qa){Ra.openElements.tmplCount>0?(Ra.openElements.generateImpliedEndTagsThoroughly(),Ra.openElements.currentTagId!==TAG_ID.TEMPLATE&&Ra._err(qa,ERR.closingOfElementWithOpenChildElements),Ra.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE),Ra.activeFormattingElements.clearToLastMarker(),Ra.tmplInsertionModeStack.shift(),Ra._resetInsertionMode()):Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}function tokenInHead(Ra,qa){Ra.openElements.pop(),Ra.insertionMode=InsertionMode.AFTER_HEAD,Ra._processToken(qa)}function startTagInHeadNoScript(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.HEAD:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.STYLE:{startTagInHead(Ra,qa);break}case TAG_ID.NOSCRIPT:{Ra._err(qa,ERR.nestedNoscriptInHead);break}default:tokenInHeadNoScript(Ra,qa)}}function endTagInHeadNoScript(Ra,qa){switch(qa.tagID){case TAG_ID.NOSCRIPT:{Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_HEAD;break}case TAG_ID.BR:{tokenInHeadNoScript(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function tokenInHeadNoScript(Ra,qa){const nd=qa.type===TokenType.EOF?ERR.openElementsLeftAfterEof:ERR.disallowedContentInNoscriptInHead;Ra._err(qa,nd),Ra.openElements.pop(),Ra.insertionMode=InsertionMode.IN_HEAD,Ra._processToken(qa)}function startTagAfterHead(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.BODY:{Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_BODY;break}case TAG_ID.FRAMESET:{Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_FRAMESET;break}case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.SCRIPT:case TAG_ID.STYLE:case TAG_ID.TEMPLATE:case TAG_ID.TITLE:{Ra._err(qa,ERR.abandonedHeadElementChild),Ra.openElements.push(Ra.headElement,TAG_ID.HEAD),startTagInHead(Ra,qa),Ra.openElements.remove(Ra.headElement);break}case TAG_ID.HEAD:{Ra._err(qa,ERR.misplacedStartTagForHeadElement);break}default:tokenAfterHead(Ra,qa)}}function endTagAfterHead(Ra,qa){switch(qa.tagID){case TAG_ID.BODY:case TAG_ID.HTML:case TAG_ID.BR:{tokenAfterHead(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:Ra._err(qa,ERR.endTagWithoutMatchingOpenElement)}}function tokenAfterHead(Ra,qa){Ra._insertFakeElement(TAG_NAMES.BODY,TAG_ID.BODY),Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function modeInBody(Ra,qa){switch(qa.type){case TokenType.CHARACTER:{characterInBody(Ra,qa);break}case TokenType.WHITESPACE_CHARACTER:{whitespaceCharacterInBody(Ra,qa);break}case TokenType.COMMENT:{appendComment(Ra,qa);break}case TokenType.START_TAG:{startTagInBody(Ra,qa);break}case TokenType.END_TAG:{endTagInBody(Ra,qa);break}case TokenType.EOF:{eofInBody(Ra,qa);break}}}function whitespaceCharacterInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertCharacters(qa)}function characterInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertCharacters(qa),Ra.framesetOk=!1}function htmlStartTagInBody(Ra,qa){Ra.openElements.tmplCount===0&&Ra.treeAdapter.adoptAttributes(Ra.openElements.items[0],qa.attrs)}function bodyStartTagInBody(Ra,qa){const nd=Ra.openElements.tryPeekProperlyNestedBodyElement();nd&&Ra.openElements.tmplCount===0&&(Ra.framesetOk=!1,Ra.treeAdapter.adoptAttributes(nd,qa.attrs))}function framesetStartTagInBody(Ra,qa){const nd=Ra.openElements.tryPeekProperlyNestedBodyElement();Ra.framesetOk&&nd&&(Ra.treeAdapter.detachNode(nd),Ra.openElements.popAllUpToHtmlElement(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_FRAMESET)}function addressStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML)}function numberedHeaderStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),NUMBERED_HEADERS.has(Ra.openElements.currentTagId)&&Ra.openElements.pop(),Ra._insertElement(qa,NS.HTML)}function preStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.skipNextNewLine=!0,Ra.framesetOk=!1}function formStartTagInBody(Ra,qa){const nd=Ra.openElements.tmplCount>0;(!Ra.formElement||nd)&&(Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),nd||(Ra.formElement=Ra.openElements.current))}function listItemStartTagInBody(Ra,qa){Ra.framesetOk=!1;const nd=qa.tagID;for(let od=Ra.openElements.stackTop;od>=0;od--){const ld=Ra.openElements.tagIDs[od];if(nd===TAG_ID.LI&&ld===TAG_ID.LI||(nd===TAG_ID.DD||nd===TAG_ID.DT)&&(ld===TAG_ID.DD||ld===TAG_ID.DT)){Ra.openElements.generateImpliedEndTagsWithExclusion(ld),Ra.openElements.popUntilTagNamePopped(ld);break}if(ld!==TAG_ID.ADDRESS&&ld!==TAG_ID.DIV&&ld!==TAG_ID.P&&Ra._isSpecialElement(Ra.openElements.items[od],ld))break}Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML)}function plaintextStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.tokenizer.state=TokenizerMode.PLAINTEXT}function buttonStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.BUTTON)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(TAG_ID.BUTTON)),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1}function aStartTagInBody(Ra,qa){const nd=Ra.activeFormattingElements.getElementEntryInScopeWithTagName(TAG_NAMES.A);nd&&(callAdoptionAgency(Ra,qa),Ra.openElements.remove(nd.element),Ra.activeFormattingElements.removeEntry(nd)),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function bStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function nobrStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra.openElements.hasInScope(TAG_ID.NOBR)&&(callAdoptionAgency(Ra,qa),Ra._reconstructActiveFormattingElements()),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.pushElement(Ra.openElements.current,qa)}function appletStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.activeFormattingElements.insertMarker(),Ra.framesetOk=!1}function tableStartTagInBody(Ra,qa){Ra.treeAdapter.getDocumentMode(Ra.document)!==DOCUMENT_MODE.QUIRKS&&Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.IN_TABLE}function areaStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._appendElement(qa,NS.HTML),Ra.framesetOk=!1,qa.ackSelfClosing=!0}function isHiddenInput(Ra){const qa=getTokenAttr(Ra,ATTRS.TYPE);return qa!=null&&qa.toLowerCase()===HIDDEN_INPUT_TYPE}function inputStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._appendElement(qa,NS.HTML),isHiddenInput(qa)||(Ra.framesetOk=!1),qa.ackSelfClosing=!0}function paramStartTagInBody(Ra,qa){Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0}function hrStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._appendElement(qa,NS.HTML),Ra.framesetOk=!1,qa.ackSelfClosing=!0}function imageStartTagInBody(Ra,qa){qa.tagName=TAG_NAMES.IMG,qa.tagID=TAG_ID.IMG,areaStartTagInBody(Ra,qa)}function textareaStartTagInBody(Ra,qa){Ra._insertElement(qa,NS.HTML),Ra.skipNextNewLine=!0,Ra.tokenizer.state=TokenizerMode.RCDATA,Ra.originalInsertionMode=Ra.insertionMode,Ra.framesetOk=!1,Ra.insertionMode=InsertionMode.TEXT}function xmpStartTagInBody(Ra,qa){Ra.openElements.hasInButtonScope(TAG_ID.P)&&Ra._closePElement(),Ra._reconstructActiveFormattingElements(),Ra.framesetOk=!1,Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function iframeStartTagInBody(Ra,qa){Ra.framesetOk=!1,Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function rawTextStartTagInBody(Ra,qa){Ra._switchToTextParsing(qa,TokenizerMode.RAWTEXT)}function selectStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML),Ra.framesetOk=!1,Ra.insertionMode=Ra.insertionMode===InsertionMode.IN_TABLE||Ra.insertionMode===InsertionMode.IN_CAPTION||Ra.insertionMode===InsertionMode.IN_TABLE_BODY||Ra.insertionMode===InsertionMode.IN_ROW||Ra.insertionMode===InsertionMode.IN_CELL?InsertionMode.IN_SELECT_IN_TABLE:InsertionMode.IN_SELECT}function optgroupStartTagInBody(Ra,qa){Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.pop(),Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML)}function rbStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.RUBY)&&Ra.openElements.generateImpliedEndTags(),Ra._insertElement(qa,NS.HTML)}function rtStartTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.RUBY)&&Ra.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.RTC),Ra._insertElement(qa,NS.HTML)}function mathStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),adjustTokenMathMLAttrs(qa),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,NS.MATHML):Ra._insertElement(qa,NS.MATHML),qa.ackSelfClosing=!0}function svgStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),adjustTokenSVGAttrs(qa),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,NS.SVG):Ra._insertElement(qa,NS.SVG),qa.ackSelfClosing=!0}function genericStartTagInBody(Ra,qa){Ra._reconstructActiveFormattingElements(),Ra._insertElement(qa,NS.HTML)}function startTagInBody(Ra,qa){switch(qa.tagID){case TAG_ID.I:case TAG_ID.S:case TAG_ID.B:case TAG_ID.U:case TAG_ID.EM:case TAG_ID.TT:case TAG_ID.BIG:case TAG_ID.CODE:case TAG_ID.FONT:case TAG_ID.SMALL:case TAG_ID.STRIKE:case TAG_ID.STRONG:{bStartTagInBody(Ra,qa);break}case TAG_ID.A:{aStartTagInBody(Ra,qa);break}case TAG_ID.H1:case TAG_ID.H2:case TAG_ID.H3:case TAG_ID.H4:case TAG_ID.H5:case TAG_ID.H6:{numberedHeaderStartTagInBody(Ra,qa);break}case TAG_ID.P:case TAG_ID.DL:case TAG_ID.OL:case TAG_ID.UL:case TAG_ID.DIV:case TAG_ID.DIR:case TAG_ID.NAV:case TAG_ID.MAIN:case TAG_ID.MENU:case TAG_ID.ASIDE:case TAG_ID.CENTER:case TAG_ID.FIGURE:case TAG_ID.FOOTER:case TAG_ID.HEADER:case TAG_ID.HGROUP:case TAG_ID.DIALOG:case TAG_ID.DETAILS:case TAG_ID.ADDRESS:case TAG_ID.ARTICLE:case TAG_ID.SEARCH:case TAG_ID.SECTION:case TAG_ID.SUMMARY:case TAG_ID.FIELDSET:case TAG_ID.BLOCKQUOTE:case TAG_ID.FIGCAPTION:{addressStartTagInBody(Ra,qa);break}case TAG_ID.LI:case TAG_ID.DD:case TAG_ID.DT:{listItemStartTagInBody(Ra,qa);break}case TAG_ID.BR:case TAG_ID.IMG:case TAG_ID.WBR:case TAG_ID.AREA:case TAG_ID.EMBED:case TAG_ID.KEYGEN:{areaStartTagInBody(Ra,qa);break}case TAG_ID.HR:{hrStartTagInBody(Ra,qa);break}case TAG_ID.RB:case TAG_ID.RTC:{rbStartTagInBody(Ra,qa);break}case TAG_ID.RT:case TAG_ID.RP:{rtStartTagInBody(Ra,qa);break}case TAG_ID.PRE:case TAG_ID.LISTING:{preStartTagInBody(Ra,qa);break}case TAG_ID.XMP:{xmpStartTagInBody(Ra,qa);break}case TAG_ID.SVG:{svgStartTagInBody(Ra,qa);break}case TAG_ID.HTML:{htmlStartTagInBody(Ra,qa);break}case TAG_ID.BASE:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.STYLE:case TAG_ID.TITLE:case TAG_ID.SCRIPT:case TAG_ID.BGSOUND:case TAG_ID.BASEFONT:case TAG_ID.TEMPLATE:{startTagInHead(Ra,qa);break}case TAG_ID.BODY:{bodyStartTagInBody(Ra,qa);break}case TAG_ID.FORM:{formStartTagInBody(Ra,qa);break}case TAG_ID.NOBR:{nobrStartTagInBody(Ra,qa);break}case TAG_ID.MATH:{mathStartTagInBody(Ra,qa);break}case TAG_ID.TABLE:{tableStartTagInBody(Ra,qa);break}case TAG_ID.INPUT:{inputStartTagInBody(Ra,qa);break}case TAG_ID.PARAM:case TAG_ID.TRACK:case TAG_ID.SOURCE:{paramStartTagInBody(Ra,qa);break}case TAG_ID.IMAGE:{imageStartTagInBody(Ra,qa);break}case TAG_ID.BUTTON:{buttonStartTagInBody(Ra,qa);break}case TAG_ID.APPLET:case TAG_ID.OBJECT:case TAG_ID.MARQUEE:{appletStartTagInBody(Ra,qa);break}case TAG_ID.IFRAME:{iframeStartTagInBody(Ra,qa);break}case TAG_ID.SELECT:{selectStartTagInBody(Ra,qa);break}case TAG_ID.OPTION:case TAG_ID.OPTGROUP:{optgroupStartTagInBody(Ra,qa);break}case TAG_ID.NOEMBED:case TAG_ID.NOFRAMES:{rawTextStartTagInBody(Ra,qa);break}case TAG_ID.FRAMESET:{framesetStartTagInBody(Ra,qa);break}case TAG_ID.TEXTAREA:{textareaStartTagInBody(Ra,qa);break}case TAG_ID.NOSCRIPT:{Ra.options.scriptingEnabled?rawTextStartTagInBody(Ra,qa):genericStartTagInBody(Ra,qa);break}case TAG_ID.PLAINTEXT:{plaintextStartTagInBody(Ra,qa);break}case TAG_ID.COL:case TAG_ID.TH:case TAG_ID.TD:case TAG_ID.TR:case TAG_ID.HEAD:case TAG_ID.FRAME:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:case TAG_ID.CAPTION:case TAG_ID.COLGROUP:break;default:genericStartTagInBody(Ra,qa)}}function bodyEndTagInBody(Ra,qa){if(Ra.openElements.hasInScope(TAG_ID.BODY)&&(Ra.insertionMode=InsertionMode.AFTER_BODY,Ra.options.sourceCodeLocationInfo)){const nd=Ra.openElements.tryPeekProperlyNestedBodyElement();nd&&Ra._setEndLocation(nd,qa)}}function htmlEndTagInBody(Ra,qa){Ra.openElements.hasInScope(TAG_ID.BODY)&&(Ra.insertionMode=InsertionMode.AFTER_BODY,endTagAfterBody(Ra,qa))}function addressEndTagInBody(Ra,qa){const nd=qa.tagID;Ra.openElements.hasInScope(nd)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(nd))}function formEndTagInBody(Ra){const qa=Ra.openElements.tmplCount>0,{formElement:nd}=Ra;qa||(Ra.formElement=null),(nd||qa)&&Ra.openElements.hasInScope(TAG_ID.FORM)&&(Ra.openElements.generateImpliedEndTags(),qa?Ra.openElements.popUntilTagNamePopped(TAG_ID.FORM):nd&&Ra.openElements.remove(nd))}function pEndTagInBody(Ra){Ra.openElements.hasInButtonScope(TAG_ID.P)||Ra._insertFakeElement(TAG_NAMES.P,TAG_ID.P),Ra._closePElement()}function liEndTagInBody(Ra){Ra.openElements.hasInListItemScope(TAG_ID.LI)&&(Ra.openElements.generateImpliedEndTagsWithExclusion(TAG_ID.LI),Ra.openElements.popUntilTagNamePopped(TAG_ID.LI))}function ddEndTagInBody(Ra,qa){const nd=qa.tagID;Ra.openElements.hasInScope(nd)&&(Ra.openElements.generateImpliedEndTagsWithExclusion(nd),Ra.openElements.popUntilTagNamePopped(nd))}function numberedHeaderEndTagInBody(Ra){Ra.openElements.hasNumberedHeaderInScope()&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilNumberedHeaderPopped())}function appletEndTagInBody(Ra,qa){const nd=qa.tagID;Ra.openElements.hasInScope(nd)&&(Ra.openElements.generateImpliedEndTags(),Ra.openElements.popUntilTagNamePopped(nd),Ra.activeFormattingElements.clearToLastMarker())}function brEndTagInBody(Ra){Ra._reconstructActiveFormattingElements(),Ra._insertFakeElement(TAG_NAMES.BR,TAG_ID.BR),Ra.openElements.pop(),Ra.framesetOk=!1}function genericEndTagInBody(Ra,qa){const nd=qa.tagName,od=qa.tagID;for(let ld=Ra.openElements.stackTop;ld>0;ld--){const ud=Ra.openElements.items[ld],cd=Ra.openElements.tagIDs[ld];if(od===cd&&(od!==TAG_ID.UNKNOWN||Ra.treeAdapter.getTagName(ud)===nd)){Ra.openElements.generateImpliedEndTagsWithExclusion(od),Ra.openElements.stackTop>=ld&&Ra.openElements.shortenToLength(ld);break}if(Ra._isSpecialElement(ud,cd))break}}function endTagInBody(Ra,qa){switch(qa.tagID){case TAG_ID.A:case TAG_ID.B:case TAG_ID.I:case TAG_ID.S:case TAG_ID.U:case TAG_ID.EM:case TAG_ID.TT:case TAG_ID.BIG:case TAG_ID.CODE:case TAG_ID.FONT:case TAG_ID.NOBR:case TAG_ID.SMALL:case TAG_ID.STRIKE:case TAG_ID.STRONG:{callAdoptionAgency(Ra,qa);break}case TAG_ID.P:{pEndTagInBody(Ra);break}case TAG_ID.DL:case TAG_ID.UL:case TAG_ID.OL:case TAG_ID.DIR:case TAG_ID.DIV:case TAG_ID.NAV:case TAG_ID.PRE:case TAG_ID.MAIN:case TAG_ID.MENU:case TAG_ID.ASIDE:case TAG_ID.BUTTON:case TAG_ID.CENTER:case TAG_ID.FIGURE:case TAG_ID.FOOTER:case TAG_ID.HEADER:case TAG_ID.HGROUP:case TAG_ID.DIALOG:case TAG_ID.ADDRESS:case TAG_ID.ARTICLE:case TAG_ID.DETAILS:case TAG_ID.SEARCH:case TAG_ID.SECTION:case TAG_ID.SUMMARY:case TAG_ID.LISTING:case TAG_ID.FIELDSET:case TAG_ID.BLOCKQUOTE:case TAG_ID.FIGCAPTION:{addressEndTagInBody(Ra,qa);break}case TAG_ID.LI:{liEndTagInBody(Ra);break}case TAG_ID.DD:case TAG_ID.DT:{ddEndTagInBody(Ra,qa);break}case TAG_ID.H1:case TAG_ID.H2:case TAG_ID.H3:case TAG_ID.H4:case TAG_ID.H5:case TAG_ID.H6:{numberedHeaderEndTagInBody(Ra);break}case TAG_ID.BR:{brEndTagInBody(Ra);break}case TAG_ID.BODY:{bodyEndTagInBody(Ra,qa);break}case TAG_ID.HTML:{htmlEndTagInBody(Ra,qa);break}case TAG_ID.FORM:{formEndTagInBody(Ra);break}case TAG_ID.APPLET:case TAG_ID.OBJECT:case TAG_ID.MARQUEE:{appletEndTagInBody(Ra,qa);break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}default:genericEndTagInBody(Ra,qa)}}function eofInBody(Ra,qa){Ra.tmplInsertionModeStack.length>0?eofInTemplate(Ra,qa):stopParsing(Ra,qa)}function endTagInText(Ra,qa){var nd;qa.tagID===TAG_ID.SCRIPT&&((nd=Ra.scriptHandler)===null||nd===void 0||nd.call(Ra,Ra.openElements.current)),Ra.openElements.pop(),Ra.insertionMode=Ra.originalInsertionMode}function eofInText(Ra,qa){Ra._err(qa,ERR.eofInElementThatCanContainOnlyText),Ra.openElements.pop(),Ra.insertionMode=Ra.originalInsertionMode,Ra.onEof(qa)}function characterInTable(Ra,qa){if(TABLE_STRUCTURE_TAGS.has(Ra.openElements.currentTagId))switch(Ra.pendingCharacterTokens.length=0,Ra.hasNonWhitespacePendingCharacterToken=!1,Ra.originalInsertionMode=Ra.insertionMode,Ra.insertionMode=InsertionMode.IN_TABLE_TEXT,qa.type){case TokenType.CHARACTER:{characterInTableText(Ra,qa);break}case TokenType.WHITESPACE_CHARACTER:{whitespaceCharacterInTableText(Ra,qa);break}}else tokenInTable(Ra,qa)}function captionStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra.activeFormattingElements.insertMarker(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_CAPTION}function colgroupStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP}function colStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertFakeElement(TAG_NAMES.COLGROUP,TAG_ID.COLGROUP),Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP,startTagInColumnGroup(Ra,qa)}function tbodyStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertElement(qa,NS.HTML),Ra.insertionMode=InsertionMode.IN_TABLE_BODY}function tdStartTagInTable(Ra,qa){Ra.openElements.clearBackToTableContext(),Ra._insertFakeElement(TAG_NAMES.TBODY,TAG_ID.TBODY),Ra.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(Ra,qa)}function tableStartTagInTable(Ra,qa){Ra.openElements.hasInTableScope(TAG_ID.TABLE)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.TABLE),Ra._resetInsertionMode(),Ra._processStartTag(qa))}function inputStartTagInTable(Ra,qa){isHiddenInput(qa)?Ra._appendElement(qa,NS.HTML):tokenInTable(Ra,qa),qa.ackSelfClosing=!0}function formStartTagInTable(Ra,qa){!Ra.formElement&&Ra.openElements.tmplCount===0&&(Ra._insertElement(qa,NS.HTML),Ra.formElement=Ra.openElements.current,Ra.openElements.pop())}function startTagInTable(Ra,qa){switch(qa.tagID){case TAG_ID.TD:case TAG_ID.TH:case TAG_ID.TR:{tdStartTagInTable(Ra,qa);break}case TAG_ID.STYLE:case TAG_ID.SCRIPT:case TAG_ID.TEMPLATE:{startTagInHead(Ra,qa);break}case TAG_ID.COL:{colStartTagInTable(Ra,qa);break}case TAG_ID.FORM:{formStartTagInTable(Ra,qa);break}case TAG_ID.TABLE:{tableStartTagInTable(Ra,qa);break}case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{tbodyStartTagInTable(Ra,qa);break}case TAG_ID.INPUT:{inputStartTagInTable(Ra,qa);break}case TAG_ID.CAPTION:{captionStartTagInTable(Ra,qa);break}case TAG_ID.COLGROUP:{colgroupStartTagInTable(Ra,qa);break}default:tokenInTable(Ra,qa)}}function endTagInTable(Ra,qa){switch(qa.tagID){case TAG_ID.TABLE:{Ra.openElements.hasInTableScope(TAG_ID.TABLE)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.TABLE),Ra._resetInsertionMode());break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}case TAG_ID.BODY:case TAG_ID.CAPTION:case TAG_ID.COL:case TAG_ID.COLGROUP:case TAG_ID.HTML:case TAG_ID.TBODY:case TAG_ID.TD:case TAG_ID.TFOOT:case TAG_ID.TH:case TAG_ID.THEAD:case TAG_ID.TR:break;default:tokenInTable(Ra,qa)}}function tokenInTable(Ra,qa){const nd=Ra.fosterParentingEnabled;Ra.fosterParentingEnabled=!0,modeInBody(Ra,qa),Ra.fosterParentingEnabled=nd}function whitespaceCharacterInTableText(Ra,qa){Ra.pendingCharacterTokens.push(qa)}function characterInTableText(Ra,qa){Ra.pendingCharacterTokens.push(qa),Ra.hasNonWhitespacePendingCharacterToken=!0}function tokenInTableText(Ra,qa){let nd=0;if(Ra.hasNonWhitespacePendingCharacterToken)for(;nd0&&Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.tagIDs[Ra.openElements.stackTop-1]===TAG_ID.OPTGROUP&&Ra.openElements.pop(),Ra.openElements.currentTagId===TAG_ID.OPTGROUP&&Ra.openElements.pop();break}case TAG_ID.OPTION:{Ra.openElements.currentTagId===TAG_ID.OPTION&&Ra.openElements.pop();break}case TAG_ID.SELECT:{Ra.openElements.hasInSelectScope(TAG_ID.SELECT)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode());break}case TAG_ID.TEMPLATE:{templateEndTagInHead(Ra,qa);break}}}function startTagInSelectInTable(Ra,qa){const nd=qa.tagID;nd===TAG_ID.CAPTION||nd===TAG_ID.TABLE||nd===TAG_ID.TBODY||nd===TAG_ID.TFOOT||nd===TAG_ID.THEAD||nd===TAG_ID.TR||nd===TAG_ID.TD||nd===TAG_ID.TH?(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode(),Ra._processStartTag(qa)):startTagInSelect(Ra,qa)}function endTagInSelectInTable(Ra,qa){const nd=qa.tagID;nd===TAG_ID.CAPTION||nd===TAG_ID.TABLE||nd===TAG_ID.TBODY||nd===TAG_ID.TFOOT||nd===TAG_ID.THEAD||nd===TAG_ID.TR||nd===TAG_ID.TD||nd===TAG_ID.TH?Ra.openElements.hasInTableScope(nd)&&(Ra.openElements.popUntilTagNamePopped(TAG_ID.SELECT),Ra._resetInsertionMode(),Ra.onEndTag(qa)):endTagInSelect(Ra,qa)}function startTagInTemplate(Ra,qa){switch(qa.tagID){case TAG_ID.BASE:case TAG_ID.BASEFONT:case TAG_ID.BGSOUND:case TAG_ID.LINK:case TAG_ID.META:case TAG_ID.NOFRAMES:case TAG_ID.SCRIPT:case TAG_ID.STYLE:case TAG_ID.TEMPLATE:case TAG_ID.TITLE:{startTagInHead(Ra,qa);break}case TAG_ID.CAPTION:case TAG_ID.COLGROUP:case TAG_ID.TBODY:case TAG_ID.TFOOT:case TAG_ID.THEAD:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_TABLE,Ra.insertionMode=InsertionMode.IN_TABLE,startTagInTable(Ra,qa);break}case TAG_ID.COL:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_COLUMN_GROUP,Ra.insertionMode=InsertionMode.IN_COLUMN_GROUP,startTagInColumnGroup(Ra,qa);break}case TAG_ID.TR:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_TABLE_BODY,Ra.insertionMode=InsertionMode.IN_TABLE_BODY,startTagInTableBody(Ra,qa);break}case TAG_ID.TD:case TAG_ID.TH:{Ra.tmplInsertionModeStack[0]=InsertionMode.IN_ROW,Ra.insertionMode=InsertionMode.IN_ROW,startTagInRow(Ra,qa);break}default:Ra.tmplInsertionModeStack[0]=InsertionMode.IN_BODY,Ra.insertionMode=InsertionMode.IN_BODY,startTagInBody(Ra,qa)}}function endTagInTemplate(Ra,qa){qa.tagID===TAG_ID.TEMPLATE&&templateEndTagInHead(Ra,qa)}function eofInTemplate(Ra,qa){Ra.openElements.tmplCount>0?(Ra.openElements.popUntilTagNamePopped(TAG_ID.TEMPLATE),Ra.activeFormattingElements.clearToLastMarker(),Ra.tmplInsertionModeStack.shift(),Ra._resetInsertionMode(),Ra.onEof(qa)):stopParsing(Ra,qa)}function startTagAfterBody(Ra,qa){qa.tagID===TAG_ID.HTML?startTagInBody(Ra,qa):tokenAfterBody(Ra,qa)}function endTagAfterBody(Ra,qa){var nd;if(qa.tagID===TAG_ID.HTML){if(Ra.fragmentContext||(Ra.insertionMode=InsertionMode.AFTER_AFTER_BODY),Ra.options.sourceCodeLocationInfo&&Ra.openElements.tagIDs[0]===TAG_ID.HTML){Ra._setEndLocation(Ra.openElements.items[0],qa);const od=Ra.openElements.items[1];od&&!(!((nd=Ra.treeAdapter.getNodeSourceCodeLocation(od))===null||nd===void 0)&&nd.endTag)&&Ra._setEndLocation(od,qa)}}else tokenAfterBody(Ra,qa)}function tokenAfterBody(Ra,qa){Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function startTagInFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.FRAMESET:{Ra._insertElement(qa,NS.HTML);break}case TAG_ID.FRAME:{Ra._appendElement(qa,NS.HTML),qa.ackSelfClosing=!0;break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function endTagInFrameset(Ra,qa){qa.tagID===TAG_ID.FRAMESET&&!Ra.openElements.isRootHtmlElementCurrent()&&(Ra.openElements.pop(),!Ra.fragmentContext&&Ra.openElements.currentTagId!==TAG_ID.FRAMESET&&(Ra.insertionMode=InsertionMode.AFTER_FRAMESET))}function startTagAfterFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function endTagAfterFrameset(Ra,qa){qa.tagID===TAG_ID.HTML&&(Ra.insertionMode=InsertionMode.AFTER_AFTER_FRAMESET)}function startTagAfterAfterBody(Ra,qa){qa.tagID===TAG_ID.HTML?startTagInBody(Ra,qa):tokenAfterAfterBody(Ra,qa)}function tokenAfterAfterBody(Ra,qa){Ra.insertionMode=InsertionMode.IN_BODY,modeInBody(Ra,qa)}function startTagAfterAfterFrameset(Ra,qa){switch(qa.tagID){case TAG_ID.HTML:{startTagInBody(Ra,qa);break}case TAG_ID.NOFRAMES:{startTagInHead(Ra,qa);break}}}function nullCharacterInForeignContent(Ra,qa){qa.chars=REPLACEMENT_CHARACTER,Ra._insertCharacters(qa)}function characterInForeignContent(Ra,qa){Ra._insertCharacters(qa),Ra.framesetOk=!1}function popUntilHtmlOrIntegrationPoint(Ra){for(;Ra.treeAdapter.getNamespaceURI(Ra.openElements.current)!==NS.HTML&&!Ra._isIntegrationPoint(Ra.openElements.currentTagId,Ra.openElements.current);)Ra.openElements.pop()}function startTagInForeignContent(Ra,qa){if(causesExit(qa))popUntilHtmlOrIntegrationPoint(Ra),Ra._startTagOutsideForeignContent(qa);else{const nd=Ra._getAdjustedCurrentElement(),od=Ra.treeAdapter.getNamespaceURI(nd);od===NS.MATHML?adjustTokenMathMLAttrs(qa):od===NS.SVG&&(adjustTokenSVGTagName(qa),adjustTokenSVGAttrs(qa)),adjustTokenXMLAttrs(qa),qa.selfClosing?Ra._appendElement(qa,od):Ra._insertElement(qa,od),qa.ackSelfClosing=!0}}function endTagInForeignContent(Ra,qa){if(qa.tagID===TAG_ID.P||qa.tagID===TAG_ID.BR){popUntilHtmlOrIntegrationPoint(Ra),Ra._endTagOutsideForeignContent(qa);return}for(let nd=Ra.openElements.stackTop;nd>0;nd--){const od=Ra.openElements.items[nd];if(Ra.treeAdapter.getNamespaceURI(od)===NS.HTML){Ra._endTagOutsideForeignContent(qa);break}const ld=Ra.treeAdapter.getTagName(od);if(ld.toLowerCase()===qa.tagName){qa.tagName=ld,Ra.openElements.shortenToLength(nd);break}}}const VOID_ELEMENTS=new Set([TAG_NAMES.AREA,TAG_NAMES.BASE,TAG_NAMES.BASEFONT,TAG_NAMES.BGSOUND,TAG_NAMES.BR,TAG_NAMES.COL,TAG_NAMES.EMBED,TAG_NAMES.FRAME,TAG_NAMES.HR,TAG_NAMES.IMG,TAG_NAMES.INPUT,TAG_NAMES.KEYGEN,TAG_NAMES.LINK,TAG_NAMES.META,TAG_NAMES.PARAM,TAG_NAMES.SOURCE,TAG_NAMES.TRACK,TAG_NAMES.WBR]);function isVoidElement(Ra,qa){return qa.treeAdapter.isElementNode(Ra)&&qa.treeAdapter.getNamespaceURI(Ra)===NS.HTML&&VOID_ELEMENTS.has(qa.treeAdapter.getTagName(Ra))}const defaultOpts={treeAdapter:defaultTreeAdapter,scriptingEnabled:!0};function serializeOuter(Ra,qa){const nd={...defaultOpts,...qa};return serializeNode(Ra,nd)}function serializeChildNodes(Ra,qa){let nd="";const od=qa.treeAdapter.isElementNode(Ra)&&qa.treeAdapter.getTagName(Ra)===TAG_NAMES.TEMPLATE&&qa.treeAdapter.getNamespaceURI(Ra)===NS.HTML?qa.treeAdapter.getTemplateContent(Ra):Ra,ld=qa.treeAdapter.getChildNodes(od);if(ld)for(const ud of ld)nd+=serializeNode(ud,qa);return nd}function serializeNode(Ra,qa){return qa.treeAdapter.isElementNode(Ra)?serializeElement(Ra,qa):qa.treeAdapter.isTextNode(Ra)?serializeTextNode(Ra,qa):qa.treeAdapter.isCommentNode(Ra)?serializeCommentNode(Ra,qa):qa.treeAdapter.isDocumentTypeNode(Ra)?serializeDocumentTypeNode(Ra,qa):""}function serializeElement(Ra,qa){const nd=qa.treeAdapter.getTagName(Ra);return`<${nd}${serializeAttributes(Ra,qa)}>${isVoidElement(Ra,qa)?"":`${serializeChildNodes(Ra,qa)}`}`}function serializeAttributes(Ra,{treeAdapter:qa}){let nd="";for(const od of qa.getAttrList(Ra)){if(nd+=" ",od.namespace)switch(od.namespace){case NS.XML:{nd+=`xml:${od.name}`;break}case NS.XMLNS:{od.name!=="xmlns"&&(nd+="xmlns:"),nd+=od.name;break}case NS.XLINK:{nd+=`xlink:${od.name}`;break}default:nd+=`${od.prefix}:${od.name}`}else nd+=od.name;nd+=`="${escapeAttribute(od.value)}"`}return nd}function serializeTextNode(Ra,qa){const{treeAdapter:nd}=qa,od=nd.getTextNodeContent(Ra),ld=nd.getParentNode(Ra),ud=ld&&nd.isElementNode(ld)&&nd.getTagName(ld);return ud&&nd.getNamespaceURI(ld)===NS.HTML&&hasUnescapedText(ud,qa.scriptingEnabled)?od:escapeText(od)}function serializeCommentNode(Ra,{treeAdapter:qa}){return``}function serializeDocumentTypeNode(Ra,{treeAdapter:qa}){return``}function parse$4(Ra,qa){return Parser$1.parse(Ra,qa)}function parseFragment(Ra,qa,nd){typeof Ra=="string"&&(nd=qa,qa=Ra,Ra=null);const od=Parser$1.getFragmentParser(Ra,nd);return od.tokenizer.write(qa,!0),od.getFragment()}function enquoteDoctypeId(Ra){const qa=Ra.includes('"')?"'":'"';return qa+Ra+qa}function serializeDoctypeContent(Ra,qa,nd){let od="!DOCTYPE ";return Ra&&(od+=Ra),qa?od+=` PUBLIC ${enquoteDoctypeId(qa)}`:nd&&(od+=" SYSTEM"),nd&&(od+=` ${enquoteDoctypeId(nd)}`),od}const adapter={isCommentNode:isComment$1,isElementNode:isTag,isTextNode:isText,createDocument(){const Ra=new Document([]);return Ra["x-mode"]=DOCUMENT_MODE.NO_QUIRKS,Ra},createDocumentFragment(){return new Document([])},createElement(Ra,qa,nd){const od=Object.create(null),ld=Object.create(null),ud=Object.create(null);for(let dd=0;ddisDirective(cd)&&cd.name==="!doctype");ud?ud.data=ld??null:(ud=new ProcessingInstruction("!doctype",ld),adapter.appendChild(Ra,ud)),ud["x-name"]=qa,ud["x-publicId"]=nd,ud["x-systemId"]=od},setDocumentMode(Ra,qa){Ra["x-mode"]=qa},getDocumentMode(Ra){return Ra["x-mode"]},detachNode(Ra){if(Ra.parent){const qa=Ra.parent.children.indexOf(Ra),{prev:nd,next:od}=Ra;Ra.prev=null,Ra.next=null,nd&&(nd.next=od),od&&(od.prev=nd),Ra.parent.children.splice(qa,1),Ra.parent=null}},insertText(Ra,qa){const nd=Ra.children[Ra.children.length-1];nd&&isText(nd)?nd.data+=qa:adapter.appendChild(Ra,adapter.createTextNode(qa))},insertTextBefore(Ra,qa,nd){const od=Ra.children[Ra.children.indexOf(nd)-1];od&&isText(od)?od.data+=qa:adapter.insertBefore(Ra,adapter.createTextNode(qa),nd)},adoptAttributes(Ra,qa){for(let nd=0;nd=CharCodes.LowerA&&Ra<=CharCodes.LowerZ||Ra>=CharCodes.UpperA&&Ra<=CharCodes.UpperZ}var QuoteType;(function(Ra){Ra[Ra.NoValue=0]="NoValue",Ra[Ra.Unquoted=1]="Unquoted",Ra[Ra.Single=2]="Single",Ra[Ra.Double=3]="Double"})(QuoteType||(QuoteType={}));const Sequences={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class Tokenizer{constructor({xmlMode:qa=!1,decodeEntities:nd=!0},od){this.cbs=od,this.state=State$2.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=State$2.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=qa,this.decodeEntities=nd,this.entityDecoder=new EntityDecoder(qa?xmlDecodeTree:htmlDecodeTree,(ld,ud)=>this.emitCodePoint(ld,ud))}reset(){this.state=State$2.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=State$2.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(qa){this.offset+=this.buffer.length,this.buffer=qa,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=State$2.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&qa===CharCodes.Amp&&this.startEntity()}stateSpecialStartSequence(qa){const nd=this.sequenceIndex===this.currentSequence.length;if(!(nd?isEndOfTagSection(qa):(qa|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!nd){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=State$2.InTagName,this.stateInTagName(qa)}stateInSpecialTag(qa){if(this.sequenceIndex===this.currentSequence.length){if(qa===CharCodes.Gt||isWhitespace$1(qa)){const nd=this.index-this.currentSequence.length;if(this.sectionStart=0?(this.state=this.baseState,qa===0&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===State$2.Text||this.state===State$2.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===State$2.InAttributeValueDq||this.state===State$2.InAttributeValueSq||this.state===State$2.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index=qa||(this.state===State$2.InCommentLike?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,qa,0):this.cbs.oncomment(this.sectionStart,qa,0):this.state===State$2.InTagName||this.state===State$2.BeforeAttributeName||this.state===State$2.BeforeAttributeValue||this.state===State$2.AfterAttributeName||this.state===State$2.InAttributeName||this.state===State$2.InAttributeValueSq||this.state===State$2.InAttributeValueDq||this.state===State$2.InAttributeValueNq||this.state===State$2.InClosingTagName||this.cbs.ontext(this.sectionStart,qa))}emitCodePoint(qa,nd){this.baseState!==State$2.Text&&this.baseState!==State$2.InSpecialTag?(this.sectionStart0&&cd.has(this.stack[0]);){const dd=this.stack.shift();(od=(nd=this.cbs).onclosetag)===null||od===void 0||od.call(nd,dd,!0)}this.isVoidElement(qa)||(this.stack.unshift(qa),this.htmlMode&&(foreignContextElements.has(qa)?this.foreignContext.unshift(!0):htmlIntegrationElements.has(qa)&&this.foreignContext.unshift(!1))),(ud=(ld=this.cbs).onopentagname)===null||ud===void 0||ud.call(ld,qa),this.cbs.onopentag&&(this.attribs={})}endOpenTag(qa){var nd,od;this.startIndex=this.openTagStart,this.attribs&&((od=(nd=this.cbs).onopentag)===null||od===void 0||od.call(nd,this.tagname,this.attribs,qa),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(qa){this.endIndex=qa,this.endOpenTag(!1),this.startIndex=qa+1}onclosetag(qa,nd){var od,ld,ud,cd,dd,pd,fd,md;this.endIndex=nd;let vd=this.getSlice(qa,nd);if(this.lowerCaseTagNames&&(vd=vd.toLowerCase()),this.htmlMode&&(foreignContextElements.has(vd)||htmlIntegrationElements.has(vd))&&this.foreignContext.shift(),this.isVoidElement(vd))this.htmlMode&&vd==="br"&&((cd=(ud=this.cbs).onopentagname)===null||cd===void 0||cd.call(ud,"br"),(pd=(dd=this.cbs).onopentag)===null||pd===void 0||pd.call(dd,"br",{},!0),(md=(fd=this.cbs).onclosetag)===null||md===void 0||md.call(fd,"br",!1));else{const Ad=this.stack.indexOf(vd);if(Ad!==-1)for(let Nd=0;Nd<=Ad;Nd++){const Id=this.stack.shift();(ld=(od=this.cbs).onclosetag)===null||ld===void 0||ld.call(od,Id,Nd!==Ad)}else this.htmlMode&&vd==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=nd+1}onselfclosingtag(qa){this.endIndex=qa,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=qa+1):this.onopentagend(qa)}closeCurrentTag(qa){var nd,od;const ld=this.tagname;this.endOpenTag(qa),this.stack[0]===ld&&((od=(nd=this.cbs).onclosetag)===null||od===void 0||od.call(nd,ld,!qa),this.stack.shift())}onattribname(qa,nd){this.startIndex=qa;const od=this.getSlice(qa,nd);this.attribname=this.lowerCaseAttributeNames?od.toLowerCase():od}onattribdata(qa,nd){this.attribvalue+=this.getSlice(qa,nd)}onattribentity(qa){this.attribvalue+=fromCodePoint(qa)}onattribend(qa,nd){var od,ld;this.endIndex=nd,(ld=(od=this.cbs).onattribute)===null||ld===void 0||ld.call(od,this.attribname,this.attribvalue,qa===QuoteType.Double?'"':qa===QuoteType.Single?"'":qa===QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(qa){const nd=qa.search(reNameEnd);let od=nd<0?qa:qa.substr(0,nd);return this.lowerCaseTagNames&&(od=od.toLowerCase()),od}ondeclaration(qa,nd){this.endIndex=nd;const od=this.getSlice(qa,nd);if(this.cbs.onprocessinginstruction){const ld=this.getInstructionName(od);this.cbs.onprocessinginstruction(`!${ld}`,`!${od}`)}this.startIndex=nd+1}onprocessinginstruction(qa,nd){this.endIndex=nd;const od=this.getSlice(qa,nd);if(this.cbs.onprocessinginstruction){const ld=this.getInstructionName(od);this.cbs.onprocessinginstruction(`?${ld}`,`?${od}`)}this.startIndex=nd+1}oncomment(qa,nd,od){var ld,ud,cd,dd;this.endIndex=nd,(ud=(ld=this.cbs).oncomment)===null||ud===void 0||ud.call(ld,this.getSlice(qa,nd-od)),(dd=(cd=this.cbs).oncommentend)===null||dd===void 0||dd.call(cd),this.startIndex=nd+1}oncdata(qa,nd,od){var ld,ud,cd,dd,pd,fd,md,vd,Ad,Nd;this.endIndex=nd;const Id=this.getSlice(qa,nd-od);!this.htmlMode||this.options.recognizeCDATA?((ud=(ld=this.cbs).oncdatastart)===null||ud===void 0||ud.call(ld),(dd=(cd=this.cbs).ontext)===null||dd===void 0||dd.call(cd,Id),(fd=(pd=this.cbs).oncdataend)===null||fd===void 0||fd.call(pd)):((vd=(md=this.cbs).oncomment)===null||vd===void 0||vd.call(md,`[CDATA[${Id}]]`),(Nd=(Ad=this.cbs).oncommentend)===null||Nd===void 0||Nd.call(Ad)),this.startIndex=nd+1}onend(){var qa,nd;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let od=0;od=this.buffers[0].length;)this.shiftBuffer();let od=this.buffers[0].slice(qa-this.bufferOffset,nd-this.bufferOffset);for(;nd-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),od+=this.buffers[0].slice(0,nd-this.bufferOffset);return od}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(qa){var nd,od;if(this.ended){(od=(nd=this.cbs).onerror)===null||od===void 0||od.call(nd,new Error(".write() after done!"));return}this.buffers.push(qa),this.tokenizer.running&&(this.tokenizer.write(qa),this.writeIndex++)}end(qa){var nd,od;if(this.ended){(od=(nd=this.cbs).onerror)===null||od===void 0||od.call(nd,new Error(".end() after done!"));return}qa&&this.write(qa),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndexqa._useHtmlParser2?parseDocument(Ra,qa):parseWithParse5(Ra,qa,nd,od)),load$2=getLoad(parse$3,(Ra,qa)=>qa._useHtmlParser2?render$3(Ra,qa):renderWithParse5(Ra)),browser$1=Object.freeze(Object.defineProperty({__proto__:null,contains,load:load$2,merge:merge$3},Symbol.toStringTag,{value:"Module"})),require$$0$2=getAugmentedNamespace(browser$1);var utils$4={},lexer={exports:{}},debug={exports:{}};(function(Ra,qa){var nd={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_9b3b18d1-9340-49ab-b4e8-5023772e0970",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_9b3b18d1-9340-49ab-b4e8-5023772e0970",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:1985",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12403591553",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_77bf6c2e-16c6-46b5-9674-d636e159247f",INVOCATION_ID:"2e23158896aa43b4b0c7cc0c353d16fa",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"468",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 17",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_9b3b18d1-9340-49ab-b4e8-5023772e0970",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_9b3b18d1-9340-49ab-b4e8-5023772e0970",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_9b3b18d1-9340-49ab-b4e8-5023772e0970",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2165,ppid:2164,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};Ra.exports=od;function od(ud){return ld.bind(null,ud)}function ld(ud){var cd=[].slice.call(arguments,1);cd.unshift("["+ud+"]"),nd.stderr.write(cd.join(" ")+` +`)}})(debug);var debugExports=debug.exports;(function(Ra,qa){debugExports("lex"),Ra.exports=nd;function nd(od){var ld="",ud,cd=0,dd=-1,pd=0,fd=1,md="before-selector",vd=[md],Ad={},Nd=[],Id=["media","keyframes",{name:"-webkit-keyframes",type:"keyframes",prefix:"-webkit-"},{name:"-moz-keyframes",type:"keyframes",prefix:"-moz-"},{name:"-ms-keyframes",type:"keyframes",prefix:"-ms-"},{name:"-o-keyframes",type:"keyframes",prefix:"-o-"},"font-face",{name:"import",state:"before-at-value"},{name:"charset",state:"before-at-value"},"supports","viewport",{name:"namespace",state:"before-at-value"},"document",{name:"-moz-document",type:"document",prefix:"-moz-"},"page"];function kd(){return mf(),od[dd]}function jd(Af){return Af?vd[vd.length-1-Af]:md}function Fd(Af){var Lf=dd+1;return Af===od.slice(Lf,Lf+Af.length)}function Md(Af){var Lf=od.slice(dd).indexOf(Af);return Lf>0?Lf:!1}function Ld(Af){return Af===Hd(1)}function Hd(Af){return od[dd+(Af||1)]}function Gd(){var Af=vd.pop();return md=vd[vd.length-1],Af}function Vd(Af){return md=Af,vd.push(md),vd.length}function Kd(Af){var Lf=md;return vd[vd.length-1]=md=Af,Lf}function mf(Af){if((Af||1)==1)od[dd]==` `?(fd++,cd=1):cd++,dd++;else{var Lf=od.slice(dd,dd+Af).split(` -`);Lf.length>1&&(fd+=Lf.length-1,cd=1),cd+=Lf[Lf.length-1].length,dd=dd+Af}}function Yd(){Ad.end={line:fd,col:cd},Nd.push(Ad),ld="",Ad={}}function Zd(Af){Ad={type:Af,start:{line:fd,col:cd}}}for(;ud=kd();)switch(ud){case" ":switch(jd()){case"selector":case"value":case"value-paren":case"at-group":case"at-value":case"comment":case"double-string":case"single-string":ld+=ud;break}break;case` +`);Lf.length>1&&(fd+=Lf.length-1,cd=1),cd+=Lf[Lf.length-1].length,dd=dd+Af}}function Wd(){Ad.end={line:fd,col:cd},Nd.push(Ad),ld="",Ad={}}function Zd(Af){Ad={type:Af,start:{line:fd,col:cd}}}for(;ud=kd();)switch(ud){case" ":switch(jd()){case"selector":case"value":case"value-paren":case"at-group":case"at-value":case"comment":case"double-string":case"single-string":ld+=ud;break}break;case` `:case" ":case"\r":case"\f":switch(jd()){case"value":case"value-paren":case"at-group":case"comment":case"single-string":case"double-string":case"selector":ld+=ud;break;case"at-value":ud===` -`&&(Ad.value=ld.trim(),Yd(),Gd());break}break;case":":switch(jd()){case"name":Ad.name=ld.trim(),ld="",Qd("before-value");break;case"before-selector":ld+=ud,Zd("selector"),Vd("selector");break;case"before-value":Qd("value"),ld+=ud;break;default:ld+=ud;break}break;case";":switch(jd()){case"name":case"before-value":case"value":ld.trim().length>0&&(Ad.value=ld.trim(),Yd()),Qd("before-name");break;case"value-paren":ld+=ud;break;case"at-value":Ad.value=ld.trim(),Yd(),Gd();break;case"before-name":break;default:ld+=ud;break}break;case"{":switch(jd()){case"selector":if(Hd(-1)==="\\"){ld+=ud;break}Ad.text=ld.trim(),Yd(),Qd("before-name"),pd=pd+1;break;case"at-group":switch(Ad.name=ld.trim(),Ad.type){case"font-face":case"viewport":case"page":Vd("before-name");break;default:Vd("before-selector")}Yd(),pd=pd+1;break;case"name":case"at-rule":Ad.name=ld.trim(),Yd(),Vd("before-name"),pd=pd+1;break;case"comment":case"double-string":case"single-string":ld+=ud;break;case"before-value":Qd("value"),ld+=ud;break}break;case"}":switch(jd()){case"before-name":case"name":case"before-value":case"value":ld&&(Ad.value=ld.trim()),Ad.name&&Ad.value&&Yd(),Zd("end"),Yd(),Gd(),jd()==="at-group"&&(Zd("at-group-end"),Yd(),Gd()),pd>0&&(pd=pd-1);break;case"at-group":case"before-selector":case"selector":if(Hd(-1)==="\\"){ld+=ud;break}pd>0&&jd(1)==="at-group"&&(Zd("at-group-end"),Yd()),pd>1&&Gd(),pd>0&&(pd=pd-1);break;case"double-string":case"single-string":case"comment":ld+=ud;break}break;case'"':case"'":switch(jd()){case"double-string":ud==='"'&&Hd(-1)!=="\\"&&Gd();break;case"single-string":ud==="'"&&Hd(-1)!=="\\"&&Gd();break;case"before-at-value":Qd("at-value"),Vd(ud==='"'?"double-string":"single-string");break;case"before-value":Qd("value"),Vd(ud==='"'?"double-string":"single-string");break;case"comment":break;default:Hd(-1)!=="\\"&&Vd(ud==='"'?"double-string":"single-string")}ld+=ud;break;case"/":switch(jd()){case"comment":case"double-string":case"single-string":ld+=ud;break;case"before-value":case"selector":case"name":case"value":if(Ld("*")){var Kd=Md("*/");Kd&&mf(Kd+1)}else jd()=="before-value"&&Qd("value"),ld+=ud;break;default:Ld("*")?(Zd("comment"),Vd("comment"),mf()):ld+=ud;break}break;case"*":switch(jd()){case"comment":Ld("/")?(Ad.text=ld,mf(),Yd(),Gd()):ld+=ud;break;case"before-selector":ld+=ud,Zd("selector"),Vd("selector");break;case"before-value":Qd("value"),ld+=ud;break;default:ld+=ud}break;case"@":switch(jd()){case"comment":case"double-string":case"single-string":ld+=ud;break;case"before-value":Qd("value"),ld+=ud;break;default:for(var bf=!1,gf,Ef,yf=0,xf=Id.length;!bf&&yf0&&(Ad.value=ld.trim(),Wd()),Kd("before-name");break;case"value-paren":ld+=ud;break;case"at-value":Ad.value=ld.trim(),Wd(),Gd();break;case"before-name":break;default:ld+=ud;break}break;case"{":switch(jd()){case"selector":if(Hd(-1)==="\\"){ld+=ud;break}Ad.text=ld.trim(),Wd(),Kd("before-name"),pd=pd+1;break;case"at-group":switch(Ad.name=ld.trim(),Ad.type){case"font-face":case"viewport":case"page":Vd("before-name");break;default:Vd("before-selector")}Wd(),pd=pd+1;break;case"name":case"at-rule":Ad.name=ld.trim(),Wd(),Vd("before-name"),pd=pd+1;break;case"comment":case"double-string":case"single-string":ld+=ud;break;case"before-value":Kd("value"),ld+=ud;break}break;case"}":switch(jd()){case"before-name":case"name":case"before-value":case"value":ld&&(Ad.value=ld.trim()),Ad.name&&Ad.value&&Wd(),Zd("end"),Wd(),Gd(),jd()==="at-group"&&(Zd("at-group-end"),Wd(),Gd()),pd>0&&(pd=pd-1);break;case"at-group":case"before-selector":case"selector":if(Hd(-1)==="\\"){ld+=ud;break}pd>0&&jd(1)==="at-group"&&(Zd("at-group-end"),Wd()),pd>1&&Gd(),pd>0&&(pd=pd-1);break;case"double-string":case"single-string":case"comment":ld+=ud;break}break;case'"':case"'":switch(jd()){case"double-string":ud==='"'&&Hd(-1)!=="\\"&&Gd();break;case"single-string":ud==="'"&&Hd(-1)!=="\\"&&Gd();break;case"before-at-value":Kd("at-value"),Vd(ud==='"'?"double-string":"single-string");break;case"before-value":Kd("value"),Vd(ud==='"'?"double-string":"single-string");break;case"comment":break;default:Hd(-1)!=="\\"&&Vd(ud==='"'?"double-string":"single-string")}ld+=ud;break;case"/":switch(jd()){case"comment":case"double-string":case"single-string":ld+=ud;break;case"before-value":case"selector":case"name":case"value":if(Ld("*")){var Xd=Md("*/");Xd&&mf(Xd+1)}else jd()=="before-value"&&Kd("value"),ld+=ud;break;default:Ld("*")?(Zd("comment"),Vd("comment"),mf()):ld+=ud;break}break;case"*":switch(jd()){case"comment":Ld("/")?(Ad.text=ld,mf(),Wd(),Gd()):ld+=ud;break;case"before-selector":ld+=ud,Zd("selector"),Vd("selector");break;case"before-value":Kd("value"),ld+=ud;break;default:ld+=ud}break;case"@":switch(jd()){case"comment":case"double-string":case"single-string":ld+=ud;break;case"before-value":Kd("value"),ld+=ud;break;default:for(var bf=!1,yf,Ef,gf=0,xf=Id.length;!bf&&gf+)\\s*|(\\s+)|(+|\\*)|\\#(+)|\\.(+)|\\[\\s*(+)(?:\\s*([*^$!~|]?=)(?:\\s*(?:(["']?)(.*?)\\9)))?\\s*\\](?!\\])|(:+)(+)(?:\\((?:(?:(["'])([^\\13]*)\\13)|((?:\\([^)]+\\)|[^()]*)+))\\))?)`.replace(//,"["+escape$5(">+~`!@$%^&={}\\;/g,"(?:[\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])").replace(//g,"(?:[:\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])")),Part=function(qa){this.combinator=qa||" ",this.tag="*"};Part.prototype.toString=function(){if(!this.raw){var Ra="",qa,nd;if(Ra+=this.tag||"*",this.id&&(Ra+="#"+this.id),this.classes&&(Ra+="."+this.classList.join(".")),this.attributes)for(qa=0;nd=this.attributes[qa++];)Ra+="["+nd.name+(nd.operator?nd.operator+'"'+nd.value+'"':"")+"]";if(this.pseudos)for(qa=0;nd=this.pseudos[qa++];)Ra+=":"+nd.name,nd.value&&(Ra+="("+nd.value+")");this.raw=Ra}return this.raw};var Expression=function(){this.length=0};Expression.prototype.toString=function(){if(!this.raw){for(var Ra="",qa=0,nd;nd=this[qa++];)qa!==1&&(Ra+=" "),nd.combinator!==" "&&(Ra+=nd.combinator+" "),Ra+=nd;this.raw=Ra}return this.raw};var replacer=function(Ra,qa,nd,od,ld,ud,cd,dd,pd,fd,md,vd,Ad,Nd,Id,kd){var jd,Fd;if((qa||!this.length)&&(jd=this[this.length++]=new Expression,qa))return"";if(jd||(jd=this[this.length-1]),(nd||od||!jd.length)&&(Fd=jd[jd.length++]=new Part(nd)),Fd||(Fd=jd[jd.length-1]),ld)Fd.tag=unescape$2(ld);else if(ud)Fd.id=unescape$2(ud);else if(cd){var Md=unescape$2(cd),Ld=Fd.classes||(Fd.classes={});if(!Ld[Md]){Ld[Md]=escape$5(cd);var Hd=Fd.classList||(Fd.classList=[]);Hd.push(Md),Hd.sort()}}else Ad?(kd=kd||Id,(Fd.pseudos||(Fd.pseudos=[])).push({type:vd.length==1?"class":"element",name:unescape$2(Ad),escapedName:escape$5(Ad),value:kd?unescape$2(kd):null,escapedValue:kd?escape$5(kd):null})):dd&&(md=md?escape$5(md):null,(Fd.attributes||(Fd.attributes=[])).push({operator:pd,name:unescape$2(dd),escapedName:escape$5(dd),value:md?unescape$2(md):null,escapedValue:md?escape$5(md):null}));return""},Expressions=function(qa){this.length=0;for(var nd=this,od=qa,ld;qa;){if(ld=qa.replace(slickRe,function(){return replacer.apply(nd,arguments)}),ld===qa)throw new Error(od+" is an invalid expression");qa=ld}};Expressions.prototype.toString=function(){if(!this.raw){for(var Ra=[],qa=0,nd;nd=this[qa++];)Ra.push(nd);this.raw=Ra.join(", ")}return this.raw};var cache$1={},parse$2=function(Ra){return Ra==null?null:(Ra=(""+Ra).replace(/^\s+|\s+$/g,""),cache$1[Ra]||(cache$1[Ra]=new Expressions(Ra)))},parser$1=parse$2;(function(Ra,qa){var nd=parser$1;Ra.exports=od;function od(ud,cd){this.text=ud,this.spec=void 0,this.styleAttribute=cd||!1}od.prototype.parsed=function(){return this.tokens||(this.tokens=ld(this.text)),this.tokens},od.prototype.specificity=function(){var ud=this.styleAttribute;return this.spec||(this.spec=cd(this.text,this.parsed())),this.spec;function cd(dd,pd){for(var fd=pd||ld(dd),md=[ud?1:0,0,0,0],vd=[],Ad=0;Ad+)\\s*|(\\s+)|(+|\\*)|\\#(+)|\\.(+)|\\[\\s*(+)(?:\\s*([*^$!~|]?=)(?:\\s*(?:(["']?)(.*?)\\9)))?\\s*\\](?!\\])|(:+)(+)(?:\\((?:(?:(["'])([^\\13]*)\\13)|((?:\\([^)]+\\)|[^()]*)+))\\))?)`.replace(//,"["+escape$5(">+~`!@$%^&={}\\;/g,"(?:[\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])").replace(//g,"(?:[:\\w\\u00a1-\\uFFFF-]|\\\\[^\\s0-9a-f])")),Part=function(qa){this.combinator=qa||" ",this.tag="*"};Part.prototype.toString=function(){if(!this.raw){var Ra="",qa,nd;if(Ra+=this.tag||"*",this.id&&(Ra+="#"+this.id),this.classes&&(Ra+="."+this.classList.join(".")),this.attributes)for(qa=0;nd=this.attributes[qa++];)Ra+="["+nd.name+(nd.operator?nd.operator+'"'+nd.value+'"':"")+"]";if(this.pseudos)for(qa=0;nd=this.pseudos[qa++];)Ra+=":"+nd.name,nd.value&&(Ra+="("+nd.value+")");this.raw=Ra}return this.raw};var Expression=function(){this.length=0};Expression.prototype.toString=function(){if(!this.raw){for(var Ra="",qa=0,nd;nd=this[qa++];)qa!==1&&(Ra+=" "),nd.combinator!==" "&&(Ra+=nd.combinator+" "),Ra+=nd;this.raw=Ra}return this.raw};var replacer=function(Ra,qa,nd,od,ld,ud,cd,dd,pd,fd,md,vd,Ad,Nd,Id,kd){var jd,Fd;if((qa||!this.length)&&(jd=this[this.length++]=new Expression,qa))return"";if(jd||(jd=this[this.length-1]),(nd||od||!jd.length)&&(Fd=jd[jd.length++]=new Part(nd)),Fd||(Fd=jd[jd.length-1]),ld)Fd.tag=unescape$2(ld);else if(ud)Fd.id=unescape$2(ud);else if(cd){var Md=unescape$2(cd),Ld=Fd.classes||(Fd.classes={});if(!Ld[Md]){Ld[Md]=escape$5(cd);var Hd=Fd.classList||(Fd.classList=[]);Hd.push(Md),Hd.sort()}}else Ad?(kd=kd||Id,(Fd.pseudos||(Fd.pseudos=[])).push({type:vd.length==1?"class":"element",name:unescape$2(Ad),escapedName:escape$5(Ad),value:kd?unescape$2(kd):null,escapedValue:kd?escape$5(kd):null})):dd&&(md=md?escape$5(md):null,(Fd.attributes||(Fd.attributes=[])).push({operator:pd,name:unescape$2(dd),escapedName:escape$5(dd),value:md?unescape$2(md):null,escapedValue:md?escape$5(md):null}));return""},Expressions=function(qa){this.length=0;for(var nd=this,od=qa,ld;qa;){if(ld=qa.replace(slickRe,function(){return replacer.apply(nd,arguments)}),ld===qa)throw new Error(od+" is an invalid expression");qa=ld}};Expressions.prototype.toString=function(){if(!this.raw){for(var Ra=[],qa=0,nd;nd=this[qa++];)Ra.push(nd);this.raw=Ra.join(", ")}return this.raw};var cache$1={},parse$2=function(Ra){return Ra==null?null:(Ra=(""+Ra).replace(/^\s+|\s+$/g,""),cache$1[Ra]||(cache$1[Ra]=new Expressions(Ra)))},parser$1=parse$2;(function(Ra,qa){var nd=parser$1;Ra.exports=od;function od(ud,cd){this.text=ud,this.spec=void 0,this.styleAttribute=cd||!1}od.prototype.parsed=function(){return this.tokens||(this.tokens=ld(this.text)),this.tokens},od.prototype.specificity=function(){var ud=this.styleAttribute;return this.spec||(this.spec=cd(this.text,this.parsed())),this.spec;function cd(dd,pd){for(var fd=pd||ld(dd),md=[ud?1:0,0,0,0],vd=[],Ad=0;Ad-1})},Ra.compareFunc=function(ld,ud){for(var cd=Math.min(ld.length,ud.length),dd=0;ddud[dd]?1:-1;return ld.length-ud.length},Ra.compare=function(ld,ud){return Ra.compareFunc(ld,ud)==1?ld:ud},Ra.getDefaultOptions=function(ld){var ud=Object.assign({extraCss:"",insertPreservedExtraCss:!0,applyStyleTags:!0,removeStyleTags:!0,preserveMediaQueries:!0,preserveFontFaces:!0,preserveKeyFrames:!0,preservePseudos:!0,applyWidthAttributes:!0,applyHeightAttributes:!0,applyAttributesTableElements:!0,resolveCSSVariables:!0,url:""},ld);return ud.webResources=ud.webResources||{},ud}}(utils$4)),utils$4}(function(Ra){var qa=require$$0$2;requireUtils$1();var nd=function(ld,ud,cd){const{xmlMode:dd,...pd}=ud;return ud=Object.assign({xml:{decodeEntities:!1,xmlMode:dd}},pd),ld=cd(ld),qa.load(ld,ud)},od=function(){var ld=[],ud=function(dd){var pd=Ra.exports.codeBlocks;return Object.keys(pd).forEach(function(fd){var md=new RegExp(pd[fd].start+"([\\S\\s]*?)"+pd[fd].end,"g");dd=dd.replace(md,function(vd,Ad){return ld.push(vd),"JUICE_CODE_BLOCK_"+(ld.length-1)+"_"})}),dd},cd=function(dd){for(var pd=0;pd"},HBS:{start:"{{",end:"}}"}}})(cheerio$1);var cheerioExports=cheerio$1.exports,numbers$1={};numbers$1.romanize=function(Ra){if(isNaN(Ra))return NaN;for(var qa=String(+Ra).split(""),nd=["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM","","X","XX","XXX","XL","L","LX","LXX","LXXX","XC","","I","II","III","IV","V","VI","VII","VIII","IX"],od="",ld=3;ld--;)od=(nd[+qa.pop()+ld*10]||"")+od;return Array(+qa.join("")+1).join("M")+od};numbers$1.alphanumeric=function(Ra){for(var qa="",nd;Ra>0;)nd=(Ra-1)%26,qa=String.fromCharCode(65+nd)+qa,Ra=(Ra-nd)/26|0;return qa||void 0};const uniqueString=Ra=>{let qa="";do qa=(Math.random()+1).toString(36).substring(2);while(Ra.indexOf(qa)!==-1);return qa},replaceVariables=(Ra,qa)=>{let nd=/([a-z\-]+)\s*\(\s*([^\(\)]*?)\s*(?:,\s*([^\(\)]*?)\s*)?\s*\)/i,od=[],ld,ud=uniqueString(qa);for(;(ld=nd.exec(qa))!==null;){let dd=`${od.length}`;if(ld[1].toLowerCase()=="var"){const fd=findVariableValue(Ra,ld[2]);if(fd){qa=qa.replace(ld[0],fd);continue}if(ld[3]){qa=qa.replace(ld[0],ld[3]);continue}}let pd=`${ud}${dd.padStart(5,"-")}`;qa=qa.replace(ld[0],pd),od.push({placeholder:pd,replace:ld[0]})}for(var cd=od.length-1;cd>=0;cd--){const dd=od[cd];qa=qa.replace(dd.placeholder,dd.replace)}return qa},findVariableValue=(Ra,qa)=>{for(;Ra;){if(Ra.styleProps&&qa in Ra.styleProps)return Ra.styleProps[qa].value;var Ra=Ra.pseudoElementParent||Ra.parent}};var variables$1={replaceVariables,findVariableValue},utils$3=requireUtils$1(),numbers=numbers$1,variables=variables$1,inline$2=function(qa){qa.ignoredPseudos=["hover","active","focus","visited","link"],qa.widthElements=["TABLE","TD","TH","IMG"],qa.heightElements=["TABLE","TD","TH","IMG"],qa.tableElements=["TABLE","TH","TR","TD","CAPTION","COLGROUP","COL","THEAD","TBODY","TFOOT"],qa.nonVisualElements=["HEAD","TITLE","BASE","LINK","STYLE","META","SCRIPT","NOSCRIPT"],qa.styleToAttribute={"background-color":"bgcolor","background-image":"background","text-align":"align","vertical-align":"valign"},qa.excludedProperties=[],qa.juiceDocument=fd,qa.inlineDocument=nd;function nd(Ad,Nd,Id){Id=Id||{};var kd=utils$3.parseCSS(Nd),jd=[],Fd="style",Md={};if(Id.styleAttributeName&&(Fd=Id.styleAttributeName),kd.forEach(Gd),jd.forEach(Vd),Id.inlinePseudoElements&&jd.forEach(Qd),Id.applyWidthAttributes&&jd.forEach(function(Kd){mf(Kd,"width")}),Id.applyHeightAttributes&&jd.forEach(function(Kd){mf(Kd,"height")}),Id.applyAttributesTableElements&&jd.forEach(Zd),Id.insertPreservedExtraCss&&Id.extraCss){var Ld=utils$3.getPreservedText(Id.extraCss,{mediaQueries:Id.preserveMediaQueries,fontFaces:Id.preserveFontFaces,keyFrames:Id.preserveKeyFrames});if(Ld){var Hd=null;Id.insertPreservedExtraCss!==!0?Hd=Ad(Id.insertPreservedExtraCss):(Hd=Ad("head"),Hd.length||(Hd=Ad("body")),Hd.length||(Hd=Ad.root())),Hd.first().append("")}}function Gd(Kd){var bf=Kd[0],gf=Kd[1],Ef=new utils$3.Selector(bf),yf=Ef.parsed();if(yf){for(var xf=cd(yf),Af=0;Af=0)return}}if(xf){var Zf=yf[yf.length-1],jf=Zf.pseudos;Zf.pseudos=pd(Zf.pseudos),bf=yf.toString(),Zf.pseudos=jf}var If;try{If=Ad(bf)}catch{return}If.each(function(){var Uf=this;if(Uf.name&&qa.nonVisualElements.indexOf(Uf.name.toUpperCase())>=0)return;if(Uf.counterProps||(Uf.counterProps=Uf.parent&&Uf.parent.counterProps?Object.create(Uf.parent.counterProps):{}),xf){var qf="pseudo"+xf,Kf=Uf[qf];Kf||(Kf=Uf[qf]=Ad("").get(0),Kf.pseudoElementType=xf,Kf.pseudoElementParent=Uf,Kf.counterProps=Uf.counterProps,Uf[qf]=Kf),Uf=Kf}if(!Uf.styleProps){if(Uf.styleProps={},Ad(Uf).attr(Fd)){var Tf="* { "+Ad(Uf).attr(Fd)+" } ";Jf(utils$3.parseCSS(Tf)[0][1],new utils$3.Selector("")}}function Gd(Xd){var bf=Xd[0],yf=Xd[1],Ef=new utils$3.Selector(bf),gf=Ef.parsed();if(gf){for(var xf=cd(gf),Af=0;Af=0)return}}if(xf){var Zf=gf[gf.length-1],Bf=Zf.pseudos;Zf.pseudos=pd(Zf.pseudos),bf=gf.toString(),Zf.pseudos=Bf}var Df;try{Df=Ad(bf)}catch{return}Df.each(function(){var Uf=this;if(Uf.name&&qa.nonVisualElements.indexOf(Uf.name.toUpperCase())>=0)return;if(Uf.counterProps||(Uf.counterProps=Uf.parent&&Uf.parent.counterProps?Object.create(Uf.parent.counterProps):{}),xf){var Gf="pseudo"+xf,zf=Uf[Gf];zf||(zf=Uf[Gf]=Ad("").get(0),zf.pseudoElementType=xf,zf.pseudoElementParent=Uf,zf.counterProps=Uf.counterProps,Uf[Gf]=zf),Uf=zf}if(!Uf.styleProps){if(Uf.styleProps={},Ad(Uf).attr(Fd)){var Tf="* { "+Ad(Uf).attr(Fd)+" } ";eh(utils$3.parseCSS(Tf)[0][1],new utils$3.Selector(" - `,md.value=Th},If=()=>{const Th=css2json(bf.value.getValue()),dh=customCssWithTemplate(Th,Id.value,customizeTheme(themeMap[vd.value],{fontSize:Fd.value,color:Id.value}));Zf.setOptions({theme:dh}),jf()};onMounted(()=>{const Th=document.querySelector("#cssEditor");Th.value=xf().content;const dh=Ra.value?"darcula":"xq-light";bf.value=markRaw(CodeMirror.fromTextArea(Th,{mode:"css",theme:dh,lineNumbers:!1,lineWrapping:!0,styleActiveLine:!0,matchBrackets:!0,autofocus:!0,extraKeys:{[`${shiftKey}-${altKey}-F`]:function(wh){formatDoc(wh.getValue(),"css").then(fm=>{xf().content=fm,wh.setValue(fm)})}}})),bf.value.on("keyup",(Vh,wh)=>{(wh.keyCode>=65&&wh.keyCode<=90||wh.keyCode===189)&&Vh.showHint(wh)}),bf.value.on("update",()=>{If(),xf().content=bf.value.getValue()})}),watch(Ra,()=>{var dh,Vh;const Th=Ra.value?"darcula":"xq-light";(Vh=(dh=toRaw(bf.value))==null?void 0:dh.setOption)==null||Vh.call(dh,"theme",Th)});const Uf=()=>{cd.value=!1,nd.value=!0,vd.value=themeOptions[0].value,Ad.value=fontFamilyOptions[0].value,Ad.value=fontFamilyOptions[0].value,Nd.value=fontSizeOptions[2].value,Id.value=colorOptions[0].value,kd.value=codeBlockThemeOptions[2].value,jd.value=legendOptions[3].value,yf.value={active:"方案 1",tabs:[{title:"方案 1",name:"方案 1",content:Ef.value||DEFAULT_CSS_CONTENT}]},bf.value.setValue(DEFAULT_CSS_CONTENT),If(),jf(),Ke$1.success("样式重置成功~")},qf=Th=>(...dh)=>{Th(...dh),jf()},Kf=(Th,dh)=>{const Vh=themeMap[vd.value],wh=Number(Th.replace("px",""));return customCssWithTemplate(css2json(xf().content),dh,customizeTheme(Vh,{fontSize:wh,color:dh}))},Tf=qf(Th=>{Zf.setOptions({theme:customCssWithTemplate(css2json(xf().content),Id.value,customizeTheme(themeMap[Th],{fontSize:Fd.value}))}),vd.value=Th}),vf=qf(Th=>{Zf.setOptions({fonts:Th}),Ad.value=Th}),Gf=qf(Th=>{const dh=Kf(Th,Id.value);Zf.setOptions({size:Th,theme:dh}),Nd.value=Th}),Jf=qf(Th=>{const dh=Kf(Nd.value,Th);Zf.setOptions({theme:dh}),Id.value=Th}),gh=qf(Th=>{kd.value=Th}),th=qf(Th=>{jd.value=Th}),Pf=qf(()=>{od()}),uh=qf(()=>{dd()}),xh=qf(()=>{fd()}),Qf=()=>{exportHTML(Id.value),document.querySelector("#output").innerHTML=md.value},Nf=()=>{downloadMD(Md.value.getValue())},$f=()=>{const Th=document.body,dh=document.createElement("input");dh.type="file",dh.name="filename",dh.accept=".md",dh.onchange=()=>{const Vh=dh.files[0];if(!Vh)return;const wh=new FileReader;wh.readAsText(Vh),wh.onload=fm=>{Md.value.setValue(fm.target.result),Ke$1.success("文档导入成功")}},Th.appendChild(dh),dh.click(),Th.removeChild(dh)},Wf=ref$1(!1);return{isDark:Ra,toggleDark:qa,isEditOnLeft:ld,toggleEditOnLeft:ud,isMacCodeBlock:nd,isCiteStatus:cd,citeStatusChanged:uh,isUseIndent:pd,useIndentChanged:xh,output:md,editor:Md,cssEditor:bf,theme:vd,fontFamily:Ad,fontSize:Nd,primaryColor:Id,codeBlockTheme:kd,legend:jd,editorRefresh:jf,themeChanged:Tf,fontChanged:vf,sizeChanged:Gf,colorChanged:Jf,codeBlockThemeChanged:gh,legendChanged:th,macCodeBlockChanged:Pf,formatContent:Zd,exportEditorContent2HTML:Qf,exportEditorContent2MD:Nf,importMarkdownContent:$f,isOpenConfirmDialog:Wf,resetStyleConfirm:()=>{Wf.value=!0},resetStyle:Uf,cssContentConfig:yf,addCssContentTab:Xf,validatorTabName:ih,setCssEditorValue:gf,tabChanged:Af,renameTab:Lf,posts:Gd,currentPostIndex:Vd,addPost:Qd,renamePost:mf,delPost:Yd,isOpenPostSlider:Hd}}),useDisplayStore=defineStore("display",()=>{const Ra=ref$1(!1),qa=useToggle(Ra),nd=ref$1(!1),od=useToggle(nd),ld=ref$1(!1),ud=useToggle(ld);return{isShowCssEditor:Ra,toggleShowCssEditor:qa,isShowInsertFormDialog:nd,toggleShowInsertFormDialog:od,isShowUploadImgDialog:ld,toggleShowUploadImgDialog:ud}}),_hoisted_1$a={class:"cssEditor-wrapper order-1 h-full flex flex-col border-l-1"},_sfc_main$$=defineComponent({__name:"CssEditor",setup(Ra){const qa=useStore(),nd=useDisplayStore(),od=ref$1(!1),ld=ref$1(""),ud=ref$1(["",qa.cssContentConfig.active]);function cd(Fd){ld.value=Fd,od.value=!0}function dd(){if(!ld.value.trim()){Ke$1.error("新建失败,方案名不可为空");return}if(!qa.validatorTabName(ld.value)){Ke$1.error("不能与现有方案重名");return}qa.renameTab(ld.value),od.value=!1,Ke$1.success("修改成功~")}const pd=ref$1(!1),fd=ref$1("");function md(){if(!fd.value.trim()){Ke$1.error("新建失败,方案名不可为空");return}if(!qa.validatorTabName(fd.value)){Ke$1.error("不能与现有方案重名");return}qa.addCssContentTab(fd.value),pd.value=!1,qa.cssContentConfig.active=fd.value,ud.value=[ud.value[1],fd.value],Ke$1.success("新建成功~")}const vd=ref$1(!1),Ad=ref$1("");function Nd(Fd){Ad.value=Fd,vd.value=!0}function Id(){const Fd=qa.cssContentConfig.tabs;if(Fd.length===1){Ke$1.warning("至少保留一个方案");return}let Md=qa.cssContentConfig.active;Md===Ad.value&&Fd.forEach((Ld,Hd)=>{if(Ld.name===Ad.value){const Gd=Fd[Hd+1]||Fd[Hd-1];Gd&&(Md=Gd.name)}}),qa.tabChanged(Md),qa.cssContentConfig.tabs=Fd.filter(Ld=>Ld.name!==Ad.value),Ke$1.success("删除成功~")}function kd(){fd.value=`方案${qa.cssContentConfig.tabs.length+1}`,pd.value=!0}function jd(Fd){if(Fd==="add"){qa.cssContentConfig.active=ud.value[1],kd();return}ud.value=[ud.value[1],Fd]}return(Fd,Md)=>(openBlock(),createBlock(Transition$1,{"enter-active-class":"bounceInRight"},{default:withCtx(()=>[withDirectives(createBaseVNode("div",_hoisted_1$a,[createVNode(unref(_sfc_main$13),{modelValue:unref(qa).cssContentConfig.active,"onUpdate:modelValue":[Md[0]||(Md[0]=Ld=>unref(qa).cssContentConfig.active=Ld),jd]},{default:withCtx(()=>[createVNode(unref(_sfc_main$11),{class:"w-full overflow-x-auto"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qa).cssContentConfig.tabs,Ld=>(openBlock(),createBlock(unref(_sfc_main$10),{key:Ld.name,value:Ld.name,class:"flex-1"},{default:withCtx(()=>[createTextVNode(toDisplayString(Ld.title)+" ",1),withDirectives(createVNode(unref(PenLine),{class:"inline size-4 rounded-full p-0.5 transition-color hover:bg-gray-200 dark:hover:bg-gray-600",onClick:Hd=>cd(Ld.name)},null,8,["onClick"]),[[vShow,unref(qa).cssContentConfig.active===Ld.name]]),withDirectives(createVNode(unref(X$6),{class:"inline size-4 rounded-full p-0.5 transition-color hover:bg-gray-200 dark:hover:bg-gray-600",onClick:withModifiers(Hd=>Nd(Ld.name),["self"])},null,8,["onClick"]),[[vShow,unref(qa).cssContentConfig.active===Ld.name]])]),_:2},1032,["value"]))),128)),createVNode(unref(_sfc_main$10),{value:"add"},{default:withCtx(()=>[createVNode(unref(Plus),{class:"h-5 w-5"})]),_:1})]),_:1})]),_:1},8,["modelValue"]),Md[21]||(Md[21]=createBaseVNode("textarea",{id:"cssEditor",type:"textarea",placeholder:"Your custom css here."},null,-1)),createVNode(unref(_sfc_main$1b),{open:pd.value,"onUpdate:open":Md[4]||(Md[4]=Ld=>pd.value=Ld)},{default:withCtx(()=>[createVNode(unref(_sfc_main$1a),{class:"sm:max-w-[425px]"},{default:withCtx(()=>[createVNode(unref(_sfc_main$17),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$16),null,{default:withCtx(()=>Md[9]||(Md[9]=[createTextVNode("新建自定义 CSS")])),_:1}),createVNode(unref(_sfc_main$19),null,{default:withCtx(()=>Md[10]||(Md[10]=[createTextVNode(" 请输入方案名称 ")])),_:1})]),_:1}),createVNode(unref(_sfc_main$14),{modelValue:fd.value,"onUpdate:modelValue":Md[1]||(Md[1]=Ld=>fd.value=Ld)},null,8,["modelValue"]),createVNode(unref(_sfc_main$18),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$1j),{variant:"outline",onClick:Md[2]||(Md[2]=Ld=>pd.value=!1)},{default:withCtx(()=>Md[11]||(Md[11]=[createTextVNode(" 取消 ")])),_:1}),createVNode(unref(_sfc_main$1j),{onClick:Md[3]||(Md[3]=Ld=>md())},{default:withCtx(()=>Md[12]||(Md[12]=[createTextVNode(" 保存 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(unref(_sfc_main$1b),{open:od.value,"onUpdate:open":Md[7]||(Md[7]=Ld=>od.value=Ld)},{default:withCtx(()=>[createVNode(unref(_sfc_main$1a),{class:"sm:max-w-[425px]"},{default:withCtx(()=>[createVNode(unref(_sfc_main$17),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$16),null,{default:withCtx(()=>Md[13]||(Md[13]=[createTextVNode("编辑方案名称")])),_:1}),createVNode(unref(_sfc_main$19),null,{default:withCtx(()=>Md[14]||(Md[14]=[createTextVNode(" 请输入新的方案名称 ")])),_:1})]),_:1}),createVNode(unref(_sfc_main$14),{modelValue:ld.value,"onUpdate:modelValue":Md[5]||(Md[5]=Ld=>ld.value=Ld)},null,8,["modelValue"]),createVNode(unref(_sfc_main$18),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$1j),{variant:"outline",onClick:Md[6]||(Md[6]=Ld=>od.value=!1)},{default:withCtx(()=>Md[15]||(Md[15]=[createTextVNode(" 取消 ")])),_:1}),createVNode(unref(_sfc_main$1j),{onClick:dd},{default:withCtx(()=>Md[16]||(Md[16]=[createTextVNode(" 保存 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(unref(_sfc_main$1k),{open:vd.value,"onUpdate:open":Md[8]||(Md[8]=Ld=>vd.value=Ld)},{default:withCtx(()=>[createVNode(unref(_sfc_main$1g),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$1d),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$1c),null,{default:withCtx(()=>Md[17]||(Md[17]=[createTextVNode("提示")])),_:1}),createVNode(unref(_sfc_main$1f),null,{default:withCtx(()=>Md[18]||(Md[18]=[createTextVNode(" 此操作将删除该自定义方案,是否继续? ")])),_:1})]),_:1}),createVNode(unref(_sfc_main$1e),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$1h),null,{default:withCtx(()=>Md[19]||(Md[19]=[createTextVNode("取消")])),_:1}),createVNode(unref(_sfc_main$1i),{onClick:Id},{default:withCtx(()=>Md[20]||(Md[20]=[createTextVNode(" 确认 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])],512),[[vShow,unref(nd).isShowCssEditor]])]),_:1}))}}),_export_sfc=(Ra,qa)=>{const nd=Ra.__vccOpts||Ra;for(const[od,ld]of qa)nd[od]=ld;return nd},CssEditor=_export_sfc(_sfc_main$$,[["__scopeId","data-v-902e17d4"]]),_sfc_main$_=defineComponent({__name:"Menubar",props:{modelValue:{},defaultValue:{},dir:{},loop:{type:Boolean},class:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(Nh),mergeProps(unref(ud),{class:unref(cn$4)("flex h-10 items-center gap-x-1 rounded-md border bg-background p-1",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["class"]))}}),_hoisted_1$9={class:"absolute left-2 h-3.5 w-3.5 flex items-center justify-center"},_sfc_main$Z=defineComponent({__name:"MenubarCheckboxItem",props:{checked:{type:[Boolean,String]},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},emits:["select","update:checked"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(qh),mergeProps(unref(ud),{class:unref(cn$4)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",nd.class)}),{default:withCtx(()=>[createBaseVNode("span",_hoisted_1$9,[createVNode(unref(Yh),null,{default:withCtx(()=>[createVNode(unref(Check),{class:"h-4 w-4"})]),_:1})]),renderSlot(cd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$Y=defineComponent({__name:"MenubarContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{default:8},align:{default:"start"},alignOffset:{default:-4},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Kh),null,{default:withCtx(()=>[createVNode(unref(Hh),mergeProps(unref(od),{class:unref(cn$4)("z-50 min-w-48 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$X=defineComponent({__name:"MenubarItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(jh),mergeProps(unref(ud),{class:unref(cn$4)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",cd.inset&&"pl-8",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$W=defineComponent({__name:"MenubarMenu",props:{value:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Lh),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$V=defineComponent({__name:"MenubarSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Gh),mergeProps({class:unref(cn$4)("-mx-1 my-1 h-px bg-muted",qa.class)},unref(od)),null,16,["class"]))}}),_sfc_main$U=defineComponent({__name:"MenubarShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn$4)("ml-auto text-xs tracking-widest text-muted-foreground",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$T=defineComponent({__name:"MenubarSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,cd)=>(openBlock(),createBlock(unref(Qh),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$S=defineComponent({__name:"MenubarSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(Kh),null,{default:withCtx(()=>[createVNode(unref(ey),mergeProps(unref(ud),{class:unref(cn$4)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$R=defineComponent({__name:"MenubarSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(ty),mergeProps(unref(od),{class:unref(cn$4)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",ld.inset&&"pl-8",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default"),createVNode(unref(ChevronRight),{class:"ml-auto h-4 w-4"})]),_:3},16,["class"]))}}),_sfc_main$Q=defineComponent({__name:"MenubarTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(zh),mergeProps(unref(od),{class:unref(cn$4)("flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none hover:bg-accent focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$P=defineComponent({__name:"Popover",props:{defaultOpen:{type:Boolean},open:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,cd)=>(openBlock(),createBlock(unref(hs$1),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$O=defineComponent({inheritAttrs:!1,__name:"PopoverContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{default:4},align:{default:"center"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(gs$4),null,{default:withCtx(()=>[createVNode(unref(Cs$2),mergeProps({...unref(ud),...cd.$attrs},{class:unref(cn$4)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$N=defineComponent({__name:"PopoverTrigger",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(ys$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$M=defineComponent({__name:"Select",props:{open:{type:Boolean},defaultOpen:{type:Boolean},defaultValue:{},modelValue:{},dir:{},name:{},autocomplete:{},disabled:{type:Boolean},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,cd)=>(openBlock(),createBlock(unref(ky$1),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$L=defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{default:"popper"},bodyLock:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(Vy),null,{default:withCtx(()=>[createVNode(unref(Fy),mergeProps({...unref(ud),...cd.$attrs},{class:unref(cn$4)("relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",cd.position==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",nd.class)}),{default:withCtx(()=>[createVNode(unref(_sfc_main$I)),createVNode(unref(Uy),{class:normalizeClass(unref(cn$4)("p-1",cd.position==="popper"&&"h-[--radix-select-trigger-height] w-full min-w-[--radix-select-trigger-width]"))},{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},8,["class"]),createVNode(unref(_sfc_main$J))]),_:3},16,["class"])]),_:3}))}}),_hoisted_1$8={class:"absolute left-2 h-3.5 w-3.5 flex items-center justify-center"},_sfc_main$K=defineComponent({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(zy),mergeProps(unref(od),{class:unref(cn$4)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",qa.class)}),{default:withCtx(()=>[createBaseVNode("span",_hoisted_1$8,[createVNode(unref(Ky),null,{default:withCtx(()=>[createVNode(unref(Check),{class:"h-4 w-4"})]),_:1})]),createVNode(unref(jy),null,{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3})]),_:3},16,["class"]))}}),_sfc_main$J=defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(qy),mergeProps(unref(od),{class:unref(cn$4)("flex cursor-default items-center justify-center py-1",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default",{},()=>[createVNode(unref(ChevronDown),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),_sfc_main$I=defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Gy),mergeProps(unref(od),{class:unref(cn$4)("flex cursor-default items-center justify-center py-1",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default",{},()=>[createVNode(unref(ChevronUp),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),_sfc_main$H=defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(My),mergeProps(unref(od),{class:unref(cn$4)("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:truncate text-start",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default"),createVNode(unref(Xy),{"as-child":""},{default:withCtx(()=>[createVNode(unref(ChevronDown),{class:"h-4 w-4 shrink-0 opacity-50"})]),_:1})]),_:3},16,["class"]))}}),_sfc_main$G=defineComponent({__name:"SelectValue",props:{placeholder:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Yy),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$F=defineComponent({__name:"Sonner",props:{invert:{type:Boolean},theme:{},position:{},hotkey:{},richColors:{type:Boolean},expand:{type:Boolean},duration:{},gap:{},visibleToasts:{},closeButton:{type:Boolean},toastOptions:{},class:{},style:{},offset:{},dir:{},icons:{},containerAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Ve),mergeProps({class:"toaster group"},qa,{"toast-options":{classes:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}}}),null,16))}});var E$1="top",R$2="bottom",W$1="right",P$1="left",me$1="auto",G$1=[E$1,R$2,W$1,P$1],U$1="start",J$1="end",Xe="clippingParents",je$1="viewport",K$1="popper",Ye="reference",De=G$1.reduce(function(Ra,qa){return Ra.concat([qa+"-"+U$1,qa+"-"+J$1])},[]),Ee$1=[].concat(G$1,[me$1]).reduce(function(Ra,qa){return Ra.concat([qa,qa+"-"+U$1,qa+"-"+J$1])},[]),Ge="beforeRead",Je="read",Ke="afterRead",Qe="beforeMain",Ze="main",et="afterMain",tt="beforeWrite",nt="write",rt="afterWrite",ot=[Ge,Je,Ke,Qe,Ze,et,tt,nt,rt];function C(Ra){return Ra?(Ra.nodeName||"").toLowerCase():null}function H$1(Ra){if(Ra==null)return window;if(Ra.toString()!=="[object Window]"){var qa=Ra.ownerDocument;return qa&&qa.defaultView||window}return Ra}function Q$1(Ra){var qa=H$1(Ra).Element;return Ra instanceof qa||Ra instanceof Element}function B$1(Ra){var qa=H$1(Ra).HTMLElement;return Ra instanceof qa||Ra instanceof HTMLElement}function Pe$1(Ra){if(typeof ShadowRoot>"u")return!1;var qa=H$1(Ra).ShadowRoot;return Ra instanceof qa||Ra instanceof ShadowRoot}function Mt(Ra){var qa=Ra.state;Object.keys(qa.elements).forEach(function(nd){var od=qa.styles[nd]||{},ld=qa.attributes[nd]||{},ud=qa.elements[nd];!B$1(ud)||!C(ud)||(Object.assign(ud.style,od),Object.keys(ld).forEach(function(cd){var dd=ld[cd];dd===!1?ud.removeAttribute(cd):ud.setAttribute(cd,dd===!0?"":dd)}))})}function Rt(Ra){var qa=Ra.state,nd={popper:{position:qa.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(qa.elements.popper.style,nd.popper),qa.styles=nd,qa.elements.arrow&&Object.assign(qa.elements.arrow.style,nd.arrow),function(){Object.keys(qa.elements).forEach(function(od){var ld=qa.elements[od],ud=qa.attributes[od]||{},cd=Object.keys(qa.styles.hasOwnProperty(od)?qa.styles[od]:nd[od]),dd=cd.reduce(function(pd,fd){return pd[fd]="",pd},{});!B$1(ld)||!C(ld)||(Object.assign(ld.style,dd),Object.keys(ud).forEach(function(pd){ld.removeAttribute(pd)}))})}}var Ae$1={name:"applyStyles",enabled:!0,phase:"write",fn:Mt,effect:Rt,requires:["computeStyles"]};function q$1(Ra){return Ra.split("-")[0]}var X$1=Math.max,ve$1=Math.min,Z$1=Math.round;function ee$1(Ra,qa){qa===void 0&&(qa=!1);var nd=Ra.getBoundingClientRect(),od=1,ld=1;if(B$1(Ra)&&qa){var ud=Ra.offsetHeight,cd=Ra.offsetWidth;cd>0&&(od=Z$1(nd.width)/cd||1),ud>0&&(ld=Z$1(nd.height)/ud||1)}return{width:nd.width/od,height:nd.height/ld,top:nd.top/ld,right:nd.right/od,bottom:nd.bottom/ld,left:nd.left/od,x:nd.left/od,y:nd.top/ld}}function ke$1(Ra){var qa=ee$1(Ra),nd=Ra.offsetWidth,od=Ra.offsetHeight;return Math.abs(qa.width-nd)<=1&&(nd=qa.width),Math.abs(qa.height-od)<=1&&(od=qa.height),{x:Ra.offsetLeft,y:Ra.offsetTop,width:nd,height:od}}function it(Ra,qa){var nd=qa.getRootNode&&qa.getRootNode();if(Ra.contains(qa))return!0;if(nd&&Pe$1(nd)){var od=qa;do{if(od&&Ra.isSameNode(od))return!0;od=od.parentNode||od.host}while(od)}return!1}function N(Ra){return H$1(Ra).getComputedStyle(Ra)}function Wt(Ra){return["table","td","th"].indexOf(C(Ra))>=0}function I(Ra){return((Q$1(Ra)?Ra.ownerDocument:Ra.document)||window.document).documentElement}function ge$1(Ra){return C(Ra)==="html"?Ra:Ra.assignedSlot||Ra.parentNode||(Pe$1(Ra)?Ra.host:null)||I(Ra)}function at(Ra){return!B$1(Ra)||N(Ra).position==="fixed"?null:Ra.offsetParent}function Bt(Ra){var qa=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,nd=navigator.userAgent.indexOf("Trident")!==-1;if(nd&&B$1(Ra)){var od=N(Ra);if(od.position==="fixed")return null}var ld=ge$1(Ra);for(Pe$1(ld)&&(ld=ld.host);B$1(ld)&&["html","body"].indexOf(C(ld))<0;){var ud=N(ld);if(ud.transform!=="none"||ud.perspective!=="none"||ud.contain==="paint"||["transform","perspective"].indexOf(ud.willChange)!==-1||qa&&ud.willChange==="filter"||qa&&ud.filter&&ud.filter!=="none")return ld;ld=ld.parentNode}return null}function se$1(Ra){for(var qa=H$1(Ra),nd=at(Ra);nd&&Wt(nd)&&N(nd).position==="static";)nd=at(nd);return nd&&(C(nd)==="html"||C(nd)==="body"&&N(nd).position==="static")?qa:nd||Bt(Ra)||qa}function Le$1(Ra){return["top","bottom"].indexOf(Ra)>=0?"x":"y"}function fe$1(Ra,qa,nd){return X$1(Ra,ve$1(qa,nd))}function St(Ra,qa,nd){var od=fe$1(Ra,qa,nd);return od>nd?nd:od}function st(){return{top:0,right:0,bottom:0,left:0}}function ft(Ra){return Object.assign({},st(),Ra)}function ct(Ra,qa){return qa.reduce(function(nd,od){return nd[od]=Ra,nd},{})}var Tt=function(Ra,qa){return Ra=typeof Ra=="function"?Ra(Object.assign({},qa.rects,{placement:qa.placement})):Ra,ft(typeof Ra!="number"?Ra:ct(Ra,G$1))};function Ht(Ra){var qa,nd=Ra.state,od=Ra.name,ld=Ra.options,ud=nd.elements.arrow,cd=nd.modifiersData.popperOffsets,dd=q$1(nd.placement),pd=Le$1(dd),fd=[P$1,W$1].indexOf(dd)>=0,md=fd?"height":"width";if(!(!ud||!cd)){var vd=Tt(ld.padding,nd),Ad=ke$1(ud),Nd=pd==="y"?E$1:P$1,Id=pd==="y"?R$2:W$1,kd=nd.rects.reference[md]+nd.rects.reference[pd]-cd[pd]-nd.rects.popper[md],jd=cd[pd]-nd.rects.reference[pd],Fd=se$1(ud),Md=Fd?pd==="y"?Fd.clientHeight||0:Fd.clientWidth||0:0,Ld=kd/2-jd/2,Hd=vd[Nd],Gd=Md-Ad[md]-vd[Id],Vd=Md/2-Ad[md]/2+Ld,Qd=fe$1(Hd,Vd,Gd),mf=pd;nd.modifiersData[od]=(qa={},qa[mf]=Qd,qa.centerOffset=Qd-Vd,qa)}}function Ct(Ra){var qa=Ra.state,nd=Ra.options,od=nd.element,ld=od===void 0?"[data-popper-arrow]":od;ld!=null&&(typeof ld=="string"&&(ld=qa.elements.popper.querySelector(ld),!ld)||!it(qa.elements.popper,ld)||(qa.elements.arrow=ld))}var pt={name:"arrow",enabled:!0,phase:"main",fn:Ht,effect:Ct,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te$1(Ra){return Ra.split("-")[1]}var qt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vt(Ra){var qa=Ra.x,nd=Ra.y,od=window,ld=od.devicePixelRatio||1;return{x:Z$1(qa*ld)/ld||0,y:Z$1(nd*ld)/ld||0}}function ut(Ra){var qa,nd=Ra.popper,od=Ra.popperRect,ld=Ra.placement,ud=Ra.variation,cd=Ra.offsets,dd=Ra.position,pd=Ra.gpuAcceleration,fd=Ra.adaptive,md=Ra.roundOffsets,vd=Ra.isFixed,Ad=cd.x,Nd=Ad===void 0?0:Ad,Id=cd.y,kd=Id===void 0?0:Id,jd=typeof md=="function"?md({x:Nd,y:kd}):{x:Nd,y:kd};Nd=jd.x,kd=jd.y;var Fd=cd.hasOwnProperty("x"),Md=cd.hasOwnProperty("y"),Ld=P$1,Hd=E$1,Gd=window;if(fd){var Vd=se$1(nd),Qd="clientHeight",mf="clientWidth";if(Vd===H$1(nd)&&(Vd=I(nd),N(Vd).position!=="static"&&dd==="absolute"&&(Qd="scrollHeight",mf="scrollWidth")),Vd=Vd,ld===E$1||(ld===P$1||ld===W$1)&&ud===J$1){Hd=R$2;var Yd=vd&&Vd===Gd&&Gd.visualViewport?Gd.visualViewport.height:Vd[Qd];kd-=Yd-od.height,kd*=pd?1:-1}if(ld===P$1||(ld===E$1||ld===R$2)&&ud===J$1){Ld=W$1;var Zd=vd&&Vd===Gd&&Gd.visualViewport?Gd.visualViewport.width:Vd[mf];Nd-=Zd-od.width,Nd*=pd?1:-1}}var Kd=Object.assign({position:dd},fd&&qt),bf=md===!0?Vt({x:Nd,y:kd}):{x:Nd,y:kd};if(Nd=bf.x,kd=bf.y,pd){var gf;return Object.assign({},Kd,(gf={},gf[Hd]=Md?"0":"",gf[Ld]=Fd?"0":"",gf.transform=(Gd.devicePixelRatio||1)<=1?"translate("+Nd+"px, "+kd+"px)":"translate3d("+Nd+"px, "+kd+"px, 0)",gf))}return Object.assign({},Kd,(qa={},qa[Hd]=Md?kd+"px":"",qa[Ld]=Fd?Nd+"px":"",qa.transform="",qa))}function Nt(Ra){var qa=Ra.state,nd=Ra.options,od=nd.gpuAcceleration,ld=od===void 0?!0:od,ud=nd.adaptive,cd=ud===void 0?!0:ud,dd=nd.roundOffsets,pd=dd===void 0?!0:dd,fd={placement:q$1(qa.placement),variation:te$1(qa.placement),popper:qa.elements.popper,popperRect:qa.rects.popper,gpuAcceleration:ld,isFixed:qa.options.strategy==="fixed"};qa.modifiersData.popperOffsets!=null&&(qa.styles.popper=Object.assign({},qa.styles.popper,ut(Object.assign({},fd,{offsets:qa.modifiersData.popperOffsets,position:qa.options.strategy,adaptive:cd,roundOffsets:pd})))),qa.modifiersData.arrow!=null&&(qa.styles.arrow=Object.assign({},qa.styles.arrow,ut(Object.assign({},fd,{offsets:qa.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:pd})))),qa.attributes.popper=Object.assign({},qa.attributes.popper,{"data-popper-placement":qa.placement})}var Me={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}},ye$1={passive:!0};function It(Ra){var qa=Ra.state,nd=Ra.instance,od=Ra.options,ld=od.scroll,ud=ld===void 0?!0:ld,cd=od.resize,dd=cd===void 0?!0:cd,pd=H$1(qa.elements.popper),fd=[].concat(qa.scrollParents.reference,qa.scrollParents.popper);return ud&&fd.forEach(function(md){md.addEventListener("scroll",nd.update,ye$1)}),dd&&pd.addEventListener("resize",nd.update,ye$1),function(){ud&&fd.forEach(function(md){md.removeEventListener("scroll",nd.update,ye$1)}),dd&&pd.removeEventListener("resize",nd.update,ye$1)}}var Re$1={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:It,data:{}},_t={left:"right",right:"left",bottom:"top",top:"bottom"};function be$1(Ra){return Ra.replace(/left|right|bottom|top/g,function(qa){return _t[qa]})}var zt={start:"end",end:"start"};function lt(Ra){return Ra.replace(/start|end/g,function(qa){return zt[qa]})}function We(Ra){var qa=H$1(Ra),nd=qa.pageXOffset,od=qa.pageYOffset;return{scrollLeft:nd,scrollTop:od}}function Be$1(Ra){return ee$1(I(Ra)).left+We(Ra).scrollLeft}function Ft(Ra){var qa=H$1(Ra),nd=I(Ra),od=qa.visualViewport,ld=nd.clientWidth,ud=nd.clientHeight,cd=0,dd=0;return od&&(ld=od.width,ud=od.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(cd=od.offsetLeft,dd=od.offsetTop)),{width:ld,height:ud,x:cd+Be$1(Ra),y:dd}}function Ut(Ra){var qa,nd=I(Ra),od=We(Ra),ld=(qa=Ra.ownerDocument)==null?void 0:qa.body,ud=X$1(nd.scrollWidth,nd.clientWidth,ld?ld.scrollWidth:0,ld?ld.clientWidth:0),cd=X$1(nd.scrollHeight,nd.clientHeight,ld?ld.scrollHeight:0,ld?ld.clientHeight:0),dd=-od.scrollLeft+Be$1(Ra),pd=-od.scrollTop;return N(ld||nd).direction==="rtl"&&(dd+=X$1(nd.clientWidth,ld?ld.clientWidth:0)-ud),{width:ud,height:cd,x:dd,y:pd}}function Se$1(Ra){var qa=N(Ra),nd=qa.overflow,od=qa.overflowX,ld=qa.overflowY;return/auto|scroll|overlay|hidden/.test(nd+ld+od)}function dt(Ra){return["html","body","#document"].indexOf(C(Ra))>=0?Ra.ownerDocument.body:B$1(Ra)&&Se$1(Ra)?Ra:dt(ge$1(Ra))}function ce$1(Ra,qa){var nd;qa===void 0&&(qa=[]);var od=dt(Ra),ld=od===((nd=Ra.ownerDocument)==null?void 0:nd.body),ud=H$1(od),cd=ld?[ud].concat(ud.visualViewport||[],Se$1(od)?od:[]):od,dd=qa.concat(cd);return ld?dd:dd.concat(ce$1(ge$1(cd)))}function Te(Ra){return Object.assign({},Ra,{left:Ra.x,top:Ra.y,right:Ra.x+Ra.width,bottom:Ra.y+Ra.height})}function Xt(Ra){var qa=ee$1(Ra);return qa.top=qa.top+Ra.clientTop,qa.left=qa.left+Ra.clientLeft,qa.bottom=qa.top+Ra.clientHeight,qa.right=qa.left+Ra.clientWidth,qa.width=Ra.clientWidth,qa.height=Ra.clientHeight,qa.x=qa.left,qa.y=qa.top,qa}function ht(Ra,qa){return qa===je$1?Te(Ft(Ra)):Q$1(qa)?Xt(qa):Te(Ut(I(Ra)))}function Yt(Ra){var qa=ce$1(ge$1(Ra)),nd=["absolute","fixed"].indexOf(N(Ra).position)>=0,od=nd&&B$1(Ra)?se$1(Ra):Ra;return Q$1(od)?qa.filter(function(ld){return Q$1(ld)&&it(ld,od)&&C(ld)!=="body"}):[]}function Gt(Ra,qa,nd){var od=qa==="clippingParents"?Yt(Ra):[].concat(qa),ld=[].concat(od,[nd]),ud=ld[0],cd=ld.reduce(function(dd,pd){var fd=ht(Ra,pd);return dd.top=X$1(fd.top,dd.top),dd.right=ve$1(fd.right,dd.right),dd.bottom=ve$1(fd.bottom,dd.bottom),dd.left=X$1(fd.left,dd.left),dd},ht(Ra,ud));return cd.width=cd.right-cd.left,cd.height=cd.bottom-cd.top,cd.x=cd.left,cd.y=cd.top,cd}function mt(Ra){var qa=Ra.reference,nd=Ra.element,od=Ra.placement,ld=od?q$1(od):null,ud=od?te$1(od):null,cd=qa.x+qa.width/2-nd.width/2,dd=qa.y+qa.height/2-nd.height/2,pd;switch(ld){case E$1:pd={x:cd,y:qa.y-nd.height};break;case R$2:pd={x:cd,y:qa.y+qa.height};break;case W$1:pd={x:qa.x+qa.width,y:dd};break;case P$1:pd={x:qa.x-nd.width,y:dd};break;default:pd={x:qa.x,y:qa.y}}var fd=ld?Le$1(ld):null;if(fd!=null){var md=fd==="y"?"height":"width";switch(ud){case U$1:pd[fd]=pd[fd]-(qa[md]/2-nd[md]/2);break;case J$1:pd[fd]=pd[fd]+(qa[md]/2-nd[md]/2);break}}return pd}function ne$1(Ra,qa){qa===void 0&&(qa={});var nd=qa,od=nd.placement,ld=od===void 0?Ra.placement:od,ud=nd.boundary,cd=ud===void 0?Xe:ud,dd=nd.rootBoundary,pd=dd===void 0?je$1:dd,fd=nd.elementContext,md=fd===void 0?K$1:fd,vd=nd.altBoundary,Ad=vd===void 0?!1:vd,Nd=nd.padding,Id=Nd===void 0?0:Nd,kd=ft(typeof Id!="number"?Id:ct(Id,G$1)),jd=md===K$1?Ye:K$1,Fd=Ra.rects.popper,Md=Ra.elements[Ad?jd:md],Ld=Gt(Q$1(Md)?Md:Md.contextElement||I(Ra.elements.popper),cd,pd),Hd=ee$1(Ra.elements.reference),Gd=mt({reference:Hd,element:Fd,strategy:"absolute",placement:ld}),Vd=Te(Object.assign({},Fd,Gd)),Qd=md===K$1?Vd:Hd,mf={top:Ld.top-Qd.top+kd.top,bottom:Qd.bottom-Ld.bottom+kd.bottom,left:Ld.left-Qd.left+kd.left,right:Qd.right-Ld.right+kd.right},Yd=Ra.modifiersData.offset;if(md===K$1&&Yd){var Zd=Yd[ld];Object.keys(mf).forEach(function(Kd){var bf=[W$1,R$2].indexOf(Kd)>=0?1:-1,gf=[E$1,R$2].indexOf(Kd)>=0?"y":"x";mf[Kd]+=Zd[gf]*bf})}return mf}function Jt(Ra,qa){qa===void 0&&(qa={});var nd=qa,od=nd.placement,ld=nd.boundary,ud=nd.rootBoundary,cd=nd.padding,dd=nd.flipVariations,pd=nd.allowedAutoPlacements,fd=pd===void 0?Ee$1:pd,md=te$1(od),vd=md?dd?De:De.filter(function(Id){return te$1(Id)===md}):G$1,Ad=vd.filter(function(Id){return fd.indexOf(Id)>=0});Ad.length===0&&(Ad=vd);var Nd=Ad.reduce(function(Id,kd){return Id[kd]=ne$1(Ra,{placement:kd,boundary:ld,rootBoundary:ud,padding:cd})[q$1(kd)],Id},{});return Object.keys(Nd).sort(function(Id,kd){return Nd[Id]-Nd[kd]})}function Kt(Ra){if(q$1(Ra)===me$1)return[];var qa=be$1(Ra);return[lt(Ra),qa,lt(qa)]}function Qt(Ra){var qa=Ra.state,nd=Ra.options,od=Ra.name;if(!qa.modifiersData[od]._skip){for(var ld=nd.mainAxis,ud=ld===void 0?!0:ld,cd=nd.altAxis,dd=cd===void 0?!0:cd,pd=nd.fallbackPlacements,fd=nd.padding,md=nd.boundary,vd=nd.rootBoundary,Ad=nd.altBoundary,Nd=nd.flipVariations,Id=Nd===void 0?!0:Nd,kd=nd.allowedAutoPlacements,jd=qa.options.placement,Fd=q$1(jd),Md=Fd===jd,Ld=pd||(Md||!Id?[be$1(jd)]:Kt(jd)),Hd=[jd].concat(Ld).reduce(function(Uf,qf){return Uf.concat(q$1(qf)===me$1?Jt(qa,{placement:qf,boundary:md,rootBoundary:vd,padding:fd,flipVariations:Id,allowedAutoPlacements:kd}):qf)},[]),Gd=qa.rects.reference,Vd=qa.rects.popper,Qd=new Map,mf=!0,Yd=Hd[0],Zd=0;Zd=0,yf=Ef?"width":"height",xf=ne$1(qa,{placement:Kd,boundary:md,rootBoundary:vd,altBoundary:Ad,padding:fd}),Af=Ef?gf?W$1:P$1:gf?R$2:E$1;Gd[yf]>Vd[yf]&&(Af=be$1(Af));var Lf=be$1(Af),Xf=[];if(ud&&Xf.push(xf[bf]<=0),dd&&Xf.push(xf[Af]<=0,xf[Lf]<=0),Xf.every(function(Uf){return Uf})){Yd=Kd,mf=!1;break}Qd.set(Kd,Xf)}if(mf)for(var ih=Id?3:1,Zf=function(Uf){var qf=Hd.find(function(Kf){var Tf=Qd.get(Kf);if(Tf)return Tf.slice(0,Uf).every(function(vf){return vf})});if(qf)return Yd=qf,"break"},jf=ih;jf>0;jf--){var If=Zf(jf);if(If==="break")break}qa.placement!==Yd&&(qa.modifiersData[od]._skip=!0,qa.placement=Yd,qa.reset=!0)}}var vt={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function gt(Ra,qa,nd){return nd===void 0&&(nd={x:0,y:0}),{top:Ra.top-qa.height-nd.y,right:Ra.right-qa.width+nd.x,bottom:Ra.bottom-qa.height+nd.y,left:Ra.left-qa.width-nd.x}}function yt(Ra){return[E$1,W$1,R$2,P$1].some(function(qa){return Ra[qa]>=0})}function Zt(Ra){var qa=Ra.state,nd=Ra.name,od=qa.rects.reference,ld=qa.rects.popper,ud=qa.modifiersData.preventOverflow,cd=ne$1(qa,{elementContext:"reference"}),dd=ne$1(qa,{altBoundary:!0}),pd=gt(cd,od),fd=gt(dd,ld,ud),md=yt(pd),vd=yt(fd);qa.modifiersData[nd]={referenceClippingOffsets:pd,popperEscapeOffsets:fd,isReferenceHidden:md,hasPopperEscaped:vd},qa.attributes.popper=Object.assign({},qa.attributes.popper,{"data-popper-reference-hidden":md,"data-popper-escaped":vd})}var bt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt};function en(Ra,qa,nd){var od=q$1(Ra),ld=[P$1,E$1].indexOf(od)>=0?-1:1,ud=typeof nd=="function"?nd(Object.assign({},qa,{placement:Ra})):nd,cd=ud[0],dd=ud[1];return cd=cd||0,dd=(dd||0)*ld,[P$1,W$1].indexOf(od)>=0?{x:dd,y:cd}:{x:cd,y:dd}}function tn(Ra){var qa=Ra.state,nd=Ra.options,od=Ra.name,ld=nd.offset,ud=ld===void 0?[0,0]:ld,cd=Ee$1.reduce(function(md,vd){return md[vd]=en(vd,qa.rects,ud),md},{}),dd=cd[qa.placement],pd=dd.x,fd=dd.y;qa.modifiersData.popperOffsets!=null&&(qa.modifiersData.popperOffsets.x+=pd,qa.modifiersData.popperOffsets.y+=fd),qa.modifiersData[od]=cd}var wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tn};function nn(Ra){var qa=Ra.state,nd=Ra.name;qa.modifiersData[nd]=mt({reference:qa.rects.reference,element:qa.rects.popper,strategy:"absolute",placement:qa.placement})}var He={name:"popperOffsets",enabled:!0,phase:"read",fn:nn,data:{}};function rn(Ra){return Ra==="x"?"y":"x"}function on(Ra){var qa=Ra.state,nd=Ra.options,od=Ra.name,ld=nd.mainAxis,ud=ld===void 0?!0:ld,cd=nd.altAxis,dd=cd===void 0?!1:cd,pd=nd.boundary,fd=nd.rootBoundary,md=nd.altBoundary,vd=nd.padding,Ad=nd.tether,Nd=Ad===void 0?!0:Ad,Id=nd.tetherOffset,kd=Id===void 0?0:Id,jd=ne$1(qa,{boundary:pd,rootBoundary:fd,padding:vd,altBoundary:md}),Fd=q$1(qa.placement),Md=te$1(qa.placement),Ld=!Md,Hd=Le$1(Fd),Gd=rn(Hd),Vd=qa.modifiersData.popperOffsets,Qd=qa.rects.reference,mf=qa.rects.popper,Yd=typeof kd=="function"?kd(Object.assign({},qa.rects,{placement:qa.placement})):kd,Zd=typeof Yd=="number"?{mainAxis:Yd,altAxis:Yd}:Object.assign({mainAxis:0,altAxis:0},Yd),Kd=qa.modifiersData.offset?qa.modifiersData.offset[qa.placement]:null,bf={x:0,y:0};if(Vd){if(ud){var gf,Ef=Hd==="y"?E$1:P$1,yf=Hd==="y"?R$2:W$1,xf=Hd==="y"?"height":"width",Af=Vd[Hd],Lf=Af+jd[Ef],Xf=Af-jd[yf],ih=Nd?-mf[xf]/2:0,Zf=Md===U$1?Qd[xf]:mf[xf],jf=Md===U$1?-mf[xf]:-Qd[xf],If=qa.elements.arrow,Uf=Nd&&If?ke$1(If):{width:0,height:0},qf=qa.modifiersData["arrow#persistent"]?qa.modifiersData["arrow#persistent"].padding:st(),Kf=qf[Ef],Tf=qf[yf],vf=fe$1(0,Qd[xf],Uf[xf]),Gf=Ld?Qd[xf]/2-ih-vf-Kf-Zd.mainAxis:Zf-vf-Kf-Zd.mainAxis,Jf=Ld?-Qd[xf]/2+ih+vf+Tf+Zd.mainAxis:jf+vf+Tf+Zd.mainAxis,gh=qa.elements.arrow&&se$1(qa.elements.arrow),th=gh?Hd==="y"?gh.clientTop||0:gh.clientLeft||0:0,Pf=(gf=Kd==null?void 0:Kd[Hd])!=null?gf:0,uh=Af+Gf-Pf-th,xh=Af+Jf-Pf,Qf=fe$1(Nd?ve$1(Lf,uh):Lf,Af,Nd?X$1(Xf,xh):Xf);Vd[Hd]=Qf,bf[Hd]=Qf-Af}if(dd){var Nf,$f=Hd==="x"?E$1:P$1,Wf=Hd==="x"?R$2:W$1,vh=Vd[Gd],Th=Gd==="y"?"height":"width",dh=vh+jd[$f],Vh=vh-jd[Wf],wh=[E$1,P$1].indexOf(Fd)!==-1,fm=(Nf=Kd==null?void 0:Kd[Gd])!=null?Nf:0,Nm=wh?dh:vh-Qd[Th]-mf[Th]-fm+Zd.altAxis,cm=wh?vh+Qd[Th]+mf[Th]-fm-Zd.altAxis:Vh,Sm=Nd&&wh?St(Nm,vh,cm):fe$1(Nd?Nm:dh,vh,Nd?cm:Vh);Vd[Gd]=Sm,bf[Gd]=Sm-vh}qa.modifiersData[od]=bf}}var xt={name:"preventOverflow",enabled:!0,phase:"main",fn:on,requiresIfExists:["offset"]};function an(Ra){return{scrollLeft:Ra.scrollLeft,scrollTop:Ra.scrollTop}}function sn(Ra){return Ra===H$1(Ra)||!B$1(Ra)?We(Ra):an(Ra)}function fn(Ra){var qa=Ra.getBoundingClientRect(),nd=Z$1(qa.width)/Ra.offsetWidth||1,od=Z$1(qa.height)/Ra.offsetHeight||1;return nd!==1||od!==1}function cn(Ra,qa,nd){nd===void 0&&(nd=!1);var od=B$1(qa),ld=B$1(qa)&&fn(qa),ud=I(qa),cd=ee$1(Ra,ld),dd={scrollLeft:0,scrollTop:0},pd={x:0,y:0};return(od||!od&&!nd)&&((C(qa)!=="body"||Se$1(ud))&&(dd=sn(qa)),B$1(qa)?(pd=ee$1(qa,!0),pd.x+=qa.clientLeft,pd.y+=qa.clientTop):ud&&(pd.x=Be$1(ud))),{x:cd.left+dd.scrollLeft-pd.x,y:cd.top+dd.scrollTop-pd.y,width:cd.width,height:cd.height}}function pn(Ra){var qa=new Map,nd=new Set,od=[];Ra.forEach(function(ud){qa.set(ud.name,ud)});function ld(ud){nd.add(ud.name);var cd=[].concat(ud.requires||[],ud.requiresIfExists||[]);cd.forEach(function(dd){if(!nd.has(dd)){var pd=qa.get(dd);pd&&ld(pd)}}),od.push(ud)}return Ra.forEach(function(ud){nd.has(ud.name)||ld(ud)}),od}function un(Ra){var qa=pn(Ra);return ot.reduce(function(nd,od){return nd.concat(qa.filter(function(ld){return ld.phase===od}))},[])}function ln(Ra){var qa;return function(){return qa||(qa=new Promise(function(nd){Promise.resolve().then(function(){qa=void 0,nd(Ra())})})),qa}}function dn(Ra){var qa=Ra.reduce(function(nd,od){var ld=nd[od.name];return nd[od.name]=ld?Object.assign({},ld,od,{options:Object.assign({},ld.options,od.options),data:Object.assign({},ld.data,od.data)}):od,nd},{});return Object.keys(qa).map(function(nd){return qa[nd]})}var Ot={placement:"bottom",modifiers:[],strategy:"absolute"};function $t(){for(var Ra=arguments.length,qa=new Array(Ra),nd=0;ndRa.length)&&(qa=Ra.length);for(var nd=0,od=Array(qa);nd=0;--jf){var If=this.tryEntries[jf],Uf=If.completion;if(If.tryLoc==="root")return Zf("end");if(If.tryLoc<=this.prev){var qf=cd.call(If,"catchLoc"),Kf=cd.call(If,"finallyLoc");if(qf&&Kf){if(this.prev=0;--Zf){var jf=this.tryEntries[Zf];if(jf.tryLoc<=this.prev&&cd.call(jf,"finallyLoc")&&this.prev=0;--ih){var Zf=this.tryEntries[ih];if(Zf.finallyLoc===Xf)return this.complete(Zf.completion,Zf.afterLoc),xf(Zf),Ld}},catch:function(Xf){for(var ih=this.tryEntries.length-1;ih>=0;--ih){var Zf=this.tryEntries[ih];if(Zf.tryLoc===Xf){var jf=Zf.completion;if(jf.type==="throw"){var If=jf.arg;xf(Zf)}return If}}throw Error("illegal catch attempt")},delegateYield:function(Xf,ih,Zf){return this.delegate={iterator:Lf(Xf),resultName:ih,nextLoc:Zf},this.method==="next"&&(this.arg=od),Ld}},ld}Ra.exports=nd,Ra.exports.__esModule=!0,Ra.exports.default=Ra.exports}(B);var z=B.exports(),M=z;try{regeneratorRuntime=z}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=z:Function("r","regeneratorRuntime = r")(z)}function D(Ra,qa){return function(nd){if(Array.isArray(nd))return nd}(Ra)||function(nd,od){var ld=nd==null?null:typeof Symbol<"u"&&nd[Symbol.iterator]||nd["@@iterator"];if(ld!=null){var ud,cd,dd,pd,fd=[],md=!0,vd=!1;try{if(dd=(ld=ld.call(nd)).next,od===0){if(Object(ld)!==ld)return;md=!1}else for(;!(md=(ud=dd.call(ld)).done)&&(fd.push(ud.value),fd.length!==od);md=!0);}catch(Ad){vd=!0,cd=Ad}finally{try{if(!md&&ld.return!=null&&(pd=ld.return(),Object(pd)!==pd))return}finally{if(vd)throw cd}}return fd}}(Ra,qa)||_$1(Ra,qa)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function T(Ra){var qa=function(nd,od){if(P(nd)!="object"||!nd)return nd;var ld=nd[Symbol.toPrimitive];if(ld!==void 0){var ud=ld.call(nd,od||"default");if(P(ud)!="object")return ud;throw new TypeError("@@toPrimitive must return a primitive value.")}return(od==="string"?String:Number)(nd)}(Ra,"string");return P(qa)=="symbol"?qa:qa+""}function H(Ra,qa,nd){return(qa=T(qa))in Ra?Object.defineProperty(Ra,qa,{value:nd,enumerable:!0,configurable:!0,writable:!0}):Ra[qa]=nd,Ra}var G=defineComponent({name:"Saturation",props:{size:{type:Number,default:160},hue:{type:Number,default:0},saturation:{type:Number,default:0},value:{type:Number,default:0}},emits:["change"],setup:function(Ra,qa){var nd=qa.emit,od=computed(function(){return{width:"".concat(Ra.size,"px"),height:"".concat(Ra.size,"px"),background:"hsl(".concat(Ra.hue,", 100%, 50%)")}});return{saturationStyle:od,sliderStyle:computed(function(){return{top:"".concat((100-Ra.value)/100*Ra.size-5,"px"),left:"".concat(Ra.saturation*Ra.size/100-5,"px"),width:"".concat(10,"px"),height:"".concat(10,"px")}}),onSelect:function(ld){var ud=ld.target.getBoundingClientRect(),cd=ud.left,dd=ud.top,pd=function(md){var vd=md.clientX,Ad=md.clientY,Nd=vd-cd,Id=Ad-dd;Nd<0&&(Nd=0),Id<0&&(Id=0),Nd>Ra.size&&(Nd=Ra.size),Id>Ra.size&&(Id=Ra.size);var kd=Nd/Ra.size*100,jd=100-Id/Ra.size*100;nd("change",kd,jd)},fd=function(){document.removeEventListener("mousemove",pd),document.removeEventListener("mouseup",fd)};pd(ld),document.addEventListener("mousemove",pd),document.addEventListener("mouseup",fd)}}}});function V(Ra,qa){qa===void 0&&(qa={});var nd=qa.insertAt;if(Ra&&typeof document<"u"){var od=document.head||document.getElementsByTagName("head")[0],ld=document.createElement("style");ld.type="text/css",nd==="top"&&od.firstChild?od.insertBefore(ld,od.firstChild):od.appendChild(ld),ld.styleSheet?ld.styleSheet.cssText=Ra:ld.appendChild(document.createTextNode(Ra))}}V(".saturation[data-v-24517fec]{position:relative}.saturation-black[data-v-24517fec],.saturation-white[data-v-24517fec]{cursor:pointer;height:100%;left:0;position:absolute;top:0;width:100%}.saturation-white[data-v-24517fec]{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.saturation-black[data-v-24517fec]{background:linear-gradient(0deg,#000,transparent)}.slider[data-v-24517fec]{border:1px solid #fff;border-radius:50%;box-shadow:0 0 1px 1px rgba(0,0,0,.3);left:0;pointer-events:none;position:absolute;top:0;z-index:1}"),G.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",{class:"saturation",style:normalizeStyle(Ra.saturationStyle),onMousedown:qa[0]||(qa[0]=withModifiers(function(){return Ra.onSelect&&Ra.onSelect.apply(Ra,arguments)},["prevent","stop"]))},[qa[1]||(qa[1]=createBaseVNode("div",{class:"saturation-white"},null,-1)),qa[2]||(qa[2]=createBaseVNode("div",{class:"saturation-black"},null,-1)),createBaseVNode("div",{class:"slider",style:normalizeStyle(Ra.sliderStyle)},null,4)],36)},G.__scopeId="data-v-24517fec",G.__file="src/picker/Saturation.vue";var Y=defineComponent({name:"Hue",props:{width:{type:Number,default:15},height:{type:Number,default:160},hue:{type:Number,default:0}},emits:["change"],setup:function(Ra,qa){var nd=qa.emit,od=computed(function(){return{top:"".concat((1-Ra.hue/360)*Ra.height-2,"px"),height:"".concat(4,"px")}}),ld=ref$1();return onMounted(function(){(function(){ld.value.width=Ra.width,ld.value.height=Ra.height;var ud=ld.value.getContext("2d"),cd=ud.createLinearGradient(0,0,0,Ra.height);cd.addColorStop(0,"#FF0000"),cd.addColorStop(.17,"#FF00FF"),cd.addColorStop(.34,"#0000FF"),cd.addColorStop(.51,"#00FFFF"),cd.addColorStop(.68,"#00FF00"),cd.addColorStop(.17*5,"#FFFF00"),cd.addColorStop(1,"#FF0000"),ud.fillStyle=cd,ud.fillRect(0,0,Ra.width,Ra.height)})()}),{canvas:ld,sliderStyle:od,onSelect:function(ud){var cd=ud.target.getBoundingClientRect().top,dd=function(fd){var md=fd.clientY-cd;md<0&&(md=0),md>Ra.height&&(md=Ra.height);var vd=-100*md/Ra.height+100;nd("change",360*vd/100)},pd=function(){document.removeEventListener("mousemove",dd),document.removeEventListener("mouseup",pd)};dd(ud),document.addEventListener("mousemove",dd),document.addEventListener("mouseup",pd)}}}}),$={ref:"canvas"};V(".hue[data-v-78b9f4f0]{position:relative}.slider[data-v-78b9f4f0]{background:#fff;box-shadow:0 0 1px 0 rgba(0,0,0,.3);left:0;pointer-events:none;position:absolute;width:100%;z-index:1}"),Y.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",{class:"hue",onMousedown:qa[0]||(qa[0]=withModifiers(function(){return Ra.onSelect&&Ra.onSelect.apply(Ra,arguments)},["prevent","stop"]))},[createBaseVNode("canvas",$,null,512),createBaseVNode("div",{class:"slider",style:normalizeStyle(Ra.sliderStyle)},null,4)],32)},Y.__scopeId="data-v-78b9f4f0",Y.__file="src/picker/Hue.vue";var J=defineComponent({name:"Alpha",props:{width:{type:Number,default:15},height:{type:Number,default:160},color:{type:String,default:"#000000"},alpha:{type:Number,default:1}},setup:function(Ra,qa){var nd=qa.emit,od=computed(function(){return{top:"".concat(Ra.alpha*Ra.height-2,"px"),height:"".concat(4,"px")}}),ld=ref$1(),ud=function(){var cd=ld.value.getContext("2d");ld.value.width=Ra.width,ld.value.height=Ra.height;var dd=function(fd){var md=document.createElement("canvas"),vd=md.getContext("2d"),Ad=2*fd;return md.width=Ad,md.height=Ad,vd.fillStyle="#ffffff",vd.fillRect(0,0,Ad,Ad),vd.fillStyle="#ccd5db",vd.fillRect(0,0,fd,fd),vd.fillRect(fd,fd,fd,fd),md}(5);cd.fillStyle=cd.createPattern(dd,"repeat"),cd.fillRect(0,0,Ra.width,Ra.height);var pd=cd.createLinearGradient(0,0,0,Ra.height);pd.addColorStop(.01,"rgba(255,255,255,0)"),pd.addColorStop(.99,Ra.color),cd.fillStyle=pd,cd.fillRect(0,0,Ra.width,Ra.height)};return watch(function(){return Ra.color},function(){ud()}),onMounted(function(){ud()}),{canvas:ld,sliderStyle:od,onSelect:function(cd){var dd=cd.target.getBoundingClientRect().top,pd=function(md){var vd=md.clientY-dd;vd<0&&(vd=0),vd>Ra.height&&(vd=Ra.height);var Ad=parseFloat((vd/Ra.height).toFixed(2));nd("change",Ad)},fd=function(){document.removeEventListener("mousemove",pd),document.removeEventListener("mouseup",fd)};pd(cd),document.addEventListener("mousemove",pd),document.addEventListener("mouseup",fd)}}}}),X={ref:"canvas"};V(".alpha[data-v-24dc9656]{position:relative}.slider[data-v-24dc9656]{background:#fff;box-shadow:0 0 1px 0 rgba(0,0,0,.3);left:0;pointer-events:none;position:absolute;width:100%;z-index:1}"),J.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",{class:"alpha",onMousedown:qa[0]||(qa[0]=withModifiers(function(){return Ra.onSelect&&Ra.onSelect.apply(Ra,arguments)},["prevent","stop"]))},[createBaseVNode("canvas",X,null,512),createBaseVNode("div",{class:"slider",style:normalizeStyle(Ra.sliderStyle)},null,4)],32)},J.__scopeId="data-v-24dc9656",J.__file="src/picker/Alpha.vue";var q={rgb:"RGBA",hex:"HEX",hsl:"HSLA",hsv:"HSVA"},U={rgb:"RGB",hex:"HEX",hsl:"HSL",hsv:"HSV"},W={RGB:"rgb",RGBA:"rgb",HEX:"hex",HSL:"hsl",HSLA:"hsl",HSV:"hsv",HSVA:"hsv"};function K(Ra,qa){var nd=Object.keys(Ra);if(Object.getOwnPropertySymbols){var od=Object.getOwnPropertySymbols(Ra);qa&&(od=od.filter(function(ld){return Object.getOwnPropertyDescriptor(Ra,ld).enumerable})),nd.push.apply(nd,od)}return nd}function Q(Ra){for(var qa=1;qa1}),pd=computed(function(){var md=Ra.options,vd=Ra.showAlpha,Ad=Ra.value;return Array.isArray(md)?vd?md.map(function(Nd){return q[Nd]}).filter(function(Nd){return!Nd.includes(Ad)}):md.map(function(Nd){return U[Nd]}).filter(function(Nd){return!Nd.includes(Ad)}):[]}),fd=function(md){var vd,Ad,Nd=md.target;!((vd=unref(od))!==null&&vd!==void 0&&vd.isEqualNode(Nd))&&(!((Ad=unref(od))===null||Ad===void 0)&&Ad.contains(Nd))||(ud.value=!1)};return onMounted(function(){document.addEventListener("mouseup",fd,!1)}),onUnmounted(function(){document.removeEventListener("mouseup",fd,!1)}),{targetRef:od,selectorRef:ld,selectorStyle:cd,isShowSelector:ud,isNeedSelect:dd,formatOptions:pd,onShow:function(){dd.value&&(ud.value=!0)},onFormatChange:function(md){nd("change",W[md])}}}}),re={class:"format"},ne={key:0,class:"arrow"},oe=["onClick"];V(".format[data-v-5f6e8f5e]{position:relative}.label[data-v-5f6e8f5e]{align-items:center;background:#e7e8e9;color:#999;display:flex;float:left;font-weight:500;height:30px;justify-content:center;position:relative;width:60px}[pick-colors-theme=dark] .label[data-v-5f6e8f5e]{background:#252930;color:#999}.arrow[data-v-5f6e8f5e]{height:6px;margin-bottom:4px;margin-left:5px;transform:rotate(135deg);width:6px}.arrow[data-v-5f6e8f5e],[pick-colors-theme=dark] .arrow[data-v-5f6e8f5e]{border-right:1px solid #999;border-top:1px solid #999}.selector[data-v-5f6e8f5e]{align-items:center;background:#f7f8f9;border-radius:5px;box-shadow:0 0 16px 0 rgba(0,0,0,.16);cursor:pointer;display:flex;flex-direction:column;font-weight:400;justify-content:center;padding:4px}[pick-colors-theme=dark] .selector[data-v-5f6e8f5e]{background:#252930;color:#999}.selector-item[data-v-5f6e8f5e]{align-items:center;display:flex;height:30px;justify-content:center;width:60px}.selector-item[data-v-5f6e8f5e]:hover{background:#e1f2fe}[pick-colors-theme=dark] .selector-item[data-v-5f6e8f5e]{color:#fff}[pick-colors-theme=dark] .selector-item[data-v-5f6e8f5e]:hover{background:#0087fa}.active-selector-item[data-v-5f6e8f5e]{background:#e1f2fe}[pick-colors-theme=dark] .active-selector-item[data-v-5f6e8f5e]{background:#0087fa}.v-enter-active[data-v-5f6e8f5e],.v-leave-active[data-v-5f6e8f5e]{opacity:1;transform:scaleY(1);transform-origin:center top;transition:opacity .2s ease-in-out,transform .2s ease-in-out}.v-enter-from[data-v-5f6e8f5e],.v-leave-to[data-v-5f6e8f5e]{opacity:0;transform:scaleY(0)}"),te.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",re,[createBaseVNode("div",{class:"label",ref:"targetRef",onClick:qa[0]||(qa[0]=function(){return Ra.onShow&&Ra.onShow.apply(Ra,arguments)})},[createBaseVNode("span",null,toDisplayString(Ra.value),1),Ra.isNeedSelect?(openBlock(),createElementBlock("div",ne)):createCommentVNode("v-if",!0)],512),createVNode(Transition$1,null,{default:withCtx(function(){return[Ra.isShowSelector?(openBlock(),createElementBlock("div",{key:0,class:"selector",ref:"selectorRef",style:normalizeStyle(Ra.selectorStyle)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ra.formatOptions,function(cd){return openBlock(),createElementBlock("div",{class:"selector-item",key:cd,onClick:function(dd){return Ra.onFormatChange(cd)}},toDisplayString(cd),9,oe)}),128))],4)):createCommentVNode("v-if",!0)]}),_:1})])},te.__scopeId="data-v-5f6e8f5e",te.__file="src/picker/input-value/FormatValue.vue";var ae=defineComponent({name:"Input",components:{FormatValue:te},props:{format:{type:String,default:"RGBA"},value:{type:String,default:""},width:{type:Number},showAlpha:{type:Boolean},formatOptions:{type:[Boolean,Array]}},emits:["change","focus","blur","enter","formatChange"],setup:function(Ra,qa){var nd=qa.emit;return{onInput:function(od){var ld;nd("change",(ld=od.target)===null||ld===void 0?void 0:ld.value)},valueStyle:computed(function(){return{minWidth:"".concat(Ra.width,"px"),maxWidth:"".concat(Ra.width,"px"),width:"".concat(Ra.width,"px")}}),onFocus:function(){nd("focus")},onBlur:function(){nd("blur")},onEnter:function(){nd("enter")},onFormatChange:function(od){nd("formatChange",od)}}}}),ie={class:"input"},le=[".value"];function ce(Ra,qa){var nd=Object.keys(Ra);if(Object.getOwnPropertySymbols){var od=Object.getOwnPropertySymbols(Ra);qa&&(od=od.filter(function(ld){return Object.getOwnPropertyDescriptor(Ra,ld).enumerable})),nd.push.apply(nd,od)}return nd}function ue(Ra){for(var qa=1;qa0?parseFloat(od.toFixed(2)):od,qa){case"hsl":var fd=se(ud,cd/100,dd/100);return"hsla(".concat(ud.toFixed(0),", ").concat(Math.round(100*fd[1]),"%, ").concat(Math.round(100*fd[2]),"%, ").concat(pd,")");case"hsv":return"hsva(".concat(ud.toFixed(0),", ").concat(Math.round(cd),"%, ").concat(Math.round(dd),"%, ").concat(pd,")");case"rgb":var md=ve(ud,cd,dd),vd=md.r,Ad=md.g,Nd=md.b;return"rgba(".concat(vd,", ").concat(Ad,", ").concat(Nd,", ").concat(pd,")");default:return"".concat(pe(ve(ud,cd,dd))).concat(de(255*pd))}else switch(qa){case"hsl":var Id=se(ud,cd/100,dd/100);return"hsl(".concat(ud.toFixed(0),", ").concat(Math.round(100*Id[1]),"%, ").concat(Math.round(100*Id[2]),"%)");case"hsv":return"hsv(".concat(ud.toFixed(0),", ").concat(Math.round(cd),"%, ").concat(Math.round(dd),"%)");case"rgb":var kd=ve(ud,cd,dd),jd=kd.r,Fd=kd.g,Md=kd.b;return"rgb(".concat(jd,", ").concat(Fd,", ").concat(Md,")");default:return pe(ve(ud,cd,dd))}},ge=function(Ra){var qa=Ra.r,nd=Ra.g,od=Ra.b;qa=he(qa,255),nd=he(nd,255),od=he(od,255);var ld,ud=Math.max(qa,nd,od),cd=Math.min(qa,nd,od),dd=ud,pd=ud-cd,fd=ud===0?0:pd/ud;if(ud===cd)ld=0;else{switch(ud){case qa:ld=(nd-od)/pd+(nd2&&arguments[2]!==void 0)||arguments[2])switch(qa){case"rgb":var nd=we(Ra),od=nd.r,ld=nd.g,ud=nd.b,cd=nd.a;return ue(ue({},ge({r:od,g:ld,b:ud})),{},{a:+cd});case"hsv":var dd=ke(Ra);return{h:dd.h,s:dd.s,v:dd.v,a:dd.a};case"hsl":var pd=Se(Ra),fd=pd.h,md=pd.s,vd=pd.l,Ad=pd.a;return ue(ue({},ye({h:fd,s:md,l:vd})),{},{a:+Ad});default:var Nd=be(Ra),Id=Nd.r,kd=Nd.g,jd=Nd.b,Fd=Nd.a;return ue(ue({},ge({r:Id,g:kd,b:jd})),{},{a:Fd/255})}else switch(qa){case"rgb":return ue(ue({},ge(we(Ra))),{},{a:1});case"hsv":var Md=ke(Ra);return{h:Md.h,s:Md.s,v:Md.v,a:1};case"hsl":return ue(ue({},ye(Se(Ra))),{},{a:1});default:return ue(ue({},ge(be(Ra))),{},{a:1})}},Oe=function(Ra){return Ra.match(/^#/)?"hex":Ra.match(/^rgb/)?"rgb":Ra.match(/^hsl/)?"hsl":Ra.match(/^hsv/)?"hsv":"hex"},Ae=function(Ra){var qa=Ra.h,nd=Ra.s,od=Ra.v,ld=Ra.a;return isNaN(qa)&&isNaN(nd)&&isNaN(od)?null:(isNaN(qa)&&(qa=0),isNaN(nd)&&(nd=0),isNaN(od)&&(od=0),isNaN(ld)&&(ld=1),{h:qa,s:nd,v:od,a:ld})},Ne=defineComponent({name:"ColorItem",props:{size:{type:[Number,String],default:20},width:{type:[Number,String]},height:{type:[Number,String]},value:{type:String,default:""},border:{type:Boolean,default:!0},borderRadius:{type:Number,default:5},selected:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1}},emits:["select"],setup:function(Ra){var qa=ref$1(),nd=inject("theme",{theme:"light"}).theme,od=computed(function(){return parseFloat((Ra.width||Ra.size)+"")}),ld=computed(function(){return parseFloat((Ra.height||Ra.size)+"")}),ud=computed(function(){return{width:"".concat(unref(od),"px"),height:"".concat(unref(ld),"px"),border:Ra.border?"1px solid ".concat(unref(nd)==="dark"?"#434345":"#d9d9d9"):"",borderRadius:"".concat(Ra.borderRadius,"px"),boxShadow:Ra.selected?"0 0 3px 2px ".concat(unref(nd)==="dark"?"#2681ff":"#1890ff"):""}}),cd=function(){var dd=qa.value.getContext("2d");qa.value.width=unref(od),qa.value.height=unref(ld);var pd=function(fd){var md=document.createElement("canvas"),vd=md.getContext("2d"),Ad=2*fd;return md.width=Ad,md.height=Ad,vd.fillStyle="#ffffff",vd.fillRect(0,0,Ad,Ad),vd.fillStyle="#ccd5db",vd.fillRect(0,0,fd,fd),vd.fillRect(fd,fd,fd,fd),md}(5);dd.fillStyle=dd.createPattern(pd,"repeat"),dd.fillRect(0,0,unref(od),unref(ld)),dd.fillStyle=Ra.value,dd.fillRect(0,0,unref(od),unref(ld))};return watch(function(){return Ra.value},function(){cd()}),onMounted(function(){cd()}),{canvas:qa,colorItemStyle:ud}}}),Ie=["draggable"];V(".color-item[data-v-02da71fd]{display:inline-block;vertical-align:top}"),Ne.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("canvas",{class:"color-item",style:normalizeStyle(Ra.colorItemStyle),ref:"canvas",draggable:Ra.draggable},null,12,Ie)},Ne.__scopeId="data-v-02da71fd",Ne.__file="src/color-item/ColorItem.vue";var Fe=defineComponent({name:"Colors",components:{ColorItem:Ne},props:{colors:{type:Array,default:function(){return[]}},selectedIndex:{type:Number,default:-1}},emits:["change"],setup:function(Ra,qa){var nd=qa.emit;return{onSelectColor:function(od,ld){nd("change",od,ld)},useColors:computed(function(){return Ra.colors.map(function(od){return xe(od,"hex",!0)})})}}}),_e={class:"colors"};function Ee(Ra,qa){var nd=Object.keys(Ra);if(Object.getOwnPropertySymbols){var od=Object.getOwnPropertySymbols(Ra);qa&&(od=od.filter(function(ld){return Object.getOwnPropertyDescriptor(Ra,ld).enumerable})),nd.push.apply(nd,od)}return nd}function Pe(Ra){for(var qa=1;qa0?(openBlock(),createBlock(md,{key:0,class:"colors",colors:Ra.colors,"selected-index":Ra.selectColorIndex,onChange:Ra.onSelectColor},null,8,["colors","selected-index","onChange"])):createCommentVNode("v-if",!0)])],4)},je.__scopeId="data-v-6ceadec6",je.__file="src/picker/Picker.vue";var Re=defineComponent({name:"AddColorItem",props:{size:{type:Number,default:20},selected:{type:Boolean,default:!1}},setup:function(Ra){var qa=inject("theme",{theme:"light"}).theme;return{addColorItemStyle:computed(function(){return{width:"".concat(Ra.size,"px"),height:"".concat(Ra.size,"px"),lineHeight:"".concat(Ra.size,"px"),boxShadow:Ra.selected?"0 0 3px 2px ".concat(unref(qa)==="dark"?"#2681ff":"#1890ff"):""}})}}});V(".add-color-item[data-v-ceb1719c]{background:#fff;border:1px solid #d9d9d9;border-radius:5px;vertical-align:top}.container[data-v-ceb1719c]{pointer-events:none;transform:scale(.9);transform-origin:center}[pick-colors-theme=dark] .add-color-item[data-v-ceb1719c]{background:#141414;border:1px solid #434343}path[data-v-ceb1719c]{fill:#000}[pick-colors-theme=dark] path[data-v-ceb1719c]{fill:#fff}"),Re.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("svg",{class:"add-color-item",style:normalizeStyle(Ra.addColorItemStyle),viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},qa[0]||(qa[0]=[createBaseVNode("g",{class:"container"},[createBaseVNode("path",{d:"M544 464V160h-80v304H160v80h304v304h80V544h304v-80z"})],-1)]),4)},Re.__scopeId="data-v-ceb1719c",Re.__file="src/add-color-item/AddColorItem.vue";var ze=defineComponent({name:"ColorPicker",components:{ColorItem:Ne,Picker:je,AddColorItem:Re},props:{value:{type:[String,Array]},theme:{type:String,default:"light"},size:{type:[Number,String],default:20},width:{type:[Number,String]},height:{type:[Number,String]},format:{type:String},showPicker:{type:Boolean,default:void 0},showAlpha:{type:Boolean,default:!1},addColor:{type:Boolean,default:!1},deleteColor:{type:Boolean,default:!0},max:{type:Number,default:13},popupContainer:{type:[String,Object,Boolean],default:"body"},zIndex:{type:Number,default:1e3},colors:{type:Array,default:function(){return["#ff4500","#ff8c00","#ffd700","#90ee90","#00ced1","#1e90ff","#c71585","#ff4500","#ff7d4d","#00babd","#1f93ff","#fa64c3"]}},position:{type:String},placement:{type:String},formatOptions:{type:[Boolean,Array],default:!1}},emits:["change","update:value","update:showPicker","overflowMax","closePicker","formatChange"],setup:function(Ra,qa){var nd=qa.emit,od=ref$1([]),ld=computed(function(){return unref(od).map(function(Yd){return xe(Yd,"hex",Ra.showAlpha)})}),ud=ref$1("hex");watch(function(){return Ra.format},function(){ud.value=Ra.format},{immediate:!0}),watch(function(){return Ra.value},function(){var Yd=Ra.value||"",Zd=Array.isArray(Yd)?Yd:[Yd];od.value=Zd.map(function(Kd){return xe(Kd,unref(ud),Ra.showAlpha)})},{immediate:!0});var cd=ref$1(void 0),dd=computed(function(){return unref(od)[unref(cd)]}),pd=ref$1(!1);watch(function(){return Ra.showPicker},function(){pd.value=Ra.showPicker},{immediate:!0});var fd,md,vd=ref$1(null),Ad=ref$1(null),Nd=ee(vd,Ad,{defaultStyle:{zIndex:Ra.zIndex},strategy:Ra.position,placement:Ra.placement}).style,Id=function(){unref(vd)==null&&(vd.value=unref(mf)[0]),unref(cd)==null&&(cd.value=0),Ra.showPicker===void 0?pd.value=!0:nd("update:showPicker",!0)},kd=function(){cd.value=void 0,Ra.showPicker===void 0?pd.value=!1:nd("update:showPicker",!1),nd("closePicker",toRaw(Array.isArray(Ra.value)||Ra.addColor?unref(od):unref(od)[0]))},jd=ref$1(),Fd=function(){var Yd=L(M.mark(function Zd(Kd){var bf,gf,Ef,yf;return M.wrap(function(xf){for(;;)switch(xf.prev=xf.next){case 0:if(gf=Kd.target,(Ef=(bf=gf.dataset)===null||bf===void 0?void 0:bf.index)!=null&&Ef!==""){xf.next=4;break}return xf.abrupt("return");case 4:if(yf=+Ef,unref(cd)!==yf){xf.next=7;break}return xf.abrupt("return");case 7:unref(cd)!=null&&unref(cd)!==yf?(kd(),fd&&clearTimeout(fd),fd=setTimeout(function(){Id(),clearTimeout(fd)},100)):Id(),cd.value=yf,vd.value=gf;case 10:case"end":return xf.stop()}},Zd)}));return function(Zd){return Yd.apply(this,arguments)}}(),Md=function(){var Yd=L(M.mark(function Zd(Kd){var bf,gf,Ef,yf,xf;return M.wrap(function(Af){for(;;)switch(Af.prev=Af.next){case 0:if(yf=Kd.target,!(!((bf=unref(jd))!==null&&bf!==void 0&&bf.isEqualNode(yf))&&(!((gf=unref(jd))===null||gf===void 0)&&gf.contains(yf)))){Af.next=4;break}return Af.abrupt("return");case 4:if(xf=(Ef=unref(Ad))===null||Ef===void 0?void 0:Ef.$el,!(xf!=null&&xf.contains(yf))){Af.next=8;break}return Af.abrupt("return");case 8:md&&clearTimeout(md),md=setTimeout(function(){unref(pd)&&kd()},0);case 10:case"end":return Af.stop()}},Zd)}));return function(Zd){return Yd.apply(this,arguments)}}();watch(pd,function(){unref(pd)&&(Id(),clearTimeout(md))});var Ld,Hd=ref$1(Ra.max>unref(od).length),Gd=computed(function(){return typeof Ra.popupContainer=="string"||P(Ra.popupContainer)==="object"&&Ra.popupContainer!=null?Ra.popupContainer:"body"}),Vd=computed(function(){return typeof Ra.popupContainer=="boolean"&&Ra.popupContainer===!1}),Qd=computed(function(){return Ra.theme});watch(function(){return[Ra.theme,unref(Ad)]},function(){nextTick$1(function(){var Yd,Zd;(Yd=unref(jd))===null||Yd===void 0||Yd.setAttribute("pick-colors-theme",unref(Qd)),(Zd=unref(Ad))===null||Zd===void 0||(Zd=Zd.$el)===null||Zd===void 0||Zd.setAttribute("pick-colors-theme",unref(Qd))})},{immediate:!0}),provide("theme",{theme:Qd});var mf=ref$1([]);return onMounted(function(){document.addEventListener("mouseup",Md,!1),Ra.showPicker&&Id()}),onUnmounted(function(){document.removeEventListener("mouseup",Md,!1),fd&&(clearTimeout(fd),fd=null),md&&(clearTimeout(md),md=null)}),{valueList:od,colorItemSelected:function(Yd){return(Ra.addColor?unref(od).length>0:unref(od).length>1)&&unref(cd)===Yd},selectedColor:dd,selectedIndex:cd,isShowPicker:pd,addColorItemShow:Hd,onPickerChange:function(Yd){var Zd=unref(cd),Kd=unref(od).slice(),bf=unref(od).length;if(Zd!=null){Zd>=0?Kd[Zd]=Yd:(cd.value=bf,Kd.push(Yd));var gf="";gf=Array.isArray(Ra.value)||Ra.addColor?Kd:Yd,od.value=Array.isArray(gf)?gf:[gf],nd("update:value",gf),nd("change",gf,Yd,Zd),Ra.addColor&&bf>=Ra.max&&(Hd.value=!1,nd("overflowMax"))}},colorPicker:jd,onColorClick:Fd,pickerRef:Ad,onColorItemDragStart:function(Yd){Yd.dataTransfer.effectAllowed="move";var Zd=Yd.target;Ld=+Zd.dataset.index},onColorItemDragOver:function(Yd){},onColorItemDrop:function(Yd){var Zd=+Yd.target.dataset.index,Kd=E(unref(od)),bf=Kd[Ld];Kd.splice(Ld,1);var gf=Kd.slice(0,Zd),Ef=Kd.splice(Zd),yf=gf.concat([bf]).concat(Ef);nd("update:value",yf),nd("change",yf,yf[Ld],Ld)},colorItemsRef:mf,pickerStyle:Nd,values:ld,teleportDisabled:Vd,toPopupContainer:Gd,formatValue:ud,onFormatChange:function(Yd){ud.value=Yd,nd("formatChange",Yd)}}}});V(".color-picker[data-v-3c43ade8]{display:inline-block}.color-item[data-v-3c43ade8]{margin:5px}.add-color-item[data-v-3c43ade8]{display:inline-block;margin:5px}.picker[data-v-3c43ade8]{overflow:hidden}.v-enter-active[data-v-3c43ade8],.v-leave-active[data-v-3c43ade8]{opacity:1;transform:scaleY(1);transform-origin:center top;transition:opacity .2s ease-in-out,transform .2s ease-in-out}.v-enter-from[data-v-3c43ade8],.v-leave-to[data-v-3c43ade8]{opacity:0;transform:scaleY(0)}"),ze.render=function(Ra,qa,nd,od,ld,ud){var cd=resolveComponent("color-item"),dd=resolveComponent("add-color-item"),pd=resolveComponent("picker");return openBlock(),createElementBlock("div",{class:"color-picker",ref:"colorPicker",onDragstart:qa[0]||(qa[0]=withModifiers(function(){return Ra.onColorItemDragStart&&Ra.onColorItemDragStart.apply(Ra,arguments)},["stop"])),onDragover:qa[1]||(qa[1]=withModifiers(function(){return Ra.onColorItemDragOver&&Ra.onColorItemDragOver.apply(Ra,arguments)},["prevent","stop"])),onDrop:qa[2]||(qa[2]=withModifiers(function(){return Ra.onColorItemDrop&&Ra.onColorItemDrop.apply(Ra,arguments)},["prevent","stop"])),onClick:qa[3]||(qa[3]=withModifiers(function(){return Ra.onColorClick&&Ra.onColorClick.apply(Ra,arguments)},["stop"]))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ra.values,function(fd,md){return openBlock(),createBlock(cd,{class:"color-item",key:md,ref_for:!0,ref:function(vd){return Ra.colorItemsRef[md]=vd},size:Ra.size,width:Ra.width,height:Ra.height,value:fd,selected:Ra.colorItemSelected(md),"data-index":md,draggable:Ra.valueList.length>1,format:Ra.formatValue},null,8,["size","width","height","value","selected","data-index","draggable","format"])}),128)),Ra.addColor&&Ra.addColorItemShow?(openBlock(),createBlock(dd,{key:0,class:"add-color-item",ref:"addColorItem",selected:Ra.colorItemSelected(-1),"data-index":-1},null,8,["selected"])):createCommentVNode("v-if",!0),(openBlock(),createBlock(Teleport,{to:Ra.toPopupContainer,disabled:Ra.teleportDisabled},[createVNode(Transition$1,null,{default:withCtx(function(){return[Ra.isShowPicker?(openBlock(),createBlock(pd,{key:0,class:"picker",style:normalizeStyle(Ra.pickerStyle),ref:"pickerRef",value:Ra.selectedColor,format:Ra.formatValue,"show-alpha":Ra.showAlpha,colors:Ra.colors,formatOptions:Ra.formatOptions,onChange:Ra.onPickerChange,onFormatChange:Ra.onFormatChange},null,8,["style","value","format","show-alpha","colors","formatOptions","onChange","onFormatChange"])):createCommentVNode("v-if",!0)]}),_:1})],8,["to","disabled"]))],544)},ze.__scopeId="data-v-3c43ade8",ze.__file="src/ColorPicker.vue";const _sfc_main$E=defineComponent({__name:"EditDropdown",setup(Ra){const{toggleShowInsertFormDialog:qa,toggleShowUploadImgDialog:nd}=useDisplayStore();return(od,ld)=>(openBlock(),createBlock(unref(_sfc_main$W),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$Q),null,{default:withCtx(()=>ld[2]||(ld[2]=[createTextVNode(" 编辑 ")])),_:1}),createVNode(unref(_sfc_main$Y),{align:"start"},{default:withCtx(()=>[createVNode(unref(_sfc_main$X),{onClick:ld[0]||(ld[0]=ud=>unref(nd)())},{default:withCtx(()=>[createVNode(unref(CloudUpload),{class:"mr-2 h-4 w-4"}),ld[3]||(ld[3]=createTextVNode(" 上传图片 "))]),_:1}),createVNode(unref(_sfc_main$X),{onClick:ld[1]||(ld[1]=ud=>unref(qa)())},{default:withCtx(()=>[createVNode(unref(Table),{class:"mr-2 h-4 w-4"}),ld[4]||(ld[4]=createTextVNode(" 插入表格 "))]),_:1})]),_:1})]),_:1}))}}),_sfc_main$D=defineComponent({__name:"FileDropdown",setup(Ra){const qa=useStore(),{isDark:nd,isEditOnLeft:od}=storeToRefs(qa),{exportEditorContent2HTML:ld,exportEditorContent2MD:ud,importMarkdownContent:cd}=qa;return(dd,pd)=>{const fd=_sfc_main$Q,md=_sfc_main$X,vd=_sfc_main$V,Ad=_sfc_main$Z,Nd=_sfc_main$Y,Id=_sfc_main$W;return openBlock(),createBlock(Id,null,{default:withCtx(()=>[createVNode(fd,null,{default:withCtx(()=>pd[5]||(pd[5]=[createTextVNode(" 文件 ")])),_:1}),createVNode(Nd,{align:"start"},{default:withCtx(()=>[createVNode(md,{onClick:pd[0]||(pd[0]=kd=>unref(cd)())},{default:withCtx(()=>[createVNode(unref(Upload),{class:"mr-2 size-4"}),pd[6]||(pd[6]=createTextVNode(" 导入 .md "))]),_:1}),createVNode(md,{onClick:pd[1]||(pd[1]=kd=>unref(ud)())},{default:withCtx(()=>[createVNode(unref(Download),{class:"mr-2 size-4"}),pd[7]||(pd[7]=createTextVNode(" 导出 .md "))]),_:1}),createVNode(md,{onClick:pd[2]||(pd[2]=kd=>unref(ld)())},{default:withCtx(()=>[createVNode(unref(FileCode),{class:"mr-2 size-4"}),pd[8]||(pd[8]=createTextVNode(" 导出 .html "))]),_:1}),createVNode(vd),createVNode(Ad,{checked:unref(nd),"onUpdate:checked":pd[3]||(pd[3]=kd=>isRef(nd)?nd.value=kd:null)},{default:withCtx(()=>pd[9]||(pd[9]=[createTextVNode(" 深色模式 ")])),_:1},8,["checked"]),createVNode(vd),createVNode(Ad,{checked:unref(od),"onUpdate:checked":pd[4]||(pd[4]=kd=>isRef(od)?od.value=kd:null)},{default:withCtx(()=>pd[10]||(pd[10]=[createTextVNode(" 左侧编辑 ")])),_:1},8,["checked"])]),_:1})]),_:1})}}}),_sfc_main$C=defineComponent({__name:"AboutDialog",props:{visible:{type:Boolean,default:!1}},emits:["close"],setup(Ra,{emit:qa}){const nd=Ra,od=qa;function ld(dd){dd||od("close")}const ud=[{label:"GitHub 仓库",url:"https://github.com/doocs/md"},{label:"Gitee 仓库",url:"https://gitee.com/doocs/md"},{label:"GitCode 仓库",url:"https://gitcode.com/doocs/md"}];function cd(dd){window.open(dd,"_blank")}return(dd,pd)=>{const fd=_sfc_main$1j;return openBlock(),createBlock(unref(_sfc_main$1b),{open:nd.visible,"onUpdate:open":ld},{default:withCtx(()=>[createVNode(unref(_sfc_main$1a),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$17),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$16),null,{default:withCtx(()=>pd[0]||(pd[0]=[createTextVNode("关于")])),_:1})]),_:1}),pd[1]||(pd[1]=createBaseVNode("div",{class:"text-center"},[createBaseVNode("h3",null,"一款高度简洁的微信 Markdown 编辑器"),createBaseVNode("p",null,"扫码关注公众号 Doocs,原创技术文章第一时间推送!"),createBaseVNode("img",{class:"mx-auto my-5",src:"https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303220922-7e14aefa-816e-44c1-8604-ade709ca1c69.png",alt:"Doocs Markdown 编辑器",style:{width:"40%"}})],-1)),createVNode(unref(_sfc_main$18),{class:"sm:justify-evenly"},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(ud,md=>createVNode(fd,{key:md.url,onClick:vd=>cd(md.url)},{default:withCtx(()=>[createTextVNode(toDisplayString(md.label),1)]),_:2},1032,["onClick"])),64))]),_:1})]),_:1})]),_:1},8,["open"])}}}),_sfc_main$B=defineComponent({__name:"HelpDropdown",setup(Ra){const qa=ref$1(!1);return(nd,od)=>{const ld=_sfc_main$Q,ud=_sfc_main$Z,cd=_sfc_main$Y,dd=_sfc_main$W;return openBlock(),createElementBlock(Fragment,null,[createVNode(dd,null,{default:withCtx(()=>[createVNode(ld,null,{default:withCtx(()=>od[2]||(od[2]=[createTextVNode(" 帮助 ")])),_:1}),createVNode(cd,{align:"start"},{default:withCtx(()=>[createVNode(ud,{onClick:od[0]||(od[0]=pd=>qa.value=!0)},{default:withCtx(()=>od[3]||(od[3]=[createBaseVNode("span",null,"关于",-1)])),_:1})]),_:1})]),_:1}),createVNode(_sfc_main$C,{visible:qa.value,onClose:od[1]||(od[1]=pd=>qa.value=!1)},null,8,["visible"])],64)}}}),_sfc_main$A=defineComponent({__name:"Alert",props:{class:{},variant:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$4)(unref(alertVariants)({variant:nd.variant}),qa.class)),role:"alert"},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$z=defineComponent({__name:"AlertDescription",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$4)("text-sm [&_p]:leading-relaxed",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$y=defineComponent({__name:"AlertTitle",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("h5",{class:normalizeClass(unref(cn$4)("mb-1 font-medium leading-none tracking-tight",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),alertVariants=cva("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),_sfc_main$x=defineComponent({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(Ih),mergeProps(nd.value,{class:unref(cn$4)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$w=defineComponent({__name:"Textarea",props:{class:{},defaultValue:{},modelValue:{}},setup(Ra,{emit:qa}){const nd=Ra,ld=useVModel(nd,"modelValue",qa,{passive:!0,defaultValue:nd.defaultValue});return(ud,cd)=>withDirectives((openBlock(),createElementBlock("textarea",{"onUpdate:modelValue":cd[0]||(cd[0]=dd=>isRef(ld)?ld.value=dd:null),class:normalizeClass(unref(cn$4)("flex min-h-20 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",nd.class))},null,2)),[[vModelText,unref(ld)]])}}),_hoisted_1$7={class:"w-full flex items-center gap-4"},_hoisted_2$6={class:"w-full flex items-center gap-4"},_hoisted_3$4={class:"w-full flex items-start gap-4"},_sfc_main$v=defineComponent({__name:"PostInfo",setup(Ra){const qa=useStore(),{output:nd}=storeToRefs(qa),od=ref$1(!1),ld=ref$1({title:"",desc:"",thumb:"",content:"",auto:{}});function ud(){var fd;let pd={};try{pd={thumb:(fd=document.querySelector("#output img"))==null?void 0:fd.src,title:[1,2,3,4,5,6].map(md=>document.querySelector(`#output h${md}`)).filter(md=>md)[0].textContent,desc:document.querySelector("#output p").textContent,content:nd.value}}catch(md){console.log("error",md)}ld.value={...pd,auto:pd}}function cd(){od.value=!1,window.syncPost({thumb:ld.value.thumb||ld.value.auto.thumb,title:ld.value.title||ld.value.auto.title,desc:ld.value.desc||ld.value.auto.desc,content:ld.value.content||ld.value.auto.content})}function dd(pd){pd||(od.value=!1)}return(pd,fd)=>{const md=_sfc_main$1j;return openBlock(),createBlock(unref(_sfc_main$1b),{open:od.value,"onUpdate:open":[fd[4]||(fd[4]=vd=>od.value=vd),dd]},{default:withCtx(()=>[createVNode(unref(_sfc_main$15),null,{default:withCtx(()=>[createVNode(md,{variant:"outline",onClick:ud},{default:withCtx(()=>fd[5]||(fd[5]=[createTextVNode(" 发布 ")])),_:1})]),_:1}),createVNode(unref(_sfc_main$1a),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$17),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$16),null,{default:withCtx(()=>fd[6]||(fd[6]=[createTextVNode("发布")])),_:1})]),_:1}),createVNode(unref(_sfc_main$A),null,{default:withCtx(()=>[createVNode(unref(Info),{class:"h-4 w-4"}),createVNode(unref(_sfc_main$y),null,{default:withCtx(()=>fd[7]||(fd[7]=[createTextVNode("提示")])),_:1}),createVNode(unref(_sfc_main$z),null,{default:withCtx(()=>fd[8]||(fd[8]=[createTextVNode(" 此功能由第三方浏览器插件支持,本平台不保证安全性。 ")])),_:1})]),_:1}),createBaseVNode("div",_hoisted_1$7,[createVNode(unref(_sfc_main$x),{for:"thumb",class:"w-10 text-end"},{default:withCtx(()=>fd[9]||(fd[9]=[createTextVNode(" 封面 ")])),_:1}),createVNode(unref(_sfc_main$14),{id:"thumb",modelValue:ld.value.thumb,"onUpdate:modelValue":fd[0]||(fd[0]=vd=>ld.value.thumb=vd),placeholder:"自动提取第一张图"},null,8,["modelValue"])]),createBaseVNode("div",_hoisted_2$6,[createVNode(unref(_sfc_main$x),{for:"title",class:"w-10 text-end"},{default:withCtx(()=>fd[10]||(fd[10]=[createTextVNode(" 标题 ")])),_:1}),createVNode(unref(_sfc_main$14),{id:"title",modelValue:ld.value.title,"onUpdate:modelValue":fd[1]||(fd[1]=vd=>ld.value.title=vd),placeholder:"自动提取第一个标题"},null,8,["modelValue"])]),createBaseVNode("div",_hoisted_3$4,[createVNode(unref(_sfc_main$x),{for:"desc",class:"w-10 text-end"},{default:withCtx(()=>fd[11]||(fd[11]=[createTextVNode(" 描述 ")])),_:1}),createVNode(unref(_sfc_main$w),{id:"desc",modelValue:ld.value.desc,"onUpdate:modelValue":fd[2]||(fd[2]=vd=>ld.value.desc=vd),placeholder:"自动提取第一个段落"},null,8,["modelValue"])]),createVNode(unref(_sfc_main$18),null,{default:withCtx(()=>[createVNode(md,{variant:"outline",onClick:fd[3]||(fd[3]=vd=>od.value=!1)},{default:withCtx(()=>fd[12]||(fd[12]=[createTextVNode(" 取 消 ")])),_:1}),createVNode(md,{onClick:cd},{default:withCtx(()=>fd[13]||(fd[13]=[createTextVNode(" 确 定 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])}}}),_sfc_main$u=defineComponent({__name:"HoverCard",props:{defaultOpen:{type:Boolean},open:{type:Boolean},openDelay:{},closeDelay:{}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,cd)=>(openBlock(),createBlock(unref(Eh),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$t=defineComponent({__name:"HoverCardContent",props:{forceMount:{type:Boolean},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Dh),null,{default:withCtx(()=>[createVNode(unref($h),mergeProps(unref(od),{class:unref(cn$4)("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$s=defineComponent({__name:"HoverCardTrigger",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Ph),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$r=defineComponent({__name:"DropdownMenuShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn$4)("ml-auto text-xs tracking-widest opacity-60",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$q=defineComponent({__name:"StyleOptionMenu",props:{title:{},options:{},current:{},change:{type:Function}},setup(Ra){const qa=Ra;function nd(od,ld){switch(od){case"字体":return{fontFamily:ld};case"字号":return{fontSize:ld};case"主题色":return{color:ld};default:return{}}}return(od,ld)=>{const ud=_sfc_main$r;return openBlock(),createBlock(unref(_sfc_main$T),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$R),null,{default:withCtx(()=>[ld[0]||(ld[0]=createBaseVNode("span",{class:"mr-2 h-4 w-4"},null,-1)),createBaseVNode("span",null,toDisplayString(qa.title),1)]),_:1}),createVNode(unref(_sfc_main$S),{class:"max-h-56 overflow-auto"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(od.options,({label:cd,value:dd,desc:pd})=>(openBlock(),createBlock(unref(_sfc_main$Z),{key:dd,label:cd,"model-value":dd,class:"w-50",checked:od.current===dd,onClick:fd=>od.change(dd)},{default:withCtx(()=>[createTextVNode(toDisplayString(cd)+" ",1),createVNode(ud,{style:normalizeStyle(nd(od.title,dd))},{default:withCtx(()=>[createTextVNode(toDisplayString(pd),1)]),_:2},1032,["style"])]),_:2},1032,["label","model-value","checked","onClick"]))),128))]),_:1})]),_:1})}}}),_sfc_main$p=defineComponent({__name:"StyleDropdown",setup(Ra){const qa=useStore(),{toggleShowCssEditor:nd}=useDisplayStore(),{theme:od,fontFamily:ld,fontSize:ud,primaryColor:cd,codeBlockTheme:dd,legend:pd,isMacCodeBlock:fd,cssEditor:md}=storeToRefs(qa),{resetStyleConfirm:vd,themeChanged:Ad,fontChanged:Nd,sizeChanged:Id,colorChanged:kd,codeBlockThemeChanged:jd,legendChanged:Fd,macCodeBlockChanged:Md}=qa,Ld=ref$1(null);function Hd(){var Yd;(Yd=Ld.value)==null||Yd.show()}function Gd(){nd(),setTimeout(()=>{md.value.refresh()},50)}const Vd=useTemplateRef("pickColorsContainer"),Qd=ref$1("rgb"),mf=ref$1(["rgb","hex","hsl","hsv"]);return(Yd,Zd)=>{const Kd=_sfc_main$Q,bf=_sfc_main$V,gf=_sfc_main$Y,Ef=_sfc_main$W;return openBlock(),createBlock(Ef,null,{default:withCtx(()=>[createVNode(Kd,null,{default:withCtx(()=>Zd[1]||(Zd[1]=[createTextVNode(" 样式 ")])),_:1}),createVNode(gf,{class:"w-56",align:"start"},{default:withCtx(()=>[createVNode(_sfc_main$q,{title:"主题",options:unref(themeOptions),current:unref(od),change:unref(Ad)},null,8,["options","current","change"]),createVNode(bf),createVNode(_sfc_main$q,{title:"字体",options:unref(fontFamilyOptions),current:unref(ld),change:unref(Nd)},null,8,["options","current","change"]),createVNode(_sfc_main$q,{title:"字号",options:unref(fontSizeOptions),current:unref(ud),change:unref(Id)},null,8,["options","current","change"]),createVNode(_sfc_main$q,{title:"主题色",options:unref(colorOptions),current:unref(cd),change:unref(kd)},null,8,["options","current","change"]),createVNode(_sfc_main$q,{title:"代码块主题",options:unref(codeBlockThemeOptions),current:unref(dd),change:unref(jd)},null,8,["options","current","change"]),createVNode(_sfc_main$q,{title:"图注格式",options:unref(legendOptions),current:unref(pd),change:unref(Fd)},null,8,["options","current","change"]),createVNode(bf),createVNode(unref(_sfc_main$Z),{onClick:withModifiers(Hd,["self","prevent"])},{default:withCtx(()=>[createVNode(unref(_sfc_main$u),{"open-delay":100},{default:withCtx(()=>[createVNode(unref(_sfc_main$s),{class:"w-full flex"},{default:withCtx(()=>Zd[2]||(Zd[2]=[createTextVNode(" 自定义主题色 ")])),_:1}),createVNode(unref(_sfc_main$t),{side:"right",class:"w-min"},{default:withCtx(()=>[createBaseVNode("div",{ref_key:"pickColorsContainer",ref:Vd},[createVNode(unref(ze),{value:unref(cd),"onUpdate:value":Zd[0]||(Zd[0]=yf=>isRef(cd)?cd.value=yf:null),"show-alpha":"",format:Qd.value,"format-options":mf.value,theme:unref(qa).isDark?"dark":"light","popup-container":unref(Vd),onChange:unref(qa).colorChanged},null,8,["value","format","format-options","theme","popup-container","onChange"])],512)]),_:1})]),_:1})]),_:1}),createVNode(unref(_sfc_main$Z),{onClick:Gd},{default:withCtx(()=>Zd[3]||(Zd[3]=[createTextVNode(" 自定义 CSS ")])),_:1}),createVNode(bf),createVNode(unref(_sfc_main$Z),{checked:unref(fd),onClick:unref(Md)},{default:withCtx(()=>Zd[4]||(Zd[4]=[createTextVNode(" Mac 代码块 ")])),_:1},8,["checked","onClick"]),createVNode(bf),createVNode(unref(_sfc_main$Z),{divided:"",onClick:unref(vd)},{default:withCtx(()=>Zd[5]||(Zd[5]=[createTextVNode(" 重置 ")])),_:1},8,["onClick"])]),_:1})]),_:1})}}}),_hoisted_1$6={class:"header-container h-15 flex items-center px-5"},_hoisted_2$5={class:"space-y-4"},_hoisted_3$3={class:"space-y-2"},_hoisted_4$2={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_5$2={class:"space-y-2"},_hoisted_6$2={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_7$1={class:"space-y-2"},_hoisted_8={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_9={class:"space-y-2"},_hoisted_10={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_11={class:"space-y-2"},_hoisted_12={class:"space-y-2"},_hoisted_13={class:"space-y-2"},_hoisted_14={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_15={class:"space-y-2"},_hoisted_16={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_17={class:"space-y-2"},_hoisted_18={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_19={class:"space-y-2"},_hoisted_20={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_21={class:"space-y-2"},_hoisted_22={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_23={class:"space-y-2"},_hoisted_24={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_25={class:"space-y-2"},_hoisted_26={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_27={class:"space-y-2"},_sfc_main$o=defineComponent({__name:"index",emits:["addFormat","formatContent","startCopy","endCopy"],setup(Ra,{emit:qa}){const nd=qa,od=[{label:"加粗",kbd:[ctrlSign,"B"],emitArgs:["addFormat",`${ctrlKey}-B`]},{label:"斜体",kbd:[ctrlSign,"I"],emitArgs:["addFormat",`${ctrlKey}-I`]},{label:"删除线",kbd:[ctrlSign,"D"],emitArgs:["addFormat",`${ctrlKey}-D`]},{label:"超链接",kbd:[ctrlSign,"K"],emitArgs:["addFormat",`${ctrlKey}-K`]},{label:"行内代码",kbd:[ctrlSign,"E"],emitArgs:["addFormat",`${ctrlKey}-E`]},{label:"格式化",kbd:[altSign,shiftSign,"F"],emitArgs:["formatContent"]}],ld=useStore(),ud=useDisplayStore(),{isDark:cd,isCiteStatus:dd,output:pd,primaryColor:fd}=storeToRefs(ld),{toggleDark:md,editorRefresh:vd,citeStatusChanged:Ad}=ld;function Nd(){nd("startCopy"),setTimeout(()=>{function Md(Hd){const Gd=document.createElement("div");return Gd.innerHTML=Hd,Gd.querySelectorAll("li > ul, li > ol").forEach(Qd=>{Qd.parentElement.insertAdjacentElement("afterend",Qd)}),Gd.innerHTML}const Ld=cd.value;Ld&&md(),nextTick$1(()=>{solveWeChatImage();const Hd=document.getElementById("output");Hd.innerHTML=mergeCss(Hd.innerHTML),Hd.innerHTML=Md(Hd.innerHTML),Hd.innerHTML=Hd.innerHTML.replace(/top:(.*?)em/g,"transform: translateY($1em)").replace(/hsl\(var\(--foreground\)\)/g,"#3f3f3f").replace(/var\(--blockquote-background\)/g,"#f7f7f7").replace(/var\(--md-primary-color\)/g,fd.value).replace(/--md-primary-color:.+?;/g,"").replace(/]*)>]*>(.*?)<\/p><\/span>/g,'$2'),Hd.focus();const Gd=document.createElement("p");Gd.style.fontSize="0",Gd.style.lineHeight="0",Gd.style.margin="0",Gd.innerHTML=" ",Hd.insertBefore(Gd,Hd.firstChild),Hd.querySelectorAll(".nodeLabel").forEach(mf=>{const Yd=mf.parentElement,Zd=Yd.getAttribute("xmlns"),Kd=Yd.getAttribute("style"),bf=document.createElement("section");bf.setAttribute("xmlns",Zd),bf.setAttribute("style",Kd),bf.innerHTML=Yd.innerHTML;const gf=Yd.parentElement;gf.innerHTML="",gf.appendChild(bf)}),window.getSelection().removeAllRanges();const Qd=document.createRange();Qd.setStartBefore(Hd.firstChild),Qd.setEndAfter(Hd.lastChild),window.getSelection().addRange(Qd),document.execCommand("copy"),window.getSelection().removeAllRanges(),Hd.innerHTML=pd.value,Ld&&nextTick$1(()=>md()),Ke$1.success("已复制渲染后的文章到剪贴板,可直接到公众号后台粘贴"),vd(),nd("endCopy")})},350)}function Id(){ud.toggleShowCssEditor(),setTimeout(()=>{ld.cssEditor.refresh()},50)}const kd=useTemplateRef("pickColorsContainer"),jd=ref$1("rgb"),Fd=ref$1(["rgb","hex","hsl","hsv"]);return(Md,Ld)=>(openBlock(),createElementBlock("header",_hoisted_1$6,[createVNode(unref(_sfc_main$_),{class:"menubar mr-auto"},{default:withCtx(()=>[createVNode(_sfc_main$D),createVNode(unref(_sfc_main$W),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$Q),null,{default:withCtx(()=>Ld[17]||(Ld[17]=[createTextVNode(" 格式 ")])),_:1}),createVNode(unref(_sfc_main$Y),{class:"w-60",align:"start"},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(od,({label:Hd,kbd:Gd,emitArgs:Vd})=>createVNode(unref(_sfc_main$Z),{key:Hd,onClick:Qd=>Vd[0]==="addFormat"?Md.$emit(Vd[0],Vd[1]):Md.$emit(Vd[0])},{default:withCtx(()=>[createTextVNode(toDisplayString(Hd)+" ",1),createVNode(unref(_sfc_main$U),null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(Gd,Qd=>(openBlock(),createElementBlock("kbd",{key:Qd,class:"mx-1 bg-gray-2 dark:bg-stone-9"},toDisplayString(Qd),1))),128))]),_:2},1024)]),_:2},1032,["onClick"])),64)),createVNode(unref(_sfc_main$V)),createVNode(unref(_sfc_main$Z),{checked:unref(dd),onClick:Ld[0]||(Ld[0]=Hd=>unref(Ad)())},{default:withCtx(()=>Ld[18]||(Ld[18]=[createTextVNode(" 微信外链转底部引用 ")])),_:1},8,["checked"])]),_:1})]),_:1}),createVNode(_sfc_main$E),createVNode(_sfc_main$p),createVNode(_sfc_main$B)]),_:1}),unref(ld).isOpenPostSlider?(openBlock(),createBlock(unref(_sfc_main$1j),{key:1,variant:"outline",class:"mr-2",onClick:Ld[2]||(Ld[2]=Hd=>unref(ld).isOpenPostSlider=!1)},{default:withCtx(()=>[createVNode(unref(PanelLeftClose),{class:"size-4"})]),_:1})):(openBlock(),createBlock(unref(_sfc_main$1j),{key:0,variant:"outline",class:"mr-2",onClick:Ld[1]||(Ld[1]=Hd=>unref(ld).isOpenPostSlider=!0)},{default:withCtx(()=>[createVNode(unref(PanelLeftOpen),{class:"size-4"})]),_:1})),createVNode(unref(_sfc_main$P),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$N),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$1j),{variant:"outline"},{default:withCtx(()=>[createVNode(unref(Settings),{class:"h-4 w-4"})]),_:1})]),_:1}),createVNode(unref(_sfc_main$O),{class:"h-100 w-100 overflow-auto px-6",align:"end"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$5,[createBaseVNode("div",_hoisted_3$3,[Ld[19]||(Ld[19]=createBaseVNode("h2",null,"主题",-1)),createBaseVNode("div",_hoisted_4$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(themeOptions),({label:Hd,value:Gd})=>(openBlock(),createBlock(unref(_sfc_main$1j),{key:Gd,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).theme===Gd}]),variant:"outline",onClick:Vd=>unref(ld).themeChanged(Gd)},{default:withCtx(()=>[createTextVNode(toDisplayString(Hd),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_5$2,[Ld[20]||(Ld[20]=createBaseVNode("h2",null,"字体",-1)),createBaseVNode("div",_hoisted_6$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(fontFamilyOptions),({label:Hd,value:Gd})=>(openBlock(),createBlock(unref(_sfc_main$1j),{key:Gd,variant:"outline",class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).fontFamily===Gd}]),onClick:Vd=>unref(ld).fontChanged(Gd)},{default:withCtx(()=>[createTextVNode(toDisplayString(Hd),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_7$1,[Ld[21]||(Ld[21]=createBaseVNode("h2",null,"字号",-1)),createBaseVNode("div",_hoisted_8,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(fontSizeOptions),({value:Hd,desc:Gd})=>(openBlock(),createBlock(unref(_sfc_main$1j),{key:Hd,variant:"outline",class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).fontSize===Hd}]),onClick:Vd=>unref(ld).sizeChanged(Hd)},{default:withCtx(()=>[createTextVNode(toDisplayString(Gd),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_9,[Ld[22]||(Ld[22]=createBaseVNode("h2",null,"主题色",-1)),createBaseVNode("div",_hoisted_10,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(colorOptions),({label:Hd,value:Gd})=>(openBlock(),createBlock(unref(_sfc_main$1j),{key:Gd,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).primaryColor===Gd}]),variant:"outline",onClick:Vd=>unref(ld).colorChanged(Gd)},{default:withCtx(()=>[createBaseVNode("span",{class:"mr-2 inline-block h-4 w-4 rounded-full",style:normalizeStyle({background:Gd})},null,4),createTextVNode(" "+toDisplayString(Hd),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_11,[Ld[23]||(Ld[23]=createBaseVNode("h2",null,"自定义主题色",-1)),createBaseVNode("div",{ref_key:"pickColorsContainer",ref:kd},[unref(kd)?(openBlock(),createBlock(unref(ze),{key:0,value:unref(fd),"onUpdate:value":Ld[3]||(Ld[3]=Hd=>isRef(fd)?fd.value=Hd:null),"show-alpha":"",format:jd.value,"format-options":Fd.value,theme:unref(ld).isDark?"dark":"light","popup-container":unref(kd),onChange:unref(ld).colorChanged},null,8,["value","format","format-options","theme","popup-container","onChange"])):createCommentVNode("",!0)],512)]),createBaseVNode("div",_hoisted_12,[Ld[24]||(Ld[24]=createBaseVNode("h2",null,"代码块主题",-1)),createBaseVNode("div",null,[createVNode(unref(_sfc_main$M),{modelValue:unref(ld).codeBlockTheme,"onUpdate:modelValue":[Ld[4]||(Ld[4]=Hd=>unref(ld).codeBlockTheme=Hd),unref(ld).codeBlockThemeChanged]},{default:withCtx(()=>[createVNode(unref(_sfc_main$H),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$G),{placeholder:"Select a fruit"})]),_:1}),createVNode(unref(_sfc_main$L),null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(codeBlockThemeOptions),({label:Hd,value:Gd})=>(openBlock(),createBlock(unref(_sfc_main$K),{key:Hd,value:Gd},{default:withCtx(()=>[createTextVNode(toDisplayString(Hd),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1},8,["modelValue","onUpdate:modelValue"])])]),createBaseVNode("div",_hoisted_13,[Ld[25]||(Ld[25]=createBaseVNode("h2",null,"图注格式",-1)),createBaseVNode("div",_hoisted_14,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(legendOptions),({label:Hd,value:Gd})=>(openBlock(),createBlock(unref(_sfc_main$1j),{key:Gd,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).legend===Gd}]),variant:"outline",onClick:Vd=>unref(ld).legendChanged(Gd)},{default:withCtx(()=>[createTextVNode(toDisplayString(Hd),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_15,[Ld[28]||(Ld[28]=createBaseVNode("h2",null,"Mac 代码块",-1)),createBaseVNode("div",_hoisted_16,[createVNode(unref(_sfc_main$1j),{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).isMacCodeBlock}]),variant:"outline",onClick:Ld[5]||(Ld[5]=Hd=>!unref(ld).isMacCodeBlock&&unref(ld).macCodeBlockChanged())},{default:withCtx(()=>Ld[26]||(Ld[26]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(unref(_sfc_main$1j),{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(ld).isMacCodeBlock}]),variant:"outline",onClick:Ld[6]||(Ld[6]=Hd=>unref(ld).isMacCodeBlock&&unref(ld).macCodeBlockChanged())},{default:withCtx(()=>Ld[27]||(Ld[27]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_17,[Ld[31]||(Ld[31]=createBaseVNode("h2",null,"微信外链转底部引用",-1)),createBaseVNode("div",_hoisted_18,[createVNode(unref(_sfc_main$1j),{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).isCiteStatus}]),variant:"outline",onClick:Ld[7]||(Ld[7]=Hd=>!unref(ld).isCiteStatus&&unref(ld).citeStatusChanged())},{default:withCtx(()=>Ld[29]||(Ld[29]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(unref(_sfc_main$1j),{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(ld).isCiteStatus}]),variant:"outline",onClick:Ld[8]||(Ld[8]=Hd=>unref(ld).isCiteStatus&&unref(ld).citeStatusChanged())},{default:withCtx(()=>Ld[30]||(Ld[30]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_19,[Ld[34]||(Ld[34]=createBaseVNode("h2",null,"段落首行缩进",-1)),createBaseVNode("div",_hoisted_20,[createVNode(unref(_sfc_main$1j),{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).isUseIndent}]),variant:"outline",onClick:Ld[9]||(Ld[9]=Hd=>!unref(ld).isUseIndent&&unref(ld).useIndentChanged())},{default:withCtx(()=>Ld[32]||(Ld[32]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(unref(_sfc_main$1j),{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(ld).isUseIndent}]),variant:"outline",onClick:Ld[10]||(Ld[10]=Hd=>unref(ld).isUseIndent&&unref(ld).useIndentChanged())},{default:withCtx(()=>Ld[33]||(Ld[33]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_21,[Ld[37]||(Ld[37]=createBaseVNode("h2",null,"自定义 CSS 面板",-1)),createBaseVNode("div",_hoisted_22,[createVNode(unref(_sfc_main$1j),{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ud).isShowCssEditor}]),variant:"outline",onClick:Ld[11]||(Ld[11]=Hd=>!unref(ud).isShowCssEditor&&Id())},{default:withCtx(()=>Ld[35]||(Ld[35]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(unref(_sfc_main$1j),{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(ud).isShowCssEditor}]),variant:"outline",onClick:Ld[12]||(Ld[12]=Hd=>unref(ud).isShowCssEditor&&Id())},{default:withCtx(()=>Ld[36]||(Ld[36]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_23,[Ld[40]||(Ld[40]=createBaseVNode("h2",null,"编辑区位置",-1)),createBaseVNode("div",_hoisted_24,[createVNode(unref(_sfc_main$1j),{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).isEditOnLeft}]),variant:"outline",onClick:Ld[13]||(Ld[13]=Hd=>!unref(ld).isEditOnLeft&&unref(ld).toggleEditOnLeft())},{default:withCtx(()=>Ld[38]||(Ld[38]=[createTextVNode(" 左侧 ")])),_:1},8,["class"]),createVNode(unref(_sfc_main$1j),{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(ld).isEditOnLeft}]),variant:"outline",onClick:Ld[14]||(Ld[14]=Hd=>unref(ld).isEditOnLeft&&unref(ld).toggleEditOnLeft())},{default:withCtx(()=>Ld[39]||(Ld[39]=[createTextVNode(" 右侧 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_25,[Ld[41]||(Ld[41]=createBaseVNode("h2",null,"模式",-1)),createBaseVNode("div",_hoisted_26,[createVNode(unref(_sfc_main$1j),{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(cd)}]),variant:"outline",onClick:Ld[15]||(Ld[15]=Hd=>unref(ld).toggleDark(!1))},{default:withCtx(()=>[createVNode(unref(Sun),{class:"h-4 w-4"})]),_:1},8,["class"]),createVNode(unref(_sfc_main$1j),{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(cd)}]),variant:"outline",onClick:Ld[16]||(Ld[16]=Hd=>unref(ld).toggleDark(!0))},{default:withCtx(()=>[createVNode(unref(Moon),{class:"h-4 w-4"})]),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_27,[Ld[43]||(Ld[43]=createBaseVNode("h2",null,"样式配置",-1)),createVNode(unref(_sfc_main$1j),{onClick:unref(ld).resetStyleConfirm},{default:withCtx(()=>Ld[42]||(Ld[42]=[createTextVNode(" 重置 ")])),_:1},8,["onClick"])])])]),_:1})]),_:1}),createVNode(unref(_sfc_main$1j),{variant:"outline",class:"mx-2",onClick:Nd},{default:withCtx(()=>Ld[44]||(Ld[44]=[createTextVNode(" 复制 ")])),_:1}),createVNode(_sfc_main$v),createVNode(unref(_sfc_main$F),{"rich-colors":"",position:"top-center"})]))}}),EditorHeader=_export_sfc(_sfc_main$o,[["__scopeId","data-v-050674e5"]]),_sfc_main$n=defineComponent({__name:"NumberField",props:{defaultValue:{},modelValue:{},min:{},max:{},step:{},formatOptions:{},locale:{},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},asChild:{type:Boolean},as:{},class:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(cy$1),mergeProps(unref(ud),{class:unref(cn$4)("grid gap-1.5",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$m=defineComponent({__name:"NumberFieldContent",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$4)("relative [&>[data-slot=input]]:has-[[data-slot=increment]]:pr-5 [&>[data-slot=input]]:has-[[data-slot=decrement]]:pl-5",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$l=defineComponent({__name:"NumberFieldDecrement",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(vy$1),mergeProps({"data-slot":"decrement"},unref(od),{class:unref(cn$4)("absolute top-1/2 -translate-y-1/2 left-0 p-3 disabled:cursor-not-allowed disabled:opacity-20",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default",{},()=>[createVNode(unref(Minus),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),_sfc_main$k=defineComponent({__name:"NumberFieldIncrement",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(fy$1),mergeProps({"data-slot":"increment"},unref(od),{class:unref(cn$4)("absolute top-1/2 -translate-y-1/2 right-0 disabled:cursor-not-allowed disabled:opacity-20 p-3",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default",{},()=>[createVNode(unref(Plus),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),_sfc_main$j=defineComponent({__name:"NumberFieldInput",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(py$1),{"data-slot":"input",class:normalizeClass(unref(cn$4)("flex h-10 w-full rounded-md border border-input bg-background py-2 text-sm text-center ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",qa.class))},null,8,["class"]))}}),_hoisted_1$5={class:"space-x-2 flex justify-between"},_hoisted_2$4={class:"space-y-2 border-1 rounded p-2"},_sfc_main$i=defineComponent({__name:"InsertFormDialog",setup(Ra){const qa=useStore(),nd=useDisplayStore(),{toggleShowInsertFormDialog:od}=nd,ld=ref$1(3),ud=ref$1(3),cd=ref$1({});function dd(){ld.value=3,ud.value=3,cd.value={}}function pd(){const md=createTable({rows:ld.value,cols:ud.value,data:cd.value});toRaw(qa.editor).replaceSelection(` + `,md.value=Th},Df=()=>{const Th=css2json(bf.value.getValue()),ph=customCssWithTemplate(Th,Id.value,customizeTheme(themeMap[vd.value],{fontSize:Fd.value,color:Id.value}));Zf.setOptions({theme:ph}),Bf()};onMounted(()=>{const Th=document.querySelector("#cssEditor");Th.value=xf().content;const ph=Ra.value?"darcula":"xq-light";bf.value=markRaw(CodeMirror.fromTextArea(Th,{mode:"css",theme:ph,lineNumbers:!1,lineWrapping:!0,styleActiveLine:!0,matchBrackets:!0,autofocus:!0,extraKeys:{[`${shiftKey}-${altKey}-F`]:function(wh){formatDoc(wh.getValue(),"css").then(fm=>{xf().content=fm,wh.setValue(fm)})}}})),bf.value.on("keyup",(Vh,wh)=>{(wh.keyCode>=65&&wh.keyCode<=90||wh.keyCode===189)&&Vh.showHint(wh)}),bf.value.on("update",()=>{Df(),xf().content=bf.value.getValue()})}),watch(Ra,()=>{var ph,Vh;const Th=Ra.value?"darcula":"xq-light";(Vh=(ph=toRaw(bf.value))==null?void 0:ph.setOption)==null||Vh.call(ph,"theme",Th)});const Uf=()=>{cd.value=!1,nd.value=!0,vd.value=themeOptions[0].value,Ad.value=fontFamilyOptions[0].value,Ad.value=fontFamilyOptions[0].value,Nd.value=fontSizeOptions[2].value,Id.value=colorOptions[0].value,kd.value=codeBlockThemeOptions[2].value,jd.value=legendOptions[3].value,gf.value={active:"方案 1",tabs:[{title:"方案 1",name:"方案 1",content:Ef.value||DEFAULT_CSS_CONTENT}]},bf.value.setValue(DEFAULT_CSS_CONTENT),Df(),Bf(),Ke$1.success("样式重置成功~")},Gf=Th=>(...ph)=>{Th(...ph),Bf()},zf=(Th,ph)=>{const Vh=themeMap[vd.value],wh=Number(Th.replace("px",""));return customCssWithTemplate(css2json(xf().content),ph,customizeTheme(Vh,{fontSize:wh,color:ph}))},Tf=Gf(Th=>{Zf.setOptions({theme:customCssWithTemplate(css2json(xf().content),Id.value,customizeTheme(themeMap[Th],{fontSize:Fd.value}))}),vd.value=Th}),vf=Gf(Th=>{Zf.setOptions({fonts:Th}),Ad.value=Th}),qf=Gf(Th=>{const ph=zf(Th,Id.value);Zf.setOptions({size:Th,theme:ph}),Nd.value=Th}),eh=Gf(Th=>{const ph=zf(Nd.value,Th);Zf.setOptions({theme:ph}),Id.value=Th}),ch=Gf(Th=>{kd.value=Th}),ih=Gf(Th=>{jd.value=Th}),Pf=Gf(()=>{od()}),uh=Gf(()=>{dd()}),xh=Gf(()=>{fd()}),Qf=()=>{exportHTML(Id.value),document.querySelector("#output").innerHTML=md.value},wf=()=>{downloadMD(Md.value.getValue())},$f=()=>{const Th=document.body,ph=document.createElement("input");ph.type="file",ph.name="filename",ph.accept=".md",ph.onchange=()=>{const Vh=ph.files[0];if(!Vh)return;const wh=new FileReader;wh.readAsText(Vh),wh.onload=fm=>{Md.value.setValue(fm.target.result),Ke$1.success("文档导入成功")}},Th.appendChild(ph),ph.click(),Th.removeChild(ph)},Wf=ref$1(!1);return{isDark:Ra,toggleDark:qa,isEditOnLeft:ld,toggleEditOnLeft:ud,isMacCodeBlock:nd,isCiteStatus:cd,citeStatusChanged:uh,isUseIndent:pd,useIndentChanged:xh,output:md,editor:Md,cssEditor:bf,theme:vd,fontFamily:Ad,fontSize:Nd,primaryColor:Id,codeBlockTheme:kd,legend:jd,editorRefresh:Bf,themeChanged:Tf,fontChanged:vf,sizeChanged:qf,colorChanged:eh,codeBlockThemeChanged:ch,legendChanged:ih,macCodeBlockChanged:Pf,formatContent:Zd,exportEditorContent2HTML:Qf,exportEditorContent2MD:wf,importMarkdownContent:$f,isOpenConfirmDialog:Wf,resetStyleConfirm:()=>{Wf.value=!0},resetStyle:Uf,cssContentConfig:gf,addCssContentTab:Xf,validatorTabName:Jf,setCssEditorValue:yf,tabChanged:Af,renameTab:Lf,posts:Gd,currentPostIndex:Vd,addPost:Kd,renamePost:mf,delPost:Wd,isOpenPostSlider:Hd}}),useDisplayStore=defineStore("display",()=>{const Ra=ref$1(!1),qa=useToggle(Ra),nd=ref$1(!1),od=useToggle(nd),ld=ref$1(!1),ud=useToggle(ld);return{isShowCssEditor:Ra,toggleShowCssEditor:qa,isShowInsertFormDialog:nd,toggleShowInsertFormDialog:od,isShowUploadImgDialog:ld,toggleShowUploadImgDialog:ud}}),_hoisted_1$a={class:"space-x-2 flex justify-between"},_hoisted_2$6={class:"space-y-2 border-1 rounded p-2"},_sfc_main$_=defineComponent({__name:"InsertFormDialog",setup(Ra){const qa=useStore(),nd=useDisplayStore(),{toggleShowInsertFormDialog:od}=nd,ld=ref$1(3),ud=ref$1(3),cd=ref$1({});function dd(){ld.value=3,ud.value=3,cd.value={}}function pd(){const md=createTable({rows:ld.value,cols:ud.value,data:cd.value});toRaw(qa.editor).replaceSelection(` ${md} -`,"end"),dd(),od()}function fd(md){md||od(!1)}return(md,vd)=>{const Ad=_sfc_main$14,Nd=_sfc_main$1j;return openBlock(),createBlock(unref(_sfc_main$1b),{open:unref(nd).isShowInsertFormDialog,"onUpdate:open":fd},{default:withCtx(()=>[createVNode(unref(_sfc_main$1a),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$17),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$16),null,{default:withCtx(()=>vd[3]||(vd[3]=[createTextVNode("插入表格")])),_:1})]),_:1}),createBaseVNode("div",_hoisted_1$5,[createVNode(unref(_sfc_main$n),{modelValue:ld.value,"onUpdate:modelValue":vd[0]||(vd[0]=Id=>ld.value=Id),min:1,max:100},{default:withCtx(()=>[createVNode(unref(_sfc_main$x),null,{default:withCtx(()=>vd[4]||(vd[4]=[createTextVNode("行数")])),_:1}),createVNode(unref(_sfc_main$m),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$l)),createVNode(unref(_sfc_main$j)),createVNode(unref(_sfc_main$k))]),_:1})]),_:1},8,["modelValue"]),createVNode(unref(_sfc_main$n),{modelValue:ud.value,"onUpdate:modelValue":vd[1]||(vd[1]=Id=>ud.value=Id),min:1,max:100},{default:withCtx(()=>[createVNode(unref(_sfc_main$x),null,{default:withCtx(()=>vd[5]||(vd[5]=[createTextVNode("列数")])),_:1}),createVNode(unref(_sfc_main$m),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$l)),createVNode(unref(_sfc_main$j)),createVNode(unref(_sfc_main$k))]),_:1})]),_:1},8,["modelValue"])]),createBaseVNode("div",_hoisted_2$4,[(openBlock(!0),createElementBlock(Fragment,null,renderList(ld.value+1,Id=>(openBlock(),createElementBlock("div",{key:Id,class:normalizeClass([{"head-style":Id===1},"space-x-2 flex"])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(ud.value,kd=>(openBlock(),createBlock(Ad,{key:kd,modelValue:cd.value[`k_${Id-1}_${kd-1}`],"onUpdate:modelValue":jd=>cd.value[`k_${Id-1}_${kd-1}`]=jd,class:normalizeClass({"bg-gray-100 dark:bg-gray-900":Id===1}),placeholder:Id===1?"表头":""},null,8,["modelValue","onUpdate:modelValue","class","placeholder"]))),128))],2))),128))]),createVNode(unref(_sfc_main$18),null,{default:withCtx(()=>[createVNode(Nd,{variant:"outline",onClick:vd[2]||(vd[2]=Id=>unref(od)(!1))},{default:withCtx(()=>vd[6]||(vd[6]=[createTextVNode(" 取 消 ")])),_:1}),createVNode(Nd,{onClick:pd},{default:withCtx(()=>vd[7]||(vd[7]=[createTextVNode(" 确 定 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])}}}),_sfc_main$h=defineComponent({__name:"DropdownMenu",props:{defaultOpen:{type:Boolean},open:{type:Boolean},dir:{},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,cd)=>(openBlock(),createBlock(unref(ah),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$g=defineComponent({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(oh),null,{default:withCtx(()=>[createVNode(unref(lh),mergeProps(unref(ud),{class:unref(cn$4)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$f=defineComponent({__name:"DropdownMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(rh),mergeProps(unref(od),{class:unref(cn$4)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",ld.inset&&"pl-8",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$e=defineComponent({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const nd=It$4(Ra);return(od,ld)=>(openBlock(),createBlock(unref(nh),mergeProps({class:"outline-none"},unref(nd)),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16))}}),_hoisted_1$4={class:"space-y-1 h-full overflow-auto p-2"},_hoisted_2$3=["onClick"],_hoisted_3$2={class:"line-clamp-1"},_sfc_main$d=defineComponent({__name:"PostSlider",setup(Ra){const qa=useStore(),nd=ref$1(!1),od=ref$1("");watch(nd,()=>{nd.value&&(od.value="")});function ld(){if(od.value===""){Ke$1.error("文章标题不可为空");return}qa.addPost(od.value),nd.value=!1,Ke$1.success("文章新增成功")}const ud=ref$1(-1),cd=ref$1(!1),dd=ref$1("");function pd(Nd){ud.value=Nd,dd.value=qa.posts[Nd].title,cd.value=!0}function fd(){if(dd.value===""){Ke$1.error("文章标题不可为空");return}qa.renamePost(ud.value,dd.value),cd.value=!1,Ke$1.success("文章更名成功")}const md=ref$1(!1);function vd(Nd){ud.value=Nd,md.value=!0}function Ad(){qa.delPost(ud.value),md.value=!1,Ke$1.success("文章删除成功")}return(Nd,Id)=>(openBlock(),createElementBlock("div",{class:normalizeClass(["overflow-hidden border-r bg-gray/20 transition-width dark:bg-gray/40",{"w-0":!unref(qa).isOpenPostSlider,"w-50":unref(qa).isOpenPostSlider}])},[createBaseVNode("nav",_hoisted_1$4,[createVNode(unref(_sfc_main$1b),{open:nd.value,"onUpdate:open":Id[2]||(Id[2]=kd=>nd.value=kd)},{default:withCtx(()=>[createVNode(unref(_sfc_main$15),{"as-child":""},{default:withCtx(()=>[createVNode(unref(_sfc_main$1j),{variant:"outline",class:"w-full",size:"xs"},{default:withCtx(()=>[createVNode(unref(Plus)),Id[9]||(Id[9]=createTextVNode(" 新增文章 "))]),_:1})]),_:1}),createVNode(unref(_sfc_main$1a),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$17),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$16),null,{default:withCtx(()=>Id[10]||(Id[10]=[createTextVNode("新增文章")])),_:1}),createVNode(unref(_sfc_main$19),null,{default:withCtx(()=>Id[11]||(Id[11]=[createTextVNode(" 请输入文章名称 ")])),_:1})]),_:1}),createVNode(unref(_sfc_main$14),{modelValue:od.value,"onUpdate:modelValue":Id[0]||(Id[0]=kd=>od.value=kd)},null,8,["modelValue"]),createVNode(unref(_sfc_main$18),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$1j),{onClick:Id[1]||(Id[1]=kd=>ld())},{default:withCtx(()=>Id[12]||(Id[12]=[createTextVNode(" 确 定 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qa).posts,(kd,jd)=>(openBlock(),createElementBlock("a",{key:kd.title,href:"#",class:normalizeClass([{"bg-primary text-primary-foreground":unref(qa).currentPostIndex===jd},"hover:bg-primary/90 hover:text-primary-foreground dark:bg-muted dark:hover:bg-muted h-8 w-full inline-flex items-center justify-start gap-2 whitespace-nowrap rounded px-2 text-sm transition-colors dark:text-white dark:hover:text-white"]),onClick:Fd=>unref(qa).currentPostIndex=jd},[createBaseVNode("span",_hoisted_3$2,toDisplayString(kd.title),1),createVNode(unref(_sfc_main$h),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$e),{"as-child":""},{default:withCtx(()=>[createVNode(unref(_sfc_main$1j),{size:"xs",variant:"ghost",class:"ml-auto px-1.5"},{default:withCtx(()=>[createVNode(unref(Ellipsis),{class:"size-4"})]),_:1})]),_:1}),createVNode(unref(_sfc_main$g),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$f),{onClick:withModifiers(Fd=>pd(jd),["stop"])},{default:withCtx(()=>[createVNode(unref(PenLine),{class:"mr-2 size-4"}),Id[13]||(Id[13]=createTextVNode(" 更名 "))]),_:2},1032,["onClick"]),createVNode(unref(_sfc_main$f),{onClick:withModifiers(Fd=>vd(jd),["stop"])},{default:withCtx(()=>[createVNode(unref(Trash),{class:"mr-2 size-4"}),Id[14]||(Id[14]=createTextVNode(" 删除 "))]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024)],10,_hoisted_2$3))),128)),createVNode(unref(_sfc_main$1b),{open:cd.value,"onUpdate:open":Id[6]||(Id[6]=kd=>cd.value=kd)},{default:withCtx(()=>[createVNode(unref(_sfc_main$1a),{class:"sm:max-w-[425px]"},{default:withCtx(()=>[createVNode(unref(_sfc_main$17),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$16),null,{default:withCtx(()=>Id[15]||(Id[15]=[createTextVNode("编辑文章名称")])),_:1}),createVNode(unref(_sfc_main$19),null,{default:withCtx(()=>Id[16]||(Id[16]=[createTextVNode(" 请输入新的文章名称 ")])),_:1})]),_:1}),createVNode(unref(_sfc_main$14),{modelValue:dd.value,"onUpdate:modelValue":Id[3]||(Id[3]=kd=>dd.value=kd)},null,8,["modelValue"]),createVNode(unref(_sfc_main$18),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$1j),{variant:"outline",onClick:Id[4]||(Id[4]=kd=>cd.value=!1)},{default:withCtx(()=>Id[17]||(Id[17]=[createTextVNode(" 取消 ")])),_:1}),createVNode(unref(_sfc_main$1j),{onClick:Id[5]||(Id[5]=kd=>fd())},{default:withCtx(()=>Id[18]||(Id[18]=[createTextVNode(" 保存 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(unref(_sfc_main$1k),{open:md.value,"onUpdate:open":Id[8]||(Id[8]=kd=>md.value=kd)},{default:withCtx(()=>[createVNode(unref(_sfc_main$1g),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$1d),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$1c),null,{default:withCtx(()=>Id[19]||(Id[19]=[createTextVNode("提示")])),_:1}),createVNode(unref(_sfc_main$1f),null,{default:withCtx(()=>Id[20]||(Id[20]=[createTextVNode(" 此操作将删除该文章,是否继续? ")])),_:1})]),_:1}),createVNode(unref(_sfc_main$1e),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$1h),null,{default:withCtx(()=>Id[21]||(Id[21]=[createTextVNode("取消")])),_:1}),createVNode(unref(_sfc_main$1i),{onClick:Id[7]||(Id[7]=kd=>Ad())},{default:withCtx(()=>Id[22]||(Id[22]=[createTextVNode(" 确认 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])])],2))}}),_hoisted_1$3={class:"space-y-4"},_hoisted_2$2={class:"h-60 border"},_sfc_main$c=defineComponent({__name:"CustomUploadForm",setup(Ra){const qa=useStore(),nd=useLocalStorage("formCustomConfig",removeLeft(` +`,"end"),dd(),od()}function fd(md){md||od(!1)}return(md,vd)=>{const Ad=_sfc_main$$,Nd=_sfc_main$10,Id=_sfc_main$11,kd=_sfc_main$12,jd=_sfc_main$13,Fd=_sfc_main$14,Md=_sfc_main$15,Ld=_sfc_main$16,Hd=_sfc_main$17,Gd=_sfc_main$1h,Vd=_sfc_main$18,Kd=_sfc_main$19,mf=_sfc_main$1a;return openBlock(),createBlock(mf,{open:unref(nd).isShowInsertFormDialog,"onUpdate:open":fd},{default:withCtx(()=>[createVNode(Kd,null,{default:withCtx(()=>[createVNode(Nd,null,{default:withCtx(()=>[createVNode(Ad,null,{default:withCtx(()=>vd[3]||(vd[3]=[createTextVNode("插入表格")])),_:1})]),_:1}),createBaseVNode("div",_hoisted_1$a,[createVNode(Ld,{modelValue:unref(ld),"onUpdate:modelValue":vd[0]||(vd[0]=Wd=>isRef(ld)?ld.value=Wd:null),min:1,max:100},{default:withCtx(()=>[createVNode(Id,null,{default:withCtx(()=>vd[4]||(vd[4]=[createTextVNode("行数")])),_:1}),createVNode(Md,null,{default:withCtx(()=>[createVNode(kd),createVNode(jd),createVNode(Fd)]),_:1})]),_:1},8,["modelValue"]),createVNode(Ld,{modelValue:unref(ud),"onUpdate:modelValue":vd[1]||(vd[1]=Wd=>isRef(ud)?ud.value=Wd:null),min:1,max:100},{default:withCtx(()=>[createVNode(Id,null,{default:withCtx(()=>vd[5]||(vd[5]=[createTextVNode("列数")])),_:1}),createVNode(Md,null,{default:withCtx(()=>[createVNode(kd),createVNode(jd),createVNode(Fd)]),_:1})]),_:1},8,["modelValue"])]),createBaseVNode("div",_hoisted_2$6,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(ld)+1,Wd=>(openBlock(),createElementBlock("div",{key:Wd,class:normalizeClass([{"head-style":Wd===1},"space-x-2 flex"])},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(ud),Zd=>(openBlock(),createBlock(Hd,{key:Zd,modelValue:unref(cd)[`k_${Wd-1}_${Zd-1}`],"onUpdate:modelValue":Xd=>unref(cd)[`k_${Wd-1}_${Zd-1}`]=Xd,class:normalizeClass({"bg-gray-100 dark:bg-gray-900":Wd===1}),placeholder:Wd===1?"表头":""},null,8,["modelValue","onUpdate:modelValue","class","placeholder"]))),128))],2))),128))]),createVNode(Vd,null,{default:withCtx(()=>[createVNode(Gd,{variant:"outline",onClick:vd[2]||(vd[2]=Wd=>unref(od)(!1))},{default:withCtx(()=>vd[6]||(vd[6]=[createTextVNode(" 取 消 ")])),_:1}),createVNode(Gd,{onClick:pd},{default:withCtx(()=>vd[7]||(vd[7]=[createTextVNode(" 确 定 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])}}}),_sfc_main$Z=defineComponent({__name:"Tabs",props:{defaultValue:{},orientation:{},dir:{},activationMode:{},modelValue:{},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,cd)=>(openBlock(),createBlock(unref(fg),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_hoisted_1$9={class:"space-y-4"},_hoisted_2$5={class:"h-60 border"},_sfc_main$Y=defineComponent({__name:"CustomUploadForm",setup(Ra){const qa=useStore(),nd=useLocalStorage("formCustomConfig",removeLeft(` const {file, util, okCb, errCb} = CUSTOM_ARG const param = new FormData() param.append('file', file) @@ -1024,22 +1022,24 @@ ${md} }).catch(err => { errCb(err) }) -`).trim()),od=useTemplateRef("formCustomTextarea"),ld=ref$1(null);onMounted(()=>{ld.value=markRaw(CodeMirror.fromTextArea(od.value,{mode:"javascript",theme:qa.isDark?"darcula":"xq-light",lineNumbers:!0})),nextTick$1(()=>{nextTick$1(()=>{var cd;(cd=ld.value)==null||cd.setValue(nd.value)})})});function ud(){const cd=ld.value.getValue();localStorage.setItem("formCustomConfig",cd),Ke$1.success("保存成功")}return(cd,dd)=>{const pd=_sfc_main$1j;return openBlock(),createElementBlock("div",_hoisted_1$3,[createBaseVNode("div",_hoisted_2$2,[createBaseVNode("textarea",{ref_key:"formCustomTextarea",ref:od,placeholder:"Your custom code here."},null,512)]),createVNode(pd,{variant:"link",class:"p-0",href:"https://github.com/doocs/md#自定义上传逻辑",target:"_blank"},{default:withCtx(()=>dd[0]||(dd[0]=[createTextVNode(" 参数详情 ")])),_:1}),createVNode(pd,{class:"block",onClick:ud},{default:withCtx(()=>dd[1]||(dd[1]=[createTextVNode(" 保存配置 ")])),_:1})])}}}),_sfc_main$b=defineComponent({__name:"FormItem",props:{label:{},required:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",null,[createVNode(unref(_sfc_main$x),{class:"flex items-center"},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(["mr-4 min-h-4 w-[150px] flex-shrink-0 text-right font-bold",{required:qa.required}])},toDisplayString(qa.label),3),renderSlot(nd.$slots,"default",{},void 0,!0)]),_:3})]))}}),FormItem=_export_sfc(_sfc_main$b,[["__scopeId","data-v-2dfc19c6"]]),_sfc_main$a=defineComponent({__name:"Switch",props:{defaultChecked:{type:Boolean},checked:{type:Boolean},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},value:{},asChild:{type:Boolean},as:{},class:{}},emits:["update:checked"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(cg),mergeProps(unref(ud),{class:unref(cn$4)("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",nd.class)}),{default:withCtx(()=>[createVNode(unref(pg),{class:normalizeClass(unref(cn$4)("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5"))},{default:withCtx(()=>[renderSlot(cd.$slots,"thumb")]),_:3},8,["class"])]),_:3},16,["class"]))}}),_hoisted_1$2={class:"space-y-4"},_hoisted_2$1={class:"space-y-4"},_hoisted_3$1={class:"space-y-4"},_hoisted_4$1={class:"space-y-4"},_hoisted_5$1={class:"space-y-4"},_hoisted_6$1={class:"space-y-4"},_hoisted_7={class:"flex flex-col items-start"},_sfc_main$9=defineComponent({__name:"UploadImgDialog",emits:["uploadImage"],setup(Ra,{emit:qa}){const nd=qa,od=useDisplayStore(),ld=ref$1({repo:"",branch:"",accessToken:""}),ud=ref$1({accessKeyId:"",accessKeySecret:"",bucket:"",region:"",path:"",cdnHost:"",useSSL:!0}),cd=ref$1({secretId:"",secretKey:"",bucket:"",region:"",path:"",cdnHost:""}),dd=ref$1({accessKey:"",secretKey:"",bucket:"",domain:"",region:"",path:""}),pd=ref$1({endpoint:"",port:"",useSSL:!0,bucket:"",accessKey:"",secretKey:""}),fd=ref$1({proxyOrigin:"",appID:"",appsecret:""}),md=ref$1(window.location.href.startsWith("http")),vd=[{value:"default",label:"默认"},{value:"github",label:"GitHub"},{value:"aliOSS",label:"阿里云"},{value:"txCOS",label:"腾讯云"},{value:"qiniu",label:"七牛云"},{value:"minio",label:"MinIO"},{value:"mp",label:"公众号图床"},{value:"formCustom",label:"自定义代码"}],Ad=ref$1("default"),Nd=ref$1("upload");onBeforeMount(()=>{localStorage.getItem("githubConfig")&&(ld.value=JSON.parse(localStorage.getItem("githubConfig"))),localStorage.getItem("aliOSSConfig")&&(ud.value=JSON.parse(localStorage.getItem("aliOSSConfig"))),localStorage.getItem("txCOSConfig")&&(cd.value=JSON.parse(localStorage.getItem("txCOSConfig"))),localStorage.getItem("qiniuConfig")&&(dd.value=JSON.parse(localStorage.getItem("qiniuConfig"))),localStorage.getItem("minioConfig")&&(pd.value=JSON.parse(localStorage.getItem("minioConfig"))),localStorage.getItem("imgHost")&&(Ad.value=localStorage.getItem("imgHost")),localStorage.getItem("mpConfig")&&(fd.value=JSON.parse(localStorage.getItem("mpConfig")))});function Id(){localStorage.setItem("imgHost",Ad.value),Ke$1.success("已成功切换图床")}function kd(){if(!(ld.value.repo&&ld.value.accessToken)){const Zd=ld.value.repo?"token":"GitHub 仓库";Ke$1.error(`参数「${Zd}」不能为空`);return}localStorage.setItem("githubConfig",JSON.stringify(ld.value)),Ke$1.success("保存成功")}function jd(){if(!(ud.value.accessKeyId&&ud.value.accessKeySecret&&ud.value.bucket&&ud.value.region)){Ke$1.error("阿里云 OSS 参数配置不全");return}localStorage.setItem("aliOSSConfig",JSON.stringify(ud.value)),Ke$1.success("保存成功")}function Fd(){if(!(pd.value.endpoint&&pd.value.bucket&&pd.value.accessKey&&pd.value.secretKey)){Ke$1.error("MinIO 参数配置不全");return}localStorage.setItem("minioConfig",JSON.stringify(pd.value)),Ke$1.success("保存成功")}function Md(){if(!(cd.value.secretId&&cd.value.secretKey&&cd.value.bucket&&cd.value.region)){Ke$1.error("腾讯云 COS 参数配置不全");return}localStorage.setItem("txCOSConfig",JSON.stringify(cd.value)),Ke$1.success("保存成功")}function Ld(){if(!(dd.value.accessKey&&dd.value.secretKey&&dd.value.bucket&&dd.value.domain)){Ke$1.error("七牛云 Kodo 参数配置不全");return}localStorage.setItem("qiniuConfig",JSON.stringify(dd.value)),Ke$1.success("保存成功")}function Hd(){if(!(fd.value.appID&&fd.value.appsecret)){Ke$1.error("公众号图床 参数配置不全");return}if(md.value&&!fd.value.proxyOrigin){Ke$1.error("代理域名必须配置");return}localStorage.setItem("mpConfig",JSON.stringify(fd.value)),Ke$1.success("保存成功")}function Gd(Zd){const Kd=checkImage(Zd);if(!Kd.ok)return Ke$1.error(Kd.msg||""),!1;let bf=localStorage.getItem("imgHost");bf=bf||"default",localStorage.setItem("imgHost",bf);const gf=localStorage.getItem(`${bf}Config`);return bf==="default"||gf?!0:(Ke$1.error(`请先配置 ${bf} 图床参数`),!1)}const Vd=ref$1(!1),{open:Qd,onChange:mf}=useFileDialog({accept:"image/*"});mf(Zd=>{if(Zd==null)return;const Kd=Zd[0];Gd(Kd)&&nd("uploadImage",Kd)});function Yd(Zd){Vd.value=!1,Zd.stopPropagation();const Kd=Array.from(Zd.dataTransfer.files)[0];Gd(Kd)&&nd("uploadImage",Kd)}return(Zd,Kd)=>{const bf=_sfc_main$1j;return openBlock(),createBlock(unref(_sfc_main$1b),{open:unref(od).isShowUploadImgDialog,"onUpdate:open":Kd[36]||(Kd[36]=gf=>unref(od).isShowUploadImgDialog=gf)},{default:withCtx(()=>[createVNode(unref(_sfc_main$1a),{class:"max-w-max"},{default:withCtx(()=>[createVNode(unref(_sfc_main$17),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$16),null,{default:withCtx(()=>Kd[37]||(Kd[37]=[createTextVNode("本地上传")])),_:1})]),_:1}),createVNode(unref(_sfc_main$13),{modelValue:Nd.value,"onUpdate:modelValue":Kd[35]||(Kd[35]=gf=>Nd.value=gf),class:"w-max"},{default:withCtx(()=>[createVNode(unref(_sfc_main$11),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$10),{value:"upload"},{default:withCtx(()=>Kd[38]||(Kd[38]=[createTextVNode(" 选择上传 ")])),_:1}),createVNode(unref(_sfc_main$10),{value:"github"},{default:withCtx(()=>Kd[39]||(Kd[39]=[createTextVNode(" GitHub 图床 ")])),_:1}),createVNode(unref(_sfc_main$10),{value:"aliOSS"},{default:withCtx(()=>Kd[40]||(Kd[40]=[createTextVNode(" 阿里云 OSS ")])),_:1}),createVNode(unref(_sfc_main$10),{value:"txCOS"},{default:withCtx(()=>Kd[41]||(Kd[41]=[createTextVNode(" 腾讯云 COS ")])),_:1}),createVNode(unref(_sfc_main$10),{value:"qiniu"},{default:withCtx(()=>Kd[42]||(Kd[42]=[createTextVNode(" 七牛云 Kodo ")])),_:1}),createVNode(unref(_sfc_main$10),{value:"minio"},{default:withCtx(()=>Kd[43]||(Kd[43]=[createTextVNode(" MinIO ")])),_:1}),createVNode(unref(_sfc_main$10),{value:"mp"},{default:withCtx(()=>Kd[44]||(Kd[44]=[createTextVNode(" 公众号图床 ")])),_:1}),createVNode(unref(_sfc_main$10),{value:"formCustom"},{default:withCtx(()=>Kd[45]||(Kd[45]=[createTextVNode(" 自定义代码 ")])),_:1})]),_:1}),createVNode(unref(_sfc_main$12),{value:"upload"},{default:withCtx(()=>[createVNode(unref(_sfc_main$x),null,{default:withCtx(()=>[Kd[46]||(Kd[46]=createBaseVNode("span",{class:"my-4 block"}," 图床 ",-1)),createVNode(unref(_sfc_main$M),{modelValue:Ad.value,"onUpdate:modelValue":[Kd[0]||(Kd[0]=gf=>Ad.value=gf),Id]},{default:withCtx(()=>[createVNode(unref(_sfc_main$H),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$G),{placeholder:"请选择"})]),_:1}),createVNode(unref(_sfc_main$L),null,{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(vd,gf=>createVNode(unref(_sfc_main$K),{key:gf.value,label:gf.label,value:gf.value},{default:withCtx(()=>[createTextVNode(toDisplayString(gf.label),1)]),_:2},1032,["label","value"])),64))]),_:1})]),_:1},8,["modelValue"])]),_:1}),createBaseVNode("div",{class:normalizeClass(["bg-clip-padding mt-4 h-50 flex flex-col cursor-pointer items-center justify-evenly border-2 rounded border-dashed transition-colors hover:border-gray-700 hover:bg-gray-400/50 dark:hover:border-gray-200 dark:hover:bg-gray-500/50",{"border-gray-700 bg-gray-400/50 dark:border-gray-200 dark:bg-gray-500/50":Vd.value}]),onClick:Kd[1]||(Kd[1]=gf=>unref(Qd)()),onDrop:withModifiers(Yd,["prevent"]),onDragover:Kd[2]||(Kd[2]=withModifiers(gf=>Vd.value=!0,["prevent"])),onDragleave:Kd[3]||(Kd[3]=withModifiers(gf=>Vd.value=!1,["prevent"]))},[createVNode(unref(CloudUpload),{class:"size-20"}),Kd[47]||(Kd[47]=createBaseVNode("p",null,[createTextVNode(" 将图片拖到此处,或 "),createBaseVNode("strong",null,"点击上传")],-1))],34)]),_:1}),createVNode(unref(_sfc_main$12),{value:"github"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$2,[createVNode(FormItem,{label:"GitHub 仓库",required:""},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:ld.value.repo,"onUpdate:modelValue":Kd[4]||(Kd[4]=gf=>ld.value.repo=gf),modelModifiers:{trim:!0},placeholder:"如:github.com/yanglbme/resource"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,{label:"分支"},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:ld.value.branch,"onUpdate:modelValue":Kd[5]||(Kd[5]=gf=>ld.value.branch=gf),modelModifiers:{trim:!0},placeholder:"如:release,可不填,默认 master"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,{label:"Token",required:""},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:ld.value.accessToken,"onUpdate:modelValue":Kd[6]||(Kd[6]=gf=>ld.value.accessToken=gf),modelModifiers:{trim:!0},type:"password",placeholder:"如:cc1d0c1426d0fd0902bd2d7184b14da61b8abc46"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,null,{default:withCtx(()=>[createVNode(bf,{variant:"link",class:"p-0",as:"a",href:"https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token",target:"_blank"},{default:withCtx(()=>Kd[48]||(Kd[48]=[createTextVNode(" 如何获取 GitHub Token? ")])),_:1})]),_:1}),createVNode(FormItem,null,{default:withCtx(()=>[createVNode(bf,{onClick:kd},{default:withCtx(()=>Kd[49]||(Kd[49]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(unref(_sfc_main$12),{value:"aliOSS"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$1,[createVNode(FormItem,{label:"AccessKey ID",required:""},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:ud.value.accessKeyId,"onUpdate:modelValue":Kd[7]||(Kd[7]=gf=>ud.value.accessKeyId=gf),modelModifiers:{trim:!0},placeholder:"如:LTAI4GdoocsmdoxUf13ylbaNHk"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,{label:"AccessKey Secret",required:""},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:ud.value.accessKeySecret,"onUpdate:modelValue":Kd[8]||(Kd[8]=gf=>ud.value.accessKeySecret=gf),modelModifiers:{trim:!0},type:"password",placeholder:"如:cc1d0c142doocs0902bd2d7md4b14da6ylbabc46"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,{label:"Bucket",required:""},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:ud.value.bucket,"onUpdate:modelValue":Kd[9]||(Kd[9]=gf=>ud.value.bucket=gf),modelModifiers:{trim:!0},placeholder:"如:doocs"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,{label:"Bucket 所在区域",required:""},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:ud.value.region,"onUpdate:modelValue":Kd[10]||(Kd[10]=gf=>ud.value.region=gf),modelModifiers:{trim:!0},placeholder:"如:oss-cn-shenzhen"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,{label:"UseSSL",required:""},{default:withCtx(()=>[createVNode(unref(_sfc_main$a),{checked:ud.value.useSSL,"onUpdate:checked":Kd[11]||(Kd[11]=gf=>ud.value.useSSL=gf)},null,8,["checked"])]),_:1}),createVNode(FormItem,{label:"自定义 CDN 域名"},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:ud.value.cdnHost,"onUpdate:modelValue":Kd[12]||(Kd[12]=gf=>ud.value.cdnHost=gf),modelModifiers:{trim:!0},placeholder:"如:https://imagecdn.alidaodao.com,可不填"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,{label:"存储路径"},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:ud.value.path,"onUpdate:modelValue":Kd[13]||(Kd[13]=gf=>ud.value.path=gf),modelModifiers:{trim:!0},placeholder:"如:img,可不填,默认为根目录"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,null,{default:withCtx(()=>[createVNode(bf,{variant:"link",class:"p-0",as:"a",href:"https://help.aliyun.com/document_detail/31883.html",target:"_blank"},{default:withCtx(()=>Kd[50]||(Kd[50]=[createTextVNode(" 如何使用阿里云 OSS? ")])),_:1})]),_:1}),createVNode(FormItem,null,{default:withCtx(()=>[createVNode(bf,{onClick:jd},{default:withCtx(()=>Kd[51]||(Kd[51]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(unref(_sfc_main$12),{value:"txCOS"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_3$1,[createVNode(FormItem,{label:"SecretId",required:""},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:cd.value.secretId,"onUpdate:modelValue":Kd[14]||(Kd[14]=gf=>cd.value.secretId=gf),modelModifiers:{trim:!0},placeholder:"如:AKIDnQp1w3DOOCSs8F5MDp9tdoocsmdUPonW3"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,{label:"SecretKey",required:""},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:cd.value.secretKey,"onUpdate:modelValue":Kd[15]||(Kd[15]=gf=>cd.value.secretKey=gf),modelModifiers:{trim:!0},type:"password",placeholder:"如:ukLmdtEJ9271f3DOocsMDsCXdS3YlbW0"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,{label:"Bucket",required:""},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:cd.value.bucket,"onUpdate:modelValue":Kd[16]||(Kd[16]=gf=>cd.value.bucket=gf),modelModifiers:{trim:!0},placeholder:"如:doocs-3212520134"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,{label:"Bucket 所在区域",required:""},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:cd.value.region,"onUpdate:modelValue":Kd[17]||(Kd[17]=gf=>cd.value.region=gf),modelModifiers:{trim:!0},placeholder:"如:ap-guangzhou"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,{label:"自定义 CDN 域名"},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:cd.value.cdnHost,"onUpdate:modelValue":Kd[18]||(Kd[18]=gf=>cd.value.cdnHost=gf),modelModifiers:{trim:!0},placeholder:"如:https://imagecdn.alidaodao.com,可不填"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,{label:"存储路径"},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:cd.value.path,"onUpdate:modelValue":Kd[19]||(Kd[19]=gf=>cd.value.path=gf),modelModifiers:{trim:!0},placeholder:"如:img,可不填,默认根目录"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,null,{default:withCtx(()=>[createVNode(bf,{variant:"link",class:"p-0",as:"a",href:"https://cloud.tencent.com/document/product/436/38484",target:"_blank"},{default:withCtx(()=>Kd[52]||(Kd[52]=[createTextVNode(" 如何使用腾讯云 COS? ")])),_:1})]),_:1}),createVNode(FormItem,null,{default:withCtx(()=>[createVNode(bf,{onClick:Md},{default:withCtx(()=>Kd[53]||(Kd[53]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(unref(_sfc_main$12),{value:"qiniu"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_4$1,[createVNode(FormItem,{label:"AccessKey",required:""},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:dd.value.accessKey,"onUpdate:modelValue":Kd[20]||(Kd[20]=gf=>dd.value.accessKey=gf),modelModifiers:{trim:!0},placeholder:"如:6DD3VaLJ_SQgOdoocsyTV_YWaDmdnL2n8EGx7kG"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,{label:"SecretKey",required:""},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:dd.value.secretKey,"onUpdate:modelValue":Kd[21]||(Kd[21]=gf=>dd.value.secretKey=gf),modelModifiers:{trim:!0},type:"password",placeholder:"如:qgZa5qrvDOOcsmdKStD1oCjZ9nB7MDvJUs_34SIm"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,{label:"Bucket",required:""},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:dd.value.bucket,"onUpdate:modelValue":Kd[22]||(Kd[22]=gf=>dd.value.bucket=gf),modelModifiers:{trim:!0},placeholder:"如:md"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,{label:"Bucket 对应域名",required:""},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:dd.value.domain,"onUpdate:modelValue":Kd[23]||(Kd[23]=gf=>dd.value.domain=gf),modelModifiers:{trim:!0},placeholder:"如:https://images.123ylb.cn"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,{label:"存储区域"},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:dd.value.region,"onUpdate:modelValue":Kd[24]||(Kd[24]=gf=>dd.value.region=gf),modelModifiers:{trim:!0},placeholder:"如:z2,可不填"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,{label:"存储路径"},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:dd.value.path,"onUpdate:modelValue":Kd[25]||(Kd[25]=gf=>dd.value.path=gf),modelModifiers:{trim:!0},placeholder:"如:img,可不填,默认为根目录"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,null,{default:withCtx(()=>[createVNode(bf,{variant:"link",class:"p-0",as:"a",href:"https://developer.qiniu.com/kodo",target:"_blank"},{default:withCtx(()=>Kd[54]||(Kd[54]=[createTextVNode(" 如何使用七牛云 Kodo? ")])),_:1})]),_:1}),createVNode(FormItem,null,{default:withCtx(()=>[createVNode(bf,{onClick:Ld},{default:withCtx(()=>Kd[55]||(Kd[55]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(unref(_sfc_main$12),{value:"minio"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_5$1,[createVNode(FormItem,{label:"Endpoint",required:""},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:pd.value.endpoint,"onUpdate:modelValue":Kd[26]||(Kd[26]=gf=>pd.value.endpoint=gf),modelModifiers:{trim:!0},placeholder:"如:play.min.io"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,{label:"Port"},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:pd.value.port,"onUpdate:modelValue":Kd[27]||(Kd[27]=gf=>pd.value.port=gf),modelModifiers:{trim:!0},type:"number",placeholder:"如:9000,可不填,http 默认为 80,https 默认为 443"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,{label:"UseSSL",required:""},{default:withCtx(()=>[createVNode(unref(_sfc_main$a),{checked:pd.value.useSSL,"onUpdate:checked":Kd[28]||(Kd[28]=gf=>pd.value.useSSL=gf)},null,8,["checked"])]),_:1}),createVNode(FormItem,{label:"Bucket",required:""},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:pd.value.bucket,"onUpdate:modelValue":Kd[29]||(Kd[29]=gf=>pd.value.bucket=gf),modelModifiers:{trim:!0},placeholder:"如:doocs"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,{label:"AccessKey",required:""},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:pd.value.accessKey,"onUpdate:modelValue":Kd[30]||(Kd[30]=gf=>pd.value.accessKey=gf),modelModifiers:{trim:!0},placeholder:"如:zhangsan"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,{label:"SecretKey",required:""},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:pd.value.secretKey,"onUpdate:modelValue":Kd[31]||(Kd[31]=gf=>pd.value.secretKey=gf),modelModifiers:{trim:!0},placeholder:"如:asdasdasd"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,null,{default:withCtx(()=>[createVNode(bf,{variant:"link",class:"p-0",as:"a",href:"http://docs.minio.org.cn/docs/master/minio-client-complete-guide",target:"_blank"},{default:withCtx(()=>Kd[56]||(Kd[56]=[createTextVNode(" 如何使用 MinIO? ")])),_:1})]),_:1}),createVNode(FormItem,null,{default:withCtx(()=>[createVNode(bf,{onClick:Fd},{default:withCtx(()=>Kd[57]||(Kd[57]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(unref(_sfc_main$12),{value:"mp"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_6$1,[createVNode(FormItem,{label:"代理域名",required:md.value},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:fd.value.proxyOrigin,"onUpdate:modelValue":Kd[32]||(Kd[32]=gf=>fd.value.proxyOrigin=gf),modelModifiers:{trim:!0},placeholder:"如:http://proxy.example.com,使用插件时可不填"},null,8,["modelValue"])]),_:1},8,["required"]),createVNode(FormItem,{label:"appID",required:""},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:fd.value.appID,"onUpdate:modelValue":Kd[33]||(Kd[33]=gf=>fd.value.appID=gf),modelModifiers:{trim:!0},placeholder:"如:wx6e1234567890efa3"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,{label:"appsecret",required:""},{default:withCtx(()=>[createVNode(unref(_sfc_main$14),{modelValue:fd.value.appsecret,"onUpdate:modelValue":Kd[34]||(Kd[34]=gf=>fd.value.appsecret=gf),modelModifiers:{trim:!0},placeholder:"如:d9f1abcdef01234567890abcdef82397"},null,8,["modelValue"])]),_:1}),createVNode(FormItem,null,{default:withCtx(()=>[createBaseVNode("div",_hoisted_7,[createVNode(bf,{variant:"link",class:"p-0",as:"a",href:"https://developers.weixin.qq.com/doc/offiaccount/Getting_Started/Getting_Started_Guide.html",target:"_blank"},{default:withCtx(()=>Kd[58]||(Kd[58]=[createTextVNode(" 如何开启公众号开发者模式并获取应用账号密钥? ")])),_:1}),createVNode(bf,{variant:"link",class:"p-0",as:"a",href:"https://mpmd.pages.dev/tutorial/",target:"_blank"},{default:withCtx(()=>Kd[59]||(Kd[59]=[createTextVNode(" 如何在浏览器插件中使用公众号图床? ")])),_:1})])]),_:1}),createVNode(FormItem,null,{default:withCtx(()=>[createVNode(bf,{onClick:Hd},{default:withCtx(()=>Kd[60]||(Kd[60]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(unref(_sfc_main$12),{value:"formCustom"},{default:withCtx(()=>[createVNode(_sfc_main$c)]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["open"])}}}),_hoisted_1$1={key:0,class:"loading"},_sfc_main$8=defineComponent({__name:"RunLoading",setup(Ra){const qa=ref$1(!0);return onMounted(()=>{setTimeout(()=>{qa.value=!1},100)}),(nd,od)=>(openBlock(),createBlock(Transition$1,{name:"fade"},{default:withCtx(()=>[qa.value?(openBlock(),createElementBlock("div",_hoisted_1$1,od[0]||(od[0]=[createBaseVNode("strong",null,"致力于让 Markdown 编辑更简单",-1)]))):createCommentVNode("",!0)]),_:1}))}}),RunLoading=_export_sfc(_sfc_main$8,[["__scopeId","data-v-407c965f"]]),_sfc_main$7=defineComponent({__name:"ContextMenu",props:{dir:{},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,cd)=>(openBlock(),createBlock(unref(em$1),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$6=defineComponent({__name:"ContextMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},sticky:{},hideWhenDetached:{type:Boolean},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(am),null,{default:withCtx(()=>[createVNode(unref(nm$1),mergeProps(unref(ud),{class:unref(cn$4)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in fade-in-80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$5=defineComponent({__name:"ContextMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(lm),mergeProps(unref(ud),{class:unref(cn$4)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",cd.inset&&"pl-8",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$4=defineComponent({__name:"ContextMenuSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(rm$1),mergeProps(nd.value,{class:unref(cn$4)("-mx-1 my-1 h-px bg-border",qa.class)}),null,16,["class"]))}}),_sfc_main$3=defineComponent({__name:"ContextMenuShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn$4)("ml-auto text-xs tracking-widest text-muted-foreground",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$2=defineComponent({__name:"ContextMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const nd=It$4(Ra);return(od,ld)=>(openBlock(),createBlock(unref(tm$1),normalizeProps(guardReactiveProps(unref(nd))),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16))}});function bind$2(Ra,qa){return function(){return Ra.apply(qa,arguments)}}var define_process_default$8={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:1},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_e72d6a91-80dc-48ef-805e-8b024d3e943e",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_e72d6a91-80dc-48ef-805e-8b024d3e943e",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"827",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241208.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5833",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12390458500",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_0be29237-df24-42ff-8577-19b0738a094d",INVOCATION_ID:"6082e0c4f23d452ea1611619b2624143",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"467",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 14",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_e72d6a91-80dc-48ef-805e-8b024d3e943e",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_e72d6a91-80dc-48ef-805e-8b024d3e943e",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_e72d6a91-80dc-48ef-805e-8b024d3e943e",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2179,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};const{toString:toString$1}=Object.prototype,{getPrototypeOf:getPrototypeOf$1}=Object,kindOf=(Ra=>qa=>{const nd=toString$1.call(qa);return Ra[nd]||(Ra[nd]=nd.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=Ra=>(Ra=Ra.toLowerCase(),qa=>kindOf(qa)===Ra),typeOfTest=Ra=>qa=>typeof qa===Ra,{isArray}=Array,isUndefined=typeOfTest("undefined");function isBuffer(Ra){return Ra!==null&&!isUndefined(Ra)&&Ra.constructor!==null&&!isUndefined(Ra.constructor)&&isFunction$1(Ra.constructor.isBuffer)&&Ra.constructor.isBuffer(Ra)}const isArrayBuffer$1=kindOfTest("ArrayBuffer");function isArrayBufferView(Ra){let qa;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?qa=ArrayBuffer.isView(Ra):qa=Ra&&Ra.buffer&&isArrayBuffer$1(Ra.buffer),qa}const isString$1=typeOfTest("string"),isFunction$1=typeOfTest("function"),isNumber$1=typeOfTest("number"),isObject$1=Ra=>Ra!==null&&typeof Ra=="object",isBoolean$1=Ra=>Ra===!0||Ra===!1,isPlainObject=Ra=>{if(kindOf(Ra)!=="object")return!1;const qa=getPrototypeOf$1(Ra);return(qa===null||qa===Object.prototype||Object.getPrototypeOf(qa)===null)&&!(Symbol.toStringTag in Ra)&&!(Symbol.iterator in Ra)},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=Ra=>isObject$1(Ra)&&isFunction$1(Ra.pipe),isFormData=Ra=>{let qa;return Ra&&(typeof FormData=="function"&&Ra instanceof FormData||isFunction$1(Ra.append)&&((qa=kindOf(Ra))==="formdata"||qa==="object"&&isFunction$1(Ra.toString)&&Ra.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),[isReadableStream$1,isRequest$2,isResponse,isHeaders]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim=Ra=>Ra.trim?Ra.trim():Ra.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach$2(Ra,qa,{allOwnKeys:nd=!1}={}){if(Ra===null||typeof Ra>"u")return;let od,ld;if(typeof Ra!="object"&&(Ra=[Ra]),isArray(Ra))for(od=0,ld=Ra.length;od0;)if(ld=nd[od],qa===ld.toLowerCase())return ld;return null}const _global=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global$1,isContextDefined=Ra=>!isUndefined(Ra)&&Ra!==_global;function merge(){const{caseless:Ra}=isContextDefined(this)&&this||{},qa={},nd=(od,ld)=>{const ud=Ra&&findKey(qa,ld)||ld;isPlainObject(qa[ud])&&isPlainObject(od)?qa[ud]=merge(qa[ud],od):isPlainObject(od)?qa[ud]=merge({},od):isArray(od)?qa[ud]=od.slice():qa[ud]=od};for(let od=0,ld=arguments.length;od(forEach$2(qa,(ld,ud)=>{nd&&isFunction$1(ld)?Ra[ud]=bind$2(ld,nd):Ra[ud]=ld},{allOwnKeys:od}),Ra),stripBOM=Ra=>(Ra.charCodeAt(0)===65279&&(Ra=Ra.slice(1)),Ra),inherits$2=(Ra,qa,nd,od)=>{Ra.prototype=Object.create(qa.prototype,od),Ra.prototype.constructor=Ra,Object.defineProperty(Ra,"super",{value:qa.prototype}),nd&&Object.assign(Ra.prototype,nd)},toFlatObject=(Ra,qa,nd,od)=>{let ld,ud,cd;const dd={};if(qa=qa||{},Ra==null)return qa;do{for(ld=Object.getOwnPropertyNames(Ra),ud=ld.length;ud-- >0;)cd=ld[ud],(!od||od(cd,Ra,qa))&&!dd[cd]&&(qa[cd]=Ra[cd],dd[cd]=!0);Ra=nd!==!1&&getPrototypeOf$1(Ra)}while(Ra&&(!nd||nd(Ra,qa))&&Ra!==Object.prototype);return qa},endsWith$1=(Ra,qa,nd)=>{Ra=String(Ra),(nd===void 0||nd>Ra.length)&&(nd=Ra.length),nd-=qa.length;const od=Ra.indexOf(qa,nd);return od!==-1&&od===nd},toArray$1=Ra=>{if(!Ra)return null;if(isArray(Ra))return Ra;let qa=Ra.length;if(!isNumber$1(qa))return null;const nd=new Array(qa);for(;qa-- >0;)nd[qa]=Ra[qa];return nd},isTypedArray$1=(Ra=>qa=>Ra&&qa instanceof Ra)(typeof Uint8Array<"u"&&getPrototypeOf$1(Uint8Array)),forEachEntry=(Ra,qa)=>{const od=(Ra&&Ra[Symbol.iterator]).call(Ra);let ld;for(;(ld=od.next())&&!ld.done;){const ud=ld.value;qa.call(Ra,ud[0],ud[1])}},matchAll=(Ra,qa)=>{let nd;const od=[];for(;(nd=Ra.exec(qa))!==null;)od.push(nd);return od},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=Ra=>Ra.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(nd,od,ld){return od.toUpperCase()+ld}),hasOwnProperty$2=(({hasOwnProperty:Ra})=>(qa,nd)=>Ra.call(qa,nd))(Object.prototype),isRegExp=kindOfTest("RegExp"),reduceDescriptors=(Ra,qa)=>{const nd=Object.getOwnPropertyDescriptors(Ra),od={};forEach$2(nd,(ld,ud)=>{let cd;(cd=qa(ld,ud,Ra))!==!1&&(od[ud]=cd||ld)}),Object.defineProperties(Ra,od)},freezeMethods=Ra=>{reduceDescriptors(Ra,(qa,nd)=>{if(isFunction$1(Ra)&&["arguments","caller","callee"].indexOf(nd)!==-1)return!1;const od=Ra[nd];if(isFunction$1(od)){if(qa.enumerable=!1,"writable"in qa){qa.writable=!1;return}qa.set||(qa.set=()=>{throw Error("Can not rewrite read-only method '"+nd+"'")})}})},toObjectSet=(Ra,qa)=>{const nd={},od=ld=>{ld.forEach(ud=>{nd[ud]=!0})};return isArray(Ra)?od(Ra):od(String(Ra).split(qa)),nd},noop$2=()=>{},toFiniteNumber=(Ra,qa)=>Ra!=null&&Number.isFinite(Ra=+Ra)?Ra:qa,ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(Ra=16,qa=ALPHABET.ALPHA_DIGIT)=>{let nd="";const{length:od}=qa;for(;Ra--;)nd+=qa[Math.random()*od|0];return nd};function isSpecCompliantForm(Ra){return!!(Ra&&isFunction$1(Ra.append)&&Ra[Symbol.toStringTag]==="FormData"&&Ra[Symbol.iterator])}const toJSONObject=Ra=>{const qa=new Array(10),nd=(od,ld)=>{if(isObject$1(od)){if(qa.indexOf(od)>=0)return;if(!("toJSON"in od)){qa[ld]=od;const ud=isArray(od)?[]:{};return forEach$2(od,(cd,dd)=>{const pd=nd(cd,ld+1);!isUndefined(pd)&&(ud[dd]=pd)}),qa[ld]=void 0,ud}}return od};return nd(Ra,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=Ra=>Ra&&(isObject$1(Ra)||isFunction$1(Ra))&&isFunction$1(Ra.then)&&isFunction$1(Ra.catch),_setImmediate=((Ra,qa)=>Ra?setImmediate:qa?((nd,od)=>(_global.addEventListener("message",({source:ld,data:ud})=>{ld===_global&&ud===nd&&od.length&&od.shift()()},!1),ld=>{od.push(ld),_global.postMessage(nd,"*")}))(`axios@${Math.random()}`,[]):nd=>setTimeout(nd))(typeof setImmediate=="function",isFunction$1(_global.postMessage)),asap=typeof queueMicrotask<"u"?queueMicrotask.bind(_global):typeof define_process_default$8<"u"&&define_process_default$8.nextTick||_setImmediate,utils$2={isArray,isArrayBuffer:isArrayBuffer$1,isBuffer,isFormData,isArrayBufferView,isString:isString$1,isNumber:isNumber$1,isBoolean:isBoolean$1,isObject:isObject$1,isPlainObject,isReadableStream:isReadableStream$1,isRequest:isRequest$2,isResponse,isHeaders,isUndefined,isDate,isFile,isBlob,isRegExp,isFunction:isFunction$1,isStream,isURLSearchParams,isTypedArray:isTypedArray$1,isFileList,forEach:forEach$2,merge,extend,trim,stripBOM,inherits:inherits$2,toFlatObject,kindOf,kindOfTest,endsWith:endsWith$1,toArray:toArray$1,forEachEntry,matchAll,isHTMLForm,hasOwnProperty:hasOwnProperty$2,hasOwnProp:hasOwnProperty$2,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase,noop:noop$2,toFiniteNumber,findKey,global:_global,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable,setImmediate:_setImmediate,asap};function AxiosError(Ra,qa,nd,od,ld){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=Ra,this.name="AxiosError",qa&&(this.code=qa),nd&&(this.config=nd),od&&(this.request=od),ld&&(this.response=ld,this.status=ld.status?ld.status:null)}utils$2.inherits(AxiosError,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils$2.toJSONObject(this.config),code:this.code,status:this.status}}});const prototype$1=AxiosError.prototype,descriptors={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(Ra=>{descriptors[Ra]={value:Ra}});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError.from=(Ra,qa,nd,od,ld,ud)=>{const cd=Object.create(prototype$1);return utils$2.toFlatObject(Ra,cd,function(pd){return pd!==Error.prototype},dd=>dd!=="isAxiosError"),AxiosError.call(cd,Ra.message,qa,nd,od,ld),cd.cause=Ra,cd.name=Ra.name,ud&&Object.assign(cd,ud),cd};const httpAdapter=null;function isVisitable(Ra){return utils$2.isPlainObject(Ra)||utils$2.isArray(Ra)}function removeBrackets(Ra){return utils$2.endsWith(Ra,"[]")?Ra.slice(0,-2):Ra}function renderKey(Ra,qa,nd){return Ra?Ra.concat(qa).map(function(ld,ud){return ld=removeBrackets(ld),!nd&&ud?"["+ld+"]":ld}).join(nd?".":""):qa}function isFlatArray(Ra){return utils$2.isArray(Ra)&&!Ra.some(isVisitable)}const predicates=utils$2.toFlatObject(utils$2,{},null,function(qa){return/^is[A-Z]/.test(qa)});function toFormData(Ra,qa,nd){if(!utils$2.isObject(Ra))throw new TypeError("target must be an object");qa=qa||new FormData,nd=utils$2.toFlatObject(nd,{metaTokens:!0,dots:!1,indexes:!1},!1,function(kd,jd){return!utils$2.isUndefined(jd[kd])});const od=nd.metaTokens,ld=nd.visitor||md,ud=nd.dots,cd=nd.indexes,pd=(nd.Blob||typeof Blob<"u"&&Blob)&&utils$2.isSpecCompliantForm(qa);if(!utils$2.isFunction(ld))throw new TypeError("visitor must be a function");function fd(Id){if(Id===null)return"";if(utils$2.isDate(Id))return Id.toISOString();if(!pd&&utils$2.isBlob(Id))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$2.isArrayBuffer(Id)||utils$2.isTypedArray(Id)?pd&&typeof Blob=="function"?new Blob([Id]):Buffer$4.from(Id):Id}function md(Id,kd,jd){let Fd=Id;if(Id&&!jd&&typeof Id=="object"){if(utils$2.endsWith(kd,"{}"))kd=od?kd:kd.slice(0,-2),Id=JSON.stringify(Id);else if(utils$2.isArray(Id)&&isFlatArray(Id)||(utils$2.isFileList(Id)||utils$2.endsWith(kd,"[]"))&&(Fd=utils$2.toArray(Id)))return kd=removeBrackets(kd),Fd.forEach(function(Ld,Hd){!(utils$2.isUndefined(Ld)||Ld===null)&&qa.append(cd===!0?renderKey([kd],Hd,ud):cd===null?kd:kd+"[]",fd(Ld))}),!1}return isVisitable(Id)?!0:(qa.append(renderKey(jd,kd,ud),fd(Id)),!1)}const vd=[],Ad=Object.assign(predicates,{defaultVisitor:md,convertValue:fd,isVisitable});function Nd(Id,kd){if(!utils$2.isUndefined(Id)){if(vd.indexOf(Id)!==-1)throw Error("Circular reference detected in "+kd.join("."));vd.push(Id),utils$2.forEach(Id,function(Fd,Md){(!(utils$2.isUndefined(Fd)||Fd===null)&&ld.call(qa,Fd,utils$2.isString(Md)?Md.trim():Md,kd,Ad))===!0&&Nd(Fd,kd?kd.concat(Md):[Md])}),vd.pop()}}if(!utils$2.isObject(Ra))throw new TypeError("data must be an object");return Nd(Ra),qa}function encode$2(Ra){const qa={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(Ra).replace(/[!'()~]|%20|%00/g,function(od){return qa[od]})}function AxiosURLSearchParams(Ra,qa){this._pairs=[],Ra&&toFormData(Ra,this,qa)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function(qa,nd){this._pairs.push([qa,nd])};prototype.toString=function(qa){const nd=qa?function(od){return qa.call(this,od,encode$2)}:encode$2;return this._pairs.map(function(ld){return nd(ld[0])+"="+nd(ld[1])},"").join("&")};function encode$1(Ra){return encodeURIComponent(Ra).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(Ra,qa,nd){if(!qa)return Ra;const od=nd&&nd.encode||encode$1;utils$2.isFunction(nd)&&(nd={serialize:nd});const ld=nd&&nd.serialize;let ud;if(ld?ud=ld(qa,nd):ud=utils$2.isURLSearchParams(qa)?qa.toString():new AxiosURLSearchParams(qa,nd).toString(od),ud){const cd=Ra.indexOf("#");cd!==-1&&(Ra=Ra.slice(0,cd)),Ra+=(Ra.indexOf("?")===-1?"?":"&")+ud}return Ra}class InterceptorManager{constructor(){this.handlers=[]}use(qa,nd,od){return this.handlers.push({fulfilled:qa,rejected:nd,synchronous:od?od.synchronous:!1,runWhen:od?od.runWhen:null}),this.handlers.length-1}eject(qa){this.handlers[qa]&&(this.handlers[qa]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(qa){utils$2.forEach(this.handlers,function(od){od!==null&&qa(od)})}}const transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams<"u"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData<"u"?FormData:null,Blob$1=typeof Blob<"u"?Blob:null,platform$1={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},protocols:["http","https","file","blob","url","data"]},hasBrowserEnv=typeof window<"u"&&typeof document<"u",_navigator=typeof navigator=="object"&&navigator||void 0,hasStandardBrowserEnv=hasBrowserEnv&&(!_navigator||["ReactNative","NativeScript","NS"].indexOf(_navigator.product)<0),hasStandardBrowserWebWorkerEnv=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",origin=hasBrowserEnv&&window.location.href||"http://localhost",utils$1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv,hasStandardBrowserEnv,hasStandardBrowserWebWorkerEnv,navigator:_navigator,origin},Symbol.toStringTag,{value:"Module"})),platform={...utils$1,...platform$1};function toURLEncodedForm(Ra,qa){return toFormData(Ra,new platform.classes.URLSearchParams,Object.assign({visitor:function(nd,od,ld,ud){return platform.isNode&&utils$2.isBuffer(nd)?(this.append(od,nd.toString("base64")),!1):ud.defaultVisitor.apply(this,arguments)}},qa))}function parsePropPath(Ra){return utils$2.matchAll(/\w+|\[(\w*)]/g,Ra).map(qa=>qa[0]==="[]"?"":qa[1]||qa[0])}function arrayToObject(Ra){const qa={},nd=Object.keys(Ra);let od;const ld=nd.length;let ud;for(od=0;od=nd.length;return cd=!cd&&utils$2.isArray(ld)?ld.length:cd,pd?(utils$2.hasOwnProp(ld,cd)?ld[cd]=[ld[cd],od]:ld[cd]=od,!dd):((!ld[cd]||!utils$2.isObject(ld[cd]))&&(ld[cd]=[]),qa(nd,od,ld[cd],ud)&&utils$2.isArray(ld[cd])&&(ld[cd]=arrayToObject(ld[cd])),!dd)}if(utils$2.isFormData(Ra)&&utils$2.isFunction(Ra.entries)){const nd={};return utils$2.forEachEntry(Ra,(od,ld)=>{qa(parsePropPath(od),ld,nd,0)}),nd}return null}function stringifySafely(Ra,qa,nd){if(utils$2.isString(Ra))try{return(qa||JSON.parse)(Ra),utils$2.trim(Ra)}catch(od){if(od.name!=="SyntaxError")throw od}return(0,JSON.stringify)(Ra)}const defaults$1={transitional:transitionalDefaults,adapter:["xhr","http","fetch"],transformRequest:[function(qa,nd){const od=nd.getContentType()||"",ld=od.indexOf("application/json")>-1,ud=utils$2.isObject(qa);if(ud&&utils$2.isHTMLForm(qa)&&(qa=new FormData(qa)),utils$2.isFormData(qa))return ld?JSON.stringify(formDataToJSON(qa)):qa;if(utils$2.isArrayBuffer(qa)||utils$2.isBuffer(qa)||utils$2.isStream(qa)||utils$2.isFile(qa)||utils$2.isBlob(qa)||utils$2.isReadableStream(qa))return qa;if(utils$2.isArrayBufferView(qa))return qa.buffer;if(utils$2.isURLSearchParams(qa))return nd.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),qa.toString();let dd;if(ud){if(od.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(qa,this.formSerializer).toString();if((dd=utils$2.isFileList(qa))||od.indexOf("multipart/form-data")>-1){const pd=this.env&&this.env.FormData;return toFormData(dd?{"files[]":qa}:qa,pd&&new pd,this.formSerializer)}}return ud||ld?(nd.setContentType("application/json",!1),stringifySafely(qa)):qa}],transformResponse:[function(qa){const nd=this.transitional||defaults$1.transitional,od=nd&&nd.forcedJSONParsing,ld=this.responseType==="json";if(utils$2.isResponse(qa)||utils$2.isReadableStream(qa))return qa;if(qa&&utils$2.isString(qa)&&(od&&!this.responseType||ld)){const cd=!(nd&&nd.silentJSONParsing)&&ld;try{return JSON.parse(qa)}catch(dd){if(cd)throw dd.name==="SyntaxError"?AxiosError.from(dd,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):dd}}return qa}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform.classes.FormData,Blob:platform.classes.Blob},validateStatus:function(qa){return qa>=200&&qa<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils$2.forEach(["delete","get","head","post","put","patch"],Ra=>{defaults$1.headers[Ra]={}});const ignoreDuplicateOf=utils$2.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),parseHeaders=Ra=>{const qa={};let nd,od,ld;return Ra&&Ra.split(` +`).trim()),od=useTemplateRef("formCustomTextarea"),ld=ref$1(null);onMounted(()=>{ld.value=markRaw(CodeMirror.fromTextArea(od.value,{mode:"javascript",theme:qa.isDark?"darcula":"xq-light",lineNumbers:!0})),nextTick$1(()=>{nextTick$1(()=>{var cd;(cd=ld.value)==null||cd.setValue(nd.value)})})});function ud(){const cd=ld.value.getValue();localStorage.setItem("formCustomConfig",cd),Ke$1.success("保存成功")}return(cd,dd)=>{const pd=_sfc_main$1h;return openBlock(),createElementBlock("div",_hoisted_1$9,[createBaseVNode("div",_hoisted_2$5,[createBaseVNode("textarea",{ref_key:"formCustomTextarea",ref:od,placeholder:"Your custom code here."},null,512)]),createVNode(pd,{variant:"link",class:"p-0",href:"https://github.com/doocs/md#自定义上传逻辑",target:"_blank"},{default:withCtx(()=>dd[0]||(dd[0]=[createTextVNode(" 参数详情 ")])),_:1}),createVNode(pd,{class:"block",onClick:ud},{default:withCtx(()=>dd[1]||(dd[1]=[createTextVNode(" 保存配置 ")])),_:1})])}}}),_sfc_main$X=defineComponent({__name:"Switch",props:{defaultChecked:{type:Boolean},checked:{type:Boolean},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},value:{},asChild:{type:Boolean},as:{},class:{}},emits:["update:checked"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(cg),mergeProps(unref(ud),{class:unref(cn$4)("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",nd.class)}),{default:withCtx(()=>[createVNode(unref(pg),{class:normalizeClass(unref(cn$4)("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5"))},{default:withCtx(()=>[renderSlot(cd.$slots,"thumb")]),_:3},8,["class"])]),_:3},16,["class"]))}}),_sfc_main$W=defineComponent({__name:"FormItem",props:{label:{},required:{type:Boolean}},setup(Ra){const qa=Ra;return(nd,od)=>{const ld=_sfc_main$11;return openBlock(),createElementBlock("div",null,[createVNode(ld,{class:"flex items-center"},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(["mr-4 min-h-4 w-[150px] flex-shrink-0 text-right font-bold",{required:qa.required}])},toDisplayString(qa.label),3),renderSlot(nd.$slots,"default",{},void 0,!0)]),_:3})])}}}),__unplugin_components_12=_export_sfc(_sfc_main$W,[["__scopeId","data-v-a66ad4e0"]]),_sfc_main$V=defineComponent({__name:"TabsContent",props:{value:{},forceMount:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(mg),mergeProps({class:unref(cn$4)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",qa.class)},nd.value),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$U=defineComponent({__name:"Select",props:{open:{type:Boolean},defaultOpen:{type:Boolean},defaultValue:{},modelValue:{},dir:{},name:{},autocomplete:{},disabled:{type:Boolean},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,cd)=>(openBlock(),createBlock(unref(ky$1),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_hoisted_1$8={class:"absolute left-2 h-3.5 w-3.5 flex items-center justify-center"},_sfc_main$T=defineComponent({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(zy),mergeProps(unref(od),{class:unref(cn$4)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",qa.class)}),{default:withCtx(()=>[createBaseVNode("span",_hoisted_1$8,[createVNode(unref(Ky),null,{default:withCtx(()=>[createVNode(unref(Check),{class:"h-4 w-4"})]),_:1})]),createVNode(unref(jy),null,{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3})]),_:3},16,["class"]))}}),_sfc_main$S=defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(qy),mergeProps(unref(od),{class:unref(cn$4)("flex cursor-default items-center justify-center py-1",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default",{},()=>[createVNode(unref(ChevronDown),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),_sfc_main$R=defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Gy),mergeProps(unref(od),{class:unref(cn$4)("flex cursor-default items-center justify-center py-1",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default",{},()=>[createVNode(unref(ChevronUp),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),_sfc_main$Q=defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(My),mergeProps(unref(od),{class:unref(cn$4)("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:truncate text-start",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default"),createVNode(unref(Xy),{"as-child":""},{default:withCtx(()=>[createVNode(unref(ChevronDown),{class:"h-4 w-4 shrink-0 opacity-50"})]),_:1})]),_:3},16,["class"]))}}),_sfc_main$P=defineComponent({__name:"SelectValue",props:{placeholder:{},asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Yy),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$O=defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{default:"popper"},bodyLock:{type:Boolean},side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(Vy),null,{default:withCtx(()=>[createVNode(unref(Fy),mergeProps({...unref(ud),...cd.$attrs},{class:unref(cn$4)("relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",cd.position==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",nd.class)}),{default:withCtx(()=>[createVNode(unref(_sfc_main$R)),createVNode(unref(Uy),{class:normalizeClass(unref(cn$4)("p-1",cd.position==="popper"&&"h-[--radix-select-trigger-height] w-full min-w-[--radix-select-trigger-width]"))},{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},8,["class"]),createVNode(unref(_sfc_main$S))]),_:3},16,["class"])]),_:3}))}}),_sfc_main$N=defineComponent({__name:"TabsList",props:{loop:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(vg),mergeProps(nd.value,{class:unref(cn$4)("inline-flex items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",qa.class)}),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16,["class"]))}}),_hoisted_1$7={class:"truncate"},_sfc_main$M=defineComponent({__name:"TabsTrigger",props:{value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(hg),mergeProps(unref(od),{class:unref(cn$4)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",qa.class)}),{default:withCtx(()=>[createBaseVNode("span",_hoisted_1$7,[renderSlot(ld.$slots,"default")])]),_:3},16,["class"]))}}),_hoisted_1$6={class:"space-y-4"},_hoisted_2$4={class:"space-y-4"},_hoisted_3$4={class:"space-y-4"},_hoisted_4$2={class:"space-y-4"},_hoisted_5$2={class:"space-y-4"},_hoisted_6$2={class:"space-y-4"},_hoisted_7$1={class:"flex flex-col items-start"},_sfc_main$L=defineComponent({__name:"UploadImgDialog",emits:["uploadImage"],setup(Ra,{emit:qa}){const nd=qa,od=useDisplayStore(),ld=ref$1({repo:"",branch:"",accessToken:""}),ud=ref$1({accessKeyId:"",accessKeySecret:"",bucket:"",region:"",path:"",cdnHost:"",useSSL:!0}),cd=ref$1({secretId:"",secretKey:"",bucket:"",region:"",path:"",cdnHost:""}),dd=ref$1({accessKey:"",secretKey:"",bucket:"",domain:"",region:"",path:""}),pd=ref$1({endpoint:"",port:"",useSSL:!0,bucket:"",accessKey:"",secretKey:""}),fd=ref$1({proxyOrigin:"",appID:"",appsecret:""}),md=ref$1(window.location.href.startsWith("http")),vd=[{value:"default",label:"默认"},{value:"github",label:"GitHub"},{value:"aliOSS",label:"阿里云"},{value:"txCOS",label:"腾讯云"},{value:"qiniu",label:"七牛云"},{value:"minio",label:"MinIO"},{value:"mp",label:"公众号图床"},{value:"formCustom",label:"自定义代码"}],Ad=ref$1("default"),Nd=ref$1("upload");onBeforeMount(()=>{localStorage.getItem("githubConfig")&&(ld.value=JSON.parse(localStorage.getItem("githubConfig"))),localStorage.getItem("aliOSSConfig")&&(ud.value=JSON.parse(localStorage.getItem("aliOSSConfig"))),localStorage.getItem("txCOSConfig")&&(cd.value=JSON.parse(localStorage.getItem("txCOSConfig"))),localStorage.getItem("qiniuConfig")&&(dd.value=JSON.parse(localStorage.getItem("qiniuConfig"))),localStorage.getItem("minioConfig")&&(pd.value=JSON.parse(localStorage.getItem("minioConfig"))),localStorage.getItem("imgHost")&&(Ad.value=localStorage.getItem("imgHost")),localStorage.getItem("mpConfig")&&(fd.value=JSON.parse(localStorage.getItem("mpConfig")))});function Id(){localStorage.setItem("imgHost",Ad.value),Ke$1.success("已成功切换图床")}function kd(){if(!(ld.value.repo&&ld.value.accessToken)){const Zd=ld.value.repo?"token":"GitHub 仓库";Ke$1.error(`参数「${Zd}」不能为空`);return}localStorage.setItem("githubConfig",JSON.stringify(ld.value)),Ke$1.success("保存成功")}function jd(){if(!(ud.value.accessKeyId&&ud.value.accessKeySecret&&ud.value.bucket&&ud.value.region)){Ke$1.error("阿里云 OSS 参数配置不全");return}localStorage.setItem("aliOSSConfig",JSON.stringify(ud.value)),Ke$1.success("保存成功")}function Fd(){if(!(pd.value.endpoint&&pd.value.bucket&&pd.value.accessKey&&pd.value.secretKey)){Ke$1.error("MinIO 参数配置不全");return}localStorage.setItem("minioConfig",JSON.stringify(pd.value)),Ke$1.success("保存成功")}function Md(){if(!(cd.value.secretId&&cd.value.secretKey&&cd.value.bucket&&cd.value.region)){Ke$1.error("腾讯云 COS 参数配置不全");return}localStorage.setItem("txCOSConfig",JSON.stringify(cd.value)),Ke$1.success("保存成功")}function Ld(){if(!(dd.value.accessKey&&dd.value.secretKey&&dd.value.bucket&&dd.value.domain)){Ke$1.error("七牛云 Kodo 参数配置不全");return}localStorage.setItem("qiniuConfig",JSON.stringify(dd.value)),Ke$1.success("保存成功")}function Hd(){if(!(fd.value.appID&&fd.value.appsecret)){Ke$1.error("公众号图床 参数配置不全");return}if(md.value&&!fd.value.proxyOrigin){Ke$1.error("代理域名必须配置");return}localStorage.setItem("mpConfig",JSON.stringify(fd.value)),Ke$1.success("保存成功")}function Gd(Zd){const Xd=checkImage(Zd);if(!Xd.ok)return Ke$1.error(Xd.msg||""),!1;let bf=localStorage.getItem("imgHost");bf=bf||"default",localStorage.setItem("imgHost",bf);const yf=localStorage.getItem(`${bf}Config`);return bf==="default"||yf?!0:(Ke$1.error(`请先配置 ${bf} 图床参数`),!1)}const Vd=ref$1(!1),{open:Kd,onChange:mf}=useFileDialog({accept:"image/*"});mf(Zd=>{if(Zd==null)return;const Xd=Zd[0];Gd(Xd)&&nd("uploadImage",Xd)});function Wd(Zd){Vd.value=!1,Zd.stopPropagation();const Xd=Array.from(Zd.dataTransfer.files)[0];Gd(Xd)&&nd("uploadImage",Xd)}return(Zd,Xd)=>{const bf=_sfc_main$$,yf=_sfc_main$10,Ef=_sfc_main$M,gf=_sfc_main$N,xf=_sfc_main$P,Af=_sfc_main$Q,Lf=_sfc_main$T,Xf=_sfc_main$O,Jf=_sfc_main$U,Zf=_sfc_main$11,Bf=_sfc_main$V,Df=_sfc_main$17,Uf=__unplugin_components_12,Gf=_sfc_main$1h,zf=_sfc_main$X,Tf=_sfc_main$Y,vf=_sfc_main$Z,qf=_sfc_main$19,eh=_sfc_main$1a;return openBlock(),createBlock(eh,{open:unref(od).isShowUploadImgDialog,"onUpdate:open":Xd[36]||(Xd[36]=ch=>unref(od).isShowUploadImgDialog=ch)},{default:withCtx(()=>[createVNode(qf,{class:"max-w-max"},{default:withCtx(()=>[createVNode(yf,null,{default:withCtx(()=>[createVNode(bf,null,{default:withCtx(()=>Xd[37]||(Xd[37]=[createTextVNode("本地上传")])),_:1})]),_:1}),createVNode(vf,{modelValue:unref(Nd),"onUpdate:modelValue":Xd[35]||(Xd[35]=ch=>isRef(Nd)?Nd.value=ch:null),class:"w-max"},{default:withCtx(()=>[createVNode(gf,null,{default:withCtx(()=>[createVNode(Ef,{value:"upload"},{default:withCtx(()=>Xd[38]||(Xd[38]=[createTextVNode(" 选择上传 ")])),_:1}),createVNode(Ef,{value:"github"},{default:withCtx(()=>Xd[39]||(Xd[39]=[createTextVNode(" GitHub 图床 ")])),_:1}),createVNode(Ef,{value:"aliOSS"},{default:withCtx(()=>Xd[40]||(Xd[40]=[createTextVNode(" 阿里云 OSS ")])),_:1}),createVNode(Ef,{value:"txCOS"},{default:withCtx(()=>Xd[41]||(Xd[41]=[createTextVNode(" 腾讯云 COS ")])),_:1}),createVNode(Ef,{value:"qiniu"},{default:withCtx(()=>Xd[42]||(Xd[42]=[createTextVNode(" 七牛云 Kodo ")])),_:1}),createVNode(Ef,{value:"minio"},{default:withCtx(()=>Xd[43]||(Xd[43]=[createTextVNode(" MinIO ")])),_:1}),createVNode(Ef,{value:"mp"},{default:withCtx(()=>Xd[44]||(Xd[44]=[createTextVNode(" 公众号图床 ")])),_:1}),createVNode(Ef,{value:"formCustom"},{default:withCtx(()=>Xd[45]||(Xd[45]=[createTextVNode(" 自定义代码 ")])),_:1})]),_:1}),createVNode(Bf,{value:"upload"},{default:withCtx(()=>[createVNode(Zf,null,{default:withCtx(()=>[Xd[46]||(Xd[46]=createBaseVNode("span",{class:"my-4 block"}," 图床 ",-1)),createVNode(Jf,{modelValue:unref(Ad),"onUpdate:modelValue":[Xd[0]||(Xd[0]=ch=>isRef(Ad)?Ad.value=ch:null),Id]},{default:withCtx(()=>[createVNode(Af,null,{default:withCtx(()=>[createVNode(xf,{placeholder:"请选择"})]),_:1}),createVNode(Xf,null,{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(vd,ch=>createVNode(Lf,{key:ch.value,label:ch.label,value:ch.value},{default:withCtx(()=>[createTextVNode(toDisplayString(ch.label),1)]),_:2},1032,["label","value"])),64))]),_:1})]),_:1},8,["modelValue"])]),_:1}),createBaseVNode("div",{class:normalizeClass(["bg-clip-padding mt-4 h-50 flex flex-col cursor-pointer items-center justify-evenly border-2 rounded border-dashed transition-colors hover:border-gray-700 hover:bg-gray-400/50 dark:hover:border-gray-200 dark:hover:bg-gray-500/50",{"border-gray-700 bg-gray-400/50 dark:border-gray-200 dark:bg-gray-500/50":unref(Vd)}]),onClick:Xd[1]||(Xd[1]=ch=>unref(Kd)()),onDrop:withModifiers(Wd,["prevent"]),onDragover:Xd[2]||(Xd[2]=withModifiers(ch=>Vd.value=!0,["prevent"])),onDragleave:Xd[3]||(Xd[3]=withModifiers(ch=>Vd.value=!1,["prevent"]))},[createVNode(unref(CloudUpload),{class:"size-20"}),Xd[47]||(Xd[47]=createBaseVNode("p",null,[createTextVNode(" 将图片拖到此处,或 "),createBaseVNode("strong",null,"点击上传")],-1))],34)]),_:1}),createVNode(Bf,{value:"github"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$6,[createVNode(Uf,{label:"GitHub 仓库",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(ld).repo,"onUpdate:modelValue":Xd[4]||(Xd[4]=ch=>unref(ld).repo=ch),modelModifiers:{trim:!0},placeholder:"如:github.com/yanglbme/resource"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"分支"},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(ld).branch,"onUpdate:modelValue":Xd[5]||(Xd[5]=ch=>unref(ld).branch=ch),modelModifiers:{trim:!0},placeholder:"如:release,可不填,默认 master"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"Token",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(ld).accessToken,"onUpdate:modelValue":Xd[6]||(Xd[6]=ch=>unref(ld).accessToken=ch),modelModifiers:{trim:!0},type:"password",placeholder:"如:cc1d0c1426d0fd0902bd2d7184b14da61b8abc46"},null,8,["modelValue"])]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createVNode(Gf,{variant:"link",class:"p-0",as:"a",href:"https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token",target:"_blank"},{default:withCtx(()=>Xd[48]||(Xd[48]=[createTextVNode(" 如何获取 GitHub Token? ")])),_:1})]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createVNode(Gf,{onClick:kd},{default:withCtx(()=>Xd[49]||(Xd[49]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(Bf,{value:"aliOSS"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$4,[createVNode(Uf,{label:"AccessKey ID",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(ud).accessKeyId,"onUpdate:modelValue":Xd[7]||(Xd[7]=ch=>unref(ud).accessKeyId=ch),modelModifiers:{trim:!0},placeholder:"如:LTAI4GdoocsmdoxUf13ylbaNHk"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"AccessKey Secret",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(ud).accessKeySecret,"onUpdate:modelValue":Xd[8]||(Xd[8]=ch=>unref(ud).accessKeySecret=ch),modelModifiers:{trim:!0},type:"password",placeholder:"如:cc1d0c142doocs0902bd2d7md4b14da6ylbabc46"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"Bucket",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(ud).bucket,"onUpdate:modelValue":Xd[9]||(Xd[9]=ch=>unref(ud).bucket=ch),modelModifiers:{trim:!0},placeholder:"如:doocs"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"Bucket 所在区域",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(ud).region,"onUpdate:modelValue":Xd[10]||(Xd[10]=ch=>unref(ud).region=ch),modelModifiers:{trim:!0},placeholder:"如:oss-cn-shenzhen"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"UseSSL",required:""},{default:withCtx(()=>[createVNode(zf,{checked:unref(ud).useSSL,"onUpdate:checked":Xd[11]||(Xd[11]=ch=>unref(ud).useSSL=ch)},null,8,["checked"])]),_:1}),createVNode(Uf,{label:"自定义 CDN 域名"},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(ud).cdnHost,"onUpdate:modelValue":Xd[12]||(Xd[12]=ch=>unref(ud).cdnHost=ch),modelModifiers:{trim:!0},placeholder:"如:https://imagecdn.alidaodao.com,可不填"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"存储路径"},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(ud).path,"onUpdate:modelValue":Xd[13]||(Xd[13]=ch=>unref(ud).path=ch),modelModifiers:{trim:!0},placeholder:"如:img,可不填,默认为根目录"},null,8,["modelValue"])]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createVNode(Gf,{variant:"link",class:"p-0",as:"a",href:"https://help.aliyun.com/document_detail/31883.html",target:"_blank"},{default:withCtx(()=>Xd[50]||(Xd[50]=[createTextVNode(" 如何使用阿里云 OSS? ")])),_:1})]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createVNode(Gf,{onClick:jd},{default:withCtx(()=>Xd[51]||(Xd[51]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(Bf,{value:"txCOS"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_3$4,[createVNode(Uf,{label:"SecretId",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(cd).secretId,"onUpdate:modelValue":Xd[14]||(Xd[14]=ch=>unref(cd).secretId=ch),modelModifiers:{trim:!0},placeholder:"如:AKIDnQp1w3DOOCSs8F5MDp9tdoocsmdUPonW3"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"SecretKey",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(cd).secretKey,"onUpdate:modelValue":Xd[15]||(Xd[15]=ch=>unref(cd).secretKey=ch),modelModifiers:{trim:!0},type:"password",placeholder:"如:ukLmdtEJ9271f3DOocsMDsCXdS3YlbW0"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"Bucket",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(cd).bucket,"onUpdate:modelValue":Xd[16]||(Xd[16]=ch=>unref(cd).bucket=ch),modelModifiers:{trim:!0},placeholder:"如:doocs-3212520134"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"Bucket 所在区域",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(cd).region,"onUpdate:modelValue":Xd[17]||(Xd[17]=ch=>unref(cd).region=ch),modelModifiers:{trim:!0},placeholder:"如:ap-guangzhou"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"自定义 CDN 域名"},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(cd).cdnHost,"onUpdate:modelValue":Xd[18]||(Xd[18]=ch=>unref(cd).cdnHost=ch),modelModifiers:{trim:!0},placeholder:"如:https://imagecdn.alidaodao.com,可不填"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"存储路径"},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(cd).path,"onUpdate:modelValue":Xd[19]||(Xd[19]=ch=>unref(cd).path=ch),modelModifiers:{trim:!0},placeholder:"如:img,可不填,默认根目录"},null,8,["modelValue"])]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createVNode(Gf,{variant:"link",class:"p-0",as:"a",href:"https://cloud.tencent.com/document/product/436/38484",target:"_blank"},{default:withCtx(()=>Xd[52]||(Xd[52]=[createTextVNode(" 如何使用腾讯云 COS? ")])),_:1})]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createVNode(Gf,{onClick:Md},{default:withCtx(()=>Xd[53]||(Xd[53]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(Bf,{value:"qiniu"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_4$2,[createVNode(Uf,{label:"AccessKey",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(dd).accessKey,"onUpdate:modelValue":Xd[20]||(Xd[20]=ch=>unref(dd).accessKey=ch),modelModifiers:{trim:!0},placeholder:"如:6DD3VaLJ_SQgOdoocsyTV_YWaDmdnL2n8EGx7kG"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"SecretKey",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(dd).secretKey,"onUpdate:modelValue":Xd[21]||(Xd[21]=ch=>unref(dd).secretKey=ch),modelModifiers:{trim:!0},type:"password",placeholder:"如:qgZa5qrvDOOcsmdKStD1oCjZ9nB7MDvJUs_34SIm"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"Bucket",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(dd).bucket,"onUpdate:modelValue":Xd[22]||(Xd[22]=ch=>unref(dd).bucket=ch),modelModifiers:{trim:!0},placeholder:"如:md"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"Bucket 对应域名",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(dd).domain,"onUpdate:modelValue":Xd[23]||(Xd[23]=ch=>unref(dd).domain=ch),modelModifiers:{trim:!0},placeholder:"如:https://images.123ylb.cn"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"存储区域"},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(dd).region,"onUpdate:modelValue":Xd[24]||(Xd[24]=ch=>unref(dd).region=ch),modelModifiers:{trim:!0},placeholder:"如:z2,可不填"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"存储路径"},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(dd).path,"onUpdate:modelValue":Xd[25]||(Xd[25]=ch=>unref(dd).path=ch),modelModifiers:{trim:!0},placeholder:"如:img,可不填,默认为根目录"},null,8,["modelValue"])]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createVNode(Gf,{variant:"link",class:"p-0",as:"a",href:"https://developer.qiniu.com/kodo",target:"_blank"},{default:withCtx(()=>Xd[54]||(Xd[54]=[createTextVNode(" 如何使用七牛云 Kodo? ")])),_:1})]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createVNode(Gf,{onClick:Ld},{default:withCtx(()=>Xd[55]||(Xd[55]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(Bf,{value:"minio"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_5$2,[createVNode(Uf,{label:"Endpoint",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(pd).endpoint,"onUpdate:modelValue":Xd[26]||(Xd[26]=ch=>unref(pd).endpoint=ch),modelModifiers:{trim:!0},placeholder:"如:play.min.io"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"Port"},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(pd).port,"onUpdate:modelValue":Xd[27]||(Xd[27]=ch=>unref(pd).port=ch),modelModifiers:{trim:!0},type:"number",placeholder:"如:9000,可不填,http 默认为 80,https 默认为 443"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"UseSSL",required:""},{default:withCtx(()=>[createVNode(zf,{checked:unref(pd).useSSL,"onUpdate:checked":Xd[28]||(Xd[28]=ch=>unref(pd).useSSL=ch)},null,8,["checked"])]),_:1}),createVNode(Uf,{label:"Bucket",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(pd).bucket,"onUpdate:modelValue":Xd[29]||(Xd[29]=ch=>unref(pd).bucket=ch),modelModifiers:{trim:!0},placeholder:"如:doocs"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"AccessKey",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(pd).accessKey,"onUpdate:modelValue":Xd[30]||(Xd[30]=ch=>unref(pd).accessKey=ch),modelModifiers:{trim:!0},placeholder:"如:zhangsan"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"SecretKey",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(pd).secretKey,"onUpdate:modelValue":Xd[31]||(Xd[31]=ch=>unref(pd).secretKey=ch),modelModifiers:{trim:!0},placeholder:"如:asdasdasd"},null,8,["modelValue"])]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createVNode(Gf,{variant:"link",class:"p-0",as:"a",href:"http://docs.minio.org.cn/docs/master/minio-client-complete-guide",target:"_blank"},{default:withCtx(()=>Xd[56]||(Xd[56]=[createTextVNode(" 如何使用 MinIO? ")])),_:1})]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createVNode(Gf,{onClick:Fd},{default:withCtx(()=>Xd[57]||(Xd[57]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(Bf,{value:"mp"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_6$2,[createVNode(Uf,{label:"代理域名",required:unref(md)},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(fd).proxyOrigin,"onUpdate:modelValue":Xd[32]||(Xd[32]=ch=>unref(fd).proxyOrigin=ch),modelModifiers:{trim:!0},placeholder:"如:http://proxy.example.com,使用插件时可不填"},null,8,["modelValue"])]),_:1},8,["required"]),createVNode(Uf,{label:"appID",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(fd).appID,"onUpdate:modelValue":Xd[33]||(Xd[33]=ch=>unref(fd).appID=ch),modelModifiers:{trim:!0},placeholder:"如:wx6e1234567890efa3"},null,8,["modelValue"])]),_:1}),createVNode(Uf,{label:"appsecret",required:""},{default:withCtx(()=>[createVNode(Df,{modelValue:unref(fd).appsecret,"onUpdate:modelValue":Xd[34]||(Xd[34]=ch=>unref(fd).appsecret=ch),modelModifiers:{trim:!0},placeholder:"如:d9f1abcdef01234567890abcdef82397"},null,8,["modelValue"])]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createBaseVNode("div",_hoisted_7$1,[createVNode(Gf,{variant:"link",class:"p-0",as:"a",href:"https://developers.weixin.qq.com/doc/offiaccount/Getting_Started/Getting_Started_Guide.html",target:"_blank"},{default:withCtx(()=>Xd[58]||(Xd[58]=[createTextVNode(" 如何开启公众号开发者模式并获取应用账号密钥? ")])),_:1}),createVNode(Gf,{variant:"link",class:"p-0",as:"a",href:"https://mpmd.pages.dev/tutorial/",target:"_blank"},{default:withCtx(()=>Xd[59]||(Xd[59]=[createTextVNode(" 如何在浏览器插件中使用公众号图床? ")])),_:1})])]),_:1}),createVNode(Uf,null,{default:withCtx(()=>[createVNode(Gf,{onClick:Hd},{default:withCtx(()=>Xd[60]||(Xd[60]=[createTextVNode(" 保存配置 ")])),_:1})]),_:1})])]),_:1}),createVNode(Bf,{value:"formCustom"},{default:withCtx(()=>[createVNode(Tf)]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["open"])}}}),_sfc_main$K=defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Su$2),mergeProps(unref(od),{class:unref(cn$4)("text-sm text-muted-foreground",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"]))}}),_hoisted_1$5={class:"cssEditor-wrapper order-1 h-full flex flex-col border-l-1"},_sfc_main$J=defineComponent({__name:"CssEditor",setup(Ra){const qa=useStore(),nd=useDisplayStore(),od=ref$1(!1),ld=ref$1(""),ud=ref$1(["",qa.cssContentConfig.active]);function cd(Fd){ld.value=Fd,od.value=!0}function dd(){if(!ld.value.trim()){Ke$1.error("新建失败,方案名不可为空");return}if(!qa.validatorTabName(ld.value)){Ke$1.error("不能与现有方案重名");return}qa.renameTab(ld.value),od.value=!1,Ke$1.success("修改成功~")}const pd=ref$1(!1),fd=ref$1("");function md(){if(!fd.value.trim()){Ke$1.error("新建失败,方案名不可为空");return}if(!qa.validatorTabName(fd.value)){Ke$1.error("不能与现有方案重名");return}qa.addCssContentTab(fd.value),pd.value=!1,qa.cssContentConfig.active=fd.value,ud.value=[ud.value[1],fd.value],Ke$1.success("新建成功~")}const vd=ref$1(!1),Ad=ref$1("");function Nd(Fd){Ad.value=Fd,vd.value=!0}function Id(){const Fd=qa.cssContentConfig.tabs;if(Fd.length===1){Ke$1.warning("至少保留一个方案");return}let Md=qa.cssContentConfig.active;Md===Ad.value&&Fd.forEach((Ld,Hd)=>{if(Ld.name===Ad.value){const Gd=Fd[Hd+1]||Fd[Hd-1];Gd&&(Md=Gd.name)}}),qa.tabChanged(Md),qa.cssContentConfig.tabs=Fd.filter(Ld=>Ld.name!==Ad.value),Ke$1.success("删除成功~")}function kd(){fd.value=`方案${qa.cssContentConfig.tabs.length+1}`,pd.value=!0}function jd(Fd){if(Fd==="add"){qa.cssContentConfig.active=ud.value[1],kd();return}ud.value=[ud.value[1],Fd]}return(Fd,Md)=>{const Ld=_sfc_main$M,Hd=_sfc_main$N,Gd=_sfc_main$Z,Vd=_sfc_main$$,Kd=_sfc_main$K,mf=_sfc_main$10,Wd=_sfc_main$17,Zd=_sfc_main$1h,Xd=_sfc_main$18,bf=_sfc_main$19,yf=_sfc_main$1a,Ef=_sfc_main$1c,gf=_sfc_main$1d,xf=_sfc_main$1e,Af=_sfc_main$1f,Lf=_sfc_main$1g,Xf=_sfc_main$1i,Jf=_sfc_main$1j,Zf=_sfc_main$1k;return openBlock(),createBlock(Transition$1,{"enter-active-class":"bounceInRight"},{default:withCtx(()=>[withDirectives(createBaseVNode("div",_hoisted_1$5,[createVNode(Gd,{modelValue:unref(qa).cssContentConfig.active,"onUpdate:modelValue":[Md[0]||(Md[0]=Bf=>unref(qa).cssContentConfig.active=Bf),jd]},{default:withCtx(()=>[createVNode(Hd,{class:"w-full overflow-x-auto"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qa).cssContentConfig.tabs,Bf=>(openBlock(),createBlock(Ld,{key:Bf.name,value:Bf.name,class:"flex-1"},{default:withCtx(()=>[createTextVNode(toDisplayString(Bf.title)+" ",1),withDirectives(createVNode(unref(PenLine),{class:"inline size-4 rounded-full p-0.5 transition-color hover:bg-gray-200 dark:hover:bg-gray-600",onClick:Df=>cd(Bf.name)},null,8,["onClick"]),[[vShow,unref(qa).cssContentConfig.active===Bf.name]]),withDirectives(createVNode(unref(X$6),{class:"inline size-4 rounded-full p-0.5 transition-color hover:bg-gray-200 dark:hover:bg-gray-600",onClick:withModifiers(Df=>Nd(Bf.name),["self"])},null,8,["onClick"]),[[vShow,unref(qa).cssContentConfig.active===Bf.name]])]),_:2},1032,["value"]))),128)),createVNode(Ld,{value:"add"},{default:withCtx(()=>[createVNode(unref(Plus),{class:"h-5 w-5"})]),_:1})]),_:1})]),_:1},8,["modelValue"]),Md[21]||(Md[21]=createBaseVNode("textarea",{id:"cssEditor",type:"textarea",placeholder:"Your custom css here."},null,-1)),createVNode(yf,{open:unref(pd),"onUpdate:open":Md[4]||(Md[4]=Bf=>isRef(pd)?pd.value=Bf:null)},{default:withCtx(()=>[createVNode(bf,{class:"sm:max-w-[425px]"},{default:withCtx(()=>[createVNode(mf,null,{default:withCtx(()=>[createVNode(Vd,null,{default:withCtx(()=>Md[9]||(Md[9]=[createTextVNode("新建自定义 CSS")])),_:1}),createVNode(Kd,null,{default:withCtx(()=>Md[10]||(Md[10]=[createTextVNode(" 请输入方案名称 ")])),_:1})]),_:1}),createVNode(Wd,{modelValue:unref(fd),"onUpdate:modelValue":Md[1]||(Md[1]=Bf=>isRef(fd)?fd.value=Bf:null)},null,8,["modelValue"]),createVNode(Xd,null,{default:withCtx(()=>[createVNode(Zd,{variant:"outline",onClick:Md[2]||(Md[2]=Bf=>pd.value=!1)},{default:withCtx(()=>Md[11]||(Md[11]=[createTextVNode(" 取消 ")])),_:1}),createVNode(Zd,{onClick:Md[3]||(Md[3]=Bf=>md())},{default:withCtx(()=>Md[12]||(Md[12]=[createTextVNode(" 保存 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(yf,{open:unref(od),"onUpdate:open":Md[7]||(Md[7]=Bf=>isRef(od)?od.value=Bf:null)},{default:withCtx(()=>[createVNode(bf,{class:"sm:max-w-[425px]"},{default:withCtx(()=>[createVNode(mf,null,{default:withCtx(()=>[createVNode(Vd,null,{default:withCtx(()=>Md[13]||(Md[13]=[createTextVNode("编辑方案名称")])),_:1}),createVNode(Kd,null,{default:withCtx(()=>Md[14]||(Md[14]=[createTextVNode(" 请输入新的方案名称 ")])),_:1})]),_:1}),createVNode(Wd,{modelValue:unref(ld),"onUpdate:modelValue":Md[5]||(Md[5]=Bf=>isRef(ld)?ld.value=Bf:null)},null,8,["modelValue"]),createVNode(Xd,null,{default:withCtx(()=>[createVNode(Zd,{variant:"outline",onClick:Md[6]||(Md[6]=Bf=>od.value=!1)},{default:withCtx(()=>Md[15]||(Md[15]=[createTextVNode(" 取消 ")])),_:1}),createVNode(Zd,{onClick:dd},{default:withCtx(()=>Md[16]||(Md[16]=[createTextVNode(" 保存 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(Zf,{open:unref(vd),"onUpdate:open":Md[8]||(Md[8]=Bf=>isRef(vd)?vd.value=Bf:null)},{default:withCtx(()=>[createVNode(Jf,null,{default:withCtx(()=>[createVNode(xf,null,{default:withCtx(()=>[createVNode(Ef,null,{default:withCtx(()=>Md[17]||(Md[17]=[createTextVNode("提示")])),_:1}),createVNode(gf,null,{default:withCtx(()=>Md[18]||(Md[18]=[createTextVNode(" 此操作将删除该自定义方案,是否继续? ")])),_:1})]),_:1}),createVNode(Xf,null,{default:withCtx(()=>[createVNode(Af,null,{default:withCtx(()=>Md[19]||(Md[19]=[createTextVNode("取消")])),_:1}),createVNode(Lf,{onClick:Id},{default:withCtx(()=>Md[20]||(Md[20]=[createTextVNode(" 确认 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])],512),[[vShow,unref(nd).isShowCssEditor]])]),_:1})}}}),__unplugin_components_8=_export_sfc(_sfc_main$J,[["__scopeId","data-v-13972d5d"]]),_sfc_main$I=defineComponent({__name:"ContextMenu",props:{dir:{},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,cd)=>(openBlock(),createBlock(unref(em$1),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$H=defineComponent({__name:"ContextMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},sticky:{},hideWhenDetached:{type:Boolean},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(am),null,{default:withCtx(()=>[createVNode(unref(nm$1),mergeProps(unref(ud),{class:unref(cn$4)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md animate-in fade-in-80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$G=defineComponent({__name:"ContextMenuShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn$4)("ml-auto text-xs tracking-widest text-muted-foreground",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$F=defineComponent({__name:"ContextMenuSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:od,...ld}=qa;return ld});return(od,ld)=>(openBlock(),createBlock(unref(rm$1),mergeProps(nd.value,{class:unref(cn$4)("-mx-1 my-1 h-px bg-border",qa.class)}),null,16,["class"]))}}),_sfc_main$E=defineComponent({__name:"ContextMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(lm),mergeProps(unref(ud),{class:unref(cn$4)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",cd.inset&&"pl-8",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$D=defineComponent({__name:"ContextMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const nd=It$4(Ra);return(od,ld)=>(openBlock(),createBlock(unref(tm$1),normalizeProps(guardReactiveProps(unref(nd))),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16))}}),_sfc_main$C=defineComponent({__name:"DropdownMenu",props:{defaultOpen:{type:Boolean},open:{type:Boolean},dir:{},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,cd)=>(openBlock(),createBlock(unref(ah),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$B=defineComponent({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(oh),null,{default:withCtx(()=>[createVNode(unref(lh),mergeProps(unref(ud),{class:unref(cn$4)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$A=defineComponent({__name:"DropdownMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(rh),mergeProps(unref(od),{class:unref(cn$4)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",ld.inset&&"pl-8",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$z=defineComponent({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(Ra){const nd=It$4(Ra);return(od,ld)=>(openBlock(),createBlock(unref(nh),mergeProps({class:"outline-none"},unref(nd)),{default:withCtx(()=>[renderSlot(od.$slots,"default")]),_:3},16))}}),_sfc_main$y=defineComponent({__name:"DialogTrigger",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Ji$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_hoisted_1$4={class:"space-y-1 h-full overflow-auto p-2"},_hoisted_2$3=["onClick"],_hoisted_3$3={class:"line-clamp-1"},_sfc_main$x=defineComponent({__name:"PostSlider",setup(Ra){const qa=useStore(),nd=ref$1(!1),od=ref$1("");watch(nd,()=>{nd.value&&(od.value="")});function ld(){if(od.value===""){Ke$1.error("文章标题不可为空");return}qa.addPost(od.value),nd.value=!1,Ke$1.success("文章新增成功")}const ud=ref$1(-1),cd=ref$1(!1),dd=ref$1("");function pd(Nd){ud.value=Nd,dd.value=qa.posts[Nd].title,cd.value=!0}function fd(){if(dd.value===""){Ke$1.error("文章标题不可为空");return}qa.renamePost(ud.value,dd.value),cd.value=!1,Ke$1.success("文章更名成功")}const md=ref$1(!1);function vd(Nd){ud.value=Nd,md.value=!0}function Ad(){qa.delPost(ud.value),md.value=!1,Ke$1.success("文章删除成功")}return(Nd,Id)=>{const kd=_sfc_main$1h,jd=_sfc_main$y,Fd=_sfc_main$$,Md=_sfc_main$K,Ld=_sfc_main$10,Hd=_sfc_main$17,Gd=_sfc_main$18,Vd=_sfc_main$19,Kd=_sfc_main$1a,mf=_sfc_main$z,Wd=_sfc_main$A,Zd=_sfc_main$B,Xd=_sfc_main$C,bf=_sfc_main$1c,yf=_sfc_main$1d,Ef=_sfc_main$1e,gf=_sfc_main$1f,xf=_sfc_main$1g,Af=_sfc_main$1i,Lf=_sfc_main$1j,Xf=_sfc_main$1k;return openBlock(),createElementBlock("div",{class:normalizeClass(["overflow-hidden border-r bg-gray/20 transition-width dark:bg-gray/40",{"w-0":!unref(qa).isOpenPostSlider,"w-50":unref(qa).isOpenPostSlider}])},[createBaseVNode("nav",_hoisted_1$4,[createVNode(Kd,{open:unref(nd),"onUpdate:open":Id[2]||(Id[2]=Jf=>isRef(nd)?nd.value=Jf:null)},{default:withCtx(()=>[createVNode(jd,{"as-child":""},{default:withCtx(()=>[createVNode(kd,{variant:"outline",class:"w-full",size:"xs"},{default:withCtx(()=>[createVNode(unref(Plus)),Id[9]||(Id[9]=createTextVNode(" 新增文章 "))]),_:1})]),_:1}),createVNode(Vd,null,{default:withCtx(()=>[createVNode(Ld,null,{default:withCtx(()=>[createVNode(Fd,null,{default:withCtx(()=>Id[10]||(Id[10]=[createTextVNode("新增文章")])),_:1}),createVNode(Md,null,{default:withCtx(()=>Id[11]||(Id[11]=[createTextVNode(" 请输入文章名称 ")])),_:1})]),_:1}),createVNode(Hd,{modelValue:unref(od),"onUpdate:modelValue":Id[0]||(Id[0]=Jf=>isRef(od)?od.value=Jf:null)},null,8,["modelValue"]),createVNode(Gd,null,{default:withCtx(()=>[createVNode(kd,{onClick:Id[1]||(Id[1]=Jf=>ld())},{default:withCtx(()=>Id[12]||(Id[12]=[createTextVNode(" 确 定 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(qa).posts,(Jf,Zf)=>(openBlock(),createElementBlock("a",{key:Jf.title,href:"#",class:normalizeClass([{"bg-primary text-primary-foreground":unref(qa).currentPostIndex===Zf},"hover:bg-primary/90 hover:text-primary-foreground dark:bg-muted dark:hover:bg-muted h-8 w-full inline-flex items-center justify-start gap-2 whitespace-nowrap rounded px-2 text-sm transition-colors dark:text-white dark:hover:text-white"]),onClick:Bf=>unref(qa).currentPostIndex=Zf},[createBaseVNode("span",_hoisted_3$3,toDisplayString(Jf.title),1),createVNode(Xd,null,{default:withCtx(()=>[createVNode(mf,{"as-child":""},{default:withCtx(()=>[createVNode(kd,{size:"xs",variant:"ghost",class:"ml-auto px-1.5"},{default:withCtx(()=>[createVNode(unref(Ellipsis),{class:"size-4"})]),_:1})]),_:1}),createVNode(Zd,null,{default:withCtx(()=>[createVNode(Wd,{onClick:withModifiers(Bf=>pd(Zf),["stop"])},{default:withCtx(()=>[createVNode(unref(PenLine),{class:"mr-2 size-4"}),Id[13]||(Id[13]=createTextVNode(" 更名 "))]),_:2},1032,["onClick"]),createVNode(Wd,{onClick:withModifiers(Bf=>vd(Zf),["stop"])},{default:withCtx(()=>[createVNode(unref(Trash),{class:"mr-2 size-4"}),Id[14]||(Id[14]=createTextVNode(" 删除 "))]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024)],10,_hoisted_2$3))),128)),createVNode(Kd,{open:unref(cd),"onUpdate:open":Id[6]||(Id[6]=Jf=>isRef(cd)?cd.value=Jf:null)},{default:withCtx(()=>[createVNode(Vd,{class:"sm:max-w-[425px]"},{default:withCtx(()=>[createVNode(Ld,null,{default:withCtx(()=>[createVNode(Fd,null,{default:withCtx(()=>Id[15]||(Id[15]=[createTextVNode("编辑文章名称")])),_:1}),createVNode(Md,null,{default:withCtx(()=>Id[16]||(Id[16]=[createTextVNode(" 请输入新的文章名称 ")])),_:1})]),_:1}),createVNode(Hd,{modelValue:unref(dd),"onUpdate:modelValue":Id[3]||(Id[3]=Jf=>isRef(dd)?dd.value=Jf:null)},null,8,["modelValue"]),createVNode(Gd,null,{default:withCtx(()=>[createVNode(kd,{variant:"outline",onClick:Id[4]||(Id[4]=Jf=>cd.value=!1)},{default:withCtx(()=>Id[17]||(Id[17]=[createTextVNode(" 取消 ")])),_:1}),createVNode(kd,{onClick:Id[5]||(Id[5]=Jf=>fd())},{default:withCtx(()=>Id[18]||(Id[18]=[createTextVNode(" 保存 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"]),createVNode(Xf,{open:unref(md),"onUpdate:open":Id[8]||(Id[8]=Jf=>isRef(md)?md.value=Jf:null)},{default:withCtx(()=>[createVNode(Lf,null,{default:withCtx(()=>[createVNode(Ef,null,{default:withCtx(()=>[createVNode(bf,null,{default:withCtx(()=>Id[19]||(Id[19]=[createTextVNode("提示")])),_:1}),createVNode(yf,null,{default:withCtx(()=>Id[20]||(Id[20]=[createTextVNode(" 此操作将删除该文章,是否继续? ")])),_:1})]),_:1}),createVNode(Af,null,{default:withCtx(()=>[createVNode(gf,null,{default:withCtx(()=>Id[21]||(Id[21]=[createTextVNode("取消")])),_:1}),createVNode(xf,{onClick:Id[7]||(Id[7]=Jf=>Ad())},{default:withCtx(()=>Id[22]||(Id[22]=[createTextVNode(" 确认 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])])],2)}}}),_sfc_main$w=defineComponent({__name:"Textarea",props:{class:{},defaultValue:{},modelValue:{}},setup(Ra,{emit:qa}){const nd=Ra,ld=useVModel(nd,"modelValue",qa,{passive:!0,defaultValue:nd.defaultValue});return(ud,cd)=>withDirectives((openBlock(),createElementBlock("textarea",{"onUpdate:modelValue":cd[0]||(cd[0]=dd=>isRef(ld)?ld.value=dd:null),class:normalizeClass(unref(cn$4)("flex min-h-20 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",nd.class))},null,2)),[[vModelText,unref(ld)]])}}),_sfc_main$v=defineComponent({__name:"AlertDescription",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$4)("text-sm [&_p]:leading-relaxed",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$u=defineComponent({__name:"AlertTitle",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("h5",{class:normalizeClass(unref(cn$4)("mb-1 font-medium leading-none tracking-tight",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),alertVariants=cva("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),_sfc_main$t=defineComponent({__name:"Alert",props:{class:{},variant:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(cn$4)(unref(alertVariants)({variant:nd.variant}),qa.class)),role:"alert"},[renderSlot(nd.$slots,"default")],2))}}),_hoisted_1$3={class:"w-full flex items-center gap-4"},_hoisted_2$2={class:"w-full flex items-center gap-4"},_hoisted_3$2={class:"w-full flex items-start gap-4"},_sfc_main$s=defineComponent({__name:"PostInfo",setup(Ra){const qa=useStore(),{output:nd}=storeToRefs(qa),od=ref$1(!1),ld=ref$1({title:"",desc:"",thumb:"",content:"",auto:{}});function ud(){var fd;let pd={};try{pd={thumb:(fd=document.querySelector("#output img"))==null?void 0:fd.src,title:[1,2,3,4,5,6].map(md=>document.querySelector(`#output h${md}`)).filter(md=>md)[0].textContent,desc:document.querySelector("#output p").textContent,content:nd.value}}catch(md){console.log("error",md)}ld.value={...pd,auto:pd}}function cd(){od.value=!1,window.syncPost({thumb:ld.value.thumb||ld.value.auto.thumb,title:ld.value.title||ld.value.auto.title,desc:ld.value.desc||ld.value.auto.desc,content:ld.value.content||ld.value.auto.content})}function dd(pd){pd||(od.value=!1)}return(pd,fd)=>{const md=_sfc_main$1h,vd=_sfc_main$y,Ad=_sfc_main$$,Nd=_sfc_main$10,Id=_sfc_main$u,kd=_sfc_main$v,jd=_sfc_main$t,Fd=_sfc_main$11,Md=_sfc_main$17,Ld=_sfc_main$w,Hd=_sfc_main$18,Gd=_sfc_main$19,Vd=_sfc_main$1a;return openBlock(),createBlock(Vd,{open:unref(od),"onUpdate:open":[fd[4]||(fd[4]=Kd=>isRef(od)?od.value=Kd:null),dd]},{default:withCtx(()=>[createVNode(vd,null,{default:withCtx(()=>[createVNode(md,{variant:"outline",onClick:ud},{default:withCtx(()=>fd[5]||(fd[5]=[createTextVNode(" 发布 ")])),_:1})]),_:1}),createVNode(Gd,null,{default:withCtx(()=>[createVNode(Nd,null,{default:withCtx(()=>[createVNode(Ad,null,{default:withCtx(()=>fd[6]||(fd[6]=[createTextVNode("发布")])),_:1})]),_:1}),createVNode(jd,null,{default:withCtx(()=>[createVNode(unref(Info),{class:"h-4 w-4"}),createVNode(Id,null,{default:withCtx(()=>fd[7]||(fd[7]=[createTextVNode("提示")])),_:1}),createVNode(kd,null,{default:withCtx(()=>fd[8]||(fd[8]=[createTextVNode(" 此功能由第三方浏览器插件支持,本平台不保证安全性。 ")])),_:1})]),_:1}),createBaseVNode("div",_hoisted_1$3,[createVNode(Fd,{for:"thumb",class:"w-10 text-end"},{default:withCtx(()=>fd[9]||(fd[9]=[createTextVNode(" 封面 ")])),_:1}),createVNode(Md,{id:"thumb",modelValue:unref(ld).thumb,"onUpdate:modelValue":fd[0]||(fd[0]=Kd=>unref(ld).thumb=Kd),placeholder:"自动提取第一张图"},null,8,["modelValue"])]),createBaseVNode("div",_hoisted_2$2,[createVNode(Fd,{for:"title",class:"w-10 text-end"},{default:withCtx(()=>fd[10]||(fd[10]=[createTextVNode(" 标题 ")])),_:1}),createVNode(Md,{id:"title",modelValue:unref(ld).title,"onUpdate:modelValue":fd[1]||(fd[1]=Kd=>unref(ld).title=Kd),placeholder:"自动提取第一个标题"},null,8,["modelValue"])]),createBaseVNode("div",_hoisted_3$2,[createVNode(Fd,{for:"desc",class:"w-10 text-end"},{default:withCtx(()=>fd[11]||(fd[11]=[createTextVNode(" 描述 ")])),_:1}),createVNode(Ld,{id:"desc",modelValue:unref(ld).desc,"onUpdate:modelValue":fd[2]||(fd[2]=Kd=>unref(ld).desc=Kd),placeholder:"自动提取第一个段落"},null,8,["modelValue"])]),createVNode(Hd,null,{default:withCtx(()=>[createVNode(md,{variant:"outline",onClick:fd[3]||(fd[3]=Kd=>od.value=!1)},{default:withCtx(()=>fd[12]||(fd[12]=[createTextVNode(" 取 消 ")])),_:1}),createVNode(md,{onClick:cd},{default:withCtx(()=>fd[13]||(fd[13]=[createTextVNode(" 确 定 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])}}}),_sfc_main$r=defineComponent({__name:"Popover",props:{defaultOpen:{type:Boolean},open:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,cd)=>(openBlock(),createBlock(unref(hs$1),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$q=defineComponent({inheritAttrs:!1,__name:"PopoverContent",props:{forceMount:{type:Boolean},trapFocus:{type:Boolean},side:{},sideOffset:{default:4},align:{default:"center"},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(gs$4),null,{default:withCtx(()=>[createVNode(unref(Cs$2),mergeProps({...unref(ud),...cd.$attrs},{class:unref(cn$4)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$p=defineComponent({__name:"PopoverTrigger",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(ys$3),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$o=defineComponent({__name:"Menubar",props:{modelValue:{},defaultValue:{},dir:{},loop:{type:Boolean},class:{}},emits:["update:modelValue"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(Nh),mergeProps(unref(ud),{class:unref(cn$4)("flex h-10 items-center gap-x-1 rounded-md border bg-background p-1",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$n=defineComponent({__name:"AboutDialog",props:{visible:{type:Boolean,default:!1}},emits:["close"],setup(Ra,{emit:qa}){const nd=Ra,od=qa;function ld(dd){dd||od("close")}const ud=[{label:"GitHub 仓库",url:"https://github.com/doocs/md"},{label:"Gitee 仓库",url:"https://gitee.com/doocs/md"},{label:"GitCode 仓库",url:"https://gitcode.com/doocs/md"}];function cd(dd){window.open(dd,"_blank")}return(dd,pd)=>{const fd=_sfc_main$$,md=_sfc_main$10,vd=_sfc_main$1h,Ad=_sfc_main$18,Nd=_sfc_main$19,Id=_sfc_main$1a;return openBlock(),createBlock(Id,{open:nd.visible,"onUpdate:open":ld},{default:withCtx(()=>[createVNode(Nd,null,{default:withCtx(()=>[createVNode(md,null,{default:withCtx(()=>[createVNode(fd,null,{default:withCtx(()=>pd[0]||(pd[0]=[createTextVNode("关于")])),_:1})]),_:1}),pd[1]||(pd[1]=createBaseVNode("div",{class:"text-center"},[createBaseVNode("h3",null,"一款高度简洁的微信 Markdown 编辑器"),createBaseVNode("p",null,"扫码关注公众号 Doocs,原创技术文章第一时间推送!"),createBaseVNode("img",{class:"mx-auto my-5",src:"https://cdn-doocs.oss-cn-shenzhen.aliyuncs.com/gh/doocs/md/images/1648303220922-7e14aefa-816e-44c1-8604-ade709ca1c69.png",alt:"Doocs Markdown 编辑器",style:{width:"40%"}})],-1)),createVNode(Ad,{class:"sm:justify-evenly"},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(ud,kd=>createVNode(vd,{key:kd.url,onClick:jd=>cd(kd.url)},{default:withCtx(()=>[createTextVNode(toDisplayString(kd.label),1)]),_:2},1032,["onClick"])),64))]),_:1})]),_:1})]),_:1},8,["open"])}}}),_sfc_main$m=defineComponent({__name:"MenubarMenu",props:{value:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Lh),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$l=defineComponent({__name:"MenubarContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{default:8},align:{default:"start"},alignOffset:{default:-4},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Kh),null,{default:withCtx(()=>[createVNode(unref(Hh),mergeProps(unref(od),{class:unref(cn$4)("z-50 min-w-48 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_hoisted_1$2={class:"absolute left-2 h-3.5 w-3.5 flex items-center justify-center"},_sfc_main$k=defineComponent({__name:"MenubarCheckboxItem",props:{checked:{type:[Boolean,String]},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{}},emits:["select","update:checked"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(qh),mergeProps(unref(ud),{class:unref(cn$4)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",nd.class)}),{default:withCtx(()=>[createBaseVNode("span",_hoisted_1$2,[createVNode(unref(Yh),null,{default:withCtx(()=>[createVNode(unref(Check),{class:"h-4 w-4"})]),_:1})]),renderSlot(cd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$j=defineComponent({__name:"MenubarTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(zh),mergeProps(unref(od),{class:unref(cn$4)("flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none hover:bg-accent focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$i=defineComponent({__name:"HelpDropdown",setup(Ra){const qa=ref$1(!1);return(nd,od)=>{const ld=_sfc_main$j,ud=_sfc_main$k,cd=_sfc_main$l,dd=_sfc_main$m,pd=_sfc_main$n;return openBlock(),createElementBlock(Fragment,null,[createVNode(dd,null,{default:withCtx(()=>[createVNode(ld,null,{default:withCtx(()=>od[2]||(od[2]=[createTextVNode(" 帮助 ")])),_:1}),createVNode(cd,{align:"start"},{default:withCtx(()=>[createVNode(ud,{onClick:od[0]||(od[0]=fd=>qa.value=!0)},{default:withCtx(()=>od[3]||(od[3]=[createBaseVNode("span",null,"关于",-1)])),_:1})]),_:1})]),_:1}),createVNode(pd,{visible:unref(qa),onClose:od[1]||(od[1]=fd=>qa.value=!1)},null,8,["visible"])],64)}}}),_sfc_main$h=defineComponent({__name:"HoverCard",props:{defaultOpen:{type:Boolean},open:{type:Boolean},openDelay:{},closeDelay:{}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,cd)=>(openBlock(),createBlock(unref(Eh),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$g=defineComponent({__name:"HoverCardContent",props:{forceMount:{type:Boolean},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Dh),null,{default:withCtx(()=>[createVNode(unref($h),mergeProps(unref(od),{class:unref(cn$4)("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$f=defineComponent({__name:"HoverCardTrigger",props:{asChild:{type:Boolean},as:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Ph),normalizeProps(guardReactiveProps(qa)),{default:withCtx(()=>[renderSlot(nd.$slots,"default")]),_:3},16))}}),_sfc_main$e=defineComponent({__name:"MenubarSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(Gh),mergeProps({class:unref(cn$4)("-mx-1 my-1 h-px bg-muted",qa.class)},unref(od)),null,16,["class"]))}}),_sfc_main$d=defineComponent({__name:"MenubarSub",props:{defaultOpen:{type:Boolean},open:{type:Boolean}},emits:["update:open"],setup(Ra,{emit:qa}){const ld=xe$5(Ra,qa);return(ud,cd)=>(openBlock(),createBlock(unref(Qh),normalizeProps(guardReactiveProps(unref(ld))),{default:withCtx(()=>[renderSlot(ud.$slots,"default")]),_:3},16))}}),_sfc_main$c=defineComponent({__name:"MenubarSubContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},sideOffset:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(Kh),null,{default:withCtx(()=>[createVNode(unref(ey),mergeProps(unref(ud),{class:unref(cn$4)("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),_sfc_main$b=defineComponent({__name:"DropdownMenuShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn$4)("ml-auto text-xs tracking-widest opacity-60",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$a=defineComponent({__name:"MenubarSubTrigger",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(Ra){const qa=Ra,nd=computed(()=>{const{class:ld,...ud}=qa;return ud}),od=It$4(nd);return(ld,ud)=>(openBlock(),createBlock(unref(ty),mergeProps(unref(od),{class:unref(cn$4)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",ld.inset&&"pl-8",qa.class)}),{default:withCtx(()=>[renderSlot(ld.$slots,"default"),createVNode(unref(ChevronRight),{class:"ml-auto h-4 w-4"})]),_:3},16,["class"]))}}),_sfc_main$9=defineComponent({__name:"StyleOptionMenu",props:{title:{},options:{},current:{},change:{type:Function}},setup(Ra){const qa=Ra;function nd(od,ld){switch(od){case"字体":return{fontFamily:ld};case"字号":return{fontSize:ld};case"主题色":return{color:ld};default:return{}}}return(od,ld)=>{const ud=_sfc_main$a,cd=_sfc_main$b,dd=_sfc_main$k,pd=_sfc_main$c,fd=_sfc_main$d;return openBlock(),createBlock(fd,null,{default:withCtx(()=>[createVNode(ud,null,{default:withCtx(()=>[ld[0]||(ld[0]=createBaseVNode("span",{class:"mr-2 h-4 w-4"},null,-1)),createBaseVNode("span",null,toDisplayString(qa.title),1)]),_:1}),createVNode(pd,{class:"max-h-56 overflow-auto"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(od.options,({label:md,value:vd,desc:Ad})=>(openBlock(),createBlock(dd,{key:vd,label:md,"model-value":vd,class:"w-50",checked:od.current===vd,onClick:Nd=>od.change(vd)},{default:withCtx(()=>[createTextVNode(toDisplayString(md)+" ",1),createVNode(cd,{style:normalizeStyle(nd(od.title,vd))},{default:withCtx(()=>[createTextVNode(toDisplayString(Ad),1)]),_:2},1032,["style"])]),_:2},1032,["label","model-value","checked","onClick"]))),128))]),_:1})]),_:1})}}});var E$1="top",R$2="bottom",W$1="right",P$1="left",me$1="auto",G$1=[E$1,R$2,W$1,P$1],U$1="start",J$1="end",Xe="clippingParents",je$1="viewport",K$1="popper",Ye="reference",De=G$1.reduce(function(Ra,qa){return Ra.concat([qa+"-"+U$1,qa+"-"+J$1])},[]),Ee$1=[].concat(G$1,[me$1]).reduce(function(Ra,qa){return Ra.concat([qa,qa+"-"+U$1,qa+"-"+J$1])},[]),Ge="beforeRead",Je="read",Ke="afterRead",Qe="beforeMain",Ze="main",et="afterMain",tt="beforeWrite",nt="write",rt="afterWrite",ot=[Ge,Je,Ke,Qe,Ze,et,tt,nt,rt];function C(Ra){return Ra?(Ra.nodeName||"").toLowerCase():null}function H$1(Ra){if(Ra==null)return window;if(Ra.toString()!=="[object Window]"){var qa=Ra.ownerDocument;return qa&&qa.defaultView||window}return Ra}function Q$1(Ra){var qa=H$1(Ra).Element;return Ra instanceof qa||Ra instanceof Element}function B$1(Ra){var qa=H$1(Ra).HTMLElement;return Ra instanceof qa||Ra instanceof HTMLElement}function Pe$1(Ra){if(typeof ShadowRoot>"u")return!1;var qa=H$1(Ra).ShadowRoot;return Ra instanceof qa||Ra instanceof ShadowRoot}function Mt(Ra){var qa=Ra.state;Object.keys(qa.elements).forEach(function(nd){var od=qa.styles[nd]||{},ld=qa.attributes[nd]||{},ud=qa.elements[nd];!B$1(ud)||!C(ud)||(Object.assign(ud.style,od),Object.keys(ld).forEach(function(cd){var dd=ld[cd];dd===!1?ud.removeAttribute(cd):ud.setAttribute(cd,dd===!0?"":dd)}))})}function Rt(Ra){var qa=Ra.state,nd={popper:{position:qa.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(qa.elements.popper.style,nd.popper),qa.styles=nd,qa.elements.arrow&&Object.assign(qa.elements.arrow.style,nd.arrow),function(){Object.keys(qa.elements).forEach(function(od){var ld=qa.elements[od],ud=qa.attributes[od]||{},cd=Object.keys(qa.styles.hasOwnProperty(od)?qa.styles[od]:nd[od]),dd=cd.reduce(function(pd,fd){return pd[fd]="",pd},{});!B$1(ld)||!C(ld)||(Object.assign(ld.style,dd),Object.keys(ud).forEach(function(pd){ld.removeAttribute(pd)}))})}}var Ae$1={name:"applyStyles",enabled:!0,phase:"write",fn:Mt,effect:Rt,requires:["computeStyles"]};function q$1(Ra){return Ra.split("-")[0]}var X$1=Math.max,ve$1=Math.min,Z$1=Math.round;function ee$1(Ra,qa){qa===void 0&&(qa=!1);var nd=Ra.getBoundingClientRect(),od=1,ld=1;if(B$1(Ra)&&qa){var ud=Ra.offsetHeight,cd=Ra.offsetWidth;cd>0&&(od=Z$1(nd.width)/cd||1),ud>0&&(ld=Z$1(nd.height)/ud||1)}return{width:nd.width/od,height:nd.height/ld,top:nd.top/ld,right:nd.right/od,bottom:nd.bottom/ld,left:nd.left/od,x:nd.left/od,y:nd.top/ld}}function ke$1(Ra){var qa=ee$1(Ra),nd=Ra.offsetWidth,od=Ra.offsetHeight;return Math.abs(qa.width-nd)<=1&&(nd=qa.width),Math.abs(qa.height-od)<=1&&(od=qa.height),{x:Ra.offsetLeft,y:Ra.offsetTop,width:nd,height:od}}function it(Ra,qa){var nd=qa.getRootNode&&qa.getRootNode();if(Ra.contains(qa))return!0;if(nd&&Pe$1(nd)){var od=qa;do{if(od&&Ra.isSameNode(od))return!0;od=od.parentNode||od.host}while(od)}return!1}function N(Ra){return H$1(Ra).getComputedStyle(Ra)}function Wt(Ra){return["table","td","th"].indexOf(C(Ra))>=0}function I(Ra){return((Q$1(Ra)?Ra.ownerDocument:Ra.document)||window.document).documentElement}function ge$1(Ra){return C(Ra)==="html"?Ra:Ra.assignedSlot||Ra.parentNode||(Pe$1(Ra)?Ra.host:null)||I(Ra)}function at(Ra){return!B$1(Ra)||N(Ra).position==="fixed"?null:Ra.offsetParent}function Bt(Ra){var qa=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,nd=navigator.userAgent.indexOf("Trident")!==-1;if(nd&&B$1(Ra)){var od=N(Ra);if(od.position==="fixed")return null}var ld=ge$1(Ra);for(Pe$1(ld)&&(ld=ld.host);B$1(ld)&&["html","body"].indexOf(C(ld))<0;){var ud=N(ld);if(ud.transform!=="none"||ud.perspective!=="none"||ud.contain==="paint"||["transform","perspective"].indexOf(ud.willChange)!==-1||qa&&ud.willChange==="filter"||qa&&ud.filter&&ud.filter!=="none")return ld;ld=ld.parentNode}return null}function se$1(Ra){for(var qa=H$1(Ra),nd=at(Ra);nd&&Wt(nd)&&N(nd).position==="static";)nd=at(nd);return nd&&(C(nd)==="html"||C(nd)==="body"&&N(nd).position==="static")?qa:nd||Bt(Ra)||qa}function Le$1(Ra){return["top","bottom"].indexOf(Ra)>=0?"x":"y"}function fe$1(Ra,qa,nd){return X$1(Ra,ve$1(qa,nd))}function St(Ra,qa,nd){var od=fe$1(Ra,qa,nd);return od>nd?nd:od}function st(){return{top:0,right:0,bottom:0,left:0}}function ft(Ra){return Object.assign({},st(),Ra)}function ct(Ra,qa){return qa.reduce(function(nd,od){return nd[od]=Ra,nd},{})}var Tt=function(Ra,qa){return Ra=typeof Ra=="function"?Ra(Object.assign({},qa.rects,{placement:qa.placement})):Ra,ft(typeof Ra!="number"?Ra:ct(Ra,G$1))};function Ht(Ra){var qa,nd=Ra.state,od=Ra.name,ld=Ra.options,ud=nd.elements.arrow,cd=nd.modifiersData.popperOffsets,dd=q$1(nd.placement),pd=Le$1(dd),fd=[P$1,W$1].indexOf(dd)>=0,md=fd?"height":"width";if(!(!ud||!cd)){var vd=Tt(ld.padding,nd),Ad=ke$1(ud),Nd=pd==="y"?E$1:P$1,Id=pd==="y"?R$2:W$1,kd=nd.rects.reference[md]+nd.rects.reference[pd]-cd[pd]-nd.rects.popper[md],jd=cd[pd]-nd.rects.reference[pd],Fd=se$1(ud),Md=Fd?pd==="y"?Fd.clientHeight||0:Fd.clientWidth||0:0,Ld=kd/2-jd/2,Hd=vd[Nd],Gd=Md-Ad[md]-vd[Id],Vd=Md/2-Ad[md]/2+Ld,Kd=fe$1(Hd,Vd,Gd),mf=pd;nd.modifiersData[od]=(qa={},qa[mf]=Kd,qa.centerOffset=Kd-Vd,qa)}}function Ct(Ra){var qa=Ra.state,nd=Ra.options,od=nd.element,ld=od===void 0?"[data-popper-arrow]":od;ld!=null&&(typeof ld=="string"&&(ld=qa.elements.popper.querySelector(ld),!ld)||!it(qa.elements.popper,ld)||(qa.elements.arrow=ld))}var pt={name:"arrow",enabled:!0,phase:"main",fn:Ht,effect:Ct,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te$1(Ra){return Ra.split("-")[1]}var qt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vt(Ra){var qa=Ra.x,nd=Ra.y,od=window,ld=od.devicePixelRatio||1;return{x:Z$1(qa*ld)/ld||0,y:Z$1(nd*ld)/ld||0}}function ut(Ra){var qa,nd=Ra.popper,od=Ra.popperRect,ld=Ra.placement,ud=Ra.variation,cd=Ra.offsets,dd=Ra.position,pd=Ra.gpuAcceleration,fd=Ra.adaptive,md=Ra.roundOffsets,vd=Ra.isFixed,Ad=cd.x,Nd=Ad===void 0?0:Ad,Id=cd.y,kd=Id===void 0?0:Id,jd=typeof md=="function"?md({x:Nd,y:kd}):{x:Nd,y:kd};Nd=jd.x,kd=jd.y;var Fd=cd.hasOwnProperty("x"),Md=cd.hasOwnProperty("y"),Ld=P$1,Hd=E$1,Gd=window;if(fd){var Vd=se$1(nd),Kd="clientHeight",mf="clientWidth";if(Vd===H$1(nd)&&(Vd=I(nd),N(Vd).position!=="static"&&dd==="absolute"&&(Kd="scrollHeight",mf="scrollWidth")),Vd=Vd,ld===E$1||(ld===P$1||ld===W$1)&&ud===J$1){Hd=R$2;var Wd=vd&&Vd===Gd&&Gd.visualViewport?Gd.visualViewport.height:Vd[Kd];kd-=Wd-od.height,kd*=pd?1:-1}if(ld===P$1||(ld===E$1||ld===R$2)&&ud===J$1){Ld=W$1;var Zd=vd&&Vd===Gd&&Gd.visualViewport?Gd.visualViewport.width:Vd[mf];Nd-=Zd-od.width,Nd*=pd?1:-1}}var Xd=Object.assign({position:dd},fd&&qt),bf=md===!0?Vt({x:Nd,y:kd}):{x:Nd,y:kd};if(Nd=bf.x,kd=bf.y,pd){var yf;return Object.assign({},Xd,(yf={},yf[Hd]=Md?"0":"",yf[Ld]=Fd?"0":"",yf.transform=(Gd.devicePixelRatio||1)<=1?"translate("+Nd+"px, "+kd+"px)":"translate3d("+Nd+"px, "+kd+"px, 0)",yf))}return Object.assign({},Xd,(qa={},qa[Hd]=Md?kd+"px":"",qa[Ld]=Fd?Nd+"px":"",qa.transform="",qa))}function Nt(Ra){var qa=Ra.state,nd=Ra.options,od=nd.gpuAcceleration,ld=od===void 0?!0:od,ud=nd.adaptive,cd=ud===void 0?!0:ud,dd=nd.roundOffsets,pd=dd===void 0?!0:dd,fd={placement:q$1(qa.placement),variation:te$1(qa.placement),popper:qa.elements.popper,popperRect:qa.rects.popper,gpuAcceleration:ld,isFixed:qa.options.strategy==="fixed"};qa.modifiersData.popperOffsets!=null&&(qa.styles.popper=Object.assign({},qa.styles.popper,ut(Object.assign({},fd,{offsets:qa.modifiersData.popperOffsets,position:qa.options.strategy,adaptive:cd,roundOffsets:pd})))),qa.modifiersData.arrow!=null&&(qa.styles.arrow=Object.assign({},qa.styles.arrow,ut(Object.assign({},fd,{offsets:qa.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:pd})))),qa.attributes.popper=Object.assign({},qa.attributes.popper,{"data-popper-placement":qa.placement})}var Me={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}},ye$1={passive:!0};function It(Ra){var qa=Ra.state,nd=Ra.instance,od=Ra.options,ld=od.scroll,ud=ld===void 0?!0:ld,cd=od.resize,dd=cd===void 0?!0:cd,pd=H$1(qa.elements.popper),fd=[].concat(qa.scrollParents.reference,qa.scrollParents.popper);return ud&&fd.forEach(function(md){md.addEventListener("scroll",nd.update,ye$1)}),dd&&pd.addEventListener("resize",nd.update,ye$1),function(){ud&&fd.forEach(function(md){md.removeEventListener("scroll",nd.update,ye$1)}),dd&&pd.removeEventListener("resize",nd.update,ye$1)}}var Re$1={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:It,data:{}},_t={left:"right",right:"left",bottom:"top",top:"bottom"};function be$1(Ra){return Ra.replace(/left|right|bottom|top/g,function(qa){return _t[qa]})}var zt={start:"end",end:"start"};function lt(Ra){return Ra.replace(/start|end/g,function(qa){return zt[qa]})}function We(Ra){var qa=H$1(Ra),nd=qa.pageXOffset,od=qa.pageYOffset;return{scrollLeft:nd,scrollTop:od}}function Be$1(Ra){return ee$1(I(Ra)).left+We(Ra).scrollLeft}function Ft(Ra){var qa=H$1(Ra),nd=I(Ra),od=qa.visualViewport,ld=nd.clientWidth,ud=nd.clientHeight,cd=0,dd=0;return od&&(ld=od.width,ud=od.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(cd=od.offsetLeft,dd=od.offsetTop)),{width:ld,height:ud,x:cd+Be$1(Ra),y:dd}}function Ut(Ra){var qa,nd=I(Ra),od=We(Ra),ld=(qa=Ra.ownerDocument)==null?void 0:qa.body,ud=X$1(nd.scrollWidth,nd.clientWidth,ld?ld.scrollWidth:0,ld?ld.clientWidth:0),cd=X$1(nd.scrollHeight,nd.clientHeight,ld?ld.scrollHeight:0,ld?ld.clientHeight:0),dd=-od.scrollLeft+Be$1(Ra),pd=-od.scrollTop;return N(ld||nd).direction==="rtl"&&(dd+=X$1(nd.clientWidth,ld?ld.clientWidth:0)-ud),{width:ud,height:cd,x:dd,y:pd}}function Se$1(Ra){var qa=N(Ra),nd=qa.overflow,od=qa.overflowX,ld=qa.overflowY;return/auto|scroll|overlay|hidden/.test(nd+ld+od)}function dt(Ra){return["html","body","#document"].indexOf(C(Ra))>=0?Ra.ownerDocument.body:B$1(Ra)&&Se$1(Ra)?Ra:dt(ge$1(Ra))}function ce$1(Ra,qa){var nd;qa===void 0&&(qa=[]);var od=dt(Ra),ld=od===((nd=Ra.ownerDocument)==null?void 0:nd.body),ud=H$1(od),cd=ld?[ud].concat(ud.visualViewport||[],Se$1(od)?od:[]):od,dd=qa.concat(cd);return ld?dd:dd.concat(ce$1(ge$1(cd)))}function Te(Ra){return Object.assign({},Ra,{left:Ra.x,top:Ra.y,right:Ra.x+Ra.width,bottom:Ra.y+Ra.height})}function Xt(Ra){var qa=ee$1(Ra);return qa.top=qa.top+Ra.clientTop,qa.left=qa.left+Ra.clientLeft,qa.bottom=qa.top+Ra.clientHeight,qa.right=qa.left+Ra.clientWidth,qa.width=Ra.clientWidth,qa.height=Ra.clientHeight,qa.x=qa.left,qa.y=qa.top,qa}function ht(Ra,qa){return qa===je$1?Te(Ft(Ra)):Q$1(qa)?Xt(qa):Te(Ut(I(Ra)))}function Yt(Ra){var qa=ce$1(ge$1(Ra)),nd=["absolute","fixed"].indexOf(N(Ra).position)>=0,od=nd&&B$1(Ra)?se$1(Ra):Ra;return Q$1(od)?qa.filter(function(ld){return Q$1(ld)&&it(ld,od)&&C(ld)!=="body"}):[]}function Gt(Ra,qa,nd){var od=qa==="clippingParents"?Yt(Ra):[].concat(qa),ld=[].concat(od,[nd]),ud=ld[0],cd=ld.reduce(function(dd,pd){var fd=ht(Ra,pd);return dd.top=X$1(fd.top,dd.top),dd.right=ve$1(fd.right,dd.right),dd.bottom=ve$1(fd.bottom,dd.bottom),dd.left=X$1(fd.left,dd.left),dd},ht(Ra,ud));return cd.width=cd.right-cd.left,cd.height=cd.bottom-cd.top,cd.x=cd.left,cd.y=cd.top,cd}function mt(Ra){var qa=Ra.reference,nd=Ra.element,od=Ra.placement,ld=od?q$1(od):null,ud=od?te$1(od):null,cd=qa.x+qa.width/2-nd.width/2,dd=qa.y+qa.height/2-nd.height/2,pd;switch(ld){case E$1:pd={x:cd,y:qa.y-nd.height};break;case R$2:pd={x:cd,y:qa.y+qa.height};break;case W$1:pd={x:qa.x+qa.width,y:dd};break;case P$1:pd={x:qa.x-nd.width,y:dd};break;default:pd={x:qa.x,y:qa.y}}var fd=ld?Le$1(ld):null;if(fd!=null){var md=fd==="y"?"height":"width";switch(ud){case U$1:pd[fd]=pd[fd]-(qa[md]/2-nd[md]/2);break;case J$1:pd[fd]=pd[fd]+(qa[md]/2-nd[md]/2);break}}return pd}function ne$1(Ra,qa){qa===void 0&&(qa={});var nd=qa,od=nd.placement,ld=od===void 0?Ra.placement:od,ud=nd.boundary,cd=ud===void 0?Xe:ud,dd=nd.rootBoundary,pd=dd===void 0?je$1:dd,fd=nd.elementContext,md=fd===void 0?K$1:fd,vd=nd.altBoundary,Ad=vd===void 0?!1:vd,Nd=nd.padding,Id=Nd===void 0?0:Nd,kd=ft(typeof Id!="number"?Id:ct(Id,G$1)),jd=md===K$1?Ye:K$1,Fd=Ra.rects.popper,Md=Ra.elements[Ad?jd:md],Ld=Gt(Q$1(Md)?Md:Md.contextElement||I(Ra.elements.popper),cd,pd),Hd=ee$1(Ra.elements.reference),Gd=mt({reference:Hd,element:Fd,strategy:"absolute",placement:ld}),Vd=Te(Object.assign({},Fd,Gd)),Kd=md===K$1?Vd:Hd,mf={top:Ld.top-Kd.top+kd.top,bottom:Kd.bottom-Ld.bottom+kd.bottom,left:Ld.left-Kd.left+kd.left,right:Kd.right-Ld.right+kd.right},Wd=Ra.modifiersData.offset;if(md===K$1&&Wd){var Zd=Wd[ld];Object.keys(mf).forEach(function(Xd){var bf=[W$1,R$2].indexOf(Xd)>=0?1:-1,yf=[E$1,R$2].indexOf(Xd)>=0?"y":"x";mf[Xd]+=Zd[yf]*bf})}return mf}function Jt(Ra,qa){qa===void 0&&(qa={});var nd=qa,od=nd.placement,ld=nd.boundary,ud=nd.rootBoundary,cd=nd.padding,dd=nd.flipVariations,pd=nd.allowedAutoPlacements,fd=pd===void 0?Ee$1:pd,md=te$1(od),vd=md?dd?De:De.filter(function(Id){return te$1(Id)===md}):G$1,Ad=vd.filter(function(Id){return fd.indexOf(Id)>=0});Ad.length===0&&(Ad=vd);var Nd=Ad.reduce(function(Id,kd){return Id[kd]=ne$1(Ra,{placement:kd,boundary:ld,rootBoundary:ud,padding:cd})[q$1(kd)],Id},{});return Object.keys(Nd).sort(function(Id,kd){return Nd[Id]-Nd[kd]})}function Kt(Ra){if(q$1(Ra)===me$1)return[];var qa=be$1(Ra);return[lt(Ra),qa,lt(qa)]}function Qt(Ra){var qa=Ra.state,nd=Ra.options,od=Ra.name;if(!qa.modifiersData[od]._skip){for(var ld=nd.mainAxis,ud=ld===void 0?!0:ld,cd=nd.altAxis,dd=cd===void 0?!0:cd,pd=nd.fallbackPlacements,fd=nd.padding,md=nd.boundary,vd=nd.rootBoundary,Ad=nd.altBoundary,Nd=nd.flipVariations,Id=Nd===void 0?!0:Nd,kd=nd.allowedAutoPlacements,jd=qa.options.placement,Fd=q$1(jd),Md=Fd===jd,Ld=pd||(Md||!Id?[be$1(jd)]:Kt(jd)),Hd=[jd].concat(Ld).reduce(function(Uf,Gf){return Uf.concat(q$1(Gf)===me$1?Jt(qa,{placement:Gf,boundary:md,rootBoundary:vd,padding:fd,flipVariations:Id,allowedAutoPlacements:kd}):Gf)},[]),Gd=qa.rects.reference,Vd=qa.rects.popper,Kd=new Map,mf=!0,Wd=Hd[0],Zd=0;Zd=0,gf=Ef?"width":"height",xf=ne$1(qa,{placement:Xd,boundary:md,rootBoundary:vd,altBoundary:Ad,padding:fd}),Af=Ef?yf?W$1:P$1:yf?R$2:E$1;Gd[gf]>Vd[gf]&&(Af=be$1(Af));var Lf=be$1(Af),Xf=[];if(ud&&Xf.push(xf[bf]<=0),dd&&Xf.push(xf[Af]<=0,xf[Lf]<=0),Xf.every(function(Uf){return Uf})){Wd=Xd,mf=!1;break}Kd.set(Xd,Xf)}if(mf)for(var Jf=Id?3:1,Zf=function(Uf){var Gf=Hd.find(function(zf){var Tf=Kd.get(zf);if(Tf)return Tf.slice(0,Uf).every(function(vf){return vf})});if(Gf)return Wd=Gf,"break"},Bf=Jf;Bf>0;Bf--){var Df=Zf(Bf);if(Df==="break")break}qa.placement!==Wd&&(qa.modifiersData[od]._skip=!0,qa.placement=Wd,qa.reset=!0)}}var vt={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function gt(Ra,qa,nd){return nd===void 0&&(nd={x:0,y:0}),{top:Ra.top-qa.height-nd.y,right:Ra.right-qa.width+nd.x,bottom:Ra.bottom-qa.height+nd.y,left:Ra.left-qa.width-nd.x}}function yt(Ra){return[E$1,W$1,R$2,P$1].some(function(qa){return Ra[qa]>=0})}function Zt(Ra){var qa=Ra.state,nd=Ra.name,od=qa.rects.reference,ld=qa.rects.popper,ud=qa.modifiersData.preventOverflow,cd=ne$1(qa,{elementContext:"reference"}),dd=ne$1(qa,{altBoundary:!0}),pd=gt(cd,od),fd=gt(dd,ld,ud),md=yt(pd),vd=yt(fd);qa.modifiersData[nd]={referenceClippingOffsets:pd,popperEscapeOffsets:fd,isReferenceHidden:md,hasPopperEscaped:vd},qa.attributes.popper=Object.assign({},qa.attributes.popper,{"data-popper-reference-hidden":md,"data-popper-escaped":vd})}var bt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt};function en(Ra,qa,nd){var od=q$1(Ra),ld=[P$1,E$1].indexOf(od)>=0?-1:1,ud=typeof nd=="function"?nd(Object.assign({},qa,{placement:Ra})):nd,cd=ud[0],dd=ud[1];return cd=cd||0,dd=(dd||0)*ld,[P$1,W$1].indexOf(od)>=0?{x:dd,y:cd}:{x:cd,y:dd}}function tn(Ra){var qa=Ra.state,nd=Ra.options,od=Ra.name,ld=nd.offset,ud=ld===void 0?[0,0]:ld,cd=Ee$1.reduce(function(md,vd){return md[vd]=en(vd,qa.rects,ud),md},{}),dd=cd[qa.placement],pd=dd.x,fd=dd.y;qa.modifiersData.popperOffsets!=null&&(qa.modifiersData.popperOffsets.x+=pd,qa.modifiersData.popperOffsets.y+=fd),qa.modifiersData[od]=cd}var wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tn};function nn(Ra){var qa=Ra.state,nd=Ra.name;qa.modifiersData[nd]=mt({reference:qa.rects.reference,element:qa.rects.popper,strategy:"absolute",placement:qa.placement})}var He={name:"popperOffsets",enabled:!0,phase:"read",fn:nn,data:{}};function rn(Ra){return Ra==="x"?"y":"x"}function on(Ra){var qa=Ra.state,nd=Ra.options,od=Ra.name,ld=nd.mainAxis,ud=ld===void 0?!0:ld,cd=nd.altAxis,dd=cd===void 0?!1:cd,pd=nd.boundary,fd=nd.rootBoundary,md=nd.altBoundary,vd=nd.padding,Ad=nd.tether,Nd=Ad===void 0?!0:Ad,Id=nd.tetherOffset,kd=Id===void 0?0:Id,jd=ne$1(qa,{boundary:pd,rootBoundary:fd,padding:vd,altBoundary:md}),Fd=q$1(qa.placement),Md=te$1(qa.placement),Ld=!Md,Hd=Le$1(Fd),Gd=rn(Hd),Vd=qa.modifiersData.popperOffsets,Kd=qa.rects.reference,mf=qa.rects.popper,Wd=typeof kd=="function"?kd(Object.assign({},qa.rects,{placement:qa.placement})):kd,Zd=typeof Wd=="number"?{mainAxis:Wd,altAxis:Wd}:Object.assign({mainAxis:0,altAxis:0},Wd),Xd=qa.modifiersData.offset?qa.modifiersData.offset[qa.placement]:null,bf={x:0,y:0};if(Vd){if(ud){var yf,Ef=Hd==="y"?E$1:P$1,gf=Hd==="y"?R$2:W$1,xf=Hd==="y"?"height":"width",Af=Vd[Hd],Lf=Af+jd[Ef],Xf=Af-jd[gf],Jf=Nd?-mf[xf]/2:0,Zf=Md===U$1?Kd[xf]:mf[xf],Bf=Md===U$1?-mf[xf]:-Kd[xf],Df=qa.elements.arrow,Uf=Nd&&Df?ke$1(Df):{width:0,height:0},Gf=qa.modifiersData["arrow#persistent"]?qa.modifiersData["arrow#persistent"].padding:st(),zf=Gf[Ef],Tf=Gf[gf],vf=fe$1(0,Kd[xf],Uf[xf]),qf=Ld?Kd[xf]/2-Jf-vf-zf-Zd.mainAxis:Zf-vf-zf-Zd.mainAxis,eh=Ld?-Kd[xf]/2+Jf+vf+Tf+Zd.mainAxis:Bf+vf+Tf+Zd.mainAxis,ch=qa.elements.arrow&&se$1(qa.elements.arrow),ih=ch?Hd==="y"?ch.clientTop||0:ch.clientLeft||0:0,Pf=(yf=Xd==null?void 0:Xd[Hd])!=null?yf:0,uh=Af+qf-Pf-ih,xh=Af+eh-Pf,Qf=fe$1(Nd?ve$1(Lf,uh):Lf,Af,Nd?X$1(Xf,xh):Xf);Vd[Hd]=Qf,bf[Hd]=Qf-Af}if(dd){var wf,$f=Hd==="x"?E$1:P$1,Wf=Hd==="x"?R$2:W$1,vh=Vd[Gd],Th=Gd==="y"?"height":"width",ph=vh+jd[$f],Vh=vh-jd[Wf],wh=[E$1,P$1].indexOf(Fd)!==-1,fm=(wf=Xd==null?void 0:Xd[Gd])!=null?wf:0,Nm=wh?ph:vh-Kd[Th]-mf[Th]-fm+Zd.altAxis,cm=wh?vh+Kd[Th]+mf[Th]-fm-Zd.altAxis:Vh,Sm=Nd&&wh?St(Nm,vh,cm):fe$1(Nd?Nm:ph,vh,Nd?cm:Vh);Vd[Gd]=Sm,bf[Gd]=Sm-vh}qa.modifiersData[od]=bf}}var xt={name:"preventOverflow",enabled:!0,phase:"main",fn:on,requiresIfExists:["offset"]};function an(Ra){return{scrollLeft:Ra.scrollLeft,scrollTop:Ra.scrollTop}}function sn(Ra){return Ra===H$1(Ra)||!B$1(Ra)?We(Ra):an(Ra)}function fn(Ra){var qa=Ra.getBoundingClientRect(),nd=Z$1(qa.width)/Ra.offsetWidth||1,od=Z$1(qa.height)/Ra.offsetHeight||1;return nd!==1||od!==1}function cn(Ra,qa,nd){nd===void 0&&(nd=!1);var od=B$1(qa),ld=B$1(qa)&&fn(qa),ud=I(qa),cd=ee$1(Ra,ld),dd={scrollLeft:0,scrollTop:0},pd={x:0,y:0};return(od||!od&&!nd)&&((C(qa)!=="body"||Se$1(ud))&&(dd=sn(qa)),B$1(qa)?(pd=ee$1(qa,!0),pd.x+=qa.clientLeft,pd.y+=qa.clientTop):ud&&(pd.x=Be$1(ud))),{x:cd.left+dd.scrollLeft-pd.x,y:cd.top+dd.scrollTop-pd.y,width:cd.width,height:cd.height}}function pn(Ra){var qa=new Map,nd=new Set,od=[];Ra.forEach(function(ud){qa.set(ud.name,ud)});function ld(ud){nd.add(ud.name);var cd=[].concat(ud.requires||[],ud.requiresIfExists||[]);cd.forEach(function(dd){if(!nd.has(dd)){var pd=qa.get(dd);pd&&ld(pd)}}),od.push(ud)}return Ra.forEach(function(ud){nd.has(ud.name)||ld(ud)}),od}function un(Ra){var qa=pn(Ra);return ot.reduce(function(nd,od){return nd.concat(qa.filter(function(ld){return ld.phase===od}))},[])}function ln(Ra){var qa;return function(){return qa||(qa=new Promise(function(nd){Promise.resolve().then(function(){qa=void 0,nd(Ra())})})),qa}}function dn(Ra){var qa=Ra.reduce(function(nd,od){var ld=nd[od.name];return nd[od.name]=ld?Object.assign({},ld,od,{options:Object.assign({},ld.options,od.options),data:Object.assign({},ld.data,od.data)}):od,nd},{});return Object.keys(qa).map(function(nd){return qa[nd]})}var Ot={placement:"bottom",modifiers:[],strategy:"absolute"};function $t(){for(var Ra=arguments.length,qa=new Array(Ra),nd=0;ndRa.length)&&(qa=Ra.length);for(var nd=0,od=Array(qa);nd=0;--Bf){var Df=this.tryEntries[Bf],Uf=Df.completion;if(Df.tryLoc==="root")return Zf("end");if(Df.tryLoc<=this.prev){var Gf=cd.call(Df,"catchLoc"),zf=cd.call(Df,"finallyLoc");if(Gf&&zf){if(this.prev=0;--Zf){var Bf=this.tryEntries[Zf];if(Bf.tryLoc<=this.prev&&cd.call(Bf,"finallyLoc")&&this.prev=0;--Jf){var Zf=this.tryEntries[Jf];if(Zf.finallyLoc===Xf)return this.complete(Zf.completion,Zf.afterLoc),xf(Zf),Ld}},catch:function(Xf){for(var Jf=this.tryEntries.length-1;Jf>=0;--Jf){var Zf=this.tryEntries[Jf];if(Zf.tryLoc===Xf){var Bf=Zf.completion;if(Bf.type==="throw"){var Df=Bf.arg;xf(Zf)}return Df}}throw Error("illegal catch attempt")},delegateYield:function(Xf,Jf,Zf){return this.delegate={iterator:Lf(Xf),resultName:Jf,nextLoc:Zf},this.method==="next"&&(this.arg=od),Ld}},ld}Ra.exports=nd,Ra.exports.__esModule=!0,Ra.exports.default=Ra.exports}(B);var z=B.exports(),M=z;try{regeneratorRuntime=z}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=z:Function("r","regeneratorRuntime = r")(z)}function D(Ra,qa){return function(nd){if(Array.isArray(nd))return nd}(Ra)||function(nd,od){var ld=nd==null?null:typeof Symbol<"u"&&nd[Symbol.iterator]||nd["@@iterator"];if(ld!=null){var ud,cd,dd,pd,fd=[],md=!0,vd=!1;try{if(dd=(ld=ld.call(nd)).next,od===0){if(Object(ld)!==ld)return;md=!1}else for(;!(md=(ud=dd.call(ld)).done)&&(fd.push(ud.value),fd.length!==od);md=!0);}catch(Ad){vd=!0,cd=Ad}finally{try{if(!md&&ld.return!=null&&(pd=ld.return(),Object(pd)!==pd))return}finally{if(vd)throw cd}}return fd}}(Ra,qa)||_$1(Ra,qa)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function T(Ra){var qa=function(nd,od){if(P(nd)!="object"||!nd)return nd;var ld=nd[Symbol.toPrimitive];if(ld!==void 0){var ud=ld.call(nd,od||"default");if(P(ud)!="object")return ud;throw new TypeError("@@toPrimitive must return a primitive value.")}return(od==="string"?String:Number)(nd)}(Ra,"string");return P(qa)=="symbol"?qa:qa+""}function H(Ra,qa,nd){return(qa=T(qa))in Ra?Object.defineProperty(Ra,qa,{value:nd,enumerable:!0,configurable:!0,writable:!0}):Ra[qa]=nd,Ra}var G=defineComponent({name:"Saturation",props:{size:{type:Number,default:160},hue:{type:Number,default:0},saturation:{type:Number,default:0},value:{type:Number,default:0}},emits:["change"],setup:function(Ra,qa){var nd=qa.emit,od=computed(function(){return{width:"".concat(Ra.size,"px"),height:"".concat(Ra.size,"px"),background:"hsl(".concat(Ra.hue,", 100%, 50%)")}});return{saturationStyle:od,sliderStyle:computed(function(){return{top:"".concat((100-Ra.value)/100*Ra.size-5,"px"),left:"".concat(Ra.saturation*Ra.size/100-5,"px"),width:"".concat(10,"px"),height:"".concat(10,"px")}}),onSelect:function(ld){var ud=ld.target.getBoundingClientRect(),cd=ud.left,dd=ud.top,pd=function(md){var vd=md.clientX,Ad=md.clientY,Nd=vd-cd,Id=Ad-dd;Nd<0&&(Nd=0),Id<0&&(Id=0),Nd>Ra.size&&(Nd=Ra.size),Id>Ra.size&&(Id=Ra.size);var kd=Nd/Ra.size*100,jd=100-Id/Ra.size*100;nd("change",kd,jd)},fd=function(){document.removeEventListener("mousemove",pd),document.removeEventListener("mouseup",fd)};pd(ld),document.addEventListener("mousemove",pd),document.addEventListener("mouseup",fd)}}}});function V(Ra,qa){qa===void 0&&(qa={});var nd=qa.insertAt;if(Ra&&typeof document<"u"){var od=document.head||document.getElementsByTagName("head")[0],ld=document.createElement("style");ld.type="text/css",nd==="top"&&od.firstChild?od.insertBefore(ld,od.firstChild):od.appendChild(ld),ld.styleSheet?ld.styleSheet.cssText=Ra:ld.appendChild(document.createTextNode(Ra))}}V(".saturation[data-v-24517fec]{position:relative}.saturation-black[data-v-24517fec],.saturation-white[data-v-24517fec]{cursor:pointer;height:100%;left:0;position:absolute;top:0;width:100%}.saturation-white[data-v-24517fec]{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.saturation-black[data-v-24517fec]{background:linear-gradient(0deg,#000,transparent)}.slider[data-v-24517fec]{border:1px solid #fff;border-radius:50%;box-shadow:0 0 1px 1px rgba(0,0,0,.3);left:0;pointer-events:none;position:absolute;top:0;z-index:1}"),G.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",{class:"saturation",style:normalizeStyle(Ra.saturationStyle),onMousedown:qa[0]||(qa[0]=withModifiers(function(){return Ra.onSelect&&Ra.onSelect.apply(Ra,arguments)},["prevent","stop"]))},[qa[1]||(qa[1]=createBaseVNode("div",{class:"saturation-white"},null,-1)),qa[2]||(qa[2]=createBaseVNode("div",{class:"saturation-black"},null,-1)),createBaseVNode("div",{class:"slider",style:normalizeStyle(Ra.sliderStyle)},null,4)],36)},G.__scopeId="data-v-24517fec",G.__file="src/picker/Saturation.vue";var Y=defineComponent({name:"Hue",props:{width:{type:Number,default:15},height:{type:Number,default:160},hue:{type:Number,default:0}},emits:["change"],setup:function(Ra,qa){var nd=qa.emit,od=computed(function(){return{top:"".concat((1-Ra.hue/360)*Ra.height-2,"px"),height:"".concat(4,"px")}}),ld=ref$1();return onMounted(function(){(function(){ld.value.width=Ra.width,ld.value.height=Ra.height;var ud=ld.value.getContext("2d"),cd=ud.createLinearGradient(0,0,0,Ra.height);cd.addColorStop(0,"#FF0000"),cd.addColorStop(.17,"#FF00FF"),cd.addColorStop(.34,"#0000FF"),cd.addColorStop(.51,"#00FFFF"),cd.addColorStop(.68,"#00FF00"),cd.addColorStop(.17*5,"#FFFF00"),cd.addColorStop(1,"#FF0000"),ud.fillStyle=cd,ud.fillRect(0,0,Ra.width,Ra.height)})()}),{canvas:ld,sliderStyle:od,onSelect:function(ud){var cd=ud.target.getBoundingClientRect().top,dd=function(fd){var md=fd.clientY-cd;md<0&&(md=0),md>Ra.height&&(md=Ra.height);var vd=-100*md/Ra.height+100;nd("change",360*vd/100)},pd=function(){document.removeEventListener("mousemove",dd),document.removeEventListener("mouseup",pd)};dd(ud),document.addEventListener("mousemove",dd),document.addEventListener("mouseup",pd)}}}}),$={ref:"canvas"};V(".hue[data-v-78b9f4f0]{position:relative}.slider[data-v-78b9f4f0]{background:#fff;box-shadow:0 0 1px 0 rgba(0,0,0,.3);left:0;pointer-events:none;position:absolute;width:100%;z-index:1}"),Y.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",{class:"hue",onMousedown:qa[0]||(qa[0]=withModifiers(function(){return Ra.onSelect&&Ra.onSelect.apply(Ra,arguments)},["prevent","stop"]))},[createBaseVNode("canvas",$,null,512),createBaseVNode("div",{class:"slider",style:normalizeStyle(Ra.sliderStyle)},null,4)],32)},Y.__scopeId="data-v-78b9f4f0",Y.__file="src/picker/Hue.vue";var J=defineComponent({name:"Alpha",props:{width:{type:Number,default:15},height:{type:Number,default:160},color:{type:String,default:"#000000"},alpha:{type:Number,default:1}},setup:function(Ra,qa){var nd=qa.emit,od=computed(function(){return{top:"".concat(Ra.alpha*Ra.height-2,"px"),height:"".concat(4,"px")}}),ld=ref$1(),ud=function(){var cd=ld.value.getContext("2d");ld.value.width=Ra.width,ld.value.height=Ra.height;var dd=function(fd){var md=document.createElement("canvas"),vd=md.getContext("2d"),Ad=2*fd;return md.width=Ad,md.height=Ad,vd.fillStyle="#ffffff",vd.fillRect(0,0,Ad,Ad),vd.fillStyle="#ccd5db",vd.fillRect(0,0,fd,fd),vd.fillRect(fd,fd,fd,fd),md}(5);cd.fillStyle=cd.createPattern(dd,"repeat"),cd.fillRect(0,0,Ra.width,Ra.height);var pd=cd.createLinearGradient(0,0,0,Ra.height);pd.addColorStop(.01,"rgba(255,255,255,0)"),pd.addColorStop(.99,Ra.color),cd.fillStyle=pd,cd.fillRect(0,0,Ra.width,Ra.height)};return watch(function(){return Ra.color},function(){ud()}),onMounted(function(){ud()}),{canvas:ld,sliderStyle:od,onSelect:function(cd){var dd=cd.target.getBoundingClientRect().top,pd=function(md){var vd=md.clientY-dd;vd<0&&(vd=0),vd>Ra.height&&(vd=Ra.height);var Ad=parseFloat((vd/Ra.height).toFixed(2));nd("change",Ad)},fd=function(){document.removeEventListener("mousemove",pd),document.removeEventListener("mouseup",fd)};pd(cd),document.addEventListener("mousemove",pd),document.addEventListener("mouseup",fd)}}}}),X={ref:"canvas"};V(".alpha[data-v-24dc9656]{position:relative}.slider[data-v-24dc9656]{background:#fff;box-shadow:0 0 1px 0 rgba(0,0,0,.3);left:0;pointer-events:none;position:absolute;width:100%;z-index:1}"),J.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",{class:"alpha",onMousedown:qa[0]||(qa[0]=withModifiers(function(){return Ra.onSelect&&Ra.onSelect.apply(Ra,arguments)},["prevent","stop"]))},[createBaseVNode("canvas",X,null,512),createBaseVNode("div",{class:"slider",style:normalizeStyle(Ra.sliderStyle)},null,4)],32)},J.__scopeId="data-v-24dc9656",J.__file="src/picker/Alpha.vue";var q={rgb:"RGBA",hex:"HEX",hsl:"HSLA",hsv:"HSVA"},U={rgb:"RGB",hex:"HEX",hsl:"HSL",hsv:"HSV"},W={RGB:"rgb",RGBA:"rgb",HEX:"hex",HSL:"hsl",HSLA:"hsl",HSV:"hsv",HSVA:"hsv"};function K(Ra,qa){var nd=Object.keys(Ra);if(Object.getOwnPropertySymbols){var od=Object.getOwnPropertySymbols(Ra);qa&&(od=od.filter(function(ld){return Object.getOwnPropertyDescriptor(Ra,ld).enumerable})),nd.push.apply(nd,od)}return nd}function Q(Ra){for(var qa=1;qa1}),pd=computed(function(){var md=Ra.options,vd=Ra.showAlpha,Ad=Ra.value;return Array.isArray(md)?vd?md.map(function(Nd){return q[Nd]}).filter(function(Nd){return!Nd.includes(Ad)}):md.map(function(Nd){return U[Nd]}).filter(function(Nd){return!Nd.includes(Ad)}):[]}),fd=function(md){var vd,Ad,Nd=md.target;!((vd=unref(od))!==null&&vd!==void 0&&vd.isEqualNode(Nd))&&(!((Ad=unref(od))===null||Ad===void 0)&&Ad.contains(Nd))||(ud.value=!1)};return onMounted(function(){document.addEventListener("mouseup",fd,!1)}),onUnmounted(function(){document.removeEventListener("mouseup",fd,!1)}),{targetRef:od,selectorRef:ld,selectorStyle:cd,isShowSelector:ud,isNeedSelect:dd,formatOptions:pd,onShow:function(){dd.value&&(ud.value=!0)},onFormatChange:function(md){nd("change",W[md])}}}}),re={class:"format"},ne={key:0,class:"arrow"},oe=["onClick"];V(".format[data-v-5f6e8f5e]{position:relative}.label[data-v-5f6e8f5e]{align-items:center;background:#e7e8e9;color:#999;display:flex;float:left;font-weight:500;height:30px;justify-content:center;position:relative;width:60px}[pick-colors-theme=dark] .label[data-v-5f6e8f5e]{background:#252930;color:#999}.arrow[data-v-5f6e8f5e]{height:6px;margin-bottom:4px;margin-left:5px;transform:rotate(135deg);width:6px}.arrow[data-v-5f6e8f5e],[pick-colors-theme=dark] .arrow[data-v-5f6e8f5e]{border-right:1px solid #999;border-top:1px solid #999}.selector[data-v-5f6e8f5e]{align-items:center;background:#f7f8f9;border-radius:5px;box-shadow:0 0 16px 0 rgba(0,0,0,.16);cursor:pointer;display:flex;flex-direction:column;font-weight:400;justify-content:center;padding:4px}[pick-colors-theme=dark] .selector[data-v-5f6e8f5e]{background:#252930;color:#999}.selector-item[data-v-5f6e8f5e]{align-items:center;display:flex;height:30px;justify-content:center;width:60px}.selector-item[data-v-5f6e8f5e]:hover{background:#e1f2fe}[pick-colors-theme=dark] .selector-item[data-v-5f6e8f5e]{color:#fff}[pick-colors-theme=dark] .selector-item[data-v-5f6e8f5e]:hover{background:#0087fa}.active-selector-item[data-v-5f6e8f5e]{background:#e1f2fe}[pick-colors-theme=dark] .active-selector-item[data-v-5f6e8f5e]{background:#0087fa}.v-enter-active[data-v-5f6e8f5e],.v-leave-active[data-v-5f6e8f5e]{opacity:1;transform:scaleY(1);transform-origin:center top;transition:opacity .2s ease-in-out,transform .2s ease-in-out}.v-enter-from[data-v-5f6e8f5e],.v-leave-to[data-v-5f6e8f5e]{opacity:0;transform:scaleY(0)}"),te.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("div",re,[createBaseVNode("div",{class:"label",ref:"targetRef",onClick:qa[0]||(qa[0]=function(){return Ra.onShow&&Ra.onShow.apply(Ra,arguments)})},[createBaseVNode("span",null,toDisplayString(Ra.value),1),Ra.isNeedSelect?(openBlock(),createElementBlock("div",ne)):createCommentVNode("v-if",!0)],512),createVNode(Transition$1,null,{default:withCtx(function(){return[Ra.isShowSelector?(openBlock(),createElementBlock("div",{key:0,class:"selector",ref:"selectorRef",style:normalizeStyle(Ra.selectorStyle)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ra.formatOptions,function(cd){return openBlock(),createElementBlock("div",{class:"selector-item",key:cd,onClick:function(dd){return Ra.onFormatChange(cd)}},toDisplayString(cd),9,oe)}),128))],4)):createCommentVNode("v-if",!0)]}),_:1})])},te.__scopeId="data-v-5f6e8f5e",te.__file="src/picker/input-value/FormatValue.vue";var ae=defineComponent({name:"Input",components:{FormatValue:te},props:{format:{type:String,default:"RGBA"},value:{type:String,default:""},width:{type:Number},showAlpha:{type:Boolean},formatOptions:{type:[Boolean,Array]}},emits:["change","focus","blur","enter","formatChange"],setup:function(Ra,qa){var nd=qa.emit;return{onInput:function(od){var ld;nd("change",(ld=od.target)===null||ld===void 0?void 0:ld.value)},valueStyle:computed(function(){return{minWidth:"".concat(Ra.width,"px"),maxWidth:"".concat(Ra.width,"px"),width:"".concat(Ra.width,"px")}}),onFocus:function(){nd("focus")},onBlur:function(){nd("blur")},onEnter:function(){nd("enter")},onFormatChange:function(od){nd("formatChange",od)}}}}),ie={class:"input"},le=[".value"];function ce(Ra,qa){var nd=Object.keys(Ra);if(Object.getOwnPropertySymbols){var od=Object.getOwnPropertySymbols(Ra);qa&&(od=od.filter(function(ld){return Object.getOwnPropertyDescriptor(Ra,ld).enumerable})),nd.push.apply(nd,od)}return nd}function ue(Ra){for(var qa=1;qa0?parseFloat(od.toFixed(2)):od,qa){case"hsl":var fd=se(ud,cd/100,dd/100);return"hsla(".concat(ud.toFixed(0),", ").concat(Math.round(100*fd[1]),"%, ").concat(Math.round(100*fd[2]),"%, ").concat(pd,")");case"hsv":return"hsva(".concat(ud.toFixed(0),", ").concat(Math.round(cd),"%, ").concat(Math.round(dd),"%, ").concat(pd,")");case"rgb":var md=ve(ud,cd,dd),vd=md.r,Ad=md.g,Nd=md.b;return"rgba(".concat(vd,", ").concat(Ad,", ").concat(Nd,", ").concat(pd,")");default:return"".concat(pe(ve(ud,cd,dd))).concat(de(255*pd))}else switch(qa){case"hsl":var Id=se(ud,cd/100,dd/100);return"hsl(".concat(ud.toFixed(0),", ").concat(Math.round(100*Id[1]),"%, ").concat(Math.round(100*Id[2]),"%)");case"hsv":return"hsv(".concat(ud.toFixed(0),", ").concat(Math.round(cd),"%, ").concat(Math.round(dd),"%)");case"rgb":var kd=ve(ud,cd,dd),jd=kd.r,Fd=kd.g,Md=kd.b;return"rgb(".concat(jd,", ").concat(Fd,", ").concat(Md,")");default:return pe(ve(ud,cd,dd))}},ge=function(Ra){var qa=Ra.r,nd=Ra.g,od=Ra.b;qa=he(qa,255),nd=he(nd,255),od=he(od,255);var ld,ud=Math.max(qa,nd,od),cd=Math.min(qa,nd,od),dd=ud,pd=ud-cd,fd=ud===0?0:pd/ud;if(ud===cd)ld=0;else{switch(ud){case qa:ld=(nd-od)/pd+(nd2&&arguments[2]!==void 0)||arguments[2])switch(qa){case"rgb":var nd=we(Ra),od=nd.r,ld=nd.g,ud=nd.b,cd=nd.a;return ue(ue({},ge({r:od,g:ld,b:ud})),{},{a:+cd});case"hsv":var dd=ke(Ra);return{h:dd.h,s:dd.s,v:dd.v,a:dd.a};case"hsl":var pd=Se(Ra),fd=pd.h,md=pd.s,vd=pd.l,Ad=pd.a;return ue(ue({},ye({h:fd,s:md,l:vd})),{},{a:+Ad});default:var Nd=be(Ra),Id=Nd.r,kd=Nd.g,jd=Nd.b,Fd=Nd.a;return ue(ue({},ge({r:Id,g:kd,b:jd})),{},{a:Fd/255})}else switch(qa){case"rgb":return ue(ue({},ge(we(Ra))),{},{a:1});case"hsv":var Md=ke(Ra);return{h:Md.h,s:Md.s,v:Md.v,a:1};case"hsl":return ue(ue({},ye(Se(Ra))),{},{a:1});default:return ue(ue({},ge(be(Ra))),{},{a:1})}},Oe=function(Ra){return Ra.match(/^#/)?"hex":Ra.match(/^rgb/)?"rgb":Ra.match(/^hsl/)?"hsl":Ra.match(/^hsv/)?"hsv":"hex"},Ae=function(Ra){var qa=Ra.h,nd=Ra.s,od=Ra.v,ld=Ra.a;return isNaN(qa)&&isNaN(nd)&&isNaN(od)?null:(isNaN(qa)&&(qa=0),isNaN(nd)&&(nd=0),isNaN(od)&&(od=0),isNaN(ld)&&(ld=1),{h:qa,s:nd,v:od,a:ld})},Ne=defineComponent({name:"ColorItem",props:{size:{type:[Number,String],default:20},width:{type:[Number,String]},height:{type:[Number,String]},value:{type:String,default:""},border:{type:Boolean,default:!0},borderRadius:{type:Number,default:5},selected:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1}},emits:["select"],setup:function(Ra){var qa=ref$1(),nd=inject("theme",{theme:"light"}).theme,od=computed(function(){return parseFloat((Ra.width||Ra.size)+"")}),ld=computed(function(){return parseFloat((Ra.height||Ra.size)+"")}),ud=computed(function(){return{width:"".concat(unref(od),"px"),height:"".concat(unref(ld),"px"),border:Ra.border?"1px solid ".concat(unref(nd)==="dark"?"#434345":"#d9d9d9"):"",borderRadius:"".concat(Ra.borderRadius,"px"),boxShadow:Ra.selected?"0 0 3px 2px ".concat(unref(nd)==="dark"?"#2681ff":"#1890ff"):""}}),cd=function(){var dd=qa.value.getContext("2d");qa.value.width=unref(od),qa.value.height=unref(ld);var pd=function(fd){var md=document.createElement("canvas"),vd=md.getContext("2d"),Ad=2*fd;return md.width=Ad,md.height=Ad,vd.fillStyle="#ffffff",vd.fillRect(0,0,Ad,Ad),vd.fillStyle="#ccd5db",vd.fillRect(0,0,fd,fd),vd.fillRect(fd,fd,fd,fd),md}(5);dd.fillStyle=dd.createPattern(pd,"repeat"),dd.fillRect(0,0,unref(od),unref(ld)),dd.fillStyle=Ra.value,dd.fillRect(0,0,unref(od),unref(ld))};return watch(function(){return Ra.value},function(){cd()}),onMounted(function(){cd()}),{canvas:qa,colorItemStyle:ud}}}),Ie=["draggable"];V(".color-item[data-v-02da71fd]{display:inline-block;vertical-align:top}"),Ne.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("canvas",{class:"color-item",style:normalizeStyle(Ra.colorItemStyle),ref:"canvas",draggable:Ra.draggable},null,12,Ie)},Ne.__scopeId="data-v-02da71fd",Ne.__file="src/color-item/ColorItem.vue";var Fe=defineComponent({name:"Colors",components:{ColorItem:Ne},props:{colors:{type:Array,default:function(){return[]}},selectedIndex:{type:Number,default:-1}},emits:["change"],setup:function(Ra,qa){var nd=qa.emit;return{onSelectColor:function(od,ld){nd("change",od,ld)},useColors:computed(function(){return Ra.colors.map(function(od){return xe(od,"hex",!0)})})}}}),_e={class:"colors"};function Ee(Ra,qa){var nd=Object.keys(Ra);if(Object.getOwnPropertySymbols){var od=Object.getOwnPropertySymbols(Ra);qa&&(od=od.filter(function(ld){return Object.getOwnPropertyDescriptor(Ra,ld).enumerable})),nd.push.apply(nd,od)}return nd}function Pe(Ra){for(var qa=1;qa0?(openBlock(),createBlock(md,{key:0,class:"colors",colors:Ra.colors,"selected-index":Ra.selectColorIndex,onChange:Ra.onSelectColor},null,8,["colors","selected-index","onChange"])):createCommentVNode("v-if",!0)])],4)},je.__scopeId="data-v-6ceadec6",je.__file="src/picker/Picker.vue";var Re=defineComponent({name:"AddColorItem",props:{size:{type:Number,default:20},selected:{type:Boolean,default:!1}},setup:function(Ra){var qa=inject("theme",{theme:"light"}).theme;return{addColorItemStyle:computed(function(){return{width:"".concat(Ra.size,"px"),height:"".concat(Ra.size,"px"),lineHeight:"".concat(Ra.size,"px"),boxShadow:Ra.selected?"0 0 3px 2px ".concat(unref(qa)==="dark"?"#2681ff":"#1890ff"):""}})}}});V(".add-color-item[data-v-ceb1719c]{background:#fff;border:1px solid #d9d9d9;border-radius:5px;vertical-align:top}.container[data-v-ceb1719c]{pointer-events:none;transform:scale(.9);transform-origin:center}[pick-colors-theme=dark] .add-color-item[data-v-ceb1719c]{background:#141414;border:1px solid #434343}path[data-v-ceb1719c]{fill:#000}[pick-colors-theme=dark] path[data-v-ceb1719c]{fill:#fff}"),Re.render=function(Ra,qa,nd,od,ld,ud){return openBlock(),createElementBlock("svg",{class:"add-color-item",style:normalizeStyle(Ra.addColorItemStyle),viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},qa[0]||(qa[0]=[createBaseVNode("g",{class:"container"},[createBaseVNode("path",{d:"M544 464V160h-80v304H160v80h304v304h80V544h304v-80z"})],-1)]),4)},Re.__scopeId="data-v-ceb1719c",Re.__file="src/add-color-item/AddColorItem.vue";var ze=defineComponent({name:"ColorPicker",components:{ColorItem:Ne,Picker:je,AddColorItem:Re},props:{value:{type:[String,Array]},theme:{type:String,default:"light"},size:{type:[Number,String],default:20},width:{type:[Number,String]},height:{type:[Number,String]},format:{type:String},showPicker:{type:Boolean,default:void 0},showAlpha:{type:Boolean,default:!1},addColor:{type:Boolean,default:!1},deleteColor:{type:Boolean,default:!0},max:{type:Number,default:13},popupContainer:{type:[String,Object,Boolean],default:"body"},zIndex:{type:Number,default:1e3},colors:{type:Array,default:function(){return["#ff4500","#ff8c00","#ffd700","#90ee90","#00ced1","#1e90ff","#c71585","#ff4500","#ff7d4d","#00babd","#1f93ff","#fa64c3"]}},position:{type:String},placement:{type:String},formatOptions:{type:[Boolean,Array],default:!1}},emits:["change","update:value","update:showPicker","overflowMax","closePicker","formatChange"],setup:function(Ra,qa){var nd=qa.emit,od=ref$1([]),ld=computed(function(){return unref(od).map(function(Wd){return xe(Wd,"hex",Ra.showAlpha)})}),ud=ref$1("hex");watch(function(){return Ra.format},function(){ud.value=Ra.format},{immediate:!0}),watch(function(){return Ra.value},function(){var Wd=Ra.value||"",Zd=Array.isArray(Wd)?Wd:[Wd];od.value=Zd.map(function(Xd){return xe(Xd,unref(ud),Ra.showAlpha)})},{immediate:!0});var cd=ref$1(void 0),dd=computed(function(){return unref(od)[unref(cd)]}),pd=ref$1(!1);watch(function(){return Ra.showPicker},function(){pd.value=Ra.showPicker},{immediate:!0});var fd,md,vd=ref$1(null),Ad=ref$1(null),Nd=ee(vd,Ad,{defaultStyle:{zIndex:Ra.zIndex},strategy:Ra.position,placement:Ra.placement}).style,Id=function(){unref(vd)==null&&(vd.value=unref(mf)[0]),unref(cd)==null&&(cd.value=0),Ra.showPicker===void 0?pd.value=!0:nd("update:showPicker",!0)},kd=function(){cd.value=void 0,Ra.showPicker===void 0?pd.value=!1:nd("update:showPicker",!1),nd("closePicker",toRaw(Array.isArray(Ra.value)||Ra.addColor?unref(od):unref(od)[0]))},jd=ref$1(),Fd=function(){var Wd=L(M.mark(function Zd(Xd){var bf,yf,Ef,gf;return M.wrap(function(xf){for(;;)switch(xf.prev=xf.next){case 0:if(yf=Xd.target,(Ef=(bf=yf.dataset)===null||bf===void 0?void 0:bf.index)!=null&&Ef!==""){xf.next=4;break}return xf.abrupt("return");case 4:if(gf=+Ef,unref(cd)!==gf){xf.next=7;break}return xf.abrupt("return");case 7:unref(cd)!=null&&unref(cd)!==gf?(kd(),fd&&clearTimeout(fd),fd=setTimeout(function(){Id(),clearTimeout(fd)},100)):Id(),cd.value=gf,vd.value=yf;case 10:case"end":return xf.stop()}},Zd)}));return function(Zd){return Wd.apply(this,arguments)}}(),Md=function(){var Wd=L(M.mark(function Zd(Xd){var bf,yf,Ef,gf,xf;return M.wrap(function(Af){for(;;)switch(Af.prev=Af.next){case 0:if(gf=Xd.target,!(!((bf=unref(jd))!==null&&bf!==void 0&&bf.isEqualNode(gf))&&(!((yf=unref(jd))===null||yf===void 0)&&yf.contains(gf)))){Af.next=4;break}return Af.abrupt("return");case 4:if(xf=(Ef=unref(Ad))===null||Ef===void 0?void 0:Ef.$el,!(xf!=null&&xf.contains(gf))){Af.next=8;break}return Af.abrupt("return");case 8:md&&clearTimeout(md),md=setTimeout(function(){unref(pd)&&kd()},0);case 10:case"end":return Af.stop()}},Zd)}));return function(Zd){return Wd.apply(this,arguments)}}();watch(pd,function(){unref(pd)&&(Id(),clearTimeout(md))});var Ld,Hd=ref$1(Ra.max>unref(od).length),Gd=computed(function(){return typeof Ra.popupContainer=="string"||P(Ra.popupContainer)==="object"&&Ra.popupContainer!=null?Ra.popupContainer:"body"}),Vd=computed(function(){return typeof Ra.popupContainer=="boolean"&&Ra.popupContainer===!1}),Kd=computed(function(){return Ra.theme});watch(function(){return[Ra.theme,unref(Ad)]},function(){nextTick$1(function(){var Wd,Zd;(Wd=unref(jd))===null||Wd===void 0||Wd.setAttribute("pick-colors-theme",unref(Kd)),(Zd=unref(Ad))===null||Zd===void 0||(Zd=Zd.$el)===null||Zd===void 0||Zd.setAttribute("pick-colors-theme",unref(Kd))})},{immediate:!0}),provide("theme",{theme:Kd});var mf=ref$1([]);return onMounted(function(){document.addEventListener("mouseup",Md,!1),Ra.showPicker&&Id()}),onUnmounted(function(){document.removeEventListener("mouseup",Md,!1),fd&&(clearTimeout(fd),fd=null),md&&(clearTimeout(md),md=null)}),{valueList:od,colorItemSelected:function(Wd){return(Ra.addColor?unref(od).length>0:unref(od).length>1)&&unref(cd)===Wd},selectedColor:dd,selectedIndex:cd,isShowPicker:pd,addColorItemShow:Hd,onPickerChange:function(Wd){var Zd=unref(cd),Xd=unref(od).slice(),bf=unref(od).length;if(Zd!=null){Zd>=0?Xd[Zd]=Wd:(cd.value=bf,Xd.push(Wd));var yf="";yf=Array.isArray(Ra.value)||Ra.addColor?Xd:Wd,od.value=Array.isArray(yf)?yf:[yf],nd("update:value",yf),nd("change",yf,Wd,Zd),Ra.addColor&&bf>=Ra.max&&(Hd.value=!1,nd("overflowMax"))}},colorPicker:jd,onColorClick:Fd,pickerRef:Ad,onColorItemDragStart:function(Wd){Wd.dataTransfer.effectAllowed="move";var Zd=Wd.target;Ld=+Zd.dataset.index},onColorItemDragOver:function(Wd){},onColorItemDrop:function(Wd){var Zd=+Wd.target.dataset.index,Xd=E(unref(od)),bf=Xd[Ld];Xd.splice(Ld,1);var yf=Xd.slice(0,Zd),Ef=Xd.splice(Zd),gf=yf.concat([bf]).concat(Ef);nd("update:value",gf),nd("change",gf,gf[Ld],Ld)},colorItemsRef:mf,pickerStyle:Nd,values:ld,teleportDisabled:Vd,toPopupContainer:Gd,formatValue:ud,onFormatChange:function(Wd){ud.value=Wd,nd("formatChange",Wd)}}}});V(".color-picker[data-v-3c43ade8]{display:inline-block}.color-item[data-v-3c43ade8]{margin:5px}.add-color-item[data-v-3c43ade8]{display:inline-block;margin:5px}.picker[data-v-3c43ade8]{overflow:hidden}.v-enter-active[data-v-3c43ade8],.v-leave-active[data-v-3c43ade8]{opacity:1;transform:scaleY(1);transform-origin:center top;transition:opacity .2s ease-in-out,transform .2s ease-in-out}.v-enter-from[data-v-3c43ade8],.v-leave-to[data-v-3c43ade8]{opacity:0;transform:scaleY(0)}"),ze.render=function(Ra,qa,nd,od,ld,ud){var cd=resolveComponent("color-item"),dd=resolveComponent("add-color-item"),pd=resolveComponent("picker");return openBlock(),createElementBlock("div",{class:"color-picker",ref:"colorPicker",onDragstart:qa[0]||(qa[0]=withModifiers(function(){return Ra.onColorItemDragStart&&Ra.onColorItemDragStart.apply(Ra,arguments)},["stop"])),onDragover:qa[1]||(qa[1]=withModifiers(function(){return Ra.onColorItemDragOver&&Ra.onColorItemDragOver.apply(Ra,arguments)},["prevent","stop"])),onDrop:qa[2]||(qa[2]=withModifiers(function(){return Ra.onColorItemDrop&&Ra.onColorItemDrop.apply(Ra,arguments)},["prevent","stop"])),onClick:qa[3]||(qa[3]=withModifiers(function(){return Ra.onColorClick&&Ra.onColorClick.apply(Ra,arguments)},["stop"]))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ra.values,function(fd,md){return openBlock(),createBlock(cd,{class:"color-item",key:md,ref_for:!0,ref:function(vd){return Ra.colorItemsRef[md]=vd},size:Ra.size,width:Ra.width,height:Ra.height,value:fd,selected:Ra.colorItemSelected(md),"data-index":md,draggable:Ra.valueList.length>1,format:Ra.formatValue},null,8,["size","width","height","value","selected","data-index","draggable","format"])}),128)),Ra.addColor&&Ra.addColorItemShow?(openBlock(),createBlock(dd,{key:0,class:"add-color-item",ref:"addColorItem",selected:Ra.colorItemSelected(-1),"data-index":-1},null,8,["selected"])):createCommentVNode("v-if",!0),(openBlock(),createBlock(Teleport,{to:Ra.toPopupContainer,disabled:Ra.teleportDisabled},[createVNode(Transition$1,null,{default:withCtx(function(){return[Ra.isShowPicker?(openBlock(),createBlock(pd,{key:0,class:"picker",style:normalizeStyle(Ra.pickerStyle),ref:"pickerRef",value:Ra.selectedColor,format:Ra.formatValue,"show-alpha":Ra.showAlpha,colors:Ra.colors,formatOptions:Ra.formatOptions,onChange:Ra.onPickerChange,onFormatChange:Ra.onFormatChange},null,8,["style","value","format","show-alpha","colors","formatOptions","onChange","onFormatChange"])):createCommentVNode("v-if",!0)]}),_:1})],8,["to","disabled"]))],544)},ze.__scopeId="data-v-3c43ade8",ze.__file="src/ColorPicker.vue";const _sfc_main$8=defineComponent({__name:"StyleDropdown",setup(Ra){const qa=useStore(),{toggleShowCssEditor:nd}=useDisplayStore(),{theme:od,fontFamily:ld,fontSize:ud,primaryColor:cd,codeBlockTheme:dd,legend:pd,isMacCodeBlock:fd,cssEditor:md}=storeToRefs(qa),{resetStyleConfirm:vd,themeChanged:Ad,fontChanged:Nd,sizeChanged:Id,colorChanged:kd,codeBlockThemeChanged:jd,legendChanged:Fd,macCodeBlockChanged:Md}=qa,Ld=ref$1(null);function Hd(){var Wd;(Wd=Ld.value)==null||Wd.show()}function Gd(){nd(),setTimeout(()=>{md.value.refresh()},50)}const Vd=useTemplateRef("pickColorsContainer"),Kd=ref$1("rgb"),mf=ref$1(["rgb","hex","hsl","hsv"]);return(Wd,Zd)=>{const Xd=_sfc_main$j,bf=_sfc_main$9,yf=_sfc_main$e,Ef=_sfc_main$f,gf=_sfc_main$g,xf=_sfc_main$h,Af=_sfc_main$k,Lf=_sfc_main$l,Xf=_sfc_main$m;return openBlock(),createBlock(Xf,null,{default:withCtx(()=>[createVNode(Xd,null,{default:withCtx(()=>Zd[1]||(Zd[1]=[createTextVNode(" 样式 ")])),_:1}),createVNode(Lf,{class:"w-56",align:"start"},{default:withCtx(()=>[createVNode(bf,{title:"主题",options:unref(themeOptions),current:unref(od),change:unref(Ad)},null,8,["options","current","change"]),createVNode(yf),createVNode(bf,{title:"字体",options:unref(fontFamilyOptions),current:unref(ld),change:unref(Nd)},null,8,["options","current","change"]),createVNode(bf,{title:"字号",options:unref(fontSizeOptions),current:unref(ud),change:unref(Id)},null,8,["options","current","change"]),createVNode(bf,{title:"主题色",options:unref(colorOptions),current:unref(cd),change:unref(kd)},null,8,["options","current","change"]),createVNode(bf,{title:"代码块主题",options:unref(codeBlockThemeOptions),current:unref(dd),change:unref(jd)},null,8,["options","current","change"]),createVNode(bf,{title:"图注格式",options:unref(legendOptions),current:unref(pd),change:unref(Fd)},null,8,["options","current","change"]),createVNode(yf),createVNode(Af,{onClick:withModifiers(Hd,["self","prevent"])},{default:withCtx(()=>[createVNode(xf,{"open-delay":100},{default:withCtx(()=>[createVNode(Ef,{class:"w-full flex"},{default:withCtx(()=>Zd[2]||(Zd[2]=[createTextVNode(" 自定义主题色 ")])),_:1}),createVNode(gf,{side:"right",class:"w-min"},{default:withCtx(()=>[createBaseVNode("div",{ref_key:"pickColorsContainer",ref:Vd},[createVNode(unref(ze),{value:unref(cd),"onUpdate:value":Zd[0]||(Zd[0]=Jf=>isRef(cd)?cd.value=Jf:null),"show-alpha":"",format:unref(Kd),"format-options":unref(mf),theme:unref(qa).isDark?"dark":"light","popup-container":unref(Vd),onChange:unref(qa).colorChanged},null,8,["value","format","format-options","theme","popup-container","onChange"])],512)]),_:1})]),_:1})]),_:1}),createVNode(Af,{onClick:Gd},{default:withCtx(()=>Zd[3]||(Zd[3]=[createTextVNode(" 自定义 CSS ")])),_:1}),createVNode(yf),createVNode(Af,{checked:unref(fd),onClick:unref(Md)},{default:withCtx(()=>Zd[4]||(Zd[4]=[createTextVNode(" Mac 代码块 ")])),_:1},8,["checked","onClick"]),createVNode(yf),createVNode(Af,{divided:"",onClick:unref(vd)},{default:withCtx(()=>Zd[5]||(Zd[5]=[createTextVNode(" 重置 ")])),_:1},8,["onClick"])]),_:1})]),_:1})}}}),_sfc_main$7=defineComponent({__name:"MenubarItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},emits:["select"],setup(Ra,{emit:qa}){const nd=Ra,od=qa,ld=computed(()=>{const{class:cd,...dd}=nd;return dd}),ud=xe$5(ld,od);return(cd,dd)=>(openBlock(),createBlock(unref(jh),mergeProps(unref(ud),{class:unref(cn$4)("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",cd.inset&&"pl-8",nd.class)}),{default:withCtx(()=>[renderSlot(cd.$slots,"default")]),_:3},16,["class"]))}}),_sfc_main$6=defineComponent({__name:"EditDropdown",setup(Ra){const{toggleShowInsertFormDialog:qa,toggleShowUploadImgDialog:nd}=useDisplayStore();return(od,ld)=>{const ud=_sfc_main$j,cd=_sfc_main$7,dd=_sfc_main$l,pd=_sfc_main$m;return openBlock(),createBlock(pd,null,{default:withCtx(()=>[createVNode(ud,null,{default:withCtx(()=>ld[2]||(ld[2]=[createTextVNode(" 编辑 ")])),_:1}),createVNode(dd,{align:"start"},{default:withCtx(()=>[createVNode(cd,{onClick:ld[0]||(ld[0]=fd=>unref(nd)())},{default:withCtx(()=>[createVNode(unref(CloudUpload),{class:"mr-2 h-4 w-4"}),ld[3]||(ld[3]=createTextVNode(" 上传图片 "))]),_:1}),createVNode(cd,{onClick:ld[1]||(ld[1]=fd=>unref(qa)())},{default:withCtx(()=>[createVNode(unref(Table),{class:"mr-2 h-4 w-4"}),ld[4]||(ld[4]=createTextVNode(" 插入表格 "))]),_:1})]),_:1})]),_:1})}}}),_sfc_main$5=defineComponent({__name:"MenubarShortcut",props:{class:{}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(cn$4)("ml-auto text-xs tracking-widest text-muted-foreground",qa.class))},[renderSlot(nd.$slots,"default")],2))}}),_sfc_main$4=defineComponent({__name:"FileDropdown",setup(Ra){const qa=useStore(),{isDark:nd,isEditOnLeft:od}=storeToRefs(qa),{exportEditorContent2HTML:ld,exportEditorContent2MD:ud,importMarkdownContent:cd}=qa;return(dd,pd)=>{const fd=_sfc_main$j,md=_sfc_main$7,vd=_sfc_main$e,Ad=_sfc_main$k,Nd=_sfc_main$l,Id=_sfc_main$m;return openBlock(),createBlock(Id,null,{default:withCtx(()=>[createVNode(fd,null,{default:withCtx(()=>pd[5]||(pd[5]=[createTextVNode(" 文件 ")])),_:1}),createVNode(Nd,{align:"start"},{default:withCtx(()=>[createVNode(md,{onClick:pd[0]||(pd[0]=kd=>unref(cd)())},{default:withCtx(()=>[createVNode(unref(Upload),{class:"mr-2 size-4"}),pd[6]||(pd[6]=createTextVNode(" 导入 .md "))]),_:1}),createVNode(md,{onClick:pd[1]||(pd[1]=kd=>unref(ud)())},{default:withCtx(()=>[createVNode(unref(Download),{class:"mr-2 size-4"}),pd[7]||(pd[7]=createTextVNode(" 导出 .md "))]),_:1}),createVNode(md,{onClick:pd[2]||(pd[2]=kd=>unref(ld)())},{default:withCtx(()=>[createVNode(unref(FileCode),{class:"mr-2 size-4"}),pd[8]||(pd[8]=createTextVNode(" 导出 .html "))]),_:1}),createVNode(vd),createVNode(Ad,{checked:unref(nd),"onUpdate:checked":pd[3]||(pd[3]=kd=>isRef(nd)?nd.value=kd:null)},{default:withCtx(()=>pd[9]||(pd[9]=[createTextVNode(" 深色模式 ")])),_:1},8,["checked"]),createVNode(vd),createVNode(Ad,{checked:unref(od),"onUpdate:checked":pd[4]||(pd[4]=kd=>isRef(od)?od.value=kd:null)},{default:withCtx(()=>pd[10]||(pd[10]=[createTextVNode(" 左侧编辑 ")])),_:1},8,["checked"])]),_:1})]),_:1})}}}),_sfc_main$3=defineComponent({__name:"Sonner",props:{invert:{type:Boolean},theme:{},position:{},hotkey:{},richColors:{type:Boolean},expand:{type:Boolean},duration:{},gap:{},visibleToasts:{},closeButton:{type:Boolean},toastOptions:{},class:{},style:{},offset:{},dir:{},icons:{},containerAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function}},setup(Ra){const qa=Ra;return(nd,od)=>(openBlock(),createBlock(unref(Ve),mergeProps({class:"toaster group"},qa,{"toast-options":{classes:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}}}),null,16))}}),_hoisted_1$1={class:"header-container h-15 flex items-center px-5"},_hoisted_2$1={class:"space-y-4"},_hoisted_3$1={class:"space-y-2"},_hoisted_4$1={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_5$1={class:"space-y-2"},_hoisted_6$1={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_7={class:"space-y-2"},_hoisted_8={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_9={class:"space-y-2"},_hoisted_10={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_11={class:"space-y-2"},_hoisted_12={class:"space-y-2"},_hoisted_13={class:"space-y-2"},_hoisted_14={class:"grid grid-cols-3 justify-items-center gap-2"},_hoisted_15={class:"space-y-2"},_hoisted_16={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_17={class:"space-y-2"},_hoisted_18={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_19={class:"space-y-2"},_hoisted_20={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_21={class:"space-y-2"},_hoisted_22={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_23={class:"space-y-2"},_hoisted_24={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_25={class:"space-y-2"},_hoisted_26={class:"grid grid-cols-5 justify-items-center gap-2"},_hoisted_27={class:"space-y-2"},_sfc_main$2=defineComponent({__name:"index",emits:["addFormat","formatContent","startCopy","endCopy"],setup(Ra,{emit:qa}){const nd=qa,od=[{label:"加粗",kbd:[ctrlSign,"B"],emitArgs:["addFormat",`${ctrlKey}-B`]},{label:"斜体",kbd:[ctrlSign,"I"],emitArgs:["addFormat",`${ctrlKey}-I`]},{label:"删除线",kbd:[ctrlSign,"D"],emitArgs:["addFormat",`${ctrlKey}-D`]},{label:"超链接",kbd:[ctrlSign,"K"],emitArgs:["addFormat",`${ctrlKey}-K`]},{label:"行内代码",kbd:[ctrlSign,"E"],emitArgs:["addFormat",`${ctrlKey}-E`]},{label:"格式化",kbd:[altSign,shiftSign,"F"],emitArgs:["formatContent"]}],ld=useStore(),ud=useDisplayStore(),{isDark:cd,isCiteStatus:dd,output:pd,primaryColor:fd}=storeToRefs(ld),{toggleDark:md,editorRefresh:vd,citeStatusChanged:Ad}=ld;function Nd(){nd("startCopy"),setTimeout(()=>{function Md(Hd){const Gd=document.createElement("div");return Gd.innerHTML=Hd,Gd.querySelectorAll("li > ul, li > ol").forEach(Kd=>{Kd.parentElement.insertAdjacentElement("afterend",Kd)}),Gd.innerHTML}const Ld=cd.value;Ld&&md(),nextTick$1(()=>{solveWeChatImage();const Hd=document.getElementById("output");Hd.innerHTML=mergeCss(Hd.innerHTML),Hd.innerHTML=Md(Hd.innerHTML),Hd.innerHTML=Hd.innerHTML.replace(/top:(.*?)em/g,"transform: translateY($1em)").replace(/hsl\(var\(--foreground\)\)/g,"#3f3f3f").replace(/var\(--blockquote-background\)/g,"#f7f7f7").replace(/var\(--md-primary-color\)/g,fd.value).replace(/--md-primary-color:.+?;/g,"").replace(/]*)>]*>(.*?)<\/p><\/span>/g,'$2'),Hd.focus();const Gd=document.createElement("p");Gd.style.fontSize="0",Gd.style.lineHeight="0",Gd.style.margin="0",Gd.innerHTML=" ",Hd.insertBefore(Gd,Hd.firstChild),Hd.querySelectorAll(".nodeLabel").forEach(mf=>{const Wd=mf.parentElement,Zd=Wd.getAttribute("xmlns"),Xd=Wd.getAttribute("style"),bf=document.createElement("section");bf.setAttribute("xmlns",Zd),bf.setAttribute("style",Xd),bf.innerHTML=Wd.innerHTML;const yf=Wd.parentElement;yf.innerHTML="",yf.appendChild(bf)}),window.getSelection().removeAllRanges();const Kd=document.createRange();Kd.setStartBefore(Hd.firstChild),Kd.setEndAfter(Hd.lastChild),window.getSelection().addRange(Kd),document.execCommand("copy"),window.getSelection().removeAllRanges(),Hd.innerHTML=pd.value,Ld&&nextTick$1(()=>md()),Ke$1.success("已复制渲染后的文章到剪贴板,可直接到公众号后台粘贴"),vd(),nd("endCopy")})},350)}function Id(){ud.toggleShowCssEditor(),setTimeout(()=>{ld.cssEditor.refresh()},50)}const kd=useTemplateRef("pickColorsContainer"),jd=ref$1("rgb"),Fd=ref$1(["rgb","hex","hsl","hsv"]);return(Md,Ld)=>{const Hd=_sfc_main$4,Gd=_sfc_main$j,Vd=_sfc_main$5,Kd=_sfc_main$k,mf=_sfc_main$e,Wd=_sfc_main$l,Zd=_sfc_main$m,Xd=_sfc_main$6,bf=_sfc_main$8,yf=_sfc_main$i,Ef=_sfc_main$o,gf=_sfc_main$1h,xf=_sfc_main$p,Af=_sfc_main$P,Lf=_sfc_main$Q,Xf=_sfc_main$T,Jf=_sfc_main$O,Zf=_sfc_main$U,Bf=_sfc_main$q,Df=_sfc_main$r,Uf=_sfc_main$s;return openBlock(),createElementBlock("header",_hoisted_1$1,[createVNode(Ef,{class:"menubar mr-auto"},{default:withCtx(()=>[createVNode(Hd),createVNode(Zd,null,{default:withCtx(()=>[createVNode(Gd,null,{default:withCtx(()=>Ld[17]||(Ld[17]=[createTextVNode(" 格式 ")])),_:1}),createVNode(Wd,{class:"w-60",align:"start"},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(od,({label:Gf,kbd:zf,emitArgs:Tf})=>createVNode(Kd,{key:Gf,onClick:vf=>Tf[0]==="addFormat"?Md.$emit(Tf[0],Tf[1]):Md.$emit(Tf[0])},{default:withCtx(()=>[createTextVNode(toDisplayString(Gf)+" ",1),createVNode(Vd,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(zf,vf=>(openBlock(),createElementBlock("kbd",{key:vf,class:"mx-1 bg-gray-2 dark:bg-stone-9"},toDisplayString(vf),1))),128))]),_:2},1024)]),_:2},1032,["onClick"])),64)),createVNode(mf),createVNode(Kd,{checked:unref(dd),onClick:Ld[0]||(Ld[0]=Gf=>unref(Ad)())},{default:withCtx(()=>Ld[18]||(Ld[18]=[createTextVNode(" 微信外链转底部引用 ")])),_:1},8,["checked"])]),_:1})]),_:1}),createVNode(Xd),createVNode(bf),createVNode(yf)]),_:1}),unref(ld).isOpenPostSlider?(openBlock(),createBlock(gf,{key:1,variant:"outline",class:"mr-2",onClick:Ld[2]||(Ld[2]=Gf=>unref(ld).isOpenPostSlider=!1)},{default:withCtx(()=>[createVNode(unref(PanelLeftClose),{class:"size-4"})]),_:1})):(openBlock(),createBlock(gf,{key:0,variant:"outline",class:"mr-2",onClick:Ld[1]||(Ld[1]=Gf=>unref(ld).isOpenPostSlider=!0)},{default:withCtx(()=>[createVNode(unref(PanelLeftOpen),{class:"size-4"})]),_:1})),createVNode(Df,null,{default:withCtx(()=>[createVNode(xf,null,{default:withCtx(()=>[createVNode(gf,{variant:"outline"},{default:withCtx(()=>[createVNode(unref(Settings),{class:"h-4 w-4"})]),_:1})]),_:1}),createVNode(Bf,{class:"h-100 w-100 overflow-auto px-6",align:"end"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$1,[createBaseVNode("div",_hoisted_3$1,[Ld[19]||(Ld[19]=createBaseVNode("h2",null,"主题",-1)),createBaseVNode("div",_hoisted_4$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(themeOptions),({label:Gf,value:zf})=>(openBlock(),createBlock(gf,{key:zf,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).theme===zf}]),variant:"outline",onClick:Tf=>unref(ld).themeChanged(zf)},{default:withCtx(()=>[createTextVNode(toDisplayString(Gf),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_5$1,[Ld[20]||(Ld[20]=createBaseVNode("h2",null,"字体",-1)),createBaseVNode("div",_hoisted_6$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(fontFamilyOptions),({label:Gf,value:zf})=>(openBlock(),createBlock(gf,{key:zf,variant:"outline",class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).fontFamily===zf}]),onClick:Tf=>unref(ld).fontChanged(zf)},{default:withCtx(()=>[createTextVNode(toDisplayString(Gf),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_7,[Ld[21]||(Ld[21]=createBaseVNode("h2",null,"字号",-1)),createBaseVNode("div",_hoisted_8,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(fontSizeOptions),({value:Gf,desc:zf})=>(openBlock(),createBlock(gf,{key:Gf,variant:"outline",class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).fontSize===Gf}]),onClick:Tf=>unref(ld).sizeChanged(Gf)},{default:withCtx(()=>[createTextVNode(toDisplayString(zf),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_9,[Ld[22]||(Ld[22]=createBaseVNode("h2",null,"主题色",-1)),createBaseVNode("div",_hoisted_10,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(colorOptions),({label:Gf,value:zf})=>(openBlock(),createBlock(gf,{key:zf,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).primaryColor===zf}]),variant:"outline",onClick:Tf=>unref(ld).colorChanged(zf)},{default:withCtx(()=>[createBaseVNode("span",{class:"mr-2 inline-block h-4 w-4 rounded-full",style:normalizeStyle({background:zf})},null,4),createTextVNode(" "+toDisplayString(Gf),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_11,[Ld[23]||(Ld[23]=createBaseVNode("h2",null,"自定义主题色",-1)),createBaseVNode("div",{ref_key:"pickColorsContainer",ref:kd},[unref(kd)?(openBlock(),createBlock(unref(ze),{key:0,value:unref(fd),"onUpdate:value":Ld[3]||(Ld[3]=Gf=>isRef(fd)?fd.value=Gf:null),"show-alpha":"",format:unref(jd),"format-options":unref(Fd),theme:unref(ld).isDark?"dark":"light","popup-container":unref(kd),onChange:unref(ld).colorChanged},null,8,["value","format","format-options","theme","popup-container","onChange"])):createCommentVNode("",!0)],512)]),createBaseVNode("div",_hoisted_12,[Ld[24]||(Ld[24]=createBaseVNode("h2",null,"代码块主题",-1)),createBaseVNode("div",null,[createVNode(Zf,{modelValue:unref(ld).codeBlockTheme,"onUpdate:modelValue":[Ld[4]||(Ld[4]=Gf=>unref(ld).codeBlockTheme=Gf),unref(ld).codeBlockThemeChanged]},{default:withCtx(()=>[createVNode(Lf,null,{default:withCtx(()=>[createVNode(Af,{placeholder:"Select a fruit"})]),_:1}),createVNode(Jf,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(codeBlockThemeOptions),({label:Gf,value:zf})=>(openBlock(),createBlock(Xf,{key:Gf,value:zf},{default:withCtx(()=>[createTextVNode(toDisplayString(Gf),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1},8,["modelValue","onUpdate:modelValue"])])]),createBaseVNode("div",_hoisted_13,[Ld[25]||(Ld[25]=createBaseVNode("h2",null,"图注格式",-1)),createBaseVNode("div",_hoisted_14,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(legendOptions),({label:Gf,value:zf})=>(openBlock(),createBlock(gf,{key:zf,class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).legend===zf}]),variant:"outline",onClick:Tf=>unref(ld).legendChanged(zf)},{default:withCtx(()=>[createTextVNode(toDisplayString(Gf),1)]),_:2},1032,["class","onClick"]))),128))])]),createBaseVNode("div",_hoisted_15,[Ld[28]||(Ld[28]=createBaseVNode("h2",null,"Mac 代码块",-1)),createBaseVNode("div",_hoisted_16,[createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).isMacCodeBlock}]),variant:"outline",onClick:Ld[5]||(Ld[5]=Gf=>!unref(ld).isMacCodeBlock&&unref(ld).macCodeBlockChanged())},{default:withCtx(()=>Ld[26]||(Ld[26]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(ld).isMacCodeBlock}]),variant:"outline",onClick:Ld[6]||(Ld[6]=Gf=>unref(ld).isMacCodeBlock&&unref(ld).macCodeBlockChanged())},{default:withCtx(()=>Ld[27]||(Ld[27]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_17,[Ld[31]||(Ld[31]=createBaseVNode("h2",null,"微信外链转底部引用",-1)),createBaseVNode("div",_hoisted_18,[createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).isCiteStatus}]),variant:"outline",onClick:Ld[7]||(Ld[7]=Gf=>!unref(ld).isCiteStatus&&unref(ld).citeStatusChanged())},{default:withCtx(()=>Ld[29]||(Ld[29]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(ld).isCiteStatus}]),variant:"outline",onClick:Ld[8]||(Ld[8]=Gf=>unref(ld).isCiteStatus&&unref(ld).citeStatusChanged())},{default:withCtx(()=>Ld[30]||(Ld[30]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_19,[Ld[34]||(Ld[34]=createBaseVNode("h2",null,"段落首行缩进",-1)),createBaseVNode("div",_hoisted_20,[createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).isUseIndent}]),variant:"outline",onClick:Ld[9]||(Ld[9]=Gf=>!unref(ld).isUseIndent&&unref(ld).useIndentChanged())},{default:withCtx(()=>Ld[32]||(Ld[32]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(ld).isUseIndent}]),variant:"outline",onClick:Ld[10]||(Ld[10]=Gf=>unref(ld).isUseIndent&&unref(ld).useIndentChanged())},{default:withCtx(()=>Ld[33]||(Ld[33]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_21,[Ld[37]||(Ld[37]=createBaseVNode("h2",null,"自定义 CSS 面板",-1)),createBaseVNode("div",_hoisted_22,[createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ud).isShowCssEditor}]),variant:"outline",onClick:Ld[11]||(Ld[11]=Gf=>!unref(ud).isShowCssEditor&&Id())},{default:withCtx(()=>Ld[35]||(Ld[35]=[createTextVNode(" 开启 ")])),_:1},8,["class"]),createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(ud).isShowCssEditor}]),variant:"outline",onClick:Ld[12]||(Ld[12]=Gf=>unref(ud).isShowCssEditor&&Id())},{default:withCtx(()=>Ld[36]||(Ld[36]=[createTextVNode(" 关闭 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_23,[Ld[40]||(Ld[40]=createBaseVNode("h2",null,"编辑区位置",-1)),createBaseVNode("div",_hoisted_24,[createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(ld).isEditOnLeft}]),variant:"outline",onClick:Ld[13]||(Ld[13]=Gf=>!unref(ld).isEditOnLeft&&unref(ld).toggleEditOnLeft())},{default:withCtx(()=>Ld[38]||(Ld[38]=[createTextVNode(" 左侧 ")])),_:1},8,["class"]),createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(ld).isEditOnLeft}]),variant:"outline",onClick:Ld[14]||(Ld[14]=Gf=>unref(ld).isEditOnLeft&&unref(ld).toggleEditOnLeft())},{default:withCtx(()=>Ld[39]||(Ld[39]=[createTextVNode(" 右侧 ")])),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_25,[Ld[41]||(Ld[41]=createBaseVNode("h2",null,"模式",-1)),createBaseVNode("div",_hoisted_26,[createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":!unref(cd)}]),variant:"outline",onClick:Ld[15]||(Ld[15]=Gf=>unref(ld).toggleDark(!1))},{default:withCtx(()=>[createVNode(unref(Sun),{class:"h-4 w-4"})]),_:1},8,["class"]),createVNode(gf,{class:normalizeClass(["w-full",{"border-black dark:border-white":unref(cd)}]),variant:"outline",onClick:Ld[16]||(Ld[16]=Gf=>unref(ld).toggleDark(!0))},{default:withCtx(()=>[createVNode(unref(Moon),{class:"h-4 w-4"})]),_:1},8,["class"])])]),createBaseVNode("div",_hoisted_27,[Ld[43]||(Ld[43]=createBaseVNode("h2",null,"样式配置",-1)),createVNode(gf,{onClick:unref(ld).resetStyleConfirm},{default:withCtx(()=>Ld[42]||(Ld[42]=[createTextVNode(" 重置 ")])),_:1},8,["onClick"])])])]),_:1})]),_:1}),createVNode(gf,{variant:"outline",class:"mx-2",onClick:Nd},{default:withCtx(()=>Ld[44]||(Ld[44]=[createTextVNode(" 复制 ")])),_:1}),createVNode(Uf),createVNode(unref(_sfc_main$3),{"rich-colors":"",position:"top-center"})])}}}),__unplugin_components_0=_export_sfc(_sfc_main$2,[["__scopeId","data-v-1417df7b"]]);function bind$2(Ra,qa){return function(){return Ra.apply(qa,arguments)}}var define_process_default$8={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_9b3b18d1-9340-49ab-b4e8-5023772e0970",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_9b3b18d1-9340-49ab-b4e8-5023772e0970",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:1985",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12403591553",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_77bf6c2e-16c6-46b5-9674-d636e159247f",INVOCATION_ID:"2e23158896aa43b4b0c7cc0c353d16fa",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"468",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 17",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_9b3b18d1-9340-49ab-b4e8-5023772e0970",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_9b3b18d1-9340-49ab-b4e8-5023772e0970",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_9b3b18d1-9340-49ab-b4e8-5023772e0970",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2165,ppid:2164,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};const{toString:toString$1}=Object.prototype,{getPrototypeOf:getPrototypeOf$1}=Object,kindOf=(Ra=>qa=>{const nd=toString$1.call(qa);return Ra[nd]||(Ra[nd]=nd.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=Ra=>(Ra=Ra.toLowerCase(),qa=>kindOf(qa)===Ra),typeOfTest=Ra=>qa=>typeof qa===Ra,{isArray}=Array,isUndefined=typeOfTest("undefined");function isBuffer(Ra){return Ra!==null&&!isUndefined(Ra)&&Ra.constructor!==null&&!isUndefined(Ra.constructor)&&isFunction$1(Ra.constructor.isBuffer)&&Ra.constructor.isBuffer(Ra)}const isArrayBuffer$1=kindOfTest("ArrayBuffer");function isArrayBufferView(Ra){let qa;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?qa=ArrayBuffer.isView(Ra):qa=Ra&&Ra.buffer&&isArrayBuffer$1(Ra.buffer),qa}const isString$1=typeOfTest("string"),isFunction$1=typeOfTest("function"),isNumber$1=typeOfTest("number"),isObject$1=Ra=>Ra!==null&&typeof Ra=="object",isBoolean$1=Ra=>Ra===!0||Ra===!1,isPlainObject=Ra=>{if(kindOf(Ra)!=="object")return!1;const qa=getPrototypeOf$1(Ra);return(qa===null||qa===Object.prototype||Object.getPrototypeOf(qa)===null)&&!(Symbol.toStringTag in Ra)&&!(Symbol.iterator in Ra)},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=Ra=>isObject$1(Ra)&&isFunction$1(Ra.pipe),isFormData=Ra=>{let qa;return Ra&&(typeof FormData=="function"&&Ra instanceof FormData||isFunction$1(Ra.append)&&((qa=kindOf(Ra))==="formdata"||qa==="object"&&isFunction$1(Ra.toString)&&Ra.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),[isReadableStream$1,isRequest$2,isResponse,isHeaders]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim=Ra=>Ra.trim?Ra.trim():Ra.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach$2(Ra,qa,{allOwnKeys:nd=!1}={}){if(Ra===null||typeof Ra>"u")return;let od,ld;if(typeof Ra!="object"&&(Ra=[Ra]),isArray(Ra))for(od=0,ld=Ra.length;od0;)if(ld=nd[od],qa===ld.toLowerCase())return ld;return null}const _global=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global$1,isContextDefined=Ra=>!isUndefined(Ra)&&Ra!==_global;function merge(){const{caseless:Ra}=isContextDefined(this)&&this||{},qa={},nd=(od,ld)=>{const ud=Ra&&findKey(qa,ld)||ld;isPlainObject(qa[ud])&&isPlainObject(od)?qa[ud]=merge(qa[ud],od):isPlainObject(od)?qa[ud]=merge({},od):isArray(od)?qa[ud]=od.slice():qa[ud]=od};for(let od=0,ld=arguments.length;od(forEach$2(qa,(ld,ud)=>{nd&&isFunction$1(ld)?Ra[ud]=bind$2(ld,nd):Ra[ud]=ld},{allOwnKeys:od}),Ra),stripBOM=Ra=>(Ra.charCodeAt(0)===65279&&(Ra=Ra.slice(1)),Ra),inherits$2=(Ra,qa,nd,od)=>{Ra.prototype=Object.create(qa.prototype,od),Ra.prototype.constructor=Ra,Object.defineProperty(Ra,"super",{value:qa.prototype}),nd&&Object.assign(Ra.prototype,nd)},toFlatObject=(Ra,qa,nd,od)=>{let ld,ud,cd;const dd={};if(qa=qa||{},Ra==null)return qa;do{for(ld=Object.getOwnPropertyNames(Ra),ud=ld.length;ud-- >0;)cd=ld[ud],(!od||od(cd,Ra,qa))&&!dd[cd]&&(qa[cd]=Ra[cd],dd[cd]=!0);Ra=nd!==!1&&getPrototypeOf$1(Ra)}while(Ra&&(!nd||nd(Ra,qa))&&Ra!==Object.prototype);return qa},endsWith$1=(Ra,qa,nd)=>{Ra=String(Ra),(nd===void 0||nd>Ra.length)&&(nd=Ra.length),nd-=qa.length;const od=Ra.indexOf(qa,nd);return od!==-1&&od===nd},toArray$1=Ra=>{if(!Ra)return null;if(isArray(Ra))return Ra;let qa=Ra.length;if(!isNumber$1(qa))return null;const nd=new Array(qa);for(;qa-- >0;)nd[qa]=Ra[qa];return nd},isTypedArray$1=(Ra=>qa=>Ra&&qa instanceof Ra)(typeof Uint8Array<"u"&&getPrototypeOf$1(Uint8Array)),forEachEntry=(Ra,qa)=>{const od=(Ra&&Ra[Symbol.iterator]).call(Ra);let ld;for(;(ld=od.next())&&!ld.done;){const ud=ld.value;qa.call(Ra,ud[0],ud[1])}},matchAll=(Ra,qa)=>{let nd;const od=[];for(;(nd=Ra.exec(qa))!==null;)od.push(nd);return od},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=Ra=>Ra.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(nd,od,ld){return od.toUpperCase()+ld}),hasOwnProperty$2=(({hasOwnProperty:Ra})=>(qa,nd)=>Ra.call(qa,nd))(Object.prototype),isRegExp=kindOfTest("RegExp"),reduceDescriptors=(Ra,qa)=>{const nd=Object.getOwnPropertyDescriptors(Ra),od={};forEach$2(nd,(ld,ud)=>{let cd;(cd=qa(ld,ud,Ra))!==!1&&(od[ud]=cd||ld)}),Object.defineProperties(Ra,od)},freezeMethods=Ra=>{reduceDescriptors(Ra,(qa,nd)=>{if(isFunction$1(Ra)&&["arguments","caller","callee"].indexOf(nd)!==-1)return!1;const od=Ra[nd];if(isFunction$1(od)){if(qa.enumerable=!1,"writable"in qa){qa.writable=!1;return}qa.set||(qa.set=()=>{throw Error("Can not rewrite read-only method '"+nd+"'")})}})},toObjectSet=(Ra,qa)=>{const nd={},od=ld=>{ld.forEach(ud=>{nd[ud]=!0})};return isArray(Ra)?od(Ra):od(String(Ra).split(qa)),nd},noop$2=()=>{},toFiniteNumber=(Ra,qa)=>Ra!=null&&Number.isFinite(Ra=+Ra)?Ra:qa,ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(Ra=16,qa=ALPHABET.ALPHA_DIGIT)=>{let nd="";const{length:od}=qa;for(;Ra--;)nd+=qa[Math.random()*od|0];return nd};function isSpecCompliantForm(Ra){return!!(Ra&&isFunction$1(Ra.append)&&Ra[Symbol.toStringTag]==="FormData"&&Ra[Symbol.iterator])}const toJSONObject=Ra=>{const qa=new Array(10),nd=(od,ld)=>{if(isObject$1(od)){if(qa.indexOf(od)>=0)return;if(!("toJSON"in od)){qa[ld]=od;const ud=isArray(od)?[]:{};return forEach$2(od,(cd,dd)=>{const pd=nd(cd,ld+1);!isUndefined(pd)&&(ud[dd]=pd)}),qa[ld]=void 0,ud}}return od};return nd(Ra,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=Ra=>Ra&&(isObject$1(Ra)||isFunction$1(Ra))&&isFunction$1(Ra.then)&&isFunction$1(Ra.catch),_setImmediate=((Ra,qa)=>Ra?setImmediate:qa?((nd,od)=>(_global.addEventListener("message",({source:ld,data:ud})=>{ld===_global&&ud===nd&&od.length&&od.shift()()},!1),ld=>{od.push(ld),_global.postMessage(nd,"*")}))(`axios@${Math.random()}`,[]):nd=>setTimeout(nd))(typeof setImmediate=="function",isFunction$1(_global.postMessage)),asap=typeof queueMicrotask<"u"?queueMicrotask.bind(_global):typeof define_process_default$8<"u"&&define_process_default$8.nextTick||_setImmediate,utils$2={isArray,isArrayBuffer:isArrayBuffer$1,isBuffer,isFormData,isArrayBufferView,isString:isString$1,isNumber:isNumber$1,isBoolean:isBoolean$1,isObject:isObject$1,isPlainObject,isReadableStream:isReadableStream$1,isRequest:isRequest$2,isResponse,isHeaders,isUndefined,isDate,isFile,isBlob,isRegExp,isFunction:isFunction$1,isStream,isURLSearchParams,isTypedArray:isTypedArray$1,isFileList,forEach:forEach$2,merge,extend,trim,stripBOM,inherits:inherits$2,toFlatObject,kindOf,kindOfTest,endsWith:endsWith$1,toArray:toArray$1,forEachEntry,matchAll,isHTMLForm,hasOwnProperty:hasOwnProperty$2,hasOwnProp:hasOwnProperty$2,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase,noop:noop$2,toFiniteNumber,findKey,global:_global,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable,setImmediate:_setImmediate,asap};function AxiosError(Ra,qa,nd,od,ld){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=Ra,this.name="AxiosError",qa&&(this.code=qa),nd&&(this.config=nd),od&&(this.request=od),ld&&(this.response=ld,this.status=ld.status?ld.status:null)}utils$2.inherits(AxiosError,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils$2.toJSONObject(this.config),code:this.code,status:this.status}}});const prototype$1=AxiosError.prototype,descriptors={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(Ra=>{descriptors[Ra]={value:Ra}});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError.from=(Ra,qa,nd,od,ld,ud)=>{const cd=Object.create(prototype$1);return utils$2.toFlatObject(Ra,cd,function(pd){return pd!==Error.prototype},dd=>dd!=="isAxiosError"),AxiosError.call(cd,Ra.message,qa,nd,od,ld),cd.cause=Ra,cd.name=Ra.name,ud&&Object.assign(cd,ud),cd};const httpAdapter=null;function isVisitable(Ra){return utils$2.isPlainObject(Ra)||utils$2.isArray(Ra)}function removeBrackets(Ra){return utils$2.endsWith(Ra,"[]")?Ra.slice(0,-2):Ra}function renderKey(Ra,qa,nd){return Ra?Ra.concat(qa).map(function(ld,ud){return ld=removeBrackets(ld),!nd&&ud?"["+ld+"]":ld}).join(nd?".":""):qa}function isFlatArray(Ra){return utils$2.isArray(Ra)&&!Ra.some(isVisitable)}const predicates=utils$2.toFlatObject(utils$2,{},null,function(qa){return/^is[A-Z]/.test(qa)});function toFormData(Ra,qa,nd){if(!utils$2.isObject(Ra))throw new TypeError("target must be an object");qa=qa||new FormData,nd=utils$2.toFlatObject(nd,{metaTokens:!0,dots:!1,indexes:!1},!1,function(kd,jd){return!utils$2.isUndefined(jd[kd])});const od=nd.metaTokens,ld=nd.visitor||md,ud=nd.dots,cd=nd.indexes,pd=(nd.Blob||typeof Blob<"u"&&Blob)&&utils$2.isSpecCompliantForm(qa);if(!utils$2.isFunction(ld))throw new TypeError("visitor must be a function");function fd(Id){if(Id===null)return"";if(utils$2.isDate(Id))return Id.toISOString();if(!pd&&utils$2.isBlob(Id))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$2.isArrayBuffer(Id)||utils$2.isTypedArray(Id)?pd&&typeof Blob=="function"?new Blob([Id]):Buffer$4.from(Id):Id}function md(Id,kd,jd){let Fd=Id;if(Id&&!jd&&typeof Id=="object"){if(utils$2.endsWith(kd,"{}"))kd=od?kd:kd.slice(0,-2),Id=JSON.stringify(Id);else if(utils$2.isArray(Id)&&isFlatArray(Id)||(utils$2.isFileList(Id)||utils$2.endsWith(kd,"[]"))&&(Fd=utils$2.toArray(Id)))return kd=removeBrackets(kd),Fd.forEach(function(Ld,Hd){!(utils$2.isUndefined(Ld)||Ld===null)&&qa.append(cd===!0?renderKey([kd],Hd,ud):cd===null?kd:kd+"[]",fd(Ld))}),!1}return isVisitable(Id)?!0:(qa.append(renderKey(jd,kd,ud),fd(Id)),!1)}const vd=[],Ad=Object.assign(predicates,{defaultVisitor:md,convertValue:fd,isVisitable});function Nd(Id,kd){if(!utils$2.isUndefined(Id)){if(vd.indexOf(Id)!==-1)throw Error("Circular reference detected in "+kd.join("."));vd.push(Id),utils$2.forEach(Id,function(Fd,Md){(!(utils$2.isUndefined(Fd)||Fd===null)&&ld.call(qa,Fd,utils$2.isString(Md)?Md.trim():Md,kd,Ad))===!0&&Nd(Fd,kd?kd.concat(Md):[Md])}),vd.pop()}}if(!utils$2.isObject(Ra))throw new TypeError("data must be an object");return Nd(Ra),qa}function encode$2(Ra){const qa={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(Ra).replace(/[!'()~]|%20|%00/g,function(od){return qa[od]})}function AxiosURLSearchParams(Ra,qa){this._pairs=[],Ra&&toFormData(Ra,this,qa)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function(qa,nd){this._pairs.push([qa,nd])};prototype.toString=function(qa){const nd=qa?function(od){return qa.call(this,od,encode$2)}:encode$2;return this._pairs.map(function(ld){return nd(ld[0])+"="+nd(ld[1])},"").join("&")};function encode$1(Ra){return encodeURIComponent(Ra).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(Ra,qa,nd){if(!qa)return Ra;const od=nd&&nd.encode||encode$1;utils$2.isFunction(nd)&&(nd={serialize:nd});const ld=nd&&nd.serialize;let ud;if(ld?ud=ld(qa,nd):ud=utils$2.isURLSearchParams(qa)?qa.toString():new AxiosURLSearchParams(qa,nd).toString(od),ud){const cd=Ra.indexOf("#");cd!==-1&&(Ra=Ra.slice(0,cd)),Ra+=(Ra.indexOf("?")===-1?"?":"&")+ud}return Ra}class InterceptorManager{constructor(){this.handlers=[]}use(qa,nd,od){return this.handlers.push({fulfilled:qa,rejected:nd,synchronous:od?od.synchronous:!1,runWhen:od?od.runWhen:null}),this.handlers.length-1}eject(qa){this.handlers[qa]&&(this.handlers[qa]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(qa){utils$2.forEach(this.handlers,function(od){od!==null&&qa(od)})}}const transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams<"u"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData<"u"?FormData:null,Blob$1=typeof Blob<"u"?Blob:null,platform$1={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},protocols:["http","https","file","blob","url","data"]},hasBrowserEnv=typeof window<"u"&&typeof document<"u",_navigator=typeof navigator=="object"&&navigator||void 0,hasStandardBrowserEnv=hasBrowserEnv&&(!_navigator||["ReactNative","NativeScript","NS"].indexOf(_navigator.product)<0),hasStandardBrowserWebWorkerEnv=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",origin=hasBrowserEnv&&window.location.href||"http://localhost",utils$1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv,hasStandardBrowserEnv,hasStandardBrowserWebWorkerEnv,navigator:_navigator,origin},Symbol.toStringTag,{value:"Module"})),platform={...utils$1,...platform$1};function toURLEncodedForm(Ra,qa){return toFormData(Ra,new platform.classes.URLSearchParams,Object.assign({visitor:function(nd,od,ld,ud){return platform.isNode&&utils$2.isBuffer(nd)?(this.append(od,nd.toString("base64")),!1):ud.defaultVisitor.apply(this,arguments)}},qa))}function parsePropPath(Ra){return utils$2.matchAll(/\w+|\[(\w*)]/g,Ra).map(qa=>qa[0]==="[]"?"":qa[1]||qa[0])}function arrayToObject(Ra){const qa={},nd=Object.keys(Ra);let od;const ld=nd.length;let ud;for(od=0;od=nd.length;return cd=!cd&&utils$2.isArray(ld)?ld.length:cd,pd?(utils$2.hasOwnProp(ld,cd)?ld[cd]=[ld[cd],od]:ld[cd]=od,!dd):((!ld[cd]||!utils$2.isObject(ld[cd]))&&(ld[cd]=[]),qa(nd,od,ld[cd],ud)&&utils$2.isArray(ld[cd])&&(ld[cd]=arrayToObject(ld[cd])),!dd)}if(utils$2.isFormData(Ra)&&utils$2.isFunction(Ra.entries)){const nd={};return utils$2.forEachEntry(Ra,(od,ld)=>{qa(parsePropPath(od),ld,nd,0)}),nd}return null}function stringifySafely(Ra,qa,nd){if(utils$2.isString(Ra))try{return(qa||JSON.parse)(Ra),utils$2.trim(Ra)}catch(od){if(od.name!=="SyntaxError")throw od}return(0,JSON.stringify)(Ra)}const defaults$1={transitional:transitionalDefaults,adapter:["xhr","http","fetch"],transformRequest:[function(qa,nd){const od=nd.getContentType()||"",ld=od.indexOf("application/json")>-1,ud=utils$2.isObject(qa);if(ud&&utils$2.isHTMLForm(qa)&&(qa=new FormData(qa)),utils$2.isFormData(qa))return ld?JSON.stringify(formDataToJSON(qa)):qa;if(utils$2.isArrayBuffer(qa)||utils$2.isBuffer(qa)||utils$2.isStream(qa)||utils$2.isFile(qa)||utils$2.isBlob(qa)||utils$2.isReadableStream(qa))return qa;if(utils$2.isArrayBufferView(qa))return qa.buffer;if(utils$2.isURLSearchParams(qa))return nd.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),qa.toString();let dd;if(ud){if(od.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(qa,this.formSerializer).toString();if((dd=utils$2.isFileList(qa))||od.indexOf("multipart/form-data")>-1){const pd=this.env&&this.env.FormData;return toFormData(dd?{"files[]":qa}:qa,pd&&new pd,this.formSerializer)}}return ud||ld?(nd.setContentType("application/json",!1),stringifySafely(qa)):qa}],transformResponse:[function(qa){const nd=this.transitional||defaults$1.transitional,od=nd&&nd.forcedJSONParsing,ld=this.responseType==="json";if(utils$2.isResponse(qa)||utils$2.isReadableStream(qa))return qa;if(qa&&utils$2.isString(qa)&&(od&&!this.responseType||ld)){const cd=!(nd&&nd.silentJSONParsing)&&ld;try{return JSON.parse(qa)}catch(dd){if(cd)throw dd.name==="SyntaxError"?AxiosError.from(dd,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):dd}}return qa}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform.classes.FormData,Blob:platform.classes.Blob},validateStatus:function(qa){return qa>=200&&qa<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils$2.forEach(["delete","get","head","post","put","patch"],Ra=>{defaults$1.headers[Ra]={}});const ignoreDuplicateOf=utils$2.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),parseHeaders=Ra=>{const qa={};let nd,od,ld;return Ra&&Ra.split(` `).forEach(function(cd){ld=cd.indexOf(":"),nd=cd.substring(0,ld).trim().toLowerCase(),od=cd.substring(ld+1).trim(),!(!nd||qa[nd]&&ignoreDuplicateOf[nd])&&(nd==="set-cookie"?qa[nd]?qa[nd].push(od):qa[nd]=[od]:qa[nd]=qa[nd]?qa[nd]+", "+od:od)}),qa},$internals=Symbol("internals");function normalizeHeader(Ra){return Ra&&String(Ra).trim().toLowerCase()}function normalizeValue(Ra){return Ra===!1||Ra==null?Ra:utils$2.isArray(Ra)?Ra.map(normalizeValue):String(Ra)}function parseTokens(Ra){const qa=Object.create(null),nd=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let od;for(;od=nd.exec(Ra);)qa[od[1]]=od[2];return qa}const isValidHeaderName=Ra=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(Ra.trim());function matchHeaderValue(Ra,qa,nd,od,ld){if(utils$2.isFunction(od))return od.call(this,qa,nd);if(ld&&(qa=nd),!!utils$2.isString(qa)){if(utils$2.isString(od))return qa.indexOf(od)!==-1;if(utils$2.isRegExp(od))return od.test(qa)}}function formatHeader(Ra){return Ra.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(qa,nd,od)=>nd.toUpperCase()+od)}function buildAccessors(Ra,qa){const nd=utils$2.toCamelCase(" "+qa);["get","set","has"].forEach(od=>{Object.defineProperty(Ra,od+nd,{value:function(ld,ud,cd){return this[od].call(this,qa,ld,ud,cd)},configurable:!0})})}class AxiosHeaders{constructor(qa){qa&&this.set(qa)}set(qa,nd,od){const ld=this;function ud(dd,pd,fd){const md=normalizeHeader(pd);if(!md)throw new Error("header name must be a non-empty string");const vd=utils$2.findKey(ld,md);(!vd||ld[vd]===void 0||fd===!0||fd===void 0&&ld[vd]!==!1)&&(ld[vd||pd]=normalizeValue(dd))}const cd=(dd,pd)=>utils$2.forEach(dd,(fd,md)=>ud(fd,md,pd));if(utils$2.isPlainObject(qa)||qa instanceof this.constructor)cd(qa,nd);else if(utils$2.isString(qa)&&(qa=qa.trim())&&!isValidHeaderName(qa))cd(parseHeaders(qa),nd);else if(utils$2.isHeaders(qa))for(const[dd,pd]of qa.entries())ud(pd,dd,od);else qa!=null&&ud(nd,qa,od);return this}get(qa,nd){if(qa=normalizeHeader(qa),qa){const od=utils$2.findKey(this,qa);if(od){const ld=this[od];if(!nd)return ld;if(nd===!0)return parseTokens(ld);if(utils$2.isFunction(nd))return nd.call(this,ld,od);if(utils$2.isRegExp(nd))return nd.exec(ld);throw new TypeError("parser must be boolean|regexp|function")}}}has(qa,nd){if(qa=normalizeHeader(qa),qa){const od=utils$2.findKey(this,qa);return!!(od&&this[od]!==void 0&&(!nd||matchHeaderValue(this,this[od],od,nd)))}return!1}delete(qa,nd){const od=this;let ld=!1;function ud(cd){if(cd=normalizeHeader(cd),cd){const dd=utils$2.findKey(od,cd);dd&&(!nd||matchHeaderValue(od,od[dd],dd,nd))&&(delete od[dd],ld=!0)}}return utils$2.isArray(qa)?qa.forEach(ud):ud(qa),ld}clear(qa){const nd=Object.keys(this);let od=nd.length,ld=!1;for(;od--;){const ud=nd[od];(!qa||matchHeaderValue(this,this[ud],ud,qa,!0))&&(delete this[ud],ld=!0)}return ld}normalize(qa){const nd=this,od={};return utils$2.forEach(this,(ld,ud)=>{const cd=utils$2.findKey(od,ud);if(cd){nd[cd]=normalizeValue(ld),delete nd[ud];return}const dd=qa?formatHeader(ud):String(ud).trim();dd!==ud&&delete nd[ud],nd[dd]=normalizeValue(ld),od[dd]=!0}),this}concat(...qa){return this.constructor.concat(this,...qa)}toJSON(qa){const nd=Object.create(null);return utils$2.forEach(this,(od,ld)=>{od!=null&&od!==!1&&(nd[ld]=qa&&utils$2.isArray(od)?od.join(", "):od)}),nd}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([qa,nd])=>qa+": "+nd).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(qa){return qa instanceof this?qa:new this(qa)}static concat(qa,...nd){const od=new this(qa);return nd.forEach(ld=>od.set(ld)),od}static accessor(qa){const od=(this[$internals]=this[$internals]={accessors:{}}).accessors,ld=this.prototype;function ud(cd){const dd=normalizeHeader(cd);od[dd]||(buildAccessors(ld,cd),od[dd]=!0)}return utils$2.isArray(qa)?qa.forEach(ud):ud(qa),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$2.reduceDescriptors(AxiosHeaders.prototype,({value:Ra},qa)=>{let nd=qa[0].toUpperCase()+qa.slice(1);return{get:()=>Ra,set(od){this[nd]=od}}});utils$2.freezeMethods(AxiosHeaders);function transformData(Ra,qa){const nd=this||defaults$1,od=qa||nd,ld=AxiosHeaders.from(od.headers);let ud=od.data;return utils$2.forEach(Ra,function(dd){ud=dd.call(nd,ud,ld.normalize(),qa?qa.status:void 0)}),ld.normalize(),ud}function isCancel(Ra){return!!(Ra&&Ra.__CANCEL__)}function CanceledError(Ra,qa,nd){AxiosError.call(this,Ra??"canceled",AxiosError.ERR_CANCELED,qa,nd),this.name="CanceledError"}utils$2.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(Ra,qa,nd){const od=nd.config.validateStatus;!nd.status||!od||od(nd.status)?Ra(nd):qa(new AxiosError("Request failed with status code "+nd.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(nd.status/100)-4],nd.config,nd.request,nd))}function parseProtocol(Ra){const qa=/^([-+\w]{1,25})(:?\/\/|:)/.exec(Ra);return qa&&qa[1]||""}function speedometer(Ra,qa){Ra=Ra||10;const nd=new Array(Ra),od=new Array(Ra);let ld=0,ud=0,cd;return qa=qa!==void 0?qa:1e3,function(pd){const fd=Date.now(),md=od[ud];cd||(cd=fd),nd[ld]=pd,od[ld]=fd;let vd=ud,Ad=0;for(;vd!==ld;)Ad+=nd[vd++],vd=vd%Ra;if(ld=(ld+1)%Ra,ld===ud&&(ud=(ud+1)%Ra),fd-cd{nd=md,ld=null,ud&&(clearTimeout(ud),ud=null),Ra.apply(null,fd)};return[(...fd)=>{const md=Date.now(),vd=md-nd;vd>=od?cd(fd,md):(ld=fd,ud||(ud=setTimeout(()=>{ud=null,cd(ld)},od-vd)))},()=>ld&&cd(ld)]}const progressEventReducer=(Ra,qa,nd=3)=>{let od=0;const ld=speedometer(50,250);return throttle(ud=>{const cd=ud.loaded,dd=ud.lengthComputable?ud.total:void 0,pd=cd-od,fd=ld(pd),md=cd<=dd;od=cd;const vd={loaded:cd,total:dd,progress:dd?cd/dd:void 0,bytes:pd,rate:fd||void 0,estimated:fd&&dd&&md?(dd-cd)/fd:void 0,event:ud,lengthComputable:dd!=null,[qa?"download":"upload"]:!0};Ra(vd)},nd)},progressEventDecorator=(Ra,qa)=>{const nd=Ra!=null;return[od=>qa[0]({lengthComputable:nd,total:Ra,loaded:od}),qa[1]]},asyncDecorator=Ra=>(...qa)=>utils$2.asap(()=>Ra(...qa)),isURLSameOrigin=platform.hasStandardBrowserEnv?((Ra,qa)=>nd=>(nd=new URL(nd,platform.origin),Ra.protocol===nd.protocol&&Ra.host===nd.host&&(qa||Ra.port===nd.port)))(new URL(platform.origin),platform.navigator&&/(msie|trident)/i.test(platform.navigator.userAgent)):()=>!0,cookies=platform.hasStandardBrowserEnv?{write(Ra,qa,nd,od,ld,ud){const cd=[Ra+"="+encodeURIComponent(qa)];utils$2.isNumber(nd)&&cd.push("expires="+new Date(nd).toGMTString()),utils$2.isString(od)&&cd.push("path="+od),utils$2.isString(ld)&&cd.push("domain="+ld),ud===!0&&cd.push("secure"),document.cookie=cd.join("; ")},read(Ra){const qa=document.cookie.match(new RegExp("(^|;\\s*)("+Ra+")=([^;]*)"));return qa?decodeURIComponent(qa[3]):null},remove(Ra){this.write(Ra,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function isAbsoluteURL(Ra){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(Ra)}function combineURLs(Ra,qa){return qa?Ra.replace(/\/?\/$/,"")+"/"+qa.replace(/^\/+/,""):Ra}function buildFullPath(Ra,qa){return Ra&&!isAbsoluteURL(qa)?combineURLs(Ra,qa):qa}const headersToObject=Ra=>Ra instanceof AxiosHeaders?{...Ra}:Ra;function mergeConfig(Ra,qa){qa=qa||{};const nd={};function od(fd,md,vd,Ad){return utils$2.isPlainObject(fd)&&utils$2.isPlainObject(md)?utils$2.merge.call({caseless:Ad},fd,md):utils$2.isPlainObject(md)?utils$2.merge({},md):utils$2.isArray(md)?md.slice():md}function ld(fd,md,vd,Ad){if(utils$2.isUndefined(md)){if(!utils$2.isUndefined(fd))return od(void 0,fd,vd,Ad)}else return od(fd,md,vd,Ad)}function ud(fd,md){if(!utils$2.isUndefined(md))return od(void 0,md)}function cd(fd,md){if(utils$2.isUndefined(md)){if(!utils$2.isUndefined(fd))return od(void 0,fd)}else return od(void 0,md)}function dd(fd,md,vd){if(vd in qa)return od(fd,md);if(vd in Ra)return od(void 0,fd)}const pd={url:ud,method:ud,data:ud,baseURL:cd,transformRequest:cd,transformResponse:cd,paramsSerializer:cd,timeout:cd,timeoutMessage:cd,withCredentials:cd,withXSRFToken:cd,adapter:cd,responseType:cd,xsrfCookieName:cd,xsrfHeaderName:cd,onUploadProgress:cd,onDownloadProgress:cd,decompress:cd,maxContentLength:cd,maxBodyLength:cd,beforeRedirect:cd,transport:cd,httpAgent:cd,httpsAgent:cd,cancelToken:cd,socketPath:cd,responseEncoding:cd,validateStatus:dd,headers:(fd,md,vd)=>ld(headersToObject(fd),headersToObject(md),vd,!0)};return utils$2.forEach(Object.keys(Object.assign({},Ra,qa)),function(md){const vd=pd[md]||ld,Ad=vd(Ra[md],qa[md],md);utils$2.isUndefined(Ad)&&vd!==dd||(nd[md]=Ad)}),nd}const resolveConfig=Ra=>{const qa=mergeConfig({},Ra);let{data:nd,withXSRFToken:od,xsrfHeaderName:ld,xsrfCookieName:ud,headers:cd,auth:dd}=qa;qa.headers=cd=AxiosHeaders.from(cd),qa.url=buildURL(buildFullPath(qa.baseURL,qa.url),Ra.params,Ra.paramsSerializer),dd&&cd.set("Authorization","Basic "+btoa((dd.username||"")+":"+(dd.password?unescape(encodeURIComponent(dd.password)):"")));let pd;if(utils$2.isFormData(nd)){if(platform.hasStandardBrowserEnv||platform.hasStandardBrowserWebWorkerEnv)cd.setContentType(void 0);else if((pd=cd.getContentType())!==!1){const[fd,...md]=pd?pd.split(";").map(vd=>vd.trim()).filter(Boolean):[];cd.setContentType([fd||"multipart/form-data",...md].join("; "))}}if(platform.hasStandardBrowserEnv&&(od&&utils$2.isFunction(od)&&(od=od(qa)),od||od!==!1&&isURLSameOrigin(qa.url))){const fd=ld&&ud&&cookies.read(ud);fd&&cd.set(ld,fd)}return qa},isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function(Ra){return new Promise(function(nd,od){const ld=resolveConfig(Ra);let ud=ld.data;const cd=AxiosHeaders.from(ld.headers).normalize();let{responseType:dd,onUploadProgress:pd,onDownloadProgress:fd}=ld,md,vd,Ad,Nd,Id;function kd(){Nd&&Nd(),Id&&Id(),ld.cancelToken&&ld.cancelToken.unsubscribe(md),ld.signal&&ld.signal.removeEventListener("abort",md)}let jd=new XMLHttpRequest;jd.open(ld.method.toUpperCase(),ld.url,!0),jd.timeout=ld.timeout;function Fd(){if(!jd)return;const Ld=AxiosHeaders.from("getAllResponseHeaders"in jd&&jd.getAllResponseHeaders()),Gd={data:!dd||dd==="text"||dd==="json"?jd.responseText:jd.response,status:jd.status,statusText:jd.statusText,headers:Ld,config:Ra,request:jd};settle(function(Qd){nd(Qd),kd()},function(Qd){od(Qd),kd()},Gd),jd=null}"onloadend"in jd?jd.onloadend=Fd:jd.onreadystatechange=function(){!jd||jd.readyState!==4||jd.status===0&&!(jd.responseURL&&jd.responseURL.indexOf("file:")===0)||setTimeout(Fd)},jd.onabort=function(){jd&&(od(new AxiosError("Request aborted",AxiosError.ECONNABORTED,Ra,jd)),jd=null)},jd.onerror=function(){od(new AxiosError("Network Error",AxiosError.ERR_NETWORK,Ra,jd)),jd=null},jd.ontimeout=function(){let Hd=ld.timeout?"timeout of "+ld.timeout+"ms exceeded":"timeout exceeded";const Gd=ld.transitional||transitionalDefaults;ld.timeoutErrorMessage&&(Hd=ld.timeoutErrorMessage),od(new AxiosError(Hd,Gd.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,Ra,jd)),jd=null},ud===void 0&&cd.setContentType(null),"setRequestHeader"in jd&&utils$2.forEach(cd.toJSON(),function(Hd,Gd){jd.setRequestHeader(Gd,Hd)}),utils$2.isUndefined(ld.withCredentials)||(jd.withCredentials=!!ld.withCredentials),dd&&dd!=="json"&&(jd.responseType=ld.responseType),fd&&([Ad,Id]=progressEventReducer(fd,!0),jd.addEventListener("progress",Ad)),pd&&jd.upload&&([vd,Nd]=progressEventReducer(pd),jd.upload.addEventListener("progress",vd),jd.upload.addEventListener("loadend",Nd)),(ld.cancelToken||ld.signal)&&(md=Ld=>{jd&&(od(!Ld||Ld.type?new CanceledError(null,Ra,jd):Ld),jd.abort(),jd=null)},ld.cancelToken&&ld.cancelToken.subscribe(md),ld.signal&&(ld.signal.aborted?md():ld.signal.addEventListener("abort",md)));const Md=parseProtocol(ld.url);if(Md&&platform.protocols.indexOf(Md)===-1){od(new AxiosError("Unsupported protocol "+Md+":",AxiosError.ERR_BAD_REQUEST,Ra));return}jd.send(ud||null)})},composeSignals=(Ra,qa)=>{const{length:nd}=Ra=Ra?Ra.filter(Boolean):[];if(qa||nd){let od=new AbortController,ld;const ud=function(fd){if(!ld){ld=!0,dd();const md=fd instanceof Error?fd:this.reason;od.abort(md instanceof AxiosError?md:new CanceledError(md instanceof Error?md.message:md))}};let cd=qa&&setTimeout(()=>{cd=null,ud(new AxiosError(`timeout ${qa} of ms exceeded`,AxiosError.ETIMEDOUT))},qa);const dd=()=>{Ra&&(cd&&clearTimeout(cd),cd=null,Ra.forEach(fd=>{fd.unsubscribe?fd.unsubscribe(ud):fd.removeEventListener("abort",ud)}),Ra=null)};Ra.forEach(fd=>fd.addEventListener("abort",ud));const{signal:pd}=od;return pd.unsubscribe=()=>utils$2.asap(dd),pd}},streamChunk=function*(Ra,qa){let nd=Ra.byteLength;if(nd{const ld=readBytes(Ra,qa);let ud=0,cd,dd=pd=>{cd||(cd=!0,od&&od(pd))};return new ReadableStream({async pull(pd){try{const{done:fd,value:md}=await ld.next();if(fd){dd(),pd.close();return}let vd=md.byteLength;if(nd){let Ad=ud+=vd;nd(Ad)}pd.enqueue(new Uint8Array(md))}catch(fd){throw dd(fd),fd}},cancel(pd){return dd(pd),ld.return()}},{highWaterMark:2})},isFetchSupported=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",isReadableStreamSupported=isFetchSupported&&typeof ReadableStream=="function",encodeText=isFetchSupported&&(typeof TextEncoder=="function"?(Ra=>qa=>Ra.encode(qa))(new TextEncoder):async Ra=>new Uint8Array(await new Response(Ra).arrayBuffer())),test$1=(Ra,...qa)=>{try{return!!Ra(...qa)}catch{return!1}},supportsRequestStream=isReadableStreamSupported&&test$1(()=>{let Ra=!1;const qa=new Request(platform.origin,{body:new ReadableStream,method:"POST",get duplex(){return Ra=!0,"half"}}).headers.has("Content-Type");return Ra&&!qa}),DEFAULT_CHUNK_SIZE$1=64*1024,supportsResponseStream=isReadableStreamSupported&&test$1(()=>utils$2.isReadableStream(new Response("").body)),resolvers={stream:supportsResponseStream&&(Ra=>Ra.body)};isFetchSupported&&(Ra=>{["text","arrayBuffer","blob","formData","stream"].forEach(qa=>{!resolvers[qa]&&(resolvers[qa]=utils$2.isFunction(Ra[qa])?nd=>nd[qa]():(nd,od)=>{throw new AxiosError(`Response type '${qa}' is not supported`,AxiosError.ERR_NOT_SUPPORT,od)})})})(new Response);const getBodyLength=async Ra=>{if(Ra==null)return 0;if(utils$2.isBlob(Ra))return Ra.size;if(utils$2.isSpecCompliantForm(Ra))return(await new Request(platform.origin,{method:"POST",body:Ra}).arrayBuffer()).byteLength;if(utils$2.isArrayBufferView(Ra)||utils$2.isArrayBuffer(Ra))return Ra.byteLength;if(utils$2.isURLSearchParams(Ra)&&(Ra=Ra+""),utils$2.isString(Ra))return(await encodeText(Ra)).byteLength},resolveBodyLength=async(Ra,qa)=>{const nd=utils$2.toFiniteNumber(Ra.getContentLength());return nd??getBodyLength(qa)},fetchAdapter=isFetchSupported&&(async Ra=>{let{url:qa,method:nd,data:od,signal:ld,cancelToken:ud,timeout:cd,onDownloadProgress:dd,onUploadProgress:pd,responseType:fd,headers:md,withCredentials:vd="same-origin",fetchOptions:Ad}=resolveConfig(Ra);fd=fd?(fd+"").toLowerCase():"text";let Nd=composeSignals([ld,ud&&ud.toAbortSignal()],cd),Id;const kd=Nd&&Nd.unsubscribe&&(()=>{Nd.unsubscribe()});let jd;try{if(pd&&supportsRequestStream&&nd!=="get"&&nd!=="head"&&(jd=await resolveBodyLength(md,od))!==0){let Gd=new Request(qa,{method:"POST",body:od,duplex:"half"}),Vd;if(utils$2.isFormData(od)&&(Vd=Gd.headers.get("content-type"))&&md.setContentType(Vd),Gd.body){const[Qd,mf]=progressEventDecorator(jd,progressEventReducer(asyncDecorator(pd)));od=trackStream(Gd.body,DEFAULT_CHUNK_SIZE$1,Qd,mf)}}utils$2.isString(vd)||(vd=vd?"include":"omit");const Fd="credentials"in Request.prototype;Id=new Request(qa,{...Ad,signal:Nd,method:nd.toUpperCase(),headers:md.normalize().toJSON(),body:od,duplex:"half",credentials:Fd?vd:void 0});let Md=await fetch(Id);const Ld=supportsResponseStream&&(fd==="stream"||fd==="response");if(supportsResponseStream&&(dd||Ld&&kd)){const Gd={};["status","statusText","headers"].forEach(Yd=>{Gd[Yd]=Md[Yd]});const Vd=utils$2.toFiniteNumber(Md.headers.get("content-length")),[Qd,mf]=dd&&progressEventDecorator(Vd,progressEventReducer(asyncDecorator(dd),!0))||[];Md=new Response(trackStream(Md.body,DEFAULT_CHUNK_SIZE$1,Qd,()=>{mf&&mf(),kd&&kd()}),Gd)}fd=fd||"text";let Hd=await resolvers[utils$2.findKey(resolvers,fd)||"text"](Md,Ra);return!Ld&&kd&&kd(),await new Promise((Gd,Vd)=>{settle(Gd,Vd,{data:Hd,headers:AxiosHeaders.from(Md.headers),status:Md.status,statusText:Md.statusText,config:Ra,request:Id})})}catch(Fd){throw kd&&kd(),Fd&&Fd.name==="TypeError"&&/fetch/i.test(Fd.message)?Object.assign(new AxiosError("Network Error",AxiosError.ERR_NETWORK,Ra,Id),{cause:Fd.cause||Fd}):AxiosError.from(Fd,Fd&&Fd.code,Ra,Id)}}),knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:fetchAdapter};utils$2.forEach(knownAdapters,(Ra,qa)=>{if(Ra){try{Object.defineProperty(Ra,"name",{value:qa})}catch{}Object.defineProperty(Ra,"adapterName",{value:qa})}});const renderReason=Ra=>`- ${Ra}`,isResolvedHandle=Ra=>utils$2.isFunction(Ra)||Ra===null||Ra===!1,adapters={getAdapter:Ra=>{Ra=utils$2.isArray(Ra)?Ra:[Ra];const{length:qa}=Ra;let nd,od;const ld={};for(let ud=0;ud`adapter ${dd} `+(pd===!1?"is not supported by the environment":"is not available in the build"));let cd=qa?ud.length>1?`since : +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(qa){return qa instanceof this?qa:new this(qa)}static concat(qa,...nd){const od=new this(qa);return nd.forEach(ld=>od.set(ld)),od}static accessor(qa){const od=(this[$internals]=this[$internals]={accessors:{}}).accessors,ld=this.prototype;function ud(cd){const dd=normalizeHeader(cd);od[dd]||(buildAccessors(ld,cd),od[dd]=!0)}return utils$2.isArray(qa)?qa.forEach(ud):ud(qa),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$2.reduceDescriptors(AxiosHeaders.prototype,({value:Ra},qa)=>{let nd=qa[0].toUpperCase()+qa.slice(1);return{get:()=>Ra,set(od){this[nd]=od}}});utils$2.freezeMethods(AxiosHeaders);function transformData(Ra,qa){const nd=this||defaults$1,od=qa||nd,ld=AxiosHeaders.from(od.headers);let ud=od.data;return utils$2.forEach(Ra,function(dd){ud=dd.call(nd,ud,ld.normalize(),qa?qa.status:void 0)}),ld.normalize(),ud}function isCancel(Ra){return!!(Ra&&Ra.__CANCEL__)}function CanceledError(Ra,qa,nd){AxiosError.call(this,Ra??"canceled",AxiosError.ERR_CANCELED,qa,nd),this.name="CanceledError"}utils$2.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(Ra,qa,nd){const od=nd.config.validateStatus;!nd.status||!od||od(nd.status)?Ra(nd):qa(new AxiosError("Request failed with status code "+nd.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(nd.status/100)-4],nd.config,nd.request,nd))}function parseProtocol(Ra){const qa=/^([-+\w]{1,25})(:?\/\/|:)/.exec(Ra);return qa&&qa[1]||""}function speedometer(Ra,qa){Ra=Ra||10;const nd=new Array(Ra),od=new Array(Ra);let ld=0,ud=0,cd;return qa=qa!==void 0?qa:1e3,function(pd){const fd=Date.now(),md=od[ud];cd||(cd=fd),nd[ld]=pd,od[ld]=fd;let vd=ud,Ad=0;for(;vd!==ld;)Ad+=nd[vd++],vd=vd%Ra;if(ld=(ld+1)%Ra,ld===ud&&(ud=(ud+1)%Ra),fd-cd{nd=md,ld=null,ud&&(clearTimeout(ud),ud=null),Ra.apply(null,fd)};return[(...fd)=>{const md=Date.now(),vd=md-nd;vd>=od?cd(fd,md):(ld=fd,ud||(ud=setTimeout(()=>{ud=null,cd(ld)},od-vd)))},()=>ld&&cd(ld)]}const progressEventReducer=(Ra,qa,nd=3)=>{let od=0;const ld=speedometer(50,250);return throttle(ud=>{const cd=ud.loaded,dd=ud.lengthComputable?ud.total:void 0,pd=cd-od,fd=ld(pd),md=cd<=dd;od=cd;const vd={loaded:cd,total:dd,progress:dd?cd/dd:void 0,bytes:pd,rate:fd||void 0,estimated:fd&&dd&&md?(dd-cd)/fd:void 0,event:ud,lengthComputable:dd!=null,[qa?"download":"upload"]:!0};Ra(vd)},nd)},progressEventDecorator=(Ra,qa)=>{const nd=Ra!=null;return[od=>qa[0]({lengthComputable:nd,total:Ra,loaded:od}),qa[1]]},asyncDecorator=Ra=>(...qa)=>utils$2.asap(()=>Ra(...qa)),isURLSameOrigin=platform.hasStandardBrowserEnv?((Ra,qa)=>nd=>(nd=new URL(nd,platform.origin),Ra.protocol===nd.protocol&&Ra.host===nd.host&&(qa||Ra.port===nd.port)))(new URL(platform.origin),platform.navigator&&/(msie|trident)/i.test(platform.navigator.userAgent)):()=>!0,cookies=platform.hasStandardBrowserEnv?{write(Ra,qa,nd,od,ld,ud){const cd=[Ra+"="+encodeURIComponent(qa)];utils$2.isNumber(nd)&&cd.push("expires="+new Date(nd).toGMTString()),utils$2.isString(od)&&cd.push("path="+od),utils$2.isString(ld)&&cd.push("domain="+ld),ud===!0&&cd.push("secure"),document.cookie=cd.join("; ")},read(Ra){const qa=document.cookie.match(new RegExp("(^|;\\s*)("+Ra+")=([^;]*)"));return qa?decodeURIComponent(qa[3]):null},remove(Ra){this.write(Ra,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function isAbsoluteURL(Ra){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(Ra)}function combineURLs(Ra,qa){return qa?Ra.replace(/\/?\/$/,"")+"/"+qa.replace(/^\/+/,""):Ra}function buildFullPath(Ra,qa){return Ra&&!isAbsoluteURL(qa)?combineURLs(Ra,qa):qa}const headersToObject=Ra=>Ra instanceof AxiosHeaders?{...Ra}:Ra;function mergeConfig(Ra,qa){qa=qa||{};const nd={};function od(fd,md,vd,Ad){return utils$2.isPlainObject(fd)&&utils$2.isPlainObject(md)?utils$2.merge.call({caseless:Ad},fd,md):utils$2.isPlainObject(md)?utils$2.merge({},md):utils$2.isArray(md)?md.slice():md}function ld(fd,md,vd,Ad){if(utils$2.isUndefined(md)){if(!utils$2.isUndefined(fd))return od(void 0,fd,vd,Ad)}else return od(fd,md,vd,Ad)}function ud(fd,md){if(!utils$2.isUndefined(md))return od(void 0,md)}function cd(fd,md){if(utils$2.isUndefined(md)){if(!utils$2.isUndefined(fd))return od(void 0,fd)}else return od(void 0,md)}function dd(fd,md,vd){if(vd in qa)return od(fd,md);if(vd in Ra)return od(void 0,fd)}const pd={url:ud,method:ud,data:ud,baseURL:cd,transformRequest:cd,transformResponse:cd,paramsSerializer:cd,timeout:cd,timeoutMessage:cd,withCredentials:cd,withXSRFToken:cd,adapter:cd,responseType:cd,xsrfCookieName:cd,xsrfHeaderName:cd,onUploadProgress:cd,onDownloadProgress:cd,decompress:cd,maxContentLength:cd,maxBodyLength:cd,beforeRedirect:cd,transport:cd,httpAgent:cd,httpsAgent:cd,cancelToken:cd,socketPath:cd,responseEncoding:cd,validateStatus:dd,headers:(fd,md,vd)=>ld(headersToObject(fd),headersToObject(md),vd,!0)};return utils$2.forEach(Object.keys(Object.assign({},Ra,qa)),function(md){const vd=pd[md]||ld,Ad=vd(Ra[md],qa[md],md);utils$2.isUndefined(Ad)&&vd!==dd||(nd[md]=Ad)}),nd}const resolveConfig=Ra=>{const qa=mergeConfig({},Ra);let{data:nd,withXSRFToken:od,xsrfHeaderName:ld,xsrfCookieName:ud,headers:cd,auth:dd}=qa;qa.headers=cd=AxiosHeaders.from(cd),qa.url=buildURL(buildFullPath(qa.baseURL,qa.url),Ra.params,Ra.paramsSerializer),dd&&cd.set("Authorization","Basic "+btoa((dd.username||"")+":"+(dd.password?unescape(encodeURIComponent(dd.password)):"")));let pd;if(utils$2.isFormData(nd)){if(platform.hasStandardBrowserEnv||platform.hasStandardBrowserWebWorkerEnv)cd.setContentType(void 0);else if((pd=cd.getContentType())!==!1){const[fd,...md]=pd?pd.split(";").map(vd=>vd.trim()).filter(Boolean):[];cd.setContentType([fd||"multipart/form-data",...md].join("; "))}}if(platform.hasStandardBrowserEnv&&(od&&utils$2.isFunction(od)&&(od=od(qa)),od||od!==!1&&isURLSameOrigin(qa.url))){const fd=ld&&ud&&cookies.read(ud);fd&&cd.set(ld,fd)}return qa},isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function(Ra){return new Promise(function(nd,od){const ld=resolveConfig(Ra);let ud=ld.data;const cd=AxiosHeaders.from(ld.headers).normalize();let{responseType:dd,onUploadProgress:pd,onDownloadProgress:fd}=ld,md,vd,Ad,Nd,Id;function kd(){Nd&&Nd(),Id&&Id(),ld.cancelToken&&ld.cancelToken.unsubscribe(md),ld.signal&&ld.signal.removeEventListener("abort",md)}let jd=new XMLHttpRequest;jd.open(ld.method.toUpperCase(),ld.url,!0),jd.timeout=ld.timeout;function Fd(){if(!jd)return;const Ld=AxiosHeaders.from("getAllResponseHeaders"in jd&&jd.getAllResponseHeaders()),Gd={data:!dd||dd==="text"||dd==="json"?jd.responseText:jd.response,status:jd.status,statusText:jd.statusText,headers:Ld,config:Ra,request:jd};settle(function(Kd){nd(Kd),kd()},function(Kd){od(Kd),kd()},Gd),jd=null}"onloadend"in jd?jd.onloadend=Fd:jd.onreadystatechange=function(){!jd||jd.readyState!==4||jd.status===0&&!(jd.responseURL&&jd.responseURL.indexOf("file:")===0)||setTimeout(Fd)},jd.onabort=function(){jd&&(od(new AxiosError("Request aborted",AxiosError.ECONNABORTED,Ra,jd)),jd=null)},jd.onerror=function(){od(new AxiosError("Network Error",AxiosError.ERR_NETWORK,Ra,jd)),jd=null},jd.ontimeout=function(){let Hd=ld.timeout?"timeout of "+ld.timeout+"ms exceeded":"timeout exceeded";const Gd=ld.transitional||transitionalDefaults;ld.timeoutErrorMessage&&(Hd=ld.timeoutErrorMessage),od(new AxiosError(Hd,Gd.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,Ra,jd)),jd=null},ud===void 0&&cd.setContentType(null),"setRequestHeader"in jd&&utils$2.forEach(cd.toJSON(),function(Hd,Gd){jd.setRequestHeader(Gd,Hd)}),utils$2.isUndefined(ld.withCredentials)||(jd.withCredentials=!!ld.withCredentials),dd&&dd!=="json"&&(jd.responseType=ld.responseType),fd&&([Ad,Id]=progressEventReducer(fd,!0),jd.addEventListener("progress",Ad)),pd&&jd.upload&&([vd,Nd]=progressEventReducer(pd),jd.upload.addEventListener("progress",vd),jd.upload.addEventListener("loadend",Nd)),(ld.cancelToken||ld.signal)&&(md=Ld=>{jd&&(od(!Ld||Ld.type?new CanceledError(null,Ra,jd):Ld),jd.abort(),jd=null)},ld.cancelToken&&ld.cancelToken.subscribe(md),ld.signal&&(ld.signal.aborted?md():ld.signal.addEventListener("abort",md)));const Md=parseProtocol(ld.url);if(Md&&platform.protocols.indexOf(Md)===-1){od(new AxiosError("Unsupported protocol "+Md+":",AxiosError.ERR_BAD_REQUEST,Ra));return}jd.send(ud||null)})},composeSignals=(Ra,qa)=>{const{length:nd}=Ra=Ra?Ra.filter(Boolean):[];if(qa||nd){let od=new AbortController,ld;const ud=function(fd){if(!ld){ld=!0,dd();const md=fd instanceof Error?fd:this.reason;od.abort(md instanceof AxiosError?md:new CanceledError(md instanceof Error?md.message:md))}};let cd=qa&&setTimeout(()=>{cd=null,ud(new AxiosError(`timeout ${qa} of ms exceeded`,AxiosError.ETIMEDOUT))},qa);const dd=()=>{Ra&&(cd&&clearTimeout(cd),cd=null,Ra.forEach(fd=>{fd.unsubscribe?fd.unsubscribe(ud):fd.removeEventListener("abort",ud)}),Ra=null)};Ra.forEach(fd=>fd.addEventListener("abort",ud));const{signal:pd}=od;return pd.unsubscribe=()=>utils$2.asap(dd),pd}},streamChunk=function*(Ra,qa){let nd=Ra.byteLength;if(nd{const ld=readBytes(Ra,qa);let ud=0,cd,dd=pd=>{cd||(cd=!0,od&&od(pd))};return new ReadableStream({async pull(pd){try{const{done:fd,value:md}=await ld.next();if(fd){dd(),pd.close();return}let vd=md.byteLength;if(nd){let Ad=ud+=vd;nd(Ad)}pd.enqueue(new Uint8Array(md))}catch(fd){throw dd(fd),fd}},cancel(pd){return dd(pd),ld.return()}},{highWaterMark:2})},isFetchSupported=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",isReadableStreamSupported=isFetchSupported&&typeof ReadableStream=="function",encodeText=isFetchSupported&&(typeof TextEncoder=="function"?(Ra=>qa=>Ra.encode(qa))(new TextEncoder):async Ra=>new Uint8Array(await new Response(Ra).arrayBuffer())),test$1=(Ra,...qa)=>{try{return!!Ra(...qa)}catch{return!1}},supportsRequestStream=isReadableStreamSupported&&test$1(()=>{let Ra=!1;const qa=new Request(platform.origin,{body:new ReadableStream,method:"POST",get duplex(){return Ra=!0,"half"}}).headers.has("Content-Type");return Ra&&!qa}),DEFAULT_CHUNK_SIZE$1=64*1024,supportsResponseStream=isReadableStreamSupported&&test$1(()=>utils$2.isReadableStream(new Response("").body)),resolvers={stream:supportsResponseStream&&(Ra=>Ra.body)};isFetchSupported&&(Ra=>{["text","arrayBuffer","blob","formData","stream"].forEach(qa=>{!resolvers[qa]&&(resolvers[qa]=utils$2.isFunction(Ra[qa])?nd=>nd[qa]():(nd,od)=>{throw new AxiosError(`Response type '${qa}' is not supported`,AxiosError.ERR_NOT_SUPPORT,od)})})})(new Response);const getBodyLength=async Ra=>{if(Ra==null)return 0;if(utils$2.isBlob(Ra))return Ra.size;if(utils$2.isSpecCompliantForm(Ra))return(await new Request(platform.origin,{method:"POST",body:Ra}).arrayBuffer()).byteLength;if(utils$2.isArrayBufferView(Ra)||utils$2.isArrayBuffer(Ra))return Ra.byteLength;if(utils$2.isURLSearchParams(Ra)&&(Ra=Ra+""),utils$2.isString(Ra))return(await encodeText(Ra)).byteLength},resolveBodyLength=async(Ra,qa)=>{const nd=utils$2.toFiniteNumber(Ra.getContentLength());return nd??getBodyLength(qa)},fetchAdapter=isFetchSupported&&(async Ra=>{let{url:qa,method:nd,data:od,signal:ld,cancelToken:ud,timeout:cd,onDownloadProgress:dd,onUploadProgress:pd,responseType:fd,headers:md,withCredentials:vd="same-origin",fetchOptions:Ad}=resolveConfig(Ra);fd=fd?(fd+"").toLowerCase():"text";let Nd=composeSignals([ld,ud&&ud.toAbortSignal()],cd),Id;const kd=Nd&&Nd.unsubscribe&&(()=>{Nd.unsubscribe()});let jd;try{if(pd&&supportsRequestStream&&nd!=="get"&&nd!=="head"&&(jd=await resolveBodyLength(md,od))!==0){let Gd=new Request(qa,{method:"POST",body:od,duplex:"half"}),Vd;if(utils$2.isFormData(od)&&(Vd=Gd.headers.get("content-type"))&&md.setContentType(Vd),Gd.body){const[Kd,mf]=progressEventDecorator(jd,progressEventReducer(asyncDecorator(pd)));od=trackStream(Gd.body,DEFAULT_CHUNK_SIZE$1,Kd,mf)}}utils$2.isString(vd)||(vd=vd?"include":"omit");const Fd="credentials"in Request.prototype;Id=new Request(qa,{...Ad,signal:Nd,method:nd.toUpperCase(),headers:md.normalize().toJSON(),body:od,duplex:"half",credentials:Fd?vd:void 0});let Md=await fetch(Id);const Ld=supportsResponseStream&&(fd==="stream"||fd==="response");if(supportsResponseStream&&(dd||Ld&&kd)){const Gd={};["status","statusText","headers"].forEach(Wd=>{Gd[Wd]=Md[Wd]});const Vd=utils$2.toFiniteNumber(Md.headers.get("content-length")),[Kd,mf]=dd&&progressEventDecorator(Vd,progressEventReducer(asyncDecorator(dd),!0))||[];Md=new Response(trackStream(Md.body,DEFAULT_CHUNK_SIZE$1,Kd,()=>{mf&&mf(),kd&&kd()}),Gd)}fd=fd||"text";let Hd=await resolvers[utils$2.findKey(resolvers,fd)||"text"](Md,Ra);return!Ld&&kd&&kd(),await new Promise((Gd,Vd)=>{settle(Gd,Vd,{data:Hd,headers:AxiosHeaders.from(Md.headers),status:Md.status,statusText:Md.statusText,config:Ra,request:Id})})}catch(Fd){throw kd&&kd(),Fd&&Fd.name==="TypeError"&&/fetch/i.test(Fd.message)?Object.assign(new AxiosError("Network Error",AxiosError.ERR_NETWORK,Ra,Id),{cause:Fd.cause||Fd}):AxiosError.from(Fd,Fd&&Fd.code,Ra,Id)}}),knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:fetchAdapter};utils$2.forEach(knownAdapters,(Ra,qa)=>{if(Ra){try{Object.defineProperty(Ra,"name",{value:qa})}catch{}Object.defineProperty(Ra,"adapterName",{value:qa})}});const renderReason=Ra=>`- ${Ra}`,isResolvedHandle=Ra=>utils$2.isFunction(Ra)||Ra===null||Ra===!1,adapters={getAdapter:Ra=>{Ra=utils$2.isArray(Ra)?Ra:[Ra];const{length:qa}=Ra;let nd,od;const ld={};for(let ud=0;ud`adapter ${dd} `+(pd===!1?"is not supported by the environment":"is not available in the build"));let cd=qa?ud.length>1?`since : `+ud.map(renderReason).join(` `):" "+renderReason(ud[0]):"as no adapter specified";throw new AxiosError("There is no suitable adapter to dispatch the request "+cd,"ERR_NOT_SUPPORT")}return od},adapters:knownAdapters};function throwIfCancellationRequested(Ra){if(Ra.cancelToken&&Ra.cancelToken.throwIfRequested(),Ra.signal&&Ra.signal.aborted)throw new CanceledError(null,Ra)}function dispatchRequest(Ra){return throwIfCancellationRequested(Ra),Ra.headers=AxiosHeaders.from(Ra.headers),Ra.data=transformData.call(Ra,Ra.transformRequest),["post","put","patch"].indexOf(Ra.method)!==-1&&Ra.headers.setContentType("application/x-www-form-urlencoded",!1),adapters.getAdapter(Ra.adapter||defaults$1.adapter)(Ra).then(function(od){return throwIfCancellationRequested(Ra),od.data=transformData.call(Ra,Ra.transformResponse,od),od.headers=AxiosHeaders.from(od.headers),od},function(od){return isCancel(od)||(throwIfCancellationRequested(Ra),od&&od.response&&(od.response.data=transformData.call(Ra,Ra.transformResponse,od.response),od.response.headers=AxiosHeaders.from(od.response.headers))),Promise.reject(od)})}const VERSION="1.7.8",validators$1={};["object","boolean","number","function","string","symbol"].forEach((Ra,qa)=>{validators$1[Ra]=function(od){return typeof od===Ra||"a"+(qa<1?"n ":" ")+Ra}});const deprecatedWarnings={};validators$1.transitional=function(qa,nd,od){function ld(ud,cd){return"[Axios v"+VERSION+"] Transitional option '"+ud+"'"+cd+(od?". "+od:"")}return(ud,cd,dd)=>{if(qa===!1)throw new AxiosError(ld(cd," has been removed"+(nd?" in "+nd:"")),AxiosError.ERR_DEPRECATED);return nd&&!deprecatedWarnings[cd]&&(deprecatedWarnings[cd]=!0,console.warn(ld(cd," has been deprecated since v"+nd+" and will be removed in the near future"))),qa?qa(ud,cd,dd):!0}};validators$1.spelling=function(qa){return(nd,od)=>(console.warn(`${od} is likely a misspelling of ${qa}`),!0)};function assertOptions(Ra,qa,nd){if(typeof Ra!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const od=Object.keys(Ra);let ld=od.length;for(;ld-- >0;){const ud=od[ld],cd=qa[ud];if(cd){const dd=Ra[ud],pd=dd===void 0||cd(dd,ud,Ra);if(pd!==!0)throw new AxiosError("option "+ud+" must be "+pd,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(nd!==!0)throw new AxiosError("Unknown option "+ud,AxiosError.ERR_BAD_OPTION)}}const validator$3={assertOptions,validators:validators$1},validators=validator$3.validators;class Axios{constructor(qa){this.defaults=qa,this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}async request(qa,nd){try{return await this._request(qa,nd)}catch(od){if(od instanceof Error){let ld={};Error.captureStackTrace?Error.captureStackTrace(ld):ld=new Error;const ud=ld.stack?ld.stack.replace(/^.+\n/,""):"";try{od.stack?ud&&!String(od.stack).endsWith(ud.replace(/^.+\n.+\n/,""))&&(od.stack+=` -`+ud):od.stack=ud}catch{}}throw od}}_request(qa,nd){typeof qa=="string"?(nd=nd||{},nd.url=qa):nd=qa||{},nd=mergeConfig(this.defaults,nd);const{transitional:od,paramsSerializer:ld,headers:ud}=nd;od!==void 0&&validator$3.assertOptions(od,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),ld!=null&&(utils$2.isFunction(ld)?nd.paramsSerializer={serialize:ld}:validator$3.assertOptions(ld,{encode:validators.function,serialize:validators.function},!0)),validator$3.assertOptions(nd,{baseUrl:validators.spelling("baseURL"),withXsrfToken:validators.spelling("withXSRFToken")},!0),nd.method=(nd.method||this.defaults.method||"get").toLowerCase();let cd=ud&&utils$2.merge(ud.common,ud[nd.method]);ud&&utils$2.forEach(["delete","get","head","post","put","patch","common"],Id=>{delete ud[Id]}),nd.headers=AxiosHeaders.concat(cd,ud);const dd=[];let pd=!0;this.interceptors.request.forEach(function(kd){typeof kd.runWhen=="function"&&kd.runWhen(nd)===!1||(pd=pd&&kd.synchronous,dd.unshift(kd.fulfilled,kd.rejected))});const fd=[];this.interceptors.response.forEach(function(kd){fd.push(kd.fulfilled,kd.rejected)});let md,vd=0,Ad;if(!pd){const Id=[dispatchRequest.bind(this),void 0];for(Id.unshift.apply(Id,dd),Id.push.apply(Id,fd),Ad=Id.length,md=Promise.resolve(nd);vd{if(!od._listeners)return;let ud=od._listeners.length;for(;ud-- >0;)od._listeners[ud](ld);od._listeners=null}),this.promise.then=ld=>{let ud;const cd=new Promise(dd=>{od.subscribe(dd),ud=dd}).then(ld);return cd.cancel=function(){od.unsubscribe(ud)},cd},qa(function(ud,cd,dd){od.reason||(od.reason=new CanceledError(ud,cd,dd),nd(od.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(qa){if(this.reason){qa(this.reason);return}this._listeners?this._listeners.push(qa):this._listeners=[qa]}unsubscribe(qa){if(!this._listeners)return;const nd=this._listeners.indexOf(qa);nd!==-1&&this._listeners.splice(nd,1)}toAbortSignal(){const qa=new AbortController,nd=od=>{qa.abort(od)};return this.subscribe(nd),qa.signal.unsubscribe=()=>this.unsubscribe(nd),qa.signal}static source(){let qa;return{token:new CancelToken(function(ld){qa=ld}),cancel:qa}}}function spread(Ra){return function(nd){return Ra.apply(null,nd)}}function isAxiosError(Ra){return utils$2.isObject(Ra)&&Ra.isAxiosError===!0}const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach(([Ra,qa])=>{HttpStatusCode[qa]=Ra});function createInstance(Ra){const qa=new Axios(Ra),nd=bind$2(Axios.prototype.request,qa);return utils$2.extend(nd,Axios.prototype,qa,{allOwnKeys:!0}),utils$2.extend(nd,qa,null,{allOwnKeys:!0}),nd.create=function(ld){return createInstance(mergeConfig(Ra,ld))},nd}const axios=createInstance(defaults$1);axios.Axios=Axios;axios.CanceledError=CanceledError;axios.CancelToken=CancelToken;axios.isCancel=isCancel;axios.VERSION=VERSION;axios.toFormData=toFormData;axios.AxiosError=AxiosError;axios.Cancel=axios.CanceledError;axios.all=function(qa){return Promise.all(qa)};axios.spread=spread;axios.isAxiosError=isAxiosError;axios.mergeConfig=mergeConfig;axios.AxiosHeaders=AxiosHeaders;axios.formToJSON=Ra=>formDataToJSON(utils$2.isHTMLForm(Ra)?new FormData(Ra):Ra);axios.getAdapter=adapters.getAdapter;axios.HttpStatusCode=HttpStatusCode;axios.default=axios;const service=axios.create({baseURL:"",timeout:30*1e3});service.interceptors.request.use(Ra=>(/^(?:post|put|delete)$/i.test(`${Ra.method}`)&&Ra.data&&Ra.data.upload&&(Ra.headers["Content-Type"]="multipart/form-data"),Ra),Ra=>{Promise.reject(Ra)});service.interceptors.response.use(Ra=>Ra.data?Ra.data:Promise.reject(Ra),Ra=>Promise.reject(Ra));function utf16to8(Ra){let qa="";const nd=Ra.length;for(let od=0;od=1&&ld<=127?qa+=Ra.charAt(od):ld>2047?(qa+=String.fromCharCode(224|ld>>12&15),qa+=String.fromCharCode(128|ld>>6&63),qa+=String.fromCharCode(128|ld&63)):(qa+=String.fromCharCode(192|ld>>6&31),qa+=String.fromCharCode(128|ld&63))}return qa}function utf8to16(Ra){let qa="",nd=0;const od=Ra.length;for(;nd>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:qa+=Ra.charAt(nd-1);break;case 12:case 13:ud=Ra.charCodeAt(nd++),qa+=String.fromCharCode((ld&31)<<6|ud&63);break;case 14:ud=Ra.charCodeAt(nd++),cd=Ra.charCodeAt(nd++),qa+=String.fromCharCode((ld&15)<<12|(ud&63)<<6|cd&63);break}}return qa}const base64EncodeChars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",base64DecodeChars=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1];function base64encode(Ra){let qa="",nd=0;const od=Ra.length;for(;nd>2),qa+=base64EncodeChars.charAt((ld&3)<<4),qa+="==";break}const ud=Ra.charCodeAt(nd++);if(nd===od){qa+=base64EncodeChars.charAt(ld>>2),qa+=base64EncodeChars.charAt((ld&3)<<4|(ud&240)>>4),qa+=base64EncodeChars.charAt((ud&15)<<2),qa+="=";break}const cd=Ra.charCodeAt(nd++);qa+=base64EncodeChars.charAt(ld>>2),qa+=base64EncodeChars.charAt((ld&3)<<4|(ud&240)>>4),qa+=base64EncodeChars.charAt((ud&15)<<2|(cd&192)>>6),qa+=base64EncodeChars.charAt(cd&63)}return qa}function base64decode(Ra){let qa,nd,od,ld,ud=0;const cd=Ra.length;let dd="";for(;ud>4);do{if(od=Ra.charCodeAt(ud++)&255,od===61)return dd;od=base64DecodeChars[od]}while(ud>2);do{if(ld=Ra.charCodeAt(ud++)&255,ld===61)return dd;ld=base64DecodeChars[ld]}while(ud>>=0;var od=Ra.byteLength-qa;if(od<0)throw new RangeError("'offset' is out of bounds");if(nd===void 0)nd=od;else if(nd>>>=0,nd>od)throw new RangeError("'length' is out of bounds");return isModern?Buffer$4.from(Ra.slice(qa,qa+nd)):new Buffer$4(new Uint8Array(Ra.slice(qa,qa+nd)))}function fromString(Ra,qa){if((typeof qa!="string"||qa==="")&&(qa="utf8"),!Buffer$4.isEncoding(qa))throw new TypeError('"encoding" must be a valid string encoding');return isModern?Buffer$4.from(Ra,qa):new Buffer$4(Ra,qa)}function bufferFrom(Ra,qa,nd){if(typeof Ra=="number")throw new TypeError('"value" argument must not be a number');return isArrayBuffer(Ra)?fromArrayBuffer(Ra,qa,nd):typeof Ra=="string"?fromString(Ra,qa):isModern?Buffer$4.from(Ra):new Buffer$4(Ra)}var bufferFrom_1=bufferFrom;const Buffer$1=getDefaultExportFromCjs(bufferFrom_1);var cosJsSdkV5={exports:{}};(function(Ra,qa){(function(od,ld){Ra.exports=ld()})(commonjsGlobal,function(){return function(nd){var od={};function ld(ud){if(od[ud])return od[ud].exports;var cd=od[ud]={i:ud,l:!1,exports:{}};return nd[ud].call(cd.exports,cd,cd.exports,ld),cd.l=!0,cd.exports}return ld.m=nd,ld.c=od,ld.d=function(ud,cd,dd){ld.o(ud,cd)||Object.defineProperty(ud,cd,{enumerable:!0,get:dd})},ld.r=function(ud){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(ud,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(ud,"__esModule",{value:!0})},ld.t=function(ud,cd){if(cd&1&&(ud=ld(ud)),cd&8||cd&4&&typeof ud=="object"&&ud&&ud.__esModule)return ud;var dd=Object.create(null);if(ld.r(dd),Object.defineProperty(dd,"default",{enumerable:!0,value:ud}),cd&2&&typeof ud!="string")for(var pd in ud)ld.d(dd,pd,(function(fd){return ud[fd]}).bind(null,pd));return dd},ld.n=function(ud){var cd=ud&&ud.__esModule?function(){return ud.default}:function(){return ud};return ld.d(cd,"a",cd),cd},ld.o=function(ud,cd){return Object.prototype.hasOwnProperty.call(ud,cd)},ld.p="/dist/",ld(ld.s="./index.js")}({"./index.js":function(nd,od,ld){var ud=ld("./src/cos.js");nd.exports=ud},"./lib/base64.js":function(nd,od){var ld=function(ud){ud=ud||{};var cd=ud.Base64,dd="2.1.9",pd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",fd=function(bf){for(var gf={},Ef=0,yf=bf.length;Ef>>6)+md(128|Ef&63):md(224|Ef>>>12&15)+md(128|Ef>>>6&63)+md(128|Ef&63)}else{var Ef=65536+(gf.charCodeAt(0)-55296)*1024+(gf.charCodeAt(1)-56320);return md(240|Ef>>>18&7)+md(128|Ef>>>12&63)+md(128|Ef>>>6&63)+md(128|Ef&63)}},Ad=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Nd=function(gf){return gf.replace(Ad,vd)},Id=function(gf){var Ef=[0,2,1][gf.length%3],yf=gf.charCodeAt(0)<<16|(gf.length>1?gf.charCodeAt(1):0)<<8|(gf.length>2?gf.charCodeAt(2):0),xf=[pd.charAt(yf>>>18),pd.charAt(yf>>>12&63),Ef>=2?"=":pd.charAt(yf>>>6&63),Ef>=1?"=":pd.charAt(yf&63)];return xf.join("")},kd=ud.btoa?function(bf){return ud.btoa(bf)}:function(bf){return bf.replace(/[\s\S]{1,3}/g,Id)},jd=function(bf){return kd(Nd(bf))},Fd=function(gf,Ef){return Ef?jd(String(gf)).replace(/[+\/]/g,function(yf){return yf=="+"?"-":"_"}).replace(/=/g,""):jd(String(gf))},Md=function(gf){return Fd(gf,!0)},Ld=new RegExp(["[À-ß][€-¿]","[à-ï][€-¿]{2}","[ð-÷][€-¿]{3}"].join("|"),"g"),Hd=function(gf){switch(gf.length){case 4:var Ef=(7&gf.charCodeAt(0))<<18|(63&gf.charCodeAt(1))<<12|(63&gf.charCodeAt(2))<<6|63&gf.charCodeAt(3),yf=Ef-65536;return md((yf>>>10)+55296)+md((yf&1023)+56320);case 3:return md((15&gf.charCodeAt(0))<<12|(63&gf.charCodeAt(1))<<6|63&gf.charCodeAt(2));default:return md((31&gf.charCodeAt(0))<<6|63&gf.charCodeAt(1))}},Gd=function(gf){return gf.replace(Ld,Hd)},Vd=function(gf){var Ef=gf.length,yf=Ef%4,xf=(Ef>0?fd[gf.charAt(0)]<<18:0)|(Ef>1?fd[gf.charAt(1)]<<12:0)|(Ef>2?fd[gf.charAt(2)]<<6:0)|(Ef>3?fd[gf.charAt(3)]:0),Af=[md(xf>>>16),md(xf>>>8&255),md(xf&255)];return Af.length-=[0,0,2,1][yf],Af.join("")},Qd=ud.atob?function(bf){return ud.atob(bf)}:function(bf){return bf.replace(/[\s\S]{1,4}/g,Vd)},mf=function(bf){return Gd(Qd(bf))},Yd=function(gf){return mf(String(gf).replace(/[-_]/g,function(Ef){return Ef=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},Zd=function(){var gf=ud.Base64;return ud.Base64=cd,gf},Kd={VERSION:dd,atob:Qd,btoa:kd,fromBase64:Yd,toBase64:Fd,utob:Nd,encode:Fd,encodeURI:Md,btou:Gd,decode:Yd,noConflict:Zd};return Kd}();nd.exports=ld},"./lib/crypto.js":function(nd,od,ld){(function(ud){var cd=ld("./node_modules/@babel/runtime/helpers/typeof.js"),dd=dd||function(pd,fd){var md={},vd=md.lib={},Ad=function(){},Nd=vd.Base={extend:function(Vd){Ad.prototype=this;var Qd=new Ad;return Vd&&Qd.mixIn(Vd),Qd.hasOwnProperty("init")||(Qd.init=function(){Qd.$super.init.apply(this,arguments)}),Qd.init.prototype=Qd,Qd.$super=this,Qd},create:function(){var Vd=this.extend();return Vd.init.apply(Vd,arguments),Vd},init:function(){},mixIn:function(Vd){for(var Qd in Vd)Vd.hasOwnProperty(Qd)&&(this[Qd]=Vd[Qd]);Vd.hasOwnProperty("toString")&&(this.toString=Vd.toString)},clone:function(){return this.init.prototype.extend(this)}},Id=vd.WordArray=Nd.extend({init:function(Vd,Qd){Vd=this.words=Vd||[],this.sigBytes=Qd!=fd?Qd:4*Vd.length},toString:function(Vd){return(Vd||jd).stringify(this)},concat:function(Vd){var Qd=this.words,mf=Vd.words,Yd=this.sigBytes;if(Vd=Vd.sigBytes,this.clamp(),Yd%4)for(var Zd=0;Zd>>2]|=(mf[Zd>>>2]>>>24-8*(Zd%4)&255)<<24-8*((Yd+Zd)%4);else if(65535>>2]=mf[Zd>>>2];else Qd.push.apply(Qd,mf);return this.sigBytes+=Vd,this},clamp:function(){var Vd=this.words,Qd=this.sigBytes;Vd[Qd>>>2]&=4294967295<<32-8*(Qd%4),Vd.length=pd.ceil(Qd/4)},clone:function(){var Vd=Nd.clone.call(this);return Vd.words=this.words.slice(0),Vd},random:function(Vd){for(var Qd=[],mf=0;mf>>2]>>>24-8*(Yd%4)&255;mf.push((Zd>>>4).toString(16)),mf.push((Zd&15).toString(16))}return mf.join("")},parse:function(Vd){for(var Qd=Vd.length,mf=[],Yd=0;Yd>>3]|=parseInt(Vd.substr(Yd,2),16)<<24-4*(Yd%8);return new Id.init(mf,Qd/2)}},Fd=kd.Latin1={stringify:function(Vd){var Qd=Vd.words;Vd=Vd.sigBytes;for(var mf=[],Yd=0;Yd>>2]>>>24-8*(Yd%4)&255));return mf.join("")},parse:function(Vd){for(var Qd=Vd.length,mf=[],Yd=0;Yd>>2]|=(Vd.charCodeAt(Yd)&255)<<24-8*(Yd%4);return new Id.init(mf,Qd)}},Md=kd.Utf8={stringify:function(Vd){try{return decodeURIComponent(escape(Fd.stringify(Vd)))}catch{throw Error("Malformed UTF-8 data")}},parse:function(Vd){return Fd.parse(unescape(encodeURIComponent(Vd)))}},Ld=vd.BufferedBlockAlgorithm=Nd.extend({reset:function(){this._data=new Id.init,this._nDataBytes=0},_append:function(Vd){typeof Vd=="string"&&(Vd=Md.parse(Vd)),this._data.concat(Vd),this._nDataBytes+=Vd.sigBytes},_process:function(Vd){var Qd=this._data,mf=Qd.words,Yd=Qd.sigBytes,Zd=this.blockSize,Kd=Yd/(4*Zd),Kd=Vd?pd.ceil(Kd):pd.max((Kd|0)-this._minBufferSize,0);if(Vd=Kd*Zd,Yd=pd.min(4*Vd,Yd),Vd){for(var bf=0;bfVd;Vd++){if(16>Vd)vd[Vd]=Id[kd+Vd]|0;else{var Qd=vd[Vd-3]^vd[Vd-8]^vd[Vd-14]^vd[Vd-16];vd[Vd]=Qd<<1|Qd>>>31}Qd=(Fd<<5|Fd>>>27)+Gd+vd[Vd],Qd=20>Vd?Qd+((Md&Ld|~Md&Hd)+1518500249):40>Vd?Qd+((Md^Ld^Hd)+1859775393):60>Vd?Qd+((Md&Ld|Md&Hd|Ld&Hd)-1894007588):Qd+((Md^Ld^Hd)-899497514),Gd=Hd,Hd=Ld,Ld=Md<<30|Md>>>2,Md=Fd,Fd=Qd}jd[0]=jd[0]+Fd|0,jd[1]=jd[1]+Md|0,jd[2]=jd[2]+Ld|0,jd[3]=jd[3]+Hd|0,jd[4]=jd[4]+Gd|0},_doFinalize:function(){var Id=this._data,kd=Id.words,jd=8*this._nDataBytes,Fd=8*Id.sigBytes;return kd[Fd>>>5]|=128<<24-Fd%32,kd[(Fd+64>>>9<<4)+14]=Math.floor(jd/4294967296),kd[(Fd+64>>>9<<4)+15]=jd,Id.sigBytes=4*kd.length,this._process(),this._hash},clone:function(){var Id=md.clone.call(this);return Id._hash=this._hash.clone(),Id}});pd.SHA1=md._createHelper(Ad),pd.HmacSHA1=md._createHmacHelper(Ad)})(),function(){var pd=dd,fd=pd.enc.Utf8;pd.algo.HMAC=pd.lib.Base.extend({init:function(vd,Ad){vd=this._hasher=new vd.init,typeof Ad=="string"&&(Ad=fd.parse(Ad));var Nd=vd.blockSize,Id=4*Nd;Ad.sigBytes>Id&&(Ad=vd.finalize(Ad)),Ad.clamp();for(var kd=this._oKey=Ad.clone(),jd=this._iKey=Ad.clone(),Fd=kd.words,Md=jd.words,Ld=0;Ld>>2]>>>24-Md%4*8&255,Hd=Id[Md+1>>>2]>>>24-(Md+1)%4*8&255,Gd=Id[Md+2>>>2]>>>24-(Md+2)%4*8&255,Vd=Ld<<16|Hd<<8|Gd,Qd=0;Qd<4&&Md+Qd*.75>>6*(3-Qd)&63));var mf=jd.charAt(64);if(mf)for(;Fd.length%4;)Fd.push(mf);return Fd.join("")},parse:function(Nd){var Id=Nd.length,kd=this._map,jd=kd.charAt(64);if(jd){var Fd=Nd.indexOf(jd);Fd!=-1&&(Id=Fd)}for(var Md=[],Ld=0,Hd=0;Hd>>6-Hd%4*2;Md[Ld>>>2]|=(Gd|Vd)<<24-Ld%4*8,Ld++}return md.create(Md,Ld)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),cd(ud)==="object"?ud.exports=dd:window.CryptoJS=dd}).call(this,ld("./node_modules/webpack/buildin/module.js")(nd))},"./lib/md5.js":function(nd,od,ld){(function(ud){var cd,dd=ld("./node_modules/@babel/runtime/helpers/typeof.js");(function(){var pd=(typeof window>"u"?"undefined":dd(window))==="object",fd=pd?window:{};fd.JS_MD5_NO_WINDOW&&(pd=!1);var md=!pd&&(typeof self>"u"?"undefined":dd(self))==="object";md&&(fd=self);var vd=!fd.JS_MD5_NO_COMMON_JS&&dd(ud)==="object"&&ud.exports,Ad=ld("./node_modules/webpack/buildin/amd-options.js"),Nd=!fd.JS_MD5_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",Id="0123456789abcdef".split(""),kd=[128,32768,8388608,-2147483648],jd=[0,8,16,24],Fd=["hex","array","digest","buffer","arrayBuffer","base64"],Md="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Ld=[],Hd;if(Nd){var Gd=new ArrayBuffer(68);Hd=new Uint8Array(Gd),Ld=new Uint32Array(Gd)}(fd.JS_MD5_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(Zd){return Object.prototype.toString.call(Zd)==="[object Array]"}),Nd&&(fd.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(Zd){return dd(Zd)==="object"&&Zd.buffer&&Zd.buffer.constructor===ArrayBuffer});var Vd=function(Kd){return function(bf,gf){return new mf(!0).update(bf,gf)[Kd]()}},Qd=function(){var Kd=Vd("hex");Kd.getCtx=Kd.create=function(){return new mf},Kd.update=function(Ef){return Kd.create().update(Ef)};for(var bf=0;bf>6,Af[Ef++]=128|bf&63):bf<55296||bf>=57344?(Af[Ef++]=224|bf>>12,Af[Ef++]=128|bf>>6&63,Af[Ef++]=128|bf&63):(bf=65536+((bf&1023)<<10|Zd.charCodeAt(++gf)&1023),Af[Ef++]=240|bf>>18,Af[Ef++]=128|bf>>12&63,Af[Ef++]=128|bf>>6&63,Af[Ef++]=128|bf&63);else for(Ef=this.start;gf>2]|=bf<>2]|=(192|bf>>6)<>2]|=(128|bf&63)<=57344?(xf[Ef>>2]|=(224|bf>>12)<>2]|=(128|bf>>6&63)<>2]|=(128|bf&63)<>2]|=(240|bf>>18)<>2]|=(128|bf>>12&63)<>2]|=(128|bf>>6&63)<>2]|=(128|bf&63)<=64?(this.start=Ef-64,this.hash(),this.hashed=!0):this.start=Ef}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},mf.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var Zd=this.blocks,Kd=this.lastByteIndex;Zd[Kd>>2]|=kd[Kd&3],Kd>=56&&(this.hashed||this.hash(),Zd[0]=Zd[16],Zd[16]=Zd[1]=Zd[2]=Zd[3]=Zd[4]=Zd[5]=Zd[6]=Zd[7]=Zd[8]=Zd[9]=Zd[10]=Zd[11]=Zd[12]=Zd[13]=Zd[14]=Zd[15]=0),Zd[14]=this.bytes<<3,Zd[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},mf.prototype.hash=function(){var Zd,Kd,bf,gf,Ef,yf,xf=this.blocks;this.first?(Zd=xf[0]-680876937,Zd=(Zd<<7|Zd>>>25)-271733879<<0,gf=(-1732584194^Zd&2004318071)+xf[1]-117830708,gf=(gf<<12|gf>>>20)+Zd<<0,bf=(-271733879^gf&(Zd^-271733879))+xf[2]-1126478375,bf=(bf<<17|bf>>>15)+gf<<0,Kd=(Zd^bf&(gf^Zd))+xf[3]-1316259209,Kd=(Kd<<22|Kd>>>10)+bf<<0):(Zd=this.h0,Kd=this.h1,bf=this.h2,gf=this.h3,Zd+=(gf^Kd&(bf^gf))+xf[0]-680876936,Zd=(Zd<<7|Zd>>>25)+Kd<<0,gf+=(bf^Zd&(Kd^bf))+xf[1]-389564586,gf=(gf<<12|gf>>>20)+Zd<<0,bf+=(Kd^gf&(Zd^Kd))+xf[2]+606105819,bf=(bf<<17|bf>>>15)+gf<<0,Kd+=(Zd^bf&(gf^Zd))+xf[3]-1044525330,Kd=(Kd<<22|Kd>>>10)+bf<<0),Zd+=(gf^Kd&(bf^gf))+xf[4]-176418897,Zd=(Zd<<7|Zd>>>25)+Kd<<0,gf+=(bf^Zd&(Kd^bf))+xf[5]+1200080426,gf=(gf<<12|gf>>>20)+Zd<<0,bf+=(Kd^gf&(Zd^Kd))+xf[6]-1473231341,bf=(bf<<17|bf>>>15)+gf<<0,Kd+=(Zd^bf&(gf^Zd))+xf[7]-45705983,Kd=(Kd<<22|Kd>>>10)+bf<<0,Zd+=(gf^Kd&(bf^gf))+xf[8]+1770035416,Zd=(Zd<<7|Zd>>>25)+Kd<<0,gf+=(bf^Zd&(Kd^bf))+xf[9]-1958414417,gf=(gf<<12|gf>>>20)+Zd<<0,bf+=(Kd^gf&(Zd^Kd))+xf[10]-42063,bf=(bf<<17|bf>>>15)+gf<<0,Kd+=(Zd^bf&(gf^Zd))+xf[11]-1990404162,Kd=(Kd<<22|Kd>>>10)+bf<<0,Zd+=(gf^Kd&(bf^gf))+xf[12]+1804603682,Zd=(Zd<<7|Zd>>>25)+Kd<<0,gf+=(bf^Zd&(Kd^bf))+xf[13]-40341101,gf=(gf<<12|gf>>>20)+Zd<<0,bf+=(Kd^gf&(Zd^Kd))+xf[14]-1502002290,bf=(bf<<17|bf>>>15)+gf<<0,Kd+=(Zd^bf&(gf^Zd))+xf[15]+1236535329,Kd=(Kd<<22|Kd>>>10)+bf<<0,Zd+=(bf^gf&(Kd^bf))+xf[1]-165796510,Zd=(Zd<<5|Zd>>>27)+Kd<<0,gf+=(Kd^bf&(Zd^Kd))+xf[6]-1069501632,gf=(gf<<9|gf>>>23)+Zd<<0,bf+=(Zd^Kd&(gf^Zd))+xf[11]+643717713,bf=(bf<<14|bf>>>18)+gf<<0,Kd+=(gf^Zd&(bf^gf))+xf[0]-373897302,Kd=(Kd<<20|Kd>>>12)+bf<<0,Zd+=(bf^gf&(Kd^bf))+xf[5]-701558691,Zd=(Zd<<5|Zd>>>27)+Kd<<0,gf+=(Kd^bf&(Zd^Kd))+xf[10]+38016083,gf=(gf<<9|gf>>>23)+Zd<<0,bf+=(Zd^Kd&(gf^Zd))+xf[15]-660478335,bf=(bf<<14|bf>>>18)+gf<<0,Kd+=(gf^Zd&(bf^gf))+xf[4]-405537848,Kd=(Kd<<20|Kd>>>12)+bf<<0,Zd+=(bf^gf&(Kd^bf))+xf[9]+568446438,Zd=(Zd<<5|Zd>>>27)+Kd<<0,gf+=(Kd^bf&(Zd^Kd))+xf[14]-1019803690,gf=(gf<<9|gf>>>23)+Zd<<0,bf+=(Zd^Kd&(gf^Zd))+xf[3]-187363961,bf=(bf<<14|bf>>>18)+gf<<0,Kd+=(gf^Zd&(bf^gf))+xf[8]+1163531501,Kd=(Kd<<20|Kd>>>12)+bf<<0,Zd+=(bf^gf&(Kd^bf))+xf[13]-1444681467,Zd=(Zd<<5|Zd>>>27)+Kd<<0,gf+=(Kd^bf&(Zd^Kd))+xf[2]-51403784,gf=(gf<<9|gf>>>23)+Zd<<0,bf+=(Zd^Kd&(gf^Zd))+xf[7]+1735328473,bf=(bf<<14|bf>>>18)+gf<<0,Kd+=(gf^Zd&(bf^gf))+xf[12]-1926607734,Kd=(Kd<<20|Kd>>>12)+bf<<0,Ef=Kd^bf,Zd+=(Ef^gf)+xf[5]-378558,Zd=(Zd<<4|Zd>>>28)+Kd<<0,gf+=(Ef^Zd)+xf[8]-2022574463,gf=(gf<<11|gf>>>21)+Zd<<0,yf=gf^Zd,bf+=(yf^Kd)+xf[11]+1839030562,bf=(bf<<16|bf>>>16)+gf<<0,Kd+=(yf^bf)+xf[14]-35309556,Kd=(Kd<<23|Kd>>>9)+bf<<0,Ef=Kd^bf,Zd+=(Ef^gf)+xf[1]-1530992060,Zd=(Zd<<4|Zd>>>28)+Kd<<0,gf+=(Ef^Zd)+xf[4]+1272893353,gf=(gf<<11|gf>>>21)+Zd<<0,yf=gf^Zd,bf+=(yf^Kd)+xf[7]-155497632,bf=(bf<<16|bf>>>16)+gf<<0,Kd+=(yf^bf)+xf[10]-1094730640,Kd=(Kd<<23|Kd>>>9)+bf<<0,Ef=Kd^bf,Zd+=(Ef^gf)+xf[13]+681279174,Zd=(Zd<<4|Zd>>>28)+Kd<<0,gf+=(Ef^Zd)+xf[0]-358537222,gf=(gf<<11|gf>>>21)+Zd<<0,yf=gf^Zd,bf+=(yf^Kd)+xf[3]-722521979,bf=(bf<<16|bf>>>16)+gf<<0,Kd+=(yf^bf)+xf[6]+76029189,Kd=(Kd<<23|Kd>>>9)+bf<<0,Ef=Kd^bf,Zd+=(Ef^gf)+xf[9]-640364487,Zd=(Zd<<4|Zd>>>28)+Kd<<0,gf+=(Ef^Zd)+xf[12]-421815835,gf=(gf<<11|gf>>>21)+Zd<<0,yf=gf^Zd,bf+=(yf^Kd)+xf[15]+530742520,bf=(bf<<16|bf>>>16)+gf<<0,Kd+=(yf^bf)+xf[2]-995338651,Kd=(Kd<<23|Kd>>>9)+bf<<0,Zd+=(bf^(Kd|~gf))+xf[0]-198630844,Zd=(Zd<<6|Zd>>>26)+Kd<<0,gf+=(Kd^(Zd|~bf))+xf[7]+1126891415,gf=(gf<<10|gf>>>22)+Zd<<0,bf+=(Zd^(gf|~Kd))+xf[14]-1416354905,bf=(bf<<15|bf>>>17)+gf<<0,Kd+=(gf^(bf|~Zd))+xf[5]-57434055,Kd=(Kd<<21|Kd>>>11)+bf<<0,Zd+=(bf^(Kd|~gf))+xf[12]+1700485571,Zd=(Zd<<6|Zd>>>26)+Kd<<0,gf+=(Kd^(Zd|~bf))+xf[3]-1894986606,gf=(gf<<10|gf>>>22)+Zd<<0,bf+=(Zd^(gf|~Kd))+xf[10]-1051523,bf=(bf<<15|bf>>>17)+gf<<0,Kd+=(gf^(bf|~Zd))+xf[1]-2054922799,Kd=(Kd<<21|Kd>>>11)+bf<<0,Zd+=(bf^(Kd|~gf))+xf[8]+1873313359,Zd=(Zd<<6|Zd>>>26)+Kd<<0,gf+=(Kd^(Zd|~bf))+xf[15]-30611744,gf=(gf<<10|gf>>>22)+Zd<<0,bf+=(Zd^(gf|~Kd))+xf[6]-1560198380,bf=(bf<<15|bf>>>17)+gf<<0,Kd+=(gf^(bf|~Zd))+xf[13]+1309151649,Kd=(Kd<<21|Kd>>>11)+bf<<0,Zd+=(bf^(Kd|~gf))+xf[4]-145523070,Zd=(Zd<<6|Zd>>>26)+Kd<<0,gf+=(Kd^(Zd|~bf))+xf[11]-1120210379,gf=(gf<<10|gf>>>22)+Zd<<0,bf+=(Zd^(gf|~Kd))+xf[2]+718787259,bf=(bf<<15|bf>>>17)+gf<<0,Kd+=(gf^(bf|~Zd))+xf[9]-343485551,Kd=(Kd<<21|Kd>>>11)+bf<<0,this.first?(this.h0=Zd+1732584193<<0,this.h1=Kd-271733879<<0,this.h2=bf-1732584194<<0,this.h3=gf+271733878<<0,this.first=!1):(this.h0=this.h0+Zd<<0,this.h1=this.h1+Kd<<0,this.h2=this.h2+bf<<0,this.h3=this.h3+gf<<0)},mf.prototype.hex=function(){this.finalize();var Zd=this.h0,Kd=this.h1,bf=this.h2,gf=this.h3;return Id[Zd>>4&15]+Id[Zd&15]+Id[Zd>>12&15]+Id[Zd>>8&15]+Id[Zd>>20&15]+Id[Zd>>16&15]+Id[Zd>>28&15]+Id[Zd>>24&15]+Id[Kd>>4&15]+Id[Kd&15]+Id[Kd>>12&15]+Id[Kd>>8&15]+Id[Kd>>20&15]+Id[Kd>>16&15]+Id[Kd>>28&15]+Id[Kd>>24&15]+Id[bf>>4&15]+Id[bf&15]+Id[bf>>12&15]+Id[bf>>8&15]+Id[bf>>20&15]+Id[bf>>16&15]+Id[bf>>28&15]+Id[bf>>24&15]+Id[gf>>4&15]+Id[gf&15]+Id[gf>>12&15]+Id[gf>>8&15]+Id[gf>>20&15]+Id[gf>>16&15]+Id[gf>>28&15]+Id[gf>>24&15]},mf.prototype.toString=mf.prototype.hex,mf.prototype.digest=function(Zd){if(Zd==="hex")return this.hex();this.finalize();var Kd=this.h0,bf=this.h1,gf=this.h2,Ef=this.h3,yf=[Kd&255,Kd>>8&255,Kd>>16&255,Kd>>24&255,bf&255,bf>>8&255,bf>>16&255,bf>>24&255,gf&255,gf>>8&255,gf>>16&255,gf>>24&255,Ef&255,Ef>>8&255,Ef>>16&255,Ef>>24&255];return yf},mf.prototype.array=mf.prototype.digest,mf.prototype.arrayBuffer=function(){this.finalize();var Zd=new ArrayBuffer(16),Kd=new Uint32Array(Zd);return Kd[0]=this.h0,Kd[1]=this.h1,Kd[2]=this.h2,Kd[3]=this.h3,Zd},mf.prototype.buffer=mf.prototype.arrayBuffer,mf.prototype.base64=function(){for(var Zd,Kd,bf,gf="",Ef=this.array(),yf=0;yf<15;)Zd=Ef[yf++],Kd=Ef[yf++],bf=Ef[yf++],gf+=Md[Zd>>>2]+Md[(Zd<<4|Kd>>>4)&63]+Md[(Kd<<2|bf>>>6)&63]+Md[bf&63];return Zd=Ef[yf],gf+=Md[Zd>>>2]+Md[Zd<<4&63]+"==",gf};var Yd=Qd();vd?ud.exports=Yd:(fd.md5=Yd,Ad&&(cd=(function(){return Yd}).call(Yd,ld,Yd,ud),cd!==void 0&&(ud.exports=cd)))})()}).call(this,ld("./node_modules/webpack/buildin/module.js")(nd))},"./lib/request.js":function(nd,od,ld){var ud=ld("./node_modules/@babel/runtime/helpers/typeof.js"),cd=function(Ad){switch(ud(Ad)){case"string":return Ad;case"boolean":return Ad?"true":"false";case"number":return isFinite(Ad)?Ad:"";default:return""}},dd=function(Ad,Nd,Id,kd){return Nd=Nd||"&",Id=Id||"=",Ad===null&&(Ad=void 0),ud(Ad)==="object"?Object.keys(Ad).map(function(jd){var Fd=encodeURIComponent(cd(jd))+Id;return Array.isArray(Ad[jd])?Ad[jd].map(function(Md){return Fd+encodeURIComponent(cd(Md))}).join(Nd):Fd+encodeURIComponent(cd(Ad[jd]))}).filter(Boolean).join(Nd):""},pd=function(Ad,Nd,Id){var kd={},jd=Nd.getAllResponseHeaders();return jd&&jd.length>0&&jd.trim().split(` -`).forEach(function(Fd){if(Fd){var Md=Fd.indexOf(":"),Ld=Fd.substr(0,Md).trim().toLowerCase(),Hd=Fd.substr(Md+1).trim();kd[Ld]=Hd}}),{error:Ad,statusCode:Nd.status,statusMessage:Nd.statusText,headers:kd,body:Id}},fd=function(Ad,Nd){return!Nd&&Nd==="text"?Ad.responseText:Ad.response},md=function(Ad,Nd){var Id=(Ad.method||"GET").toUpperCase(),kd=Ad.url;if(Ad.qs){var jd=dd(Ad.qs);jd&&(kd+=(kd.indexOf("?")===-1?"?":"&")+jd)}var Fd=new XMLHttpRequest;if(Fd.open(Id,kd,!0),Fd.responseType=Ad.dataType||"text",Ad.xhrFields)for(var Md in Ad.xhrFields)Fd[Md]=Ad.xhrFields[Md];var Ld=Ad.headers;if(Ld)for(var Hd in Ld)Ld.hasOwnProperty(Hd)&&Hd.toLowerCase()!=="content-length"&&Hd.toLowerCase()!=="user-agent"&&Hd.toLowerCase()!=="origin"&&Hd.toLowerCase()!=="host"&&Fd.setRequestHeader(Hd,Ld[Hd]);return Ad.onProgress&&Fd.upload&&(Fd.upload.onprogress=Ad.onProgress),Ad.onDownloadProgress&&(Fd.onprogress=Ad.onDownloadProgress),Ad.timeout&&(Fd.timeout=Ad.timeout),Fd.ontimeout=function(Gd){var Vd=new Error("timeout");Nd(pd(Vd,Fd))},Fd.onload=function(){Nd(pd(null,Fd,fd(Fd,Ad.dataType)))},Fd.onerror=function(Gd){var Vd=fd(Fd,Ad.dataType);if(Vd)Nd(pd(null,Fd,Vd));else{var Qd=Fd.statusText;!Qd&&Fd.status===0&&(Qd=new Error("CORS blocked or network error")),Nd(pd(Qd,Fd,Vd))}},Fd.send(Ad.body||""),Fd};nd.exports=md},"./node_modules/@babel/runtime/helpers/classCallCheck.js":function(nd,od){function ld(ud,cd){if(!(ud instanceof cd))throw new TypeError("Cannot call a class as a function")}nd.exports=ld,nd.exports.__esModule=!0,nd.exports.default=nd.exports},"./node_modules/@babel/runtime/helpers/createClass.js":function(nd,od,ld){var ud=ld("./node_modules/@babel/runtime/helpers/toPropertyKey.js");function cd(pd,fd){for(var md=0;md"u")};od.isExist=function(vd){return typeof vd<"u"},od.isEmptyObject=function(vd){return Object.keys(vd).length===0},od.merge=function(vd,Ad,Nd){if(Ad){const Id=Object.keys(Ad),kd=Id.length;for(let jd=0;jd"&&Vd[Kd]!==" "&&Vd[Kd]!==" "&&Vd[Kd]!==` -`&&Vd[Kd]!=="\r";Kd++)Ef+=Vd[Kd];if(Ef=Ef.trim(),Ef[Ef.length-1]==="/"&&(Ef=Ef.substring(0,Ef.length-1),Kd--),!Ld(Ef)){let Af;return Ef.trim().length===0?Af="Invalid space after '<'.":Af="Tag '"+Ef+"' is an invalid name.",Fd("InvalidTag",Af,Hd(Vd,Kd))}const yf=Ad(Vd,Kd);if(yf===!1)return Fd("InvalidAttr","Attributes for '"+Ef+"' have open quote.",Hd(Vd,Kd));let xf=yf.value;if(Kd=yf.index,xf[xf.length-1]==="/"){const Af=Kd-xf.length;xf=xf.substring(0,xf.length-1);const Lf=Id(xf,Qd);if(Lf===!0)Yd=!0;else return Fd(Lf.err.code,Lf.err.msg,Hd(Vd,Af+Lf.err.line))}else if(gf)if(yf.tagClosed){if(xf.trim().length>0)return Fd("InvalidTag","Closing tag '"+Ef+"' can't have attributes or invalid starting.",Hd(Vd,bf));if(mf.length===0)return Fd("InvalidTag","Closing tag '"+Ef+"' has not been opened.",Hd(Vd,bf));{const Af=mf.pop();if(Ef!==Af.tagName){let Lf=Hd(Vd,Af.tagStartPos);return Fd("InvalidTag","Expected closing tag '"+Af.tagName+"' (opened in line "+Lf.line+", col "+Lf.col+") instead of closing tag '"+Ef+"'.",Hd(Vd,bf))}mf.length==0&&(Zd=!0)}}else return Fd("InvalidTag","Closing tag '"+Ef+"' doesn't have proper closing.",Hd(Vd,Kd));else{const Af=Id(xf,Qd);if(Af!==!0)return Fd(Af.err.code,Af.err.msg,Hd(Vd,Kd-xf.length+Af.err.line));if(Zd===!0)return Fd("InvalidXml","Multiple possible root nodes found.",Hd(Vd,Kd));Qd.unpairedTags.indexOf(Ef)!==-1||mf.push({tagName:Ef,tagStartPos:bf}),Yd=!0}for(Kd++;Kd0)return Fd("InvalidXml","Invalid '"+JSON.stringify(mf.map(Kd=>Kd.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return Fd("InvalidXml","Start tag expected.",1);return!0};function dd(Vd){return Vd===" "||Vd===" "||Vd===` -`||Vd==="\r"}function pd(Vd,Qd){const mf=Qd;for(;Qd5&&Yd==="xml")return Fd("InvalidXml","XML declaration allowed only at the start of the document.",Hd(Vd,Qd));if(Vd[Qd]=="?"&&Vd[Qd+1]==">"){Qd++;break}else continue}return Qd}function fd(Vd,Qd){if(Vd.length>Qd+5&&Vd[Qd+1]==="-"&&Vd[Qd+2]==="-"){for(Qd+=3;Qd"){Qd+=2;break}}else if(Vd.length>Qd+8&&Vd[Qd+1]==="D"&&Vd[Qd+2]==="O"&&Vd[Qd+3]==="C"&&Vd[Qd+4]==="T"&&Vd[Qd+5]==="Y"&&Vd[Qd+6]==="P"&&Vd[Qd+7]==="E"){let mf=1;for(Qd+=8;Qd"&&(mf--,mf===0))break}else if(Vd.length>Qd+9&&Vd[Qd+1]==="["&&Vd[Qd+2]==="C"&&Vd[Qd+3]==="D"&&Vd[Qd+4]==="A"&&Vd[Qd+5]==="T"&&Vd[Qd+6]==="A"&&Vd[Qd+7]==="["){for(Qd+=8;Qd"){Qd+=2;break}}return Qd}const md='"',vd="'";function Ad(Vd,Qd){let mf="",Yd="",Zd=!1;for(;Qd"&&Yd===""){Zd=!0;break}mf+=Vd[Qd]}return Yd!==""?!1:{value:mf,index:Qd,tagClosed:Zd}}const Nd=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function Id(Vd,Qd){const mf=ud.getAllMatches(Vd,Nd),Yd={};for(let Zd=0;Zd","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function dd(vd){this.options=Object.assign({},cd,vd),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=md),this.processTextOrObjNode=pd,this.options.format?(this.indentate=fd,this.tagEndChar=`> +`+ud):od.stack=ud}catch{}}throw od}}_request(qa,nd){typeof qa=="string"?(nd=nd||{},nd.url=qa):nd=qa||{},nd=mergeConfig(this.defaults,nd);const{transitional:od,paramsSerializer:ld,headers:ud}=nd;od!==void 0&&validator$3.assertOptions(od,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),ld!=null&&(utils$2.isFunction(ld)?nd.paramsSerializer={serialize:ld}:validator$3.assertOptions(ld,{encode:validators.function,serialize:validators.function},!0)),validator$3.assertOptions(nd,{baseUrl:validators.spelling("baseURL"),withXsrfToken:validators.spelling("withXSRFToken")},!0),nd.method=(nd.method||this.defaults.method||"get").toLowerCase();let cd=ud&&utils$2.merge(ud.common,ud[nd.method]);ud&&utils$2.forEach(["delete","get","head","post","put","patch","common"],Id=>{delete ud[Id]}),nd.headers=AxiosHeaders.concat(cd,ud);const dd=[];let pd=!0;this.interceptors.request.forEach(function(kd){typeof kd.runWhen=="function"&&kd.runWhen(nd)===!1||(pd=pd&&kd.synchronous,dd.unshift(kd.fulfilled,kd.rejected))});const fd=[];this.interceptors.response.forEach(function(kd){fd.push(kd.fulfilled,kd.rejected)});let md,vd=0,Ad;if(!pd){const Id=[dispatchRequest.bind(this),void 0];for(Id.unshift.apply(Id,dd),Id.push.apply(Id,fd),Ad=Id.length,md=Promise.resolve(nd);vd{if(!od._listeners)return;let ud=od._listeners.length;for(;ud-- >0;)od._listeners[ud](ld);od._listeners=null}),this.promise.then=ld=>{let ud;const cd=new Promise(dd=>{od.subscribe(dd),ud=dd}).then(ld);return cd.cancel=function(){od.unsubscribe(ud)},cd},qa(function(ud,cd,dd){od.reason||(od.reason=new CanceledError(ud,cd,dd),nd(od.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(qa){if(this.reason){qa(this.reason);return}this._listeners?this._listeners.push(qa):this._listeners=[qa]}unsubscribe(qa){if(!this._listeners)return;const nd=this._listeners.indexOf(qa);nd!==-1&&this._listeners.splice(nd,1)}toAbortSignal(){const qa=new AbortController,nd=od=>{qa.abort(od)};return this.subscribe(nd),qa.signal.unsubscribe=()=>this.unsubscribe(nd),qa.signal}static source(){let qa;return{token:new CancelToken(function(ld){qa=ld}),cancel:qa}}}function spread(Ra){return function(nd){return Ra.apply(null,nd)}}function isAxiosError(Ra){return utils$2.isObject(Ra)&&Ra.isAxiosError===!0}const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(HttpStatusCode).forEach(([Ra,qa])=>{HttpStatusCode[qa]=Ra});function createInstance(Ra){const qa=new Axios(Ra),nd=bind$2(Axios.prototype.request,qa);return utils$2.extend(nd,Axios.prototype,qa,{allOwnKeys:!0}),utils$2.extend(nd,qa,null,{allOwnKeys:!0}),nd.create=function(ld){return createInstance(mergeConfig(Ra,ld))},nd}const axios=createInstance(defaults$1);axios.Axios=Axios;axios.CanceledError=CanceledError;axios.CancelToken=CancelToken;axios.isCancel=isCancel;axios.VERSION=VERSION;axios.toFormData=toFormData;axios.AxiosError=AxiosError;axios.Cancel=axios.CanceledError;axios.all=function(qa){return Promise.all(qa)};axios.spread=spread;axios.isAxiosError=isAxiosError;axios.mergeConfig=mergeConfig;axios.AxiosHeaders=AxiosHeaders;axios.formToJSON=Ra=>formDataToJSON(utils$2.isHTMLForm(Ra)?new FormData(Ra):Ra);axios.getAdapter=adapters.getAdapter;axios.HttpStatusCode=HttpStatusCode;axios.default=axios;const service=axios.create({baseURL:"",timeout:30*1e3});service.interceptors.request.use(Ra=>(/^(?:post|put|delete)$/i.test(`${Ra.method}`)&&Ra.data&&Ra.data.upload&&(Ra.headers["Content-Type"]="multipart/form-data"),Ra),Ra=>{Promise.reject(Ra)});service.interceptors.response.use(Ra=>Ra.data?Ra.data:Promise.reject(Ra),Ra=>Promise.reject(Ra));function utf16to8(Ra){let qa="";const nd=Ra.length;for(let od=0;od=1&&ld<=127?qa+=Ra.charAt(od):ld>2047?(qa+=String.fromCharCode(224|ld>>12&15),qa+=String.fromCharCode(128|ld>>6&63),qa+=String.fromCharCode(128|ld&63)):(qa+=String.fromCharCode(192|ld>>6&31),qa+=String.fromCharCode(128|ld&63))}return qa}function utf8to16(Ra){let qa="",nd=0;const od=Ra.length;for(;nd>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:qa+=Ra.charAt(nd-1);break;case 12:case 13:ud=Ra.charCodeAt(nd++),qa+=String.fromCharCode((ld&31)<<6|ud&63);break;case 14:ud=Ra.charCodeAt(nd++),cd=Ra.charCodeAt(nd++),qa+=String.fromCharCode((ld&15)<<12|(ud&63)<<6|cd&63);break}}return qa}const base64EncodeChars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",base64DecodeChars=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1];function base64encode(Ra){let qa="",nd=0;const od=Ra.length;for(;nd>2),qa+=base64EncodeChars.charAt((ld&3)<<4),qa+="==";break}const ud=Ra.charCodeAt(nd++);if(nd===od){qa+=base64EncodeChars.charAt(ld>>2),qa+=base64EncodeChars.charAt((ld&3)<<4|(ud&240)>>4),qa+=base64EncodeChars.charAt((ud&15)<<2),qa+="=";break}const cd=Ra.charCodeAt(nd++);qa+=base64EncodeChars.charAt(ld>>2),qa+=base64EncodeChars.charAt((ld&3)<<4|(ud&240)>>4),qa+=base64EncodeChars.charAt((ud&15)<<2|(cd&192)>>6),qa+=base64EncodeChars.charAt(cd&63)}return qa}function base64decode(Ra){let qa,nd,od,ld,ud=0;const cd=Ra.length;let dd="";for(;ud>4);do{if(od=Ra.charCodeAt(ud++)&255,od===61)return dd;od=base64DecodeChars[od]}while(ud>2);do{if(ld=Ra.charCodeAt(ud++)&255,ld===61)return dd;ld=base64DecodeChars[ld]}while(ud>>=0;var od=Ra.byteLength-qa;if(od<0)throw new RangeError("'offset' is out of bounds");if(nd===void 0)nd=od;else if(nd>>>=0,nd>od)throw new RangeError("'length' is out of bounds");return isModern?Buffer$4.from(Ra.slice(qa,qa+nd)):new Buffer$4(new Uint8Array(Ra.slice(qa,qa+nd)))}function fromString(Ra,qa){if((typeof qa!="string"||qa==="")&&(qa="utf8"),!Buffer$4.isEncoding(qa))throw new TypeError('"encoding" must be a valid string encoding');return isModern?Buffer$4.from(Ra,qa):new Buffer$4(Ra,qa)}function bufferFrom(Ra,qa,nd){if(typeof Ra=="number")throw new TypeError('"value" argument must not be a number');return isArrayBuffer(Ra)?fromArrayBuffer(Ra,qa,nd):typeof Ra=="string"?fromString(Ra,qa):isModern?Buffer$4.from(Ra):new Buffer$4(Ra)}var bufferFrom_1=bufferFrom;const Buffer$1=getDefaultExportFromCjs(bufferFrom_1);var cosJsSdkV5={exports:{}};(function(Ra,qa){(function(od,ld){Ra.exports=ld()})(commonjsGlobal,function(){return function(nd){var od={};function ld(ud){if(od[ud])return od[ud].exports;var cd=od[ud]={i:ud,l:!1,exports:{}};return nd[ud].call(cd.exports,cd,cd.exports,ld),cd.l=!0,cd.exports}return ld.m=nd,ld.c=od,ld.d=function(ud,cd,dd){ld.o(ud,cd)||Object.defineProperty(ud,cd,{enumerable:!0,get:dd})},ld.r=function(ud){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(ud,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(ud,"__esModule",{value:!0})},ld.t=function(ud,cd){if(cd&1&&(ud=ld(ud)),cd&8||cd&4&&typeof ud=="object"&&ud&&ud.__esModule)return ud;var dd=Object.create(null);if(ld.r(dd),Object.defineProperty(dd,"default",{enumerable:!0,value:ud}),cd&2&&typeof ud!="string")for(var pd in ud)ld.d(dd,pd,(function(fd){return ud[fd]}).bind(null,pd));return dd},ld.n=function(ud){var cd=ud&&ud.__esModule?function(){return ud.default}:function(){return ud};return ld.d(cd,"a",cd),cd},ld.o=function(ud,cd){return Object.prototype.hasOwnProperty.call(ud,cd)},ld.p="/dist/",ld(ld.s="./index.js")}({"./index.js":function(nd,od,ld){var ud=ld("./src/cos.js");nd.exports=ud},"./lib/base64.js":function(nd,od){var ld=function(ud){ud=ud||{};var cd=ud.Base64,dd="2.1.9",pd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",fd=function(bf){for(var yf={},Ef=0,gf=bf.length;Ef>>6)+md(128|Ef&63):md(224|Ef>>>12&15)+md(128|Ef>>>6&63)+md(128|Ef&63)}else{var Ef=65536+(yf.charCodeAt(0)-55296)*1024+(yf.charCodeAt(1)-56320);return md(240|Ef>>>18&7)+md(128|Ef>>>12&63)+md(128|Ef>>>6&63)+md(128|Ef&63)}},Ad=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Nd=function(yf){return yf.replace(Ad,vd)},Id=function(yf){var Ef=[0,2,1][yf.length%3],gf=yf.charCodeAt(0)<<16|(yf.length>1?yf.charCodeAt(1):0)<<8|(yf.length>2?yf.charCodeAt(2):0),xf=[pd.charAt(gf>>>18),pd.charAt(gf>>>12&63),Ef>=2?"=":pd.charAt(gf>>>6&63),Ef>=1?"=":pd.charAt(gf&63)];return xf.join("")},kd=ud.btoa?function(bf){return ud.btoa(bf)}:function(bf){return bf.replace(/[\s\S]{1,3}/g,Id)},jd=function(bf){return kd(Nd(bf))},Fd=function(yf,Ef){return Ef?jd(String(yf)).replace(/[+\/]/g,function(gf){return gf=="+"?"-":"_"}).replace(/=/g,""):jd(String(yf))},Md=function(yf){return Fd(yf,!0)},Ld=new RegExp(["[À-ß][€-¿]","[à-ï][€-¿]{2}","[ð-÷][€-¿]{3}"].join("|"),"g"),Hd=function(yf){switch(yf.length){case 4:var Ef=(7&yf.charCodeAt(0))<<18|(63&yf.charCodeAt(1))<<12|(63&yf.charCodeAt(2))<<6|63&yf.charCodeAt(3),gf=Ef-65536;return md((gf>>>10)+55296)+md((gf&1023)+56320);case 3:return md((15&yf.charCodeAt(0))<<12|(63&yf.charCodeAt(1))<<6|63&yf.charCodeAt(2));default:return md((31&yf.charCodeAt(0))<<6|63&yf.charCodeAt(1))}},Gd=function(yf){return yf.replace(Ld,Hd)},Vd=function(yf){var Ef=yf.length,gf=Ef%4,xf=(Ef>0?fd[yf.charAt(0)]<<18:0)|(Ef>1?fd[yf.charAt(1)]<<12:0)|(Ef>2?fd[yf.charAt(2)]<<6:0)|(Ef>3?fd[yf.charAt(3)]:0),Af=[md(xf>>>16),md(xf>>>8&255),md(xf&255)];return Af.length-=[0,0,2,1][gf],Af.join("")},Kd=ud.atob?function(bf){return ud.atob(bf)}:function(bf){return bf.replace(/[\s\S]{1,4}/g,Vd)},mf=function(bf){return Gd(Kd(bf))},Wd=function(yf){return mf(String(yf).replace(/[-_]/g,function(Ef){return Ef=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))},Zd=function(){var yf=ud.Base64;return ud.Base64=cd,yf},Xd={VERSION:dd,atob:Kd,btoa:kd,fromBase64:Wd,toBase64:Fd,utob:Nd,encode:Fd,encodeURI:Md,btou:Gd,decode:Wd,noConflict:Zd};return Xd}();nd.exports=ld},"./lib/crypto.js":function(nd,od,ld){(function(ud){var cd=ld("./node_modules/@babel/runtime/helpers/typeof.js"),dd=dd||function(pd,fd){var md={},vd=md.lib={},Ad=function(){},Nd=vd.Base={extend:function(Vd){Ad.prototype=this;var Kd=new Ad;return Vd&&Kd.mixIn(Vd),Kd.hasOwnProperty("init")||(Kd.init=function(){Kd.$super.init.apply(this,arguments)}),Kd.init.prototype=Kd,Kd.$super=this,Kd},create:function(){var Vd=this.extend();return Vd.init.apply(Vd,arguments),Vd},init:function(){},mixIn:function(Vd){for(var Kd in Vd)Vd.hasOwnProperty(Kd)&&(this[Kd]=Vd[Kd]);Vd.hasOwnProperty("toString")&&(this.toString=Vd.toString)},clone:function(){return this.init.prototype.extend(this)}},Id=vd.WordArray=Nd.extend({init:function(Vd,Kd){Vd=this.words=Vd||[],this.sigBytes=Kd!=fd?Kd:4*Vd.length},toString:function(Vd){return(Vd||jd).stringify(this)},concat:function(Vd){var Kd=this.words,mf=Vd.words,Wd=this.sigBytes;if(Vd=Vd.sigBytes,this.clamp(),Wd%4)for(var Zd=0;Zd>>2]|=(mf[Zd>>>2]>>>24-8*(Zd%4)&255)<<24-8*((Wd+Zd)%4);else if(65535>>2]=mf[Zd>>>2];else Kd.push.apply(Kd,mf);return this.sigBytes+=Vd,this},clamp:function(){var Vd=this.words,Kd=this.sigBytes;Vd[Kd>>>2]&=4294967295<<32-8*(Kd%4),Vd.length=pd.ceil(Kd/4)},clone:function(){var Vd=Nd.clone.call(this);return Vd.words=this.words.slice(0),Vd},random:function(Vd){for(var Kd=[],mf=0;mf>>2]>>>24-8*(Wd%4)&255;mf.push((Zd>>>4).toString(16)),mf.push((Zd&15).toString(16))}return mf.join("")},parse:function(Vd){for(var Kd=Vd.length,mf=[],Wd=0;Wd>>3]|=parseInt(Vd.substr(Wd,2),16)<<24-4*(Wd%8);return new Id.init(mf,Kd/2)}},Fd=kd.Latin1={stringify:function(Vd){var Kd=Vd.words;Vd=Vd.sigBytes;for(var mf=[],Wd=0;Wd>>2]>>>24-8*(Wd%4)&255));return mf.join("")},parse:function(Vd){for(var Kd=Vd.length,mf=[],Wd=0;Wd>>2]|=(Vd.charCodeAt(Wd)&255)<<24-8*(Wd%4);return new Id.init(mf,Kd)}},Md=kd.Utf8={stringify:function(Vd){try{return decodeURIComponent(escape(Fd.stringify(Vd)))}catch{throw Error("Malformed UTF-8 data")}},parse:function(Vd){return Fd.parse(unescape(encodeURIComponent(Vd)))}},Ld=vd.BufferedBlockAlgorithm=Nd.extend({reset:function(){this._data=new Id.init,this._nDataBytes=0},_append:function(Vd){typeof Vd=="string"&&(Vd=Md.parse(Vd)),this._data.concat(Vd),this._nDataBytes+=Vd.sigBytes},_process:function(Vd){var Kd=this._data,mf=Kd.words,Wd=Kd.sigBytes,Zd=this.blockSize,Xd=Wd/(4*Zd),Xd=Vd?pd.ceil(Xd):pd.max((Xd|0)-this._minBufferSize,0);if(Vd=Xd*Zd,Wd=pd.min(4*Vd,Wd),Vd){for(var bf=0;bfVd;Vd++){if(16>Vd)vd[Vd]=Id[kd+Vd]|0;else{var Kd=vd[Vd-3]^vd[Vd-8]^vd[Vd-14]^vd[Vd-16];vd[Vd]=Kd<<1|Kd>>>31}Kd=(Fd<<5|Fd>>>27)+Gd+vd[Vd],Kd=20>Vd?Kd+((Md&Ld|~Md&Hd)+1518500249):40>Vd?Kd+((Md^Ld^Hd)+1859775393):60>Vd?Kd+((Md&Ld|Md&Hd|Ld&Hd)-1894007588):Kd+((Md^Ld^Hd)-899497514),Gd=Hd,Hd=Ld,Ld=Md<<30|Md>>>2,Md=Fd,Fd=Kd}jd[0]=jd[0]+Fd|0,jd[1]=jd[1]+Md|0,jd[2]=jd[2]+Ld|0,jd[3]=jd[3]+Hd|0,jd[4]=jd[4]+Gd|0},_doFinalize:function(){var Id=this._data,kd=Id.words,jd=8*this._nDataBytes,Fd=8*Id.sigBytes;return kd[Fd>>>5]|=128<<24-Fd%32,kd[(Fd+64>>>9<<4)+14]=Math.floor(jd/4294967296),kd[(Fd+64>>>9<<4)+15]=jd,Id.sigBytes=4*kd.length,this._process(),this._hash},clone:function(){var Id=md.clone.call(this);return Id._hash=this._hash.clone(),Id}});pd.SHA1=md._createHelper(Ad),pd.HmacSHA1=md._createHmacHelper(Ad)})(),function(){var pd=dd,fd=pd.enc.Utf8;pd.algo.HMAC=pd.lib.Base.extend({init:function(vd,Ad){vd=this._hasher=new vd.init,typeof Ad=="string"&&(Ad=fd.parse(Ad));var Nd=vd.blockSize,Id=4*Nd;Ad.sigBytes>Id&&(Ad=vd.finalize(Ad)),Ad.clamp();for(var kd=this._oKey=Ad.clone(),jd=this._iKey=Ad.clone(),Fd=kd.words,Md=jd.words,Ld=0;Ld>>2]>>>24-Md%4*8&255,Hd=Id[Md+1>>>2]>>>24-(Md+1)%4*8&255,Gd=Id[Md+2>>>2]>>>24-(Md+2)%4*8&255,Vd=Ld<<16|Hd<<8|Gd,Kd=0;Kd<4&&Md+Kd*.75>>6*(3-Kd)&63));var mf=jd.charAt(64);if(mf)for(;Fd.length%4;)Fd.push(mf);return Fd.join("")},parse:function(Nd){var Id=Nd.length,kd=this._map,jd=kd.charAt(64);if(jd){var Fd=Nd.indexOf(jd);Fd!=-1&&(Id=Fd)}for(var Md=[],Ld=0,Hd=0;Hd>>6-Hd%4*2;Md[Ld>>>2]|=(Gd|Vd)<<24-Ld%4*8,Ld++}return md.create(Md,Ld)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),cd(ud)==="object"?ud.exports=dd:window.CryptoJS=dd}).call(this,ld("./node_modules/webpack/buildin/module.js")(nd))},"./lib/md5.js":function(nd,od,ld){(function(ud){var cd,dd=ld("./node_modules/@babel/runtime/helpers/typeof.js");(function(){var pd=(typeof window>"u"?"undefined":dd(window))==="object",fd=pd?window:{};fd.JS_MD5_NO_WINDOW&&(pd=!1);var md=!pd&&(typeof self>"u"?"undefined":dd(self))==="object";md&&(fd=self);var vd=!fd.JS_MD5_NO_COMMON_JS&&dd(ud)==="object"&&ud.exports,Ad=ld("./node_modules/webpack/buildin/amd-options.js"),Nd=!fd.JS_MD5_NO_ARRAY_BUFFER&&typeof ArrayBuffer<"u",Id="0123456789abcdef".split(""),kd=[128,32768,8388608,-2147483648],jd=[0,8,16,24],Fd=["hex","array","digest","buffer","arrayBuffer","base64"],Md="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Ld=[],Hd;if(Nd){var Gd=new ArrayBuffer(68);Hd=new Uint8Array(Gd),Ld=new Uint32Array(Gd)}(fd.JS_MD5_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(Zd){return Object.prototype.toString.call(Zd)==="[object Array]"}),Nd&&(fd.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(Zd){return dd(Zd)==="object"&&Zd.buffer&&Zd.buffer.constructor===ArrayBuffer});var Vd=function(Xd){return function(bf,yf){return new mf(!0).update(bf,yf)[Xd]()}},Kd=function(){var Xd=Vd("hex");Xd.getCtx=Xd.create=function(){return new mf},Xd.update=function(Ef){return Xd.create().update(Ef)};for(var bf=0;bf>6,Af[Ef++]=128|bf&63):bf<55296||bf>=57344?(Af[Ef++]=224|bf>>12,Af[Ef++]=128|bf>>6&63,Af[Ef++]=128|bf&63):(bf=65536+((bf&1023)<<10|Zd.charCodeAt(++yf)&1023),Af[Ef++]=240|bf>>18,Af[Ef++]=128|bf>>12&63,Af[Ef++]=128|bf>>6&63,Af[Ef++]=128|bf&63);else for(Ef=this.start;yf>2]|=bf<>2]|=(192|bf>>6)<>2]|=(128|bf&63)<=57344?(xf[Ef>>2]|=(224|bf>>12)<>2]|=(128|bf>>6&63)<>2]|=(128|bf&63)<>2]|=(240|bf>>18)<>2]|=(128|bf>>12&63)<>2]|=(128|bf>>6&63)<>2]|=(128|bf&63)<=64?(this.start=Ef-64,this.hash(),this.hashed=!0):this.start=Ef}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},mf.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var Zd=this.blocks,Xd=this.lastByteIndex;Zd[Xd>>2]|=kd[Xd&3],Xd>=56&&(this.hashed||this.hash(),Zd[0]=Zd[16],Zd[16]=Zd[1]=Zd[2]=Zd[3]=Zd[4]=Zd[5]=Zd[6]=Zd[7]=Zd[8]=Zd[9]=Zd[10]=Zd[11]=Zd[12]=Zd[13]=Zd[14]=Zd[15]=0),Zd[14]=this.bytes<<3,Zd[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},mf.prototype.hash=function(){var Zd,Xd,bf,yf,Ef,gf,xf=this.blocks;this.first?(Zd=xf[0]-680876937,Zd=(Zd<<7|Zd>>>25)-271733879<<0,yf=(-1732584194^Zd&2004318071)+xf[1]-117830708,yf=(yf<<12|yf>>>20)+Zd<<0,bf=(-271733879^yf&(Zd^-271733879))+xf[2]-1126478375,bf=(bf<<17|bf>>>15)+yf<<0,Xd=(Zd^bf&(yf^Zd))+xf[3]-1316259209,Xd=(Xd<<22|Xd>>>10)+bf<<0):(Zd=this.h0,Xd=this.h1,bf=this.h2,yf=this.h3,Zd+=(yf^Xd&(bf^yf))+xf[0]-680876936,Zd=(Zd<<7|Zd>>>25)+Xd<<0,yf+=(bf^Zd&(Xd^bf))+xf[1]-389564586,yf=(yf<<12|yf>>>20)+Zd<<0,bf+=(Xd^yf&(Zd^Xd))+xf[2]+606105819,bf=(bf<<17|bf>>>15)+yf<<0,Xd+=(Zd^bf&(yf^Zd))+xf[3]-1044525330,Xd=(Xd<<22|Xd>>>10)+bf<<0),Zd+=(yf^Xd&(bf^yf))+xf[4]-176418897,Zd=(Zd<<7|Zd>>>25)+Xd<<0,yf+=(bf^Zd&(Xd^bf))+xf[5]+1200080426,yf=(yf<<12|yf>>>20)+Zd<<0,bf+=(Xd^yf&(Zd^Xd))+xf[6]-1473231341,bf=(bf<<17|bf>>>15)+yf<<0,Xd+=(Zd^bf&(yf^Zd))+xf[7]-45705983,Xd=(Xd<<22|Xd>>>10)+bf<<0,Zd+=(yf^Xd&(bf^yf))+xf[8]+1770035416,Zd=(Zd<<7|Zd>>>25)+Xd<<0,yf+=(bf^Zd&(Xd^bf))+xf[9]-1958414417,yf=(yf<<12|yf>>>20)+Zd<<0,bf+=(Xd^yf&(Zd^Xd))+xf[10]-42063,bf=(bf<<17|bf>>>15)+yf<<0,Xd+=(Zd^bf&(yf^Zd))+xf[11]-1990404162,Xd=(Xd<<22|Xd>>>10)+bf<<0,Zd+=(yf^Xd&(bf^yf))+xf[12]+1804603682,Zd=(Zd<<7|Zd>>>25)+Xd<<0,yf+=(bf^Zd&(Xd^bf))+xf[13]-40341101,yf=(yf<<12|yf>>>20)+Zd<<0,bf+=(Xd^yf&(Zd^Xd))+xf[14]-1502002290,bf=(bf<<17|bf>>>15)+yf<<0,Xd+=(Zd^bf&(yf^Zd))+xf[15]+1236535329,Xd=(Xd<<22|Xd>>>10)+bf<<0,Zd+=(bf^yf&(Xd^bf))+xf[1]-165796510,Zd=(Zd<<5|Zd>>>27)+Xd<<0,yf+=(Xd^bf&(Zd^Xd))+xf[6]-1069501632,yf=(yf<<9|yf>>>23)+Zd<<0,bf+=(Zd^Xd&(yf^Zd))+xf[11]+643717713,bf=(bf<<14|bf>>>18)+yf<<0,Xd+=(yf^Zd&(bf^yf))+xf[0]-373897302,Xd=(Xd<<20|Xd>>>12)+bf<<0,Zd+=(bf^yf&(Xd^bf))+xf[5]-701558691,Zd=(Zd<<5|Zd>>>27)+Xd<<0,yf+=(Xd^bf&(Zd^Xd))+xf[10]+38016083,yf=(yf<<9|yf>>>23)+Zd<<0,bf+=(Zd^Xd&(yf^Zd))+xf[15]-660478335,bf=(bf<<14|bf>>>18)+yf<<0,Xd+=(yf^Zd&(bf^yf))+xf[4]-405537848,Xd=(Xd<<20|Xd>>>12)+bf<<0,Zd+=(bf^yf&(Xd^bf))+xf[9]+568446438,Zd=(Zd<<5|Zd>>>27)+Xd<<0,yf+=(Xd^bf&(Zd^Xd))+xf[14]-1019803690,yf=(yf<<9|yf>>>23)+Zd<<0,bf+=(Zd^Xd&(yf^Zd))+xf[3]-187363961,bf=(bf<<14|bf>>>18)+yf<<0,Xd+=(yf^Zd&(bf^yf))+xf[8]+1163531501,Xd=(Xd<<20|Xd>>>12)+bf<<0,Zd+=(bf^yf&(Xd^bf))+xf[13]-1444681467,Zd=(Zd<<5|Zd>>>27)+Xd<<0,yf+=(Xd^bf&(Zd^Xd))+xf[2]-51403784,yf=(yf<<9|yf>>>23)+Zd<<0,bf+=(Zd^Xd&(yf^Zd))+xf[7]+1735328473,bf=(bf<<14|bf>>>18)+yf<<0,Xd+=(yf^Zd&(bf^yf))+xf[12]-1926607734,Xd=(Xd<<20|Xd>>>12)+bf<<0,Ef=Xd^bf,Zd+=(Ef^yf)+xf[5]-378558,Zd=(Zd<<4|Zd>>>28)+Xd<<0,yf+=(Ef^Zd)+xf[8]-2022574463,yf=(yf<<11|yf>>>21)+Zd<<0,gf=yf^Zd,bf+=(gf^Xd)+xf[11]+1839030562,bf=(bf<<16|bf>>>16)+yf<<0,Xd+=(gf^bf)+xf[14]-35309556,Xd=(Xd<<23|Xd>>>9)+bf<<0,Ef=Xd^bf,Zd+=(Ef^yf)+xf[1]-1530992060,Zd=(Zd<<4|Zd>>>28)+Xd<<0,yf+=(Ef^Zd)+xf[4]+1272893353,yf=(yf<<11|yf>>>21)+Zd<<0,gf=yf^Zd,bf+=(gf^Xd)+xf[7]-155497632,bf=(bf<<16|bf>>>16)+yf<<0,Xd+=(gf^bf)+xf[10]-1094730640,Xd=(Xd<<23|Xd>>>9)+bf<<0,Ef=Xd^bf,Zd+=(Ef^yf)+xf[13]+681279174,Zd=(Zd<<4|Zd>>>28)+Xd<<0,yf+=(Ef^Zd)+xf[0]-358537222,yf=(yf<<11|yf>>>21)+Zd<<0,gf=yf^Zd,bf+=(gf^Xd)+xf[3]-722521979,bf=(bf<<16|bf>>>16)+yf<<0,Xd+=(gf^bf)+xf[6]+76029189,Xd=(Xd<<23|Xd>>>9)+bf<<0,Ef=Xd^bf,Zd+=(Ef^yf)+xf[9]-640364487,Zd=(Zd<<4|Zd>>>28)+Xd<<0,yf+=(Ef^Zd)+xf[12]-421815835,yf=(yf<<11|yf>>>21)+Zd<<0,gf=yf^Zd,bf+=(gf^Xd)+xf[15]+530742520,bf=(bf<<16|bf>>>16)+yf<<0,Xd+=(gf^bf)+xf[2]-995338651,Xd=(Xd<<23|Xd>>>9)+bf<<0,Zd+=(bf^(Xd|~yf))+xf[0]-198630844,Zd=(Zd<<6|Zd>>>26)+Xd<<0,yf+=(Xd^(Zd|~bf))+xf[7]+1126891415,yf=(yf<<10|yf>>>22)+Zd<<0,bf+=(Zd^(yf|~Xd))+xf[14]-1416354905,bf=(bf<<15|bf>>>17)+yf<<0,Xd+=(yf^(bf|~Zd))+xf[5]-57434055,Xd=(Xd<<21|Xd>>>11)+bf<<0,Zd+=(bf^(Xd|~yf))+xf[12]+1700485571,Zd=(Zd<<6|Zd>>>26)+Xd<<0,yf+=(Xd^(Zd|~bf))+xf[3]-1894986606,yf=(yf<<10|yf>>>22)+Zd<<0,bf+=(Zd^(yf|~Xd))+xf[10]-1051523,bf=(bf<<15|bf>>>17)+yf<<0,Xd+=(yf^(bf|~Zd))+xf[1]-2054922799,Xd=(Xd<<21|Xd>>>11)+bf<<0,Zd+=(bf^(Xd|~yf))+xf[8]+1873313359,Zd=(Zd<<6|Zd>>>26)+Xd<<0,yf+=(Xd^(Zd|~bf))+xf[15]-30611744,yf=(yf<<10|yf>>>22)+Zd<<0,bf+=(Zd^(yf|~Xd))+xf[6]-1560198380,bf=(bf<<15|bf>>>17)+yf<<0,Xd+=(yf^(bf|~Zd))+xf[13]+1309151649,Xd=(Xd<<21|Xd>>>11)+bf<<0,Zd+=(bf^(Xd|~yf))+xf[4]-145523070,Zd=(Zd<<6|Zd>>>26)+Xd<<0,yf+=(Xd^(Zd|~bf))+xf[11]-1120210379,yf=(yf<<10|yf>>>22)+Zd<<0,bf+=(Zd^(yf|~Xd))+xf[2]+718787259,bf=(bf<<15|bf>>>17)+yf<<0,Xd+=(yf^(bf|~Zd))+xf[9]-343485551,Xd=(Xd<<21|Xd>>>11)+bf<<0,this.first?(this.h0=Zd+1732584193<<0,this.h1=Xd-271733879<<0,this.h2=bf-1732584194<<0,this.h3=yf+271733878<<0,this.first=!1):(this.h0=this.h0+Zd<<0,this.h1=this.h1+Xd<<0,this.h2=this.h2+bf<<0,this.h3=this.h3+yf<<0)},mf.prototype.hex=function(){this.finalize();var Zd=this.h0,Xd=this.h1,bf=this.h2,yf=this.h3;return Id[Zd>>4&15]+Id[Zd&15]+Id[Zd>>12&15]+Id[Zd>>8&15]+Id[Zd>>20&15]+Id[Zd>>16&15]+Id[Zd>>28&15]+Id[Zd>>24&15]+Id[Xd>>4&15]+Id[Xd&15]+Id[Xd>>12&15]+Id[Xd>>8&15]+Id[Xd>>20&15]+Id[Xd>>16&15]+Id[Xd>>28&15]+Id[Xd>>24&15]+Id[bf>>4&15]+Id[bf&15]+Id[bf>>12&15]+Id[bf>>8&15]+Id[bf>>20&15]+Id[bf>>16&15]+Id[bf>>28&15]+Id[bf>>24&15]+Id[yf>>4&15]+Id[yf&15]+Id[yf>>12&15]+Id[yf>>8&15]+Id[yf>>20&15]+Id[yf>>16&15]+Id[yf>>28&15]+Id[yf>>24&15]},mf.prototype.toString=mf.prototype.hex,mf.prototype.digest=function(Zd){if(Zd==="hex")return this.hex();this.finalize();var Xd=this.h0,bf=this.h1,yf=this.h2,Ef=this.h3,gf=[Xd&255,Xd>>8&255,Xd>>16&255,Xd>>24&255,bf&255,bf>>8&255,bf>>16&255,bf>>24&255,yf&255,yf>>8&255,yf>>16&255,yf>>24&255,Ef&255,Ef>>8&255,Ef>>16&255,Ef>>24&255];return gf},mf.prototype.array=mf.prototype.digest,mf.prototype.arrayBuffer=function(){this.finalize();var Zd=new ArrayBuffer(16),Xd=new Uint32Array(Zd);return Xd[0]=this.h0,Xd[1]=this.h1,Xd[2]=this.h2,Xd[3]=this.h3,Zd},mf.prototype.buffer=mf.prototype.arrayBuffer,mf.prototype.base64=function(){for(var Zd,Xd,bf,yf="",Ef=this.array(),gf=0;gf<15;)Zd=Ef[gf++],Xd=Ef[gf++],bf=Ef[gf++],yf+=Md[Zd>>>2]+Md[(Zd<<4|Xd>>>4)&63]+Md[(Xd<<2|bf>>>6)&63]+Md[bf&63];return Zd=Ef[gf],yf+=Md[Zd>>>2]+Md[Zd<<4&63]+"==",yf};var Wd=Kd();vd?ud.exports=Wd:(fd.md5=Wd,Ad&&(cd=(function(){return Wd}).call(Wd,ld,Wd,ud),cd!==void 0&&(ud.exports=cd)))})()}).call(this,ld("./node_modules/webpack/buildin/module.js")(nd))},"./lib/request.js":function(nd,od,ld){var ud=ld("./node_modules/@babel/runtime/helpers/typeof.js"),cd=function(Ad){switch(ud(Ad)){case"string":return Ad;case"boolean":return Ad?"true":"false";case"number":return isFinite(Ad)?Ad:"";default:return""}},dd=function(Ad,Nd,Id,kd){return Nd=Nd||"&",Id=Id||"=",Ad===null&&(Ad=void 0),ud(Ad)==="object"?Object.keys(Ad).map(function(jd){var Fd=encodeURIComponent(cd(jd))+Id;return Array.isArray(Ad[jd])?Ad[jd].map(function(Md){return Fd+encodeURIComponent(cd(Md))}).join(Nd):Fd+encodeURIComponent(cd(Ad[jd]))}).filter(Boolean).join(Nd):""},pd=function(Ad,Nd,Id){var kd={},jd=Nd.getAllResponseHeaders();return jd&&jd.length>0&&jd.trim().split(` +`).forEach(function(Fd){if(Fd){var Md=Fd.indexOf(":"),Ld=Fd.substr(0,Md).trim().toLowerCase(),Hd=Fd.substr(Md+1).trim();kd[Ld]=Hd}}),{error:Ad,statusCode:Nd.status,statusMessage:Nd.statusText,headers:kd,body:Id}},fd=function(Ad,Nd){return!Nd&&Nd==="text"?Ad.responseText:Ad.response},md=function(Ad,Nd){var Id=(Ad.method||"GET").toUpperCase(),kd=Ad.url;if(Ad.qs){var jd=dd(Ad.qs);jd&&(kd+=(kd.indexOf("?")===-1?"?":"&")+jd)}var Fd=new XMLHttpRequest;if(Fd.open(Id,kd,!0),Fd.responseType=Ad.dataType||"text",Ad.xhrFields)for(var Md in Ad.xhrFields)Fd[Md]=Ad.xhrFields[Md];var Ld=Ad.headers;if(Ld)for(var Hd in Ld)Ld.hasOwnProperty(Hd)&&Hd.toLowerCase()!=="content-length"&&Hd.toLowerCase()!=="user-agent"&&Hd.toLowerCase()!=="origin"&&Hd.toLowerCase()!=="host"&&Fd.setRequestHeader(Hd,Ld[Hd]);return Ad.onProgress&&Fd.upload&&(Fd.upload.onprogress=Ad.onProgress),Ad.onDownloadProgress&&(Fd.onprogress=Ad.onDownloadProgress),Ad.timeout&&(Fd.timeout=Ad.timeout),Fd.ontimeout=function(Gd){var Vd=new Error("timeout");Nd(pd(Vd,Fd))},Fd.onload=function(){Nd(pd(null,Fd,fd(Fd,Ad.dataType)))},Fd.onerror=function(Gd){var Vd=fd(Fd,Ad.dataType);if(Vd)Nd(pd(null,Fd,Vd));else{var Kd=Fd.statusText;!Kd&&Fd.status===0&&(Kd=new Error("CORS blocked or network error")),Nd(pd(Kd,Fd,Vd))}},Fd.send(Ad.body||""),Fd};nd.exports=md},"./node_modules/@babel/runtime/helpers/classCallCheck.js":function(nd,od){function ld(ud,cd){if(!(ud instanceof cd))throw new TypeError("Cannot call a class as a function")}nd.exports=ld,nd.exports.__esModule=!0,nd.exports.default=nd.exports},"./node_modules/@babel/runtime/helpers/createClass.js":function(nd,od,ld){var ud=ld("./node_modules/@babel/runtime/helpers/toPropertyKey.js");function cd(pd,fd){for(var md=0;md"u")};od.isExist=function(vd){return typeof vd<"u"},od.isEmptyObject=function(vd){return Object.keys(vd).length===0},od.merge=function(vd,Ad,Nd){if(Ad){const Id=Object.keys(Ad),kd=Id.length;for(let jd=0;jd"&&Vd[Xd]!==" "&&Vd[Xd]!==" "&&Vd[Xd]!==` +`&&Vd[Xd]!=="\r";Xd++)Ef+=Vd[Xd];if(Ef=Ef.trim(),Ef[Ef.length-1]==="/"&&(Ef=Ef.substring(0,Ef.length-1),Xd--),!Ld(Ef)){let Af;return Ef.trim().length===0?Af="Invalid space after '<'.":Af="Tag '"+Ef+"' is an invalid name.",Fd("InvalidTag",Af,Hd(Vd,Xd))}const gf=Ad(Vd,Xd);if(gf===!1)return Fd("InvalidAttr","Attributes for '"+Ef+"' have open quote.",Hd(Vd,Xd));let xf=gf.value;if(Xd=gf.index,xf[xf.length-1]==="/"){const Af=Xd-xf.length;xf=xf.substring(0,xf.length-1);const Lf=Id(xf,Kd);if(Lf===!0)Wd=!0;else return Fd(Lf.err.code,Lf.err.msg,Hd(Vd,Af+Lf.err.line))}else if(yf)if(gf.tagClosed){if(xf.trim().length>0)return Fd("InvalidTag","Closing tag '"+Ef+"' can't have attributes or invalid starting.",Hd(Vd,bf));if(mf.length===0)return Fd("InvalidTag","Closing tag '"+Ef+"' has not been opened.",Hd(Vd,bf));{const Af=mf.pop();if(Ef!==Af.tagName){let Lf=Hd(Vd,Af.tagStartPos);return Fd("InvalidTag","Expected closing tag '"+Af.tagName+"' (opened in line "+Lf.line+", col "+Lf.col+") instead of closing tag '"+Ef+"'.",Hd(Vd,bf))}mf.length==0&&(Zd=!0)}}else return Fd("InvalidTag","Closing tag '"+Ef+"' doesn't have proper closing.",Hd(Vd,Xd));else{const Af=Id(xf,Kd);if(Af!==!0)return Fd(Af.err.code,Af.err.msg,Hd(Vd,Xd-xf.length+Af.err.line));if(Zd===!0)return Fd("InvalidXml","Multiple possible root nodes found.",Hd(Vd,Xd));Kd.unpairedTags.indexOf(Ef)!==-1||mf.push({tagName:Ef,tagStartPos:bf}),Wd=!0}for(Xd++;Xd0)return Fd("InvalidXml","Invalid '"+JSON.stringify(mf.map(Xd=>Xd.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return Fd("InvalidXml","Start tag expected.",1);return!0};function dd(Vd){return Vd===" "||Vd===" "||Vd===` +`||Vd==="\r"}function pd(Vd,Kd){const mf=Kd;for(;Kd5&&Wd==="xml")return Fd("InvalidXml","XML declaration allowed only at the start of the document.",Hd(Vd,Kd));if(Vd[Kd]=="?"&&Vd[Kd+1]==">"){Kd++;break}else continue}return Kd}function fd(Vd,Kd){if(Vd.length>Kd+5&&Vd[Kd+1]==="-"&&Vd[Kd+2]==="-"){for(Kd+=3;Kd"){Kd+=2;break}}else if(Vd.length>Kd+8&&Vd[Kd+1]==="D"&&Vd[Kd+2]==="O"&&Vd[Kd+3]==="C"&&Vd[Kd+4]==="T"&&Vd[Kd+5]==="Y"&&Vd[Kd+6]==="P"&&Vd[Kd+7]==="E"){let mf=1;for(Kd+=8;Kd"&&(mf--,mf===0))break}else if(Vd.length>Kd+9&&Vd[Kd+1]==="["&&Vd[Kd+2]==="C"&&Vd[Kd+3]==="D"&&Vd[Kd+4]==="A"&&Vd[Kd+5]==="T"&&Vd[Kd+6]==="A"&&Vd[Kd+7]==="["){for(Kd+=8;Kd"){Kd+=2;break}}return Kd}const md='"',vd="'";function Ad(Vd,Kd){let mf="",Wd="",Zd=!1;for(;Kd"&&Wd===""){Zd=!0;break}mf+=Vd[Kd]}return Wd!==""?!1:{value:mf,index:Kd,tagClosed:Zd}}const Nd=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function Id(Vd,Kd){const mf=ud.getAllMatches(Vd,Nd),Wd={};for(let Zd=0;Zd","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function dd(vd){this.options=Object.assign({},cd,vd),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=md),this.processTextOrObjNode=pd,this.options.format?(this.indentate=fd,this.tagEndChar=`> `,this.newLine=` `):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}dd.prototype.build=function(vd){return this.options.preserveOrder?ud(vd,this.options):(Array.isArray(vd)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(vd={[this.options.arrayNodeName]:vd}),this.j2x(vd,0).val)},dd.prototype.j2x=function(vd,Ad){let Nd="",Id="";for(let kd in vd)if(Object.prototype.hasOwnProperty.call(vd,kd))if(typeof vd[kd]>"u")this.isAttribute(kd)&&(Id+="");else if(vd[kd]===null)this.isAttribute(kd)?Id+="":kd[0]==="?"?Id+=this.indentate(Ad)+"<"+kd+"?"+this.tagEndChar:Id+=this.indentate(Ad)+"<"+kd+"/"+this.tagEndChar;else if(vd[kd]instanceof Date)Id+=this.buildTextValNode(vd[kd],kd,"",Ad);else if(typeof vd[kd]!="object"){const jd=this.isAttribute(kd);if(jd)Nd+=this.buildAttrPairStr(jd,""+vd[kd]);else if(kd===this.options.textNodeName){let Fd=this.options.tagValueProcessor(kd,""+vd[kd]);Id+=this.replaceEntitiesValue(Fd)}else Id+=this.buildTextValNode(vd[kd],kd,"",Ad)}else if(Array.isArray(vd[kd])){const jd=vd[kd].length;let Fd="";for(let Md=0;Md"u"||(Ld===null?kd[0]==="?"?Id+=this.indentate(Ad)+"<"+kd+"?"+this.tagEndChar:Id+=this.indentate(Ad)+"<"+kd+"/"+this.tagEndChar:typeof Ld=="object"?this.options.oneListGroup?Fd+=this.j2x(Ld,Ad+1).val:Fd+=this.processTextOrObjNode(Ld,kd,Ad):Fd+=this.buildTextValNode(Ld,kd,"",Ad))}this.options.oneListGroup&&(Fd=this.buildObjectNode(Fd,kd,"",Ad)),Id+=Fd}else if(this.options.attributesGroupName&&kd===this.options.attributesGroupName){const jd=Object.keys(vd[kd]),Fd=jd.length;for(let Md=0;Md"+vd+kd:this.options.commentPropName!==!1&&Ad===this.options.commentPropName&&jd.length===0?this.indentate(Id)+``+this.newLine:this.indentate(Id)+"<"+Ad+Nd+jd+this.tagEndChar+vd+this.indentate(Id)+kd}},dd.prototype.closeTag=function(vd){let Ad="";return this.options.unpairedTags.indexOf(vd)!==-1?this.options.suppressUnpairedNode||(Ad="/"):this.options.suppressEmptyNode?Ad="/":Ad=`>`+this.newLine;if(this.options.commentPropName!==!1&&Ad===this.options.commentPropName)return this.indentate(Id)+``+this.newLine;if(Ad[0]==="?")return this.indentate(Id)+"<"+Ad+Nd+"?"+this.tagEndChar;{let kd=this.options.tagValueProcessor(Ad,vd);return kd=this.replaceEntitiesValue(kd),kd===""?this.indentate(Id)+"<"+Ad+Nd+this.closeTag(Ad)+this.tagEndChar:this.indentate(Id)+"<"+Ad+Nd+">"+kd+"0&&this.options.processEntities)for(let Ad=0;Ad0&&(Nd=ld),cd(vd,Ad,"",Nd)}function cd(vd,Ad,Nd,Id){let kd="",jd=!1;for(let Fd=0;Fd`,jd=!1;continue}else if(Ld===Ad.commentPropName){kd+=Id+``,jd=!0;continue}else if(Ld[0]==="?"){const Yd=pd(Md[":@"],Ad),Zd=Ld==="?xml"?"":Id;let Kd=Md[Ld][0][Ad.textNodeName];Kd=Kd.length!==0?" "+Kd:"",kd+=Zd+`<${Ld}${Kd}${Yd}?>`,jd=!0;continue}let Gd=Id;Gd!==""&&(Gd+=Ad.indentBy);const Vd=pd(Md[":@"],Ad),Qd=Id+`<${Ld}${Vd}`,mf=cd(Md[Ld],Ad,Hd,Gd);Ad.unpairedTags.indexOf(Ld)!==-1?Ad.suppressUnpairedNode?kd+=Qd+">":kd+=Qd+"/>":(!mf||mf.length===0)&&Ad.suppressEmptyNode?kd+=Qd+"/>":mf&&mf.endsWith(">")?kd+=Qd+`>${mf}${Id}`:(kd+=Qd+">",mf&&Id!==""&&(mf.includes("/>")||mf.includes("`),jd=!0}return kd}function dd(vd){const Ad=Object.keys(vd);for(let Nd=0;Nd0&&Ad.processEntities)for(let Nd=0;Nd"){if(Ld?Id[kd-1]==="-"&&Id[kd-2]==="-"&&(Ld=!1,Fd--):Fd--,Fd===0)break}else Id[kd]==="["?Md=!0:Hd+=Id[kd];if(Fd!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:jd,i:kd}}function dd(Id,kd){let jd="";for(;kd!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(cd,dd,pd){return cd}},ud=function(cd){return Object.assign({},ld,cd)};od.buildOptions=ud,od.defaultOptions=ld},"./node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js":function(nd,od,ld){const ud=ld("./node_modules/fast-xml-parser/src/util.js"),cd=ld("./node_modules/fast-xml-parser/src/xmlparser/xmlNode.js"),dd=ld("./node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js"),pd=ld("./node_modules/strnum/strnum.js");class fd{constructor(Zd){this.options=Zd,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(Kd,bf)=>String.fromCharCode(Number.parseInt(bf,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(Kd,bf)=>String.fromCharCode(Number.parseInt(bf,16))}},this.addExternalEntities=md,this.parseXml=kd,this.parseTextData=vd,this.resolveNameSpace=Ad,this.buildAttributesMap=Id,this.isItStopNode=Ld,this.replaceEntitiesValue=Fd,this.readStopNodeData=Qd,this.saveTextToParentTag=Md,this.addChild=jd}}function md(Yd){const Zd=Object.keys(Yd);for(let Kd=0;Kd0)){yf||(Yd=this.replaceEntitiesValue(Yd));const xf=this.options.tagValueProcessor(Zd,Yd,Kd,gf,Ef);return xf==null?Yd:typeof xf!=typeof Yd||xf!==Yd?xf:this.options.trimValues?mf(Yd,this.options.parseTagValue,this.options.numberParseOptions):Yd.trim()===Yd?mf(Yd,this.options.parseTagValue,this.options.numberParseOptions):Yd}}function Ad(Yd){if(this.options.removeNSPrefix){const Zd=Yd.split(":"),Kd=Yd.charAt(0)==="/"?"/":"";if(Zd[0]==="xmlns")return"";Zd.length===2&&(Yd=Kd+Zd[1])}return Yd}const Nd=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function Id(Yd,Zd,Kd){if(!this.options.ignoreAttributes&&typeof Yd=="string"){const bf=ud.getAllMatches(Yd,Nd),gf=bf.length,Ef={};for(let yf=0;yf",Ef,"Closing Tag is not closed.");let Af=Yd.substring(Ef+2,xf).trim();if(this.options.removeNSPrefix){const ih=Af.indexOf(":");ih!==-1&&(Af=Af.substr(ih+1))}this.options.transformTagName&&(Af=this.options.transformTagName(Af)),Kd&&(bf=this.saveTextToParentTag(bf,Kd,gf));const Lf=gf.substring(gf.lastIndexOf(".")+1);if(Af&&this.options.unpairedTags.indexOf(Af)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);let Xf=0;Lf&&this.options.unpairedTags.indexOf(Lf)!==-1?(Xf=gf.lastIndexOf(".",gf.lastIndexOf(".")-1),this.tagsNodeStack.pop()):Xf=gf.lastIndexOf("."),gf=gf.substring(0,Xf),Kd=this.tagsNodeStack.pop(),bf="",Ef=xf}else if(Yd[Ef+1]==="?"){let xf=Vd(Yd,Ef,!1,"?>");if(!xf)throw new Error("Pi Tag is not closed.");if(bf=this.saveTextToParentTag(bf,Kd,gf),!(this.options.ignoreDeclaration&&xf.tagName==="?xml"||this.options.ignorePiTags)){const Af=new cd(xf.tagName);Af.add(this.options.textNodeName,""),xf.tagName!==xf.tagExp&&xf.attrExpPresent&&(Af[":@"]=this.buildAttributesMap(xf.tagExp,gf,xf.tagName)),this.addChild(Kd,Af,gf)}Ef=xf.closeIndex+1}else if(Yd.substr(Ef+1,3)==="!--"){const xf=Gd(Yd,"-->",Ef+4,"Comment is not closed.");if(this.options.commentPropName){const Af=Yd.substring(Ef+4,xf-2);bf=this.saveTextToParentTag(bf,Kd,gf),Kd.add(this.options.commentPropName,[{[this.options.textNodeName]:Af}])}Ef=xf}else if(Yd.substr(Ef+1,2)==="!D"){const xf=dd(Yd,Ef);this.docTypeEntities=xf.entities,Ef=xf.i}else if(Yd.substr(Ef+1,2)==="!["){const xf=Gd(Yd,"]]>",Ef,"CDATA is not closed.")-2,Af=Yd.substring(Ef+9,xf);bf=this.saveTextToParentTag(bf,Kd,gf);let Lf=this.parseTextData(Af,Kd.tagname,gf,!0,!1,!0,!0);Lf==null&&(Lf=""),this.options.cdataPropName?Kd.add(this.options.cdataPropName,[{[this.options.textNodeName]:Af}]):Kd.add(this.options.textNodeName,Lf),Ef=xf+2}else{let xf=Vd(Yd,Ef,this.options.removeNSPrefix),Af=xf.tagName;const Lf=xf.rawTagName;let Xf=xf.tagExp,ih=xf.attrExpPresent,Zf=xf.closeIndex;this.options.transformTagName&&(Af=this.options.transformTagName(Af)),Kd&&bf&&Kd.tagname!=="!xml"&&(bf=this.saveTextToParentTag(bf,Kd,gf,!1));const jf=Kd;if(jf&&this.options.unpairedTags.indexOf(jf.tagname)!==-1&&(Kd=this.tagsNodeStack.pop(),gf=gf.substring(0,gf.lastIndexOf("."))),Af!==Zd.tagname&&(gf+=gf?"."+Af:Af),this.isItStopNode(this.options.stopNodes,gf,Af)){let If="";if(Xf.length>0&&Xf.lastIndexOf("/")===Xf.length-1)Af[Af.length-1]==="/"?(Af=Af.substr(0,Af.length-1),gf=gf.substr(0,gf.length-1),Xf=Af):Xf=Xf.substr(0,Xf.length-1),Ef=xf.closeIndex;else if(this.options.unpairedTags.indexOf(Af)!==-1)Ef=xf.closeIndex;else{const qf=this.readStopNodeData(Yd,Lf,Zf+1);if(!qf)throw new Error(`Unexpected end of ${Lf}`);Ef=qf.i,If=qf.tagContent}const Uf=new cd(Af);Af!==Xf&&ih&&(Uf[":@"]=this.buildAttributesMap(Xf,gf,Af)),If&&(If=this.parseTextData(If,Af,gf,!0,ih,!0,!0)),gf=gf.substr(0,gf.lastIndexOf(".")),Uf.add(this.options.textNodeName,If),this.addChild(Kd,Uf,gf)}else{if(Xf.length>0&&Xf.lastIndexOf("/")===Xf.length-1){Af[Af.length-1]==="/"?(Af=Af.substr(0,Af.length-1),gf=gf.substr(0,gf.length-1),Xf=Af):Xf=Xf.substr(0,Xf.length-1),this.options.transformTagName&&(Af=this.options.transformTagName(Af));const If=new cd(Af);Af!==Xf&&ih&&(If[":@"]=this.buildAttributesMap(Xf,gf,Af)),this.addChild(Kd,If,gf),gf=gf.substr(0,gf.lastIndexOf("."))}else{const If=new cd(Af);this.tagsNodeStack.push(Kd),Af!==Xf&&ih&&(If[":@"]=this.buildAttributesMap(Xf,gf,Af)),this.addChild(Kd,If,gf),Kd=If}bf="",Ef=Zf}}else bf+=Yd[Ef];return Zd.child};function jd(Yd,Zd,Kd){const bf=this.options.updateTag(Zd.tagname,Kd,Zd[":@"]);bf===!1||(typeof bf=="string"&&(Zd.tagname=bf),Yd.addChild(Zd))}const Fd=function(Yd){if(this.options.processEntities){for(let Zd in this.docTypeEntities){const Kd=this.docTypeEntities[Zd];Yd=Yd.replace(Kd.regx,Kd.val)}for(let Zd in this.lastEntities){const Kd=this.lastEntities[Zd];Yd=Yd.replace(Kd.regex,Kd.val)}if(this.options.htmlEntities)for(let Zd in this.htmlEntities){const Kd=this.htmlEntities[Zd];Yd=Yd.replace(Kd.regex,Kd.val)}Yd=Yd.replace(this.ampEntity.regex,this.ampEntity.val)}return Yd};function Md(Yd,Zd,Kd,bf){return Yd&&(bf===void 0&&(bf=Object.keys(Zd.child).length===0),Yd=this.parseTextData(Yd,Zd.tagname,Kd,!1,Zd[":@"]?Object.keys(Zd[":@"]).length!==0:!1,bf),Yd!==void 0&&Yd!==""&&Zd.add(this.options.textNodeName,Yd),Yd=""),Yd}function Ld(Yd,Zd,Kd){const bf="*."+Kd;for(const gf in Yd){const Ef=Yd[gf];if(bf===Ef||Zd===Ef)return!0}return!1}function Hd(Yd,Zd,Kd=">"){let bf,gf="";for(let Ef=Zd;Ef",Kd,`${Zd} is not closed`);if(Yd.substring(Kd+2,Ef).trim()===Zd&&(gf--,gf===0))return{tagContent:Yd.substring(bf,Kd),i:Ef};Kd=Ef}else if(Yd[Kd+1]==="?")Kd=Gd(Yd,"?>",Kd+1,"StopNode is not closed.");else if(Yd.substr(Kd+1,3)==="!--")Kd=Gd(Yd,"-->",Kd+3,"StopNode is not closed.");else if(Yd.substr(Kd+1,2)==="![")Kd=Gd(Yd,"]]>",Kd,"StopNode is not closed.")-2;else{const Ef=Vd(Yd,Kd,">");Ef&&((Ef&&Ef.tagName)===Zd&&Ef.tagExp[Ef.tagExp.length-1]!=="/"&&gf++,Kd=Ef.closeIndex)}}function mf(Yd,Zd,Kd){if(Zd&&typeof Yd=="string"){const bf=Yd.trim();return bf==="true"?!0:bf==="false"?!1:pd(Yd,Kd)}else return ud.isExist(Yd)?Yd:""}nd.exports=fd},"./node_modules/fast-xml-parser/src/xmlparser/XMLParser.js":function(nd,od,ld){const{buildOptions:ud}=ld("./node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js"),cd=ld("./node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js"),{prettify:dd}=ld("./node_modules/fast-xml-parser/src/xmlparser/node2json.js"),pd=ld("./node_modules/fast-xml-parser/src/validator.js");class fd{constructor(vd){this.externalEntities={},this.options=ud(vd)}parse(vd,Ad){if(typeof vd!="string")if(vd.toString)vd=vd.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(Ad){Ad===!0&&(Ad={});const kd=pd.validate(vd,Ad);if(kd!==!0)throw Error(`${kd.err.msg}:${kd.err.line}:${kd.err.col}`)}const Nd=new cd(this.options);Nd.addExternalEntities(this.externalEntities);const Id=Nd.parseXml(vd);return this.options.preserveOrder||Id===void 0?Id:dd(Id,this.options)}addEntity(vd,Ad){if(Ad.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(vd.indexOf("&")!==-1||vd.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '");if(Ad==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[vd]=Ad}}nd.exports=fd},"./node_modules/fast-xml-parser/src/xmlparser/node2json.js":function(nd,od,ld){function ud(md,vd){return cd(md,vd)}function cd(md,vd,Ad){let Nd;const Id={};for(let kd=0;kd0&&(Id[vd.textNodeName]=Nd):Nd!==void 0&&(Id[vd.textNodeName]=Nd),Id}function dd(md){const vd=Object.keys(md);for(let Ad=0;Ad0?this.child.push({[dd.tagname]:dd.child,":@":dd[":@"]}):this.child.push({[dd.tagname]:dd.child})}}nd.exports=ud},"./node_modules/process/browser.js":function(nd,od){var ld=nd.exports={},ud,cd;function dd(){throw new Error("setTimeout has not been defined")}function pd(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ud=setTimeout:ud=dd}catch{ud=dd}try{typeof clearTimeout=="function"?cd=clearTimeout:cd=pd}catch{cd=pd}})();function fd(Ld){if(ud===setTimeout)return setTimeout(Ld,0);if((ud===dd||!ud)&&setTimeout)return ud=setTimeout,setTimeout(Ld,0);try{return ud(Ld,0)}catch{try{return ud.call(null,Ld,0)}catch{return ud.call(this,Ld,0)}}}function md(Ld){if(cd===clearTimeout)return clearTimeout(Ld);if((cd===pd||!cd)&&clearTimeout)return cd=clearTimeout,clearTimeout(Ld);try{return cd(Ld)}catch{try{return cd.call(null,Ld)}catch{return cd.call(this,Ld)}}}var vd=[],Ad=!1,Nd,Id=-1;function kd(){!Ad||!Nd||(Ad=!1,Nd.length?vd=Nd.concat(vd):Id=-1,vd.length&&jd())}function jd(){if(!Ad){var Ld=fd(kd);Ad=!0;for(var Hd=vd.length;Hd;){for(Nd=vd,vd=[];++Id1)for(var Gd=1;Gd0&&Nd&&vd[2]!==".")return fd;if(!md.leadingZeros&&Id.length>0&&!Nd&&vd[1]!==".")return fd;{const Fd=Number(vd),Md=""+Fd;return Md.search(/[eE]/)!==-1||jd?md.eNotation?Fd:fd:vd.indexOf(".")!==-1?Md==="0"&&kd===""||Md===kd||Nd&&Md==="-"+kd?Fd:fd:Id?kd===Md||Nd+kd===Md?Fd:fd:vd===Md||vd===Nd+Md?Fd:fd}}else return fd}}function pd(fd){return fd&&fd.indexOf(".")!==-1&&(fd=fd.replace(/0+$/,""),fd==="."?fd="0":fd[0]==="."?fd="0"+fd:fd[fd.length-1]==="."&&(fd=fd.substr(0,fd.length-1))),fd}nd.exports=dd},"./node_modules/webpack/buildin/amd-options.js":function(nd,od){(function(ld){nd.exports=ld}).call(this,{})},"./node_modules/webpack/buildin/module.js":function(nd,od){nd.exports=function(ld){return ld.webpackPolyfill||(ld.deprecate=function(){},ld.paths=[],ld.children||(ld.children=[]),Object.defineProperty(ld,"loaded",{enumerable:!0,get:function(){return ld.l}}),Object.defineProperty(ld,"id",{enumerable:!0,get:function(){return ld.i}}),ld.webpackPolyfill=1),ld}},"./package.json":function(nd){nd.exports=JSON.parse('{"name":"cos-js-sdk-v5","version":"1.8.6","description":"JavaScript SDK for [腾讯云对象存储](https://cloud.tencent.com/product/cos)","main":"dist/cos-js-sdk-v5.js","types":"index.d.ts","scripts":{"prettier":"prettier --write src demo/demo.js demo/CIDemos/*.js test/test.js server/sts.js lib/request.js index.d.ts","server":"node server/sts.js","dev":"cross-env NODE_ENV=development webpack -w --mode=development","build":"cross-env NODE_ENV=production webpack --mode=production","cos-auth.min.js":"uglifyjs ./demo/common/cos-auth.js -o ./demo/common/cos-auth.min.js -c -m","test":"jest --runInBand --coverage"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/cos-js-sdk-v5.git"},"keywords":[],"author":"carsonxu","license":"ISC","bugs":{"url":"https://github.com/tencentyun/cos-js-sdk-v5/issues"},"homepage":"https://github.com/tencentyun/cos-js-sdk-v5#readme","dependencies":{"fast-xml-parser":"^4.4.0"},"devDependencies":{"@babel/core":"7.17.9","@babel/plugin-transform-runtime":"7.18.10","@babel/preset-env":"7.16.11","babel-loader":"8.2.5","body-parser":"^1.18.3","cross-env":"^5.2.0","express":"^4.16.4","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","prettier":"^3.0.1","qcloud-cos-sts":"^3.0.2","request":"^2.87.0","terser-webpack-plugin":"4.2.3","uglifyjs":"^2.4.11","webpack":"4.46.0","webpack-cli":"4.10.0"}}')},"./src/advance.js":function(nd,od,ld){var ud=ld("./node_modules/@babel/runtime/helpers/typeof.js"),cd=ld("./src/session.js"),dd=ld("./src/async.js"),pd=ld("./src/event.js").EventProxy,fd=ld("./src/util.js"),md=ld("./src/tracker.js");function vd(Yd,Zd){var Kd=this,bf=new pd,gf=Yd.TaskId,Ef=Yd.Bucket,yf=Yd.Region,xf=Yd.Key,Af=Yd.Body,Lf=Yd.ChunkSize||Yd.SliceSize||Kd.options.ChunkSize,Xf=Yd.AsyncLimit,ih=Yd.StorageClass,Zf=Yd.ServerSideEncryption,jf,If,Uf=Yd.onHashProgress,qf=Yd.tracker;qf&&qf.setParams({chunkSize:Lf}),bf.on("error",function(Kf){if(Kd._isRunningTask(gf))return Yd.UploadData.UploadId&&cd.removeUsing(Yd.UploadData.UploadId),Kf.UploadId=Yd.UploadData.UploadId||"",Zd(Kf)}),bf.on("upload_complete",function(Kf){var Tf=fd.extend({UploadId:Yd.UploadData.UploadId||""},Kf);Zd(null,Tf)}),bf.on("upload_slice_complete",function(Kf){var Tf={};fd.each(Yd.Headers,function(vf,Gf){var Jf=Gf.toLowerCase();(Jf.indexOf("x-cos-meta-")===0||["pic-operations","x-cos-callback","x-cos-callback-var","x-cos-return-body"].includes(Jf))&&(Tf[Gf]=vf)}),Fd.call(Kd,{Bucket:Ef,Region:yf,Key:xf,UploadId:Kf.UploadId,SliceList:Kf.SliceList,Headers:Tf,tracker:qf},function(vf,Gf){if(Kd._isRunningTask(gf)){if(cd.removeUsing(Kf.UploadId),vf)return If(null,!0),bf.emit("error",vf);cd.removeUploadId.call(Kd,Kf.UploadId),If({loaded:jf,total:jf},!0),bf.emit("upload_complete",Gf)}})}),bf.on("get_upload_data_finish",function(Kf){var Tf=cd.getFileId(Af,Yd.ChunkSize,Ef,xf);Tf&&cd.saveUploadId.call(Kd,Tf,Kf.UploadId,Kd.options.UploadIdCacheLimit),cd.setUsing(Kf.UploadId),If(null,!0),kd.call(Kd,{TaskId:gf,Bucket:Ef,Region:yf,Key:xf,Body:Af,FileSize:jf,SliceSize:Lf,AsyncLimit:Xf,ServerSideEncryption:Zf,UploadData:Kf,Headers:Yd.Headers,onProgress:If,tracker:qf},function(vf,Gf){if(Kd._isRunningTask(gf)){if(vf)return If(null,!0),bf.emit("error",vf);bf.emit("upload_slice_complete",Gf)}})}),bf.on("get_file_size_finish",function(){if(If=fd.throttleOnProgress.call(Kd,jf,Yd.onProgress),Yd.UploadData.UploadId)bf.emit("get_upload_data_finish",Yd.UploadData);else{var Kf=fd.extend({TaskId:gf,Bucket:Ef,Region:yf,Key:xf,Headers:Yd.Headers,StorageClass:ih,Body:Af,FileSize:jf,SliceSize:Lf,onHashProgress:Uf,tracker:qf},Yd);Ad.call(Kd,Kf,function(Tf,vf){if(Kd._isRunningTask(gf)){if(Tf)return bf.emit("error",Tf);Yd.UploadData.UploadId=vf.UploadId,Yd.UploadData.PartList=vf.PartList,bf.emit("get_upload_data_finish",Yd.UploadData)}})}}),jf=Yd.ContentLength,delete Yd.ContentLength,!Yd.Headers&&(Yd.Headers={}),fd.each(Yd.Headers,function(Kf,Tf){Tf.toLowerCase()==="content-length"&&delete Yd.Headers[Tf]}),function(){for(var Kf=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],Tf=1024*1024,vf=0;vfih)return vf(null,!1);if(Gf>1){var Jf=Math.max(Tf[0].Size,Tf[1].Size);if(Jf!==Xf)return vf(null,!1)}var gh=function th(Pf){if(Pf=vf.length){qf.emit("has_and_check_upload_id",Kf);return}var th=vf[gh];if(!fd.isInArray(Kf,th)){cd.removeUploadId.call(xf,th),Jf(gh+1);return}if(cd.using[th]){Jf(gh+1);return}Id.call(xf,{Bucket:bf,Region:gf,Key:Ef,UploadId:th,tracker:Yd.tracker},function(Pf,uh){xf._isRunningTask(Kd)&&(Pf?(cd.removeUploadId.call(xf,th),Jf(gh+1)):qf.emit("upload_id_available",{UploadId:th,PartList:uh.PartList}))})};Gf(0)}),qf.on("get_remote_upload_id_list",function(){Nd.call(xf,{Bucket:bf,Region:gf,Key:Ef,tracker:Yd.tracker},function(Kf,Tf){if(xf._isRunningTask(Kd)){if(Kf)return qf.emit("error",Kf);var vf=fd.filter(Tf.UploadList,function(gh){return gh.Key===Ef&&(!yf||gh.StorageClass.toUpperCase()===yf.toUpperCase())}).reverse().map(function(gh){return gh.UploadId||gh.UploadID});if(vf.length)qf.emit("seek_local_avail_upload_id",vf);else{var Gf=cd.getFileId(Yd.Body,Yd.ChunkSize,bf,Ef),Jf;Gf&&(Jf=cd.getUploadIdList.call(xf,Gf))&&fd.each(Jf,function(gh){cd.removeUploadId.call(xf,gh)}),qf.emit("no_available_upload_id")}}})}),qf.emit("get_remote_upload_id_list")}function Nd(Yd,Zd){var Kd=this,bf=[],gf={Bucket:Yd.Bucket,Region:Yd.Region,Prefix:Yd.Key,calledBySdk:Yd.calledBySdk||"sliceUploadFile",tracker:Yd.tracker},Ef=function yf(){Kd.multipartList(gf,function(xf,Af){if(xf)return Zd(xf);bf.push.apply(bf,Af.Upload||[]),Af.IsTruncated==="true"?(gf.KeyMarker=Af.NextKeyMarker,gf.UploadIdMarker=Af.NextUploadIdMarker,yf()):Zd(null,{UploadList:bf})})};Ef()}function Id(Yd,Zd){var Kd=this,bf=[],gf={Bucket:Yd.Bucket,Region:Yd.Region,Key:Yd.Key,UploadId:Yd.UploadId,calledBySdk:"sliceUploadFile",tracker:Yd.tracker},Ef=function yf(){Kd.multipartListPart(gf,function(xf,Af){if(xf)return Zd(xf);bf.push.apply(bf,Af.Part||[]),Af.IsTruncated==="true"?(gf.PartNumberMarker=Af.NextPartNumberMarker,yf()):Zd(null,{PartList:bf})})};Ef()}function kd(Yd,Zd){var Kd=this,bf=Yd.TaskId,gf=Yd.Bucket,Ef=Yd.Region,yf=Yd.Key,xf=Yd.UploadData,Af=Yd.FileSize,Lf=Yd.SliceSize,Xf=Math.min(Yd.AsyncLimit||Kd.options.ChunkParallelLimit||1,256),ih=Yd.Body,Zf=Math.ceil(Af/Lf),jf=0,If=Yd.ServerSideEncryption,Uf=Yd.Headers,qf=fd.filter(xf.PartList,function(Tf){return Tf.Uploaded&&(jf+=Tf.PartNumber>=Zf&&Af%Lf||Lf),!Tf.Uploaded}),Kf=Yd.onProgress;dd.eachLimit(qf,Xf,function(Tf,vf){if(Kd._isRunningTask(bf)){var Gf=Tf.PartNumber,Jf=Math.min(Af,Tf.PartNumber*Lf)-(Tf.PartNumber-1)*Lf,gh=0;jd.call(Kd,{TaskId:bf,Bucket:gf,Region:Ef,Key:yf,SliceSize:Lf,FileSize:Af,PartNumber:Gf,ServerSideEncryption:If,Body:ih,UploadData:xf,Headers:Uf,onProgress:function(Pf){jf+=Pf.loaded-gh,gh=Pf.loaded,Kf({loaded:jf,total:Af})},tracker:Yd.tracker},function(th,Pf){Kd._isRunningTask(bf)&&(!th&&!Pf.ETag&&(th='get ETag error, please add "ETag" to CORS ExposeHeader setting.( 获取ETag失败,请在CORS ExposeHeader设置中添加ETag,请参考文档:https://cloud.tencent.com/document/product/436/13318 )'),th?jf-=gh:(jf+=Jf-gh,Tf.ETag=Pf.ETag),Kf({loaded:jf,total:Af}),vf(th||null,Pf))})}},function(Tf){if(Kd._isRunningTask(bf)){if(Tf)return Zd(Tf);Zd(null,{UploadId:xf.UploadId,SliceList:xf.PartList})}})}function jd(Yd,Zd){var Kd=this,bf=Yd.TaskId,gf=Yd.Bucket,Ef=Yd.Region,yf=Yd.Key,xf=Yd.FileSize,Af=Yd.Body,Lf=Yd.PartNumber*1,Xf=Yd.SliceSize,ih=Yd.ServerSideEncryption,Zf=Yd.UploadData,jf=Yd.Headers||{},If=Kd.options.ChunkRetryTimes+1,Uf=Xf*(Lf-1),qf=Xf,Kf=Uf+Xf;Kf>xf&&(Kf=xf,qf=Kf-Uf);var Tf=["x-cos-traffic-limit","x-cos-mime-limit"],vf={};fd.each(jf,function(Jf,gh){Tf.indexOf(gh)>-1&&(vf[gh]=Jf)});var Gf=Zf.PartList[Lf-1];dd.retry(If,function(Jf){Kd._isRunningTask(bf)&&fd.fileSlice(Af,Uf,Kf,!0,function(gh){Kd.multipartUpload({TaskId:bf,Bucket:gf,Region:Ef,Key:yf,ContentLength:qf,PartNumber:Lf,UploadId:Zf.UploadId,ServerSideEncryption:ih,Body:gh,Headers:vf,onProgress:Yd.onProgress,calledBySdk:"sliceUploadFile",tracker:Yd.tracker},function(th,Pf){if(Kd._isRunningTask(bf))return th?Jf(th):(Gf.Uploaded=!0,Jf(null,Pf))})})},function(Jf,gh){if(Kd._isRunningTask(bf))return Zd(Jf,gh)})}function Fd(Yd,Zd){var Kd=Yd.Bucket,bf=Yd.Region,gf=Yd.Key,Ef=Yd.UploadId,yf=Yd.SliceList,xf=this,Af=this.options.ChunkRetryTimes+1,Lf=Yd.Headers,Xf=yf.map(function(ih){return{PartNumber:ih.PartNumber,ETag:ih.ETag}});dd.retry(Af,function(ih){xf.multipartComplete({Bucket:Kd,Region:bf,Key:gf,UploadId:Ef,Parts:Xf,Headers:Lf,calledBySdk:"sliceUploadFile",tracker:Yd.tracker},ih)},function(ih,Zf){Zd(ih,Zf)})}function Md(Yd,Zd){var Kd=Yd.Bucket,bf=Yd.Region,gf=Yd.Key,Ef=Yd.UploadId,yf=Yd.Level||"task",xf=Yd.AsyncLimit,Af=this,Lf=new pd;if(Lf.on("error",function(Xf){return Zd(Xf)}),Lf.on("get_abort_array",function(Xf){Ld.call(Af,{Bucket:Kd,Region:bf,Key:gf,Headers:Yd.Headers,AsyncLimit:xf,AbortArray:Xf},Zd)}),yf==="bucket")Nd.call(Af,{Bucket:Kd,Region:bf,calledBySdk:"abortUploadTask"},function(Xf,ih){if(Xf)return Zd(Xf);Lf.emit("get_abort_array",ih.UploadList||[])});else if(yf==="file"){if(!gf)return Zd(fd.error(new Error("abort_upload_task_no_key")));Nd.call(Af,{Bucket:Kd,Region:bf,Key:gf,calledBySdk:"abortUploadTask"},function(Xf,ih){if(Xf)return Zd(Xf);Lf.emit("get_abort_array",ih.UploadList||[])})}else if(yf==="task"){if(!Ef)return Zd(fd.error(new Error("abort_upload_task_no_id")));if(!gf)return Zd(fd.error(new Error("abort_upload_task_no_key")));Lf.emit("get_abort_array",[{Key:gf,UploadId:Ef}])}else return Zd(fd.error(new Error("abort_unknown_level")))}function Ld(Yd,Zd){var Kd=Yd.Bucket,bf=Yd.Region,gf=Yd.Key,Ef=Yd.AbortArray,yf=Yd.AsyncLimit||1,xf=this,Af=0,Lf=new Array(Ef.length);dd.eachLimit(Ef,yf,function(Xf,ih){var Zf=Af;if(gf&&gf!==Xf.Key){Lf[Zf]={error:{KeyNotMatch:!0}},ih(null);return}var jf=Xf.UploadId||Xf.UploadID;xf.multipartAbort({Bucket:Kd,Region:bf,Key:Xf.Key,Headers:Yd.Headers,UploadId:jf},function(If){var Uf={Bucket:Kd,Region:bf,Key:Xf.Key,UploadId:jf};Lf[Zf]={error:If,task:Uf},ih(null)}),Af++},function(Xf){if(Xf)return Zd(Xf);for(var ih=[],Zf=[],jf=0,If=Lf.length;jfbf?"sliceUploadFile":"putObject";Yd.tracker=new md({Beacon:Kd.options.BeaconReporter,clsReporter:Kd.options.ClsReporter,bucket:Yd.Bucket,region:Yd.Region,apiName:"uploadFile",realApi:Lf,fileKey:Yd.Key,fileSize:yf,accelerate:Af,deepTracker:Kd.options.DeepTracker,customId:Kd.options.CustomId,delay:Kd.options.TrackerDelay})}fd.each(Yd,function(Uf,qf){ud(Uf)!=="object"&&typeof Uf!="function"&&(xf[qf]=Uf)});var Xf=Yd.onTaskReady,ih=function(qf){xf.TaskId=qf,Xf&&Xf(qf)};Yd.onTaskReady=ih;var Zf=yf>bf?"sliceUploadFile":"putObject",jf=Yd.onFileFinish,If=function(qf,Kf){Yd.tracker&&Yd.tracker.report(qf,Kf),jf&&jf(qf,Kf,xf),Zd&&Zd(qf,Kf)};gf.push({api:Zf,params:Yd,callback:If}),Kd._addTasks(gf)}function Gd(Yd,Zd){var Kd=this,bf=Yd.SliceSize===void 0?Kd.options.SliceSize:Yd.SliceSize,gf=0,Ef=0,yf=fd.throttleOnProgress.call(Kd,Ef,Yd.onProgress),xf=Yd.files.length,Af=Yd.onFileFinish,Lf=Array(xf),Xf=function(jf,If,Uf){yf(null,!0),Af&&Af(jf,If,Uf),Lf[Uf.Index]={options:Uf,error:jf,data:If},--xf<=0&&Zd&&Zd(null,{files:Lf})},ih=[];fd.each(Yd.files,function(Zf,jf){(function(){var If=Zf.Body,Uf=If.size||If.length||0,qf={Index:jf,TaskId:""};if(!Kd.options.UseRawKey&&Zf.Key&&Zf.Key.substr(0,1)==="/"&&(Zf.Key=Zf.Key.substr(1)),gf+=Uf,Kd.options.EnableReporter){var Kf=Kd.options.UseAccelerate||typeof Kd.options.Domain=="string"&&Kd.options.Domain.includes("accelerate."),Tf=Uf>bf?"sliceUploadFile":"putObject";Zf.tracker=new md({Beacon:Kd.options.BeaconReporter,clsReporter:Kd.options.ClsReporter,bucket:Zf.Bucket,region:Zf.Region,apiName:"uploadFiles",realApi:Tf,fileKey:Zf.Key,fileSize:Uf,accelerate:Kf,deepTracker:Kd.options.DeepTracker,customId:Kd.options.CustomId,delay:Kd.options.TrackerDelay})}fd.each(Zf,function(Qf,Nf){ud(Qf)!=="object"&&typeof Qf!="function"&&(qf[Nf]=Qf)});var vf=Zf.onTaskReady,Gf=function(Nf){qf.TaskId=Nf,vf&&vf(Nf)};Zf.onTaskReady=Gf;var Jf=0,gh=Zf.onProgress,th=function(Nf){Ef=Ef-Jf+Nf.loaded,Jf=Nf.loaded,gh&&gh(Nf),yf({loaded:Ef,total:gf})};Zf.onProgress=th;var Pf=Uf>bf?"sliceUploadFile":"putObject",uh=Zf.onFileFinish,xh=function(Nf,$f){Zf.tracker&&Zf.tracker.report(Nf,$f),uh&&uh(Nf,$f),Xf&&Xf(Nf,$f,qf)};ih.push({api:Pf,params:Zf,callback:xh})})()}),Kd._addTasks(ih)}function Vd(Yd,Zd){var Kd=new pd,bf=this,gf=Yd.Bucket,Ef=Yd.Region,yf=Yd.Key,xf=Yd.CopySource,Af=fd.getSourceParams.call(this,xf);if(!Af){Zd(fd.error(new Error("CopySource format error")));return}var Lf=Af.Bucket,Xf=Af.Region,ih=decodeURIComponent(Af.Key),Zf=Yd.CopySliceSize===void 0?bf.options.CopySliceSize:Yd.CopySliceSize;Zf=Math.max(0,Zf);var jf=Yd.CopyChunkSize||this.options.CopyChunkSize,If=this.options.CopyChunkParallelLimit,Uf=this.options.ChunkRetryTimes+1,qf=0,Kf=0,Tf,vf,Gf={},Jf={},gh={};Kd.on("copy_slice_complete",function(th){fd.each(Yd.Headers,function(uh,xh){xh.toLowerCase().indexOf("x-cos-meta-")});var Pf=fd.map(th.PartList,function(uh){return{PartNumber:uh.PartNumber,ETag:uh.ETag}});dd.retry(Uf,function(uh){bf.multipartComplete({Bucket:gf,Region:Ef,Key:yf,UploadId:th.UploadId,Parts:Pf,tracker:Yd.tracker,calledBySdk:"sliceCopyFile"},uh)},function(uh,xh){if(cd.removeUsing(th.UploadId),uh)return vf(null,!0),Zd(uh);cd.removeUploadId(th.UploadId),vf({loaded:Tf,total:Tf},!0),Zd(null,xh)})}),Kd.on("get_copy_data_finish",function(th){var Pf=cd.getCopyFileId(xf,Gf,jf,gf,yf);Pf&&cd.saveUploadId(Pf,th.UploadId,bf.options.UploadIdCacheLimit),cd.setUsing(th.UploadId);var uh=fd.filter(th.PartList,function(xh){return xh.Uploaded&&(Kf+=xh.PartNumber>=qf&&Tf%jf||jf),!xh.Uploaded});dd.eachLimit(uh,If,function(xh,Qf){var Nf=xh.PartNumber,$f=xh.CopySourceRange,Wf=xh.end-xh.start;dd.retry(Uf,function(vh){Qd.call(bf,{Bucket:gf,Region:Ef,Key:yf,CopySource:xf,UploadId:th.UploadId,PartNumber:Nf,CopySourceRange:$f,tracker:Yd.tracker,calledBySdk:"sliceCopyFile"},vh)},function(vh,Th){if(vh)return Qf(vh);Kf+=Wf,vf({loaded:Kf,total:Tf}),xh.ETag=Th.ETag,Qf(vh||null,Th)})},function(xh){if(xh)return cd.removeUsing(th.UploadId),vf(null,!0),Zd(xh);Kd.emit("copy_slice_complete",th)})}),Kd.on("get_chunk_size_finish",function(){var th=function(){bf.multipartInit({Bucket:gf,Region:Ef,Key:yf,Headers:gh,tracker:Yd.tracker,calledBySdk:"sliceCopyFile"},function(Nf,$f){if(Nf)return Zd(Nf);Yd.UploadId=$f.UploadId,Kd.emit("get_copy_data_finish",{UploadId:Yd.UploadId,PartList:Yd.PartList})})},Pf=cd.getCopyFileId(xf,Gf,jf,gf,yf),uh=cd.getUploadIdList(Pf);if(!Pf||!uh)return th();var xh=function Qf(Nf){if(Nf>=uh.length)return th();var $f=uh[Nf];if(cd.using[$f])return Qf(Nf+1);Id.call(bf,{Bucket:gf,Region:Ef,Key:yf,UploadId:$f,tracker:Yd.tracker,calledBySdk:"sliceCopyFile"},function(Wf,vh){if(Wf)cd.removeUploadId($f),Qf(Nf+1);else{if(cd.using[$f])return Qf(Nf+1);var Th={},dh=0;fd.each(vh.PartList,function(Vh){var wh=parseInt(Vh.Size),fm=dh+wh-1;Th[Vh.PartNumber+"|"+dh+"|"+fm]=Vh.ETag,dh+=wh}),fd.each(Yd.PartList,function(Vh){var wh=Th[Vh.PartNumber+"|"+Vh.start+"|"+Vh.end];wh&&(Vh.ETag=wh,Vh.Uploaded=!0)}),Kd.emit("get_copy_data_finish",{UploadId:$f,PartList:Yd.PartList})}})};xh(0)}),Kd.on("get_file_size_finish",function(){if(function(){for(var Pf=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],uh=1024*1024,xh=0;xhNf.length&&(Jf[Qf]=xh)}),Kd.emit("get_file_size_finish")}})}function Qd(Yd,Zd){var Kd=Yd.TaskId,bf=Yd.Bucket,gf=Yd.Region,Ef=Yd.Key,yf=Yd.CopySource,xf=Yd.UploadId,Af=Yd.PartNumber*1,Lf=Yd.CopySourceRange,Xf=this.options.ChunkRetryTimes+1,ih=this;dd.retry(Xf,function(Zf){ih.uploadPartCopy({TaskId:Kd,Bucket:bf,Region:gf,Key:Ef,CopySource:yf,UploadId:xf,PartNumber:Af,CopySourceRange:Lf,tracker:Yd.tracker,calledBySdk:Yd.calledBySdk},function(jf,If){Zf(jf||null,If)})},function(Zf,jf){return Zd(Zf,jf)})}var mf={sliceUploadFile:vd,abortUploadTask:Md,uploadFile:Hd,uploadFiles:Gd,sliceCopyFile:Vd};nd.exports.init=function(Yd,Zd){Zd.transferToTaskMethod(mf,"sliceUploadFile"),fd.each(mf,function(Kd,bf){Yd.prototype[bf]=fd.apiWrapper(bf,Kd)})}},"./src/async.js":function(nd,od){var ld=function(pd,fd,md,vd){if(vd=vd||function(){},!pd.length||fd<=0)return vd();var Ad=0,Nd=0,Id=0;(function kd(){if(Ad>=pd.length)return vd();for(;Id=pd.length?vd():kd())})})()},ud=function(pd,fd,md){var vd=function Ad(Nd){fd(function(Id,kd){Id&&Nd"u"?"undefined":ud(location))==="object"&&location.protocol==="http:"?"http:":"https:"),Sh=this.options.ServiceDomain,Wh=Of.AppId||this.options.appId,Fh=Of.Region;Sh?(Sh=Sh.replace(/\{\{AppId\}\}/gi,Wh||"").replace(/\{\{Region\}\}/gi,Fh||"").replace(/\{\{.*?\}\}/gi,""),/^[a-zA-Z]+:\/\//.test(Sh)||(Sh=mh+"//"+Sh),Sh.slice(-1)==="/"&&(Sh=Sh.slice(0,-1))):Fh?Sh=mh+"//cos."+Fh+".myqcloud.com":Sh=mh+"//service.cos.myqcloud.com";var om="",im=Fh?"cos."+Fh+".myqcloud.com":"service.cos.myqcloud.com",Rh=Sh.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");im===Rh&&(om=im),Qm.call(this,{Action:"name/cos:GetService",url:Sh,method:"GET",headers:Of.Headers,SignHost:om,tracker:Of.tracker},function(Im,Pm){if(Im)return Ch(Im);var i_=Pm&&Pm.ListAllMyBucketsResult&&Pm.ListAllMyBucketsResult.Buckets&&Pm.ListAllMyBucketsResult.Buckets.Bucket||[];i_=dd.isArray(i_)?i_:[i_];var Hm=Pm&&Pm.ListAllMyBucketsResult&&Pm.ListAllMyBucketsResult.Owner||{};Ch(null,{Buckets:i_,Owner:Hm,statusCode:Pm.statusCode,headers:Pm.headers})})}function fd(Of,Ch){var mh=this,Sh="";if(Of.BucketAZConfig){var Wh={BucketAZConfig:Of.BucketAZConfig};Sh=dd.json2xml({CreateBucketConfiguration:Wh})}Qm.call(this,{Action:"name/cos:PutBucket",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,body:Sh,tracker:Of.tracker},function(Fh,om){if(Fh)return Ch(Fh);var im=L_({protocol:mh.options.Protocol,domain:mh.options.Domain,bucket:Of.Bucket,region:Of.Region,isLocation:!0});Ch(null,{Location:im,statusCode:om.statusCode,headers:om.headers})})}function md(Of,Ch){Qm.call(this,{Action:"name/cos:HeadBucket",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,method:"HEAD",tracker:Of.tracker},Ch)}function vd(Of,Ch){var mh={};mh.prefix=Of.Prefix||"",mh.delimiter=Of.Delimiter,mh.marker=Of.Marker,mh["max-keys"]=Of.MaxKeys,mh["encoding-type"]=Of.EncodingType,Qm.call(this,{Action:"name/cos:GetBucket",ResourceKey:mh.prefix,method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,qs:mh,tracker:Of.tracker},function(Sh,Wh){if(Sh)return Ch(Sh);var Fh=Wh.ListBucketResult||{},om=Fh.Contents||[],im=Fh.CommonPrefixes||[];om=dd.isArray(om)?om:[om],im=dd.isArray(im)?im:[im];var Rh=dd.clone(Fh);dd.extend(Rh,{Contents:om,CommonPrefixes:im,statusCode:Wh.statusCode,headers:Wh.headers}),Ch(null,Rh)})}function Ad(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucket",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,method:"DELETE",tracker:Of.tracker},function(mh,Sh){if(mh&&mh.statusCode===204)return Ch(null,{statusCode:mh.statusCode});if(mh)return Ch(mh);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Nd(Of,Ch){var mh=Of.Headers,Sh="";if(Of.AccessControlPolicy){var Wh=dd.clone(Of.AccessControlPolicy||{}),Fh=Wh.Grants||Wh.Grant;Fh=dd.isArray(Fh)?Fh:[Fh],delete Wh.Grant,delete Wh.Grants,Wh.AccessControlList={Grant:Fh},Sh=dd.json2xml({AccessControlPolicy:Wh}),mh["Content-Type"]="application/xml",mh["Content-MD5"]=dd.b64(dd.md5(Sh))}dd.each(mh,function(om,im){im.indexOf("x-cos-grant-")===0&&(mh[im]=tg(mh[im]))}),Qm.call(this,{Action:"name/cos:PutBucketACL",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,headers:mh,action:"acl",body:Sh,tracker:Of.tracker},function(om,im){if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function Id(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketACL",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"acl",tracker:Of.tracker},function(mh,Sh){if(mh)return Ch(mh);var Wh=Sh.AccessControlPolicy||{},Fh=Wh.Owner||{},om=Wh.AccessControlList.Grant||[];om=dd.isArray(om)?om:[om];var im=h_(Wh);Sh.headers&&Sh.headers["x-cos-acl"]&&(im.ACL=Sh.headers["x-cos-acl"]),im=dd.extend(im,{Owner:Fh,Grants:om,statusCode:Sh.statusCode,headers:Sh.headers}),Ch(null,im)})}function kd(Of,Ch){var mh=Of.CORSConfiguration||{},Sh=mh.CORSRules||Of.CORSRules||[];Sh=dd.clone(dd.isArray(Sh)?Sh:[Sh]),dd.each(Sh,function(im){dd.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],function(Rh){var Im=Rh+"s",Pm=im[Im]||im[Rh]||[];delete im[Im],im[Rh]=dd.isArray(Pm)?Pm:[Pm]})});var Wh={CORSRule:Sh};Of.ResponseVary&&(Wh.ResponseVary=Of.ResponseVary);var Fh=dd.json2xml({CORSConfiguration:Wh}),om=Of.Headers;om["Content-Type"]="application/xml",om["Content-MD5"]=dd.b64(dd.md5(Fh)),Qm.call(this,{Action:"name/cos:PutBucketCORS",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Fh,action:"cors",headers:om,tracker:Of.tracker},function(im,Rh){if(im)return Ch(im);Ch(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function jd(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketCORS",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"cors",tracker:Of.tracker},function(mh,Sh){if(mh){if(mh.statusCode===404&&mh.error&&mh.error.Code==="NoSuchCORSConfiguration"){var Wh={CORSRules:[],statusCode:mh.statusCode};mh.headers&&(Wh.headers=mh.headers),Ch(null,Wh)}else Ch(mh);return}var Fh=Sh.CORSConfiguration||{},om=Fh.CORSRules||Fh.CORSRule||[];om=dd.clone(dd.isArray(om)?om:[om]);var im=Fh.ResponseVary;dd.each(om,function(Rh){dd.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],function(Im){var Pm=Im+"s",i_=Rh[Pm]||Rh[Im]||[];delete Rh[Im],Rh[Pm]=dd.isArray(i_)?i_:[i_]})}),Ch(null,{CORSRules:om,ResponseVary:im,statusCode:Sh.statusCode,headers:Sh.headers})})}function Fd(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketCORS",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"cors",tracker:Of.tracker},function(mh,Sh){if(mh&&mh.statusCode===204)return Ch(null,{statusCode:mh.statusCode});if(mh)return Ch(mh);Ch(null,{statusCode:Sh.statusCode||mh.statusCode,headers:Sh.headers})})}function Md(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketLocation",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"location",tracker:Of.tracker},Ch)}function Ld(Of,Ch){var mh=Of.Policy;try{typeof mh=="string"&&(mh=JSON.parse(mh))}catch{}if(!mh||typeof mh=="string")return Ch(dd.error(new Error("Policy format error")));var Sh=JSON.stringify(mh);mh.version||(mh.version="2.0");var Wh=Of.Headers;Wh["Content-Type"]="application/json",Wh["Content-MD5"]=dd.b64(dd.md5(Sh)),Qm.call(this,{Action:"name/cos:PutBucketPolicy",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,action:"policy",body:Sh,headers:Wh,tracker:Of.tracker},function(Fh,om){if(Fh&&Fh.statusCode===204)return Ch(null,{statusCode:Fh.statusCode});if(Fh)return Ch(Fh);Ch(null,{statusCode:om.statusCode,headers:om.headers})})}function Hd(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketPolicy",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"policy",rawBody:!0,tracker:Of.tracker},function(mh,Sh){if(mh)return mh.statusCode&&mh.statusCode===403?Ch(dd.error(mh,{ErrorStatus:"Access Denied"})):mh.statusCode&&mh.statusCode===405?Ch(dd.error(mh,{ErrorStatus:"Method Not Allowed"})):mh.statusCode&&mh.statusCode===404?Ch(dd.error(mh,{ErrorStatus:"Policy Not Found"})):Ch(mh);var Wh={};try{Wh=JSON.parse(Sh.body)}catch{}Ch(null,{Policy:Wh,statusCode:Sh.statusCode,headers:Sh.headers})})}function Gd(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketPolicy",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"policy",tracker:Of.tracker},function(mh,Sh){if(mh&&mh.statusCode===204)return Ch(null,{statusCode:mh.statusCode});if(mh)return Ch(mh);Ch(null,{statusCode:Sh.statusCode||mh.statusCode,headers:Sh.headers})})}function Vd(Of,Ch){var mh=Of.Tagging||{},Sh=mh.TagSet||mh.Tags||Of.Tags||[];Sh=dd.clone(dd.isArray(Sh)?Sh:[Sh]);var Wh=dd.json2xml({Tagging:{TagSet:{Tag:Sh}}}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:PutBucketTagging",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Wh,action:"tagging",headers:Fh,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function Qd(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketTagging",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"tagging",tracker:Of.tracker},function(mh,Sh){if(mh){if(mh.statusCode===404&&mh.error&&(mh.error==="Not Found"||mh.error.Code==="NoSuchTagSet")){var Wh={Tags:[],statusCode:mh.statusCode};mh.headers&&(Wh.headers=mh.headers),Ch(null,Wh)}else Ch(mh);return}var Fh=[];try{Fh=Sh.Tagging.TagSet.Tag||[]}catch{}Fh=dd.clone(dd.isArray(Fh)?Fh:[Fh]),Ch(null,{Tags:Fh,statusCode:Sh.statusCode,headers:Sh.headers})})}function mf(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketTagging",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"tagging",tracker:Of.tracker},function(mh,Sh){if(mh&&mh.statusCode===204)return Ch(null,{statusCode:mh.statusCode});if(mh)return Ch(mh);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Yd(Of,Ch){var mh=Of.LifecycleConfiguration||{},Sh=mh.Rules||Of.Rules||[];Sh=dd.clone(Sh);var Wh=dd.json2xml({LifecycleConfiguration:{Rule:Sh}}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:PutBucketLifecycle",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Wh,action:"lifecycle",headers:Fh,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function Zd(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketLifecycle",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"lifecycle",tracker:Of.tracker},function(mh,Sh){if(mh){if(mh.statusCode===404&&mh.error&&mh.error.Code==="NoSuchLifecycleConfiguration"){var Wh={Rules:[],statusCode:mh.statusCode};mh.headers&&(Wh.headers=mh.headers),Ch(null,Wh)}else Ch(mh);return}var Fh=[];try{Fh=Sh.LifecycleConfiguration.Rule||[]}catch{}Fh=dd.clone(dd.isArray(Fh)?Fh:[Fh]),Ch(null,{Rules:Fh,statusCode:Sh.statusCode,headers:Sh.headers})})}function Kd(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketLifecycle",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"lifecycle",tracker:Of.tracker},function(mh,Sh){if(mh&&mh.statusCode===204)return Ch(null,{statusCode:mh.statusCode});if(mh)return Ch(mh);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function bf(Of,Ch){if(!Of.VersioningConfiguration){Ch(dd.error(new Error("missing param VersioningConfiguration")));return}var mh=Of.VersioningConfiguration||{},Sh=dd.json2xml({VersioningConfiguration:mh}),Wh=Of.Headers;Wh["Content-Type"]="application/xml",Wh["Content-MD5"]=dd.b64(dd.md5(Sh)),Qm.call(this,{Action:"name/cos:PutBucketVersioning",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Sh,action:"versioning",headers:Wh,tracker:Of.tracker},function(Fh,om){if(Fh&&Fh.statusCode===204)return Ch(null,{statusCode:Fh.statusCode});if(Fh)return Ch(Fh);Ch(null,{statusCode:om.statusCode,headers:om.headers})})}function gf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketVersioning",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"versioning",tracker:Of.tracker},function(mh,Sh){mh||!Sh.VersioningConfiguration&&(Sh.VersioningConfiguration={}),Ch(mh,Sh)})}function Ef(Of,Ch){var mh=dd.clone(Of.ReplicationConfiguration),Sh=dd.json2xml({ReplicationConfiguration:mh});Sh=Sh.replace(/<(\/?)Rules>/gi,"<$1Rule>"),Sh=Sh.replace(/<(\/?)Tags>/gi,"<$1Tag>");var Wh=Of.Headers;Wh["Content-Type"]="application/xml",Wh["Content-MD5"]=dd.b64(dd.md5(Sh)),Qm.call(this,{Action:"name/cos:PutBucketReplication",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Sh,action:"replication",headers:Wh,tracker:Of.tracker},function(Fh,om){if(Fh&&Fh.statusCode===204)return Ch(null,{statusCode:Fh.statusCode});if(Fh)return Ch(Fh);Ch(null,{statusCode:om.statusCode,headers:om.headers})})}function yf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketReplication",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"replication",tracker:Of.tracker},function(mh,Sh){if(mh){if(mh.statusCode===404&&mh.error&&(mh.error==="Not Found"||mh.error.Code==="ReplicationConfigurationnotFoundError")){var Wh={ReplicationConfiguration:{Rules:[]},statusCode:mh.statusCode};mh.headers&&(Wh.headers=mh.headers),Ch(null,Wh)}else Ch(mh);return}!Sh.ReplicationConfiguration&&(Sh.ReplicationConfiguration={}),Sh.ReplicationConfiguration.Rule&&(Sh.ReplicationConfiguration.Rules=dd.makeArray(Sh.ReplicationConfiguration.Rule),delete Sh.ReplicationConfiguration.Rule),Ch(mh,Sh)})}function xf(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"replication",tracker:Of.tracker},function(mh,Sh){if(mh&&mh.statusCode===204)return Ch(null,{statusCode:mh.statusCode});if(mh)return Ch(mh);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Af(Of,Ch){if(!Of.WebsiteConfiguration){Ch(dd.error(new Error("missing param WebsiteConfiguration")));return}var mh=dd.clone(Of.WebsiteConfiguration||{}),Sh=mh.RoutingRules||mh.RoutingRule||[];Sh=dd.isArray(Sh)?Sh:[Sh],delete mh.RoutingRule,delete mh.RoutingRules,Sh.length&&(mh.RoutingRules={RoutingRule:Sh});var Wh=dd.json2xml({WebsiteConfiguration:mh}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:PutBucketWebsite",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Wh,action:"website",headers:Fh,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function Lf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketWebsite",method:"GET",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:Of.Headers,action:"website",tracker:Of.tracker},function(mh,Sh){if(mh){if(mh.statusCode===404&&mh.error.Code==="NoSuchWebsiteConfiguration"){var Wh={WebsiteConfiguration:{},statusCode:mh.statusCode};mh.headers&&(Wh.headers=mh.headers),Ch(null,Wh)}else Ch(mh);return}var Fh=Sh.WebsiteConfiguration||{};if(Fh.RoutingRules){var om=dd.clone(Fh.RoutingRules.RoutingRule||[]);om=dd.makeArray(om),Fh.RoutingRules=om}Ch(null,{WebsiteConfiguration:Fh,statusCode:Sh.statusCode,headers:Sh.headers})})}function Xf(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketWebsite",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"website",tracker:Of.tracker},function(mh,Sh){if(mh&&mh.statusCode===204)return Ch(null,{statusCode:mh.statusCode});if(mh)return Ch(mh);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function ih(Of,Ch){if(!Of.RefererConfiguration){Ch(dd.error(new Error("missing param RefererConfiguration")));return}var mh=dd.clone(Of.RefererConfiguration||{}),Sh=mh.DomainList||{},Wh=Sh.Domains||Sh.Domain||[];Wh=dd.isArray(Wh)?Wh:[Wh],Wh.length&&(mh.DomainList={Domain:Wh});var Fh=dd.json2xml({RefererConfiguration:mh}),om=Of.Headers;om["Content-Type"]="application/xml",om["Content-MD5"]=dd.b64(dd.md5(Fh)),Qm.call(this,{Action:"name/cos:PutBucketReferer",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Fh,action:"referer",headers:om,tracker:Of.tracker},function(im,Rh){if(im&&im.statusCode===204)return Ch(null,{statusCode:im.statusCode});if(im)return Ch(im);Ch(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function Zf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketReferer",method:"GET",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:Of.Headers,action:"referer",tracker:Of.tracker},function(mh,Sh){if(mh){if(mh.statusCode===404&&mh.error.Code==="NoSuchRefererConfiguration"){var Wh={WebsiteConfiguration:{},statusCode:mh.statusCode};mh.headers&&(Wh.headers=mh.headers),Ch(null,Wh)}else Ch(mh);return}var Fh=Sh.RefererConfiguration||{};if(Fh.DomainList){var om=dd.makeArray(Fh.DomainList.Domain||[]);Fh.DomainList={Domains:om}}Ch(null,{RefererConfiguration:Fh,statusCode:Sh.statusCode,headers:Sh.headers})})}function jf(Of,Ch){var mh=Of.DomainConfiguration||{},Sh=mh.DomainRule||Of.DomainRule||[];Sh=dd.clone(Sh);var Wh=dd.json2xml({DomainConfiguration:{DomainRule:Sh}}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:PutBucketDomain",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Wh,action:"domain",headers:Fh,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function If(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketDomain",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"domain",tracker:Of.tracker},function(mh,Sh){if(mh)return Ch(mh);var Wh=[];try{Wh=Sh.DomainConfiguration.DomainRule||[]}catch{}Wh=dd.clone(dd.isArray(Wh)?Wh:[Wh]),Ch(null,{DomainRule:Wh,statusCode:Sh.statusCode,headers:Sh.headers})})}function Uf(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketDomain",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"domain",tracker:Of.tracker},function(mh,Sh){if(mh&&mh.statusCode===204)return Ch(null,{statusCode:mh.statusCode});if(mh)return Ch(mh);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function qf(Of,Ch){var mh=Of.OriginConfiguration||{},Sh=mh.OriginRule||Of.OriginRule||[];Sh=dd.clone(Sh);var Wh=dd.json2xml({OriginConfiguration:{OriginRule:Sh}}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:PutBucketOrigin",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Wh,action:"origin",headers:Fh,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function Kf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketOrigin",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"origin",tracker:Of.tracker},function(mh,Sh){if(mh)return Ch(mh);var Wh=[];try{Wh=Sh.OriginConfiguration.OriginRule||[]}catch{}Wh=dd.clone(dd.isArray(Wh)?Wh:[Wh]),Ch(null,{OriginRule:Wh,statusCode:Sh.statusCode,headers:Sh.headers})})}function Tf(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketOrigin",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"origin",tracker:Of.tracker},function(mh,Sh){if(mh&&mh.statusCode===204)return Ch(null,{statusCode:mh.statusCode});if(mh)return Ch(mh);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function vf(Of,Ch){var mh=dd.json2xml({BucketLoggingStatus:Of.BucketLoggingStatus||""}),Sh=Of.Headers;Sh["Content-Type"]="application/xml",Sh["Content-MD5"]=dd.b64(dd.md5(mh)),Qm.call(this,{Action:"name/cos:PutBucketLogging",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:mh,action:"logging",headers:Sh,tracker:Of.tracker},function(Wh,Fh){if(Wh&&Wh.statusCode===204)return Ch(null,{statusCode:Wh.statusCode});if(Wh)return Ch(Wh);Ch(null,{statusCode:Fh.statusCode,headers:Fh.headers})})}function Gf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketLogging",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"logging",tracker:Of.tracker},function(mh,Sh){if(mh)return Ch(mh);Ch(null,{BucketLoggingStatus:Sh.BucketLoggingStatus,statusCode:Sh.statusCode,headers:Sh.headers})})}function Jf(Of,Ch,mh){var Sh=dd.clone(Ch.InventoryConfiguration);if(Sh.OptionalFields){var Wh=Sh.OptionalFields||[];Sh.OptionalFields={Field:Wh}}if(Sh.Destination&&Sh.Destination.COSBucketDestination&&Sh.Destination.COSBucketDestination.Encryption){var Fh=Sh.Destination.COSBucketDestination.Encryption;Object.keys(Fh).indexOf("SSECOS")>-1&&(Fh["SSE-COS"]=Fh.SSECOS,delete Fh.SSECOS)}var om=dd.json2xml({InventoryConfiguration:Sh}),im=Ch.Headers;im["Content-Type"]="application/xml",im["Content-MD5"]=dd.b64(dd.md5(om));var Rh=Of==="PUT"?"name/cos:PutBucketInventory":"name/cos:PostBucketInventory";Qm.call(this,{Action:Rh,method:Of,Bucket:Ch.Bucket,Region:Ch.Region,body:om,action:"inventory",qs:{id:Ch.Id},headers:im,tracker:Ch.tracker},function(Im,Pm){if(Im&&Im.statusCode===204)return mh(null,{statusCode:Im.statusCode});if(Im)return mh(Im);mh(null,{statusCode:Pm.statusCode,headers:Pm.headers})})}function gh(Of,Ch){return Jf.call(this,"PUT",Of,Ch)}function th(Of,Ch){return Jf.call(this,"POST",Of,Ch)}function Pf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketInventory",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"inventory",qs:{id:Of.Id},tracker:Of.tracker},function(mh,Sh){if(mh)return Ch(mh);var Wh=Sh.InventoryConfiguration;if(Wh&&Wh.OptionalFields&&Wh.OptionalFields.Field){var Fh=Wh.OptionalFields.Field;dd.isArray(Fh)||(Fh=[Fh]),Wh.OptionalFields=Fh}if(Wh.Destination&&Wh.Destination.COSBucketDestination&&Wh.Destination.COSBucketDestination.Encryption){var om=Wh.Destination.COSBucketDestination.Encryption;Object.keys(om).indexOf("SSE-COS")>-1&&(om.SSECOS=om["SSE-COS"],delete om["SSE-COS"])}Ch(null,{InventoryConfiguration:Wh,statusCode:Sh.statusCode,headers:Sh.headers})})}function uh(Of,Ch){Qm.call(this,{Action:"name/cos:ListBucketInventory",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"inventory",qs:{"continuation-token":Of.ContinuationToken},tracker:Of.tracker},function(mh,Sh){if(mh)return Ch(mh);var Wh=Sh.ListInventoryConfigurationResult,Fh=Wh.InventoryConfiguration||[];Fh=dd.isArray(Fh)?Fh:[Fh],delete Wh.InventoryConfiguration,dd.each(Fh,function(om){if(om&&om.OptionalFields&&om.OptionalFields.Field){var im=om.OptionalFields.Field;dd.isArray(im)||(im=[im]),om.OptionalFields=im}if(om.Destination&&om.Destination.COSBucketDestination&&om.Destination.COSBucketDestination.Encryption){var Rh=om.Destination.COSBucketDestination.Encryption;Object.keys(Rh).indexOf("SSE-COS")>-1&&(Rh.SSECOS=Rh["SSE-COS"],delete Rh["SSE-COS"])}}),Wh.InventoryConfigurations=Fh,dd.extend(Wh,{statusCode:Sh.statusCode,headers:Sh.headers}),Ch(null,Wh)})}function xh(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketInventory",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"inventory",qs:{id:Of.Id},tracker:Of.tracker},function(mh,Sh){if(mh&&mh.statusCode===204)return Ch(null,{statusCode:mh.statusCode});if(mh)return Ch(mh);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Qf(Of,Ch){if(!Of.AccelerateConfiguration){Ch(dd.error(new Error("missing param AccelerateConfiguration")));return}var mh={AccelerateConfiguration:Of.AccelerateConfiguration||{}},Sh=dd.json2xml(mh),Wh={};Wh["Content-Type"]="application/xml",Wh["Content-MD5"]=dd.b64(dd.md5(Sh)),Qm.call(this,{Action:"name/cos:PutBucketAccelerate",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Sh,action:"accelerate",headers:Wh,tracker:Of.tracker},function(Fh,om){if(Fh)return Ch(Fh);Ch(null,{statusCode:om.statusCode,headers:om.headers})})}function Nf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketAccelerate",method:"GET",Bucket:Of.Bucket,Region:Of.Region,action:"accelerate",tracker:Of.tracker},function(mh,Sh){mh||!Sh.AccelerateConfiguration&&(Sh.AccelerateConfiguration={}),Ch(mh,Sh)})}function $f(Of,Ch){var mh=Of.ServerSideEncryptionConfiguration||{},Sh=mh.Rule||mh.Rules||[],Wh=dd.json2xml({ServerSideEncryptionConfiguration:{Rule:Sh}}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:PutBucketEncryption",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Wh,action:"encryption",headers:Fh,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function Wf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketEncryption",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"encryption",tracker:Of.tracker},function(mh,Sh){if(mh){if(mh.statusCode===404&&mh.code==="NoSuchEncryptionConfiguration"){var Wh={EncryptionConfiguration:{Rules:[]},statusCode:mh.statusCode};mh.headers&&(Wh.headers=mh.headers),Ch(null,Wh)}else Ch(mh);return}var Fh=dd.makeArray(Sh.EncryptionConfiguration&&Sh.EncryptionConfiguration.Rule||[]);Sh.EncryptionConfiguration={Rules:Fh},Ch(mh,Sh)})}function vh(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"encryption",tracker:Of.tracker},function(mh,Sh){if(mh&&mh.statusCode===204)return Ch(null,{statusCode:mh.statusCode});if(mh)return Ch(mh);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Th(Of,Ch){Qm.call(this,{Action:"name/cos:HeadObject",method:"HEAD",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,VersionId:Of.VersionId,headers:Of.Headers,tracker:Of.tracker},function(mh,Sh){if(mh){var Wh=mh.statusCode;return Of.Headers["If-Modified-Since"]&&Wh&&Wh===304?Ch(null,{NotModified:!0,statusCode:Wh}):Ch(mh)}Sh.ETag=dd.attr(Sh.headers,"etag",""),Ch(null,Sh)})}function dh(Of,Ch){var mh={};mh.prefix=Of.Prefix||"",mh.delimiter=Of.Delimiter,mh["key-marker"]=Of.KeyMarker,mh["version-id-marker"]=Of.VersionIdMarker,mh["max-keys"]=Of.MaxKeys,mh["encoding-type"]=Of.EncodingType,Qm.call(this,{Action:"name/cos:GetBucketObjectVersions",ResourceKey:mh.prefix,method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,qs:mh,action:"versions",tracker:Of.tracker},function(Sh,Wh){if(Sh)return Ch(Sh);var Fh=Wh.ListVersionsResult||{},om=Fh.DeleteMarker||[];om=dd.isArray(om)?om:[om];var im=Fh.Version||[];im=dd.isArray(im)?im:[im];var Rh=dd.clone(Fh);delete Rh.DeleteMarker,delete Rh.Version,dd.extend(Rh,{DeleteMarkers:om,Versions:im,statusCode:Wh.statusCode,headers:Wh.headers}),Ch(null,Rh)})}function Vh(Of,Ch){if(this.options.ObjectKeySimplifyCheck){var mh=dd.simplifyPath(Of.Key);if(mh==="/"){Ch(dd.error(new Error("The Getobject Key is illegal")));return}}var Sh=Of.Query||{},Wh=Of.QueryString||"",Fh=dd.throttleOnProgress.call(this,0,Of.onProgress),om=Of.tracker;om&&om.setParams({signStartTime:new Date().getTime()}),Sh["response-content-type"]=Of.ResponseContentType,Sh["response-content-language"]=Of.ResponseContentLanguage,Sh["response-expires"]=Of.ResponseExpires,Sh["response-cache-control"]=Of.ResponseCacheControl,Sh["response-content-disposition"]=Of.ResponseContentDisposition,Sh["response-content-encoding"]=Of.ResponseContentEncoding,Qm.call(this,{Action:"name/cos:GetObject",method:"GET",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,VersionId:Of.VersionId,DataType:Of.DataType,headers:Of.Headers,qs:Sh,qsStr:Wh,rawBody:!0,onDownloadProgress:Fh,tracker:om},function(im,Rh){if(Fh(null,!0),im){var Im=im.statusCode;return Of.Headers["If-Modified-Since"]&&Im&&Im===304?Ch(null,{NotModified:!0}):Ch(im)}Ch(null,{Body:Rh.body,ETag:dd.attr(Rh.headers,"etag",""),statusCode:Rh.statusCode,headers:Rh.headers})})}function wh(Of,Ch){var mh=this,Sh=Of.ContentLength,Wh=dd.throttleOnProgress.call(mh,Sh,Of.onProgress),Fh=Of.Headers;!Fh["Cache-Control"]&&!Fh["cache-control"]&&(Fh["Cache-Control"]=""),!Fh["Content-Type"]&&!Fh["content-type"]&&(Fh["Content-Type"]=Of.Body&&Of.Body.type||"");var om=Of.UploadAddMetaMd5||mh.options.UploadAddMetaMd5||mh.options.UploadCheckContentMd5,im=Of.tracker;om&&im&&im.setParams({md5StartTime:new Date().getTime()}),dd.getBodyMd5(om,Of.Body,function(Rh){Rh&&(im&&im.setParams({md5EndTime:new Date().getTime()}),mh.options.UploadCheckContentMd5&&(Fh["Content-MD5"]=dd.b64(Rh)),(Of.UploadAddMetaMd5||mh.options.UploadAddMetaMd5)&&(Fh["x-cos-meta-md5"]=Rh)),Of.ContentLength!==void 0&&(Fh["Content-Length"]=Of.ContentLength),Wh(null,!0),Qm.call(mh,{Action:"name/cos:PutObject",TaskId:Of.TaskId,method:"PUT",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:Of.Headers,qs:Of.Query,body:Of.Body,onProgress:Wh,tracker:im},function(Im,Pm){if(Im)return Wh(null,!0),Ch(Im);Wh({loaded:Sh,total:Sh},!0);var i_=L_({ForcePathStyle:mh.options.ForcePathStyle,protocol:mh.options.Protocol,domain:mh.options.Domain,bucket:Of.Bucket,region:mh.options.UseAccelerate?"accelerate":Of.Region,object:Of.Key});i_=i_.substr(i_.indexOf("://")+3),Pm.Location=i_,Pm.ETag=dd.attr(Pm.headers,"etag",""),Ch(null,Pm)})},Of.onHashProgress)}function fm(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteObject",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:Of.Headers,VersionId:Of.VersionId,action:Of.Recursive?"recursive":"",tracker:Of.tracker},function(mh,Sh){if(mh){var Wh=mh.statusCode;return Wh&&Wh===404?Ch(null,{BucketNotFound:!0,statusCode:Wh}):Ch(mh)}Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Nm(Of,Ch){var mh={};Of.VersionId&&(mh.versionId=Of.VersionId),Qm.call(this,{Action:"name/cos:GetObjectACL",method:"GET",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:Of.Headers,qs:mh,action:"acl",tracker:Of.tracker},function(Sh,Wh){if(Sh)return Ch(Sh);var Fh=Wh.AccessControlPolicy||{},om=Fh.Owner||{},im=Fh.AccessControlList&&Fh.AccessControlList.Grant||[];im=dd.isArray(im)?im:[im];var Rh=h_(Fh);delete Rh.GrantWrite,Wh.headers&&Wh.headers["x-cos-acl"]&&(Rh.ACL=Wh.headers["x-cos-acl"]),Rh=dd.extend(Rh,{Owner:om,Grants:im,statusCode:Wh.statusCode,headers:Wh.headers}),Ch(null,Rh)})}function cm(Of,Ch){var mh=Of.Headers,Sh="";if(Of.AccessControlPolicy){var Wh=dd.clone(Of.AccessControlPolicy||{}),Fh=Wh.Grants||Wh.Grant;Fh=dd.isArray(Fh)?Fh:[Fh],delete Wh.Grant,delete Wh.Grants,Wh.AccessControlList={Grant:Fh},Sh=dd.json2xml({AccessControlPolicy:Wh}),mh["Content-Type"]="application/xml",mh["Content-MD5"]=dd.b64(dd.md5(Sh))}dd.each(mh,function(om,im){im.indexOf("x-cos-grant-")===0&&(mh[im]=tg(mh[im]))}),Qm.call(this,{Action:"name/cos:PutObjectACL",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,action:"acl",headers:mh,body:Sh,tracker:Of.tracker},function(om,im){if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function Sm(Of,Ch){var mh=Of.Headers;mh.Origin=Of.Origin,mh["Access-Control-Request-Method"]=Of.AccessControlRequestMethod,mh["Access-Control-Request-Headers"]=Of.AccessControlRequestHeaders,Qm.call(this,{Action:"name/cos:OptionsObject",method:"OPTIONS",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:mh,tracker:Of.tracker},function(Sh,Wh){if(Sh)return Sh.statusCode&&Sh.statusCode===403?Ch(null,{OptionsForbidden:!0,statusCode:Sh.statusCode}):Ch(Sh);var Fh=Wh.headers||{};Ch(null,{AccessControlAllowOrigin:Fh["access-control-allow-origin"],AccessControlAllowMethods:Fh["access-control-allow-methods"],AccessControlAllowHeaders:Fh["access-control-allow-headers"],AccessControlExposeHeaders:Fh["access-control-expose-headers"],AccessControlMaxAge:Fh["access-control-max-age"],statusCode:Wh.statusCode,headers:Wh.headers})})}function $m(Of,Ch){var mh=this,Sh=Of.Headers;!Sh["Cache-Control"]&&!Sh["cache-control"]&&(Sh["Cache-Control"]="");var Wh=Of.CopySource||"",Fh=dd.getSourceParams.call(this,Wh);if(!Fh){Ch(dd.error(new Error("CopySource format error")));return}var om=Fh.Bucket,im=Fh.Region,Rh=decodeURIComponent(Fh.Key);Qm.call(this,{Scope:[{action:"name/cos:GetObject",bucket:om,region:im,prefix:Rh},{action:"name/cos:PutObject",bucket:Of.Bucket,region:Of.Region,prefix:Of.Key}],method:"PUT",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,VersionId:Of.VersionId,headers:Of.Headers,tracker:Of.tracker},function(Im,Pm){if(Im)return Ch(Im);var i_=dd.clone(Pm.CopyObjectResult||{}),Hm=L_({ForcePathStyle:mh.options.ForcePathStyle,protocol:mh.options.Protocol,domain:mh.options.Domain,bucket:Of.Bucket,region:Of.Region,object:Of.Key,isLocation:!0});dd.extend(i_,{Location:Hm,statusCode:Pm.statusCode,headers:Pm.headers}),Ch(null,i_)})}function ph(Of,Ch){var mh=Of.CopySource||"",Sh=dd.getSourceParams.call(this,mh);if(!Sh){Ch(dd.error(new Error("CopySource format error")));return}var Wh=Sh.Bucket,Fh=Sh.Region,om=decodeURIComponent(Sh.Key);Qm.call(this,{Scope:[{action:"name/cos:GetObject",bucket:Wh,region:Fh,prefix:om},{action:"name/cos:PutObject",bucket:Of.Bucket,region:Of.Region,prefix:Of.Key}],method:"PUT",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,VersionId:Of.VersionId,qs:{partNumber:Of.PartNumber,uploadId:Of.UploadId},headers:Of.Headers,tracker:Of.tracker},function(im,Rh){if(im)return Ch(im);var Im=dd.clone(Rh.CopyPartResult||{});dd.extend(Im,{statusCode:Rh.statusCode,headers:Rh.headers}),Ch(null,Im)})}function Rf(Of,Ch){var mh=Of.Objects||[],Sh=Of.Quiet;mh=dd.isArray(mh)?mh:[mh];var Wh=dd.json2xml({Delete:{Object:mh,Quiet:Sh||!1}}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh));var om=dd.map(mh,function(im){return{action:"name/cos:DeleteObject",bucket:Of.Bucket,region:Of.Region,prefix:im.Key}});Qm.call(this,{Scope:om,method:"POST",Bucket:Of.Bucket,Region:Of.Region,body:Wh,action:"delete",headers:Fh,tracker:Of.tracker},function(im,Rh){if(im)return Ch(im);var Im=Rh.DeleteResult||{},Pm=Im.Deleted||[],i_=Im.Error||[];Pm=dd.isArray(Pm)?Pm:[Pm],i_=dd.isArray(i_)?i_:[i_];var Hm=dd.clone(Im);dd.extend(Hm,{Error:i_,Deleted:Pm,statusCode:Rh.statusCode,headers:Rh.headers}),Ch(null,Hm)})}function wf(Of,Ch){var mh=Of.Headers;if(!Of.RestoreRequest){Ch(dd.error(new Error("missing param RestoreRequest")));return}var Sh=Of.RestoreRequest||{},Wh=dd.json2xml({RestoreRequest:Sh});mh["Content-Type"]="application/xml",mh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:RestoreObject",method:"POST",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,VersionId:Of.VersionId,body:Wh,action:"restore",headers:mh,tracker:Of.tracker},Ch)}function ch(Of,Ch){var mh=Of.Tagging||{},Sh=mh.TagSet||mh.Tags||Of.Tags||[];Sh=dd.clone(dd.isArray(Sh)?Sh:[Sh]);var Wh=dd.json2xml({Tagging:{TagSet:{Tag:Sh}}}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:PutObjectTagging",method:"PUT",Bucket:Of.Bucket,Key:Of.Key,Region:Of.Region,body:Wh,action:"tagging",headers:Fh,VersionId:Of.VersionId,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function yh(Of,Ch){Qm.call(this,{Action:"name/cos:GetObjectTagging",method:"GET",Key:Of.Key,Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"tagging",VersionId:Of.VersionId,tracker:Of.tracker},function(mh,Sh){if(mh){if(mh.statusCode===404&&mh.error&&(mh.error==="Not Found"||mh.error.Code==="NoSuchTagSet")){var Wh={Tags:[],statusCode:mh.statusCode};mh.headers&&(Wh.headers=mh.headers),Ch(null,Wh)}else Ch(mh);return}var Fh=[];try{Fh=Sh.Tagging.TagSet.Tag||[]}catch{}Fh=dd.clone(dd.isArray(Fh)?Fh:[Fh]),Ch(null,{Tags:Fh,statusCode:Sh.statusCode,headers:Sh.headers})})}function Uh(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteObjectTagging",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:Of.Headers,action:"tagging",VersionId:Of.VersionId,tracker:Of.tracker},function(mh,Sh){if(mh&&mh.statusCode===204)return Ch(null,{statusCode:mh.statusCode});if(mh)return Ch(mh);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Zh(Of,Ch){var mh=Of.SelectType;if(!mh)return Ch(dd.error(new Error("missing param SelectType")));var Sh=Of.SelectRequest||{},Wh=dd.json2xml({SelectRequest:Sh}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:GetObject",method:"POST",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:Of.Headers,action:"select",qs:{"select-type":Of.SelectType},VersionId:Of.VersionId,body:Wh,DataType:"arraybuffer",rawBody:!0,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);var Rh=dd.parseSelectPayload(im.body);Ch(null,{statusCode:im.statusCode,headers:im.headers,Body:Rh.body,Payload:Rh.payload})})}function _m(Of,Ch){var mh=this,Sh=Of.Headers,Wh=Of.tracker;!Sh["Cache-Control"]&&!Sh["cache-control"]&&(Sh["Cache-Control"]=""),!Sh["Content-Type"]&&!Sh["content-type"]&&(Sh["Content-Type"]=Of.Body&&Of.Body.type||"");var Fh=Of.Body&&(Of.UploadAddMetaMd5||mh.options.UploadAddMetaMd5);Fh&&Wh&&Wh.setParams({md5StartTime:new Date().getTime()}),dd.getBodyMd5(Fh,Of.Body,function(om){om&&(Of.Headers["x-cos-meta-md5"]=om),Fh&&Wh&&Wh.setParams({md5EndTime:new Date().getTime()}),Qm.call(mh,{Action:"name/cos:InitiateMultipartUpload",method:"POST",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,action:"uploads",headers:Of.Headers,qs:Of.Query,tracker:Wh},function(im,Rh){if(im)return Wh&&Wh.parent&&Wh.parent.setParams({errorNode:"multipartInit"}),Ch(im);if(Rh=dd.clone(Rh||{}),Rh&&Rh.InitiateMultipartUploadResult)return Ch(null,dd.extend(Rh.InitiateMultipartUploadResult,{statusCode:Rh.statusCode,headers:Rh.headers}));Ch(null,Rh)})},Of.onHashProgress)}function Um(Of,Ch){var mh=this;dd.getFileSize("multipartUpload",Of,function(){var Sh=Of.tracker,Wh=mh.options.UploadCheckContentMd5;Wh&&Sh&&Sh.setParams({md5StartTime:new Date().getTime()}),dd.getBodyMd5(Wh,Of.Body,function(Fh){Fh&&(Of.Headers["Content-MD5"]=dd.b64(Fh)),Wh&&Sh&&Sh.setParams({md5EndTime:new Date().getTime()}),Sh&&Sh.setParams({partNumber:Of.PartNumber}),Qm.call(mh,{Action:"name/cos:UploadPart",TaskId:Of.TaskId,method:"PUT",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,qs:{partNumber:Of.PartNumber,uploadId:Of.UploadId},headers:Of.Headers,onProgress:Of.onProgress,body:Of.Body||null,tracker:Sh},function(om,im){if(om)return Sh&&Sh.parent&&Sh.parent.setParams({errorNode:"multipartUpload"}),Ch(om);Ch(null,{ETag:dd.attr(im.headers,"etag",""),statusCode:im.statusCode,headers:im.headers})})})})}function Om(Of,Ch){for(var mh=this,Sh=Of.UploadId,Wh=Of.Parts,Fh=Of.tracker,om=0,im=Wh.length;om-1?i_(Pm.Authorization):"sign="+encodeURIComponent(Pm.Authorization)),Pm.SecurityToken&&(Hm+="&x-cos-security-token="+Pm.SecurityToken),Pm.ClientIP&&(Hm+="&clientIP="+Pm.ClientIP),Pm.ClientUA&&(Hm+="&clientUA="+Pm.ClientUA),Pm.Token&&(Hm+="&token="+Pm.Token),Fh&&(Hm+="&"+Fh),setTimeout(function(){Ch(null,{Url:Hm})})}});return Rh?(om+="?"+Rh.Authorization+(Rh.SecurityToken?"&x-cos-security-token="+Rh.SecurityToken:""),Fh&&(om+="&"+Fh)):Fh&&(om+="?"+Fh),om}function h_(Of){var Ch={GrantFullControl:[],GrantWrite:[],GrantRead:[],GrantReadAcp:[],GrantWriteAcp:[],ACL:""},mh={FULL_CONTROL:"GrantFullControl",WRITE:"GrantWrite",READ:"GrantRead",READ_ACP:"GrantReadAcp",WRITE_ACP:"GrantWriteAcp"},Sh=Of&&Of.AccessControlList||{},Wh=Sh.Grant;Wh&&(Wh=dd.isArray(Wh)?Wh:[Wh]);var Fh={READ:0,WRITE:0,FULL_CONTROL:0};return Wh&&Wh.length&&dd.each(Wh,function(om){var im=om.Grantee.URI&&om.Grantee.URI.endsWith("/groups/global/AllUsers");om.Grantee.ID==="qcs::cam::anyone:anyone"||im?Fh[om.Permission]=1:om.Grantee.ID!==Of.Owner.ID&&Ch[mh[om.Permission]].push('id="'+om.Grantee.ID+'"')}),Fh.FULL_CONTROL||Fh.WRITE&&Fh.READ?Ch.ACL="public-read-write":Fh.READ?Ch.ACL="public-read":Ch.ACL="private",dd.each(mh,function(om){Ch[om]=tg(Ch[om].join(","))}),Ch}function tg(Of){var Ch=Of.split(","),mh={},Sh,Wh;for(Sh=0;Sh"u"?"undefined":ud(location))==="object"&&location.protocol==="http:"?"http:":"https:");Fh||(["cn-south","cn-south-2","cn-north","cn-east","cn-southwest","sg"].indexOf(Ch)>-1?Fh="{Region}.myqcloud.com":Fh="cos.{Region}.myqcloud.com",Of.ForcePathStyle||(Fh="{Bucket}."+Fh)),Fh=Fh.replace(/\{\{AppId\}\}/gi,Wh).replace(/\{\{Bucket\}\}/gi,Sh).replace(/\{\{Region\}\}/gi,Ch).replace(/\{\{.*?\}\}/gi,""),Fh=Fh.replace(/\{AppId\}/gi,Wh).replace(/\{BucketName\}/gi,Sh).replace(/\{Bucket\}/gi,mh).replace(/\{Region\}/gi,Ch).replace(/\{.*?\}/gi,""),/^[a-zA-Z]+:\/\//.test(Fh)||(Fh=im+"//"+Fh),Fh.slice(-1)==="/"&&(Fh=Fh.slice(0,-1));var Rh=Fh;return Of.ForcePathStyle&&(Rh+="/"+mh),Rh+="/",om&&(Rh+=dd.camSafeUrlEncode(om).replace(/%2F/g,"/")),Of.isLocation&&(Rh=Rh.replace(/^https?:\/\//,"")),Rh}var dg=function(Ch){if(!Ch.Bucket||!Ch.Region)return"";var mh=Ch.UseAccelerate===void 0?this.options.UseAccelerate:Ch.UseAccelerate,Sh=Ch.Url||L_({ForcePathStyle:this.options.ForcePathStyle,protocol:this.options.Protocol,domain:this.options.Domain,bucket:Ch.Bucket,region:mh?"accelerate":Ch.Region}),Wh=Sh.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");return Wh};function yg(Of,Ch){var mh=dd.clone(Of.Headers),Sh="";dd.each(mh,function(N_,y_){(N_===""||["content-type","cache-control","expires"].indexOf(y_.toLowerCase())>-1)&&delete mh[y_],y_.toLowerCase()==="host"&&(Sh=N_)});var Wh=Of.ForceSignHost!==!1;!Sh&&Of.SignHost&&Wh&&(mh.Host=Of.SignHost);var Fh=!1,om=function(y_,fh){Fh||(Fh=!0,fh&&fh.XCosSecurityToken&&!fh.SecurityToken&&(fh=dd.clone(fh),fh.SecurityToken=fh.XCosSecurityToken,delete fh.XCosSecurityToken),Ch&&Ch(y_,fh))},im=this,Rh=Of.Bucket||"",Im=Of.Region||"",Pm=Of.Key||"";im.options.ForcePathStyle&&Rh&&(Pm=Rh+"/"+Pm);var i_="/"+Pm,Hm={},o_=Of.Scope;if(!o_){var j_=Of.Action||"",B_=Of.ResourceKey||Of.Key||"";o_=Of.Scope||[{action:j_,bucket:Rh,region:Im,prefix:B_}]}var C_=dd.md5(JSON.stringify(o_));im._StsCache=im._StsCache||[],function(){var N_,y_;for(N_=im._StsCache.length-1;N_>=0;N_--){y_=im._StsCache[N_];var fh=Math.round(dd.getSkewTime(im.options.SystemClockOffset)/1e3)+30;if(y_.StartTime&&fh=y_.ExpiredTime){im._StsCache.splice(N_,1);continue}if(!y_.ScopeLimit||y_.ScopeLimit&&y_.ScopeKey===C_){Hm=y_;break}}}();var Km=function(){var y_="";Hm.StartTime&&Of.Expires?y_=Hm.StartTime+";"+(Hm.StartTime+Of.Expires*1):Hm.StartTime&&Hm.ExpiredTime&&(y_=Hm.StartTime+";"+Hm.ExpiredTime);var fh=dd.getAuth({SecretId:Hm.TmpSecretId,SecretKey:Hm.TmpSecretKey,Method:Of.Method,Pathname:i_,Query:Of.Query,Headers:mh,Expires:Of.Expires,UseRawKey:im.options.UseRawKey,SystemClockOffset:im.options.SystemClockOffset,KeyTime:y_,ForceSignHost:Wh}),Bh={Authorization:fh,SecurityToken:Hm.SecurityToken||Hm.XCosSecurityToken||"",Token:Hm.Token||"",ClientIP:Hm.ClientIP||"",ClientUA:Hm.ClientUA||"",SignFrom:"client"};om(null,Bh)},ig=function(y_){if(y_.Authorization){var fh=!1,Bh=y_.Authorization;if(Bh)if(Bh.indexOf(" ")>-1)fh=!1;else if(Bh.indexOf("q-sign-algorithm=")>-1&&Bh.indexOf("q-ak=")>-1&&Bh.indexOf("q-sign-time=")>-1&&Bh.indexOf("q-key-time=")>-1&&Bh.indexOf("q-url-param-list=")>-1)fh=!0;else try{Bh=atob(Bh),Bh.indexOf("a=")>-1&&Bh.indexOf("k=")>-1&&Bh.indexOf("t=")>-1&&Bh.indexOf("r=")>-1&&Bh.indexOf("b=")>-1&&(fh=!0)}catch{}if(!fh)return dd.error(new Error("getAuthorization callback params format error"))}else{if(!y_.TmpSecretId)return dd.error(new Error('getAuthorization callback params missing "TmpSecretId"'));if(!y_.TmpSecretKey)return dd.error(new Error('getAuthorization callback params missing "TmpSecretKey"'));if(!y_.SecurityToken&&!y_.XCosSecurityToken)return dd.error(new Error('getAuthorization callback params missing "SecurityToken"'));if(!y_.ExpiredTime)return dd.error(new Error('getAuthorization callback params missing "ExpiredTime"'));if(y_.ExpiredTime&&y_.ExpiredTime.toString().length!==10)return dd.error(new Error('getAuthorization callback params "ExpiredTime" should be 10 digits'));if(y_.StartTime&&y_.StartTime.toString().length!==10)return dd.error(new Error('getAuthorization callback params "StartTime" should be 10 StartTime'))}return!1};if(Hm.ExpiredTime&&Hm.ExpiredTime-dd.getSkewTime(im.options.SystemClockOffset)/1e3>60)Km();else if(im.options.getAuthorization)im.options.getAuthorization.call(im,{Bucket:Rh,Region:Im,Method:Of.Method,Key:Pm,Pathname:i_,Query:Of.Query,Headers:mh,Scope:o_,SystemClockOffset:im.options.SystemClockOffset,ForceSignHost:Wh},function(N_){typeof N_=="string"&&(N_={Authorization:N_});var y_=ig(N_);if(y_)return om(y_);N_.Authorization?om(null,N_):(Hm=N_||{},Hm.Scope=o_,Hm.ScopeKey=C_,im._StsCache.push(Hm),Km())});else if(im.options.getSTS)im.options.getSTS.call(im,{Bucket:Rh,Region:Im},function(N_){Hm=N_||{},Hm.Scope=o_,Hm.ScopeKey=C_,Hm.TmpSecretId||(Hm.TmpSecretId=Hm.SecretId),Hm.TmpSecretKey||(Hm.TmpSecretKey=Hm.SecretKey);var y_=ig(Hm);if(y_)return om(y_);im._StsCache.push(Hm),Km()});else return function(){var N_="";if(im.options.StartTime&&Of.Expires){if(im.options.StartTime.toString().length!==10)return om(dd.error(new Error('params "StartTime" should be 10 digits')));N_=im.options.StartTime+";"+(im.options.StartTime+Of.Expires*1)}else if(im.options.StartTime&&im.options.ExpiredTime){if(im.options.StartTime.toString().length!==10)return om(dd.error(new Error('params "StartTime" should be 10 digits')));if(im.options.ExpiredTime.toString().length!==10)return om(dd.error(new Error('params "ExpiredTime" should be 10 digits')));N_=im.options.StartTime+";"+im.options.ExpiredTime*1}var y_=dd.getAuth({SecretId:Of.SecretId||im.options.SecretId,SecretKey:Of.SecretKey||im.options.SecretKey,Method:Of.Method,Pathname:i_,Query:Of.Query,Headers:mh,Expires:Of.Expires,KeyTime:N_,UseRawKey:im.options.UseRawKey,SystemClockOffset:im.options.SystemClockOffset,ForceSignHost:Wh}),fh={Authorization:y_,SecurityToken:im.options.SecurityToken||im.options.XCosSecurityToken,SignFrom:"client"};return om(null,fh),fh}();return""}function q_(Of){var Ch=this,mh=!1,Sh=!1,Wh=!1,Fh=Of.headers&&(Of.headers.date||Of.headers.Date)||Of.error&&Of.error.ServerTime;try{var om=Of.error.Code,im=Of.error.Message;(om==="RequestTimeTooSkewed"||om==="AccessDenied"&&im==="Request has expired")&&(Sh=!0)}catch{}if(Of)if(Sh&&Fh){var Rh=Date.parse(Fh);this.options.CorrectClockSkew&&Math.abs(dd.getSkewTime(this.options.SystemClockOffset)-Rh)>=3e4&&(console.error("error: Local time is too skewed."),this.options.SystemClockOffset=Rh-Date.now(),mh=!0)}else Math.floor(Of.statusCode/100)===5?mh=!0:Of.message==="CORS blocked or network error"&&(Wh=!0,mh=Ch.options.AutoSwitchHost);return{canRetry:mh,networkError:Wh}}function Y_(Of){var Ch=Of.requestUrl,mh=Of.clientCalcSign,Sh=Of.networkError;if(!this.options.AutoSwitchHost||!Ch||!mh||!Sh)return!1;var Wh=/^https?:\/\/[^\/]*\.cos\.[^\/]*\.myqcloud\.com(\/.*)?$/,Fh=/^https?:\/\/[^\/]*\.cos\.accelerate\.myqcloud\.com(\/.*)?$/,om=Wh.test(Ch)&&!Fh.test(Ch);return om}function Qm(Of,Ch){var mh=this;!Of.headers&&(Of.headers={}),!Of.qs&&(Of.qs={}),Of.VersionId&&(Of.qs.versionId=Of.VersionId),Of.qs=dd.clearKey(Of.qs),Of.headers&&(Of.headers=dd.clearKey(Of.headers)),Of.qs&&(Of.qs=dd.clearKey(Of.qs));var Sh=dd.clone(Of.qs);Of.action&&(Sh[Of.action]="");var Wh=Of.url||Of.Url,Fh=Of.SignHost||dg.call(this,{Bucket:Of.Bucket,Region:Of.Region,Url:Wh}),om=Of.tracker,im=function Rh(Im){var Pm=mh.options.SystemClockOffset;om&&om.setParams({signStartTime:new Date().getTime(),httpRetryTimes:Im-1}),Of.SwitchHost&&(Fh=Fh.replace(/myqcloud.com/,"tencentcos.cn")),yg.call(mh,{Bucket:Of.Bucket||"",Region:Of.Region||"",Method:Of.method,Key:Of.Key,Query:Sh,Headers:Of.headers,SignHost:Fh,Action:Of.Action,ResourceKey:Of.ResourceKey,Scope:Of.Scope,ForceSignHost:mh.options.ForceSignHost,SwitchHost:Of.SwitchHost},function(i_,Hm){if(i_){Ch(i_);return}om&&om.setParams({signEndTime:new Date().getTime(),httpStartTime:new Date().getTime()}),Of.AuthData=Hm,Zg.call(mh,Of,function(o_,j_){om&&om.setParams({httpEndTime:new Date().getTime()});var B_=!1,C_=!1;if(o_){var Km=q_.call(mh,o_);B_=Km.canRetry||Pm!==mh.options.SystemClockOffset,C_=Km.networkError}if(o_&&Im<2&&B_){Of.headers&&(delete Of.headers.Authorization,delete Of.headers.token,delete Of.headers.clientIP,delete Of.headers.clientUA,Of.headers["x-cos-security-token"]&&delete Of.headers["x-cos-security-token"],Of.headers["x-ci-security-token"]&&delete Of.headers["x-ci-security-token"]);var ig=Y_.call(mh,{requestUrl:(o_==null?void 0:o_.url)||"",clientCalcSign:Hm.SignFrom==="client",networkError:C_});Of.SwitchHost=ig,Of.retry=!0,Rh(Im+1)}else Ch(o_,j_)})})};im(1)}function Zg(Of,Ch){var mh=this,Sh=Of.TaskId;if(!(Sh&&!mh._isRunningTask(Sh))){var Wh=Of.Bucket,Fh=Of.Region,om=Of.Key,im=Of.method||"GET",Rh=Of.Url||Of.url,Im=Of.body,Pm=Of.rawBody;mh.options.UseAccelerate&&(Fh="accelerate"),Rh=Rh||L_({ForcePathStyle:mh.options.ForcePathStyle,protocol:mh.options.Protocol,domain:mh.options.Domain,bucket:Wh,region:Fh,object:om}),Of.SwitchHost&&(Rh=Rh.replace(/myqcloud.com/,"tencentcos.cn"));var i_=om?Rh:"";Of.action&&(Rh=Rh+"?"+(dd.isIOS_QQ?"".concat(Of.action,"="):Of.action)),Of.qsStr&&(Rh.indexOf("?")>-1?Rh=Rh+"&"+Of.qsStr:Rh=Rh+"?"+Of.qsStr);var Hm={method:im,url:Rh,headers:Of.headers,qs:Of.qs,body:Im},o_="x-cos-security-token";if(dd.isCIHost(Rh)&&(o_="x-ci-security-token"),Hm.headers.Authorization=Of.AuthData.Authorization,Of.AuthData.Token&&(Hm.headers.token=Of.AuthData.Token),Of.AuthData.ClientIP&&(Hm.headers.clientIP=Of.AuthData.ClientIP),Of.AuthData.ClientUA&&(Hm.headers.clientUA=Of.AuthData.ClientUA),Of.AuthData.SecurityToken&&(Hm.headers[o_]=Of.AuthData.SecurityToken),Hm.headers&&(Hm.headers=dd.clearKey(Hm.headers)),Of.retry&&(Hm.headers["x-cos-sdk-retry"]=!0),Hm=dd.clearKey(Hm),Of.onProgress&&typeof Of.onProgress=="function"){var j_=Im&&(Im.size||Im.length)||0;Hm.onProgress=function(fh){if(!(Sh&&!mh._isRunningTask(Sh))){var Bh=fh?fh.loaded:0;Of.onProgress({loaded:Bh,total:j_})}}}Of.onDownloadProgress&&(Hm.onDownloadProgress=Of.onDownloadProgress),Of.DataType&&(Hm.dataType=Of.DataType),this.options.Timeout&&(Hm.timeout=this.options.Timeout),mh.options.ForcePathStyle&&(Hm.pathStyle=mh.options.ForcePathStyle),mh.emit("before-send",Hm);var B_=Hm.url.includes("accelerate."),C_=Hm.qs?Object.keys(Hm.qs).map(function(fh){return"".concat(fh,"=").concat(Hm.qs[fh])}).join("&"):"",Km=C_?Hm.url+"?"+C_:Hm.url;if(Of.tracker){var ig;Of.tracker.setParams({url:Km,httpMethod:Hm.method,accelerate:B_,httpSize:((ig=Hm.body)===null||ig===void 0?void 0:ig.size)||0}),Of.tracker.parent&&!Of.tracker.parent.params.url&&Of.tracker.parent.setParams({url:i_,accelerate:B_})}var N_=(mh.options.Request||cd)(Hm,function(fh){if(!(fh&&fh.error==="abort")){var Bh={options:Hm,error:fh&&fh.error,statusCode:fh&&fh.statusCode||0,statusMessage:fh&&fh.statusMessage||"",headers:fh&&fh.headers||{},body:fh&&fh.body};mh.emit("after-receive",Bh);var Mm=Bh.error,zm=Bh.body,Tm={statusCode:Bh.statusCode,statusMessage:Bh.statusMessage,headers:Bh.headers},e_,O_=function(nb,lg){if(Sh&&mh.off("inner-kill-task",y_),!e_){e_=!0;var jg={};if(Tm&&Tm.statusCode&&(jg.statusCode=Tm.statusCode),Tm&&Tm.headers&&(jg.headers=Tm.headers),nb)Hm.url&&(jg.url=Hm.url),Hm.method&&(jg.method=Hm.method),nb=dd.extend(nb||{},jg),Ch(nb,null);else{if(Of.Action==="name/cos:PutObject"){var wg={};for(var Tb in Of.headers){var Jb=Tb.toLowerCase();wg[Jb]=Of.headers[Tb]}wg["x-cos-callback"]?lg.Error?(lg.CallbackError=dd.clone(lg.Error),delete lg.Error):lg.CallbackBody=dd.clone(lg):wg["x-cos-return-body"]&&(lg.Error?(lg.ReturnError=dd.clone(lg.Error),delete lg.Error):lg.ReturnBody=dd.clone(lg))}lg=dd.extend(lg||{},jg),Ch(null,lg)}N_=null}};if(Mm)return O_(dd.error(Mm));var og=Tm.statusCode,Cg=Math.floor(og/100)===2;if(Pm){if(Cg)return O_(null,{body:zm});if(zm instanceof Blob){dd.readAsBinaryString(zm,function(E_){var nb=dd.parseResBody(E_),lg=nb.Error||nb;return O_(dd.error(new Error(lg.Message||"response body error"),{code:lg.Code,error:lg}))});return}}var rb=dd.parseResBody(zm),Eb=rb.Error||rb;Cg?O_(null,rb):Eb?O_(dd.error(new Error(Eb.Message),{code:Eb.Code,error:Eb})):og?O_(dd.error(new Error(Tm.statusMessage),{code:""+og})):og&&O_(dd.error(new Error("statusCode error")))}}),y_=function fh(Bh){Bh.TaskId===Sh&&(N_&&N_.abort&&N_.abort(),mh.off("inner-kill-task",fh))};Sh&&mh.on("inner-kill-task",y_)}}var db={getService:pd,putBucket:fd,headBucket:md,getBucket:vd,deleteBucket:Ad,putBucketAcl:Nd,getBucketAcl:Id,putBucketCors:kd,getBucketCors:jd,deleteBucketCors:Fd,getBucketLocation:Md,getBucketPolicy:Hd,putBucketPolicy:Ld,deleteBucketPolicy:Gd,putBucketTagging:Vd,getBucketTagging:Qd,deleteBucketTagging:mf,putBucketLifecycle:Yd,getBucketLifecycle:Zd,deleteBucketLifecycle:Kd,putBucketVersioning:bf,getBucketVersioning:gf,putBucketReplication:Ef,getBucketReplication:yf,deleteBucketReplication:xf,putBucketWebsite:Af,getBucketWebsite:Lf,deleteBucketWebsite:Xf,putBucketReferer:ih,getBucketReferer:Zf,putBucketDomain:jf,getBucketDomain:If,deleteBucketDomain:Uf,putBucketOrigin:qf,getBucketOrigin:Kf,deleteBucketOrigin:Tf,putBucketLogging:vf,getBucketLogging:Gf,putBucketInventory:gh,postBucketInventory:th,getBucketInventory:Pf,listBucketInventory:uh,deleteBucketInventory:xh,putBucketAccelerate:Qf,getBucketAccelerate:Nf,putBucketEncryption:$f,getBucketEncryption:Wf,deleteBucketEncryption:vh,getObject:Vh,headObject:Th,listObjectVersions:dh,putObject:wh,deleteObject:fm,getObjectAcl:Nm,putObjectAcl:cm,optionsObject:Sm,putObjectCopy:$m,deleteMultipleObject:Rf,restoreObject:wf,putObjectTagging:ch,getObjectTagging:yh,deleteObjectTagging:Uh,selectObjectContent:Zh,appendObject:H_,uploadPartCopy:ph,multipartInit:_m,multipartUpload:Um,multipartComplete:Om,multipartList:r_,multipartListPart:Xm,multipartAbort:s_,request:b_,getObjectUrl:M_,getAuth:x_};function $g(Of,Ch,mh){dd.each(["Cors","Acl"],function(Sh){if(Of.slice(-Sh.length)===Sh){var Wh=Of.slice(0,-Sh.length)+Sh.toUpperCase(),Fh=dd.apiWrapper(Of,Ch),om=!1;mh[Wh]=function(){!om&&console.warn("warning: cos."+Wh+" has been deprecated. Please Use cos."+Of+" instead."),om=!0,Fh.apply(this,arguments)}}})}nd.exports.init=function(Of,Ch){Ch.transferToTaskMethod(db,"putObject"),dd.each(db,function(mh,Sh){Of.prototype[Sh]=dd.apiWrapper(Sh,mh),$g(Sh,mh,Of.prototype)})}},"./src/cos.js":function(nd,od,ld){var ud=ld("./src/util.js"),cd=ld("./src/event.js"),dd=ld("./src/task.js"),pd=ld("./src/base.js"),fd=ld("./src/advance.js"),md=ld("./package.json"),vd={AppId:"",SecretId:"",SecretKey:"",SecurityToken:"",StartTime:0,ExpiredTime:0,ChunkRetryTimes:2,FileParallelLimit:3,ChunkParallelLimit:3,ChunkSize:1024*1024,SliceSize:1024*1024,CopyChunkParallelLimit:20,CopyChunkSize:1024*1024*10,CopySliceSize:1024*1024*10,MaxPartNumber:1e4,ProgressInterval:1e3,Domain:"",ServiceDomain:"",Protocol:"",CompatibilityMode:!1,ForcePathStyle:!1,UseRawKey:!1,Timeout:0,CorrectClockSkew:!0,SystemClockOffset:0,UploadCheckContentMd5:!1,UploadQueueSize:1e4,UploadAddMetaMd5:!1,UploadIdCacheLimit:50,UseAccelerate:!1,ForceSignHost:!0,AutoSwitchHost:!0,CopySourceParser:null,ObjectKeySimplifyCheck:!0,DeepTracker:!1,TrackerDelay:5e3,CustomId:"",BeaconReporter:null,ClsReporter:null},Ad=function(Id){if(this.options=ud.extend(ud.clone(vd),Id||{}),this.options.FileParallelLimit=Math.max(1,this.options.FileParallelLimit),this.options.ChunkParallelLimit=Math.max(1,this.options.ChunkParallelLimit),this.options.ChunkRetryTimes=Math.max(0,this.options.ChunkRetryTimes),this.options.ChunkSize=Math.max(1024*1024,this.options.ChunkSize),this.options.CopyChunkParallelLimit=Math.max(1,this.options.CopyChunkParallelLimit),this.options.CopyChunkSize=Math.max(1024*1024,this.options.CopyChunkSize),this.options.CopySliceSize=Math.max(0,this.options.CopySliceSize),this.options.MaxPartNumber=Math.max(1024,Math.min(1e4,this.options.MaxPartNumber)),this.options.Timeout=Math.max(0,this.options.Timeout),this.options.EnableReporter=this.options.BeaconReporter||this.options.ClsReporter,this.options.AppId&&console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g: "test-1250000000").'),this.options.SecretId&&this.options.SecretId.indexOf(" ")>-1&&(console.error("error: SecretId格式错误,请检查"),console.error("error: SecretId format is incorrect. Please check")),this.options.SecretKey&&this.options.SecretKey.indexOf(" ")>-1&&(console.error("error: SecretKey格式错误,请检查"),console.error("error: SecretKey format is incorrect. Please check")),ud.isNode()&&(console.log("Tip: Next.js、Nuxt.js 等服务端渲染技术可正常使用JavaScript SDK,请忽略下方 nodejs 环境警告"),console.warn("warning: cos-js-sdk-v5 不支持 nodejs 环境使用,请改用 cos-nodejs-sdk-v5,参考文档: https://cloud.tencent.com/document/product/436/8629"),console.warn("warning: cos-js-sdk-v5 does not support nodejs environment. Please use cos-nodejs-sdk-v5 instead. See: https://cloud.tencent.com/document/product/436/8629")),this.options.ForcePathStyle)throw console.warn("cos-js-sdk-v5不再支持使用path-style,仅支持使用virtual-hosted-style,参考文档:https://cloud.tencent.com/document/product/436/96243"),new Error("ForcePathStyle is not supported");cd.init(this),dd.init(this)};pd.init(Ad,dd),fd.init(Ad,dd),Ad.util={md5:ud.md5,xml2json:ud.xml2json,json2xml:ud.json2xml,encodeBase64:ud.encodeBase64},Ad.getAuthorization=ud.getAuth,Ad.version=md.version,nd.exports=Ad},"./src/event.js":function(nd,od){var ld=function(dd){var pd={},fd=function(vd){return!pd[vd]&&(pd[vd]=[]),pd[vd]};dd.on=function(md,vd){md==="task-list-update"&&console.warn('warning: Event "'+md+'" has been deprecated. Please use "list-update" instead.'),fd(md).push(vd)},dd.off=function(md,vd){for(var Ad=fd(md),Nd=Ad.length-1;Nd>=0;Nd--)vd===Ad[Nd]&&Ad.splice(Nd,1)},dd.emit=function(md,vd){for(var Ad=fd(md).map(function(Id){return Id}),Nd=0;Nd=0;Md--){var Ld=pd[Md][2];(!Ld||Ld+dd=0;Ld--){var Hd=pd[Ld];Hd[0]===jd&&Hd[1]===Fd&&pd.splice(Ld,1)}pd.unshift([jd,Fd,Math.round(Date.now()/1e3)]),pd.length>Md&&pd.splice(Md),Nd()}},removeUploadId:function(jd){Ad.call(this),delete Id.using[jd];for(var Fd=pd.length-1;Fd>=0;Fd--)pd[Fd][1]===jd&&pd.splice(Fd,1);Nd()}};nd.exports=Id},"./src/task.js":function(nd,od,ld){var ud=ld("./src/session.js"),cd=ld("./src/util.js"),dd={},pd=function(vd,Ad){dd[Ad]=vd[Ad],vd[Ad]=function(Nd,Id){Nd.SkipTask?dd[Ad].call(this,Nd,Id):this._addTask(Ad,Nd,Id)}},fd=function(vd){var Ad=[],Nd={},Id=0,kd=0,jd=function(Qd){var mf={id:Qd.id,Bucket:Qd.Bucket,Region:Qd.Region,Key:Qd.Key,FilePath:Qd.FilePath,state:Qd.state,loaded:Qd.loaded,size:Qd.size,speed:Qd.speed,percent:Qd.percent,hashPercent:Qd.hashPercent,error:Qd.error};return Qd.FilePath&&(mf.FilePath=Qd.FilePath),Qd._custom&&(mf._custom=Qd._custom),mf},Fd=function(){var Vd,Qd=function(){Vd=0,vd.emit("task-list-update",{list:cd.map(Ad,jd)}),vd.emit("list-update",{list:cd.map(Ad,jd)})};return function(){Vd||(Vd=setTimeout(Qd))}}(),Md=function(){if(!(Ad.length<=vd.options.UploadQueueSize)){for(var Qd=0;Qdvd.options.UploadQueueSize;){var mf=Ad[Qd].state==="waiting"||Ad[Qd].state==="checking"||Ad[Qd].state==="uploading";!Ad[Qd]||!mf?(Nd[Ad[Qd].id]&&delete Nd[Ad[Qd].id],Ad.splice(Qd,1),kd--):Qd++}Fd()}},Ld=function Vd(){if(!(Id>=vd.options.FileParallelLimit)){for(;Ad[kd]&&Ad[kd].state!=="waiting";)kd++;if(!(kd>=Ad.length)){var Qd=Ad[kd];kd++,Id++,Qd.state="checking",Qd.params.onTaskStart&&Qd.params.onTaskStart(jd(Qd)),!Qd.params.UploadData&&(Qd.params.UploadData={});var mf=cd.formatParams(Qd.api,Qd.params);dd[Qd.api].call(vd,mf,function(Yd,Zd){vd._isRunningTask(Qd.id)&&((Qd.state==="checking"||Qd.state==="uploading")&&(Qd.state=Yd?"error":"success",Yd&&(Qd.error=Yd),Id--,Fd(),Vd(),Qd.callback&&Qd.callback(Yd,Zd),Qd.state==="success"&&(Qd.params&&(delete Qd.params.UploadData,delete Qd.params.Body,delete Qd.params),delete Qd.callback)),Md())}),Fd(),setTimeout(Vd)}}},Hd=function(Qd,mf){var Yd=Nd[Qd];if(Yd){var Zd=Yd&&Yd.state==="waiting",Kd=Yd&&(Yd.state==="checking"||Yd.state==="uploading");if(mf==="canceled"&&Yd.state!=="canceled"||mf==="paused"&&Zd||mf==="paused"&&Kd){Yd.state=mf,vd.emit("inner-kill-task",{TaskId:Qd,toState:mf});try{var bf=Yd&&Yd.params&&Yd.params.UploadData.UploadId}catch{}mf==="canceled"&&bf&&ud.removeUsing(bf),Fd(),Kd&&(Id--,Ld()),mf==="canceled"&&(Yd.params&&(delete Yd.params.UploadData,delete Yd.params.Body,delete Yd.params),delete Yd.callback)}Md()}};vd._addTasks=function(Vd){cd.each(Vd,function(Qd){vd._addTask(Qd.api,Qd.params,Qd.callback,!0)}),Fd()};var Gd=!0;vd._addTask=function(Vd,Qd,mf,Yd){Qd=cd.formatParams(Vd,Qd);var Zd=cd.uuid();Qd.TaskId=Zd,Qd.onTaskReady&&Qd.onTaskReady(Zd),Qd.TaskReady&&(Qd.TaskReady(Zd),Gd&&console.warn('warning: Param "TaskReady" has been deprecated. Please use "onTaskReady" instead.'),Gd=!1);var Kd={params:Qd,callback:mf,api:Vd,index:Ad.length,id:Zd,Bucket:Qd.Bucket,Region:Qd.Region,Key:Qd.Key,FilePath:Qd.FilePath||"",state:"waiting",loaded:0,size:0,speed:0,percent:0,hashPercent:0,error:null,_custom:Qd._custom},bf=Qd.onHashProgress;Qd.onHashProgress=function(Ef){vd._isRunningTask(Kd.id)&&(Kd.hashPercent=Ef.percent,bf&&bf(Ef),Fd())};var gf=Qd.onProgress;return Qd.onProgress=function(Ef){vd._isRunningTask(Kd.id)&&(Kd.state==="checking"&&(Kd.state="uploading"),Kd.loaded=Ef.loaded,Kd.speed=Ef.speed,Kd.percent=Ef.percent,gf&&gf(Ef),Fd())},cd.getFileSize(Vd,Qd,function(Ef,yf){if(Ef)return mf(cd.error(Ef));Nd[Zd]=Kd,Ad.push(Kd),Kd.size=yf,!Yd&&Fd(),Ld(),Md()}),Zd},vd._isRunningTask=function(Vd){var Qd=Nd[Vd];return!!(Qd&&(Qd.state==="checking"||Qd.state==="uploading"))},vd.getTaskList=function(){return cd.map(Ad,jd)},vd.cancelTask=function(Vd){Hd(Vd,"canceled")},vd.pauseTask=function(Vd){Hd(Vd,"paused")},vd.restartTask=function(Vd){var Qd=Nd[Vd];Qd&&(Qd.state==="paused"||Qd.state==="error")&&(Qd.state="waiting",Fd(),kd=Math.min(kd,Qd.index),Ld())},vd.isUploadRunning=function(){return Id||kd"u"?"undefined":dd(navigator))==="object"){var mf=navigator.connection||navigator.mozConnection||navigator.webkitConnection;return(mf==null?void 0:mf.type)||(mf==null?void 0:mf.effectiveType)||"unknown"}return"unknown"},getProtocol:function(){return(typeof location>"u"?"undefined":dd(location))==="object"?location.protocol.replace(/:/,""):"unknown protocol"},getOsType:function(){if((typeof navigator>"u"?"undefined":dd(navigator))!=="object")return"unknown os";var mf=navigator.userAgent.toLowerCase(),Yd=/macintosh|mac os x/i.test(navigator.userAgent);return mf.indexOf("win32")>=0||mf.indexOf("wow32")>=0?"win32":mf.indexOf("win64")>=0||mf.indexOf("wow64")>=0?"win64":Yd?"mac":"unknown os"},isMobile:function(){var mf=/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i;return!!((typeof navigator>"u"?"undefined":dd(navigator))==="object"&&navigator.userAgent.match(mf))},isAndroid:function(){var mf=/(Android|Adr|Linux)/i;return!!((typeof navigator>"u"?"undefined":dd(navigator))==="object"&&navigator.userAgent.match(mf))},isIOS:function(){var mf=/(iPhone|iPod|iPad|iOS)/i;return!!((typeof navigator>"u"?"undefined":dd(navigator))==="object"&&navigator.userAgent.match(mf))},isOtherMobile:function(){return Nd&&!isAndroid&&!isIOS},getUA:function(){if((typeof navigator>"u"?"undefined":dd(navigator))!=="object")return"unknown device";var mf=navigator.userAgent;return mf}},Nd=Ad.isMobile(),Id=Ad.isAndroid()?"android":Ad.isIOS?"ios":"other_mobile",kd=Ad.getOsType(),jd=Nd?Id:kd,Fd=Ad.getUA(),Md=Ad.getProtocol(),Ld=function(mf){return["putObject","sliceUploadFile","uploadFile","uploadFiles"].includes(mf)?"UploadTask":mf==="getObject"?"DownloadTask":["putObjectCopy","sliceCopyFile"].includes(mf)?"CopyTask":mf};function Hd(Qd){return Qd.replace(/([A-Z])/g,"_$1").toLowerCase()}function Gd(Qd){var mf={},Yd=["sdkVersionName","sdkVersionCode","osName","networkType","requestName","requestResult","bucket","region","appid","accelerate","url","host","requestPath","userAgent","networkProtocol","httpMethod","httpSize","httpSpeed","httpTookTime","httpMd5","httpSign","httpFullTime","httpDomain","partNumber","httpRetryTimes","customId","traceId","realApi"],Zd=[].concat(Yd,["errorNode","errorCode","errorName","errorMessage","errorRequestId","errorHttpCode","errorServiceName","errorType","fullError"]),Kd=Qd.requestResult==="Success"?Yd:Zd;for(var bf in Qd)if(Kd.includes(bf)){var gf=Hd(bf);mf[gf]=Qd[bf]}return mf.request_name=Qd.realApi?Ld(Qd.realApi):Qd.requestName,mf}var Vd=function(){function Qd(mf){ud(this,Qd);var Yd=mf.parent,Zd=mf.traceId,Kd=mf.bucket,bf=mf.region,gf=mf.apiName,Ef=mf.realApi,yf=mf.httpMethod,xf=mf.fileKey,Af=mf.fileSize,Lf=mf.accelerate,Xf=mf.customId,ih=mf.delay,Zf=mf.deepTracker,jf=mf.Beacon,If=mf.clsReporter,Uf=Kd&&Kd.substr(Kd.lastIndexOf("-")+1)||"";this.parent=Yd,this.deepTracker=Zf,this.delay=ih,If&&!this.clsReporter&&(this.clsReporter=If),this.params={sdkVersionName:"cos-js-sdk-v5",sdkVersionCode:pd.version,osName:jd,networkType:"",requestName:gf||"",requestResult:"",realApi:Ef,bucket:Kd,region:bf,accelerate:Lf,httpMethod:yf,url:"",host:"",httpDomain:"",requestPath:xf||"",userAgent:Fd,networkProtocol:Md,errorType:"",errorCode:"",errorName:"",errorMessage:"",errorRequestId:"",errorHttpCode:0,errorServiceName:"",errorNode:"",httpTookTime:0,httpSize:Af||0,httpMd5:0,httpSign:0,httpFullTime:0,httpSpeed:0,md5StartTime:0,md5EndTime:0,signStartTime:0,signEndTime:0,httpStartTime:0,httpEndTime:0,startTime:new Date().getTime(),endTime:0,traceId:Zd||Ad.getUid(),appid:Uf,partNumber:0,httpRetryTimes:0,customId:Xf||"",partTime:0},jf&&(this.beacon=md(jf,ih))}return cd(Qd,[{key:"formatResult",value:function(Yd,Zd){var Kd,bf,gf,Ef,yf,xf,Af=new Date().getTime(),Lf=Ad.getNetType(),Xf=Yd?(Yd==null?void 0:Yd.code)||(Yd==null||(Kd=Yd.error)===null||Kd===void 0?void 0:Kd.code)||(Yd==null||(bf=Yd.error)===null||bf===void 0?void 0:bf.Code):"",ih=Yd?(Yd==null?void 0:Yd.message)||(Yd==null||(gf=Yd.error)===null||gf===void 0?void 0:gf.message)||(Yd==null||(Ef=Yd.error)===null||Ef===void 0?void 0:Ef.Message):"",Zf=ih,jf=Yd?(Yd==null?void 0:Yd.resource)||(Yd==null||(yf=Yd.error)===null||yf===void 0?void 0:yf.resource)||(Yd==null||(xf=Yd.error)===null||xf===void 0?void 0:xf.Resource):"",If=Yd?Yd==null?void 0:Yd.statusCode:Zd.statusCode,Uf=Yd?(Yd==null?void 0:Yd.headers)&&(Yd==null?void 0:Yd.headers["x-cos-request-id"]):(Zd==null?void 0:Zd.headers)&&(Zd==null?void 0:Zd.headers["x-cos-request-id"]),qf=Yd?Uf?"Server":"Client":"";this.params.requestName==="getObject"&&(this.params.httpSize=Zd?Zd.headers&&Zd.headers["content-length"]:0);var Kf=this.params.realApi==="sliceUploadFile",Tf=this.params.realApi==="sliceCopyFile";if(Kf||Tf){var vf=this.params.httpSize/1024/this.params.partTime;Object.assign(this.params,{httpSpeed:vf<0?0:vf.toFixed(3)})}else{var Gf=Af-this.params.startTime,Jf=this.params.httpEndTime-this.params.httpStartTime,gh=this.params.httpSize/1024/(Jf/1e3),th=this.params.md5EndTime-this.params.md5StartTime,Pf=this.params.signEndTime-this.params.signStartTime;this.parent&&(this.parent.addParamValue("httpTookTime",vd(Jf)),this.parent.addParamValue("httpFullTime",vd(Gf)),this.parent.addParamValue("httpMd5",vd(th)),this.parent.addParamValue("httpSign",vd(Pf)),["multipartUpload","uploadPartCopy","putObjectCopy"].includes(this.params.requestName)&&this.parent.addParamValue("partTime",vd(Jf))),Object.assign(this.params,{httpFullTime:vd(Gf),httpMd5:vd(th),httpSign:vd(Pf),httpTookTime:vd(Jf),httpSpeed:gh<0?0:gh.toFixed(3)})}if(Object.assign(this.params,{networkType:Lf,requestResult:Yd?"Failure":"Success",errorType:qf,errorCode:Xf,errorHttpCode:If,errorName:Zf,errorMessage:ih,errorServiceName:jf,errorRequestId:Uf}),Yd&&(!Xf||!ih)&&(this.params.fullError=Yd?JSON.stringify(Yd):""),this.params.url){try{var uh=/^http(s)?:\/\/(.*?)\//.exec(this.params.url);this.params.host=uh[2]}catch{this.params.host=this.params.url}this.params.httpDomain=this.params.host}}},{key:"report",value:function(Yd,Zd){if(!(!this.beacon&&!this.clsReporter)){this.formatResult(Yd,Zd);var Kd=Gd(this.params);this.beacon&&this.sendEventsToBeacon(Kd),this.clsReporter&&this.sendEventsToCLS(Kd)}}},{key:"setParams",value:function(Yd){Object.assign(this.params,Yd)}},{key:"addParamValue",value:function(Yd,Zd){this.params[Yd]=(+this.params[Yd]+ +Zd).toFixed(3)}},{key:"sendEventsToBeacon",value:function(Yd){var Zd=this.params.requestName==="sliceUploadFile"||this.params.realApi==="sliceUploadFile";if(!(Zd&&!this.deepTracker)){var Kd="qcloud_track_cos_sdk";this.delay===0?this.beacon&&this.beacon.onDirectUserAction(Kd,Yd):this.beacon&&this.beacon.onUserAction(Kd,Yd)}}},{key:"sendEventsToCLS",value:function(Yd){var Zd=this.delay===0;this.clsReporter.log(Yd,Zd)}},{key:"generateSubTracker",value:function(Yd){return Object.assign(Yd,{parent:this,deepTracker:this.deepTracker,traceId:this.params.traceId,bucket:this.params.bucket,region:this.params.region,accelerate:this.params.accelerate,fileKey:this.params.requestPath,customId:this.params.customId,delay:this.delay,clsReporter:this.clsReporter}),new Qd(Yd)}}]),Qd}();nd.exports=Vd},"./src/util.js":function(nd,od,ld){(function(ud){var cd=ld("./node_modules/@babel/runtime/helpers/typeof.js");function dd(Rf,wf){var ch=typeof Symbol<"u"&&Rf[Symbol.iterator]||Rf["@@iterator"];if(!ch){if(Array.isArray(Rf)||(ch=pd(Rf))||wf){ch&&(Rf=ch);var yh=0,Uh=function(){};return{s:Uh,n:function(){return yh>=Rf.length?{done:!0}:{done:!1,value:Rf[yh++]}},e:function(r_){throw r_},f:Uh}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Zh=!0,_m=!1,Um;return{s:function(){ch=ch.call(Rf)},n:function(){var r_=ch.next();return Zh=r_.done,r_},e:function(r_){_m=!0,Um=r_},f:function(){try{!Zh&&ch.return!=null&&ch.return()}finally{if(_m)throw Um}}}}function pd(Rf,wf){if(Rf){if(typeof Rf=="string")return fd(Rf,wf);var ch=Object.prototype.toString.call(Rf).slice(8,-1);if(ch==="Object"&&Rf.constructor&&(ch=Rf.constructor.name),ch==="Map"||ch==="Set")return Array.from(Rf);if(ch==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ch))return fd(Rf,wf)}}function fd(Rf,wf){(wf==null||wf>Rf.length)&&(wf=Rf.length);for(var ch=0,yh=new Array(wf);chZh?1:-1})}var Qd=function(wf,ch){var yh,Uh,Zh,_m=[],Um=Vd(wf);for(yh=0;yh-1||mf.indexOf(Uh)>-1)&&(ch[yh]=wf[yh])}return ch},Zd=function(wf){wf=wf||{};var ch=wf.SecretId,yh=wf.SecretKey,Uh=wf.KeyTime,Zh=(wf.method||wf.Method||"get").toLowerCase(),_m=If(wf.Query||wf.params||{}),Um=Yd(If(wf.Headers||wf.headers||{})),Om=wf.Key||"",r_;wf.UseRawKey?r_=wf.Pathname||wf.pathname||"/"+Om:(r_=wf.Pathname||wf.pathname||Om,r_.indexOf("/")!==0&&(r_="/"+r_));var Xm=wf.ForceSignHost!==!1;if(!Um.Host&&!Um.host&&wf.Bucket&&wf.Region&&Xm&&(Um.Host=wf.Bucket+".cos."+wf.Region+".myqcloud.com"),!ch)throw new Error("missing param SecretId");if(!yh)throw new Error("missing param SecretKey");var s_=Math.round(Wf(wf.SystemClockOffset)/1e3)-1,b_=s_,H_=wf.Expires||wf.expires;H_===void 0?b_+=900:b_+=H_*1||0;var x_="sha1",M_=ch,h_=Uh||s_+";"+b_,tg=Uh||s_+";"+b_,L_=Vd(Um,!0).join(";").toLowerCase(),dg=Vd(_m,!0).join(";").toLowerCase(),yg=vd.HmacSHA1(tg,yh).toString(),q_=[Zh,r_,ph.obj2str(_m,!0),ph.obj2str(Um,!0),""].join(` +`;function ud(vd,Ad){let Nd="";return Ad.format&&Ad.indentBy.length>0&&(Nd=ld),cd(vd,Ad,"",Nd)}function cd(vd,Ad,Nd,Id){let kd="",jd=!1;for(let Fd=0;Fd`,jd=!1;continue}else if(Ld===Ad.commentPropName){kd+=Id+``,jd=!0;continue}else if(Ld[0]==="?"){const Wd=pd(Md[":@"],Ad),Zd=Ld==="?xml"?"":Id;let Xd=Md[Ld][0][Ad.textNodeName];Xd=Xd.length!==0?" "+Xd:"",kd+=Zd+`<${Ld}${Xd}${Wd}?>`,jd=!0;continue}let Gd=Id;Gd!==""&&(Gd+=Ad.indentBy);const Vd=pd(Md[":@"],Ad),Kd=Id+`<${Ld}${Vd}`,mf=cd(Md[Ld],Ad,Hd,Gd);Ad.unpairedTags.indexOf(Ld)!==-1?Ad.suppressUnpairedNode?kd+=Kd+">":kd+=Kd+"/>":(!mf||mf.length===0)&&Ad.suppressEmptyNode?kd+=Kd+"/>":mf&&mf.endsWith(">")?kd+=Kd+`>${mf}${Id}`:(kd+=Kd+">",mf&&Id!==""&&(mf.includes("/>")||mf.includes("`),jd=!0}return kd}function dd(vd){const Ad=Object.keys(vd);for(let Nd=0;Nd0&&Ad.processEntities)for(let Nd=0;Nd"){if(Ld?Id[kd-1]==="-"&&Id[kd-2]==="-"&&(Ld=!1,Fd--):Fd--,Fd===0)break}else Id[kd]==="["?Md=!0:Hd+=Id[kd];if(Fd!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:jd,i:kd}}function dd(Id,kd){let jd="";for(;kd!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(cd,dd,pd){return cd}},ud=function(cd){return Object.assign({},ld,cd)};od.buildOptions=ud,od.defaultOptions=ld},"./node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js":function(nd,od,ld){const ud=ld("./node_modules/fast-xml-parser/src/util.js"),cd=ld("./node_modules/fast-xml-parser/src/xmlparser/xmlNode.js"),dd=ld("./node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js"),pd=ld("./node_modules/strnum/strnum.js");class fd{constructor(Zd){this.options=Zd,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(Xd,bf)=>String.fromCharCode(Number.parseInt(bf,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(Xd,bf)=>String.fromCharCode(Number.parseInt(bf,16))}},this.addExternalEntities=md,this.parseXml=kd,this.parseTextData=vd,this.resolveNameSpace=Ad,this.buildAttributesMap=Id,this.isItStopNode=Ld,this.replaceEntitiesValue=Fd,this.readStopNodeData=Kd,this.saveTextToParentTag=Md,this.addChild=jd}}function md(Wd){const Zd=Object.keys(Wd);for(let Xd=0;Xd0)){gf||(Wd=this.replaceEntitiesValue(Wd));const xf=this.options.tagValueProcessor(Zd,Wd,Xd,yf,Ef);return xf==null?Wd:typeof xf!=typeof Wd||xf!==Wd?xf:this.options.trimValues?mf(Wd,this.options.parseTagValue,this.options.numberParseOptions):Wd.trim()===Wd?mf(Wd,this.options.parseTagValue,this.options.numberParseOptions):Wd}}function Ad(Wd){if(this.options.removeNSPrefix){const Zd=Wd.split(":"),Xd=Wd.charAt(0)==="/"?"/":"";if(Zd[0]==="xmlns")return"";Zd.length===2&&(Wd=Xd+Zd[1])}return Wd}const Nd=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function Id(Wd,Zd,Xd){if(!this.options.ignoreAttributes&&typeof Wd=="string"){const bf=ud.getAllMatches(Wd,Nd),yf=bf.length,Ef={};for(let gf=0;gf",Ef,"Closing Tag is not closed.");let Af=Wd.substring(Ef+2,xf).trim();if(this.options.removeNSPrefix){const Jf=Af.indexOf(":");Jf!==-1&&(Af=Af.substr(Jf+1))}this.options.transformTagName&&(Af=this.options.transformTagName(Af)),Xd&&(bf=this.saveTextToParentTag(bf,Xd,yf));const Lf=yf.substring(yf.lastIndexOf(".")+1);if(Af&&this.options.unpairedTags.indexOf(Af)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);let Xf=0;Lf&&this.options.unpairedTags.indexOf(Lf)!==-1?(Xf=yf.lastIndexOf(".",yf.lastIndexOf(".")-1),this.tagsNodeStack.pop()):Xf=yf.lastIndexOf("."),yf=yf.substring(0,Xf),Xd=this.tagsNodeStack.pop(),bf="",Ef=xf}else if(Wd[Ef+1]==="?"){let xf=Vd(Wd,Ef,!1,"?>");if(!xf)throw new Error("Pi Tag is not closed.");if(bf=this.saveTextToParentTag(bf,Xd,yf),!(this.options.ignoreDeclaration&&xf.tagName==="?xml"||this.options.ignorePiTags)){const Af=new cd(xf.tagName);Af.add(this.options.textNodeName,""),xf.tagName!==xf.tagExp&&xf.attrExpPresent&&(Af[":@"]=this.buildAttributesMap(xf.tagExp,yf,xf.tagName)),this.addChild(Xd,Af,yf)}Ef=xf.closeIndex+1}else if(Wd.substr(Ef+1,3)==="!--"){const xf=Gd(Wd,"-->",Ef+4,"Comment is not closed.");if(this.options.commentPropName){const Af=Wd.substring(Ef+4,xf-2);bf=this.saveTextToParentTag(bf,Xd,yf),Xd.add(this.options.commentPropName,[{[this.options.textNodeName]:Af}])}Ef=xf}else if(Wd.substr(Ef+1,2)==="!D"){const xf=dd(Wd,Ef);this.docTypeEntities=xf.entities,Ef=xf.i}else if(Wd.substr(Ef+1,2)==="!["){const xf=Gd(Wd,"]]>",Ef,"CDATA is not closed.")-2,Af=Wd.substring(Ef+9,xf);bf=this.saveTextToParentTag(bf,Xd,yf);let Lf=this.parseTextData(Af,Xd.tagname,yf,!0,!1,!0,!0);Lf==null&&(Lf=""),this.options.cdataPropName?Xd.add(this.options.cdataPropName,[{[this.options.textNodeName]:Af}]):Xd.add(this.options.textNodeName,Lf),Ef=xf+2}else{let xf=Vd(Wd,Ef,this.options.removeNSPrefix),Af=xf.tagName;const Lf=xf.rawTagName;let Xf=xf.tagExp,Jf=xf.attrExpPresent,Zf=xf.closeIndex;this.options.transformTagName&&(Af=this.options.transformTagName(Af)),Xd&&bf&&Xd.tagname!=="!xml"&&(bf=this.saveTextToParentTag(bf,Xd,yf,!1));const Bf=Xd;if(Bf&&this.options.unpairedTags.indexOf(Bf.tagname)!==-1&&(Xd=this.tagsNodeStack.pop(),yf=yf.substring(0,yf.lastIndexOf("."))),Af!==Zd.tagname&&(yf+=yf?"."+Af:Af),this.isItStopNode(this.options.stopNodes,yf,Af)){let Df="";if(Xf.length>0&&Xf.lastIndexOf("/")===Xf.length-1)Af[Af.length-1]==="/"?(Af=Af.substr(0,Af.length-1),yf=yf.substr(0,yf.length-1),Xf=Af):Xf=Xf.substr(0,Xf.length-1),Ef=xf.closeIndex;else if(this.options.unpairedTags.indexOf(Af)!==-1)Ef=xf.closeIndex;else{const Gf=this.readStopNodeData(Wd,Lf,Zf+1);if(!Gf)throw new Error(`Unexpected end of ${Lf}`);Ef=Gf.i,Df=Gf.tagContent}const Uf=new cd(Af);Af!==Xf&&Jf&&(Uf[":@"]=this.buildAttributesMap(Xf,yf,Af)),Df&&(Df=this.parseTextData(Df,Af,yf,!0,Jf,!0,!0)),yf=yf.substr(0,yf.lastIndexOf(".")),Uf.add(this.options.textNodeName,Df),this.addChild(Xd,Uf,yf)}else{if(Xf.length>0&&Xf.lastIndexOf("/")===Xf.length-1){Af[Af.length-1]==="/"?(Af=Af.substr(0,Af.length-1),yf=yf.substr(0,yf.length-1),Xf=Af):Xf=Xf.substr(0,Xf.length-1),this.options.transformTagName&&(Af=this.options.transformTagName(Af));const Df=new cd(Af);Af!==Xf&&Jf&&(Df[":@"]=this.buildAttributesMap(Xf,yf,Af)),this.addChild(Xd,Df,yf),yf=yf.substr(0,yf.lastIndexOf("."))}else{const Df=new cd(Af);this.tagsNodeStack.push(Xd),Af!==Xf&&Jf&&(Df[":@"]=this.buildAttributesMap(Xf,yf,Af)),this.addChild(Xd,Df,yf),Xd=Df}bf="",Ef=Zf}}else bf+=Wd[Ef];return Zd.child};function jd(Wd,Zd,Xd){const bf=this.options.updateTag(Zd.tagname,Xd,Zd[":@"]);bf===!1||(typeof bf=="string"&&(Zd.tagname=bf),Wd.addChild(Zd))}const Fd=function(Wd){if(this.options.processEntities){for(let Zd in this.docTypeEntities){const Xd=this.docTypeEntities[Zd];Wd=Wd.replace(Xd.regx,Xd.val)}for(let Zd in this.lastEntities){const Xd=this.lastEntities[Zd];Wd=Wd.replace(Xd.regex,Xd.val)}if(this.options.htmlEntities)for(let Zd in this.htmlEntities){const Xd=this.htmlEntities[Zd];Wd=Wd.replace(Xd.regex,Xd.val)}Wd=Wd.replace(this.ampEntity.regex,this.ampEntity.val)}return Wd};function Md(Wd,Zd,Xd,bf){return Wd&&(bf===void 0&&(bf=Object.keys(Zd.child).length===0),Wd=this.parseTextData(Wd,Zd.tagname,Xd,!1,Zd[":@"]?Object.keys(Zd[":@"]).length!==0:!1,bf),Wd!==void 0&&Wd!==""&&Zd.add(this.options.textNodeName,Wd),Wd=""),Wd}function Ld(Wd,Zd,Xd){const bf="*."+Xd;for(const yf in Wd){const Ef=Wd[yf];if(bf===Ef||Zd===Ef)return!0}return!1}function Hd(Wd,Zd,Xd=">"){let bf,yf="";for(let Ef=Zd;Ef",Xd,`${Zd} is not closed`);if(Wd.substring(Xd+2,Ef).trim()===Zd&&(yf--,yf===0))return{tagContent:Wd.substring(bf,Xd),i:Ef};Xd=Ef}else if(Wd[Xd+1]==="?")Xd=Gd(Wd,"?>",Xd+1,"StopNode is not closed.");else if(Wd.substr(Xd+1,3)==="!--")Xd=Gd(Wd,"-->",Xd+3,"StopNode is not closed.");else if(Wd.substr(Xd+1,2)==="![")Xd=Gd(Wd,"]]>",Xd,"StopNode is not closed.")-2;else{const Ef=Vd(Wd,Xd,">");Ef&&((Ef&&Ef.tagName)===Zd&&Ef.tagExp[Ef.tagExp.length-1]!=="/"&&yf++,Xd=Ef.closeIndex)}}function mf(Wd,Zd,Xd){if(Zd&&typeof Wd=="string"){const bf=Wd.trim();return bf==="true"?!0:bf==="false"?!1:pd(Wd,Xd)}else return ud.isExist(Wd)?Wd:""}nd.exports=fd},"./node_modules/fast-xml-parser/src/xmlparser/XMLParser.js":function(nd,od,ld){const{buildOptions:ud}=ld("./node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js"),cd=ld("./node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js"),{prettify:dd}=ld("./node_modules/fast-xml-parser/src/xmlparser/node2json.js"),pd=ld("./node_modules/fast-xml-parser/src/validator.js");class fd{constructor(vd){this.externalEntities={},this.options=ud(vd)}parse(vd,Ad){if(typeof vd!="string")if(vd.toString)vd=vd.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(Ad){Ad===!0&&(Ad={});const kd=pd.validate(vd,Ad);if(kd!==!0)throw Error(`${kd.err.msg}:${kd.err.line}:${kd.err.col}`)}const Nd=new cd(this.options);Nd.addExternalEntities(this.externalEntities);const Id=Nd.parseXml(vd);return this.options.preserveOrder||Id===void 0?Id:dd(Id,this.options)}addEntity(vd,Ad){if(Ad.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");if(vd.indexOf("&")!==-1||vd.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '");if(Ad==="&")throw new Error("An entity with value '&' is not permitted");this.externalEntities[vd]=Ad}}nd.exports=fd},"./node_modules/fast-xml-parser/src/xmlparser/node2json.js":function(nd,od,ld){function ud(md,vd){return cd(md,vd)}function cd(md,vd,Ad){let Nd;const Id={};for(let kd=0;kd0&&(Id[vd.textNodeName]=Nd):Nd!==void 0&&(Id[vd.textNodeName]=Nd),Id}function dd(md){const vd=Object.keys(md);for(let Ad=0;Ad0?this.child.push({[dd.tagname]:dd.child,":@":dd[":@"]}):this.child.push({[dd.tagname]:dd.child})}}nd.exports=ud},"./node_modules/process/browser.js":function(nd,od){var ld=nd.exports={},ud,cd;function dd(){throw new Error("setTimeout has not been defined")}function pd(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ud=setTimeout:ud=dd}catch{ud=dd}try{typeof clearTimeout=="function"?cd=clearTimeout:cd=pd}catch{cd=pd}})();function fd(Ld){if(ud===setTimeout)return setTimeout(Ld,0);if((ud===dd||!ud)&&setTimeout)return ud=setTimeout,setTimeout(Ld,0);try{return ud(Ld,0)}catch{try{return ud.call(null,Ld,0)}catch{return ud.call(this,Ld,0)}}}function md(Ld){if(cd===clearTimeout)return clearTimeout(Ld);if((cd===pd||!cd)&&clearTimeout)return cd=clearTimeout,clearTimeout(Ld);try{return cd(Ld)}catch{try{return cd.call(null,Ld)}catch{return cd.call(this,Ld)}}}var vd=[],Ad=!1,Nd,Id=-1;function kd(){!Ad||!Nd||(Ad=!1,Nd.length?vd=Nd.concat(vd):Id=-1,vd.length&&jd())}function jd(){if(!Ad){var Ld=fd(kd);Ad=!0;for(var Hd=vd.length;Hd;){for(Nd=vd,vd=[];++Id1)for(var Gd=1;Gd0&&Nd&&vd[2]!==".")return fd;if(!md.leadingZeros&&Id.length>0&&!Nd&&vd[1]!==".")return fd;{const Fd=Number(vd),Md=""+Fd;return Md.search(/[eE]/)!==-1||jd?md.eNotation?Fd:fd:vd.indexOf(".")!==-1?Md==="0"&&kd===""||Md===kd||Nd&&Md==="-"+kd?Fd:fd:Id?kd===Md||Nd+kd===Md?Fd:fd:vd===Md||vd===Nd+Md?Fd:fd}}else return fd}}function pd(fd){return fd&&fd.indexOf(".")!==-1&&(fd=fd.replace(/0+$/,""),fd==="."?fd="0":fd[0]==="."?fd="0"+fd:fd[fd.length-1]==="."&&(fd=fd.substr(0,fd.length-1))),fd}nd.exports=dd},"./node_modules/webpack/buildin/amd-options.js":function(nd,od){(function(ld){nd.exports=ld}).call(this,{})},"./node_modules/webpack/buildin/module.js":function(nd,od){nd.exports=function(ld){return ld.webpackPolyfill||(ld.deprecate=function(){},ld.paths=[],ld.children||(ld.children=[]),Object.defineProperty(ld,"loaded",{enumerable:!0,get:function(){return ld.l}}),Object.defineProperty(ld,"id",{enumerable:!0,get:function(){return ld.i}}),ld.webpackPolyfill=1),ld}},"./package.json":function(nd){nd.exports=JSON.parse('{"name":"cos-js-sdk-v5","version":"1.8.6","description":"JavaScript SDK for [腾讯云对象存储](https://cloud.tencent.com/product/cos)","main":"dist/cos-js-sdk-v5.js","types":"index.d.ts","scripts":{"prettier":"prettier --write src demo/demo.js demo/CIDemos/*.js test/test.js server/sts.js lib/request.js index.d.ts","server":"node server/sts.js","dev":"cross-env NODE_ENV=development webpack -w --mode=development","build":"cross-env NODE_ENV=production webpack --mode=production","cos-auth.min.js":"uglifyjs ./demo/common/cos-auth.js -o ./demo/common/cos-auth.min.js -c -m","test":"jest --runInBand --coverage"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/cos-js-sdk-v5.git"},"keywords":[],"author":"carsonxu","license":"ISC","bugs":{"url":"https://github.com/tencentyun/cos-js-sdk-v5/issues"},"homepage":"https://github.com/tencentyun/cos-js-sdk-v5#readme","dependencies":{"fast-xml-parser":"^4.4.0"},"devDependencies":{"@babel/core":"7.17.9","@babel/plugin-transform-runtime":"7.18.10","@babel/preset-env":"7.16.11","babel-loader":"8.2.5","body-parser":"^1.18.3","cross-env":"^5.2.0","express":"^4.16.4","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","prettier":"^3.0.1","qcloud-cos-sts":"^3.0.2","request":"^2.87.0","terser-webpack-plugin":"4.2.3","uglifyjs":"^2.4.11","webpack":"4.46.0","webpack-cli":"4.10.0"}}')},"./src/advance.js":function(nd,od,ld){var ud=ld("./node_modules/@babel/runtime/helpers/typeof.js"),cd=ld("./src/session.js"),dd=ld("./src/async.js"),pd=ld("./src/event.js").EventProxy,fd=ld("./src/util.js"),md=ld("./src/tracker.js");function vd(Wd,Zd){var Xd=this,bf=new pd,yf=Wd.TaskId,Ef=Wd.Bucket,gf=Wd.Region,xf=Wd.Key,Af=Wd.Body,Lf=Wd.ChunkSize||Wd.SliceSize||Xd.options.ChunkSize,Xf=Wd.AsyncLimit,Jf=Wd.StorageClass,Zf=Wd.ServerSideEncryption,Bf,Df,Uf=Wd.onHashProgress,Gf=Wd.tracker;Gf&&Gf.setParams({chunkSize:Lf}),bf.on("error",function(zf){if(Xd._isRunningTask(yf))return Wd.UploadData.UploadId&&cd.removeUsing(Wd.UploadData.UploadId),zf.UploadId=Wd.UploadData.UploadId||"",Zd(zf)}),bf.on("upload_complete",function(zf){var Tf=fd.extend({UploadId:Wd.UploadData.UploadId||""},zf);Zd(null,Tf)}),bf.on("upload_slice_complete",function(zf){var Tf={};fd.each(Wd.Headers,function(vf,qf){var eh=qf.toLowerCase();(eh.indexOf("x-cos-meta-")===0||["pic-operations","x-cos-callback","x-cos-callback-var","x-cos-return-body"].includes(eh))&&(Tf[qf]=vf)}),Fd.call(Xd,{Bucket:Ef,Region:gf,Key:xf,UploadId:zf.UploadId,SliceList:zf.SliceList,Headers:Tf,tracker:Gf},function(vf,qf){if(Xd._isRunningTask(yf)){if(cd.removeUsing(zf.UploadId),vf)return Df(null,!0),bf.emit("error",vf);cd.removeUploadId.call(Xd,zf.UploadId),Df({loaded:Bf,total:Bf},!0),bf.emit("upload_complete",qf)}})}),bf.on("get_upload_data_finish",function(zf){var Tf=cd.getFileId(Af,Wd.ChunkSize,Ef,xf);Tf&&cd.saveUploadId.call(Xd,Tf,zf.UploadId,Xd.options.UploadIdCacheLimit),cd.setUsing(zf.UploadId),Df(null,!0),kd.call(Xd,{TaskId:yf,Bucket:Ef,Region:gf,Key:xf,Body:Af,FileSize:Bf,SliceSize:Lf,AsyncLimit:Xf,ServerSideEncryption:Zf,UploadData:zf,Headers:Wd.Headers,onProgress:Df,tracker:Gf},function(vf,qf){if(Xd._isRunningTask(yf)){if(vf)return Df(null,!0),bf.emit("error",vf);bf.emit("upload_slice_complete",qf)}})}),bf.on("get_file_size_finish",function(){if(Df=fd.throttleOnProgress.call(Xd,Bf,Wd.onProgress),Wd.UploadData.UploadId)bf.emit("get_upload_data_finish",Wd.UploadData);else{var zf=fd.extend({TaskId:yf,Bucket:Ef,Region:gf,Key:xf,Headers:Wd.Headers,StorageClass:Jf,Body:Af,FileSize:Bf,SliceSize:Lf,onHashProgress:Uf,tracker:Gf},Wd);Ad.call(Xd,zf,function(Tf,vf){if(Xd._isRunningTask(yf)){if(Tf)return bf.emit("error",Tf);Wd.UploadData.UploadId=vf.UploadId,Wd.UploadData.PartList=vf.PartList,bf.emit("get_upload_data_finish",Wd.UploadData)}})}}),Bf=Wd.ContentLength,delete Wd.ContentLength,!Wd.Headers&&(Wd.Headers={}),fd.each(Wd.Headers,function(zf,Tf){Tf.toLowerCase()==="content-length"&&delete Wd.Headers[Tf]}),function(){for(var zf=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],Tf=1024*1024,vf=0;vfJf)return vf(null,!1);if(qf>1){var eh=Math.max(Tf[0].Size,Tf[1].Size);if(eh!==Xf)return vf(null,!1)}var ch=function ih(Pf){if(Pf=vf.length){Gf.emit("has_and_check_upload_id",zf);return}var ih=vf[ch];if(!fd.isInArray(zf,ih)){cd.removeUploadId.call(xf,ih),eh(ch+1);return}if(cd.using[ih]){eh(ch+1);return}Id.call(xf,{Bucket:bf,Region:yf,Key:Ef,UploadId:ih,tracker:Wd.tracker},function(Pf,uh){xf._isRunningTask(Xd)&&(Pf?(cd.removeUploadId.call(xf,ih),eh(ch+1)):Gf.emit("upload_id_available",{UploadId:ih,PartList:uh.PartList}))})};qf(0)}),Gf.on("get_remote_upload_id_list",function(){Nd.call(xf,{Bucket:bf,Region:yf,Key:Ef,tracker:Wd.tracker},function(zf,Tf){if(xf._isRunningTask(Xd)){if(zf)return Gf.emit("error",zf);var vf=fd.filter(Tf.UploadList,function(ch){return ch.Key===Ef&&(!gf||ch.StorageClass.toUpperCase()===gf.toUpperCase())}).reverse().map(function(ch){return ch.UploadId||ch.UploadID});if(vf.length)Gf.emit("seek_local_avail_upload_id",vf);else{var qf=cd.getFileId(Wd.Body,Wd.ChunkSize,bf,Ef),eh;qf&&(eh=cd.getUploadIdList.call(xf,qf))&&fd.each(eh,function(ch){cd.removeUploadId.call(xf,ch)}),Gf.emit("no_available_upload_id")}}})}),Gf.emit("get_remote_upload_id_list")}function Nd(Wd,Zd){var Xd=this,bf=[],yf={Bucket:Wd.Bucket,Region:Wd.Region,Prefix:Wd.Key,calledBySdk:Wd.calledBySdk||"sliceUploadFile",tracker:Wd.tracker},Ef=function gf(){Xd.multipartList(yf,function(xf,Af){if(xf)return Zd(xf);bf.push.apply(bf,Af.Upload||[]),Af.IsTruncated==="true"?(yf.KeyMarker=Af.NextKeyMarker,yf.UploadIdMarker=Af.NextUploadIdMarker,gf()):Zd(null,{UploadList:bf})})};Ef()}function Id(Wd,Zd){var Xd=this,bf=[],yf={Bucket:Wd.Bucket,Region:Wd.Region,Key:Wd.Key,UploadId:Wd.UploadId,calledBySdk:"sliceUploadFile",tracker:Wd.tracker},Ef=function gf(){Xd.multipartListPart(yf,function(xf,Af){if(xf)return Zd(xf);bf.push.apply(bf,Af.Part||[]),Af.IsTruncated==="true"?(yf.PartNumberMarker=Af.NextPartNumberMarker,gf()):Zd(null,{PartList:bf})})};Ef()}function kd(Wd,Zd){var Xd=this,bf=Wd.TaskId,yf=Wd.Bucket,Ef=Wd.Region,gf=Wd.Key,xf=Wd.UploadData,Af=Wd.FileSize,Lf=Wd.SliceSize,Xf=Math.min(Wd.AsyncLimit||Xd.options.ChunkParallelLimit||1,256),Jf=Wd.Body,Zf=Math.ceil(Af/Lf),Bf=0,Df=Wd.ServerSideEncryption,Uf=Wd.Headers,Gf=fd.filter(xf.PartList,function(Tf){return Tf.Uploaded&&(Bf+=Tf.PartNumber>=Zf&&Af%Lf||Lf),!Tf.Uploaded}),zf=Wd.onProgress;dd.eachLimit(Gf,Xf,function(Tf,vf){if(Xd._isRunningTask(bf)){var qf=Tf.PartNumber,eh=Math.min(Af,Tf.PartNumber*Lf)-(Tf.PartNumber-1)*Lf,ch=0;jd.call(Xd,{TaskId:bf,Bucket:yf,Region:Ef,Key:gf,SliceSize:Lf,FileSize:Af,PartNumber:qf,ServerSideEncryption:Df,Body:Jf,UploadData:xf,Headers:Uf,onProgress:function(Pf){Bf+=Pf.loaded-ch,ch=Pf.loaded,zf({loaded:Bf,total:Af})},tracker:Wd.tracker},function(ih,Pf){Xd._isRunningTask(bf)&&(!ih&&!Pf.ETag&&(ih='get ETag error, please add "ETag" to CORS ExposeHeader setting.( 获取ETag失败,请在CORS ExposeHeader设置中添加ETag,请参考文档:https://cloud.tencent.com/document/product/436/13318 )'),ih?Bf-=ch:(Bf+=eh-ch,Tf.ETag=Pf.ETag),zf({loaded:Bf,total:Af}),vf(ih||null,Pf))})}},function(Tf){if(Xd._isRunningTask(bf)){if(Tf)return Zd(Tf);Zd(null,{UploadId:xf.UploadId,SliceList:xf.PartList})}})}function jd(Wd,Zd){var Xd=this,bf=Wd.TaskId,yf=Wd.Bucket,Ef=Wd.Region,gf=Wd.Key,xf=Wd.FileSize,Af=Wd.Body,Lf=Wd.PartNumber*1,Xf=Wd.SliceSize,Jf=Wd.ServerSideEncryption,Zf=Wd.UploadData,Bf=Wd.Headers||{},Df=Xd.options.ChunkRetryTimes+1,Uf=Xf*(Lf-1),Gf=Xf,zf=Uf+Xf;zf>xf&&(zf=xf,Gf=zf-Uf);var Tf=["x-cos-traffic-limit","x-cos-mime-limit"],vf={};fd.each(Bf,function(eh,ch){Tf.indexOf(ch)>-1&&(vf[ch]=eh)});var qf=Zf.PartList[Lf-1];dd.retry(Df,function(eh){Xd._isRunningTask(bf)&&fd.fileSlice(Af,Uf,zf,!0,function(ch){Xd.multipartUpload({TaskId:bf,Bucket:yf,Region:Ef,Key:gf,ContentLength:Gf,PartNumber:Lf,UploadId:Zf.UploadId,ServerSideEncryption:Jf,Body:ch,Headers:vf,onProgress:Wd.onProgress,calledBySdk:"sliceUploadFile",tracker:Wd.tracker},function(ih,Pf){if(Xd._isRunningTask(bf))return ih?eh(ih):(qf.Uploaded=!0,eh(null,Pf))})})},function(eh,ch){if(Xd._isRunningTask(bf))return Zd(eh,ch)})}function Fd(Wd,Zd){var Xd=Wd.Bucket,bf=Wd.Region,yf=Wd.Key,Ef=Wd.UploadId,gf=Wd.SliceList,xf=this,Af=this.options.ChunkRetryTimes+1,Lf=Wd.Headers,Xf=gf.map(function(Jf){return{PartNumber:Jf.PartNumber,ETag:Jf.ETag}});dd.retry(Af,function(Jf){xf.multipartComplete({Bucket:Xd,Region:bf,Key:yf,UploadId:Ef,Parts:Xf,Headers:Lf,calledBySdk:"sliceUploadFile",tracker:Wd.tracker},Jf)},function(Jf,Zf){Zd(Jf,Zf)})}function Md(Wd,Zd){var Xd=Wd.Bucket,bf=Wd.Region,yf=Wd.Key,Ef=Wd.UploadId,gf=Wd.Level||"task",xf=Wd.AsyncLimit,Af=this,Lf=new pd;if(Lf.on("error",function(Xf){return Zd(Xf)}),Lf.on("get_abort_array",function(Xf){Ld.call(Af,{Bucket:Xd,Region:bf,Key:yf,Headers:Wd.Headers,AsyncLimit:xf,AbortArray:Xf},Zd)}),gf==="bucket")Nd.call(Af,{Bucket:Xd,Region:bf,calledBySdk:"abortUploadTask"},function(Xf,Jf){if(Xf)return Zd(Xf);Lf.emit("get_abort_array",Jf.UploadList||[])});else if(gf==="file"){if(!yf)return Zd(fd.error(new Error("abort_upload_task_no_key")));Nd.call(Af,{Bucket:Xd,Region:bf,Key:yf,calledBySdk:"abortUploadTask"},function(Xf,Jf){if(Xf)return Zd(Xf);Lf.emit("get_abort_array",Jf.UploadList||[])})}else if(gf==="task"){if(!Ef)return Zd(fd.error(new Error("abort_upload_task_no_id")));if(!yf)return Zd(fd.error(new Error("abort_upload_task_no_key")));Lf.emit("get_abort_array",[{Key:yf,UploadId:Ef}])}else return Zd(fd.error(new Error("abort_unknown_level")))}function Ld(Wd,Zd){var Xd=Wd.Bucket,bf=Wd.Region,yf=Wd.Key,Ef=Wd.AbortArray,gf=Wd.AsyncLimit||1,xf=this,Af=0,Lf=new Array(Ef.length);dd.eachLimit(Ef,gf,function(Xf,Jf){var Zf=Af;if(yf&&yf!==Xf.Key){Lf[Zf]={error:{KeyNotMatch:!0}},Jf(null);return}var Bf=Xf.UploadId||Xf.UploadID;xf.multipartAbort({Bucket:Xd,Region:bf,Key:Xf.Key,Headers:Wd.Headers,UploadId:Bf},function(Df){var Uf={Bucket:Xd,Region:bf,Key:Xf.Key,UploadId:Bf};Lf[Zf]={error:Df,task:Uf},Jf(null)}),Af++},function(Xf){if(Xf)return Zd(Xf);for(var Jf=[],Zf=[],Bf=0,Df=Lf.length;Bfbf?"sliceUploadFile":"putObject";Wd.tracker=new md({Beacon:Xd.options.BeaconReporter,clsReporter:Xd.options.ClsReporter,bucket:Wd.Bucket,region:Wd.Region,apiName:"uploadFile",realApi:Lf,fileKey:Wd.Key,fileSize:gf,accelerate:Af,deepTracker:Xd.options.DeepTracker,customId:Xd.options.CustomId,delay:Xd.options.TrackerDelay})}fd.each(Wd,function(Uf,Gf){ud(Uf)!=="object"&&typeof Uf!="function"&&(xf[Gf]=Uf)});var Xf=Wd.onTaskReady,Jf=function(Gf){xf.TaskId=Gf,Xf&&Xf(Gf)};Wd.onTaskReady=Jf;var Zf=gf>bf?"sliceUploadFile":"putObject",Bf=Wd.onFileFinish,Df=function(Gf,zf){Wd.tracker&&Wd.tracker.report(Gf,zf),Bf&&Bf(Gf,zf,xf),Zd&&Zd(Gf,zf)};yf.push({api:Zf,params:Wd,callback:Df}),Xd._addTasks(yf)}function Gd(Wd,Zd){var Xd=this,bf=Wd.SliceSize===void 0?Xd.options.SliceSize:Wd.SliceSize,yf=0,Ef=0,gf=fd.throttleOnProgress.call(Xd,Ef,Wd.onProgress),xf=Wd.files.length,Af=Wd.onFileFinish,Lf=Array(xf),Xf=function(Bf,Df,Uf){gf(null,!0),Af&&Af(Bf,Df,Uf),Lf[Uf.Index]={options:Uf,error:Bf,data:Df},--xf<=0&&Zd&&Zd(null,{files:Lf})},Jf=[];fd.each(Wd.files,function(Zf,Bf){(function(){var Df=Zf.Body,Uf=Df.size||Df.length||0,Gf={Index:Bf,TaskId:""};if(!Xd.options.UseRawKey&&Zf.Key&&Zf.Key.substr(0,1)==="/"&&(Zf.Key=Zf.Key.substr(1)),yf+=Uf,Xd.options.EnableReporter){var zf=Xd.options.UseAccelerate||typeof Xd.options.Domain=="string"&&Xd.options.Domain.includes("accelerate."),Tf=Uf>bf?"sliceUploadFile":"putObject";Zf.tracker=new md({Beacon:Xd.options.BeaconReporter,clsReporter:Xd.options.ClsReporter,bucket:Zf.Bucket,region:Zf.Region,apiName:"uploadFiles",realApi:Tf,fileKey:Zf.Key,fileSize:Uf,accelerate:zf,deepTracker:Xd.options.DeepTracker,customId:Xd.options.CustomId,delay:Xd.options.TrackerDelay})}fd.each(Zf,function(Qf,wf){ud(Qf)!=="object"&&typeof Qf!="function"&&(Gf[wf]=Qf)});var vf=Zf.onTaskReady,qf=function(wf){Gf.TaskId=wf,vf&&vf(wf)};Zf.onTaskReady=qf;var eh=0,ch=Zf.onProgress,ih=function(wf){Ef=Ef-eh+wf.loaded,eh=wf.loaded,ch&&ch(wf),gf({loaded:Ef,total:yf})};Zf.onProgress=ih;var Pf=Uf>bf?"sliceUploadFile":"putObject",uh=Zf.onFileFinish,xh=function(wf,$f){Zf.tracker&&Zf.tracker.report(wf,$f),uh&&uh(wf,$f),Xf&&Xf(wf,$f,Gf)};Jf.push({api:Pf,params:Zf,callback:xh})})()}),Xd._addTasks(Jf)}function Vd(Wd,Zd){var Xd=new pd,bf=this,yf=Wd.Bucket,Ef=Wd.Region,gf=Wd.Key,xf=Wd.CopySource,Af=fd.getSourceParams.call(this,xf);if(!Af){Zd(fd.error(new Error("CopySource format error")));return}var Lf=Af.Bucket,Xf=Af.Region,Jf=decodeURIComponent(Af.Key),Zf=Wd.CopySliceSize===void 0?bf.options.CopySliceSize:Wd.CopySliceSize;Zf=Math.max(0,Zf);var Bf=Wd.CopyChunkSize||this.options.CopyChunkSize,Df=this.options.CopyChunkParallelLimit,Uf=this.options.ChunkRetryTimes+1,Gf=0,zf=0,Tf,vf,qf={},eh={},ch={};Xd.on("copy_slice_complete",function(ih){fd.each(Wd.Headers,function(uh,xh){xh.toLowerCase().indexOf("x-cos-meta-")});var Pf=fd.map(ih.PartList,function(uh){return{PartNumber:uh.PartNumber,ETag:uh.ETag}});dd.retry(Uf,function(uh){bf.multipartComplete({Bucket:yf,Region:Ef,Key:gf,UploadId:ih.UploadId,Parts:Pf,tracker:Wd.tracker,calledBySdk:"sliceCopyFile"},uh)},function(uh,xh){if(cd.removeUsing(ih.UploadId),uh)return vf(null,!0),Zd(uh);cd.removeUploadId(ih.UploadId),vf({loaded:Tf,total:Tf},!0),Zd(null,xh)})}),Xd.on("get_copy_data_finish",function(ih){var Pf=cd.getCopyFileId(xf,qf,Bf,yf,gf);Pf&&cd.saveUploadId(Pf,ih.UploadId,bf.options.UploadIdCacheLimit),cd.setUsing(ih.UploadId);var uh=fd.filter(ih.PartList,function(xh){return xh.Uploaded&&(zf+=xh.PartNumber>=Gf&&Tf%Bf||Bf),!xh.Uploaded});dd.eachLimit(uh,Df,function(xh,Qf){var wf=xh.PartNumber,$f=xh.CopySourceRange,Wf=xh.end-xh.start;dd.retry(Uf,function(vh){Kd.call(bf,{Bucket:yf,Region:Ef,Key:gf,CopySource:xf,UploadId:ih.UploadId,PartNumber:wf,CopySourceRange:$f,tracker:Wd.tracker,calledBySdk:"sliceCopyFile"},vh)},function(vh,Th){if(vh)return Qf(vh);zf+=Wf,vf({loaded:zf,total:Tf}),xh.ETag=Th.ETag,Qf(vh||null,Th)})},function(xh){if(xh)return cd.removeUsing(ih.UploadId),vf(null,!0),Zd(xh);Xd.emit("copy_slice_complete",ih)})}),Xd.on("get_chunk_size_finish",function(){var ih=function(){bf.multipartInit({Bucket:yf,Region:Ef,Key:gf,Headers:ch,tracker:Wd.tracker,calledBySdk:"sliceCopyFile"},function(wf,$f){if(wf)return Zd(wf);Wd.UploadId=$f.UploadId,Xd.emit("get_copy_data_finish",{UploadId:Wd.UploadId,PartList:Wd.PartList})})},Pf=cd.getCopyFileId(xf,qf,Bf,yf,gf),uh=cd.getUploadIdList(Pf);if(!Pf||!uh)return ih();var xh=function Qf(wf){if(wf>=uh.length)return ih();var $f=uh[wf];if(cd.using[$f])return Qf(wf+1);Id.call(bf,{Bucket:yf,Region:Ef,Key:gf,UploadId:$f,tracker:Wd.tracker,calledBySdk:"sliceCopyFile"},function(Wf,vh){if(Wf)cd.removeUploadId($f),Qf(wf+1);else{if(cd.using[$f])return Qf(wf+1);var Th={},ph=0;fd.each(vh.PartList,function(Vh){var wh=parseInt(Vh.Size),fm=ph+wh-1;Th[Vh.PartNumber+"|"+ph+"|"+fm]=Vh.ETag,ph+=wh}),fd.each(Wd.PartList,function(Vh){var wh=Th[Vh.PartNumber+"|"+Vh.start+"|"+Vh.end];wh&&(Vh.ETag=wh,Vh.Uploaded=!0)}),Xd.emit("get_copy_data_finish",{UploadId:$f,PartList:Wd.PartList})}})};xh(0)}),Xd.on("get_file_size_finish",function(){if(function(){for(var Pf=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],uh=1024*1024,xh=0;xhwf.length&&(eh[Qf]=xh)}),Xd.emit("get_file_size_finish")}})}function Kd(Wd,Zd){var Xd=Wd.TaskId,bf=Wd.Bucket,yf=Wd.Region,Ef=Wd.Key,gf=Wd.CopySource,xf=Wd.UploadId,Af=Wd.PartNumber*1,Lf=Wd.CopySourceRange,Xf=this.options.ChunkRetryTimes+1,Jf=this;dd.retry(Xf,function(Zf){Jf.uploadPartCopy({TaskId:Xd,Bucket:bf,Region:yf,Key:Ef,CopySource:gf,UploadId:xf,PartNumber:Af,CopySourceRange:Lf,tracker:Wd.tracker,calledBySdk:Wd.calledBySdk},function(Bf,Df){Zf(Bf||null,Df)})},function(Zf,Bf){return Zd(Zf,Bf)})}var mf={sliceUploadFile:vd,abortUploadTask:Md,uploadFile:Hd,uploadFiles:Gd,sliceCopyFile:Vd};nd.exports.init=function(Wd,Zd){Zd.transferToTaskMethod(mf,"sliceUploadFile"),fd.each(mf,function(Xd,bf){Wd.prototype[bf]=fd.apiWrapper(bf,Xd)})}},"./src/async.js":function(nd,od){var ld=function(pd,fd,md,vd){if(vd=vd||function(){},!pd.length||fd<=0)return vd();var Ad=0,Nd=0,Id=0;(function kd(){if(Ad>=pd.length)return vd();for(;Id=pd.length?vd():kd())})})()},ud=function(pd,fd,md){var vd=function Ad(Nd){fd(function(Id,kd){Id&&Nd"u"?"undefined":ud(location))==="object"&&location.protocol==="http:"?"http:":"https:"),Sh=this.options.ServiceDomain,Wh=Of.AppId||this.options.appId,Fh=Of.Region;Sh?(Sh=Sh.replace(/\{\{AppId\}\}/gi,Wh||"").replace(/\{\{Region\}\}/gi,Fh||"").replace(/\{\{.*?\}\}/gi,""),/^[a-zA-Z]+:\/\//.test(Sh)||(Sh=_h+"//"+Sh),Sh.slice(-1)==="/"&&(Sh=Sh.slice(0,-1))):Fh?Sh=_h+"//cos."+Fh+".myqcloud.com":Sh=_h+"//service.cos.myqcloud.com";var om="",im=Fh?"cos."+Fh+".myqcloud.com":"service.cos.myqcloud.com",Rh=Sh.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");im===Rh&&(om=im),Qm.call(this,{Action:"name/cos:GetService",url:Sh,method:"GET",headers:Of.Headers,SignHost:om,tracker:Of.tracker},function(Im,Pm){if(Im)return Ch(Im);var i_=Pm&&Pm.ListAllMyBucketsResult&&Pm.ListAllMyBucketsResult.Buckets&&Pm.ListAllMyBucketsResult.Buckets.Bucket||[];i_=dd.isArray(i_)?i_:[i_];var Hm=Pm&&Pm.ListAllMyBucketsResult&&Pm.ListAllMyBucketsResult.Owner||{};Ch(null,{Buckets:i_,Owner:Hm,statusCode:Pm.statusCode,headers:Pm.headers})})}function fd(Of,Ch){var _h=this,Sh="";if(Of.BucketAZConfig){var Wh={BucketAZConfig:Of.BucketAZConfig};Sh=dd.json2xml({CreateBucketConfiguration:Wh})}Qm.call(this,{Action:"name/cos:PutBucket",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,body:Sh,tracker:Of.tracker},function(Fh,om){if(Fh)return Ch(Fh);var im=L_({protocol:_h.options.Protocol,domain:_h.options.Domain,bucket:Of.Bucket,region:Of.Region,isLocation:!0});Ch(null,{Location:im,statusCode:om.statusCode,headers:om.headers})})}function md(Of,Ch){Qm.call(this,{Action:"name/cos:HeadBucket",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,method:"HEAD",tracker:Of.tracker},Ch)}function vd(Of,Ch){var _h={};_h.prefix=Of.Prefix||"",_h.delimiter=Of.Delimiter,_h.marker=Of.Marker,_h["max-keys"]=Of.MaxKeys,_h["encoding-type"]=Of.EncodingType,Qm.call(this,{Action:"name/cos:GetBucket",ResourceKey:_h.prefix,method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,qs:_h,tracker:Of.tracker},function(Sh,Wh){if(Sh)return Ch(Sh);var Fh=Wh.ListBucketResult||{},om=Fh.Contents||[],im=Fh.CommonPrefixes||[];om=dd.isArray(om)?om:[om],im=dd.isArray(im)?im:[im];var Rh=dd.clone(Fh);dd.extend(Rh,{Contents:om,CommonPrefixes:im,statusCode:Wh.statusCode,headers:Wh.headers}),Ch(null,Rh)})}function Ad(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucket",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,method:"DELETE",tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Nd(Of,Ch){var _h=Of.Headers,Sh="";if(Of.AccessControlPolicy){var Wh=dd.clone(Of.AccessControlPolicy||{}),Fh=Wh.Grants||Wh.Grant;Fh=dd.isArray(Fh)?Fh:[Fh],delete Wh.Grant,delete Wh.Grants,Wh.AccessControlList={Grant:Fh},Sh=dd.json2xml({AccessControlPolicy:Wh}),_h["Content-Type"]="application/xml",_h["Content-MD5"]=dd.b64(dd.md5(Sh))}dd.each(_h,function(om,im){im.indexOf("x-cos-grant-")===0&&(_h[im]=tg(_h[im]))}),Qm.call(this,{Action:"name/cos:PutBucketACL",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,headers:_h,action:"acl",body:Sh,tracker:Of.tracker},function(om,im){if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function Id(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketACL",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"acl",tracker:Of.tracker},function(_h,Sh){if(_h)return Ch(_h);var Wh=Sh.AccessControlPolicy||{},Fh=Wh.Owner||{},om=Wh.AccessControlList.Grant||[];om=dd.isArray(om)?om:[om];var im=h_(Wh);Sh.headers&&Sh.headers["x-cos-acl"]&&(im.ACL=Sh.headers["x-cos-acl"]),im=dd.extend(im,{Owner:Fh,Grants:om,statusCode:Sh.statusCode,headers:Sh.headers}),Ch(null,im)})}function kd(Of,Ch){var _h=Of.CORSConfiguration||{},Sh=_h.CORSRules||Of.CORSRules||[];Sh=dd.clone(dd.isArray(Sh)?Sh:[Sh]),dd.each(Sh,function(im){dd.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],function(Rh){var Im=Rh+"s",Pm=im[Im]||im[Rh]||[];delete im[Im],im[Rh]=dd.isArray(Pm)?Pm:[Pm]})});var Wh={CORSRule:Sh};Of.ResponseVary&&(Wh.ResponseVary=Of.ResponseVary);var Fh=dd.json2xml({CORSConfiguration:Wh}),om=Of.Headers;om["Content-Type"]="application/xml",om["Content-MD5"]=dd.b64(dd.md5(Fh)),Qm.call(this,{Action:"name/cos:PutBucketCORS",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Fh,action:"cors",headers:om,tracker:Of.tracker},function(im,Rh){if(im)return Ch(im);Ch(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function jd(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketCORS",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"cors",tracker:Of.tracker},function(_h,Sh){if(_h){if(_h.statusCode===404&&_h.error&&_h.error.Code==="NoSuchCORSConfiguration"){var Wh={CORSRules:[],statusCode:_h.statusCode};_h.headers&&(Wh.headers=_h.headers),Ch(null,Wh)}else Ch(_h);return}var Fh=Sh.CORSConfiguration||{},om=Fh.CORSRules||Fh.CORSRule||[];om=dd.clone(dd.isArray(om)?om:[om]);var im=Fh.ResponseVary;dd.each(om,function(Rh){dd.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],function(Im){var Pm=Im+"s",i_=Rh[Pm]||Rh[Im]||[];delete Rh[Im],Rh[Pm]=dd.isArray(i_)?i_:[i_]})}),Ch(null,{CORSRules:om,ResponseVary:im,statusCode:Sh.statusCode,headers:Sh.headers})})}function Fd(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketCORS",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"cors",tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode||_h.statusCode,headers:Sh.headers})})}function Md(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketLocation",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"location",tracker:Of.tracker},Ch)}function Ld(Of,Ch){var _h=Of.Policy;try{typeof _h=="string"&&(_h=JSON.parse(_h))}catch{}if(!_h||typeof _h=="string")return Ch(dd.error(new Error("Policy format error")));var Sh=JSON.stringify(_h);_h.version||(_h.version="2.0");var Wh=Of.Headers;Wh["Content-Type"]="application/json",Wh["Content-MD5"]=dd.b64(dd.md5(Sh)),Qm.call(this,{Action:"name/cos:PutBucketPolicy",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,action:"policy",body:Sh,headers:Wh,tracker:Of.tracker},function(Fh,om){if(Fh&&Fh.statusCode===204)return Ch(null,{statusCode:Fh.statusCode});if(Fh)return Ch(Fh);Ch(null,{statusCode:om.statusCode,headers:om.headers})})}function Hd(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketPolicy",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"policy",rawBody:!0,tracker:Of.tracker},function(_h,Sh){if(_h)return _h.statusCode&&_h.statusCode===403?Ch(dd.error(_h,{ErrorStatus:"Access Denied"})):_h.statusCode&&_h.statusCode===405?Ch(dd.error(_h,{ErrorStatus:"Method Not Allowed"})):_h.statusCode&&_h.statusCode===404?Ch(dd.error(_h,{ErrorStatus:"Policy Not Found"})):Ch(_h);var Wh={};try{Wh=JSON.parse(Sh.body)}catch{}Ch(null,{Policy:Wh,statusCode:Sh.statusCode,headers:Sh.headers})})}function Gd(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketPolicy",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"policy",tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode||_h.statusCode,headers:Sh.headers})})}function Vd(Of,Ch){var _h=Of.Tagging||{},Sh=_h.TagSet||_h.Tags||Of.Tags||[];Sh=dd.clone(dd.isArray(Sh)?Sh:[Sh]);var Wh=dd.json2xml({Tagging:{TagSet:{Tag:Sh}}}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:PutBucketTagging",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Wh,action:"tagging",headers:Fh,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function Kd(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketTagging",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"tagging",tracker:Of.tracker},function(_h,Sh){if(_h){if(_h.statusCode===404&&_h.error&&(_h.error==="Not Found"||_h.error.Code==="NoSuchTagSet")){var Wh={Tags:[],statusCode:_h.statusCode};_h.headers&&(Wh.headers=_h.headers),Ch(null,Wh)}else Ch(_h);return}var Fh=[];try{Fh=Sh.Tagging.TagSet.Tag||[]}catch{}Fh=dd.clone(dd.isArray(Fh)?Fh:[Fh]),Ch(null,{Tags:Fh,statusCode:Sh.statusCode,headers:Sh.headers})})}function mf(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketTagging",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"tagging",tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Wd(Of,Ch){var _h=Of.LifecycleConfiguration||{},Sh=_h.Rules||Of.Rules||[];Sh=dd.clone(Sh);var Wh=dd.json2xml({LifecycleConfiguration:{Rule:Sh}}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:PutBucketLifecycle",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Wh,action:"lifecycle",headers:Fh,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function Zd(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketLifecycle",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"lifecycle",tracker:Of.tracker},function(_h,Sh){if(_h){if(_h.statusCode===404&&_h.error&&_h.error.Code==="NoSuchLifecycleConfiguration"){var Wh={Rules:[],statusCode:_h.statusCode};_h.headers&&(Wh.headers=_h.headers),Ch(null,Wh)}else Ch(_h);return}var Fh=[];try{Fh=Sh.LifecycleConfiguration.Rule||[]}catch{}Fh=dd.clone(dd.isArray(Fh)?Fh:[Fh]),Ch(null,{Rules:Fh,statusCode:Sh.statusCode,headers:Sh.headers})})}function Xd(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketLifecycle",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"lifecycle",tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function bf(Of,Ch){if(!Of.VersioningConfiguration){Ch(dd.error(new Error("missing param VersioningConfiguration")));return}var _h=Of.VersioningConfiguration||{},Sh=dd.json2xml({VersioningConfiguration:_h}),Wh=Of.Headers;Wh["Content-Type"]="application/xml",Wh["Content-MD5"]=dd.b64(dd.md5(Sh)),Qm.call(this,{Action:"name/cos:PutBucketVersioning",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Sh,action:"versioning",headers:Wh,tracker:Of.tracker},function(Fh,om){if(Fh&&Fh.statusCode===204)return Ch(null,{statusCode:Fh.statusCode});if(Fh)return Ch(Fh);Ch(null,{statusCode:om.statusCode,headers:om.headers})})}function yf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketVersioning",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"versioning",tracker:Of.tracker},function(_h,Sh){_h||!Sh.VersioningConfiguration&&(Sh.VersioningConfiguration={}),Ch(_h,Sh)})}function Ef(Of,Ch){var _h=dd.clone(Of.ReplicationConfiguration),Sh=dd.json2xml({ReplicationConfiguration:_h});Sh=Sh.replace(/<(\/?)Rules>/gi,"<$1Rule>"),Sh=Sh.replace(/<(\/?)Tags>/gi,"<$1Tag>");var Wh=Of.Headers;Wh["Content-Type"]="application/xml",Wh["Content-MD5"]=dd.b64(dd.md5(Sh)),Qm.call(this,{Action:"name/cos:PutBucketReplication",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Sh,action:"replication",headers:Wh,tracker:Of.tracker},function(Fh,om){if(Fh&&Fh.statusCode===204)return Ch(null,{statusCode:Fh.statusCode});if(Fh)return Ch(Fh);Ch(null,{statusCode:om.statusCode,headers:om.headers})})}function gf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketReplication",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"replication",tracker:Of.tracker},function(_h,Sh){if(_h){if(_h.statusCode===404&&_h.error&&(_h.error==="Not Found"||_h.error.Code==="ReplicationConfigurationnotFoundError")){var Wh={ReplicationConfiguration:{Rules:[]},statusCode:_h.statusCode};_h.headers&&(Wh.headers=_h.headers),Ch(null,Wh)}else Ch(_h);return}!Sh.ReplicationConfiguration&&(Sh.ReplicationConfiguration={}),Sh.ReplicationConfiguration.Rule&&(Sh.ReplicationConfiguration.Rules=dd.makeArray(Sh.ReplicationConfiguration.Rule),delete Sh.ReplicationConfiguration.Rule),Ch(_h,Sh)})}function xf(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"replication",tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Af(Of,Ch){if(!Of.WebsiteConfiguration){Ch(dd.error(new Error("missing param WebsiteConfiguration")));return}var _h=dd.clone(Of.WebsiteConfiguration||{}),Sh=_h.RoutingRules||_h.RoutingRule||[];Sh=dd.isArray(Sh)?Sh:[Sh],delete _h.RoutingRule,delete _h.RoutingRules,Sh.length&&(_h.RoutingRules={RoutingRule:Sh});var Wh=dd.json2xml({WebsiteConfiguration:_h}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:PutBucketWebsite",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Wh,action:"website",headers:Fh,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function Lf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketWebsite",method:"GET",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:Of.Headers,action:"website",tracker:Of.tracker},function(_h,Sh){if(_h){if(_h.statusCode===404&&_h.error.Code==="NoSuchWebsiteConfiguration"){var Wh={WebsiteConfiguration:{},statusCode:_h.statusCode};_h.headers&&(Wh.headers=_h.headers),Ch(null,Wh)}else Ch(_h);return}var Fh=Sh.WebsiteConfiguration||{};if(Fh.RoutingRules){var om=dd.clone(Fh.RoutingRules.RoutingRule||[]);om=dd.makeArray(om),Fh.RoutingRules=om}Ch(null,{WebsiteConfiguration:Fh,statusCode:Sh.statusCode,headers:Sh.headers})})}function Xf(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketWebsite",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"website",tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Jf(Of,Ch){if(!Of.RefererConfiguration){Ch(dd.error(new Error("missing param RefererConfiguration")));return}var _h=dd.clone(Of.RefererConfiguration||{}),Sh=_h.DomainList||{},Wh=Sh.Domains||Sh.Domain||[];Wh=dd.isArray(Wh)?Wh:[Wh],Wh.length&&(_h.DomainList={Domain:Wh});var Fh=dd.json2xml({RefererConfiguration:_h}),om=Of.Headers;om["Content-Type"]="application/xml",om["Content-MD5"]=dd.b64(dd.md5(Fh)),Qm.call(this,{Action:"name/cos:PutBucketReferer",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Fh,action:"referer",headers:om,tracker:Of.tracker},function(im,Rh){if(im&&im.statusCode===204)return Ch(null,{statusCode:im.statusCode});if(im)return Ch(im);Ch(null,{statusCode:Rh.statusCode,headers:Rh.headers})})}function Zf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketReferer",method:"GET",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:Of.Headers,action:"referer",tracker:Of.tracker},function(_h,Sh){if(_h){if(_h.statusCode===404&&_h.error.Code==="NoSuchRefererConfiguration"){var Wh={WebsiteConfiguration:{},statusCode:_h.statusCode};_h.headers&&(Wh.headers=_h.headers),Ch(null,Wh)}else Ch(_h);return}var Fh=Sh.RefererConfiguration||{};if(Fh.DomainList){var om=dd.makeArray(Fh.DomainList.Domain||[]);Fh.DomainList={Domains:om}}Ch(null,{RefererConfiguration:Fh,statusCode:Sh.statusCode,headers:Sh.headers})})}function Bf(Of,Ch){var _h=Of.DomainConfiguration||{},Sh=_h.DomainRule||Of.DomainRule||[];Sh=dd.clone(Sh);var Wh=dd.json2xml({DomainConfiguration:{DomainRule:Sh}}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:PutBucketDomain",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Wh,action:"domain",headers:Fh,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function Df(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketDomain",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"domain",tracker:Of.tracker},function(_h,Sh){if(_h)return Ch(_h);var Wh=[];try{Wh=Sh.DomainConfiguration.DomainRule||[]}catch{}Wh=dd.clone(dd.isArray(Wh)?Wh:[Wh]),Ch(null,{DomainRule:Wh,statusCode:Sh.statusCode,headers:Sh.headers})})}function Uf(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketDomain",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"domain",tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Gf(Of,Ch){var _h=Of.OriginConfiguration||{},Sh=_h.OriginRule||Of.OriginRule||[];Sh=dd.clone(Sh);var Wh=dd.json2xml({OriginConfiguration:{OriginRule:Sh}}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:PutBucketOrigin",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Wh,action:"origin",headers:Fh,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function zf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketOrigin",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"origin",tracker:Of.tracker},function(_h,Sh){if(_h)return Ch(_h);var Wh=[];try{Wh=Sh.OriginConfiguration.OriginRule||[]}catch{}Wh=dd.clone(dd.isArray(Wh)?Wh:[Wh]),Ch(null,{OriginRule:Wh,statusCode:Sh.statusCode,headers:Sh.headers})})}function Tf(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketOrigin",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"origin",tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function vf(Of,Ch){var _h=dd.json2xml({BucketLoggingStatus:Of.BucketLoggingStatus||""}),Sh=Of.Headers;Sh["Content-Type"]="application/xml",Sh["Content-MD5"]=dd.b64(dd.md5(_h)),Qm.call(this,{Action:"name/cos:PutBucketLogging",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:_h,action:"logging",headers:Sh,tracker:Of.tracker},function(Wh,Fh){if(Wh&&Wh.statusCode===204)return Ch(null,{statusCode:Wh.statusCode});if(Wh)return Ch(Wh);Ch(null,{statusCode:Fh.statusCode,headers:Fh.headers})})}function qf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketLogging",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"logging",tracker:Of.tracker},function(_h,Sh){if(_h)return Ch(_h);Ch(null,{BucketLoggingStatus:Sh.BucketLoggingStatus,statusCode:Sh.statusCode,headers:Sh.headers})})}function eh(Of,Ch,_h){var Sh=dd.clone(Ch.InventoryConfiguration);if(Sh.OptionalFields){var Wh=Sh.OptionalFields||[];Sh.OptionalFields={Field:Wh}}if(Sh.Destination&&Sh.Destination.COSBucketDestination&&Sh.Destination.COSBucketDestination.Encryption){var Fh=Sh.Destination.COSBucketDestination.Encryption;Object.keys(Fh).indexOf("SSECOS")>-1&&(Fh["SSE-COS"]=Fh.SSECOS,delete Fh.SSECOS)}var om=dd.json2xml({InventoryConfiguration:Sh}),im=Ch.Headers;im["Content-Type"]="application/xml",im["Content-MD5"]=dd.b64(dd.md5(om));var Rh=Of==="PUT"?"name/cos:PutBucketInventory":"name/cos:PostBucketInventory";Qm.call(this,{Action:Rh,method:Of,Bucket:Ch.Bucket,Region:Ch.Region,body:om,action:"inventory",qs:{id:Ch.Id},headers:im,tracker:Ch.tracker},function(Im,Pm){if(Im&&Im.statusCode===204)return _h(null,{statusCode:Im.statusCode});if(Im)return _h(Im);_h(null,{statusCode:Pm.statusCode,headers:Pm.headers})})}function ch(Of,Ch){return eh.call(this,"PUT",Of,Ch)}function ih(Of,Ch){return eh.call(this,"POST",Of,Ch)}function Pf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketInventory",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"inventory",qs:{id:Of.Id},tracker:Of.tracker},function(_h,Sh){if(_h)return Ch(_h);var Wh=Sh.InventoryConfiguration;if(Wh&&Wh.OptionalFields&&Wh.OptionalFields.Field){var Fh=Wh.OptionalFields.Field;dd.isArray(Fh)||(Fh=[Fh]),Wh.OptionalFields=Fh}if(Wh.Destination&&Wh.Destination.COSBucketDestination&&Wh.Destination.COSBucketDestination.Encryption){var om=Wh.Destination.COSBucketDestination.Encryption;Object.keys(om).indexOf("SSE-COS")>-1&&(om.SSECOS=om["SSE-COS"],delete om["SSE-COS"])}Ch(null,{InventoryConfiguration:Wh,statusCode:Sh.statusCode,headers:Sh.headers})})}function uh(Of,Ch){Qm.call(this,{Action:"name/cos:ListBucketInventory",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"inventory",qs:{"continuation-token":Of.ContinuationToken},tracker:Of.tracker},function(_h,Sh){if(_h)return Ch(_h);var Wh=Sh.ListInventoryConfigurationResult,Fh=Wh.InventoryConfiguration||[];Fh=dd.isArray(Fh)?Fh:[Fh],delete Wh.InventoryConfiguration,dd.each(Fh,function(om){if(om&&om.OptionalFields&&om.OptionalFields.Field){var im=om.OptionalFields.Field;dd.isArray(im)||(im=[im]),om.OptionalFields=im}if(om.Destination&&om.Destination.COSBucketDestination&&om.Destination.COSBucketDestination.Encryption){var Rh=om.Destination.COSBucketDestination.Encryption;Object.keys(Rh).indexOf("SSE-COS")>-1&&(Rh.SSECOS=Rh["SSE-COS"],delete Rh["SSE-COS"])}}),Wh.InventoryConfigurations=Fh,dd.extend(Wh,{statusCode:Sh.statusCode,headers:Sh.headers}),Ch(null,Wh)})}function xh(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketInventory",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"inventory",qs:{id:Of.Id},tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Qf(Of,Ch){if(!Of.AccelerateConfiguration){Ch(dd.error(new Error("missing param AccelerateConfiguration")));return}var _h={AccelerateConfiguration:Of.AccelerateConfiguration||{}},Sh=dd.json2xml(_h),Wh={};Wh["Content-Type"]="application/xml",Wh["Content-MD5"]=dd.b64(dd.md5(Sh)),Qm.call(this,{Action:"name/cos:PutBucketAccelerate",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Sh,action:"accelerate",headers:Wh,tracker:Of.tracker},function(Fh,om){if(Fh)return Ch(Fh);Ch(null,{statusCode:om.statusCode,headers:om.headers})})}function wf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketAccelerate",method:"GET",Bucket:Of.Bucket,Region:Of.Region,action:"accelerate",tracker:Of.tracker},function(_h,Sh){_h||!Sh.AccelerateConfiguration&&(Sh.AccelerateConfiguration={}),Ch(_h,Sh)})}function $f(Of,Ch){var _h=Of.ServerSideEncryptionConfiguration||{},Sh=_h.Rule||_h.Rules||[],Wh=dd.json2xml({ServerSideEncryptionConfiguration:{Rule:Sh}}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:PutBucketEncryption",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,body:Wh,action:"encryption",headers:Fh,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function Wf(Of,Ch){Qm.call(this,{Action:"name/cos:GetBucketEncryption",method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"encryption",tracker:Of.tracker},function(_h,Sh){if(_h){if(_h.statusCode===404&&_h.code==="NoSuchEncryptionConfiguration"){var Wh={EncryptionConfiguration:{Rules:[]},statusCode:_h.statusCode};_h.headers&&(Wh.headers=_h.headers),Ch(null,Wh)}else Ch(_h);return}var Fh=dd.makeArray(Sh.EncryptionConfiguration&&Sh.EncryptionConfiguration.Rule||[]);Sh.EncryptionConfiguration={Rules:Fh},Ch(_h,Sh)})}function vh(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteBucketReplication",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"encryption",tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Th(Of,Ch){Qm.call(this,{Action:"name/cos:HeadObject",method:"HEAD",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,VersionId:Of.VersionId,headers:Of.Headers,tracker:Of.tracker},function(_h,Sh){if(_h){var Wh=_h.statusCode;return Of.Headers["If-Modified-Since"]&&Wh&&Wh===304?Ch(null,{NotModified:!0,statusCode:Wh}):Ch(_h)}Sh.ETag=dd.attr(Sh.headers,"etag",""),Ch(null,Sh)})}function ph(Of,Ch){var _h={};_h.prefix=Of.Prefix||"",_h.delimiter=Of.Delimiter,_h["key-marker"]=Of.KeyMarker,_h["version-id-marker"]=Of.VersionIdMarker,_h["max-keys"]=Of.MaxKeys,_h["encoding-type"]=Of.EncodingType,Qm.call(this,{Action:"name/cos:GetBucketObjectVersions",ResourceKey:_h.prefix,method:"GET",Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,qs:_h,action:"versions",tracker:Of.tracker},function(Sh,Wh){if(Sh)return Ch(Sh);var Fh=Wh.ListVersionsResult||{},om=Fh.DeleteMarker||[];om=dd.isArray(om)?om:[om];var im=Fh.Version||[];im=dd.isArray(im)?im:[im];var Rh=dd.clone(Fh);delete Rh.DeleteMarker,delete Rh.Version,dd.extend(Rh,{DeleteMarkers:om,Versions:im,statusCode:Wh.statusCode,headers:Wh.headers}),Ch(null,Rh)})}function Vh(Of,Ch){if(this.options.ObjectKeySimplifyCheck){var _h=dd.simplifyPath(Of.Key);if(_h==="/"){Ch(dd.error(new Error("The Getobject Key is illegal")));return}}var Sh=Of.Query||{},Wh=Of.QueryString||"",Fh=dd.throttleOnProgress.call(this,0,Of.onProgress),om=Of.tracker;om&&om.setParams({signStartTime:new Date().getTime()}),Sh["response-content-type"]=Of.ResponseContentType,Sh["response-content-language"]=Of.ResponseContentLanguage,Sh["response-expires"]=Of.ResponseExpires,Sh["response-cache-control"]=Of.ResponseCacheControl,Sh["response-content-disposition"]=Of.ResponseContentDisposition,Sh["response-content-encoding"]=Of.ResponseContentEncoding,Qm.call(this,{Action:"name/cos:GetObject",method:"GET",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,VersionId:Of.VersionId,DataType:Of.DataType,headers:Of.Headers,qs:Sh,qsStr:Wh,rawBody:!0,onDownloadProgress:Fh,tracker:om},function(im,Rh){if(Fh(null,!0),im){var Im=im.statusCode;return Of.Headers["If-Modified-Since"]&&Im&&Im===304?Ch(null,{NotModified:!0}):Ch(im)}Ch(null,{Body:Rh.body,ETag:dd.attr(Rh.headers,"etag",""),statusCode:Rh.statusCode,headers:Rh.headers})})}function wh(Of,Ch){var _h=this,Sh=Of.ContentLength,Wh=dd.throttleOnProgress.call(_h,Sh,Of.onProgress),Fh=Of.Headers;!Fh["Cache-Control"]&&!Fh["cache-control"]&&(Fh["Cache-Control"]=""),!Fh["Content-Type"]&&!Fh["content-type"]&&(Fh["Content-Type"]=Of.Body&&Of.Body.type||"");var om=Of.UploadAddMetaMd5||_h.options.UploadAddMetaMd5||_h.options.UploadCheckContentMd5,im=Of.tracker;om&&im&&im.setParams({md5StartTime:new Date().getTime()}),dd.getBodyMd5(om,Of.Body,function(Rh){Rh&&(im&&im.setParams({md5EndTime:new Date().getTime()}),_h.options.UploadCheckContentMd5&&(Fh["Content-MD5"]=dd.b64(Rh)),(Of.UploadAddMetaMd5||_h.options.UploadAddMetaMd5)&&(Fh["x-cos-meta-md5"]=Rh)),Of.ContentLength!==void 0&&(Fh["Content-Length"]=Of.ContentLength),Wh(null,!0),Qm.call(_h,{Action:"name/cos:PutObject",TaskId:Of.TaskId,method:"PUT",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:Of.Headers,qs:Of.Query,body:Of.Body,onProgress:Wh,tracker:im},function(Im,Pm){if(Im)return Wh(null,!0),Ch(Im);Wh({loaded:Sh,total:Sh},!0);var i_=L_({ForcePathStyle:_h.options.ForcePathStyle,protocol:_h.options.Protocol,domain:_h.options.Domain,bucket:Of.Bucket,region:_h.options.UseAccelerate?"accelerate":Of.Region,object:Of.Key});i_=i_.substr(i_.indexOf("://")+3),Pm.Location=i_,Pm.ETag=dd.attr(Pm.headers,"etag",""),Ch(null,Pm)})},Of.onHashProgress)}function fm(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteObject",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:Of.Headers,VersionId:Of.VersionId,action:Of.Recursive?"recursive":"",tracker:Of.tracker},function(_h,Sh){if(_h){var Wh=_h.statusCode;return Wh&&Wh===404?Ch(null,{BucketNotFound:!0,statusCode:Wh}):Ch(_h)}Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Nm(Of,Ch){var _h={};Of.VersionId&&(_h.versionId=Of.VersionId),Qm.call(this,{Action:"name/cos:GetObjectACL",method:"GET",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:Of.Headers,qs:_h,action:"acl",tracker:Of.tracker},function(Sh,Wh){if(Sh)return Ch(Sh);var Fh=Wh.AccessControlPolicy||{},om=Fh.Owner||{},im=Fh.AccessControlList&&Fh.AccessControlList.Grant||[];im=dd.isArray(im)?im:[im];var Rh=h_(Fh);delete Rh.GrantWrite,Wh.headers&&Wh.headers["x-cos-acl"]&&(Rh.ACL=Wh.headers["x-cos-acl"]),Rh=dd.extend(Rh,{Owner:om,Grants:im,statusCode:Wh.statusCode,headers:Wh.headers}),Ch(null,Rh)})}function cm(Of,Ch){var _h=Of.Headers,Sh="";if(Of.AccessControlPolicy){var Wh=dd.clone(Of.AccessControlPolicy||{}),Fh=Wh.Grants||Wh.Grant;Fh=dd.isArray(Fh)?Fh:[Fh],delete Wh.Grant,delete Wh.Grants,Wh.AccessControlList={Grant:Fh},Sh=dd.json2xml({AccessControlPolicy:Wh}),_h["Content-Type"]="application/xml",_h["Content-MD5"]=dd.b64(dd.md5(Sh))}dd.each(_h,function(om,im){im.indexOf("x-cos-grant-")===0&&(_h[im]=tg(_h[im]))}),Qm.call(this,{Action:"name/cos:PutObjectACL",method:"PUT",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,action:"acl",headers:_h,body:Sh,tracker:Of.tracker},function(om,im){if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function Sm(Of,Ch){var _h=Of.Headers;_h.Origin=Of.Origin,_h["Access-Control-Request-Method"]=Of.AccessControlRequestMethod,_h["Access-Control-Request-Headers"]=Of.AccessControlRequestHeaders,Qm.call(this,{Action:"name/cos:OptionsObject",method:"OPTIONS",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:_h,tracker:Of.tracker},function(Sh,Wh){if(Sh)return Sh.statusCode&&Sh.statusCode===403?Ch(null,{OptionsForbidden:!0,statusCode:Sh.statusCode}):Ch(Sh);var Fh=Wh.headers||{};Ch(null,{AccessControlAllowOrigin:Fh["access-control-allow-origin"],AccessControlAllowMethods:Fh["access-control-allow-methods"],AccessControlAllowHeaders:Fh["access-control-allow-headers"],AccessControlExposeHeaders:Fh["access-control-expose-headers"],AccessControlMaxAge:Fh["access-control-max-age"],statusCode:Wh.statusCode,headers:Wh.headers})})}function $m(Of,Ch){var _h=this,Sh=Of.Headers;!Sh["Cache-Control"]&&!Sh["cache-control"]&&(Sh["Cache-Control"]="");var Wh=Of.CopySource||"",Fh=dd.getSourceParams.call(this,Wh);if(!Fh){Ch(dd.error(new Error("CopySource format error")));return}var om=Fh.Bucket,im=Fh.Region,Rh=decodeURIComponent(Fh.Key);Qm.call(this,{Scope:[{action:"name/cos:GetObject",bucket:om,region:im,prefix:Rh},{action:"name/cos:PutObject",bucket:Of.Bucket,region:Of.Region,prefix:Of.Key}],method:"PUT",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,VersionId:Of.VersionId,headers:Of.Headers,tracker:Of.tracker},function(Im,Pm){if(Im)return Ch(Im);var i_=dd.clone(Pm.CopyObjectResult||{}),Hm=L_({ForcePathStyle:_h.options.ForcePathStyle,protocol:_h.options.Protocol,domain:_h.options.Domain,bucket:Of.Bucket,region:Of.Region,object:Of.Key,isLocation:!0});dd.extend(i_,{Location:Hm,statusCode:Pm.statusCode,headers:Pm.headers}),Ch(null,i_)})}function fh(Of,Ch){var _h=Of.CopySource||"",Sh=dd.getSourceParams.call(this,_h);if(!Sh){Ch(dd.error(new Error("CopySource format error")));return}var Wh=Sh.Bucket,Fh=Sh.Region,om=decodeURIComponent(Sh.Key);Qm.call(this,{Scope:[{action:"name/cos:GetObject",bucket:Wh,region:Fh,prefix:om},{action:"name/cos:PutObject",bucket:Of.Bucket,region:Of.Region,prefix:Of.Key}],method:"PUT",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,VersionId:Of.VersionId,qs:{partNumber:Of.PartNumber,uploadId:Of.UploadId},headers:Of.Headers,tracker:Of.tracker},function(im,Rh){if(im)return Ch(im);var Im=dd.clone(Rh.CopyPartResult||{});dd.extend(Im,{statusCode:Rh.statusCode,headers:Rh.headers}),Ch(null,Im)})}function Rf(Of,Ch){var _h=Of.Objects||[],Sh=Of.Quiet;_h=dd.isArray(_h)?_h:[_h];var Wh=dd.json2xml({Delete:{Object:_h,Quiet:Sh||!1}}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh));var om=dd.map(_h,function(im){return{action:"name/cos:DeleteObject",bucket:Of.Bucket,region:Of.Region,prefix:im.Key}});Qm.call(this,{Scope:om,method:"POST",Bucket:Of.Bucket,Region:Of.Region,body:Wh,action:"delete",headers:Fh,tracker:Of.tracker},function(im,Rh){if(im)return Ch(im);var Im=Rh.DeleteResult||{},Pm=Im.Deleted||[],i_=Im.Error||[];Pm=dd.isArray(Pm)?Pm:[Pm],i_=dd.isArray(i_)?i_:[i_];var Hm=dd.clone(Im);dd.extend(Hm,{Error:i_,Deleted:Pm,statusCode:Rh.statusCode,headers:Rh.headers}),Ch(null,Hm)})}function If(Of,Ch){var _h=Of.Headers;if(!Of.RestoreRequest){Ch(dd.error(new Error("missing param RestoreRequest")));return}var Sh=Of.RestoreRequest||{},Wh=dd.json2xml({RestoreRequest:Sh});_h["Content-Type"]="application/xml",_h["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:RestoreObject",method:"POST",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,VersionId:Of.VersionId,body:Wh,action:"restore",headers:_h,tracker:Of.tracker},Ch)}function dh(Of,Ch){var _h=Of.Tagging||{},Sh=_h.TagSet||_h.Tags||Of.Tags||[];Sh=dd.clone(dd.isArray(Sh)?Sh:[Sh]);var Wh=dd.json2xml({Tagging:{TagSet:{Tag:Sh}}}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:PutObjectTagging",method:"PUT",Bucket:Of.Bucket,Key:Of.Key,Region:Of.Region,body:Wh,action:"tagging",headers:Fh,VersionId:Of.VersionId,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);Ch(null,{statusCode:im.statusCode,headers:im.headers})})}function yh(Of,Ch){Qm.call(this,{Action:"name/cos:GetObjectTagging",method:"GET",Key:Of.Key,Bucket:Of.Bucket,Region:Of.Region,headers:Of.Headers,action:"tagging",VersionId:Of.VersionId,tracker:Of.tracker},function(_h,Sh){if(_h){if(_h.statusCode===404&&_h.error&&(_h.error==="Not Found"||_h.error.Code==="NoSuchTagSet")){var Wh={Tags:[],statusCode:_h.statusCode};_h.headers&&(Wh.headers=_h.headers),Ch(null,Wh)}else Ch(_h);return}var Fh=[];try{Fh=Sh.Tagging.TagSet.Tag||[]}catch{}Fh=dd.clone(dd.isArray(Fh)?Fh:[Fh]),Ch(null,{Tags:Fh,statusCode:Sh.statusCode,headers:Sh.headers})})}function Uh(Of,Ch){Qm.call(this,{Action:"name/cos:DeleteObjectTagging",method:"DELETE",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:Of.Headers,action:"tagging",VersionId:Of.VersionId,tracker:Of.tracker},function(_h,Sh){if(_h&&_h.statusCode===204)return Ch(null,{statusCode:_h.statusCode});if(_h)return Ch(_h);Ch(null,{statusCode:Sh.statusCode,headers:Sh.headers})})}function Zh(Of,Ch){var _h=Of.SelectType;if(!_h)return Ch(dd.error(new Error("missing param SelectType")));var Sh=Of.SelectRequest||{},Wh=dd.json2xml({SelectRequest:Sh}),Fh=Of.Headers;Fh["Content-Type"]="application/xml",Fh["Content-MD5"]=dd.b64(dd.md5(Wh)),Qm.call(this,{Action:"name/cos:GetObject",method:"POST",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,headers:Of.Headers,action:"select",qs:{"select-type":Of.SelectType},VersionId:Of.VersionId,body:Wh,DataType:"arraybuffer",rawBody:!0,tracker:Of.tracker},function(om,im){if(om&&om.statusCode===204)return Ch(null,{statusCode:om.statusCode});if(om)return Ch(om);var Rh=dd.parseSelectPayload(im.body);Ch(null,{statusCode:im.statusCode,headers:im.headers,Body:Rh.body,Payload:Rh.payload})})}function _m(Of,Ch){var _h=this,Sh=Of.Headers,Wh=Of.tracker;!Sh["Cache-Control"]&&!Sh["cache-control"]&&(Sh["Cache-Control"]=""),!Sh["Content-Type"]&&!Sh["content-type"]&&(Sh["Content-Type"]=Of.Body&&Of.Body.type||"");var Fh=Of.Body&&(Of.UploadAddMetaMd5||_h.options.UploadAddMetaMd5);Fh&&Wh&&Wh.setParams({md5StartTime:new Date().getTime()}),dd.getBodyMd5(Fh,Of.Body,function(om){om&&(Of.Headers["x-cos-meta-md5"]=om),Fh&&Wh&&Wh.setParams({md5EndTime:new Date().getTime()}),Qm.call(_h,{Action:"name/cos:InitiateMultipartUpload",method:"POST",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,action:"uploads",headers:Of.Headers,qs:Of.Query,tracker:Wh},function(im,Rh){if(im)return Wh&&Wh.parent&&Wh.parent.setParams({errorNode:"multipartInit"}),Ch(im);if(Rh=dd.clone(Rh||{}),Rh&&Rh.InitiateMultipartUploadResult)return Ch(null,dd.extend(Rh.InitiateMultipartUploadResult,{statusCode:Rh.statusCode,headers:Rh.headers}));Ch(null,Rh)})},Of.onHashProgress)}function Um(Of,Ch){var _h=this;dd.getFileSize("multipartUpload",Of,function(){var Sh=Of.tracker,Wh=_h.options.UploadCheckContentMd5;Wh&&Sh&&Sh.setParams({md5StartTime:new Date().getTime()}),dd.getBodyMd5(Wh,Of.Body,function(Fh){Fh&&(Of.Headers["Content-MD5"]=dd.b64(Fh)),Wh&&Sh&&Sh.setParams({md5EndTime:new Date().getTime()}),Sh&&Sh.setParams({partNumber:Of.PartNumber}),Qm.call(_h,{Action:"name/cos:UploadPart",TaskId:Of.TaskId,method:"PUT",Bucket:Of.Bucket,Region:Of.Region,Key:Of.Key,qs:{partNumber:Of.PartNumber,uploadId:Of.UploadId},headers:Of.Headers,onProgress:Of.onProgress,body:Of.Body||null,tracker:Sh},function(om,im){if(om)return Sh&&Sh.parent&&Sh.parent.setParams({errorNode:"multipartUpload"}),Ch(om);Ch(null,{ETag:dd.attr(im.headers,"etag",""),statusCode:im.statusCode,headers:im.headers})})})})}function Om(Of,Ch){for(var _h=this,Sh=Of.UploadId,Wh=Of.Parts,Fh=Of.tracker,om=0,im=Wh.length;om-1?i_(Pm.Authorization):"sign="+encodeURIComponent(Pm.Authorization)),Pm.SecurityToken&&(Hm+="&x-cos-security-token="+Pm.SecurityToken),Pm.ClientIP&&(Hm+="&clientIP="+Pm.ClientIP),Pm.ClientUA&&(Hm+="&clientUA="+Pm.ClientUA),Pm.Token&&(Hm+="&token="+Pm.Token),Fh&&(Hm+="&"+Fh),setTimeout(function(){Ch(null,{Url:Hm})})}});return Rh?(om+="?"+Rh.Authorization+(Rh.SecurityToken?"&x-cos-security-token="+Rh.SecurityToken:""),Fh&&(om+="&"+Fh)):Fh&&(om+="?"+Fh),om}function h_(Of){var Ch={GrantFullControl:[],GrantWrite:[],GrantRead:[],GrantReadAcp:[],GrantWriteAcp:[],ACL:""},_h={FULL_CONTROL:"GrantFullControl",WRITE:"GrantWrite",READ:"GrantRead",READ_ACP:"GrantReadAcp",WRITE_ACP:"GrantWriteAcp"},Sh=Of&&Of.AccessControlList||{},Wh=Sh.Grant;Wh&&(Wh=dd.isArray(Wh)?Wh:[Wh]);var Fh={READ:0,WRITE:0,FULL_CONTROL:0};return Wh&&Wh.length&&dd.each(Wh,function(om){var im=om.Grantee.URI&&om.Grantee.URI.endsWith("/groups/global/AllUsers");om.Grantee.ID==="qcs::cam::anyone:anyone"||im?Fh[om.Permission]=1:om.Grantee.ID!==Of.Owner.ID&&Ch[_h[om.Permission]].push('id="'+om.Grantee.ID+'"')}),Fh.FULL_CONTROL||Fh.WRITE&&Fh.READ?Ch.ACL="public-read-write":Fh.READ?Ch.ACL="public-read":Ch.ACL="private",dd.each(_h,function(om){Ch[om]=tg(Ch[om].join(","))}),Ch}function tg(Of){var Ch=Of.split(","),_h={},Sh,Wh;for(Sh=0;Sh"u"?"undefined":ud(location))==="object"&&location.protocol==="http:"?"http:":"https:");Fh||(["cn-south","cn-south-2","cn-north","cn-east","cn-southwest","sg"].indexOf(Ch)>-1?Fh="{Region}.myqcloud.com":Fh="cos.{Region}.myqcloud.com",Of.ForcePathStyle||(Fh="{Bucket}."+Fh)),Fh=Fh.replace(/\{\{AppId\}\}/gi,Wh).replace(/\{\{Bucket\}\}/gi,Sh).replace(/\{\{Region\}\}/gi,Ch).replace(/\{\{.*?\}\}/gi,""),Fh=Fh.replace(/\{AppId\}/gi,Wh).replace(/\{BucketName\}/gi,Sh).replace(/\{Bucket\}/gi,_h).replace(/\{Region\}/gi,Ch).replace(/\{.*?\}/gi,""),/^[a-zA-Z]+:\/\//.test(Fh)||(Fh=im+"//"+Fh),Fh.slice(-1)==="/"&&(Fh=Fh.slice(0,-1));var Rh=Fh;return Of.ForcePathStyle&&(Rh+="/"+_h),Rh+="/",om&&(Rh+=dd.camSafeUrlEncode(om).replace(/%2F/g,"/")),Of.isLocation&&(Rh=Rh.replace(/^https?:\/\//,"")),Rh}var dg=function(Ch){if(!Ch.Bucket||!Ch.Region)return"";var _h=Ch.UseAccelerate===void 0?this.options.UseAccelerate:Ch.UseAccelerate,Sh=Ch.Url||L_({ForcePathStyle:this.options.ForcePathStyle,protocol:this.options.Protocol,domain:this.options.Domain,bucket:Ch.Bucket,region:_h?"accelerate":Ch.Region}),Wh=Sh.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");return Wh};function yg(Of,Ch){var _h=dd.clone(Of.Headers),Sh="";dd.each(_h,function(N_,y_){(N_===""||["content-type","cache-control","expires"].indexOf(y_.toLowerCase())>-1)&&delete _h[y_],y_.toLowerCase()==="host"&&(Sh=N_)});var Wh=Of.ForceSignHost!==!1;!Sh&&Of.SignHost&&Wh&&(_h.Host=Of.SignHost);var Fh=!1,om=function(y_,hh){Fh||(Fh=!0,hh&&hh.XCosSecurityToken&&!hh.SecurityToken&&(hh=dd.clone(hh),hh.SecurityToken=hh.XCosSecurityToken,delete hh.XCosSecurityToken),Ch&&Ch(y_,hh))},im=this,Rh=Of.Bucket||"",Im=Of.Region||"",Pm=Of.Key||"";im.options.ForcePathStyle&&Rh&&(Pm=Rh+"/"+Pm);var i_="/"+Pm,Hm={},o_=Of.Scope;if(!o_){var j_=Of.Action||"",B_=Of.ResourceKey||Of.Key||"";o_=Of.Scope||[{action:j_,bucket:Rh,region:Im,prefix:B_}]}var C_=dd.md5(JSON.stringify(o_));im._StsCache=im._StsCache||[],function(){var N_,y_;for(N_=im._StsCache.length-1;N_>=0;N_--){y_=im._StsCache[N_];var hh=Math.round(dd.getSkewTime(im.options.SystemClockOffset)/1e3)+30;if(y_.StartTime&&hh=y_.ExpiredTime){im._StsCache.splice(N_,1);continue}if(!y_.ScopeLimit||y_.ScopeLimit&&y_.ScopeKey===C_){Hm=y_;break}}}();var Km=function(){var y_="";Hm.StartTime&&Of.Expires?y_=Hm.StartTime+";"+(Hm.StartTime+Of.Expires*1):Hm.StartTime&&Hm.ExpiredTime&&(y_=Hm.StartTime+";"+Hm.ExpiredTime);var hh=dd.getAuth({SecretId:Hm.TmpSecretId,SecretKey:Hm.TmpSecretKey,Method:Of.Method,Pathname:i_,Query:Of.Query,Headers:_h,Expires:Of.Expires,UseRawKey:im.options.UseRawKey,SystemClockOffset:im.options.SystemClockOffset,KeyTime:y_,ForceSignHost:Wh}),Bh={Authorization:hh,SecurityToken:Hm.SecurityToken||Hm.XCosSecurityToken||"",Token:Hm.Token||"",ClientIP:Hm.ClientIP||"",ClientUA:Hm.ClientUA||"",SignFrom:"client"};om(null,Bh)},ig=function(y_){if(y_.Authorization){var hh=!1,Bh=y_.Authorization;if(Bh)if(Bh.indexOf(" ")>-1)hh=!1;else if(Bh.indexOf("q-sign-algorithm=")>-1&&Bh.indexOf("q-ak=")>-1&&Bh.indexOf("q-sign-time=")>-1&&Bh.indexOf("q-key-time=")>-1&&Bh.indexOf("q-url-param-list=")>-1)hh=!0;else try{Bh=atob(Bh),Bh.indexOf("a=")>-1&&Bh.indexOf("k=")>-1&&Bh.indexOf("t=")>-1&&Bh.indexOf("r=")>-1&&Bh.indexOf("b=")>-1&&(hh=!0)}catch{}if(!hh)return dd.error(new Error("getAuthorization callback params format error"))}else{if(!y_.TmpSecretId)return dd.error(new Error('getAuthorization callback params missing "TmpSecretId"'));if(!y_.TmpSecretKey)return dd.error(new Error('getAuthorization callback params missing "TmpSecretKey"'));if(!y_.SecurityToken&&!y_.XCosSecurityToken)return dd.error(new Error('getAuthorization callback params missing "SecurityToken"'));if(!y_.ExpiredTime)return dd.error(new Error('getAuthorization callback params missing "ExpiredTime"'));if(y_.ExpiredTime&&y_.ExpiredTime.toString().length!==10)return dd.error(new Error('getAuthorization callback params "ExpiredTime" should be 10 digits'));if(y_.StartTime&&y_.StartTime.toString().length!==10)return dd.error(new Error('getAuthorization callback params "StartTime" should be 10 StartTime'))}return!1};if(Hm.ExpiredTime&&Hm.ExpiredTime-dd.getSkewTime(im.options.SystemClockOffset)/1e3>60)Km();else if(im.options.getAuthorization)im.options.getAuthorization.call(im,{Bucket:Rh,Region:Im,Method:Of.Method,Key:Pm,Pathname:i_,Query:Of.Query,Headers:_h,Scope:o_,SystemClockOffset:im.options.SystemClockOffset,ForceSignHost:Wh},function(N_){typeof N_=="string"&&(N_={Authorization:N_});var y_=ig(N_);if(y_)return om(y_);N_.Authorization?om(null,N_):(Hm=N_||{},Hm.Scope=o_,Hm.ScopeKey=C_,im._StsCache.push(Hm),Km())});else if(im.options.getSTS)im.options.getSTS.call(im,{Bucket:Rh,Region:Im},function(N_){Hm=N_||{},Hm.Scope=o_,Hm.ScopeKey=C_,Hm.TmpSecretId||(Hm.TmpSecretId=Hm.SecretId),Hm.TmpSecretKey||(Hm.TmpSecretKey=Hm.SecretKey);var y_=ig(Hm);if(y_)return om(y_);im._StsCache.push(Hm),Km()});else return function(){var N_="";if(im.options.StartTime&&Of.Expires){if(im.options.StartTime.toString().length!==10)return om(dd.error(new Error('params "StartTime" should be 10 digits')));N_=im.options.StartTime+";"+(im.options.StartTime+Of.Expires*1)}else if(im.options.StartTime&&im.options.ExpiredTime){if(im.options.StartTime.toString().length!==10)return om(dd.error(new Error('params "StartTime" should be 10 digits')));if(im.options.ExpiredTime.toString().length!==10)return om(dd.error(new Error('params "ExpiredTime" should be 10 digits')));N_=im.options.StartTime+";"+im.options.ExpiredTime*1}var y_=dd.getAuth({SecretId:Of.SecretId||im.options.SecretId,SecretKey:Of.SecretKey||im.options.SecretKey,Method:Of.Method,Pathname:i_,Query:Of.Query,Headers:_h,Expires:Of.Expires,KeyTime:N_,UseRawKey:im.options.UseRawKey,SystemClockOffset:im.options.SystemClockOffset,ForceSignHost:Wh}),hh={Authorization:y_,SecurityToken:im.options.SecurityToken||im.options.XCosSecurityToken,SignFrom:"client"};return om(null,hh),hh}();return""}function q_(Of){var Ch=this,_h=!1,Sh=!1,Wh=!1,Fh=Of.headers&&(Of.headers.date||Of.headers.Date)||Of.error&&Of.error.ServerTime;try{var om=Of.error.Code,im=Of.error.Message;(om==="RequestTimeTooSkewed"||om==="AccessDenied"&&im==="Request has expired")&&(Sh=!0)}catch{}if(Of)if(Sh&&Fh){var Rh=Date.parse(Fh);this.options.CorrectClockSkew&&Math.abs(dd.getSkewTime(this.options.SystemClockOffset)-Rh)>=3e4&&(console.error("error: Local time is too skewed."),this.options.SystemClockOffset=Rh-Date.now(),_h=!0)}else Math.floor(Of.statusCode/100)===5?_h=!0:Of.message==="CORS blocked or network error"&&(Wh=!0,_h=Ch.options.AutoSwitchHost);return{canRetry:_h,networkError:Wh}}function Y_(Of){var Ch=Of.requestUrl,_h=Of.clientCalcSign,Sh=Of.networkError;if(!this.options.AutoSwitchHost||!Ch||!_h||!Sh)return!1;var Wh=/^https?:\/\/[^\/]*\.cos\.[^\/]*\.myqcloud\.com(\/.*)?$/,Fh=/^https?:\/\/[^\/]*\.cos\.accelerate\.myqcloud\.com(\/.*)?$/,om=Wh.test(Ch)&&!Fh.test(Ch);return om}function Qm(Of,Ch){var _h=this;!Of.headers&&(Of.headers={}),!Of.qs&&(Of.qs={}),Of.VersionId&&(Of.qs.versionId=Of.VersionId),Of.qs=dd.clearKey(Of.qs),Of.headers&&(Of.headers=dd.clearKey(Of.headers)),Of.qs&&(Of.qs=dd.clearKey(Of.qs));var Sh=dd.clone(Of.qs);Of.action&&(Sh[Of.action]="");var Wh=Of.url||Of.Url,Fh=Of.SignHost||dg.call(this,{Bucket:Of.Bucket,Region:Of.Region,Url:Wh}),om=Of.tracker,im=function Rh(Im){var Pm=_h.options.SystemClockOffset;om&&om.setParams({signStartTime:new Date().getTime(),httpRetryTimes:Im-1}),Of.SwitchHost&&(Fh=Fh.replace(/myqcloud.com/,"tencentcos.cn")),yg.call(_h,{Bucket:Of.Bucket||"",Region:Of.Region||"",Method:Of.method,Key:Of.Key,Query:Sh,Headers:Of.headers,SignHost:Fh,Action:Of.Action,ResourceKey:Of.ResourceKey,Scope:Of.Scope,ForceSignHost:_h.options.ForceSignHost,SwitchHost:Of.SwitchHost},function(i_,Hm){if(i_){Ch(i_);return}om&&om.setParams({signEndTime:new Date().getTime(),httpStartTime:new Date().getTime()}),Of.AuthData=Hm,Zg.call(_h,Of,function(o_,j_){om&&om.setParams({httpEndTime:new Date().getTime()});var B_=!1,C_=!1;if(o_){var Km=q_.call(_h,o_);B_=Km.canRetry||Pm!==_h.options.SystemClockOffset,C_=Km.networkError}if(o_&&Im<2&&B_){Of.headers&&(delete Of.headers.Authorization,delete Of.headers.token,delete Of.headers.clientIP,delete Of.headers.clientUA,Of.headers["x-cos-security-token"]&&delete Of.headers["x-cos-security-token"],Of.headers["x-ci-security-token"]&&delete Of.headers["x-ci-security-token"]);var ig=Y_.call(_h,{requestUrl:(o_==null?void 0:o_.url)||"",clientCalcSign:Hm.SignFrom==="client",networkError:C_});Of.SwitchHost=ig,Of.retry=!0,Rh(Im+1)}else Ch(o_,j_)})})};im(1)}function Zg(Of,Ch){var _h=this,Sh=Of.TaskId;if(!(Sh&&!_h._isRunningTask(Sh))){var Wh=Of.Bucket,Fh=Of.Region,om=Of.Key,im=Of.method||"GET",Rh=Of.Url||Of.url,Im=Of.body,Pm=Of.rawBody;_h.options.UseAccelerate&&(Fh="accelerate"),Rh=Rh||L_({ForcePathStyle:_h.options.ForcePathStyle,protocol:_h.options.Protocol,domain:_h.options.Domain,bucket:Wh,region:Fh,object:om}),Of.SwitchHost&&(Rh=Rh.replace(/myqcloud.com/,"tencentcos.cn"));var i_=om?Rh:"";Of.action&&(Rh=Rh+"?"+(dd.isIOS_QQ?"".concat(Of.action,"="):Of.action)),Of.qsStr&&(Rh.indexOf("?")>-1?Rh=Rh+"&"+Of.qsStr:Rh=Rh+"?"+Of.qsStr);var Hm={method:im,url:Rh,headers:Of.headers,qs:Of.qs,body:Im},o_="x-cos-security-token";if(dd.isCIHost(Rh)&&(o_="x-ci-security-token"),Hm.headers.Authorization=Of.AuthData.Authorization,Of.AuthData.Token&&(Hm.headers.token=Of.AuthData.Token),Of.AuthData.ClientIP&&(Hm.headers.clientIP=Of.AuthData.ClientIP),Of.AuthData.ClientUA&&(Hm.headers.clientUA=Of.AuthData.ClientUA),Of.AuthData.SecurityToken&&(Hm.headers[o_]=Of.AuthData.SecurityToken),Hm.headers&&(Hm.headers=dd.clearKey(Hm.headers)),Of.retry&&(Hm.headers["x-cos-sdk-retry"]=!0),Hm=dd.clearKey(Hm),Of.onProgress&&typeof Of.onProgress=="function"){var j_=Im&&(Im.size||Im.length)||0;Hm.onProgress=function(hh){if(!(Sh&&!_h._isRunningTask(Sh))){var Bh=hh?hh.loaded:0;Of.onProgress({loaded:Bh,total:j_})}}}Of.onDownloadProgress&&(Hm.onDownloadProgress=Of.onDownloadProgress),Of.DataType&&(Hm.dataType=Of.DataType),this.options.Timeout&&(Hm.timeout=this.options.Timeout),_h.options.ForcePathStyle&&(Hm.pathStyle=_h.options.ForcePathStyle),_h.emit("before-send",Hm);var B_=Hm.url.includes("accelerate."),C_=Hm.qs?Object.keys(Hm.qs).map(function(hh){return"".concat(hh,"=").concat(Hm.qs[hh])}).join("&"):"",Km=C_?Hm.url+"?"+C_:Hm.url;if(Of.tracker){var ig;Of.tracker.setParams({url:Km,httpMethod:Hm.method,accelerate:B_,httpSize:((ig=Hm.body)===null||ig===void 0?void 0:ig.size)||0}),Of.tracker.parent&&!Of.tracker.parent.params.url&&Of.tracker.parent.setParams({url:i_,accelerate:B_})}var N_=(_h.options.Request||cd)(Hm,function(hh){if(!(hh&&hh.error==="abort")){var Bh={options:Hm,error:hh&&hh.error,statusCode:hh&&hh.statusCode||0,statusMessage:hh&&hh.statusMessage||"",headers:hh&&hh.headers||{},body:hh&&hh.body};_h.emit("after-receive",Bh);var Mm=Bh.error,zm=Bh.body,Tm={statusCode:Bh.statusCode,statusMessage:Bh.statusMessage,headers:Bh.headers},e_,O_=function(nb,lg){if(Sh&&_h.off("inner-kill-task",y_),!e_){e_=!0;var jg={};if(Tm&&Tm.statusCode&&(jg.statusCode=Tm.statusCode),Tm&&Tm.headers&&(jg.headers=Tm.headers),nb)Hm.url&&(jg.url=Hm.url),Hm.method&&(jg.method=Hm.method),nb=dd.extend(nb||{},jg),Ch(nb,null);else{if(Of.Action==="name/cos:PutObject"){var wg={};for(var Tb in Of.headers){var Jb=Tb.toLowerCase();wg[Jb]=Of.headers[Tb]}wg["x-cos-callback"]?lg.Error?(lg.CallbackError=dd.clone(lg.Error),delete lg.Error):lg.CallbackBody=dd.clone(lg):wg["x-cos-return-body"]&&(lg.Error?(lg.ReturnError=dd.clone(lg.Error),delete lg.Error):lg.ReturnBody=dd.clone(lg))}lg=dd.extend(lg||{},jg),Ch(null,lg)}N_=null}};if(Mm)return O_(dd.error(Mm));var og=Tm.statusCode,Cg=Math.floor(og/100)===2;if(Pm){if(Cg)return O_(null,{body:zm});if(zm instanceof Blob){dd.readAsBinaryString(zm,function(E_){var nb=dd.parseResBody(E_),lg=nb.Error||nb;return O_(dd.error(new Error(lg.Message||"response body error"),{code:lg.Code,error:lg}))});return}}var rb=dd.parseResBody(zm),Eb=rb.Error||rb;Cg?O_(null,rb):Eb?O_(dd.error(new Error(Eb.Message),{code:Eb.Code,error:Eb})):og?O_(dd.error(new Error(Tm.statusMessage),{code:""+og})):og&&O_(dd.error(new Error("statusCode error")))}}),y_=function hh(Bh){Bh.TaskId===Sh&&(N_&&N_.abort&&N_.abort(),_h.off("inner-kill-task",hh))};Sh&&_h.on("inner-kill-task",y_)}}var db={getService:pd,putBucket:fd,headBucket:md,getBucket:vd,deleteBucket:Ad,putBucketAcl:Nd,getBucketAcl:Id,putBucketCors:kd,getBucketCors:jd,deleteBucketCors:Fd,getBucketLocation:Md,getBucketPolicy:Hd,putBucketPolicy:Ld,deleteBucketPolicy:Gd,putBucketTagging:Vd,getBucketTagging:Kd,deleteBucketTagging:mf,putBucketLifecycle:Wd,getBucketLifecycle:Zd,deleteBucketLifecycle:Xd,putBucketVersioning:bf,getBucketVersioning:yf,putBucketReplication:Ef,getBucketReplication:gf,deleteBucketReplication:xf,putBucketWebsite:Af,getBucketWebsite:Lf,deleteBucketWebsite:Xf,putBucketReferer:Jf,getBucketReferer:Zf,putBucketDomain:Bf,getBucketDomain:Df,deleteBucketDomain:Uf,putBucketOrigin:Gf,getBucketOrigin:zf,deleteBucketOrigin:Tf,putBucketLogging:vf,getBucketLogging:qf,putBucketInventory:ch,postBucketInventory:ih,getBucketInventory:Pf,listBucketInventory:uh,deleteBucketInventory:xh,putBucketAccelerate:Qf,getBucketAccelerate:wf,putBucketEncryption:$f,getBucketEncryption:Wf,deleteBucketEncryption:vh,getObject:Vh,headObject:Th,listObjectVersions:ph,putObject:wh,deleteObject:fm,getObjectAcl:Nm,putObjectAcl:cm,optionsObject:Sm,putObjectCopy:$m,deleteMultipleObject:Rf,restoreObject:If,putObjectTagging:dh,getObjectTagging:yh,deleteObjectTagging:Uh,selectObjectContent:Zh,appendObject:H_,uploadPartCopy:fh,multipartInit:_m,multipartUpload:Um,multipartComplete:Om,multipartList:r_,multipartListPart:Xm,multipartAbort:s_,request:b_,getObjectUrl:M_,getAuth:x_};function $g(Of,Ch,_h){dd.each(["Cors","Acl"],function(Sh){if(Of.slice(-Sh.length)===Sh){var Wh=Of.slice(0,-Sh.length)+Sh.toUpperCase(),Fh=dd.apiWrapper(Of,Ch),om=!1;_h[Wh]=function(){!om&&console.warn("warning: cos."+Wh+" has been deprecated. Please Use cos."+Of+" instead."),om=!0,Fh.apply(this,arguments)}}})}nd.exports.init=function(Of,Ch){Ch.transferToTaskMethod(db,"putObject"),dd.each(db,function(_h,Sh){Of.prototype[Sh]=dd.apiWrapper(Sh,_h),$g(Sh,_h,Of.prototype)})}},"./src/cos.js":function(nd,od,ld){var ud=ld("./src/util.js"),cd=ld("./src/event.js"),dd=ld("./src/task.js"),pd=ld("./src/base.js"),fd=ld("./src/advance.js"),md=ld("./package.json"),vd={AppId:"",SecretId:"",SecretKey:"",SecurityToken:"",StartTime:0,ExpiredTime:0,ChunkRetryTimes:2,FileParallelLimit:3,ChunkParallelLimit:3,ChunkSize:1024*1024,SliceSize:1024*1024,CopyChunkParallelLimit:20,CopyChunkSize:1024*1024*10,CopySliceSize:1024*1024*10,MaxPartNumber:1e4,ProgressInterval:1e3,Domain:"",ServiceDomain:"",Protocol:"",CompatibilityMode:!1,ForcePathStyle:!1,UseRawKey:!1,Timeout:0,CorrectClockSkew:!0,SystemClockOffset:0,UploadCheckContentMd5:!1,UploadQueueSize:1e4,UploadAddMetaMd5:!1,UploadIdCacheLimit:50,UseAccelerate:!1,ForceSignHost:!0,AutoSwitchHost:!0,CopySourceParser:null,ObjectKeySimplifyCheck:!0,DeepTracker:!1,TrackerDelay:5e3,CustomId:"",BeaconReporter:null,ClsReporter:null},Ad=function(Id){if(this.options=ud.extend(ud.clone(vd),Id||{}),this.options.FileParallelLimit=Math.max(1,this.options.FileParallelLimit),this.options.ChunkParallelLimit=Math.max(1,this.options.ChunkParallelLimit),this.options.ChunkRetryTimes=Math.max(0,this.options.ChunkRetryTimes),this.options.ChunkSize=Math.max(1024*1024,this.options.ChunkSize),this.options.CopyChunkParallelLimit=Math.max(1,this.options.CopyChunkParallelLimit),this.options.CopyChunkSize=Math.max(1024*1024,this.options.CopyChunkSize),this.options.CopySliceSize=Math.max(0,this.options.CopySliceSize),this.options.MaxPartNumber=Math.max(1024,Math.min(1e4,this.options.MaxPartNumber)),this.options.Timeout=Math.max(0,this.options.Timeout),this.options.EnableReporter=this.options.BeaconReporter||this.options.ClsReporter,this.options.AppId&&console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g: "test-1250000000").'),this.options.SecretId&&this.options.SecretId.indexOf(" ")>-1&&(console.error("error: SecretId格式错误,请检查"),console.error("error: SecretId format is incorrect. Please check")),this.options.SecretKey&&this.options.SecretKey.indexOf(" ")>-1&&(console.error("error: SecretKey格式错误,请检查"),console.error("error: SecretKey format is incorrect. Please check")),ud.isNode()&&(console.log("Tip: Next.js、Nuxt.js 等服务端渲染技术可正常使用JavaScript SDK,请忽略下方 nodejs 环境警告"),console.warn("warning: cos-js-sdk-v5 不支持 nodejs 环境使用,请改用 cos-nodejs-sdk-v5,参考文档: https://cloud.tencent.com/document/product/436/8629"),console.warn("warning: cos-js-sdk-v5 does not support nodejs environment. Please use cos-nodejs-sdk-v5 instead. See: https://cloud.tencent.com/document/product/436/8629")),this.options.ForcePathStyle)throw console.warn("cos-js-sdk-v5不再支持使用path-style,仅支持使用virtual-hosted-style,参考文档:https://cloud.tencent.com/document/product/436/96243"),new Error("ForcePathStyle is not supported");cd.init(this),dd.init(this)};pd.init(Ad,dd),fd.init(Ad,dd),Ad.util={md5:ud.md5,xml2json:ud.xml2json,json2xml:ud.json2xml,encodeBase64:ud.encodeBase64},Ad.getAuthorization=ud.getAuth,Ad.version=md.version,nd.exports=Ad},"./src/event.js":function(nd,od){var ld=function(dd){var pd={},fd=function(vd){return!pd[vd]&&(pd[vd]=[]),pd[vd]};dd.on=function(md,vd){md==="task-list-update"&&console.warn('warning: Event "'+md+'" has been deprecated. Please use "list-update" instead.'),fd(md).push(vd)},dd.off=function(md,vd){for(var Ad=fd(md),Nd=Ad.length-1;Nd>=0;Nd--)vd===Ad[Nd]&&Ad.splice(Nd,1)},dd.emit=function(md,vd){for(var Ad=fd(md).map(function(Id){return Id}),Nd=0;Nd=0;Md--){var Ld=pd[Md][2];(!Ld||Ld+dd=0;Ld--){var Hd=pd[Ld];Hd[0]===jd&&Hd[1]===Fd&&pd.splice(Ld,1)}pd.unshift([jd,Fd,Math.round(Date.now()/1e3)]),pd.length>Md&&pd.splice(Md),Nd()}},removeUploadId:function(jd){Ad.call(this),delete Id.using[jd];for(var Fd=pd.length-1;Fd>=0;Fd--)pd[Fd][1]===jd&&pd.splice(Fd,1);Nd()}};nd.exports=Id},"./src/task.js":function(nd,od,ld){var ud=ld("./src/session.js"),cd=ld("./src/util.js"),dd={},pd=function(vd,Ad){dd[Ad]=vd[Ad],vd[Ad]=function(Nd,Id){Nd.SkipTask?dd[Ad].call(this,Nd,Id):this._addTask(Ad,Nd,Id)}},fd=function(vd){var Ad=[],Nd={},Id=0,kd=0,jd=function(Kd){var mf={id:Kd.id,Bucket:Kd.Bucket,Region:Kd.Region,Key:Kd.Key,FilePath:Kd.FilePath,state:Kd.state,loaded:Kd.loaded,size:Kd.size,speed:Kd.speed,percent:Kd.percent,hashPercent:Kd.hashPercent,error:Kd.error};return Kd.FilePath&&(mf.FilePath=Kd.FilePath),Kd._custom&&(mf._custom=Kd._custom),mf},Fd=function(){var Vd,Kd=function(){Vd=0,vd.emit("task-list-update",{list:cd.map(Ad,jd)}),vd.emit("list-update",{list:cd.map(Ad,jd)})};return function(){Vd||(Vd=setTimeout(Kd))}}(),Md=function(){if(!(Ad.length<=vd.options.UploadQueueSize)){for(var Kd=0;Kdvd.options.UploadQueueSize;){var mf=Ad[Kd].state==="waiting"||Ad[Kd].state==="checking"||Ad[Kd].state==="uploading";!Ad[Kd]||!mf?(Nd[Ad[Kd].id]&&delete Nd[Ad[Kd].id],Ad.splice(Kd,1),kd--):Kd++}Fd()}},Ld=function Vd(){if(!(Id>=vd.options.FileParallelLimit)){for(;Ad[kd]&&Ad[kd].state!=="waiting";)kd++;if(!(kd>=Ad.length)){var Kd=Ad[kd];kd++,Id++,Kd.state="checking",Kd.params.onTaskStart&&Kd.params.onTaskStart(jd(Kd)),!Kd.params.UploadData&&(Kd.params.UploadData={});var mf=cd.formatParams(Kd.api,Kd.params);dd[Kd.api].call(vd,mf,function(Wd,Zd){vd._isRunningTask(Kd.id)&&((Kd.state==="checking"||Kd.state==="uploading")&&(Kd.state=Wd?"error":"success",Wd&&(Kd.error=Wd),Id--,Fd(),Vd(),Kd.callback&&Kd.callback(Wd,Zd),Kd.state==="success"&&(Kd.params&&(delete Kd.params.UploadData,delete Kd.params.Body,delete Kd.params),delete Kd.callback)),Md())}),Fd(),setTimeout(Vd)}}},Hd=function(Kd,mf){var Wd=Nd[Kd];if(Wd){var Zd=Wd&&Wd.state==="waiting",Xd=Wd&&(Wd.state==="checking"||Wd.state==="uploading");if(mf==="canceled"&&Wd.state!=="canceled"||mf==="paused"&&Zd||mf==="paused"&&Xd){Wd.state=mf,vd.emit("inner-kill-task",{TaskId:Kd,toState:mf});try{var bf=Wd&&Wd.params&&Wd.params.UploadData.UploadId}catch{}mf==="canceled"&&bf&&ud.removeUsing(bf),Fd(),Xd&&(Id--,Ld()),mf==="canceled"&&(Wd.params&&(delete Wd.params.UploadData,delete Wd.params.Body,delete Wd.params),delete Wd.callback)}Md()}};vd._addTasks=function(Vd){cd.each(Vd,function(Kd){vd._addTask(Kd.api,Kd.params,Kd.callback,!0)}),Fd()};var Gd=!0;vd._addTask=function(Vd,Kd,mf,Wd){Kd=cd.formatParams(Vd,Kd);var Zd=cd.uuid();Kd.TaskId=Zd,Kd.onTaskReady&&Kd.onTaskReady(Zd),Kd.TaskReady&&(Kd.TaskReady(Zd),Gd&&console.warn('warning: Param "TaskReady" has been deprecated. Please use "onTaskReady" instead.'),Gd=!1);var Xd={params:Kd,callback:mf,api:Vd,index:Ad.length,id:Zd,Bucket:Kd.Bucket,Region:Kd.Region,Key:Kd.Key,FilePath:Kd.FilePath||"",state:"waiting",loaded:0,size:0,speed:0,percent:0,hashPercent:0,error:null,_custom:Kd._custom},bf=Kd.onHashProgress;Kd.onHashProgress=function(Ef){vd._isRunningTask(Xd.id)&&(Xd.hashPercent=Ef.percent,bf&&bf(Ef),Fd())};var yf=Kd.onProgress;return Kd.onProgress=function(Ef){vd._isRunningTask(Xd.id)&&(Xd.state==="checking"&&(Xd.state="uploading"),Xd.loaded=Ef.loaded,Xd.speed=Ef.speed,Xd.percent=Ef.percent,yf&&yf(Ef),Fd())},cd.getFileSize(Vd,Kd,function(Ef,gf){if(Ef)return mf(cd.error(Ef));Nd[Zd]=Xd,Ad.push(Xd),Xd.size=gf,!Wd&&Fd(),Ld(),Md()}),Zd},vd._isRunningTask=function(Vd){var Kd=Nd[Vd];return!!(Kd&&(Kd.state==="checking"||Kd.state==="uploading"))},vd.getTaskList=function(){return cd.map(Ad,jd)},vd.cancelTask=function(Vd){Hd(Vd,"canceled")},vd.pauseTask=function(Vd){Hd(Vd,"paused")},vd.restartTask=function(Vd){var Kd=Nd[Vd];Kd&&(Kd.state==="paused"||Kd.state==="error")&&(Kd.state="waiting",Fd(),kd=Math.min(kd,Kd.index),Ld())},vd.isUploadRunning=function(){return Id||kd"u"?"undefined":dd(navigator))==="object"){var mf=navigator.connection||navigator.mozConnection||navigator.webkitConnection;return(mf==null?void 0:mf.type)||(mf==null?void 0:mf.effectiveType)||"unknown"}return"unknown"},getProtocol:function(){return(typeof location>"u"?"undefined":dd(location))==="object"?location.protocol.replace(/:/,""):"unknown protocol"},getOsType:function(){if((typeof navigator>"u"?"undefined":dd(navigator))!=="object")return"unknown os";var mf=navigator.userAgent.toLowerCase(),Wd=/macintosh|mac os x/i.test(navigator.userAgent);return mf.indexOf("win32")>=0||mf.indexOf("wow32")>=0?"win32":mf.indexOf("win64")>=0||mf.indexOf("wow64")>=0?"win64":Wd?"mac":"unknown os"},isMobile:function(){var mf=/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i;return!!((typeof navigator>"u"?"undefined":dd(navigator))==="object"&&navigator.userAgent.match(mf))},isAndroid:function(){var mf=/(Android|Adr|Linux)/i;return!!((typeof navigator>"u"?"undefined":dd(navigator))==="object"&&navigator.userAgent.match(mf))},isIOS:function(){var mf=/(iPhone|iPod|iPad|iOS)/i;return!!((typeof navigator>"u"?"undefined":dd(navigator))==="object"&&navigator.userAgent.match(mf))},isOtherMobile:function(){return Nd&&!isAndroid&&!isIOS},getUA:function(){if((typeof navigator>"u"?"undefined":dd(navigator))!=="object")return"unknown device";var mf=navigator.userAgent;return mf}},Nd=Ad.isMobile(),Id=Ad.isAndroid()?"android":Ad.isIOS?"ios":"other_mobile",kd=Ad.getOsType(),jd=Nd?Id:kd,Fd=Ad.getUA(),Md=Ad.getProtocol(),Ld=function(mf){return["putObject","sliceUploadFile","uploadFile","uploadFiles"].includes(mf)?"UploadTask":mf==="getObject"?"DownloadTask":["putObjectCopy","sliceCopyFile"].includes(mf)?"CopyTask":mf};function Hd(Kd){return Kd.replace(/([A-Z])/g,"_$1").toLowerCase()}function Gd(Kd){var mf={},Wd=["sdkVersionName","sdkVersionCode","osName","networkType","requestName","requestResult","bucket","region","appid","accelerate","url","host","requestPath","userAgent","networkProtocol","httpMethod","httpSize","httpSpeed","httpTookTime","httpMd5","httpSign","httpFullTime","httpDomain","partNumber","httpRetryTimes","customId","traceId","realApi"],Zd=[].concat(Wd,["errorNode","errorCode","errorName","errorMessage","errorRequestId","errorHttpCode","errorServiceName","errorType","fullError"]),Xd=Kd.requestResult==="Success"?Wd:Zd;for(var bf in Kd)if(Xd.includes(bf)){var yf=Hd(bf);mf[yf]=Kd[bf]}return mf.request_name=Kd.realApi?Ld(Kd.realApi):Kd.requestName,mf}var Vd=function(){function Kd(mf){ud(this,Kd);var Wd=mf.parent,Zd=mf.traceId,Xd=mf.bucket,bf=mf.region,yf=mf.apiName,Ef=mf.realApi,gf=mf.httpMethod,xf=mf.fileKey,Af=mf.fileSize,Lf=mf.accelerate,Xf=mf.customId,Jf=mf.delay,Zf=mf.deepTracker,Bf=mf.Beacon,Df=mf.clsReporter,Uf=Xd&&Xd.substr(Xd.lastIndexOf("-")+1)||"";this.parent=Wd,this.deepTracker=Zf,this.delay=Jf,Df&&!this.clsReporter&&(this.clsReporter=Df),this.params={sdkVersionName:"cos-js-sdk-v5",sdkVersionCode:pd.version,osName:jd,networkType:"",requestName:yf||"",requestResult:"",realApi:Ef,bucket:Xd,region:bf,accelerate:Lf,httpMethod:gf,url:"",host:"",httpDomain:"",requestPath:xf||"",userAgent:Fd,networkProtocol:Md,errorType:"",errorCode:"",errorName:"",errorMessage:"",errorRequestId:"",errorHttpCode:0,errorServiceName:"",errorNode:"",httpTookTime:0,httpSize:Af||0,httpMd5:0,httpSign:0,httpFullTime:0,httpSpeed:0,md5StartTime:0,md5EndTime:0,signStartTime:0,signEndTime:0,httpStartTime:0,httpEndTime:0,startTime:new Date().getTime(),endTime:0,traceId:Zd||Ad.getUid(),appid:Uf,partNumber:0,httpRetryTimes:0,customId:Xf||"",partTime:0},Bf&&(this.beacon=md(Bf,Jf))}return cd(Kd,[{key:"formatResult",value:function(Wd,Zd){var Xd,bf,yf,Ef,gf,xf,Af=new Date().getTime(),Lf=Ad.getNetType(),Xf=Wd?(Wd==null?void 0:Wd.code)||(Wd==null||(Xd=Wd.error)===null||Xd===void 0?void 0:Xd.code)||(Wd==null||(bf=Wd.error)===null||bf===void 0?void 0:bf.Code):"",Jf=Wd?(Wd==null?void 0:Wd.message)||(Wd==null||(yf=Wd.error)===null||yf===void 0?void 0:yf.message)||(Wd==null||(Ef=Wd.error)===null||Ef===void 0?void 0:Ef.Message):"",Zf=Jf,Bf=Wd?(Wd==null?void 0:Wd.resource)||(Wd==null||(gf=Wd.error)===null||gf===void 0?void 0:gf.resource)||(Wd==null||(xf=Wd.error)===null||xf===void 0?void 0:xf.Resource):"",Df=Wd?Wd==null?void 0:Wd.statusCode:Zd.statusCode,Uf=Wd?(Wd==null?void 0:Wd.headers)&&(Wd==null?void 0:Wd.headers["x-cos-request-id"]):(Zd==null?void 0:Zd.headers)&&(Zd==null?void 0:Zd.headers["x-cos-request-id"]),Gf=Wd?Uf?"Server":"Client":"";this.params.requestName==="getObject"&&(this.params.httpSize=Zd?Zd.headers&&Zd.headers["content-length"]:0);var zf=this.params.realApi==="sliceUploadFile",Tf=this.params.realApi==="sliceCopyFile";if(zf||Tf){var vf=this.params.httpSize/1024/this.params.partTime;Object.assign(this.params,{httpSpeed:vf<0?0:vf.toFixed(3)})}else{var qf=Af-this.params.startTime,eh=this.params.httpEndTime-this.params.httpStartTime,ch=this.params.httpSize/1024/(eh/1e3),ih=this.params.md5EndTime-this.params.md5StartTime,Pf=this.params.signEndTime-this.params.signStartTime;this.parent&&(this.parent.addParamValue("httpTookTime",vd(eh)),this.parent.addParamValue("httpFullTime",vd(qf)),this.parent.addParamValue("httpMd5",vd(ih)),this.parent.addParamValue("httpSign",vd(Pf)),["multipartUpload","uploadPartCopy","putObjectCopy"].includes(this.params.requestName)&&this.parent.addParamValue("partTime",vd(eh))),Object.assign(this.params,{httpFullTime:vd(qf),httpMd5:vd(ih),httpSign:vd(Pf),httpTookTime:vd(eh),httpSpeed:ch<0?0:ch.toFixed(3)})}if(Object.assign(this.params,{networkType:Lf,requestResult:Wd?"Failure":"Success",errorType:Gf,errorCode:Xf,errorHttpCode:Df,errorName:Zf,errorMessage:Jf,errorServiceName:Bf,errorRequestId:Uf}),Wd&&(!Xf||!Jf)&&(this.params.fullError=Wd?JSON.stringify(Wd):""),this.params.url){try{var uh=/^http(s)?:\/\/(.*?)\//.exec(this.params.url);this.params.host=uh[2]}catch{this.params.host=this.params.url}this.params.httpDomain=this.params.host}}},{key:"report",value:function(Wd,Zd){if(!(!this.beacon&&!this.clsReporter)){this.formatResult(Wd,Zd);var Xd=Gd(this.params);this.beacon&&this.sendEventsToBeacon(Xd),this.clsReporter&&this.sendEventsToCLS(Xd)}}},{key:"setParams",value:function(Wd){Object.assign(this.params,Wd)}},{key:"addParamValue",value:function(Wd,Zd){this.params[Wd]=(+this.params[Wd]+ +Zd).toFixed(3)}},{key:"sendEventsToBeacon",value:function(Wd){var Zd=this.params.requestName==="sliceUploadFile"||this.params.realApi==="sliceUploadFile";if(!(Zd&&!this.deepTracker)){var Xd="qcloud_track_cos_sdk";this.delay===0?this.beacon&&this.beacon.onDirectUserAction(Xd,Wd):this.beacon&&this.beacon.onUserAction(Xd,Wd)}}},{key:"sendEventsToCLS",value:function(Wd){var Zd=this.delay===0;this.clsReporter.log(Wd,Zd)}},{key:"generateSubTracker",value:function(Wd){return Object.assign(Wd,{parent:this,deepTracker:this.deepTracker,traceId:this.params.traceId,bucket:this.params.bucket,region:this.params.region,accelerate:this.params.accelerate,fileKey:this.params.requestPath,customId:this.params.customId,delay:this.delay,clsReporter:this.clsReporter}),new Kd(Wd)}}]),Kd}();nd.exports=Vd},"./src/util.js":function(nd,od,ld){(function(ud){var cd=ld("./node_modules/@babel/runtime/helpers/typeof.js");function dd(Rf,If){var dh=typeof Symbol<"u"&&Rf[Symbol.iterator]||Rf["@@iterator"];if(!dh){if(Array.isArray(Rf)||(dh=pd(Rf))||If){dh&&(Rf=dh);var yh=0,Uh=function(){};return{s:Uh,n:function(){return yh>=Rf.length?{done:!0}:{done:!1,value:Rf[yh++]}},e:function(r_){throw r_},f:Uh}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Zh=!0,_m=!1,Um;return{s:function(){dh=dh.call(Rf)},n:function(){var r_=dh.next();return Zh=r_.done,r_},e:function(r_){_m=!0,Um=r_},f:function(){try{!Zh&&dh.return!=null&&dh.return()}finally{if(_m)throw Um}}}}function pd(Rf,If){if(Rf){if(typeof Rf=="string")return fd(Rf,If);var dh=Object.prototype.toString.call(Rf).slice(8,-1);if(dh==="Object"&&Rf.constructor&&(dh=Rf.constructor.name),dh==="Map"||dh==="Set")return Array.from(Rf);if(dh==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(dh))return fd(Rf,If)}}function fd(Rf,If){(If==null||If>Rf.length)&&(If=Rf.length);for(var dh=0,yh=new Array(If);dhZh?1:-1})}var Kd=function(If,dh){var yh,Uh,Zh,_m=[],Um=Vd(If);for(yh=0;yh-1||mf.indexOf(Uh)>-1)&&(dh[yh]=If[yh])}return dh},Zd=function(If){If=If||{};var dh=If.SecretId,yh=If.SecretKey,Uh=If.KeyTime,Zh=(If.method||If.Method||"get").toLowerCase(),_m=Df(If.Query||If.params||{}),Um=Wd(Df(If.Headers||If.headers||{})),Om=If.Key||"",r_;If.UseRawKey?r_=If.Pathname||If.pathname||"/"+Om:(r_=If.Pathname||If.pathname||Om,r_.indexOf("/")!==0&&(r_="/"+r_));var Xm=If.ForceSignHost!==!1;if(!Um.Host&&!Um.host&&If.Bucket&&If.Region&&Xm&&(Um.Host=If.Bucket+".cos."+If.Region+".myqcloud.com"),!dh)throw new Error("missing param SecretId");if(!yh)throw new Error("missing param SecretKey");var s_=Math.round(Wf(If.SystemClockOffset)/1e3)-1,b_=s_,H_=If.Expires||If.expires;H_===void 0?b_+=900:b_+=H_*1||0;var x_="sha1",M_=dh,h_=Uh||s_+";"+b_,tg=Uh||s_+";"+b_,L_=Vd(Um,!0).join(";").toLowerCase(),dg=Vd(_m,!0).join(";").toLowerCase(),yg=vd.HmacSHA1(tg,yh).toString(),q_=[Zh,r_,fh.obj2str(_m,!0),fh.obj2str(Um,!0),""].join(` `),Y_=["sha1",h_,vd.SHA1(q_).toString(),""].join(` -`),Qm=vd.HmacSHA1(Y_,yg).toString(),Zg=["q-sign-algorithm="+x_,"q-ak="+M_,"q-sign-time="+h_,"q-key-time="+tg,"q-header-list="+L_,"q-url-param-list="+dg,"q-signature="+Qm].join("&");return Zg},Kd=function(wf,ch,yh){var Uh=ch/8,Zh=wf.slice(yh,yh+Uh);return new Uint8Array(Zh).reverse(),new{8:Uint8Array,16:Uint16Array,32:Uint32Array}[ch](Zh)[0]},bf=function(wf,ch,yh,Uh){var Zh=wf.slice(ch,yh),_m="";return new Uint8Array(Zh).forEach(function(Um){_m+=String.fromCharCode(Um)}),Uh&&(_m=decodeURIComponent(escape(_m))),_m},gf=function(wf){for(var ch={},yh=bf(wf),Uh={records:[]};wf.byteLength;){var Zh=Kd(wf,32,0),_m=Kd(wf,32,4),Um=Zh-_m-16,Om=0,r_;for(wf=wf.slice(12);Om<_m;){var Xm=Kd(wf,8,Om),s_=bf(wf,Om+1,Om+1+Xm),b_=Kd(wf,16,Om+Xm+2),H_=bf(wf,Om+Xm+4,Om+Xm+4+b_);ch[s_]=H_,Om+=Xm+4+b_}if(ch[":event-type"]==="Records")r_=bf(wf,Om,Om+Um,!0),Uh.records.push(r_);else if(ch[":event-type"]==="Stats")r_=bf(wf,Om,Om+Um,!0),Uh.stats=ph.xml2json(r_).Stats;else if(ch[":event-type"]==="error"){var x_=ch[":error-code"],M_=ch[":error-message"],h_=new Error(M_);h_.message=M_,h_.name=h_.code=x_,Uh.error=h_}wf=wf.slice(Om+Um+4)}return{payload:Uh.records.join(""),body:yh}},Ef=function(wf){var ch=this.options.CopySourceParser;if(ch)return ch(wf);var yh=wf.match(/^([^.]+-\d+)\.cos(v6|-cdc|-cdz|-internal)?\.([^.]+)\.((myqcloud\.com)|(tencentcos\.cn))\/(.+)$/);return yh?{Bucket:yh[1],Region:yh[3],Key:yh[7]}:null},yf=function(){},xf=function(wf){var ch={};for(var yh in wf)wf.hasOwnProperty(yh)&&wf[yh]!==void 0&&wf[yh]!==null&&(ch[yh]=wf[yh]);return ch},Af=function(wf,ch){var yh,Uh=new FileReader;FileReader.prototype.readAsBinaryString?(yh=FileReader.prototype.readAsBinaryString,Uh.onload=function(){ch(this.result)}):FileReader.prototype.readAsArrayBuffer?yh=function(_m){var Um="",Om=new FileReader;Om.onload=function(r_){for(var Xm=new Uint8Array(Om.result),s_=Xm.byteLength,b_=0;b_parseInt(Uh[Zh])?1:-1;return 0},wf=function(yh){if(!yh)return!1;var Uh=(yh.match(/Chrome\/([.\d]+)/)||[])[1],Zh=(yh.match(/QBCore\/([.\d]+)/)||[])[1],_m=(yh.match(/QQBrowser\/([.\d]+)/)||[])[1],Um=Uh&&Rf(Uh,"53.0.2785.116")<0&&Zh&&Rf(Zh,"3.53.991.400")<0&&_m&&Rf(_m,"9.0.2524.400")<=0||!1;return Um};return wf(typeof navigator<"u"&&navigator.userAgent)}(),Xf=function(wf,ch,yh,Uh,Zh){var _m;if(wf.slice?_m=wf.slice(ch,yh):wf.mozSlice?_m=wf.mozSlice(ch,yh):wf.webkitSlice&&(_m=wf.webkitSlice(ch,yh)),Uh&&Lf){var Um=new FileReader;Um.onload=function(Om){_m=null,Zh(new Blob([Um.result]))},Um.readAsArrayBuffer(_m)}else Zh(_m)},ih=function(wf,ch,yh,Uh){yh=yh||yf,wf?typeof ch=="string"?yh(ph.md5(ch,!0)):Blob&&ch instanceof Blob?ph.getFileMd5(ch,function(Zh,_m){yh(_m)},Uh):yh():yh()},Zf=1024*1024,jf=function(wf,ch,yh){var Uh=wf.size,Zh=0,_m=md.getCtx(),Um=function Om(r_){if(r_>=Uh){var Xm=_m.digest("hex");ch(null,Xm);return}var s_=Math.min(Uh,r_+Zf);ph.fileSlice(wf,r_,s_,!1,function(b_){Af(b_,function(H_){b_=null,_m=_m.update(H_,!0),Zh+=H_.length,H_=null,yh&&yh({loaded:Zh,total:Uh,percent:Math.round(Zh/Uh*1e4)/1e4}),Om(r_+Zf)})})};Um(0)};function If(Rf){return Jf(Rf,function(wf){return cd(wf)==="object"&&wf!==null?If(wf):wf})}function Uf(Rf,wf,ch){return Rf&&wf in Rf?Rf[wf]:ch}function qf(Rf,wf){return Gf(wf,function(ch,yh){Rf[yh]=wf[yh]}),Rf}function Kf(Rf){return Rf instanceof Array}function Tf(Rf,wf){for(var ch=!1,yh=0;yh-1,Om=!_m||typeof _m=="string"&&_m.indexOf("{Region}")>-1;if(wf.indexOf("Bucket")>-1||wf==="deleteMultipleObject"||wf==="multipartList"||wf==="listObjectVersions"){if(Um&&!yh)return"Bucket";if(Om&&!Uh)return"Region"}else if(wf.indexOf("Object")>-1||wf.indexOf("multipart")>-1||wf==="sliceUploadFile"||wf==="abortUploadTask"||wf==="uploadFile"){if(Um&&!yh)return"Bucket";if(Om&&!Uh)return"Region";if(!Zh)return"Key"}return!1},xh=function(wf,ch){if(ch=qf({},ch),wf!=="getAuth"&&wf!=="getV4Auth"&&wf!=="getObjectUrl"){var yh=ch.Headers||{};if(ch&&cd(ch)==="object"){(function(){for(var Zh in ch)ch.hasOwnProperty(Zh)&&Zh.indexOf("x-cos-")>-1&&(yh[Zh]=ch[Zh])})();var Uh={"x-cos-mfa":"MFA","Content-MD5":"ContentMD5","Content-Length":"ContentLength","Content-Type":"ContentType",Expect:"Expect",Expires:"Expires","Cache-Control":"CacheControl","Content-Disposition":"ContentDisposition","Content-Encoding":"ContentEncoding",Range:"Range","If-Modified-Since":"IfModifiedSince","If-Unmodified-Since":"IfUnmodifiedSince","If-Match":"IfMatch","If-None-Match":"IfNoneMatch","x-cos-copy-source":"CopySource","x-cos-copy-source-Range":"CopySourceRange","x-cos-metadata-directive":"MetadataDirective","x-cos-copy-source-If-Modified-Since":"CopySourceIfModifiedSince","x-cos-copy-source-If-Unmodified-Since":"CopySourceIfUnmodifiedSince","x-cos-copy-source-If-Match":"CopySourceIfMatch","x-cos-copy-source-If-None-Match":"CopySourceIfNoneMatch","x-cos-acl":"ACL","x-cos-grant-read":"GrantRead","x-cos-grant-write":"GrantWrite","x-cos-grant-full-control":"GrantFullControl","x-cos-grant-read-acp":"GrantReadAcp","x-cos-grant-write-acp":"GrantWriteAcp","x-cos-storage-class":"StorageClass","x-cos-traffic-limit":"TrafficLimit","x-cos-mime-limit":"MimeLimit","x-cos-server-side-encryption-customer-algorithm":"SSECustomerAlgorithm","x-cos-server-side-encryption-customer-key":"SSECustomerKey","x-cos-server-side-encryption-customer-key-MD5":"SSECustomerKeyMD5","x-cos-server-side-encryption":"ServerSideEncryption","x-cos-server-side-encryption-cos-kms-key-id":"SSEKMSKeyId","x-cos-server-side-encryption-context":"SSEContext","Pic-Operations":"PicOperations","x-cos-callback":"Callback","x-cos-callback-var":"CallbackVar","x-cos-return-body":"ReturnBody"};ph.each(Uh,function(Zh,_m){ch[Zh]!==void 0&&(yh[_m]=ch[Zh])}),ch.Headers=xf(yh)}}return ch},Qf=function(wf,ch){return function(yh,Uh){var Zh=this;typeof yh=="function"&&(Uh=yh,yh={}),yh=xh(wf,yh);var _m;if(Zh.options.EnableReporter)if(yh.calledBySdk==="sliceUploadFile"||yh.calledBySdk==="sliceCopyFile")_m=yh.tracker&&yh.tracker.generateSubTracker({apiName:wf});else if(["uploadFile","uploadFiles"].includes(wf))_m=null;else{var Um=0;yh.Body&&(Um=typeof yh.Body=="string"?yh.Body.length:yh.Body.size||yh.Body.byteLength||0);var Om=Zh.options.UseAccelerate||typeof Zh.options.Domain=="string"&&Zh.options.Domain.includes("accelerate.");_m=new Md({Beacon:Zh.options.BeaconReporter,clsReporter:Zh.options.ClsReporter,bucket:yh.Bucket,region:yh.Region,apiName:wf,realApi:wf,accelerate:Om,fileKey:yh.Key,fileSize:Um,deepTracker:Zh.options.DeepTracker,customId:Zh.options.CustomId,delay:Zh.options.TrackerDelay})}yh.tracker=_m;var r_=function(h_){return h_&&h_.headers&&(h_.headers["x-cos-request-id"]&&(h_.RequestId=h_.headers["x-cos-request-id"]),h_.headers["x-ci-request-id"]&&(h_.RequestId=h_.headers["x-ci-request-id"]),h_.headers["x-cos-version-id"]&&(h_.VersionId=h_.headers["x-cos-version-id"]),h_.headers["x-cos-delete-marker"]&&(h_.DeleteMarker=h_.headers["x-cos-delete-marker"])),h_},Xm=function(h_,tg){_m&&_m.report(h_,tg),Uh&&Uh(r_(h_),r_(tg))},s_=function(){if(wf!=="getService"&&wf!=="abortUploadTask"){var h_=uh.call(Zh,wf,yh);if(h_)return"missing param "+h_;if(yh.Region){if(Zh.options.CompatibilityMode){if(!/^([a-z\d-.]+)$/.test(yh.Region))return"Region format error."}else{if(yh.Region.indexOf("cos.")>-1)return'param Region should not be start with "cos."';if(!/^([a-z\d-]+)$/.test(yh.Region))return"Region format error."}!Zh.options.CompatibilityMode&&yh.Region.indexOf("-")===-1&&yh.Region!=="yfb"&&yh.Region!=="default"&&yh.Region!=="accelerate"&&console.warn("warning: param Region format error, find help here: https://cloud.tencent.com/document/product/436/6224")}if(yh.Bucket){if(!/^([a-z\d-]+)-(\d+)$/.test(yh.Bucket))if(yh.AppId)yh.Bucket=yh.Bucket+"-"+yh.AppId;else if(Zh.options.AppId)yh.Bucket=yh.Bucket+"-"+Zh.options.AppId;else return'Bucket should format as "test-1250000000".';yh.AppId&&(console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g Bucket:"test-1250000000" ).'),delete yh.AppId)}!Zh.options.UseRawKey&&yh.Key&&yh.Key.substr(0,1)==="/"&&(yh.Key=yh.Key.substr(1))}},b_=s_(),H_=["getAuth","getObjectUrl"].includes(wf);if(typeof Promise=="function"&&!H_&&!Uh)return new Promise(function(M_,h_){if(Uh=function(L_,dg){L_?h_(L_):M_(dg)},b_)return Xm(ph.error(new Error(b_)));ch.call(Zh,yh,Xm)});if(b_)return Xm(ph.error(new Error(b_)));var x_=ch.call(Zh,yh,Xm);if(H_)return x_}},Nf=function(wf,ch){var yh=this,Uh=0,Zh=0,_m=Date.now(),Um,Om;function r_(){if(Om=0,ch&&typeof ch=="function"){Um=Date.now();var Xm=Math.max(0,Math.round((Zh-Uh)/((Um-_m)/1e3)*100)/100)||0,s_;Zh===0&&wf===0?s_=1:s_=Math.floor(Zh/wf*100)/100||0,_m=Um,Uh=Zh;try{ch({loaded:Zh,total:wf,speed:Xm,percent:s_})}catch{}}}return function(Xm,s_){if(Xm&&(Zh=Xm.loaded,wf=Xm.total),s_)clearTimeout(Om),r_();else{if(Om)return;Om=setTimeout(r_,yh.options.ProgressInterval)}}},$f=function(wf,ch,yh){var Uh;if(typeof ch.Body=="string"?ch.Body=new Blob([ch.Body],{type:"text/plain"}):ch.Body instanceof ArrayBuffer&&(ch.Body=new Blob([ch.Body])),ch.Body&&(ch.Body instanceof Blob||ch.Body.toString()==="[object File]"||ch.Body.toString()==="[object Blob]"))Uh=ch.Body.size;else{yh(ph.error(new Error("params body format error, Only allow File|Blob|String.")));return}ch.ContentLength=Uh,yh(null,Uh)},Wf=function(wf){return Date.now()+(wf||0)},vh=function(wf,ch){var yh=wf;return wf.message=wf.message||null,typeof ch=="string"?(wf.error=ch,wf.message=ch):cd(ch)==="object"&&ch!==null&&(qf(wf,ch),(ch.code||ch.name)&&(wf.code=ch.code||ch.name),ch.message&&(wf.message=ch.message),ch.stack&&(wf.stack=ch.stack)),typeof Object.defineProperty=="function"&&(Object.defineProperty(wf,"name",{writable:!0,enumerable:!1}),Object.defineProperty(wf,"message",{enumerable:!0})),wf.name=ch&&ch.name||wf.name||wf.code||"Error",wf.code||(wf.code=wf.name),wf.error||(wf.error=If(yh)),wf},Th=function(){return(typeof globalThis>"u"?"undefined":cd(globalThis))==="object"&&(globalThis.constructor.name==="DedicatedWorkerGlobalScope"||globalThis.FileReaderSync)},dh=function(){return(typeof window>"u"?"undefined":cd(window))!=="object"&&(typeof ud>"u"?"undefined":cd(ud))==="object"&&!0&&!Th()},Vh=function(wf){return/^https?:\/\/([^/]+\.)?ci\.[^/]+/.test(wf)},wh=function(){if((typeof navigator>"u"?"undefined":cd(navigator))!=="object")return!1;var Rf=navigator.userAgent,wf=!!Rf.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);return wf}(),fm=function(){return(typeof navigator>"u"?"undefined":cd(navigator))!=="object"?!1:/\sQQ/i.test(navigator.userAgent)}(),Nm=function(wf,ch){var yh=Fd.encode(wf);return ch&&(yh=yh.replaceAll("+","-").replaceAll("/","_").replaceAll("=","")),yh},cm=function(wf){return wf?Fd.decode(wf):""},Sm=function(wf){var ch=wf.split("/"),yh=[],Uh=dd(ch),Zh;try{for(Uh.s();!(Zh=Uh.n()).done;){var _m=Zh.value;_m===".."?yh.length&&yh.pop():_m.length&&_m!=="."&&yh.push(_m)}}catch(Um){Uh.e(Um)}finally{Uh.f()}return"/"+yh.join("/")},$m=function(wf){var ch;if(wf&&typeof wf=="string"){var yh=wf.trim(),Uh=yh.indexOf("<")===0,Zh=yh.indexOf("{")===0;if(Uh)ch=ph.xml2json(wf)||{};else if(Zh)try{var _m=wf.replace(/\n/g," "),Um=JSON.parse(_m);Object.prototype.toString.call(Um)==="[object Object]"?ch=Um:ch=wf}catch{ch=wf}else ch=wf}else ch=wf||{};return ch},ph={noop:yf,formatParams:xh,apiWrapper:Qf,xml2json:Ld,json2xml:Hd,md5:md,clearKey:xf,fileSlice:Xf,getBodyMd5:ih,getFileMd5:jf,b64:th,extend:qf,isArray:Kf,isInArray:Tf,makeArray:vf,each:Gf,map:Jf,filter:gh,clone:If,attr:Uf,uuid:Pf,camSafeUrlEncode:Gd,throttleOnProgress:Nf,getFileSize:$f,getSkewTime:Wf,error:vh,obj2str:Qd,getAuth:Zd,parseSelectPayload:gf,getSourceParams:Ef,isBrowser:!0,isNode:dh,isCIHost:Vh,isIOS_QQ:wh&&fm,encodeBase64:Nm,decodeBase64:cm,simplifyPath:Sm,readAsBinaryString:Af,parseResBody:$m};nd.exports=ph}).call(this,ld("./node_modules/process/browser.js"))}})})})(cosJsSdkV5);var cosJsSdkV5Exports=cosJsSdkV5.exports;const COS=getDefaultExportFromCjs(cosJsSdkV5Exports);var cryptoJs={exports:{}};function commonjsRequire(Ra){throw new Error('Could not dynamically require "'+Ra+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var core={exports:{}};const __viteBrowserExternal={},http=Object.freeze(Object.defineProperty({__proto__:null,default:__viteBrowserExternal},Symbol.toStringTag,{value:"Module"})),require$$0$1=getAugmentedNamespace(http);var hasRequiredCore;function requireCore(){return hasRequiredCore||(hasRequiredCore=1,function(Ra,qa){(function(nd,od){Ra.exports=od()})(commonjsGlobal,function(){var nd=nd||function(od,ld){var ud;if(typeof window<"u"&&window.crypto&&(ud=window.crypto),typeof self<"u"&&self.crypto&&(ud=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(ud=globalThis.crypto),!ud&&typeof window<"u"&&window.msCrypto&&(ud=window.msCrypto),!ud&&typeof commonjsGlobal<"u"&&commonjsGlobal.crypto&&(ud=commonjsGlobal.crypto),!ud&&typeof commonjsRequire=="function")try{ud=require$$0$1}catch{}var cd=function(){if(ud){if(typeof ud.getRandomValues=="function")try{return ud.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof ud.randomBytes=="function")try{return ud.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},dd=Object.create||function(){function Md(){}return function(Ld){var Hd;return Md.prototype=Ld,Hd=new Md,Md.prototype=null,Hd}}(),pd={},fd=pd.lib={},md=fd.Base=function(){return{extend:function(Md){var Ld=dd(this);return Md&&Ld.mixIn(Md),(!Ld.hasOwnProperty("init")||this.init===Ld.init)&&(Ld.init=function(){Ld.$super.init.apply(this,arguments)}),Ld.init.prototype=Ld,Ld.$super=this,Ld},create:function(){var Md=this.extend();return Md.init.apply(Md,arguments),Md},init:function(){},mixIn:function(Md){for(var Ld in Md)Md.hasOwnProperty(Ld)&&(this[Ld]=Md[Ld]);Md.hasOwnProperty("toString")&&(this.toString=Md.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),vd=fd.WordArray=md.extend({init:function(Md,Ld){Md=this.words=Md||[],Ld!=ld?this.sigBytes=Ld:this.sigBytes=Md.length*4},toString:function(Md){return(Md||Nd).stringify(this)},concat:function(Md){var Ld=this.words,Hd=Md.words,Gd=this.sigBytes,Vd=Md.sigBytes;if(this.clamp(),Gd%4)for(var Qd=0;Qd>>2]>>>24-Qd%4*8&255;Ld[Gd+Qd>>>2]|=mf<<24-(Gd+Qd)%4*8}else for(var Yd=0;Yd>>2]=Hd[Yd>>>2];return this.sigBytes+=Vd,this},clamp:function(){var Md=this.words,Ld=this.sigBytes;Md[Ld>>>2]&=4294967295<<32-Ld%4*8,Md.length=od.ceil(Ld/4)},clone:function(){var Md=md.clone.call(this);return Md.words=this.words.slice(0),Md},random:function(Md){for(var Ld=[],Hd=0;Hd>>2]>>>24-Vd%4*8&255;Gd.push((Qd>>>4).toString(16)),Gd.push((Qd&15).toString(16))}return Gd.join("")},parse:function(Md){for(var Ld=Md.length,Hd=[],Gd=0;Gd>>3]|=parseInt(Md.substr(Gd,2),16)<<24-Gd%8*4;return new vd.init(Hd,Ld/2)}},Id=Ad.Latin1={stringify:function(Md){for(var Ld=Md.words,Hd=Md.sigBytes,Gd=[],Vd=0;Vd>>2]>>>24-Vd%4*8&255;Gd.push(String.fromCharCode(Qd))}return Gd.join("")},parse:function(Md){for(var Ld=Md.length,Hd=[],Gd=0;Gd>>2]|=(Md.charCodeAt(Gd)&255)<<24-Gd%4*8;return new vd.init(Hd,Ld)}},kd=Ad.Utf8={stringify:function(Md){try{return decodeURIComponent(escape(Id.stringify(Md)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(Md){return Id.parse(unescape(encodeURIComponent(Md)))}},jd=fd.BufferedBlockAlgorithm=md.extend({reset:function(){this._data=new vd.init,this._nDataBytes=0},_append:function(Md){typeof Md=="string"&&(Md=kd.parse(Md)),this._data.concat(Md),this._nDataBytes+=Md.sigBytes},_process:function(Md){var Ld,Hd=this._data,Gd=Hd.words,Vd=Hd.sigBytes,Qd=this.blockSize,mf=Qd*4,Yd=Vd/mf;Md?Yd=od.ceil(Yd):Yd=od.max((Yd|0)-this._minBufferSize,0);var Zd=Yd*Qd,Kd=od.min(Zd*4,Vd);if(Zd){for(var bf=0;bf>>2]|=pd[vd]<<24-vd%4*8;cd.call(this,md,fd)}else cd.apply(this,arguments)};dd.prototype=ud}}(),nd.lib.WordArray})}(libTypedarrays)),libTypedarrays.exports}var encUtf16={exports:{}},hasRequiredEncUtf16;function requireEncUtf16(){return hasRequiredEncUtf16||(hasRequiredEncUtf16=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,cd=od.enc;cd.Utf16=cd.Utf16BE={stringify:function(pd){for(var fd=pd.words,md=pd.sigBytes,vd=[],Ad=0;Ad>>2]>>>16-Ad%4*8&65535;vd.push(String.fromCharCode(Nd))}return vd.join("")},parse:function(pd){for(var fd=pd.length,md=[],vd=0;vd>>1]|=pd.charCodeAt(vd)<<16-vd%2*16;return ud.create(md,fd*2)}},cd.Utf16LE={stringify:function(pd){for(var fd=pd.words,md=pd.sigBytes,vd=[],Ad=0;Ad>>2]>>>16-Ad%4*8&65535);vd.push(String.fromCharCode(Nd))}return vd.join("")},parse:function(pd){for(var fd=pd.length,md=[],vd=0;vd>>1]|=dd(pd.charCodeAt(vd)<<16-vd%2*16);return ud.create(md,fd*2)}};function dd(pd){return pd<<8&4278255360|pd>>>8&16711935}}(),nd.enc.Utf16})}(encUtf16)),encUtf16.exports}var encBase64={exports:{}},hasRequiredEncBase64;function requireEncBase64(){return hasRequiredEncBase64||(hasRequiredEncBase64=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,cd=od.enc;cd.Base64={stringify:function(pd){var fd=pd.words,md=pd.sigBytes,vd=this._map;pd.clamp();for(var Ad=[],Nd=0;Nd>>2]>>>24-Nd%4*8&255,kd=fd[Nd+1>>>2]>>>24-(Nd+1)%4*8&255,jd=fd[Nd+2>>>2]>>>24-(Nd+2)%4*8&255,Fd=Id<<16|kd<<8|jd,Md=0;Md<4&&Nd+Md*.75>>6*(3-Md)&63));var Ld=vd.charAt(64);if(Ld)for(;Ad.length%4;)Ad.push(Ld);return Ad.join("")},parse:function(pd){var fd=pd.length,md=this._map,vd=this._reverseMap;if(!vd){vd=this._reverseMap=[];for(var Ad=0;Ad>>6-Nd%4*2,jd=Id|kd;vd[Ad>>>2]|=jd<<24-Ad%4*8,Ad++}return ud.create(vd,Ad)}}(),nd.enc.Base64})}(encBase64)),encBase64.exports}var encBase64url={exports:{}},hasRequiredEncBase64url;function requireEncBase64url(){return hasRequiredEncBase64url||(hasRequiredEncBase64url=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,cd=od.enc;cd.Base64url={stringify:function(pd,fd){fd===void 0&&(fd=!0);var md=pd.words,vd=pd.sigBytes,Ad=fd?this._safe_map:this._map;pd.clamp();for(var Nd=[],Id=0;Id>>2]>>>24-Id%4*8&255,jd=md[Id+1>>>2]>>>24-(Id+1)%4*8&255,Fd=md[Id+2>>>2]>>>24-(Id+2)%4*8&255,Md=kd<<16|jd<<8|Fd,Ld=0;Ld<4&&Id+Ld*.75>>6*(3-Ld)&63));var Hd=Ad.charAt(64);if(Hd)for(;Nd.length%4;)Nd.push(Hd);return Nd.join("")},parse:function(pd,fd){fd===void 0&&(fd=!0);var md=pd.length,vd=fd?this._safe_map:this._map,Ad=this._reverseMap;if(!Ad){Ad=this._reverseMap=[];for(var Nd=0;Nd>>6-Nd%4*2,jd=Id|kd;vd[Ad>>>2]|=jd<<24-Ad%4*8,Ad++}return ud.create(vd,Ad)}}(),nd.enc.Base64url})}(encBase64url)),encBase64url.exports}var md5$1={exports:{}},hasRequiredMd5$1;function requireMd5$1(){return hasRequiredMd5$1||(hasRequiredMd5$1=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(od){var ld=nd,ud=ld.lib,cd=ud.WordArray,dd=ud.Hasher,pd=ld.algo,fd=[];(function(){for(var kd=0;kd<64;kd++)fd[kd]=od.abs(od.sin(kd+1))*4294967296|0})();var md=pd.MD5=dd.extend({_doReset:function(){this._hash=new cd.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(kd,jd){for(var Fd=0;Fd<16;Fd++){var Md=jd+Fd,Ld=kd[Md];kd[Md]=(Ld<<8|Ld>>>24)&16711935|(Ld<<24|Ld>>>8)&4278255360}var Hd=this._hash.words,Gd=kd[jd+0],Vd=kd[jd+1],Qd=kd[jd+2],mf=kd[jd+3],Yd=kd[jd+4],Zd=kd[jd+5],Kd=kd[jd+6],bf=kd[jd+7],gf=kd[jd+8],Ef=kd[jd+9],yf=kd[jd+10],xf=kd[jd+11],Af=kd[jd+12],Lf=kd[jd+13],Xf=kd[jd+14],ih=kd[jd+15],Zf=Hd[0],jf=Hd[1],If=Hd[2],Uf=Hd[3];Zf=vd(Zf,jf,If,Uf,Gd,7,fd[0]),Uf=vd(Uf,Zf,jf,If,Vd,12,fd[1]),If=vd(If,Uf,Zf,jf,Qd,17,fd[2]),jf=vd(jf,If,Uf,Zf,mf,22,fd[3]),Zf=vd(Zf,jf,If,Uf,Yd,7,fd[4]),Uf=vd(Uf,Zf,jf,If,Zd,12,fd[5]),If=vd(If,Uf,Zf,jf,Kd,17,fd[6]),jf=vd(jf,If,Uf,Zf,bf,22,fd[7]),Zf=vd(Zf,jf,If,Uf,gf,7,fd[8]),Uf=vd(Uf,Zf,jf,If,Ef,12,fd[9]),If=vd(If,Uf,Zf,jf,yf,17,fd[10]),jf=vd(jf,If,Uf,Zf,xf,22,fd[11]),Zf=vd(Zf,jf,If,Uf,Af,7,fd[12]),Uf=vd(Uf,Zf,jf,If,Lf,12,fd[13]),If=vd(If,Uf,Zf,jf,Xf,17,fd[14]),jf=vd(jf,If,Uf,Zf,ih,22,fd[15]),Zf=Ad(Zf,jf,If,Uf,Vd,5,fd[16]),Uf=Ad(Uf,Zf,jf,If,Kd,9,fd[17]),If=Ad(If,Uf,Zf,jf,xf,14,fd[18]),jf=Ad(jf,If,Uf,Zf,Gd,20,fd[19]),Zf=Ad(Zf,jf,If,Uf,Zd,5,fd[20]),Uf=Ad(Uf,Zf,jf,If,yf,9,fd[21]),If=Ad(If,Uf,Zf,jf,ih,14,fd[22]),jf=Ad(jf,If,Uf,Zf,Yd,20,fd[23]),Zf=Ad(Zf,jf,If,Uf,Ef,5,fd[24]),Uf=Ad(Uf,Zf,jf,If,Xf,9,fd[25]),If=Ad(If,Uf,Zf,jf,mf,14,fd[26]),jf=Ad(jf,If,Uf,Zf,gf,20,fd[27]),Zf=Ad(Zf,jf,If,Uf,Lf,5,fd[28]),Uf=Ad(Uf,Zf,jf,If,Qd,9,fd[29]),If=Ad(If,Uf,Zf,jf,bf,14,fd[30]),jf=Ad(jf,If,Uf,Zf,Af,20,fd[31]),Zf=Nd(Zf,jf,If,Uf,Zd,4,fd[32]),Uf=Nd(Uf,Zf,jf,If,gf,11,fd[33]),If=Nd(If,Uf,Zf,jf,xf,16,fd[34]),jf=Nd(jf,If,Uf,Zf,Xf,23,fd[35]),Zf=Nd(Zf,jf,If,Uf,Vd,4,fd[36]),Uf=Nd(Uf,Zf,jf,If,Yd,11,fd[37]),If=Nd(If,Uf,Zf,jf,bf,16,fd[38]),jf=Nd(jf,If,Uf,Zf,yf,23,fd[39]),Zf=Nd(Zf,jf,If,Uf,Lf,4,fd[40]),Uf=Nd(Uf,Zf,jf,If,Gd,11,fd[41]),If=Nd(If,Uf,Zf,jf,mf,16,fd[42]),jf=Nd(jf,If,Uf,Zf,Kd,23,fd[43]),Zf=Nd(Zf,jf,If,Uf,Ef,4,fd[44]),Uf=Nd(Uf,Zf,jf,If,Af,11,fd[45]),If=Nd(If,Uf,Zf,jf,ih,16,fd[46]),jf=Nd(jf,If,Uf,Zf,Qd,23,fd[47]),Zf=Id(Zf,jf,If,Uf,Gd,6,fd[48]),Uf=Id(Uf,Zf,jf,If,bf,10,fd[49]),If=Id(If,Uf,Zf,jf,Xf,15,fd[50]),jf=Id(jf,If,Uf,Zf,Zd,21,fd[51]),Zf=Id(Zf,jf,If,Uf,Af,6,fd[52]),Uf=Id(Uf,Zf,jf,If,mf,10,fd[53]),If=Id(If,Uf,Zf,jf,yf,15,fd[54]),jf=Id(jf,If,Uf,Zf,Vd,21,fd[55]),Zf=Id(Zf,jf,If,Uf,gf,6,fd[56]),Uf=Id(Uf,Zf,jf,If,ih,10,fd[57]),If=Id(If,Uf,Zf,jf,Kd,15,fd[58]),jf=Id(jf,If,Uf,Zf,Lf,21,fd[59]),Zf=Id(Zf,jf,If,Uf,Yd,6,fd[60]),Uf=Id(Uf,Zf,jf,If,xf,10,fd[61]),If=Id(If,Uf,Zf,jf,Qd,15,fd[62]),jf=Id(jf,If,Uf,Zf,Ef,21,fd[63]),Hd[0]=Hd[0]+Zf|0,Hd[1]=Hd[1]+jf|0,Hd[2]=Hd[2]+If|0,Hd[3]=Hd[3]+Uf|0},_doFinalize:function(){var kd=this._data,jd=kd.words,Fd=this._nDataBytes*8,Md=kd.sigBytes*8;jd[Md>>>5]|=128<<24-Md%32;var Ld=od.floor(Fd/4294967296),Hd=Fd;jd[(Md+64>>>9<<4)+15]=(Ld<<8|Ld>>>24)&16711935|(Ld<<24|Ld>>>8)&4278255360,jd[(Md+64>>>9<<4)+14]=(Hd<<8|Hd>>>24)&16711935|(Hd<<24|Hd>>>8)&4278255360,kd.sigBytes=(jd.length+1)*4,this._process();for(var Gd=this._hash,Vd=Gd.words,Qd=0;Qd<4;Qd++){var mf=Vd[Qd];Vd[Qd]=(mf<<8|mf>>>24)&16711935|(mf<<24|mf>>>8)&4278255360}return Gd},clone:function(){var kd=dd.clone.call(this);return kd._hash=this._hash.clone(),kd}});function vd(kd,jd,Fd,Md,Ld,Hd,Gd){var Vd=kd+(jd&Fd|~jd&Md)+Ld+Gd;return(Vd<>>32-Hd)+jd}function Ad(kd,jd,Fd,Md,Ld,Hd,Gd){var Vd=kd+(jd&Md|Fd&~Md)+Ld+Gd;return(Vd<>>32-Hd)+jd}function Nd(kd,jd,Fd,Md,Ld,Hd,Gd){var Vd=kd+(jd^Fd^Md)+Ld+Gd;return(Vd<>>32-Hd)+jd}function Id(kd,jd,Fd,Md,Ld,Hd,Gd){var Vd=kd+(Fd^(jd|~Md))+Ld+Gd;return(Vd<>>32-Hd)+jd}ld.MD5=dd._createHelper(md),ld.HmacMD5=dd._createHmacHelper(md)}(Math),nd.MD5})}(md5$1)),md5$1.exports}var sha1={exports:{}},hasRequiredSha1;function requireSha1(){return hasRequiredSha1||(hasRequiredSha1=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,cd=ld.Hasher,dd=od.algo,pd=[],fd=dd.SHA1=cd.extend({_doReset:function(){this._hash=new ud.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(md,vd){for(var Ad=this._hash.words,Nd=Ad[0],Id=Ad[1],kd=Ad[2],jd=Ad[3],Fd=Ad[4],Md=0;Md<80;Md++){if(Md<16)pd[Md]=md[vd+Md]|0;else{var Ld=pd[Md-3]^pd[Md-8]^pd[Md-14]^pd[Md-16];pd[Md]=Ld<<1|Ld>>>31}var Hd=(Nd<<5|Nd>>>27)+Fd+pd[Md];Md<20?Hd+=(Id&kd|~Id&jd)+1518500249:Md<40?Hd+=(Id^kd^jd)+1859775393:Md<60?Hd+=(Id&kd|Id&jd|kd&jd)-1894007588:Hd+=(Id^kd^jd)-899497514,Fd=jd,jd=kd,kd=Id<<30|Id>>>2,Id=Nd,Nd=Hd}Ad[0]=Ad[0]+Nd|0,Ad[1]=Ad[1]+Id|0,Ad[2]=Ad[2]+kd|0,Ad[3]=Ad[3]+jd|0,Ad[4]=Ad[4]+Fd|0},_doFinalize:function(){var md=this._data,vd=md.words,Ad=this._nDataBytes*8,Nd=md.sigBytes*8;return vd[Nd>>>5]|=128<<24-Nd%32,vd[(Nd+64>>>9<<4)+14]=Math.floor(Ad/4294967296),vd[(Nd+64>>>9<<4)+15]=Ad,md.sigBytes=vd.length*4,this._process(),this._hash},clone:function(){var md=cd.clone.call(this);return md._hash=this._hash.clone(),md}});od.SHA1=cd._createHelper(fd),od.HmacSHA1=cd._createHmacHelper(fd)}(),nd.SHA1})}(sha1)),sha1.exports}var sha256={exports:{}},hasRequiredSha256;function requireSha256(){return hasRequiredSha256||(hasRequiredSha256=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(od){var ld=nd,ud=ld.lib,cd=ud.WordArray,dd=ud.Hasher,pd=ld.algo,fd=[],md=[];(function(){function Nd(Fd){for(var Md=od.sqrt(Fd),Ld=2;Ld<=Md;Ld++)if(!(Fd%Ld))return!1;return!0}function Id(Fd){return(Fd-(Fd|0))*4294967296|0}for(var kd=2,jd=0;jd<64;)Nd(kd)&&(jd<8&&(fd[jd]=Id(od.pow(kd,1/2))),md[jd]=Id(od.pow(kd,1/3)),jd++),kd++})();var vd=[],Ad=pd.SHA256=dd.extend({_doReset:function(){this._hash=new cd.init(fd.slice(0))},_doProcessBlock:function(Nd,Id){for(var kd=this._hash.words,jd=kd[0],Fd=kd[1],Md=kd[2],Ld=kd[3],Hd=kd[4],Gd=kd[5],Vd=kd[6],Qd=kd[7],mf=0;mf<64;mf++){if(mf<16)vd[mf]=Nd[Id+mf]|0;else{var Yd=vd[mf-15],Zd=(Yd<<25|Yd>>>7)^(Yd<<14|Yd>>>18)^Yd>>>3,Kd=vd[mf-2],bf=(Kd<<15|Kd>>>17)^(Kd<<13|Kd>>>19)^Kd>>>10;vd[mf]=Zd+vd[mf-7]+bf+vd[mf-16]}var gf=Hd&Gd^~Hd&Vd,Ef=jd&Fd^jd&Md^Fd&Md,yf=(jd<<30|jd>>>2)^(jd<<19|jd>>>13)^(jd<<10|jd>>>22),xf=(Hd<<26|Hd>>>6)^(Hd<<21|Hd>>>11)^(Hd<<7|Hd>>>25),Af=Qd+xf+gf+md[mf]+vd[mf],Lf=yf+Ef;Qd=Vd,Vd=Gd,Gd=Hd,Hd=Ld+Af|0,Ld=Md,Md=Fd,Fd=jd,jd=Af+Lf|0}kd[0]=kd[0]+jd|0,kd[1]=kd[1]+Fd|0,kd[2]=kd[2]+Md|0,kd[3]=kd[3]+Ld|0,kd[4]=kd[4]+Hd|0,kd[5]=kd[5]+Gd|0,kd[6]=kd[6]+Vd|0,kd[7]=kd[7]+Qd|0},_doFinalize:function(){var Nd=this._data,Id=Nd.words,kd=this._nDataBytes*8,jd=Nd.sigBytes*8;return Id[jd>>>5]|=128<<24-jd%32,Id[(jd+64>>>9<<4)+14]=od.floor(kd/4294967296),Id[(jd+64>>>9<<4)+15]=kd,Nd.sigBytes=Id.length*4,this._process(),this._hash},clone:function(){var Nd=dd.clone.call(this);return Nd._hash=this._hash.clone(),Nd}});ld.SHA256=dd._createHelper(Ad),ld.HmacSHA256=dd._createHmacHelper(Ad)}(Math),nd.SHA256})}(sha256)),sha256.exports}var sha224={exports:{}},hasRequiredSha224;function requireSha224(){return hasRequiredSha224||(hasRequiredSha224=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireSha256())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,cd=od.algo,dd=cd.SHA256,pd=cd.SHA224=dd.extend({_doReset:function(){this._hash=new ud.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var fd=dd._doFinalize.call(this);return fd.sigBytes-=4,fd}});od.SHA224=dd._createHelper(pd),od.HmacSHA224=dd._createHmacHelper(pd)}(),nd.SHA224})}(sha224)),sha224.exports}var sha512={exports:{}},hasRequiredSha512;function requireSha512(){return hasRequiredSha512||(hasRequiredSha512=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireX64Core())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.Hasher,cd=od.x64,dd=cd.Word,pd=cd.WordArray,fd=od.algo;function md(){return dd.create.apply(dd,arguments)}var vd=[md(1116352408,3609767458),md(1899447441,602891725),md(3049323471,3964484399),md(3921009573,2173295548),md(961987163,4081628472),md(1508970993,3053834265),md(2453635748,2937671579),md(2870763221,3664609560),md(3624381080,2734883394),md(310598401,1164996542),md(607225278,1323610764),md(1426881987,3590304994),md(1925078388,4068182383),md(2162078206,991336113),md(2614888103,633803317),md(3248222580,3479774868),md(3835390401,2666613458),md(4022224774,944711139),md(264347078,2341262773),md(604807628,2007800933),md(770255983,1495990901),md(1249150122,1856431235),md(1555081692,3175218132),md(1996064986,2198950837),md(2554220882,3999719339),md(2821834349,766784016),md(2952996808,2566594879),md(3210313671,3203337956),md(3336571891,1034457026),md(3584528711,2466948901),md(113926993,3758326383),md(338241895,168717936),md(666307205,1188179964),md(773529912,1546045734),md(1294757372,1522805485),md(1396182291,2643833823),md(1695183700,2343527390),md(1986661051,1014477480),md(2177026350,1206759142),md(2456956037,344077627),md(2730485921,1290863460),md(2820302411,3158454273),md(3259730800,3505952657),md(3345764771,106217008),md(3516065817,3606008344),md(3600352804,1432725776),md(4094571909,1467031594),md(275423344,851169720),md(430227734,3100823752),md(506948616,1363258195),md(659060556,3750685593),md(883997877,3785050280),md(958139571,3318307427),md(1322822218,3812723403),md(1537002063,2003034995),md(1747873779,3602036899),md(1955562222,1575990012),md(2024104815,1125592928),md(2227730452,2716904306),md(2361852424,442776044),md(2428436474,593698344),md(2756734187,3733110249),md(3204031479,2999351573),md(3329325298,3815920427),md(3391569614,3928383900),md(3515267271,566280711),md(3940187606,3454069534),md(4118630271,4000239992),md(116418474,1914138554),md(174292421,2731055270),md(289380356,3203993006),md(460393269,320620315),md(685471733,587496836),md(852142971,1086792851),md(1017036298,365543100),md(1126000580,2618297676),md(1288033470,3409855158),md(1501505948,4234509866),md(1607167915,987167468),md(1816402316,1246189591)],Ad=[];(function(){for(var Id=0;Id<80;Id++)Ad[Id]=md()})();var Nd=fd.SHA512=ud.extend({_doReset:function(){this._hash=new pd.init([new dd.init(1779033703,4089235720),new dd.init(3144134277,2227873595),new dd.init(1013904242,4271175723),new dd.init(2773480762,1595750129),new dd.init(1359893119,2917565137),new dd.init(2600822924,725511199),new dd.init(528734635,4215389547),new dd.init(1541459225,327033209)])},_doProcessBlock:function(Id,kd){for(var jd=this._hash.words,Fd=jd[0],Md=jd[1],Ld=jd[2],Hd=jd[3],Gd=jd[4],Vd=jd[5],Qd=jd[6],mf=jd[7],Yd=Fd.high,Zd=Fd.low,Kd=Md.high,bf=Md.low,gf=Ld.high,Ef=Ld.low,yf=Hd.high,xf=Hd.low,Af=Gd.high,Lf=Gd.low,Xf=Vd.high,ih=Vd.low,Zf=Qd.high,jf=Qd.low,If=mf.high,Uf=mf.low,qf=Yd,Kf=Zd,Tf=Kd,vf=bf,Gf=gf,Jf=Ef,gh=yf,th=xf,Pf=Af,uh=Lf,xh=Xf,Qf=ih,Nf=Zf,$f=jf,Wf=If,vh=Uf,Th=0;Th<80;Th++){var dh,Vh,wh=Ad[Th];if(Th<16)Vh=wh.high=Id[kd+Th*2]|0,dh=wh.low=Id[kd+Th*2+1]|0;else{var fm=Ad[Th-15],Nm=fm.high,cm=fm.low,Sm=(Nm>>>1|cm<<31)^(Nm>>>8|cm<<24)^Nm>>>7,$m=(cm>>>1|Nm<<31)^(cm>>>8|Nm<<24)^(cm>>>7|Nm<<25),ph=Ad[Th-2],Rf=ph.high,wf=ph.low,ch=(Rf>>>19|wf<<13)^(Rf<<3|wf>>>29)^Rf>>>6,yh=(wf>>>19|Rf<<13)^(wf<<3|Rf>>>29)^(wf>>>6|Rf<<26),Uh=Ad[Th-7],Zh=Uh.high,_m=Uh.low,Um=Ad[Th-16],Om=Um.high,r_=Um.low;dh=$m+_m,Vh=Sm+Zh+(dh>>>0<$m>>>0?1:0),dh=dh+yh,Vh=Vh+ch+(dh>>>0>>0?1:0),dh=dh+r_,Vh=Vh+Om+(dh>>>0>>0?1:0),wh.high=Vh,wh.low=dh}var Xm=Pf&xh^~Pf&Nf,s_=uh&Qf^~uh&$f,b_=qf&Tf^qf&Gf^Tf&Gf,H_=Kf&vf^Kf&Jf^vf&Jf,x_=(qf>>>28|Kf<<4)^(qf<<30|Kf>>>2)^(qf<<25|Kf>>>7),M_=(Kf>>>28|qf<<4)^(Kf<<30|qf>>>2)^(Kf<<25|qf>>>7),h_=(Pf>>>14|uh<<18)^(Pf>>>18|uh<<14)^(Pf<<23|uh>>>9),tg=(uh>>>14|Pf<<18)^(uh>>>18|Pf<<14)^(uh<<23|Pf>>>9),L_=vd[Th],dg=L_.high,yg=L_.low,q_=vh+tg,Y_=Wf+h_+(q_>>>0>>0?1:0),q_=q_+s_,Y_=Y_+Xm+(q_>>>0>>0?1:0),q_=q_+yg,Y_=Y_+dg+(q_>>>0>>0?1:0),q_=q_+dh,Y_=Y_+Vh+(q_>>>0>>0?1:0),Qm=M_+H_,Zg=x_+b_+(Qm>>>0>>0?1:0);Wf=Nf,vh=$f,Nf=xh,$f=Qf,xh=Pf,Qf=uh,uh=th+q_|0,Pf=gh+Y_+(uh>>>0>>0?1:0)|0,gh=Gf,th=Jf,Gf=Tf,Jf=vf,Tf=qf,vf=Kf,Kf=q_+Qm|0,qf=Y_+Zg+(Kf>>>0>>0?1:0)|0}Zd=Fd.low=Zd+Kf,Fd.high=Yd+qf+(Zd>>>0>>0?1:0),bf=Md.low=bf+vf,Md.high=Kd+Tf+(bf>>>0>>0?1:0),Ef=Ld.low=Ef+Jf,Ld.high=gf+Gf+(Ef>>>0>>0?1:0),xf=Hd.low=xf+th,Hd.high=yf+gh+(xf>>>0>>0?1:0),Lf=Gd.low=Lf+uh,Gd.high=Af+Pf+(Lf>>>0>>0?1:0),ih=Vd.low=ih+Qf,Vd.high=Xf+xh+(ih>>>0>>0?1:0),jf=Qd.low=jf+$f,Qd.high=Zf+Nf+(jf>>>0<$f>>>0?1:0),Uf=mf.low=Uf+vh,mf.high=If+Wf+(Uf>>>0>>0?1:0)},_doFinalize:function(){var Id=this._data,kd=Id.words,jd=this._nDataBytes*8,Fd=Id.sigBytes*8;kd[Fd>>>5]|=128<<24-Fd%32,kd[(Fd+128>>>10<<5)+30]=Math.floor(jd/4294967296),kd[(Fd+128>>>10<<5)+31]=jd,Id.sigBytes=kd.length*4,this._process();var Md=this._hash.toX32();return Md},clone:function(){var Id=ud.clone.call(this);return Id._hash=this._hash.clone(),Id},blockSize:1024/32});od.SHA512=ud._createHelper(Nd),od.HmacSHA512=ud._createHmacHelper(Nd)}(),nd.SHA512})}(sha512)),sha512.exports}var sha384={exports:{}},hasRequiredSha384;function requireSha384(){return hasRequiredSha384||(hasRequiredSha384=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireX64Core(),requireSha512())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.x64,ud=ld.Word,cd=ld.WordArray,dd=od.algo,pd=dd.SHA512,fd=dd.SHA384=pd.extend({_doReset:function(){this._hash=new cd.init([new ud.init(3418070365,3238371032),new ud.init(1654270250,914150663),new ud.init(2438529370,812702999),new ud.init(355462360,4144912697),new ud.init(1731405415,4290775857),new ud.init(2394180231,1750603025),new ud.init(3675008525,1694076839),new ud.init(1203062813,3204075428)])},_doFinalize:function(){var md=pd._doFinalize.call(this);return md.sigBytes-=16,md}});od.SHA384=pd._createHelper(fd),od.HmacSHA384=pd._createHmacHelper(fd)}(),nd.SHA384})}(sha384)),sha384.exports}var sha3={exports:{}},hasRequiredSha3;function requireSha3(){return hasRequiredSha3||(hasRequiredSha3=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireX64Core())})(commonjsGlobal,function(nd){return function(od){var ld=nd,ud=ld.lib,cd=ud.WordArray,dd=ud.Hasher,pd=ld.x64,fd=pd.Word,md=ld.algo,vd=[],Ad=[],Nd=[];(function(){for(var jd=1,Fd=0,Md=0;Md<24;Md++){vd[jd+5*Fd]=(Md+1)*(Md+2)/2%64;var Ld=Fd%5,Hd=(2*jd+3*Fd)%5;jd=Ld,Fd=Hd}for(var jd=0;jd<5;jd++)for(var Fd=0;Fd<5;Fd++)Ad[jd+5*Fd]=Fd+(2*jd+3*Fd)%5*5;for(var Gd=1,Vd=0;Vd<24;Vd++){for(var Qd=0,mf=0,Yd=0;Yd<7;Yd++){if(Gd&1){var Zd=(1<>>24)&16711935|(Gd<<24|Gd>>>8)&4278255360,Vd=(Vd<<8|Vd>>>24)&16711935|(Vd<<24|Vd>>>8)&4278255360;var Qd=Md[Hd];Qd.high^=Vd,Qd.low^=Gd}for(var mf=0;mf<24;mf++){for(var Yd=0;Yd<5;Yd++){for(var Zd=0,Kd=0,bf=0;bf<5;bf++){var Qd=Md[Yd+5*bf];Zd^=Qd.high,Kd^=Qd.low}var gf=Id[Yd];gf.high=Zd,gf.low=Kd}for(var Yd=0;Yd<5;Yd++)for(var Ef=Id[(Yd+4)%5],yf=Id[(Yd+1)%5],xf=yf.high,Af=yf.low,Zd=Ef.high^(xf<<1|Af>>>31),Kd=Ef.low^(Af<<1|xf>>>31),bf=0;bf<5;bf++){var Qd=Md[Yd+5*bf];Qd.high^=Zd,Qd.low^=Kd}for(var Lf=1;Lf<25;Lf++){var Zd,Kd,Qd=Md[Lf],Xf=Qd.high,ih=Qd.low,Zf=vd[Lf];Zf<32?(Zd=Xf<>>32-Zf,Kd=ih<>>32-Zf):(Zd=ih<>>64-Zf,Kd=Xf<>>64-Zf);var jf=Id[Ad[Lf]];jf.high=Zd,jf.low=Kd}var If=Id[0],Uf=Md[0];If.high=Uf.high,If.low=Uf.low;for(var Yd=0;Yd<5;Yd++)for(var bf=0;bf<5;bf++){var Lf=Yd+5*bf,Qd=Md[Lf],qf=Id[Lf],Kf=Id[(Yd+1)%5+5*bf],Tf=Id[(Yd+2)%5+5*bf];Qd.high=qf.high^~Kf.high&Tf.high,Qd.low=qf.low^~Kf.low&Tf.low}var Qd=Md[0],vf=Nd[mf];Qd.high^=vf.high,Qd.low^=vf.low}},_doFinalize:function(){var jd=this._data,Fd=jd.words;this._nDataBytes*8;var Md=jd.sigBytes*8,Ld=this.blockSize*32;Fd[Md>>>5]|=1<<24-Md%32,Fd[(od.ceil((Md+1)/Ld)*Ld>>>5)-1]|=128,jd.sigBytes=Fd.length*4,this._process();for(var Hd=this._state,Gd=this.cfg.outputLength/8,Vd=Gd/8,Qd=[],mf=0;mf>>24)&16711935|(Zd<<24|Zd>>>8)&4278255360,Kd=(Kd<<8|Kd>>>24)&16711935|(Kd<<24|Kd>>>8)&4278255360,Qd.push(Kd),Qd.push(Zd)}return new cd.init(Qd,Gd)},clone:function(){for(var jd=dd.clone.call(this),Fd=jd._state=this._state.slice(0),Md=0;Md<25;Md++)Fd[Md]=Fd[Md].clone();return jd}});ld.SHA3=dd._createHelper(kd),ld.HmacSHA3=dd._createHmacHelper(kd)}(Math),nd.SHA3})}(sha3)),sha3.exports}var ripemd160={exports:{}},hasRequiredRipemd160;function requireRipemd160(){return hasRequiredRipemd160||(hasRequiredRipemd160=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){/** @preserve +`),Qm=vd.HmacSHA1(Y_,yg).toString(),Zg=["q-sign-algorithm="+x_,"q-ak="+M_,"q-sign-time="+h_,"q-key-time="+tg,"q-header-list="+L_,"q-url-param-list="+dg,"q-signature="+Qm].join("&");return Zg},Xd=function(If,dh,yh){var Uh=dh/8,Zh=If.slice(yh,yh+Uh);return new Uint8Array(Zh).reverse(),new{8:Uint8Array,16:Uint16Array,32:Uint32Array}[dh](Zh)[0]},bf=function(If,dh,yh,Uh){var Zh=If.slice(dh,yh),_m="";return new Uint8Array(Zh).forEach(function(Um){_m+=String.fromCharCode(Um)}),Uh&&(_m=decodeURIComponent(escape(_m))),_m},yf=function(If){for(var dh={},yh=bf(If),Uh={records:[]};If.byteLength;){var Zh=Xd(If,32,0),_m=Xd(If,32,4),Um=Zh-_m-16,Om=0,r_;for(If=If.slice(12);Om<_m;){var Xm=Xd(If,8,Om),s_=bf(If,Om+1,Om+1+Xm),b_=Xd(If,16,Om+Xm+2),H_=bf(If,Om+Xm+4,Om+Xm+4+b_);dh[s_]=H_,Om+=Xm+4+b_}if(dh[":event-type"]==="Records")r_=bf(If,Om,Om+Um,!0),Uh.records.push(r_);else if(dh[":event-type"]==="Stats")r_=bf(If,Om,Om+Um,!0),Uh.stats=fh.xml2json(r_).Stats;else if(dh[":event-type"]==="error"){var x_=dh[":error-code"],M_=dh[":error-message"],h_=new Error(M_);h_.message=M_,h_.name=h_.code=x_,Uh.error=h_}If=If.slice(Om+Um+4)}return{payload:Uh.records.join(""),body:yh}},Ef=function(If){var dh=this.options.CopySourceParser;if(dh)return dh(If);var yh=If.match(/^([^.]+-\d+)\.cos(v6|-cdc|-cdz|-internal)?\.([^.]+)\.((myqcloud\.com)|(tencentcos\.cn))\/(.+)$/);return yh?{Bucket:yh[1],Region:yh[3],Key:yh[7]}:null},gf=function(){},xf=function(If){var dh={};for(var yh in If)If.hasOwnProperty(yh)&&If[yh]!==void 0&&If[yh]!==null&&(dh[yh]=If[yh]);return dh},Af=function(If,dh){var yh,Uh=new FileReader;FileReader.prototype.readAsBinaryString?(yh=FileReader.prototype.readAsBinaryString,Uh.onload=function(){dh(this.result)}):FileReader.prototype.readAsArrayBuffer?yh=function(_m){var Um="",Om=new FileReader;Om.onload=function(r_){for(var Xm=new Uint8Array(Om.result),s_=Xm.byteLength,b_=0;b_parseInt(Uh[Zh])?1:-1;return 0},If=function(yh){if(!yh)return!1;var Uh=(yh.match(/Chrome\/([.\d]+)/)||[])[1],Zh=(yh.match(/QBCore\/([.\d]+)/)||[])[1],_m=(yh.match(/QQBrowser\/([.\d]+)/)||[])[1],Um=Uh&&Rf(Uh,"53.0.2785.116")<0&&Zh&&Rf(Zh,"3.53.991.400")<0&&_m&&Rf(_m,"9.0.2524.400")<=0||!1;return Um};return If(typeof navigator<"u"&&navigator.userAgent)}(),Xf=function(If,dh,yh,Uh,Zh){var _m;if(If.slice?_m=If.slice(dh,yh):If.mozSlice?_m=If.mozSlice(dh,yh):If.webkitSlice&&(_m=If.webkitSlice(dh,yh)),Uh&&Lf){var Um=new FileReader;Um.onload=function(Om){_m=null,Zh(new Blob([Um.result]))},Um.readAsArrayBuffer(_m)}else Zh(_m)},Jf=function(If,dh,yh,Uh){yh=yh||gf,If?typeof dh=="string"?yh(fh.md5(dh,!0)):Blob&&dh instanceof Blob?fh.getFileMd5(dh,function(Zh,_m){yh(_m)},Uh):yh():yh()},Zf=1024*1024,Bf=function(If,dh,yh){var Uh=If.size,Zh=0,_m=md.getCtx(),Um=function Om(r_){if(r_>=Uh){var Xm=_m.digest("hex");dh(null,Xm);return}var s_=Math.min(Uh,r_+Zf);fh.fileSlice(If,r_,s_,!1,function(b_){Af(b_,function(H_){b_=null,_m=_m.update(H_,!0),Zh+=H_.length,H_=null,yh&&yh({loaded:Zh,total:Uh,percent:Math.round(Zh/Uh*1e4)/1e4}),Om(r_+Zf)})})};Um(0)};function Df(Rf){return eh(Rf,function(If){return cd(If)==="object"&&If!==null?Df(If):If})}function Uf(Rf,If,dh){return Rf&&If in Rf?Rf[If]:dh}function Gf(Rf,If){return qf(If,function(dh,yh){Rf[yh]=If[yh]}),Rf}function zf(Rf){return Rf instanceof Array}function Tf(Rf,If){for(var dh=!1,yh=0;yh-1,Om=!_m||typeof _m=="string"&&_m.indexOf("{Region}")>-1;if(If.indexOf("Bucket")>-1||If==="deleteMultipleObject"||If==="multipartList"||If==="listObjectVersions"){if(Um&&!yh)return"Bucket";if(Om&&!Uh)return"Region"}else if(If.indexOf("Object")>-1||If.indexOf("multipart")>-1||If==="sliceUploadFile"||If==="abortUploadTask"||If==="uploadFile"){if(Um&&!yh)return"Bucket";if(Om&&!Uh)return"Region";if(!Zh)return"Key"}return!1},xh=function(If,dh){if(dh=Gf({},dh),If!=="getAuth"&&If!=="getV4Auth"&&If!=="getObjectUrl"){var yh=dh.Headers||{};if(dh&&cd(dh)==="object"){(function(){for(var Zh in dh)dh.hasOwnProperty(Zh)&&Zh.indexOf("x-cos-")>-1&&(yh[Zh]=dh[Zh])})();var Uh={"x-cos-mfa":"MFA","Content-MD5":"ContentMD5","Content-Length":"ContentLength","Content-Type":"ContentType",Expect:"Expect",Expires:"Expires","Cache-Control":"CacheControl","Content-Disposition":"ContentDisposition","Content-Encoding":"ContentEncoding",Range:"Range","If-Modified-Since":"IfModifiedSince","If-Unmodified-Since":"IfUnmodifiedSince","If-Match":"IfMatch","If-None-Match":"IfNoneMatch","x-cos-copy-source":"CopySource","x-cos-copy-source-Range":"CopySourceRange","x-cos-metadata-directive":"MetadataDirective","x-cos-copy-source-If-Modified-Since":"CopySourceIfModifiedSince","x-cos-copy-source-If-Unmodified-Since":"CopySourceIfUnmodifiedSince","x-cos-copy-source-If-Match":"CopySourceIfMatch","x-cos-copy-source-If-None-Match":"CopySourceIfNoneMatch","x-cos-acl":"ACL","x-cos-grant-read":"GrantRead","x-cos-grant-write":"GrantWrite","x-cos-grant-full-control":"GrantFullControl","x-cos-grant-read-acp":"GrantReadAcp","x-cos-grant-write-acp":"GrantWriteAcp","x-cos-storage-class":"StorageClass","x-cos-traffic-limit":"TrafficLimit","x-cos-mime-limit":"MimeLimit","x-cos-server-side-encryption-customer-algorithm":"SSECustomerAlgorithm","x-cos-server-side-encryption-customer-key":"SSECustomerKey","x-cos-server-side-encryption-customer-key-MD5":"SSECustomerKeyMD5","x-cos-server-side-encryption":"ServerSideEncryption","x-cos-server-side-encryption-cos-kms-key-id":"SSEKMSKeyId","x-cos-server-side-encryption-context":"SSEContext","Pic-Operations":"PicOperations","x-cos-callback":"Callback","x-cos-callback-var":"CallbackVar","x-cos-return-body":"ReturnBody"};fh.each(Uh,function(Zh,_m){dh[Zh]!==void 0&&(yh[_m]=dh[Zh])}),dh.Headers=xf(yh)}}return dh},Qf=function(If,dh){return function(yh,Uh){var Zh=this;typeof yh=="function"&&(Uh=yh,yh={}),yh=xh(If,yh);var _m;if(Zh.options.EnableReporter)if(yh.calledBySdk==="sliceUploadFile"||yh.calledBySdk==="sliceCopyFile")_m=yh.tracker&&yh.tracker.generateSubTracker({apiName:If});else if(["uploadFile","uploadFiles"].includes(If))_m=null;else{var Um=0;yh.Body&&(Um=typeof yh.Body=="string"?yh.Body.length:yh.Body.size||yh.Body.byteLength||0);var Om=Zh.options.UseAccelerate||typeof Zh.options.Domain=="string"&&Zh.options.Domain.includes("accelerate.");_m=new Md({Beacon:Zh.options.BeaconReporter,clsReporter:Zh.options.ClsReporter,bucket:yh.Bucket,region:yh.Region,apiName:If,realApi:If,accelerate:Om,fileKey:yh.Key,fileSize:Um,deepTracker:Zh.options.DeepTracker,customId:Zh.options.CustomId,delay:Zh.options.TrackerDelay})}yh.tracker=_m;var r_=function(h_){return h_&&h_.headers&&(h_.headers["x-cos-request-id"]&&(h_.RequestId=h_.headers["x-cos-request-id"]),h_.headers["x-ci-request-id"]&&(h_.RequestId=h_.headers["x-ci-request-id"]),h_.headers["x-cos-version-id"]&&(h_.VersionId=h_.headers["x-cos-version-id"]),h_.headers["x-cos-delete-marker"]&&(h_.DeleteMarker=h_.headers["x-cos-delete-marker"])),h_},Xm=function(h_,tg){_m&&_m.report(h_,tg),Uh&&Uh(r_(h_),r_(tg))},s_=function(){if(If!=="getService"&&If!=="abortUploadTask"){var h_=uh.call(Zh,If,yh);if(h_)return"missing param "+h_;if(yh.Region){if(Zh.options.CompatibilityMode){if(!/^([a-z\d-.]+)$/.test(yh.Region))return"Region format error."}else{if(yh.Region.indexOf("cos.")>-1)return'param Region should not be start with "cos."';if(!/^([a-z\d-]+)$/.test(yh.Region))return"Region format error."}!Zh.options.CompatibilityMode&&yh.Region.indexOf("-")===-1&&yh.Region!=="yfb"&&yh.Region!=="default"&&yh.Region!=="accelerate"&&console.warn("warning: param Region format error, find help here: https://cloud.tencent.com/document/product/436/6224")}if(yh.Bucket){if(!/^([a-z\d-]+)-(\d+)$/.test(yh.Bucket))if(yh.AppId)yh.Bucket=yh.Bucket+"-"+yh.AppId;else if(Zh.options.AppId)yh.Bucket=yh.Bucket+"-"+Zh.options.AppId;else return'Bucket should format as "test-1250000000".';yh.AppId&&(console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g Bucket:"test-1250000000" ).'),delete yh.AppId)}!Zh.options.UseRawKey&&yh.Key&&yh.Key.substr(0,1)==="/"&&(yh.Key=yh.Key.substr(1))}},b_=s_(),H_=["getAuth","getObjectUrl"].includes(If);if(typeof Promise=="function"&&!H_&&!Uh)return new Promise(function(M_,h_){if(Uh=function(L_,dg){L_?h_(L_):M_(dg)},b_)return Xm(fh.error(new Error(b_)));dh.call(Zh,yh,Xm)});if(b_)return Xm(fh.error(new Error(b_)));var x_=dh.call(Zh,yh,Xm);if(H_)return x_}},wf=function(If,dh){var yh=this,Uh=0,Zh=0,_m=Date.now(),Um,Om;function r_(){if(Om=0,dh&&typeof dh=="function"){Um=Date.now();var Xm=Math.max(0,Math.round((Zh-Uh)/((Um-_m)/1e3)*100)/100)||0,s_;Zh===0&&If===0?s_=1:s_=Math.floor(Zh/If*100)/100||0,_m=Um,Uh=Zh;try{dh({loaded:Zh,total:If,speed:Xm,percent:s_})}catch{}}}return function(Xm,s_){if(Xm&&(Zh=Xm.loaded,If=Xm.total),s_)clearTimeout(Om),r_();else{if(Om)return;Om=setTimeout(r_,yh.options.ProgressInterval)}}},$f=function(If,dh,yh){var Uh;if(typeof dh.Body=="string"?dh.Body=new Blob([dh.Body],{type:"text/plain"}):dh.Body instanceof ArrayBuffer&&(dh.Body=new Blob([dh.Body])),dh.Body&&(dh.Body instanceof Blob||dh.Body.toString()==="[object File]"||dh.Body.toString()==="[object Blob]"))Uh=dh.Body.size;else{yh(fh.error(new Error("params body format error, Only allow File|Blob|String.")));return}dh.ContentLength=Uh,yh(null,Uh)},Wf=function(If){return Date.now()+(If||0)},vh=function(If,dh){var yh=If;return If.message=If.message||null,typeof dh=="string"?(If.error=dh,If.message=dh):cd(dh)==="object"&&dh!==null&&(Gf(If,dh),(dh.code||dh.name)&&(If.code=dh.code||dh.name),dh.message&&(If.message=dh.message),dh.stack&&(If.stack=dh.stack)),typeof Object.defineProperty=="function"&&(Object.defineProperty(If,"name",{writable:!0,enumerable:!1}),Object.defineProperty(If,"message",{enumerable:!0})),If.name=dh&&dh.name||If.name||If.code||"Error",If.code||(If.code=If.name),If.error||(If.error=Df(yh)),If},Th=function(){return(typeof globalThis>"u"?"undefined":cd(globalThis))==="object"&&(globalThis.constructor.name==="DedicatedWorkerGlobalScope"||globalThis.FileReaderSync)},ph=function(){return(typeof window>"u"?"undefined":cd(window))!=="object"&&(typeof ud>"u"?"undefined":cd(ud))==="object"&&!0&&!Th()},Vh=function(If){return/^https?:\/\/([^/]+\.)?ci\.[^/]+/.test(If)},wh=function(){if((typeof navigator>"u"?"undefined":cd(navigator))!=="object")return!1;var Rf=navigator.userAgent,If=!!Rf.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);return If}(),fm=function(){return(typeof navigator>"u"?"undefined":cd(navigator))!=="object"?!1:/\sQQ/i.test(navigator.userAgent)}(),Nm=function(If,dh){var yh=Fd.encode(If);return dh&&(yh=yh.replaceAll("+","-").replaceAll("/","_").replaceAll("=","")),yh},cm=function(If){return If?Fd.decode(If):""},Sm=function(If){var dh=If.split("/"),yh=[],Uh=dd(dh),Zh;try{for(Uh.s();!(Zh=Uh.n()).done;){var _m=Zh.value;_m===".."?yh.length&&yh.pop():_m.length&&_m!=="."&&yh.push(_m)}}catch(Um){Uh.e(Um)}finally{Uh.f()}return"/"+yh.join("/")},$m=function(If){var dh;if(If&&typeof If=="string"){var yh=If.trim(),Uh=yh.indexOf("<")===0,Zh=yh.indexOf("{")===0;if(Uh)dh=fh.xml2json(If)||{};else if(Zh)try{var _m=If.replace(/\n/g," "),Um=JSON.parse(_m);Object.prototype.toString.call(Um)==="[object Object]"?dh=Um:dh=If}catch{dh=If}else dh=If}else dh=If||{};return dh},fh={noop:gf,formatParams:xh,apiWrapper:Qf,xml2json:Ld,json2xml:Hd,md5:md,clearKey:xf,fileSlice:Xf,getBodyMd5:Jf,getFileMd5:Bf,b64:ih,extend:Gf,isArray:zf,isInArray:Tf,makeArray:vf,each:qf,map:eh,filter:ch,clone:Df,attr:Uf,uuid:Pf,camSafeUrlEncode:Gd,throttleOnProgress:wf,getFileSize:$f,getSkewTime:Wf,error:vh,obj2str:Kd,getAuth:Zd,parseSelectPayload:yf,getSourceParams:Ef,isBrowser:!0,isNode:ph,isCIHost:Vh,isIOS_QQ:wh&&fm,encodeBase64:Nm,decodeBase64:cm,simplifyPath:Sm,readAsBinaryString:Af,parseResBody:$m};nd.exports=fh}).call(this,ld("./node_modules/process/browser.js"))}})})})(cosJsSdkV5);var cosJsSdkV5Exports=cosJsSdkV5.exports;const COS=getDefaultExportFromCjs(cosJsSdkV5Exports);var cryptoJs={exports:{}};function commonjsRequire(Ra){throw new Error('Could not dynamically require "'+Ra+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var core={exports:{}};const __viteBrowserExternal={},http=Object.freeze(Object.defineProperty({__proto__:null,default:__viteBrowserExternal},Symbol.toStringTag,{value:"Module"})),require$$0$1=getAugmentedNamespace(http);var hasRequiredCore;function requireCore(){return hasRequiredCore||(hasRequiredCore=1,function(Ra,qa){(function(nd,od){Ra.exports=od()})(commonjsGlobal,function(){var nd=nd||function(od,ld){var ud;if(typeof window<"u"&&window.crypto&&(ud=window.crypto),typeof self<"u"&&self.crypto&&(ud=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(ud=globalThis.crypto),!ud&&typeof window<"u"&&window.msCrypto&&(ud=window.msCrypto),!ud&&typeof commonjsGlobal<"u"&&commonjsGlobal.crypto&&(ud=commonjsGlobal.crypto),!ud&&typeof commonjsRequire=="function")try{ud=require$$0$1}catch{}var cd=function(){if(ud){if(typeof ud.getRandomValues=="function")try{return ud.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof ud.randomBytes=="function")try{return ud.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},dd=Object.create||function(){function Md(){}return function(Ld){var Hd;return Md.prototype=Ld,Hd=new Md,Md.prototype=null,Hd}}(),pd={},fd=pd.lib={},md=fd.Base=function(){return{extend:function(Md){var Ld=dd(this);return Md&&Ld.mixIn(Md),(!Ld.hasOwnProperty("init")||this.init===Ld.init)&&(Ld.init=function(){Ld.$super.init.apply(this,arguments)}),Ld.init.prototype=Ld,Ld.$super=this,Ld},create:function(){var Md=this.extend();return Md.init.apply(Md,arguments),Md},init:function(){},mixIn:function(Md){for(var Ld in Md)Md.hasOwnProperty(Ld)&&(this[Ld]=Md[Ld]);Md.hasOwnProperty("toString")&&(this.toString=Md.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),vd=fd.WordArray=md.extend({init:function(Md,Ld){Md=this.words=Md||[],Ld!=ld?this.sigBytes=Ld:this.sigBytes=Md.length*4},toString:function(Md){return(Md||Nd).stringify(this)},concat:function(Md){var Ld=this.words,Hd=Md.words,Gd=this.sigBytes,Vd=Md.sigBytes;if(this.clamp(),Gd%4)for(var Kd=0;Kd>>2]>>>24-Kd%4*8&255;Ld[Gd+Kd>>>2]|=mf<<24-(Gd+Kd)%4*8}else for(var Wd=0;Wd>>2]=Hd[Wd>>>2];return this.sigBytes+=Vd,this},clamp:function(){var Md=this.words,Ld=this.sigBytes;Md[Ld>>>2]&=4294967295<<32-Ld%4*8,Md.length=od.ceil(Ld/4)},clone:function(){var Md=md.clone.call(this);return Md.words=this.words.slice(0),Md},random:function(Md){for(var Ld=[],Hd=0;Hd>>2]>>>24-Vd%4*8&255;Gd.push((Kd>>>4).toString(16)),Gd.push((Kd&15).toString(16))}return Gd.join("")},parse:function(Md){for(var Ld=Md.length,Hd=[],Gd=0;Gd>>3]|=parseInt(Md.substr(Gd,2),16)<<24-Gd%8*4;return new vd.init(Hd,Ld/2)}},Id=Ad.Latin1={stringify:function(Md){for(var Ld=Md.words,Hd=Md.sigBytes,Gd=[],Vd=0;Vd>>2]>>>24-Vd%4*8&255;Gd.push(String.fromCharCode(Kd))}return Gd.join("")},parse:function(Md){for(var Ld=Md.length,Hd=[],Gd=0;Gd>>2]|=(Md.charCodeAt(Gd)&255)<<24-Gd%4*8;return new vd.init(Hd,Ld)}},kd=Ad.Utf8={stringify:function(Md){try{return decodeURIComponent(escape(Id.stringify(Md)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(Md){return Id.parse(unescape(encodeURIComponent(Md)))}},jd=fd.BufferedBlockAlgorithm=md.extend({reset:function(){this._data=new vd.init,this._nDataBytes=0},_append:function(Md){typeof Md=="string"&&(Md=kd.parse(Md)),this._data.concat(Md),this._nDataBytes+=Md.sigBytes},_process:function(Md){var Ld,Hd=this._data,Gd=Hd.words,Vd=Hd.sigBytes,Kd=this.blockSize,mf=Kd*4,Wd=Vd/mf;Md?Wd=od.ceil(Wd):Wd=od.max((Wd|0)-this._minBufferSize,0);var Zd=Wd*Kd,Xd=od.min(Zd*4,Vd);if(Zd){for(var bf=0;bf>>2]|=pd[vd]<<24-vd%4*8;cd.call(this,md,fd)}else cd.apply(this,arguments)};dd.prototype=ud}}(),nd.lib.WordArray})}(libTypedarrays)),libTypedarrays.exports}var encUtf16={exports:{}},hasRequiredEncUtf16;function requireEncUtf16(){return hasRequiredEncUtf16||(hasRequiredEncUtf16=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,cd=od.enc;cd.Utf16=cd.Utf16BE={stringify:function(pd){for(var fd=pd.words,md=pd.sigBytes,vd=[],Ad=0;Ad>>2]>>>16-Ad%4*8&65535;vd.push(String.fromCharCode(Nd))}return vd.join("")},parse:function(pd){for(var fd=pd.length,md=[],vd=0;vd>>1]|=pd.charCodeAt(vd)<<16-vd%2*16;return ud.create(md,fd*2)}},cd.Utf16LE={stringify:function(pd){for(var fd=pd.words,md=pd.sigBytes,vd=[],Ad=0;Ad>>2]>>>16-Ad%4*8&65535);vd.push(String.fromCharCode(Nd))}return vd.join("")},parse:function(pd){for(var fd=pd.length,md=[],vd=0;vd>>1]|=dd(pd.charCodeAt(vd)<<16-vd%2*16);return ud.create(md,fd*2)}};function dd(pd){return pd<<8&4278255360|pd>>>8&16711935}}(),nd.enc.Utf16})}(encUtf16)),encUtf16.exports}var encBase64={exports:{}},hasRequiredEncBase64;function requireEncBase64(){return hasRequiredEncBase64||(hasRequiredEncBase64=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,cd=od.enc;cd.Base64={stringify:function(pd){var fd=pd.words,md=pd.sigBytes,vd=this._map;pd.clamp();for(var Ad=[],Nd=0;Nd>>2]>>>24-Nd%4*8&255,kd=fd[Nd+1>>>2]>>>24-(Nd+1)%4*8&255,jd=fd[Nd+2>>>2]>>>24-(Nd+2)%4*8&255,Fd=Id<<16|kd<<8|jd,Md=0;Md<4&&Nd+Md*.75>>6*(3-Md)&63));var Ld=vd.charAt(64);if(Ld)for(;Ad.length%4;)Ad.push(Ld);return Ad.join("")},parse:function(pd){var fd=pd.length,md=this._map,vd=this._reverseMap;if(!vd){vd=this._reverseMap=[];for(var Ad=0;Ad>>6-Nd%4*2,jd=Id|kd;vd[Ad>>>2]|=jd<<24-Ad%4*8,Ad++}return ud.create(vd,Ad)}}(),nd.enc.Base64})}(encBase64)),encBase64.exports}var encBase64url={exports:{}},hasRequiredEncBase64url;function requireEncBase64url(){return hasRequiredEncBase64url||(hasRequiredEncBase64url=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,cd=od.enc;cd.Base64url={stringify:function(pd,fd){fd===void 0&&(fd=!0);var md=pd.words,vd=pd.sigBytes,Ad=fd?this._safe_map:this._map;pd.clamp();for(var Nd=[],Id=0;Id>>2]>>>24-Id%4*8&255,jd=md[Id+1>>>2]>>>24-(Id+1)%4*8&255,Fd=md[Id+2>>>2]>>>24-(Id+2)%4*8&255,Md=kd<<16|jd<<8|Fd,Ld=0;Ld<4&&Id+Ld*.75>>6*(3-Ld)&63));var Hd=Ad.charAt(64);if(Hd)for(;Nd.length%4;)Nd.push(Hd);return Nd.join("")},parse:function(pd,fd){fd===void 0&&(fd=!0);var md=pd.length,vd=fd?this._safe_map:this._map,Ad=this._reverseMap;if(!Ad){Ad=this._reverseMap=[];for(var Nd=0;Nd>>6-Nd%4*2,jd=Id|kd;vd[Ad>>>2]|=jd<<24-Ad%4*8,Ad++}return ud.create(vd,Ad)}}(),nd.enc.Base64url})}(encBase64url)),encBase64url.exports}var md5$1={exports:{}},hasRequiredMd5$1;function requireMd5$1(){return hasRequiredMd5$1||(hasRequiredMd5$1=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(od){var ld=nd,ud=ld.lib,cd=ud.WordArray,dd=ud.Hasher,pd=ld.algo,fd=[];(function(){for(var kd=0;kd<64;kd++)fd[kd]=od.abs(od.sin(kd+1))*4294967296|0})();var md=pd.MD5=dd.extend({_doReset:function(){this._hash=new cd.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(kd,jd){for(var Fd=0;Fd<16;Fd++){var Md=jd+Fd,Ld=kd[Md];kd[Md]=(Ld<<8|Ld>>>24)&16711935|(Ld<<24|Ld>>>8)&4278255360}var Hd=this._hash.words,Gd=kd[jd+0],Vd=kd[jd+1],Kd=kd[jd+2],mf=kd[jd+3],Wd=kd[jd+4],Zd=kd[jd+5],Xd=kd[jd+6],bf=kd[jd+7],yf=kd[jd+8],Ef=kd[jd+9],gf=kd[jd+10],xf=kd[jd+11],Af=kd[jd+12],Lf=kd[jd+13],Xf=kd[jd+14],Jf=kd[jd+15],Zf=Hd[0],Bf=Hd[1],Df=Hd[2],Uf=Hd[3];Zf=vd(Zf,Bf,Df,Uf,Gd,7,fd[0]),Uf=vd(Uf,Zf,Bf,Df,Vd,12,fd[1]),Df=vd(Df,Uf,Zf,Bf,Kd,17,fd[2]),Bf=vd(Bf,Df,Uf,Zf,mf,22,fd[3]),Zf=vd(Zf,Bf,Df,Uf,Wd,7,fd[4]),Uf=vd(Uf,Zf,Bf,Df,Zd,12,fd[5]),Df=vd(Df,Uf,Zf,Bf,Xd,17,fd[6]),Bf=vd(Bf,Df,Uf,Zf,bf,22,fd[7]),Zf=vd(Zf,Bf,Df,Uf,yf,7,fd[8]),Uf=vd(Uf,Zf,Bf,Df,Ef,12,fd[9]),Df=vd(Df,Uf,Zf,Bf,gf,17,fd[10]),Bf=vd(Bf,Df,Uf,Zf,xf,22,fd[11]),Zf=vd(Zf,Bf,Df,Uf,Af,7,fd[12]),Uf=vd(Uf,Zf,Bf,Df,Lf,12,fd[13]),Df=vd(Df,Uf,Zf,Bf,Xf,17,fd[14]),Bf=vd(Bf,Df,Uf,Zf,Jf,22,fd[15]),Zf=Ad(Zf,Bf,Df,Uf,Vd,5,fd[16]),Uf=Ad(Uf,Zf,Bf,Df,Xd,9,fd[17]),Df=Ad(Df,Uf,Zf,Bf,xf,14,fd[18]),Bf=Ad(Bf,Df,Uf,Zf,Gd,20,fd[19]),Zf=Ad(Zf,Bf,Df,Uf,Zd,5,fd[20]),Uf=Ad(Uf,Zf,Bf,Df,gf,9,fd[21]),Df=Ad(Df,Uf,Zf,Bf,Jf,14,fd[22]),Bf=Ad(Bf,Df,Uf,Zf,Wd,20,fd[23]),Zf=Ad(Zf,Bf,Df,Uf,Ef,5,fd[24]),Uf=Ad(Uf,Zf,Bf,Df,Xf,9,fd[25]),Df=Ad(Df,Uf,Zf,Bf,mf,14,fd[26]),Bf=Ad(Bf,Df,Uf,Zf,yf,20,fd[27]),Zf=Ad(Zf,Bf,Df,Uf,Lf,5,fd[28]),Uf=Ad(Uf,Zf,Bf,Df,Kd,9,fd[29]),Df=Ad(Df,Uf,Zf,Bf,bf,14,fd[30]),Bf=Ad(Bf,Df,Uf,Zf,Af,20,fd[31]),Zf=Nd(Zf,Bf,Df,Uf,Zd,4,fd[32]),Uf=Nd(Uf,Zf,Bf,Df,yf,11,fd[33]),Df=Nd(Df,Uf,Zf,Bf,xf,16,fd[34]),Bf=Nd(Bf,Df,Uf,Zf,Xf,23,fd[35]),Zf=Nd(Zf,Bf,Df,Uf,Vd,4,fd[36]),Uf=Nd(Uf,Zf,Bf,Df,Wd,11,fd[37]),Df=Nd(Df,Uf,Zf,Bf,bf,16,fd[38]),Bf=Nd(Bf,Df,Uf,Zf,gf,23,fd[39]),Zf=Nd(Zf,Bf,Df,Uf,Lf,4,fd[40]),Uf=Nd(Uf,Zf,Bf,Df,Gd,11,fd[41]),Df=Nd(Df,Uf,Zf,Bf,mf,16,fd[42]),Bf=Nd(Bf,Df,Uf,Zf,Xd,23,fd[43]),Zf=Nd(Zf,Bf,Df,Uf,Ef,4,fd[44]),Uf=Nd(Uf,Zf,Bf,Df,Af,11,fd[45]),Df=Nd(Df,Uf,Zf,Bf,Jf,16,fd[46]),Bf=Nd(Bf,Df,Uf,Zf,Kd,23,fd[47]),Zf=Id(Zf,Bf,Df,Uf,Gd,6,fd[48]),Uf=Id(Uf,Zf,Bf,Df,bf,10,fd[49]),Df=Id(Df,Uf,Zf,Bf,Xf,15,fd[50]),Bf=Id(Bf,Df,Uf,Zf,Zd,21,fd[51]),Zf=Id(Zf,Bf,Df,Uf,Af,6,fd[52]),Uf=Id(Uf,Zf,Bf,Df,mf,10,fd[53]),Df=Id(Df,Uf,Zf,Bf,gf,15,fd[54]),Bf=Id(Bf,Df,Uf,Zf,Vd,21,fd[55]),Zf=Id(Zf,Bf,Df,Uf,yf,6,fd[56]),Uf=Id(Uf,Zf,Bf,Df,Jf,10,fd[57]),Df=Id(Df,Uf,Zf,Bf,Xd,15,fd[58]),Bf=Id(Bf,Df,Uf,Zf,Lf,21,fd[59]),Zf=Id(Zf,Bf,Df,Uf,Wd,6,fd[60]),Uf=Id(Uf,Zf,Bf,Df,xf,10,fd[61]),Df=Id(Df,Uf,Zf,Bf,Kd,15,fd[62]),Bf=Id(Bf,Df,Uf,Zf,Ef,21,fd[63]),Hd[0]=Hd[0]+Zf|0,Hd[1]=Hd[1]+Bf|0,Hd[2]=Hd[2]+Df|0,Hd[3]=Hd[3]+Uf|0},_doFinalize:function(){var kd=this._data,jd=kd.words,Fd=this._nDataBytes*8,Md=kd.sigBytes*8;jd[Md>>>5]|=128<<24-Md%32;var Ld=od.floor(Fd/4294967296),Hd=Fd;jd[(Md+64>>>9<<4)+15]=(Ld<<8|Ld>>>24)&16711935|(Ld<<24|Ld>>>8)&4278255360,jd[(Md+64>>>9<<4)+14]=(Hd<<8|Hd>>>24)&16711935|(Hd<<24|Hd>>>8)&4278255360,kd.sigBytes=(jd.length+1)*4,this._process();for(var Gd=this._hash,Vd=Gd.words,Kd=0;Kd<4;Kd++){var mf=Vd[Kd];Vd[Kd]=(mf<<8|mf>>>24)&16711935|(mf<<24|mf>>>8)&4278255360}return Gd},clone:function(){var kd=dd.clone.call(this);return kd._hash=this._hash.clone(),kd}});function vd(kd,jd,Fd,Md,Ld,Hd,Gd){var Vd=kd+(jd&Fd|~jd&Md)+Ld+Gd;return(Vd<>>32-Hd)+jd}function Ad(kd,jd,Fd,Md,Ld,Hd,Gd){var Vd=kd+(jd&Md|Fd&~Md)+Ld+Gd;return(Vd<>>32-Hd)+jd}function Nd(kd,jd,Fd,Md,Ld,Hd,Gd){var Vd=kd+(jd^Fd^Md)+Ld+Gd;return(Vd<>>32-Hd)+jd}function Id(kd,jd,Fd,Md,Ld,Hd,Gd){var Vd=kd+(Fd^(jd|~Md))+Ld+Gd;return(Vd<>>32-Hd)+jd}ld.MD5=dd._createHelper(md),ld.HmacMD5=dd._createHmacHelper(md)}(Math),nd.MD5})}(md5$1)),md5$1.exports}var sha1={exports:{}},hasRequiredSha1;function requireSha1(){return hasRequiredSha1||(hasRequiredSha1=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,cd=ld.Hasher,dd=od.algo,pd=[],fd=dd.SHA1=cd.extend({_doReset:function(){this._hash=new ud.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(md,vd){for(var Ad=this._hash.words,Nd=Ad[0],Id=Ad[1],kd=Ad[2],jd=Ad[3],Fd=Ad[4],Md=0;Md<80;Md++){if(Md<16)pd[Md]=md[vd+Md]|0;else{var Ld=pd[Md-3]^pd[Md-8]^pd[Md-14]^pd[Md-16];pd[Md]=Ld<<1|Ld>>>31}var Hd=(Nd<<5|Nd>>>27)+Fd+pd[Md];Md<20?Hd+=(Id&kd|~Id&jd)+1518500249:Md<40?Hd+=(Id^kd^jd)+1859775393:Md<60?Hd+=(Id&kd|Id&jd|kd&jd)-1894007588:Hd+=(Id^kd^jd)-899497514,Fd=jd,jd=kd,kd=Id<<30|Id>>>2,Id=Nd,Nd=Hd}Ad[0]=Ad[0]+Nd|0,Ad[1]=Ad[1]+Id|0,Ad[2]=Ad[2]+kd|0,Ad[3]=Ad[3]+jd|0,Ad[4]=Ad[4]+Fd|0},_doFinalize:function(){var md=this._data,vd=md.words,Ad=this._nDataBytes*8,Nd=md.sigBytes*8;return vd[Nd>>>5]|=128<<24-Nd%32,vd[(Nd+64>>>9<<4)+14]=Math.floor(Ad/4294967296),vd[(Nd+64>>>9<<4)+15]=Ad,md.sigBytes=vd.length*4,this._process(),this._hash},clone:function(){var md=cd.clone.call(this);return md._hash=this._hash.clone(),md}});od.SHA1=cd._createHelper(fd),od.HmacSHA1=cd._createHmacHelper(fd)}(),nd.SHA1})}(sha1)),sha1.exports}var sha256={exports:{}},hasRequiredSha256;function requireSha256(){return hasRequiredSha256||(hasRequiredSha256=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){return function(od){var ld=nd,ud=ld.lib,cd=ud.WordArray,dd=ud.Hasher,pd=ld.algo,fd=[],md=[];(function(){function Nd(Fd){for(var Md=od.sqrt(Fd),Ld=2;Ld<=Md;Ld++)if(!(Fd%Ld))return!1;return!0}function Id(Fd){return(Fd-(Fd|0))*4294967296|0}for(var kd=2,jd=0;jd<64;)Nd(kd)&&(jd<8&&(fd[jd]=Id(od.pow(kd,1/2))),md[jd]=Id(od.pow(kd,1/3)),jd++),kd++})();var vd=[],Ad=pd.SHA256=dd.extend({_doReset:function(){this._hash=new cd.init(fd.slice(0))},_doProcessBlock:function(Nd,Id){for(var kd=this._hash.words,jd=kd[0],Fd=kd[1],Md=kd[2],Ld=kd[3],Hd=kd[4],Gd=kd[5],Vd=kd[6],Kd=kd[7],mf=0;mf<64;mf++){if(mf<16)vd[mf]=Nd[Id+mf]|0;else{var Wd=vd[mf-15],Zd=(Wd<<25|Wd>>>7)^(Wd<<14|Wd>>>18)^Wd>>>3,Xd=vd[mf-2],bf=(Xd<<15|Xd>>>17)^(Xd<<13|Xd>>>19)^Xd>>>10;vd[mf]=Zd+vd[mf-7]+bf+vd[mf-16]}var yf=Hd&Gd^~Hd&Vd,Ef=jd&Fd^jd&Md^Fd&Md,gf=(jd<<30|jd>>>2)^(jd<<19|jd>>>13)^(jd<<10|jd>>>22),xf=(Hd<<26|Hd>>>6)^(Hd<<21|Hd>>>11)^(Hd<<7|Hd>>>25),Af=Kd+xf+yf+md[mf]+vd[mf],Lf=gf+Ef;Kd=Vd,Vd=Gd,Gd=Hd,Hd=Ld+Af|0,Ld=Md,Md=Fd,Fd=jd,jd=Af+Lf|0}kd[0]=kd[0]+jd|0,kd[1]=kd[1]+Fd|0,kd[2]=kd[2]+Md|0,kd[3]=kd[3]+Ld|0,kd[4]=kd[4]+Hd|0,kd[5]=kd[5]+Gd|0,kd[6]=kd[6]+Vd|0,kd[7]=kd[7]+Kd|0},_doFinalize:function(){var Nd=this._data,Id=Nd.words,kd=this._nDataBytes*8,jd=Nd.sigBytes*8;return Id[jd>>>5]|=128<<24-jd%32,Id[(jd+64>>>9<<4)+14]=od.floor(kd/4294967296),Id[(jd+64>>>9<<4)+15]=kd,Nd.sigBytes=Id.length*4,this._process(),this._hash},clone:function(){var Nd=dd.clone.call(this);return Nd._hash=this._hash.clone(),Nd}});ld.SHA256=dd._createHelper(Ad),ld.HmacSHA256=dd._createHmacHelper(Ad)}(Math),nd.SHA256})}(sha256)),sha256.exports}var sha224={exports:{}},hasRequiredSha224;function requireSha224(){return hasRequiredSha224||(hasRequiredSha224=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireSha256())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,cd=od.algo,dd=cd.SHA256,pd=cd.SHA224=dd.extend({_doReset:function(){this._hash=new ud.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var fd=dd._doFinalize.call(this);return fd.sigBytes-=4,fd}});od.SHA224=dd._createHelper(pd),od.HmacSHA224=dd._createHmacHelper(pd)}(),nd.SHA224})}(sha224)),sha224.exports}var sha512={exports:{}},hasRequiredSha512;function requireSha512(){return hasRequiredSha512||(hasRequiredSha512=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireX64Core())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.Hasher,cd=od.x64,dd=cd.Word,pd=cd.WordArray,fd=od.algo;function md(){return dd.create.apply(dd,arguments)}var vd=[md(1116352408,3609767458),md(1899447441,602891725),md(3049323471,3964484399),md(3921009573,2173295548),md(961987163,4081628472),md(1508970993,3053834265),md(2453635748,2937671579),md(2870763221,3664609560),md(3624381080,2734883394),md(310598401,1164996542),md(607225278,1323610764),md(1426881987,3590304994),md(1925078388,4068182383),md(2162078206,991336113),md(2614888103,633803317),md(3248222580,3479774868),md(3835390401,2666613458),md(4022224774,944711139),md(264347078,2341262773),md(604807628,2007800933),md(770255983,1495990901),md(1249150122,1856431235),md(1555081692,3175218132),md(1996064986,2198950837),md(2554220882,3999719339),md(2821834349,766784016),md(2952996808,2566594879),md(3210313671,3203337956),md(3336571891,1034457026),md(3584528711,2466948901),md(113926993,3758326383),md(338241895,168717936),md(666307205,1188179964),md(773529912,1546045734),md(1294757372,1522805485),md(1396182291,2643833823),md(1695183700,2343527390),md(1986661051,1014477480),md(2177026350,1206759142),md(2456956037,344077627),md(2730485921,1290863460),md(2820302411,3158454273),md(3259730800,3505952657),md(3345764771,106217008),md(3516065817,3606008344),md(3600352804,1432725776),md(4094571909,1467031594),md(275423344,851169720),md(430227734,3100823752),md(506948616,1363258195),md(659060556,3750685593),md(883997877,3785050280),md(958139571,3318307427),md(1322822218,3812723403),md(1537002063,2003034995),md(1747873779,3602036899),md(1955562222,1575990012),md(2024104815,1125592928),md(2227730452,2716904306),md(2361852424,442776044),md(2428436474,593698344),md(2756734187,3733110249),md(3204031479,2999351573),md(3329325298,3815920427),md(3391569614,3928383900),md(3515267271,566280711),md(3940187606,3454069534),md(4118630271,4000239992),md(116418474,1914138554),md(174292421,2731055270),md(289380356,3203993006),md(460393269,320620315),md(685471733,587496836),md(852142971,1086792851),md(1017036298,365543100),md(1126000580,2618297676),md(1288033470,3409855158),md(1501505948,4234509866),md(1607167915,987167468),md(1816402316,1246189591)],Ad=[];(function(){for(var Id=0;Id<80;Id++)Ad[Id]=md()})();var Nd=fd.SHA512=ud.extend({_doReset:function(){this._hash=new pd.init([new dd.init(1779033703,4089235720),new dd.init(3144134277,2227873595),new dd.init(1013904242,4271175723),new dd.init(2773480762,1595750129),new dd.init(1359893119,2917565137),new dd.init(2600822924,725511199),new dd.init(528734635,4215389547),new dd.init(1541459225,327033209)])},_doProcessBlock:function(Id,kd){for(var jd=this._hash.words,Fd=jd[0],Md=jd[1],Ld=jd[2],Hd=jd[3],Gd=jd[4],Vd=jd[5],Kd=jd[6],mf=jd[7],Wd=Fd.high,Zd=Fd.low,Xd=Md.high,bf=Md.low,yf=Ld.high,Ef=Ld.low,gf=Hd.high,xf=Hd.low,Af=Gd.high,Lf=Gd.low,Xf=Vd.high,Jf=Vd.low,Zf=Kd.high,Bf=Kd.low,Df=mf.high,Uf=mf.low,Gf=Wd,zf=Zd,Tf=Xd,vf=bf,qf=yf,eh=Ef,ch=gf,ih=xf,Pf=Af,uh=Lf,xh=Xf,Qf=Jf,wf=Zf,$f=Bf,Wf=Df,vh=Uf,Th=0;Th<80;Th++){var ph,Vh,wh=Ad[Th];if(Th<16)Vh=wh.high=Id[kd+Th*2]|0,ph=wh.low=Id[kd+Th*2+1]|0;else{var fm=Ad[Th-15],Nm=fm.high,cm=fm.low,Sm=(Nm>>>1|cm<<31)^(Nm>>>8|cm<<24)^Nm>>>7,$m=(cm>>>1|Nm<<31)^(cm>>>8|Nm<<24)^(cm>>>7|Nm<<25),fh=Ad[Th-2],Rf=fh.high,If=fh.low,dh=(Rf>>>19|If<<13)^(Rf<<3|If>>>29)^Rf>>>6,yh=(If>>>19|Rf<<13)^(If<<3|Rf>>>29)^(If>>>6|Rf<<26),Uh=Ad[Th-7],Zh=Uh.high,_m=Uh.low,Um=Ad[Th-16],Om=Um.high,r_=Um.low;ph=$m+_m,Vh=Sm+Zh+(ph>>>0<$m>>>0?1:0),ph=ph+yh,Vh=Vh+dh+(ph>>>0>>0?1:0),ph=ph+r_,Vh=Vh+Om+(ph>>>0>>0?1:0),wh.high=Vh,wh.low=ph}var Xm=Pf&xh^~Pf&wf,s_=uh&Qf^~uh&$f,b_=Gf&Tf^Gf&qf^Tf&qf,H_=zf&vf^zf&eh^vf&eh,x_=(Gf>>>28|zf<<4)^(Gf<<30|zf>>>2)^(Gf<<25|zf>>>7),M_=(zf>>>28|Gf<<4)^(zf<<30|Gf>>>2)^(zf<<25|Gf>>>7),h_=(Pf>>>14|uh<<18)^(Pf>>>18|uh<<14)^(Pf<<23|uh>>>9),tg=(uh>>>14|Pf<<18)^(uh>>>18|Pf<<14)^(uh<<23|Pf>>>9),L_=vd[Th],dg=L_.high,yg=L_.low,q_=vh+tg,Y_=Wf+h_+(q_>>>0>>0?1:0),q_=q_+s_,Y_=Y_+Xm+(q_>>>0>>0?1:0),q_=q_+yg,Y_=Y_+dg+(q_>>>0>>0?1:0),q_=q_+ph,Y_=Y_+Vh+(q_>>>0>>0?1:0),Qm=M_+H_,Zg=x_+b_+(Qm>>>0>>0?1:0);Wf=wf,vh=$f,wf=xh,$f=Qf,xh=Pf,Qf=uh,uh=ih+q_|0,Pf=ch+Y_+(uh>>>0>>0?1:0)|0,ch=qf,ih=eh,qf=Tf,eh=vf,Tf=Gf,vf=zf,zf=q_+Qm|0,Gf=Y_+Zg+(zf>>>0>>0?1:0)|0}Zd=Fd.low=Zd+zf,Fd.high=Wd+Gf+(Zd>>>0>>0?1:0),bf=Md.low=bf+vf,Md.high=Xd+Tf+(bf>>>0>>0?1:0),Ef=Ld.low=Ef+eh,Ld.high=yf+qf+(Ef>>>0>>0?1:0),xf=Hd.low=xf+ih,Hd.high=gf+ch+(xf>>>0>>0?1:0),Lf=Gd.low=Lf+uh,Gd.high=Af+Pf+(Lf>>>0>>0?1:0),Jf=Vd.low=Jf+Qf,Vd.high=Xf+xh+(Jf>>>0>>0?1:0),Bf=Kd.low=Bf+$f,Kd.high=Zf+wf+(Bf>>>0<$f>>>0?1:0),Uf=mf.low=Uf+vh,mf.high=Df+Wf+(Uf>>>0>>0?1:0)},_doFinalize:function(){var Id=this._data,kd=Id.words,jd=this._nDataBytes*8,Fd=Id.sigBytes*8;kd[Fd>>>5]|=128<<24-Fd%32,kd[(Fd+128>>>10<<5)+30]=Math.floor(jd/4294967296),kd[(Fd+128>>>10<<5)+31]=jd,Id.sigBytes=kd.length*4,this._process();var Md=this._hash.toX32();return Md},clone:function(){var Id=ud.clone.call(this);return Id._hash=this._hash.clone(),Id},blockSize:1024/32});od.SHA512=ud._createHelper(Nd),od.HmacSHA512=ud._createHmacHelper(Nd)}(),nd.SHA512})}(sha512)),sha512.exports}var sha384={exports:{}},hasRequiredSha384;function requireSha384(){return hasRequiredSha384||(hasRequiredSha384=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireX64Core(),requireSha512())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.x64,ud=ld.Word,cd=ld.WordArray,dd=od.algo,pd=dd.SHA512,fd=dd.SHA384=pd.extend({_doReset:function(){this._hash=new cd.init([new ud.init(3418070365,3238371032),new ud.init(1654270250,914150663),new ud.init(2438529370,812702999),new ud.init(355462360,4144912697),new ud.init(1731405415,4290775857),new ud.init(2394180231,1750603025),new ud.init(3675008525,1694076839),new ud.init(1203062813,3204075428)])},_doFinalize:function(){var md=pd._doFinalize.call(this);return md.sigBytes-=16,md}});od.SHA384=pd._createHelper(fd),od.HmacSHA384=pd._createHmacHelper(fd)}(),nd.SHA384})}(sha384)),sha384.exports}var sha3={exports:{}},hasRequiredSha3;function requireSha3(){return hasRequiredSha3||(hasRequiredSha3=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireX64Core())})(commonjsGlobal,function(nd){return function(od){var ld=nd,ud=ld.lib,cd=ud.WordArray,dd=ud.Hasher,pd=ld.x64,fd=pd.Word,md=ld.algo,vd=[],Ad=[],Nd=[];(function(){for(var jd=1,Fd=0,Md=0;Md<24;Md++){vd[jd+5*Fd]=(Md+1)*(Md+2)/2%64;var Ld=Fd%5,Hd=(2*jd+3*Fd)%5;jd=Ld,Fd=Hd}for(var jd=0;jd<5;jd++)for(var Fd=0;Fd<5;Fd++)Ad[jd+5*Fd]=Fd+(2*jd+3*Fd)%5*5;for(var Gd=1,Vd=0;Vd<24;Vd++){for(var Kd=0,mf=0,Wd=0;Wd<7;Wd++){if(Gd&1){var Zd=(1<>>24)&16711935|(Gd<<24|Gd>>>8)&4278255360,Vd=(Vd<<8|Vd>>>24)&16711935|(Vd<<24|Vd>>>8)&4278255360;var Kd=Md[Hd];Kd.high^=Vd,Kd.low^=Gd}for(var mf=0;mf<24;mf++){for(var Wd=0;Wd<5;Wd++){for(var Zd=0,Xd=0,bf=0;bf<5;bf++){var Kd=Md[Wd+5*bf];Zd^=Kd.high,Xd^=Kd.low}var yf=Id[Wd];yf.high=Zd,yf.low=Xd}for(var Wd=0;Wd<5;Wd++)for(var Ef=Id[(Wd+4)%5],gf=Id[(Wd+1)%5],xf=gf.high,Af=gf.low,Zd=Ef.high^(xf<<1|Af>>>31),Xd=Ef.low^(Af<<1|xf>>>31),bf=0;bf<5;bf++){var Kd=Md[Wd+5*bf];Kd.high^=Zd,Kd.low^=Xd}for(var Lf=1;Lf<25;Lf++){var Zd,Xd,Kd=Md[Lf],Xf=Kd.high,Jf=Kd.low,Zf=vd[Lf];Zf<32?(Zd=Xf<>>32-Zf,Xd=Jf<>>32-Zf):(Zd=Jf<>>64-Zf,Xd=Xf<>>64-Zf);var Bf=Id[Ad[Lf]];Bf.high=Zd,Bf.low=Xd}var Df=Id[0],Uf=Md[0];Df.high=Uf.high,Df.low=Uf.low;for(var Wd=0;Wd<5;Wd++)for(var bf=0;bf<5;bf++){var Lf=Wd+5*bf,Kd=Md[Lf],Gf=Id[Lf],zf=Id[(Wd+1)%5+5*bf],Tf=Id[(Wd+2)%5+5*bf];Kd.high=Gf.high^~zf.high&Tf.high,Kd.low=Gf.low^~zf.low&Tf.low}var Kd=Md[0],vf=Nd[mf];Kd.high^=vf.high,Kd.low^=vf.low}},_doFinalize:function(){var jd=this._data,Fd=jd.words;this._nDataBytes*8;var Md=jd.sigBytes*8,Ld=this.blockSize*32;Fd[Md>>>5]|=1<<24-Md%32,Fd[(od.ceil((Md+1)/Ld)*Ld>>>5)-1]|=128,jd.sigBytes=Fd.length*4,this._process();for(var Hd=this._state,Gd=this.cfg.outputLength/8,Vd=Gd/8,Kd=[],mf=0;mf>>24)&16711935|(Zd<<24|Zd>>>8)&4278255360,Xd=(Xd<<8|Xd>>>24)&16711935|(Xd<<24|Xd>>>8)&4278255360,Kd.push(Xd),Kd.push(Zd)}return new cd.init(Kd,Gd)},clone:function(){for(var jd=dd.clone.call(this),Fd=jd._state=this._state.slice(0),Md=0;Md<25;Md++)Fd[Md]=Fd[Md].clone();return jd}});ld.SHA3=dd._createHelper(kd),ld.HmacSHA3=dd._createHmacHelper(kd)}(Math),nd.SHA3})}(sha3)),sha3.exports}var ripemd160={exports:{}},hasRequiredRipemd160;function requireRipemd160(){return hasRequiredRipemd160||(hasRequiredRipemd160=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){/** @preserve (c) 2012 by Cédric Mesnil. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -1048,37 +1048,37 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */return function(od){var ld=nd,ud=ld.lib,cd=ud.WordArray,dd=ud.Hasher,pd=ld.algo,fd=cd.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),md=cd.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),vd=cd.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),Ad=cd.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),Nd=cd.create([0,1518500249,1859775393,2400959708,2840853838]),Id=cd.create([1352829926,1548603684,1836072691,2053994217,0]),kd=pd.RIPEMD160=dd.extend({_doReset:function(){this._hash=cd.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(Vd,Qd){for(var mf=0;mf<16;mf++){var Yd=Qd+mf,Zd=Vd[Yd];Vd[Yd]=(Zd<<8|Zd>>>24)&16711935|(Zd<<24|Zd>>>8)&4278255360}var Kd=this._hash.words,bf=Nd.words,gf=Id.words,Ef=fd.words,yf=md.words,xf=vd.words,Af=Ad.words,Lf,Xf,ih,Zf,jf,If,Uf,qf,Kf,Tf;If=Lf=Kd[0],Uf=Xf=Kd[1],qf=ih=Kd[2],Kf=Zf=Kd[3],Tf=jf=Kd[4];for(var vf,mf=0;mf<80;mf+=1)vf=Lf+Vd[Qd+Ef[mf]]|0,mf<16?vf+=jd(Xf,ih,Zf)+bf[0]:mf<32?vf+=Fd(Xf,ih,Zf)+bf[1]:mf<48?vf+=Md(Xf,ih,Zf)+bf[2]:mf<64?vf+=Ld(Xf,ih,Zf)+bf[3]:vf+=Hd(Xf,ih,Zf)+bf[4],vf=vf|0,vf=Gd(vf,xf[mf]),vf=vf+jf|0,Lf=jf,jf=Zf,Zf=Gd(ih,10),ih=Xf,Xf=vf,vf=If+Vd[Qd+yf[mf]]|0,mf<16?vf+=Hd(Uf,qf,Kf)+gf[0]:mf<32?vf+=Ld(Uf,qf,Kf)+gf[1]:mf<48?vf+=Md(Uf,qf,Kf)+gf[2]:mf<64?vf+=Fd(Uf,qf,Kf)+gf[3]:vf+=jd(Uf,qf,Kf)+gf[4],vf=vf|0,vf=Gd(vf,Af[mf]),vf=vf+Tf|0,If=Tf,Tf=Kf,Kf=Gd(qf,10),qf=Uf,Uf=vf;vf=Kd[1]+ih+Kf|0,Kd[1]=Kd[2]+Zf+Tf|0,Kd[2]=Kd[3]+jf+If|0,Kd[3]=Kd[4]+Lf+Uf|0,Kd[4]=Kd[0]+Xf+qf|0,Kd[0]=vf},_doFinalize:function(){var Vd=this._data,Qd=Vd.words,mf=this._nDataBytes*8,Yd=Vd.sigBytes*8;Qd[Yd>>>5]|=128<<24-Yd%32,Qd[(Yd+64>>>9<<4)+14]=(mf<<8|mf>>>24)&16711935|(mf<<24|mf>>>8)&4278255360,Vd.sigBytes=(Qd.length+1)*4,this._process();for(var Zd=this._hash,Kd=Zd.words,bf=0;bf<5;bf++){var gf=Kd[bf];Kd[bf]=(gf<<8|gf>>>24)&16711935|(gf<<24|gf>>>8)&4278255360}return Zd},clone:function(){var Vd=dd.clone.call(this);return Vd._hash=this._hash.clone(),Vd}});function jd(Vd,Qd,mf){return Vd^Qd^mf}function Fd(Vd,Qd,mf){return Vd&Qd|~Vd&mf}function Md(Vd,Qd,mf){return(Vd|~Qd)^mf}function Ld(Vd,Qd,mf){return Vd&mf|Qd&~mf}function Hd(Vd,Qd,mf){return Vd^(Qd|~mf)}function Gd(Vd,Qd){return Vd<>>32-Qd}ld.RIPEMD160=dd._createHelper(kd),ld.HmacRIPEMD160=dd._createHmacHelper(kd)}(),nd.RIPEMD160})}(ripemd160)),ripemd160.exports}var hmac={exports:{}},hasRequiredHmac;function requireHmac(){return hasRequiredHmac||(hasRequiredHmac=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){(function(){var od=nd,ld=od.lib,ud=ld.Base,cd=od.enc,dd=cd.Utf8,pd=od.algo;pd.HMAC=ud.extend({init:function(fd,md){fd=this._hasher=new fd.init,typeof md=="string"&&(md=dd.parse(md));var vd=fd.blockSize,Ad=vd*4;md.sigBytes>Ad&&(md=fd.finalize(md)),md.clamp();for(var Nd=this._oKey=md.clone(),Id=this._iKey=md.clone(),kd=Nd.words,jd=Id.words,Fd=0;Fd>>2]&255;Zd.sigBytes-=Kd}};ud.BlockCipher=Nd.extend({cfg:Nd.cfg.extend({mode:jd,padding:Md}),reset:function(){var Zd;Nd.reset.call(this);var Kd=this.cfg,bf=Kd.iv,gf=Kd.mode;this._xformMode==this._ENC_XFORM_MODE?Zd=gf.createEncryptor:(Zd=gf.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==Zd?this._mode.init(this,bf&&bf.words):(this._mode=Zd.call(gf,this,bf&&bf.words),this._mode.__creator=Zd)},_doProcessBlock:function(Zd,Kd){this._mode.processBlock(Zd,Kd)},_doFinalize:function(){var Zd,Kd=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(Kd.pad(this._data,this.blockSize),Zd=this._process(!0)):(Zd=this._process(!0),Kd.unpad(Zd)),Zd},blockSize:128/32});var Ld=ud.CipherParams=cd.extend({init:function(Zd){this.mixIn(Zd)},toString:function(Zd){return(Zd||this.formatter).stringify(this)}}),Hd=ld.format={},Gd=Hd.OpenSSL={stringify:function(Zd){var Kd,bf=Zd.ciphertext,gf=Zd.salt;return gf?Kd=dd.create([1398893684,1701076831]).concat(gf).concat(bf):Kd=bf,Kd.toString(md)},parse:function(Zd){var Kd,bf=md.parse(Zd),gf=bf.words;return gf[0]==1398893684&&gf[1]==1701076831&&(Kd=dd.create(gf.slice(2,4)),gf.splice(0,4),bf.sigBytes-=16),Ld.create({ciphertext:bf,salt:Kd})}},Vd=ud.SerializableCipher=cd.extend({cfg:cd.extend({format:Gd}),encrypt:function(Zd,Kd,bf,gf){gf=this.cfg.extend(gf);var Ef=Zd.createEncryptor(bf,gf),yf=Ef.finalize(Kd),xf=Ef.cfg;return Ld.create({ciphertext:yf,key:bf,iv:xf.iv,algorithm:Zd,mode:xf.mode,padding:xf.padding,blockSize:Zd.blockSize,formatter:gf.format})},decrypt:function(Zd,Kd,bf,gf){gf=this.cfg.extend(gf),Kd=this._parse(Kd,gf.format);var Ef=Zd.createDecryptor(bf,gf).finalize(Kd.ciphertext);return Ef},_parse:function(Zd,Kd){return typeof Zd=="string"?Kd.parse(Zd,this):Zd}}),Qd=ld.kdf={},mf=Qd.OpenSSL={execute:function(Zd,Kd,bf,gf,Ef){if(gf||(gf=dd.random(64/8)),Ef)var yf=Ad.create({keySize:Kd+bf,hasher:Ef}).compute(Zd,gf);else var yf=Ad.create({keySize:Kd+bf}).compute(Zd,gf);var xf=dd.create(yf.words.slice(Kd),bf*4);return yf.sigBytes=Kd*4,Ld.create({key:yf,iv:xf,salt:gf})}},Yd=ud.PasswordBasedCipher=Vd.extend({cfg:Vd.cfg.extend({kdf:mf}),encrypt:function(Zd,Kd,bf,gf){gf=this.cfg.extend(gf);var Ef=gf.kdf.execute(bf,Zd.keySize,Zd.ivSize,gf.salt,gf.hasher);gf.iv=Ef.iv;var yf=Vd.encrypt.call(this,Zd,Kd,Ef.key,gf);return yf.mixIn(Ef),yf},decrypt:function(Zd,Kd,bf,gf){gf=this.cfg.extend(gf),Kd=this._parse(Kd,gf.format);var Ef=gf.kdf.execute(bf,Zd.keySize,Zd.ivSize,Kd.salt,gf.hasher);gf.iv=Ef.iv;var yf=Vd.decrypt.call(this,Zd,Kd,Ef.key,gf);return yf}})}()})}(cipherCore)),cipherCore.exports}var modeCfb={exports:{}},hasRequiredModeCfb;function requireModeCfb(){return hasRequiredModeCfb||(hasRequiredModeCfb=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.mode.CFB=function(){var od=nd.lib.BlockCipherMode.extend();od.Encryptor=od.extend({processBlock:function(ud,cd){var dd=this._cipher,pd=dd.blockSize;ld.call(this,ud,cd,pd,dd),this._prevBlock=ud.slice(cd,cd+pd)}}),od.Decryptor=od.extend({processBlock:function(ud,cd){var dd=this._cipher,pd=dd.blockSize,fd=ud.slice(cd,cd+pd);ld.call(this,ud,cd,pd,dd),this._prevBlock=fd}});function ld(ud,cd,dd,pd){var fd,md=this._iv;md?(fd=md.slice(0),this._iv=void 0):fd=this._prevBlock,pd.encryptBlock(fd,0);for(var vd=0;vd>>24)&16711935|(Zd<<24|Zd>>>8)&4278255360}var Xd=this._hash.words,bf=Nd.words,yf=Id.words,Ef=fd.words,gf=md.words,xf=vd.words,Af=Ad.words,Lf,Xf,Jf,Zf,Bf,Df,Uf,Gf,zf,Tf;Df=Lf=Xd[0],Uf=Xf=Xd[1],Gf=Jf=Xd[2],zf=Zf=Xd[3],Tf=Bf=Xd[4];for(var vf,mf=0;mf<80;mf+=1)vf=Lf+Vd[Kd+Ef[mf]]|0,mf<16?vf+=jd(Xf,Jf,Zf)+bf[0]:mf<32?vf+=Fd(Xf,Jf,Zf)+bf[1]:mf<48?vf+=Md(Xf,Jf,Zf)+bf[2]:mf<64?vf+=Ld(Xf,Jf,Zf)+bf[3]:vf+=Hd(Xf,Jf,Zf)+bf[4],vf=vf|0,vf=Gd(vf,xf[mf]),vf=vf+Bf|0,Lf=Bf,Bf=Zf,Zf=Gd(Jf,10),Jf=Xf,Xf=vf,vf=Df+Vd[Kd+gf[mf]]|0,mf<16?vf+=Hd(Uf,Gf,zf)+yf[0]:mf<32?vf+=Ld(Uf,Gf,zf)+yf[1]:mf<48?vf+=Md(Uf,Gf,zf)+yf[2]:mf<64?vf+=Fd(Uf,Gf,zf)+yf[3]:vf+=jd(Uf,Gf,zf)+yf[4],vf=vf|0,vf=Gd(vf,Af[mf]),vf=vf+Tf|0,Df=Tf,Tf=zf,zf=Gd(Gf,10),Gf=Uf,Uf=vf;vf=Xd[1]+Jf+zf|0,Xd[1]=Xd[2]+Zf+Tf|0,Xd[2]=Xd[3]+Bf+Df|0,Xd[3]=Xd[4]+Lf+Uf|0,Xd[4]=Xd[0]+Xf+Gf|0,Xd[0]=vf},_doFinalize:function(){var Vd=this._data,Kd=Vd.words,mf=this._nDataBytes*8,Wd=Vd.sigBytes*8;Kd[Wd>>>5]|=128<<24-Wd%32,Kd[(Wd+64>>>9<<4)+14]=(mf<<8|mf>>>24)&16711935|(mf<<24|mf>>>8)&4278255360,Vd.sigBytes=(Kd.length+1)*4,this._process();for(var Zd=this._hash,Xd=Zd.words,bf=0;bf<5;bf++){var yf=Xd[bf];Xd[bf]=(yf<<8|yf>>>24)&16711935|(yf<<24|yf>>>8)&4278255360}return Zd},clone:function(){var Vd=dd.clone.call(this);return Vd._hash=this._hash.clone(),Vd}});function jd(Vd,Kd,mf){return Vd^Kd^mf}function Fd(Vd,Kd,mf){return Vd&Kd|~Vd&mf}function Md(Vd,Kd,mf){return(Vd|~Kd)^mf}function Ld(Vd,Kd,mf){return Vd&mf|Kd&~mf}function Hd(Vd,Kd,mf){return Vd^(Kd|~mf)}function Gd(Vd,Kd){return Vd<>>32-Kd}ld.RIPEMD160=dd._createHelper(kd),ld.HmacRIPEMD160=dd._createHmacHelper(kd)}(),nd.RIPEMD160})}(ripemd160)),ripemd160.exports}var hmac={exports:{}},hasRequiredHmac;function requireHmac(){return hasRequiredHmac||(hasRequiredHmac=1,function(Ra,qa){(function(nd,od){Ra.exports=od(requireCore())})(commonjsGlobal,function(nd){(function(){var od=nd,ld=od.lib,ud=ld.Base,cd=od.enc,dd=cd.Utf8,pd=od.algo;pd.HMAC=ud.extend({init:function(fd,md){fd=this._hasher=new fd.init,typeof md=="string"&&(md=dd.parse(md));var vd=fd.blockSize,Ad=vd*4;md.sigBytes>Ad&&(md=fd.finalize(md)),md.clamp();for(var Nd=this._oKey=md.clone(),Id=this._iKey=md.clone(),kd=Nd.words,jd=Id.words,Fd=0;Fd>>2]&255;Zd.sigBytes-=Xd}};ud.BlockCipher=Nd.extend({cfg:Nd.cfg.extend({mode:jd,padding:Md}),reset:function(){var Zd;Nd.reset.call(this);var Xd=this.cfg,bf=Xd.iv,yf=Xd.mode;this._xformMode==this._ENC_XFORM_MODE?Zd=yf.createEncryptor:(Zd=yf.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==Zd?this._mode.init(this,bf&&bf.words):(this._mode=Zd.call(yf,this,bf&&bf.words),this._mode.__creator=Zd)},_doProcessBlock:function(Zd,Xd){this._mode.processBlock(Zd,Xd)},_doFinalize:function(){var Zd,Xd=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(Xd.pad(this._data,this.blockSize),Zd=this._process(!0)):(Zd=this._process(!0),Xd.unpad(Zd)),Zd},blockSize:128/32});var Ld=ud.CipherParams=cd.extend({init:function(Zd){this.mixIn(Zd)},toString:function(Zd){return(Zd||this.formatter).stringify(this)}}),Hd=ld.format={},Gd=Hd.OpenSSL={stringify:function(Zd){var Xd,bf=Zd.ciphertext,yf=Zd.salt;return yf?Xd=dd.create([1398893684,1701076831]).concat(yf).concat(bf):Xd=bf,Xd.toString(md)},parse:function(Zd){var Xd,bf=md.parse(Zd),yf=bf.words;return yf[0]==1398893684&&yf[1]==1701076831&&(Xd=dd.create(yf.slice(2,4)),yf.splice(0,4),bf.sigBytes-=16),Ld.create({ciphertext:bf,salt:Xd})}},Vd=ud.SerializableCipher=cd.extend({cfg:cd.extend({format:Gd}),encrypt:function(Zd,Xd,bf,yf){yf=this.cfg.extend(yf);var Ef=Zd.createEncryptor(bf,yf),gf=Ef.finalize(Xd),xf=Ef.cfg;return Ld.create({ciphertext:gf,key:bf,iv:xf.iv,algorithm:Zd,mode:xf.mode,padding:xf.padding,blockSize:Zd.blockSize,formatter:yf.format})},decrypt:function(Zd,Xd,bf,yf){yf=this.cfg.extend(yf),Xd=this._parse(Xd,yf.format);var Ef=Zd.createDecryptor(bf,yf).finalize(Xd.ciphertext);return Ef},_parse:function(Zd,Xd){return typeof Zd=="string"?Xd.parse(Zd,this):Zd}}),Kd=ld.kdf={},mf=Kd.OpenSSL={execute:function(Zd,Xd,bf,yf,Ef){if(yf||(yf=dd.random(64/8)),Ef)var gf=Ad.create({keySize:Xd+bf,hasher:Ef}).compute(Zd,yf);else var gf=Ad.create({keySize:Xd+bf}).compute(Zd,yf);var xf=dd.create(gf.words.slice(Xd),bf*4);return gf.sigBytes=Xd*4,Ld.create({key:gf,iv:xf,salt:yf})}},Wd=ud.PasswordBasedCipher=Vd.extend({cfg:Vd.cfg.extend({kdf:mf}),encrypt:function(Zd,Xd,bf,yf){yf=this.cfg.extend(yf);var Ef=yf.kdf.execute(bf,Zd.keySize,Zd.ivSize,yf.salt,yf.hasher);yf.iv=Ef.iv;var gf=Vd.encrypt.call(this,Zd,Xd,Ef.key,yf);return gf.mixIn(Ef),gf},decrypt:function(Zd,Xd,bf,yf){yf=this.cfg.extend(yf),Xd=this._parse(Xd,yf.format);var Ef=yf.kdf.execute(bf,Zd.keySize,Zd.ivSize,Xd.salt,yf.hasher);yf.iv=Ef.iv;var gf=Vd.decrypt.call(this,Zd,Xd,Ef.key,yf);return gf}})}()})}(cipherCore)),cipherCore.exports}var modeCfb={exports:{}},hasRequiredModeCfb;function requireModeCfb(){return hasRequiredModeCfb||(hasRequiredModeCfb=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.mode.CFB=function(){var od=nd.lib.BlockCipherMode.extend();od.Encryptor=od.extend({processBlock:function(ud,cd){var dd=this._cipher,pd=dd.blockSize;ld.call(this,ud,cd,pd,dd),this._prevBlock=ud.slice(cd,cd+pd)}}),od.Decryptor=od.extend({processBlock:function(ud,cd){var dd=this._cipher,pd=dd.blockSize,fd=ud.slice(cd,cd+pd);ld.call(this,ud,cd,pd,dd),this._prevBlock=fd}});function ld(ud,cd,dd,pd){var fd,md=this._iv;md?(fd=md.slice(0),this._iv=void 0):fd=this._prevBlock,pd.encryptBlock(fd,0);for(var vd=0;vd>24&255)===255){var pd=dd>>16&255,fd=dd>>8&255,md=dd&255;pd===255?(pd=0,fd===255?(fd=0,md===255?md=0:++md):++fd):++pd,dd=0,dd+=pd<<16,dd+=fd<<8,dd+=md}else dd+=1<<24;return dd}function ud(dd){return(dd[0]=ld(dd[0]))===0&&(dd[1]=ld(dd[1])),dd}var cd=od.Encryptor=od.extend({processBlock:function(dd,pd){var fd=this._cipher,md=fd.blockSize,vd=this._iv,Ad=this._counter;vd&&(Ad=this._counter=vd.slice(0),this._iv=void 0),ud(Ad);var Nd=Ad.slice(0);fd.encryptBlock(Nd,0);for(var Id=0;Id>>2]|=dd<<24-pd%4*8,od.sigBytes+=dd},unpad:function(od){var ld=od.words[od.sigBytes-1>>>2]&255;od.sigBytes-=ld}},nd.pad.Ansix923})}(padAnsix923)),padAnsix923.exports}var padIso10126={exports:{}},hasRequiredPadIso10126;function requirePadIso10126(){return hasRequiredPadIso10126||(hasRequiredPadIso10126=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.Iso10126={pad:function(od,ld){var ud=ld*4,cd=ud-od.sigBytes%ud;od.concat(nd.lib.WordArray.random(cd-1)).concat(nd.lib.WordArray.create([cd<<24],1))},unpad:function(od){var ld=od.words[od.sigBytes-1>>>2]&255;od.sigBytes-=ld}},nd.pad.Iso10126})}(padIso10126)),padIso10126.exports}var padIso97971={exports:{}},hasRequiredPadIso97971;function requirePadIso97971(){return hasRequiredPadIso97971||(hasRequiredPadIso97971=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.Iso97971={pad:function(od,ld){od.concat(nd.lib.WordArray.create([2147483648],1)),nd.pad.ZeroPadding.pad(od,ld)},unpad:function(od){nd.pad.ZeroPadding.unpad(od),od.sigBytes--}},nd.pad.Iso97971})}(padIso97971)),padIso97971.exports}var padZeropadding={exports:{}},hasRequiredPadZeropadding;function requirePadZeropadding(){return hasRequiredPadZeropadding||(hasRequiredPadZeropadding=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.ZeroPadding={pad:function(od,ld){var ud=ld*4;od.clamp(),od.sigBytes+=ud-(od.sigBytes%ud||ud)},unpad:function(od){for(var ld=od.words,ud=od.sigBytes-1,ud=od.sigBytes-1;ud>=0;ud--)if(ld[ud>>>2]>>>24-ud%4*8&255){od.sigBytes=ud+1;break}}},nd.pad.ZeroPadding})}(padZeropadding)),padZeropadding.exports}var padNopadding={exports:{}},hasRequiredPadNopadding;function requirePadNopadding(){return hasRequiredPadNopadding||(hasRequiredPadNopadding=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.NoPadding={pad:function(){},unpad:function(){}},nd.pad.NoPadding})}(padNopadding)),padNopadding.exports}var formatHex={exports:{}},hasRequiredFormatHex;function requireFormatHex(){return hasRequiredFormatHex||(hasRequiredFormatHex=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return function(od){var ld=nd,ud=ld.lib,cd=ud.CipherParams,dd=ld.enc,pd=dd.Hex,fd=ld.format;fd.Hex={stringify:function(md){return md.ciphertext.toString(pd)},parse:function(md){var vd=pd.parse(md);return cd.create({ciphertext:vd})}}}(),nd.format.Hex})}(formatHex)),formatHex.exports}var aes={exports:{}},hasRequiredAes;function requireAes(){return hasRequiredAes||(hasRequiredAes=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.BlockCipher,cd=od.algo,dd=[],pd=[],fd=[],md=[],vd=[],Ad=[],Nd=[],Id=[],kd=[],jd=[];(function(){for(var Ld=[],Hd=0;Hd<256;Hd++)Hd<128?Ld[Hd]=Hd<<1:Ld[Hd]=Hd<<1^283;for(var Gd=0,Vd=0,Hd=0;Hd<256;Hd++){var Qd=Vd^Vd<<1^Vd<<2^Vd<<3^Vd<<4;Qd=Qd>>>8^Qd&255^99,dd[Gd]=Qd,pd[Qd]=Gd;var mf=Ld[Gd],Yd=Ld[mf],Zd=Ld[Yd],Kd=Ld[Qd]*257^Qd*16843008;fd[Gd]=Kd<<24|Kd>>>8,md[Gd]=Kd<<16|Kd>>>16,vd[Gd]=Kd<<8|Kd>>>24,Ad[Gd]=Kd;var Kd=Zd*16843009^Yd*65537^mf*257^Gd*16843008;Nd[Qd]=Kd<<24|Kd>>>8,Id[Qd]=Kd<<16|Kd>>>16,kd[Qd]=Kd<<8|Kd>>>24,jd[Qd]=Kd,Gd?(Gd=mf^Ld[Ld[Ld[Zd^mf]]],Vd^=Ld[Ld[Vd]]):Gd=Vd=1}})();var Fd=[0,1,2,4,8,16,32,64,128,27,54],Md=cd.AES=ud.extend({_doReset:function(){var Ld;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var Hd=this._keyPriorReset=this._key,Gd=Hd.words,Vd=Hd.sigBytes/4,Qd=this._nRounds=Vd+6,mf=(Qd+1)*4,Yd=this._keySchedule=[],Zd=0;Zd6&&Zd%Vd==4&&(Ld=dd[Ld>>>24]<<24|dd[Ld>>>16&255]<<16|dd[Ld>>>8&255]<<8|dd[Ld&255]):(Ld=Ld<<8|Ld>>>24,Ld=dd[Ld>>>24]<<24|dd[Ld>>>16&255]<<16|dd[Ld>>>8&255]<<8|dd[Ld&255],Ld^=Fd[Zd/Vd|0]<<24),Yd[Zd]=Yd[Zd-Vd]^Ld);for(var Kd=this._invKeySchedule=[],bf=0;bf>>24]]^Id[dd[Ld>>>16&255]]^kd[dd[Ld>>>8&255]]^jd[dd[Ld&255]]}}},encryptBlock:function(Ld,Hd){this._doCryptBlock(Ld,Hd,this._keySchedule,fd,md,vd,Ad,dd)},decryptBlock:function(Ld,Hd){var Gd=Ld[Hd+1];Ld[Hd+1]=Ld[Hd+3],Ld[Hd+3]=Gd,this._doCryptBlock(Ld,Hd,this._invKeySchedule,Nd,Id,kd,jd,pd);var Gd=Ld[Hd+1];Ld[Hd+1]=Ld[Hd+3],Ld[Hd+3]=Gd},_doCryptBlock:function(Ld,Hd,Gd,Vd,Qd,mf,Yd,Zd){for(var Kd=this._nRounds,bf=Ld[Hd]^Gd[0],gf=Ld[Hd+1]^Gd[1],Ef=Ld[Hd+2]^Gd[2],yf=Ld[Hd+3]^Gd[3],xf=4,Af=1;Af>>24]^Qd[gf>>>16&255]^mf[Ef>>>8&255]^Yd[yf&255]^Gd[xf++],Xf=Vd[gf>>>24]^Qd[Ef>>>16&255]^mf[yf>>>8&255]^Yd[bf&255]^Gd[xf++],ih=Vd[Ef>>>24]^Qd[yf>>>16&255]^mf[bf>>>8&255]^Yd[gf&255]^Gd[xf++],Zf=Vd[yf>>>24]^Qd[bf>>>16&255]^mf[gf>>>8&255]^Yd[Ef&255]^Gd[xf++];bf=Lf,gf=Xf,Ef=ih,yf=Zf}var Lf=(Zd[bf>>>24]<<24|Zd[gf>>>16&255]<<16|Zd[Ef>>>8&255]<<8|Zd[yf&255])^Gd[xf++],Xf=(Zd[gf>>>24]<<24|Zd[Ef>>>16&255]<<16|Zd[yf>>>8&255]<<8|Zd[bf&255])^Gd[xf++],ih=(Zd[Ef>>>24]<<24|Zd[yf>>>16&255]<<16|Zd[bf>>>8&255]<<8|Zd[gf&255])^Gd[xf++],Zf=(Zd[yf>>>24]<<24|Zd[bf>>>16&255]<<16|Zd[gf>>>8&255]<<8|Zd[Ef&255])^Gd[xf++];Ld[Hd]=Lf,Ld[Hd+1]=Xf,Ld[Hd+2]=ih,Ld[Hd+3]=Zf},keySize:256/32});od.AES=ud._createHelper(Md)}(),nd.AES})}(aes)),aes.exports}var tripledes={exports:{}},hasRequiredTripledes;function requireTripledes(){return hasRequiredTripledes||(hasRequiredTripledes=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,cd=ld.BlockCipher,dd=od.algo,pd=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],fd=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],md=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],vd=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],Ad=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],Nd=dd.DES=cd.extend({_doReset:function(){for(var Fd=this._key,Md=Fd.words,Ld=[],Hd=0;Hd<56;Hd++){var Gd=pd[Hd]-1;Ld[Hd]=Md[Gd>>>5]>>>31-Gd%32&1}for(var Vd=this._subKeys=[],Qd=0;Qd<16;Qd++){for(var mf=Vd[Qd]=[],Yd=md[Qd],Hd=0;Hd<24;Hd++)mf[Hd/6|0]|=Ld[(fd[Hd]-1+Yd)%28]<<31-Hd%6,mf[4+(Hd/6|0)]|=Ld[28+(fd[Hd+24]-1+Yd)%28]<<31-Hd%6;mf[0]=mf[0]<<1|mf[0]>>>31;for(var Hd=1;Hd<7;Hd++)mf[Hd]=mf[Hd]>>>(Hd-1)*4+3;mf[7]=mf[7]<<5|mf[7]>>>27}for(var Zd=this._invSubKeys=[],Hd=0;Hd<16;Hd++)Zd[Hd]=Vd[15-Hd]},encryptBlock:function(Fd,Md){this._doCryptBlock(Fd,Md,this._subKeys)},decryptBlock:function(Fd,Md){this._doCryptBlock(Fd,Md,this._invSubKeys)},_doCryptBlock:function(Fd,Md,Ld){this._lBlock=Fd[Md],this._rBlock=Fd[Md+1],Id.call(this,4,252645135),Id.call(this,16,65535),kd.call(this,2,858993459),kd.call(this,8,16711935),Id.call(this,1,1431655765);for(var Hd=0;Hd<16;Hd++){for(var Gd=Ld[Hd],Vd=this._lBlock,Qd=this._rBlock,mf=0,Yd=0;Yd<8;Yd++)mf|=vd[Yd][((Qd^Gd[Yd])&Ad[Yd])>>>0];this._lBlock=Qd,this._rBlock=Vd^mf}var Zd=this._lBlock;this._lBlock=this._rBlock,this._rBlock=Zd,Id.call(this,1,1431655765),kd.call(this,8,16711935),kd.call(this,2,858993459),Id.call(this,16,65535),Id.call(this,4,252645135),Fd[Md]=this._lBlock,Fd[Md+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function Id(Fd,Md){var Ld=(this._lBlock>>>Fd^this._rBlock)&Md;this._rBlock^=Ld,this._lBlock^=Ld<>>Fd^this._lBlock)&Md;this._lBlock^=Ld,this._rBlock^=Ld<192.");var Ld=Md.slice(0,2),Hd=Md.length<4?Md.slice(0,2):Md.slice(2,4),Gd=Md.length<6?Md.slice(0,2):Md.slice(4,6);this._des1=Nd.createEncryptor(ud.create(Ld)),this._des2=Nd.createEncryptor(ud.create(Hd)),this._des3=Nd.createEncryptor(ud.create(Gd))},encryptBlock:function(Fd,Md){this._des1.encryptBlock(Fd,Md),this._des2.decryptBlock(Fd,Md),this._des3.encryptBlock(Fd,Md)},decryptBlock:function(Fd,Md){this._des3.decryptBlock(Fd,Md),this._des2.encryptBlock(Fd,Md),this._des1.decryptBlock(Fd,Md)},keySize:192/32,ivSize:64/32,blockSize:64/32});od.TripleDES=cd._createHelper(jd)}(),nd.TripleDES})}(tripledes)),tripledes.exports}var rc4={exports:{}},hasRequiredRc4;function requireRc4(){return hasRequiredRc4||(hasRequiredRc4=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.StreamCipher,cd=od.algo,dd=cd.RC4=ud.extend({_doReset:function(){for(var md=this._key,vd=md.words,Ad=md.sigBytes,Nd=this._S=[],Id=0;Id<256;Id++)Nd[Id]=Id;for(var Id=0,kd=0;Id<256;Id++){var jd=Id%Ad,Fd=vd[jd>>>2]>>>24-jd%4*8&255;kd=(kd+Nd[Id]+Fd)%256;var Md=Nd[Id];Nd[Id]=Nd[kd],Nd[kd]=Md}this._i=this._j=0},_doProcessBlock:function(md,vd){md[vd]^=pd.call(this)},keySize:256/32,ivSize:0});function pd(){for(var md=this._S,vd=this._i,Ad=this._j,Nd=0,Id=0;Id<4;Id++){vd=(vd+1)%256,Ad=(Ad+md[vd])%256;var kd=md[vd];md[vd]=md[Ad],md[Ad]=kd,Nd|=md[(md[vd]+md[Ad])%256]<<24-Id*8}return this._i=vd,this._j=Ad,Nd}od.RC4=ud._createHelper(dd);var fd=cd.RC4Drop=dd.extend({cfg:dd.cfg.extend({drop:192}),_doReset:function(){dd._doReset.call(this);for(var md=this.cfg.drop;md>0;md--)pd.call(this)}});od.RC4Drop=ud._createHelper(fd)}(),nd.RC4})}(rc4)),rc4.exports}var rabbit={exports:{}},hasRequiredRabbit;function requireRabbit(){return hasRequiredRabbit||(hasRequiredRabbit=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.StreamCipher,cd=od.algo,dd=[],pd=[],fd=[],md=cd.Rabbit=ud.extend({_doReset:function(){for(var Ad=this._key.words,Nd=this.cfg.iv,Id=0;Id<4;Id++)Ad[Id]=(Ad[Id]<<8|Ad[Id]>>>24)&16711935|(Ad[Id]<<24|Ad[Id]>>>8)&4278255360;var kd=this._X=[Ad[0],Ad[3]<<16|Ad[2]>>>16,Ad[1],Ad[0]<<16|Ad[3]>>>16,Ad[2],Ad[1]<<16|Ad[0]>>>16,Ad[3],Ad[2]<<16|Ad[1]>>>16],jd=this._C=[Ad[2]<<16|Ad[2]>>>16,Ad[0]&4294901760|Ad[1]&65535,Ad[3]<<16|Ad[3]>>>16,Ad[1]&4294901760|Ad[2]&65535,Ad[0]<<16|Ad[0]>>>16,Ad[2]&4294901760|Ad[3]&65535,Ad[1]<<16|Ad[1]>>>16,Ad[3]&4294901760|Ad[0]&65535];this._b=0;for(var Id=0;Id<4;Id++)vd.call(this);for(var Id=0;Id<8;Id++)jd[Id]^=kd[Id+4&7];if(Nd){var Fd=Nd.words,Md=Fd[0],Ld=Fd[1],Hd=(Md<<8|Md>>>24)&16711935|(Md<<24|Md>>>8)&4278255360,Gd=(Ld<<8|Ld>>>24)&16711935|(Ld<<24|Ld>>>8)&4278255360,Vd=Hd>>>16|Gd&4294901760,Qd=Gd<<16|Hd&65535;jd[0]^=Hd,jd[1]^=Vd,jd[2]^=Gd,jd[3]^=Qd,jd[4]^=Hd,jd[5]^=Vd,jd[6]^=Gd,jd[7]^=Qd;for(var Id=0;Id<4;Id++)vd.call(this)}},_doProcessBlock:function(Ad,Nd){var Id=this._X;vd.call(this),dd[0]=Id[0]^Id[5]>>>16^Id[3]<<16,dd[1]=Id[2]^Id[7]>>>16^Id[5]<<16,dd[2]=Id[4]^Id[1]>>>16^Id[7]<<16,dd[3]=Id[6]^Id[3]>>>16^Id[1]<<16;for(var kd=0;kd<4;kd++)dd[kd]=(dd[kd]<<8|dd[kd]>>>24)&16711935|(dd[kd]<<24|dd[kd]>>>8)&4278255360,Ad[Nd+kd]^=dd[kd]},blockSize:128/32,ivSize:64/32});function vd(){for(var Ad=this._X,Nd=this._C,Id=0;Id<8;Id++)pd[Id]=Nd[Id];Nd[0]=Nd[0]+1295307597+this._b|0,Nd[1]=Nd[1]+3545052371+(Nd[0]>>>0>>0?1:0)|0,Nd[2]=Nd[2]+886263092+(Nd[1]>>>0>>0?1:0)|0,Nd[3]=Nd[3]+1295307597+(Nd[2]>>>0>>0?1:0)|0,Nd[4]=Nd[4]+3545052371+(Nd[3]>>>0>>0?1:0)|0,Nd[5]=Nd[5]+886263092+(Nd[4]>>>0>>0?1:0)|0,Nd[6]=Nd[6]+1295307597+(Nd[5]>>>0>>0?1:0)|0,Nd[7]=Nd[7]+3545052371+(Nd[6]>>>0>>0?1:0)|0,this._b=Nd[7]>>>0>>0?1:0;for(var Id=0;Id<8;Id++){var kd=Ad[Id]+Nd[Id],jd=kd&65535,Fd=kd>>>16,Md=((jd*jd>>>17)+jd*Fd>>>15)+Fd*Fd,Ld=((kd&4294901760)*kd|0)+((kd&65535)*kd|0);fd[Id]=Md^Ld}Ad[0]=fd[0]+(fd[7]<<16|fd[7]>>>16)+(fd[6]<<16|fd[6]>>>16)|0,Ad[1]=fd[1]+(fd[0]<<8|fd[0]>>>24)+fd[7]|0,Ad[2]=fd[2]+(fd[1]<<16|fd[1]>>>16)+(fd[0]<<16|fd[0]>>>16)|0,Ad[3]=fd[3]+(fd[2]<<8|fd[2]>>>24)+fd[1]|0,Ad[4]=fd[4]+(fd[3]<<16|fd[3]>>>16)+(fd[2]<<16|fd[2]>>>16)|0,Ad[5]=fd[5]+(fd[4]<<8|fd[4]>>>24)+fd[3]|0,Ad[6]=fd[6]+(fd[5]<<16|fd[5]>>>16)+(fd[4]<<16|fd[4]>>>16)|0,Ad[7]=fd[7]+(fd[6]<<8|fd[6]>>>24)+fd[5]|0}od.Rabbit=ud._createHelper(md)}(),nd.Rabbit})}(rabbit)),rabbit.exports}var rabbitLegacy={exports:{}},hasRequiredRabbitLegacy;function requireRabbitLegacy(){return hasRequiredRabbitLegacy||(hasRequiredRabbitLegacy=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.StreamCipher,cd=od.algo,dd=[],pd=[],fd=[],md=cd.RabbitLegacy=ud.extend({_doReset:function(){var Ad=this._key.words,Nd=this.cfg.iv,Id=this._X=[Ad[0],Ad[3]<<16|Ad[2]>>>16,Ad[1],Ad[0]<<16|Ad[3]>>>16,Ad[2],Ad[1]<<16|Ad[0]>>>16,Ad[3],Ad[2]<<16|Ad[1]>>>16],kd=this._C=[Ad[2]<<16|Ad[2]>>>16,Ad[0]&4294901760|Ad[1]&65535,Ad[3]<<16|Ad[3]>>>16,Ad[1]&4294901760|Ad[2]&65535,Ad[0]<<16|Ad[0]>>>16,Ad[2]&4294901760|Ad[3]&65535,Ad[1]<<16|Ad[1]>>>16,Ad[3]&4294901760|Ad[0]&65535];this._b=0;for(var jd=0;jd<4;jd++)vd.call(this);for(var jd=0;jd<8;jd++)kd[jd]^=Id[jd+4&7];if(Nd){var Fd=Nd.words,Md=Fd[0],Ld=Fd[1],Hd=(Md<<8|Md>>>24)&16711935|(Md<<24|Md>>>8)&4278255360,Gd=(Ld<<8|Ld>>>24)&16711935|(Ld<<24|Ld>>>8)&4278255360,Vd=Hd>>>16|Gd&4294901760,Qd=Gd<<16|Hd&65535;kd[0]^=Hd,kd[1]^=Vd,kd[2]^=Gd,kd[3]^=Qd,kd[4]^=Hd,kd[5]^=Vd,kd[6]^=Gd,kd[7]^=Qd;for(var jd=0;jd<4;jd++)vd.call(this)}},_doProcessBlock:function(Ad,Nd){var Id=this._X;vd.call(this),dd[0]=Id[0]^Id[5]>>>16^Id[3]<<16,dd[1]=Id[2]^Id[7]>>>16^Id[5]<<16,dd[2]=Id[4]^Id[1]>>>16^Id[7]<<16,dd[3]=Id[6]^Id[3]>>>16^Id[1]<<16;for(var kd=0;kd<4;kd++)dd[kd]=(dd[kd]<<8|dd[kd]>>>24)&16711935|(dd[kd]<<24|dd[kd]>>>8)&4278255360,Ad[Nd+kd]^=dd[kd]},blockSize:128/32,ivSize:64/32});function vd(){for(var Ad=this._X,Nd=this._C,Id=0;Id<8;Id++)pd[Id]=Nd[Id];Nd[0]=Nd[0]+1295307597+this._b|0,Nd[1]=Nd[1]+3545052371+(Nd[0]>>>0>>0?1:0)|0,Nd[2]=Nd[2]+886263092+(Nd[1]>>>0>>0?1:0)|0,Nd[3]=Nd[3]+1295307597+(Nd[2]>>>0>>0?1:0)|0,Nd[4]=Nd[4]+3545052371+(Nd[3]>>>0>>0?1:0)|0,Nd[5]=Nd[5]+886263092+(Nd[4]>>>0>>0?1:0)|0,Nd[6]=Nd[6]+1295307597+(Nd[5]>>>0>>0?1:0)|0,Nd[7]=Nd[7]+3545052371+(Nd[6]>>>0>>0?1:0)|0,this._b=Nd[7]>>>0>>0?1:0;for(var Id=0;Id<8;Id++){var kd=Ad[Id]+Nd[Id],jd=kd&65535,Fd=kd>>>16,Md=((jd*jd>>>17)+jd*Fd>>>15)+Fd*Fd,Ld=((kd&4294901760)*kd|0)+((kd&65535)*kd|0);fd[Id]=Md^Ld}Ad[0]=fd[0]+(fd[7]<<16|fd[7]>>>16)+(fd[6]<<16|fd[6]>>>16)|0,Ad[1]=fd[1]+(fd[0]<<8|fd[0]>>>24)+fd[7]|0,Ad[2]=fd[2]+(fd[1]<<16|fd[1]>>>16)+(fd[0]<<16|fd[0]>>>16)|0,Ad[3]=fd[3]+(fd[2]<<8|fd[2]>>>24)+fd[1]|0,Ad[4]=fd[4]+(fd[3]<<16|fd[3]>>>16)+(fd[2]<<16|fd[2]>>>16)|0,Ad[5]=fd[5]+(fd[4]<<8|fd[4]>>>24)+fd[3]|0,Ad[6]=fd[6]+(fd[5]<<16|fd[5]>>>16)+(fd[4]<<16|fd[4]>>>16)|0,Ad[7]=fd[7]+(fd[6]<<8|fd[6]>>>24)+fd[5]|0}od.RabbitLegacy=ud._createHelper(md)}(),nd.RabbitLegacy})}(rabbitLegacy)),rabbitLegacy.exports}var blowfish={exports:{}},hasRequiredBlowfish;function requireBlowfish(){return hasRequiredBlowfish||(hasRequiredBlowfish=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.BlockCipher,cd=od.algo;const dd=16,pd=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],fd=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var md={pbox:[],sbox:[]};function vd(jd,Fd){let Md=Fd>>24&255,Ld=Fd>>16&255,Hd=Fd>>8&255,Gd=Fd&255,Vd=jd.sbox[0][Md]+jd.sbox[1][Ld];return Vd=Vd^jd.sbox[2][Hd],Vd=Vd+jd.sbox[3][Gd],Vd}function Ad(jd,Fd,Md){let Ld=Fd,Hd=Md,Gd;for(let Vd=0;Vd1;--Vd)Ld=Ld^jd.pbox[Vd],Hd=vd(jd,Ld)^Hd,Gd=Ld,Ld=Hd,Hd=Gd;return Gd=Ld,Ld=Hd,Hd=Gd,Hd=Hd^jd.pbox[1],Ld=Ld^jd.pbox[0],{left:Ld,right:Hd}}function Id(jd,Fd,Md){for(let Qd=0;Qd<4;Qd++){jd.sbox[Qd]=[];for(let mf=0;mf<256;mf++)jd.sbox[Qd][mf]=fd[Qd][mf]}let Ld=0;for(let Qd=0;Qd=Md&&(Ld=0);let Hd=0,Gd=0,Vd=0;for(let Qd=0;Qd2){var pd=nd.lastIndexOf("/");if(pd!==nd.length-1){pd===-1?(nd="",od=0):(nd=nd.slice(0,pd),od=nd.length-1-nd.lastIndexOf("/")),ld=dd,ud=0;continue}}else if(nd.length===2||nd.length===1){nd="",od=0,ld=dd,ud=0;continue}}qa&&(nd.length>0?nd+="/..":nd="..",od=2)}else nd.length>0?nd+="/"+Ra.slice(ld+1,dd):nd=Ra.slice(ld+1,dd),od=dd-ld-1;ld=dd,ud=0}else cd===46&&ud!==-1?++ud:ud=-1}return nd}function _format(Ra,qa){var nd=qa.dir||qa.root,od=qa.base||(qa.name||"")+(qa.ext||"");return nd?nd===qa.root?nd+od:nd+Ra+od:od}var posix={resolve:function(){for(var qa="",nd=!1,od,ld=arguments.length-1;ld>=-1&&!nd;ld--){var ud;ld>=0?ud=arguments[ld]:(od===void 0&&(od=define_process_default$7.cwd()),ud=od),assertPath(ud),ud.length!==0&&(qa=ud+"/"+qa,nd=ud.charCodeAt(0)===47)}return qa=normalizeStringPosix(qa,!nd),nd?qa.length>0?"/"+qa:"/":qa.length>0?qa:"."},normalize:function(qa){if(assertPath(qa),qa.length===0)return".";var nd=qa.charCodeAt(0)===47,od=qa.charCodeAt(qa.length-1)===47;return qa=normalizeStringPosix(qa,!nd),qa.length===0&&!nd&&(qa="."),qa.length>0&&od&&(qa+="/"),nd?"/"+qa:qa},isAbsolute:function(qa){return assertPath(qa),qa.length>0&&qa.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var qa,nd=0;nd0&&(qa===void 0?qa=od:qa+="/"+od)}return qa===void 0?".":posix.normalize(qa)},relative:function(qa,nd){if(assertPath(qa),assertPath(nd),qa===nd||(qa=posix.resolve(qa),nd=posix.resolve(nd),qa===nd))return"";for(var od=1;odfd){if(nd.charCodeAt(cd+vd)===47)return nd.slice(cd+vd+1);if(vd===0)return nd.slice(cd+vd)}else ud>fd&&(qa.charCodeAt(od+vd)===47?md=vd:vd===0&&(md=0));break}var Ad=qa.charCodeAt(od+vd),Nd=nd.charCodeAt(cd+vd);if(Ad!==Nd)break;Ad===47&&(md=vd)}var Id="";for(vd=od+md+1;vd<=ld;++vd)(vd===ld||qa.charCodeAt(vd)===47)&&(Id.length===0?Id+="..":Id+="/..");return Id.length>0?Id+nd.slice(cd+md):(cd+=md,nd.charCodeAt(cd)===47&&++cd,nd.slice(cd))},_makeLong:function(qa){return qa},dirname:function(qa){if(assertPath(qa),qa.length===0)return".";for(var nd=qa.charCodeAt(0),od=nd===47,ld=-1,ud=!0,cd=qa.length-1;cd>=1;--cd)if(nd=qa.charCodeAt(cd),nd===47){if(!ud){ld=cd;break}}else ud=!1;return ld===-1?od?"/":".":od&&ld===1?"//":qa.slice(0,ld)},basename:function(qa,nd){if(nd!==void 0&&typeof nd!="string")throw new TypeError('"ext" argument must be a string');assertPath(qa);var od=0,ld=-1,ud=!0,cd;if(nd!==void 0&&nd.length>0&&nd.length<=qa.length){if(nd.length===qa.length&&nd===qa)return"";var dd=nd.length-1,pd=-1;for(cd=qa.length-1;cd>=0;--cd){var fd=qa.charCodeAt(cd);if(fd===47){if(!ud){od=cd+1;break}}else pd===-1&&(ud=!1,pd=cd+1),dd>=0&&(fd===nd.charCodeAt(dd)?--dd===-1&&(ld=cd):(dd=-1,ld=pd))}return od===ld?ld=pd:ld===-1&&(ld=qa.length),qa.slice(od,ld)}else{for(cd=qa.length-1;cd>=0;--cd)if(qa.charCodeAt(cd)===47){if(!ud){od=cd+1;break}}else ld===-1&&(ud=!1,ld=cd+1);return ld===-1?"":qa.slice(od,ld)}},extname:function(qa){assertPath(qa);for(var nd=-1,od=0,ld=-1,ud=!0,cd=0,dd=qa.length-1;dd>=0;--dd){var pd=qa.charCodeAt(dd);if(pd===47){if(!ud){od=dd+1;break}continue}ld===-1&&(ud=!1,ld=dd+1),pd===46?nd===-1?nd=dd:cd!==1&&(cd=1):nd!==-1&&(cd=-1)}return nd===-1||ld===-1||cd===0||cd===1&&nd===ld-1&&nd===od+1?"":qa.slice(nd,ld)},format:function(qa){if(qa===null||typeof qa!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof qa);return _format("/",qa)},parse:function(qa){assertPath(qa);var nd={root:"",dir:"",base:"",ext:"",name:""};if(qa.length===0)return nd;var od=qa.charCodeAt(0),ld=od===47,ud;ld?(nd.root="/",ud=1):ud=0;for(var cd=-1,dd=0,pd=-1,fd=!0,md=qa.length-1,vd=0;md>=ud;--md){if(od=qa.charCodeAt(md),od===47){if(!fd){dd=md+1;break}continue}pd===-1&&(fd=!1,pd=md+1),od===46?cd===-1?cd=md:vd!==1&&(vd=1):cd!==-1&&(vd=-1)}return cd===-1||pd===-1||vd===0||vd===1&&cd===pd-1&&cd===dd+1?pd!==-1&&(dd===0&&ld?nd.base=nd.name=qa.slice(1,pd):nd.base=nd.name=qa.slice(dd,pd)):(dd===0&&ld?(nd.name=qa.slice(1,cd),nd.base=qa.slice(1,pd)):(nd.name=qa.slice(dd,cd),nd.base=qa.slice(dd,pd)),nd.ext=qa.slice(cd,pd)),dd>0?nd.dir=qa.slice(0,dd-1):ld&&(nd.dir="/"),nd},sep:"/",delimiter:":",win32:null,posix:null};posix.posix=posix;var pathBrowserify=posix,events={exports:{}},R=typeof Reflect=="object"?Reflect:null,ReflectApply=R&&typeof R.apply=="function"?R.apply:function(qa,nd,od){return Function.prototype.apply.call(qa,nd,od)},ReflectOwnKeys;R&&typeof R.ownKeys=="function"?ReflectOwnKeys=R.ownKeys:Object.getOwnPropertySymbols?ReflectOwnKeys=function(qa){return Object.getOwnPropertyNames(qa).concat(Object.getOwnPropertySymbols(qa))}:ReflectOwnKeys=function(qa){return Object.getOwnPropertyNames(qa)};function ProcessEmitWarning(Ra){console&&console.warn&&console.warn(Ra)}var NumberIsNaN=Number.isNaN||function(qa){return qa!==qa};function EventEmitter(){EventEmitter.init.call(this)}events.exports=EventEmitter;events.exports.once=once$3;EventEmitter.EventEmitter=EventEmitter;EventEmitter.prototype._events=void 0;EventEmitter.prototype._eventsCount=0;EventEmitter.prototype._maxListeners=void 0;var defaultMaxListeners=10;function checkListener(Ra){if(typeof Ra!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Ra)}Object.defineProperty(EventEmitter,"defaultMaxListeners",{enumerable:!0,get:function(){return defaultMaxListeners},set:function(Ra){if(typeof Ra!="number"||Ra<0||NumberIsNaN(Ra))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Ra+".");defaultMaxListeners=Ra}});EventEmitter.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};EventEmitter.prototype.setMaxListeners=function(qa){if(typeof qa!="number"||qa<0||NumberIsNaN(qa))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+qa+".");return this._maxListeners=qa,this};function _getMaxListeners(Ra){return Ra._maxListeners===void 0?EventEmitter.defaultMaxListeners:Ra._maxListeners}EventEmitter.prototype.getMaxListeners=function(){return _getMaxListeners(this)};EventEmitter.prototype.emit=function(qa){for(var nd=[],od=1;od0&&(cd=nd[0]),cd instanceof Error)throw cd;var dd=new Error("Unhandled error."+(cd?" ("+cd.message+")":""));throw dd.context=cd,dd}var pd=ud[qa];if(pd===void 0)return!1;if(typeof pd=="function")ReflectApply(pd,this,nd);else for(var fd=pd.length,md=arrayClone(pd,fd),od=0;od0&&cd.length>ld&&!cd.warned){cd.warned=!0;var dd=new Error("Possible EventEmitter memory leak detected. "+cd.length+" "+String(qa)+" listeners added. Use emitter.setMaxListeners() to increase limit");dd.name="MaxListenersExceededWarning",dd.emitter=Ra,dd.type=qa,dd.count=cd.length,ProcessEmitWarning(dd)}return Ra}EventEmitter.prototype.addListener=function(qa,nd){return _addListener(this,qa,nd,!1)};EventEmitter.prototype.on=EventEmitter.prototype.addListener;EventEmitter.prototype.prependListener=function(qa,nd){return _addListener(this,qa,nd,!0)};function onceWrapper(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _onceWrap(Ra,qa,nd){var od={fired:!1,wrapFn:void 0,target:Ra,type:qa,listener:nd},ld=onceWrapper.bind(od);return ld.listener=nd,od.wrapFn=ld,ld}EventEmitter.prototype.once=function(qa,nd){return checkListener(nd),this.on(qa,_onceWrap(this,qa,nd)),this};EventEmitter.prototype.prependOnceListener=function(qa,nd){return checkListener(nd),this.prependListener(qa,_onceWrap(this,qa,nd)),this};EventEmitter.prototype.removeListener=function(qa,nd){var od,ld,ud,cd,dd;if(checkListener(nd),ld=this._events,ld===void 0)return this;if(od=ld[qa],od===void 0)return this;if(od===nd||od.listener===nd)--this._eventsCount===0?this._events=Object.create(null):(delete ld[qa],ld.removeListener&&this.emit("removeListener",qa,od.listener||nd));else if(typeof od!="function"){for(ud=-1,cd=od.length-1;cd>=0;cd--)if(od[cd]===nd||od[cd].listener===nd){dd=od[cd].listener,ud=cd;break}if(ud<0)return this;ud===0?od.shift():spliceOne(od,ud),od.length===1&&(ld[qa]=od[0]),ld.removeListener!==void 0&&this.emit("removeListener",qa,dd||nd)}return this};EventEmitter.prototype.off=EventEmitter.prototype.removeListener;EventEmitter.prototype.removeAllListeners=function(qa){var nd,od,ld;if(od=this._events,od===void 0)return this;if(od.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):od[qa]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete od[qa]),this;if(arguments.length===0){var ud=Object.keys(od),cd;for(ld=0;ld=0;ld--)this.removeListener(qa,nd[ld]);return this};function _listeners(Ra,qa,nd){var od=Ra._events;if(od===void 0)return[];var ld=od[qa];return ld===void 0?[]:typeof ld=="function"?nd?[ld.listener||ld]:[ld]:nd?unwrapListeners(ld):arrayClone(ld,ld.length)}EventEmitter.prototype.listeners=function(qa){return _listeners(this,qa,!0)};EventEmitter.prototype.rawListeners=function(qa){return _listeners(this,qa,!1)};EventEmitter.listenerCount=function(Ra,qa){return typeof Ra.listenerCount=="function"?Ra.listenerCount(qa):listenerCount.call(Ra,qa)};EventEmitter.prototype.listenerCount=listenerCount;function listenerCount(Ra){var qa=this._events;if(qa!==void 0){var nd=qa[Ra];if(typeof nd=="function")return 1;if(nd!==void 0)return nd.length}return 0}EventEmitter.prototype.eventNames=function(){return this._eventsCount>0?ReflectOwnKeys(this._events):[]};function arrayClone(Ra,qa){for(var nd=new Array(qa),od=0;od0)throw new Error("Invalid string. Length must be a multiple of 4");var kd=Nd.indexOf("=");kd===-1&&(kd=Id);var jd=kd===Id?0:4-kd%4;return[kd,jd]}function dd(Nd){var Id=cd(Nd),kd=Id[0],jd=Id[1];return(kd+jd)*3/4-jd}function pd(Nd,Id,kd){return(Id+kd)*3/4-kd}function fd(Nd){var Id,kd=cd(Nd),jd=kd[0],Fd=kd[1],Md=new nd(pd(Nd,jd,Fd)),Ld=0,Hd=Fd>0?jd-4:jd,Gd;for(Gd=0;Gd>16&255,Md[Ld++]=Id>>8&255,Md[Ld++]=Id&255;return Fd===2&&(Id=qa[Nd.charCodeAt(Gd)]<<2|qa[Nd.charCodeAt(Gd+1)]>>4,Md[Ld++]=Id&255),Fd===1&&(Id=qa[Nd.charCodeAt(Gd)]<<10|qa[Nd.charCodeAt(Gd+1)]<<4|qa[Nd.charCodeAt(Gd+2)]>>2,Md[Ld++]=Id>>8&255,Md[Ld++]=Id&255),Md}function md(Nd){return Ra[Nd>>18&63]+Ra[Nd>>12&63]+Ra[Nd>>6&63]+Ra[Nd&63]}function vd(Nd,Id,kd){for(var jd,Fd=[],Md=Id;MdHd?Hd:Ld+Md));return jd===1?(Id=Nd[kd-1],Fd.push(Ra[Id>>2]+Ra[Id<<4&63]+"==")):jd===2&&(Id=(Nd[kd-2]<<8)+Nd[kd-1],Fd.push(Ra[Id>>10]+Ra[Id>>4&63]+Ra[Id<<2&63]+"=")),Fd.join("")}return base64Js}var ieee754={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ieee754.read=function(Ra,qa,nd,od,ld){var ud,cd,dd=ld*8-od-1,pd=(1<>1,md=-7,vd=nd?ld-1:0,Ad=nd?-1:1,Nd=Ra[qa+vd];for(vd+=Ad,ud=Nd&(1<<-md)-1,Nd>>=-md,md+=dd;md>0;ud=ud*256+Ra[qa+vd],vd+=Ad,md-=8);for(cd=ud&(1<<-md)-1,ud>>=-md,md+=od;md>0;cd=cd*256+Ra[qa+vd],vd+=Ad,md-=8);if(ud===0)ud=1-fd;else{if(ud===pd)return cd?NaN:(Nd?-1:1)*(1/0);cd=cd+Math.pow(2,od),ud=ud-fd}return(Nd?-1:1)*cd*Math.pow(2,ud-od)};ieee754.write=function(Ra,qa,nd,od,ld,ud){var cd,dd,pd,fd=ud*8-ld-1,md=(1<>1,Ad=ld===23?Math.pow(2,-24)-Math.pow(2,-77):0,Nd=od?0:ud-1,Id=od?1:-1,kd=qa<0||qa===0&&1/qa<0?1:0;for(qa=Math.abs(qa),isNaN(qa)||qa===1/0?(dd=isNaN(qa)?1:0,cd=md):(cd=Math.floor(Math.log(qa)/Math.LN2),qa*(pd=Math.pow(2,-cd))<1&&(cd--,pd*=2),cd+vd>=1?qa+=Ad/pd:qa+=Ad*Math.pow(2,1-vd),qa*pd>=2&&(cd++,pd/=2),cd+vd>=md?(dd=0,cd=md):cd+vd>=1?(dd=(qa*pd-1)*Math.pow(2,ld),cd=cd+vd):(dd=qa*Math.pow(2,vd-1)*Math.pow(2,ld),cd=0));ld>=8;Ra[nd+Nd]=dd&255,Nd+=Id,dd/=256,ld-=8);for(cd=cd<0;Ra[nd+Nd]=cd&255,Nd+=Id,cd/=256,fd-=8);Ra[nd+Nd-Id]|=kd*128};/*! + */return nd.mode.CTRGladman=function(){var od=nd.lib.BlockCipherMode.extend();function ld(dd){if((dd>>24&255)===255){var pd=dd>>16&255,fd=dd>>8&255,md=dd&255;pd===255?(pd=0,fd===255?(fd=0,md===255?md=0:++md):++fd):++pd,dd=0,dd+=pd<<16,dd+=fd<<8,dd+=md}else dd+=1<<24;return dd}function ud(dd){return(dd[0]=ld(dd[0]))===0&&(dd[1]=ld(dd[1])),dd}var cd=od.Encryptor=od.extend({processBlock:function(dd,pd){var fd=this._cipher,md=fd.blockSize,vd=this._iv,Ad=this._counter;vd&&(Ad=this._counter=vd.slice(0),this._iv=void 0),ud(Ad);var Nd=Ad.slice(0);fd.encryptBlock(Nd,0);for(var Id=0;Id>>2]|=dd<<24-pd%4*8,od.sigBytes+=dd},unpad:function(od){var ld=od.words[od.sigBytes-1>>>2]&255;od.sigBytes-=ld}},nd.pad.Ansix923})}(padAnsix923)),padAnsix923.exports}var padIso10126={exports:{}},hasRequiredPadIso10126;function requirePadIso10126(){return hasRequiredPadIso10126||(hasRequiredPadIso10126=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.Iso10126={pad:function(od,ld){var ud=ld*4,cd=ud-od.sigBytes%ud;od.concat(nd.lib.WordArray.random(cd-1)).concat(nd.lib.WordArray.create([cd<<24],1))},unpad:function(od){var ld=od.words[od.sigBytes-1>>>2]&255;od.sigBytes-=ld}},nd.pad.Iso10126})}(padIso10126)),padIso10126.exports}var padIso97971={exports:{}},hasRequiredPadIso97971;function requirePadIso97971(){return hasRequiredPadIso97971||(hasRequiredPadIso97971=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.Iso97971={pad:function(od,ld){od.concat(nd.lib.WordArray.create([2147483648],1)),nd.pad.ZeroPadding.pad(od,ld)},unpad:function(od){nd.pad.ZeroPadding.unpad(od),od.sigBytes--}},nd.pad.Iso97971})}(padIso97971)),padIso97971.exports}var padZeropadding={exports:{}},hasRequiredPadZeropadding;function requirePadZeropadding(){return hasRequiredPadZeropadding||(hasRequiredPadZeropadding=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.ZeroPadding={pad:function(od,ld){var ud=ld*4;od.clamp(),od.sigBytes+=ud-(od.sigBytes%ud||ud)},unpad:function(od){for(var ld=od.words,ud=od.sigBytes-1,ud=od.sigBytes-1;ud>=0;ud--)if(ld[ud>>>2]>>>24-ud%4*8&255){od.sigBytes=ud+1;break}}},nd.pad.ZeroPadding})}(padZeropadding)),padZeropadding.exports}var padNopadding={exports:{}},hasRequiredPadNopadding;function requirePadNopadding(){return hasRequiredPadNopadding||(hasRequiredPadNopadding=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return nd.pad.NoPadding={pad:function(){},unpad:function(){}},nd.pad.NoPadding})}(padNopadding)),padNopadding.exports}var formatHex={exports:{}},hasRequiredFormatHex;function requireFormatHex(){return hasRequiredFormatHex||(hasRequiredFormatHex=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireCipherCore())})(commonjsGlobal,function(nd){return function(od){var ld=nd,ud=ld.lib,cd=ud.CipherParams,dd=ld.enc,pd=dd.Hex,fd=ld.format;fd.Hex={stringify:function(md){return md.ciphertext.toString(pd)},parse:function(md){var vd=pd.parse(md);return cd.create({ciphertext:vd})}}}(),nd.format.Hex})}(formatHex)),formatHex.exports}var aes={exports:{}},hasRequiredAes;function requireAes(){return hasRequiredAes||(hasRequiredAes=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.BlockCipher,cd=od.algo,dd=[],pd=[],fd=[],md=[],vd=[],Ad=[],Nd=[],Id=[],kd=[],jd=[];(function(){for(var Ld=[],Hd=0;Hd<256;Hd++)Hd<128?Ld[Hd]=Hd<<1:Ld[Hd]=Hd<<1^283;for(var Gd=0,Vd=0,Hd=0;Hd<256;Hd++){var Kd=Vd^Vd<<1^Vd<<2^Vd<<3^Vd<<4;Kd=Kd>>>8^Kd&255^99,dd[Gd]=Kd,pd[Kd]=Gd;var mf=Ld[Gd],Wd=Ld[mf],Zd=Ld[Wd],Xd=Ld[Kd]*257^Kd*16843008;fd[Gd]=Xd<<24|Xd>>>8,md[Gd]=Xd<<16|Xd>>>16,vd[Gd]=Xd<<8|Xd>>>24,Ad[Gd]=Xd;var Xd=Zd*16843009^Wd*65537^mf*257^Gd*16843008;Nd[Kd]=Xd<<24|Xd>>>8,Id[Kd]=Xd<<16|Xd>>>16,kd[Kd]=Xd<<8|Xd>>>24,jd[Kd]=Xd,Gd?(Gd=mf^Ld[Ld[Ld[Zd^mf]]],Vd^=Ld[Ld[Vd]]):Gd=Vd=1}})();var Fd=[0,1,2,4,8,16,32,64,128,27,54],Md=cd.AES=ud.extend({_doReset:function(){var Ld;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var Hd=this._keyPriorReset=this._key,Gd=Hd.words,Vd=Hd.sigBytes/4,Kd=this._nRounds=Vd+6,mf=(Kd+1)*4,Wd=this._keySchedule=[],Zd=0;Zd6&&Zd%Vd==4&&(Ld=dd[Ld>>>24]<<24|dd[Ld>>>16&255]<<16|dd[Ld>>>8&255]<<8|dd[Ld&255]):(Ld=Ld<<8|Ld>>>24,Ld=dd[Ld>>>24]<<24|dd[Ld>>>16&255]<<16|dd[Ld>>>8&255]<<8|dd[Ld&255],Ld^=Fd[Zd/Vd|0]<<24),Wd[Zd]=Wd[Zd-Vd]^Ld);for(var Xd=this._invKeySchedule=[],bf=0;bf>>24]]^Id[dd[Ld>>>16&255]]^kd[dd[Ld>>>8&255]]^jd[dd[Ld&255]]}}},encryptBlock:function(Ld,Hd){this._doCryptBlock(Ld,Hd,this._keySchedule,fd,md,vd,Ad,dd)},decryptBlock:function(Ld,Hd){var Gd=Ld[Hd+1];Ld[Hd+1]=Ld[Hd+3],Ld[Hd+3]=Gd,this._doCryptBlock(Ld,Hd,this._invKeySchedule,Nd,Id,kd,jd,pd);var Gd=Ld[Hd+1];Ld[Hd+1]=Ld[Hd+3],Ld[Hd+3]=Gd},_doCryptBlock:function(Ld,Hd,Gd,Vd,Kd,mf,Wd,Zd){for(var Xd=this._nRounds,bf=Ld[Hd]^Gd[0],yf=Ld[Hd+1]^Gd[1],Ef=Ld[Hd+2]^Gd[2],gf=Ld[Hd+3]^Gd[3],xf=4,Af=1;Af>>24]^Kd[yf>>>16&255]^mf[Ef>>>8&255]^Wd[gf&255]^Gd[xf++],Xf=Vd[yf>>>24]^Kd[Ef>>>16&255]^mf[gf>>>8&255]^Wd[bf&255]^Gd[xf++],Jf=Vd[Ef>>>24]^Kd[gf>>>16&255]^mf[bf>>>8&255]^Wd[yf&255]^Gd[xf++],Zf=Vd[gf>>>24]^Kd[bf>>>16&255]^mf[yf>>>8&255]^Wd[Ef&255]^Gd[xf++];bf=Lf,yf=Xf,Ef=Jf,gf=Zf}var Lf=(Zd[bf>>>24]<<24|Zd[yf>>>16&255]<<16|Zd[Ef>>>8&255]<<8|Zd[gf&255])^Gd[xf++],Xf=(Zd[yf>>>24]<<24|Zd[Ef>>>16&255]<<16|Zd[gf>>>8&255]<<8|Zd[bf&255])^Gd[xf++],Jf=(Zd[Ef>>>24]<<24|Zd[gf>>>16&255]<<16|Zd[bf>>>8&255]<<8|Zd[yf&255])^Gd[xf++],Zf=(Zd[gf>>>24]<<24|Zd[bf>>>16&255]<<16|Zd[yf>>>8&255]<<8|Zd[Ef&255])^Gd[xf++];Ld[Hd]=Lf,Ld[Hd+1]=Xf,Ld[Hd+2]=Jf,Ld[Hd+3]=Zf},keySize:256/32});od.AES=ud._createHelper(Md)}(),nd.AES})}(aes)),aes.exports}var tripledes={exports:{}},hasRequiredTripledes;function requireTripledes(){return hasRequiredTripledes||(hasRequiredTripledes=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.WordArray,cd=ld.BlockCipher,dd=od.algo,pd=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],fd=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],md=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],vd=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],Ad=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],Nd=dd.DES=cd.extend({_doReset:function(){for(var Fd=this._key,Md=Fd.words,Ld=[],Hd=0;Hd<56;Hd++){var Gd=pd[Hd]-1;Ld[Hd]=Md[Gd>>>5]>>>31-Gd%32&1}for(var Vd=this._subKeys=[],Kd=0;Kd<16;Kd++){for(var mf=Vd[Kd]=[],Wd=md[Kd],Hd=0;Hd<24;Hd++)mf[Hd/6|0]|=Ld[(fd[Hd]-1+Wd)%28]<<31-Hd%6,mf[4+(Hd/6|0)]|=Ld[28+(fd[Hd+24]-1+Wd)%28]<<31-Hd%6;mf[0]=mf[0]<<1|mf[0]>>>31;for(var Hd=1;Hd<7;Hd++)mf[Hd]=mf[Hd]>>>(Hd-1)*4+3;mf[7]=mf[7]<<5|mf[7]>>>27}for(var Zd=this._invSubKeys=[],Hd=0;Hd<16;Hd++)Zd[Hd]=Vd[15-Hd]},encryptBlock:function(Fd,Md){this._doCryptBlock(Fd,Md,this._subKeys)},decryptBlock:function(Fd,Md){this._doCryptBlock(Fd,Md,this._invSubKeys)},_doCryptBlock:function(Fd,Md,Ld){this._lBlock=Fd[Md],this._rBlock=Fd[Md+1],Id.call(this,4,252645135),Id.call(this,16,65535),kd.call(this,2,858993459),kd.call(this,8,16711935),Id.call(this,1,1431655765);for(var Hd=0;Hd<16;Hd++){for(var Gd=Ld[Hd],Vd=this._lBlock,Kd=this._rBlock,mf=0,Wd=0;Wd<8;Wd++)mf|=vd[Wd][((Kd^Gd[Wd])&Ad[Wd])>>>0];this._lBlock=Kd,this._rBlock=Vd^mf}var Zd=this._lBlock;this._lBlock=this._rBlock,this._rBlock=Zd,Id.call(this,1,1431655765),kd.call(this,8,16711935),kd.call(this,2,858993459),Id.call(this,16,65535),Id.call(this,4,252645135),Fd[Md]=this._lBlock,Fd[Md+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function Id(Fd,Md){var Ld=(this._lBlock>>>Fd^this._rBlock)&Md;this._rBlock^=Ld,this._lBlock^=Ld<>>Fd^this._lBlock)&Md;this._lBlock^=Ld,this._rBlock^=Ld<192.");var Ld=Md.slice(0,2),Hd=Md.length<4?Md.slice(0,2):Md.slice(2,4),Gd=Md.length<6?Md.slice(0,2):Md.slice(4,6);this._des1=Nd.createEncryptor(ud.create(Ld)),this._des2=Nd.createEncryptor(ud.create(Hd)),this._des3=Nd.createEncryptor(ud.create(Gd))},encryptBlock:function(Fd,Md){this._des1.encryptBlock(Fd,Md),this._des2.decryptBlock(Fd,Md),this._des3.encryptBlock(Fd,Md)},decryptBlock:function(Fd,Md){this._des3.decryptBlock(Fd,Md),this._des2.encryptBlock(Fd,Md),this._des1.decryptBlock(Fd,Md)},keySize:192/32,ivSize:64/32,blockSize:64/32});od.TripleDES=cd._createHelper(jd)}(),nd.TripleDES})}(tripledes)),tripledes.exports}var rc4={exports:{}},hasRequiredRc4;function requireRc4(){return hasRequiredRc4||(hasRequiredRc4=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.StreamCipher,cd=od.algo,dd=cd.RC4=ud.extend({_doReset:function(){for(var md=this._key,vd=md.words,Ad=md.sigBytes,Nd=this._S=[],Id=0;Id<256;Id++)Nd[Id]=Id;for(var Id=0,kd=0;Id<256;Id++){var jd=Id%Ad,Fd=vd[jd>>>2]>>>24-jd%4*8&255;kd=(kd+Nd[Id]+Fd)%256;var Md=Nd[Id];Nd[Id]=Nd[kd],Nd[kd]=Md}this._i=this._j=0},_doProcessBlock:function(md,vd){md[vd]^=pd.call(this)},keySize:256/32,ivSize:0});function pd(){for(var md=this._S,vd=this._i,Ad=this._j,Nd=0,Id=0;Id<4;Id++){vd=(vd+1)%256,Ad=(Ad+md[vd])%256;var kd=md[vd];md[vd]=md[Ad],md[Ad]=kd,Nd|=md[(md[vd]+md[Ad])%256]<<24-Id*8}return this._i=vd,this._j=Ad,Nd}od.RC4=ud._createHelper(dd);var fd=cd.RC4Drop=dd.extend({cfg:dd.cfg.extend({drop:192}),_doReset:function(){dd._doReset.call(this);for(var md=this.cfg.drop;md>0;md--)pd.call(this)}});od.RC4Drop=ud._createHelper(fd)}(),nd.RC4})}(rc4)),rc4.exports}var rabbit={exports:{}},hasRequiredRabbit;function requireRabbit(){return hasRequiredRabbit||(hasRequiredRabbit=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.StreamCipher,cd=od.algo,dd=[],pd=[],fd=[],md=cd.Rabbit=ud.extend({_doReset:function(){for(var Ad=this._key.words,Nd=this.cfg.iv,Id=0;Id<4;Id++)Ad[Id]=(Ad[Id]<<8|Ad[Id]>>>24)&16711935|(Ad[Id]<<24|Ad[Id]>>>8)&4278255360;var kd=this._X=[Ad[0],Ad[3]<<16|Ad[2]>>>16,Ad[1],Ad[0]<<16|Ad[3]>>>16,Ad[2],Ad[1]<<16|Ad[0]>>>16,Ad[3],Ad[2]<<16|Ad[1]>>>16],jd=this._C=[Ad[2]<<16|Ad[2]>>>16,Ad[0]&4294901760|Ad[1]&65535,Ad[3]<<16|Ad[3]>>>16,Ad[1]&4294901760|Ad[2]&65535,Ad[0]<<16|Ad[0]>>>16,Ad[2]&4294901760|Ad[3]&65535,Ad[1]<<16|Ad[1]>>>16,Ad[3]&4294901760|Ad[0]&65535];this._b=0;for(var Id=0;Id<4;Id++)vd.call(this);for(var Id=0;Id<8;Id++)jd[Id]^=kd[Id+4&7];if(Nd){var Fd=Nd.words,Md=Fd[0],Ld=Fd[1],Hd=(Md<<8|Md>>>24)&16711935|(Md<<24|Md>>>8)&4278255360,Gd=(Ld<<8|Ld>>>24)&16711935|(Ld<<24|Ld>>>8)&4278255360,Vd=Hd>>>16|Gd&4294901760,Kd=Gd<<16|Hd&65535;jd[0]^=Hd,jd[1]^=Vd,jd[2]^=Gd,jd[3]^=Kd,jd[4]^=Hd,jd[5]^=Vd,jd[6]^=Gd,jd[7]^=Kd;for(var Id=0;Id<4;Id++)vd.call(this)}},_doProcessBlock:function(Ad,Nd){var Id=this._X;vd.call(this),dd[0]=Id[0]^Id[5]>>>16^Id[3]<<16,dd[1]=Id[2]^Id[7]>>>16^Id[5]<<16,dd[2]=Id[4]^Id[1]>>>16^Id[7]<<16,dd[3]=Id[6]^Id[3]>>>16^Id[1]<<16;for(var kd=0;kd<4;kd++)dd[kd]=(dd[kd]<<8|dd[kd]>>>24)&16711935|(dd[kd]<<24|dd[kd]>>>8)&4278255360,Ad[Nd+kd]^=dd[kd]},blockSize:128/32,ivSize:64/32});function vd(){for(var Ad=this._X,Nd=this._C,Id=0;Id<8;Id++)pd[Id]=Nd[Id];Nd[0]=Nd[0]+1295307597+this._b|0,Nd[1]=Nd[1]+3545052371+(Nd[0]>>>0>>0?1:0)|0,Nd[2]=Nd[2]+886263092+(Nd[1]>>>0>>0?1:0)|0,Nd[3]=Nd[3]+1295307597+(Nd[2]>>>0>>0?1:0)|0,Nd[4]=Nd[4]+3545052371+(Nd[3]>>>0>>0?1:0)|0,Nd[5]=Nd[5]+886263092+(Nd[4]>>>0>>0?1:0)|0,Nd[6]=Nd[6]+1295307597+(Nd[5]>>>0>>0?1:0)|0,Nd[7]=Nd[7]+3545052371+(Nd[6]>>>0>>0?1:0)|0,this._b=Nd[7]>>>0>>0?1:0;for(var Id=0;Id<8;Id++){var kd=Ad[Id]+Nd[Id],jd=kd&65535,Fd=kd>>>16,Md=((jd*jd>>>17)+jd*Fd>>>15)+Fd*Fd,Ld=((kd&4294901760)*kd|0)+((kd&65535)*kd|0);fd[Id]=Md^Ld}Ad[0]=fd[0]+(fd[7]<<16|fd[7]>>>16)+(fd[6]<<16|fd[6]>>>16)|0,Ad[1]=fd[1]+(fd[0]<<8|fd[0]>>>24)+fd[7]|0,Ad[2]=fd[2]+(fd[1]<<16|fd[1]>>>16)+(fd[0]<<16|fd[0]>>>16)|0,Ad[3]=fd[3]+(fd[2]<<8|fd[2]>>>24)+fd[1]|0,Ad[4]=fd[4]+(fd[3]<<16|fd[3]>>>16)+(fd[2]<<16|fd[2]>>>16)|0,Ad[5]=fd[5]+(fd[4]<<8|fd[4]>>>24)+fd[3]|0,Ad[6]=fd[6]+(fd[5]<<16|fd[5]>>>16)+(fd[4]<<16|fd[4]>>>16)|0,Ad[7]=fd[7]+(fd[6]<<8|fd[6]>>>24)+fd[5]|0}od.Rabbit=ud._createHelper(md)}(),nd.Rabbit})}(rabbit)),rabbit.exports}var rabbitLegacy={exports:{}},hasRequiredRabbitLegacy;function requireRabbitLegacy(){return hasRequiredRabbitLegacy||(hasRequiredRabbitLegacy=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.StreamCipher,cd=od.algo,dd=[],pd=[],fd=[],md=cd.RabbitLegacy=ud.extend({_doReset:function(){var Ad=this._key.words,Nd=this.cfg.iv,Id=this._X=[Ad[0],Ad[3]<<16|Ad[2]>>>16,Ad[1],Ad[0]<<16|Ad[3]>>>16,Ad[2],Ad[1]<<16|Ad[0]>>>16,Ad[3],Ad[2]<<16|Ad[1]>>>16],kd=this._C=[Ad[2]<<16|Ad[2]>>>16,Ad[0]&4294901760|Ad[1]&65535,Ad[3]<<16|Ad[3]>>>16,Ad[1]&4294901760|Ad[2]&65535,Ad[0]<<16|Ad[0]>>>16,Ad[2]&4294901760|Ad[3]&65535,Ad[1]<<16|Ad[1]>>>16,Ad[3]&4294901760|Ad[0]&65535];this._b=0;for(var jd=0;jd<4;jd++)vd.call(this);for(var jd=0;jd<8;jd++)kd[jd]^=Id[jd+4&7];if(Nd){var Fd=Nd.words,Md=Fd[0],Ld=Fd[1],Hd=(Md<<8|Md>>>24)&16711935|(Md<<24|Md>>>8)&4278255360,Gd=(Ld<<8|Ld>>>24)&16711935|(Ld<<24|Ld>>>8)&4278255360,Vd=Hd>>>16|Gd&4294901760,Kd=Gd<<16|Hd&65535;kd[0]^=Hd,kd[1]^=Vd,kd[2]^=Gd,kd[3]^=Kd,kd[4]^=Hd,kd[5]^=Vd,kd[6]^=Gd,kd[7]^=Kd;for(var jd=0;jd<4;jd++)vd.call(this)}},_doProcessBlock:function(Ad,Nd){var Id=this._X;vd.call(this),dd[0]=Id[0]^Id[5]>>>16^Id[3]<<16,dd[1]=Id[2]^Id[7]>>>16^Id[5]<<16,dd[2]=Id[4]^Id[1]>>>16^Id[7]<<16,dd[3]=Id[6]^Id[3]>>>16^Id[1]<<16;for(var kd=0;kd<4;kd++)dd[kd]=(dd[kd]<<8|dd[kd]>>>24)&16711935|(dd[kd]<<24|dd[kd]>>>8)&4278255360,Ad[Nd+kd]^=dd[kd]},blockSize:128/32,ivSize:64/32});function vd(){for(var Ad=this._X,Nd=this._C,Id=0;Id<8;Id++)pd[Id]=Nd[Id];Nd[0]=Nd[0]+1295307597+this._b|0,Nd[1]=Nd[1]+3545052371+(Nd[0]>>>0>>0?1:0)|0,Nd[2]=Nd[2]+886263092+(Nd[1]>>>0>>0?1:0)|0,Nd[3]=Nd[3]+1295307597+(Nd[2]>>>0>>0?1:0)|0,Nd[4]=Nd[4]+3545052371+(Nd[3]>>>0>>0?1:0)|0,Nd[5]=Nd[5]+886263092+(Nd[4]>>>0>>0?1:0)|0,Nd[6]=Nd[6]+1295307597+(Nd[5]>>>0>>0?1:0)|0,Nd[7]=Nd[7]+3545052371+(Nd[6]>>>0>>0?1:0)|0,this._b=Nd[7]>>>0>>0?1:0;for(var Id=0;Id<8;Id++){var kd=Ad[Id]+Nd[Id],jd=kd&65535,Fd=kd>>>16,Md=((jd*jd>>>17)+jd*Fd>>>15)+Fd*Fd,Ld=((kd&4294901760)*kd|0)+((kd&65535)*kd|0);fd[Id]=Md^Ld}Ad[0]=fd[0]+(fd[7]<<16|fd[7]>>>16)+(fd[6]<<16|fd[6]>>>16)|0,Ad[1]=fd[1]+(fd[0]<<8|fd[0]>>>24)+fd[7]|0,Ad[2]=fd[2]+(fd[1]<<16|fd[1]>>>16)+(fd[0]<<16|fd[0]>>>16)|0,Ad[3]=fd[3]+(fd[2]<<8|fd[2]>>>24)+fd[1]|0,Ad[4]=fd[4]+(fd[3]<<16|fd[3]>>>16)+(fd[2]<<16|fd[2]>>>16)|0,Ad[5]=fd[5]+(fd[4]<<8|fd[4]>>>24)+fd[3]|0,Ad[6]=fd[6]+(fd[5]<<16|fd[5]>>>16)+(fd[4]<<16|fd[4]>>>16)|0,Ad[7]=fd[7]+(fd[6]<<8|fd[6]>>>24)+fd[5]|0}od.RabbitLegacy=ud._createHelper(md)}(),nd.RabbitLegacy})}(rabbitLegacy)),rabbitLegacy.exports}var blowfish={exports:{}},hasRequiredBlowfish;function requireBlowfish(){return hasRequiredBlowfish||(hasRequiredBlowfish=1,function(Ra,qa){(function(nd,od,ld){Ra.exports=od(requireCore(),requireEncBase64(),requireMd5$1(),requireEvpkdf(),requireCipherCore())})(commonjsGlobal,function(nd){return function(){var od=nd,ld=od.lib,ud=ld.BlockCipher,cd=od.algo;const dd=16,pd=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],fd=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var md={pbox:[],sbox:[]};function vd(jd,Fd){let Md=Fd>>24&255,Ld=Fd>>16&255,Hd=Fd>>8&255,Gd=Fd&255,Vd=jd.sbox[0][Md]+jd.sbox[1][Ld];return Vd=Vd^jd.sbox[2][Hd],Vd=Vd+jd.sbox[3][Gd],Vd}function Ad(jd,Fd,Md){let Ld=Fd,Hd=Md,Gd;for(let Vd=0;Vd1;--Vd)Ld=Ld^jd.pbox[Vd],Hd=vd(jd,Ld)^Hd,Gd=Ld,Ld=Hd,Hd=Gd;return Gd=Ld,Ld=Hd,Hd=Gd,Hd=Hd^jd.pbox[1],Ld=Ld^jd.pbox[0],{left:Ld,right:Hd}}function Id(jd,Fd,Md){for(let Kd=0;Kd<4;Kd++){jd.sbox[Kd]=[];for(let mf=0;mf<256;mf++)jd.sbox[Kd][mf]=fd[Kd][mf]}let Ld=0;for(let Kd=0;Kd=Md&&(Ld=0);let Hd=0,Gd=0,Vd=0;for(let Kd=0;Kd2){var pd=nd.lastIndexOf("/");if(pd!==nd.length-1){pd===-1?(nd="",od=0):(nd=nd.slice(0,pd),od=nd.length-1-nd.lastIndexOf("/")),ld=dd,ud=0;continue}}else if(nd.length===2||nd.length===1){nd="",od=0,ld=dd,ud=0;continue}}qa&&(nd.length>0?nd+="/..":nd="..",od=2)}else nd.length>0?nd+="/"+Ra.slice(ld+1,dd):nd=Ra.slice(ld+1,dd),od=dd-ld-1;ld=dd,ud=0}else cd===46&&ud!==-1?++ud:ud=-1}return nd}function _format(Ra,qa){var nd=qa.dir||qa.root,od=qa.base||(qa.name||"")+(qa.ext||"");return nd?nd===qa.root?nd+od:nd+Ra+od:od}var posix={resolve:function(){for(var qa="",nd=!1,od,ld=arguments.length-1;ld>=-1&&!nd;ld--){var ud;ld>=0?ud=arguments[ld]:(od===void 0&&(od=define_process_default$7.cwd()),ud=od),assertPath(ud),ud.length!==0&&(qa=ud+"/"+qa,nd=ud.charCodeAt(0)===47)}return qa=normalizeStringPosix(qa,!nd),nd?qa.length>0?"/"+qa:"/":qa.length>0?qa:"."},normalize:function(qa){if(assertPath(qa),qa.length===0)return".";var nd=qa.charCodeAt(0)===47,od=qa.charCodeAt(qa.length-1)===47;return qa=normalizeStringPosix(qa,!nd),qa.length===0&&!nd&&(qa="."),qa.length>0&&od&&(qa+="/"),nd?"/"+qa:qa},isAbsolute:function(qa){return assertPath(qa),qa.length>0&&qa.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var qa,nd=0;nd0&&(qa===void 0?qa=od:qa+="/"+od)}return qa===void 0?".":posix.normalize(qa)},relative:function(qa,nd){if(assertPath(qa),assertPath(nd),qa===nd||(qa=posix.resolve(qa),nd=posix.resolve(nd),qa===nd))return"";for(var od=1;odfd){if(nd.charCodeAt(cd+vd)===47)return nd.slice(cd+vd+1);if(vd===0)return nd.slice(cd+vd)}else ud>fd&&(qa.charCodeAt(od+vd)===47?md=vd:vd===0&&(md=0));break}var Ad=qa.charCodeAt(od+vd),Nd=nd.charCodeAt(cd+vd);if(Ad!==Nd)break;Ad===47&&(md=vd)}var Id="";for(vd=od+md+1;vd<=ld;++vd)(vd===ld||qa.charCodeAt(vd)===47)&&(Id.length===0?Id+="..":Id+="/..");return Id.length>0?Id+nd.slice(cd+md):(cd+=md,nd.charCodeAt(cd)===47&&++cd,nd.slice(cd))},_makeLong:function(qa){return qa},dirname:function(qa){if(assertPath(qa),qa.length===0)return".";for(var nd=qa.charCodeAt(0),od=nd===47,ld=-1,ud=!0,cd=qa.length-1;cd>=1;--cd)if(nd=qa.charCodeAt(cd),nd===47){if(!ud){ld=cd;break}}else ud=!1;return ld===-1?od?"/":".":od&&ld===1?"//":qa.slice(0,ld)},basename:function(qa,nd){if(nd!==void 0&&typeof nd!="string")throw new TypeError('"ext" argument must be a string');assertPath(qa);var od=0,ld=-1,ud=!0,cd;if(nd!==void 0&&nd.length>0&&nd.length<=qa.length){if(nd.length===qa.length&&nd===qa)return"";var dd=nd.length-1,pd=-1;for(cd=qa.length-1;cd>=0;--cd){var fd=qa.charCodeAt(cd);if(fd===47){if(!ud){od=cd+1;break}}else pd===-1&&(ud=!1,pd=cd+1),dd>=0&&(fd===nd.charCodeAt(dd)?--dd===-1&&(ld=cd):(dd=-1,ld=pd))}return od===ld?ld=pd:ld===-1&&(ld=qa.length),qa.slice(od,ld)}else{for(cd=qa.length-1;cd>=0;--cd)if(qa.charCodeAt(cd)===47){if(!ud){od=cd+1;break}}else ld===-1&&(ud=!1,ld=cd+1);return ld===-1?"":qa.slice(od,ld)}},extname:function(qa){assertPath(qa);for(var nd=-1,od=0,ld=-1,ud=!0,cd=0,dd=qa.length-1;dd>=0;--dd){var pd=qa.charCodeAt(dd);if(pd===47){if(!ud){od=dd+1;break}continue}ld===-1&&(ud=!1,ld=dd+1),pd===46?nd===-1?nd=dd:cd!==1&&(cd=1):nd!==-1&&(cd=-1)}return nd===-1||ld===-1||cd===0||cd===1&&nd===ld-1&&nd===od+1?"":qa.slice(nd,ld)},format:function(qa){if(qa===null||typeof qa!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof qa);return _format("/",qa)},parse:function(qa){assertPath(qa);var nd={root:"",dir:"",base:"",ext:"",name:""};if(qa.length===0)return nd;var od=qa.charCodeAt(0),ld=od===47,ud;ld?(nd.root="/",ud=1):ud=0;for(var cd=-1,dd=0,pd=-1,fd=!0,md=qa.length-1,vd=0;md>=ud;--md){if(od=qa.charCodeAt(md),od===47){if(!fd){dd=md+1;break}continue}pd===-1&&(fd=!1,pd=md+1),od===46?cd===-1?cd=md:vd!==1&&(vd=1):cd!==-1&&(vd=-1)}return cd===-1||pd===-1||vd===0||vd===1&&cd===pd-1&&cd===dd+1?pd!==-1&&(dd===0&&ld?nd.base=nd.name=qa.slice(1,pd):nd.base=nd.name=qa.slice(dd,pd)):(dd===0&&ld?(nd.name=qa.slice(1,cd),nd.base=qa.slice(1,pd)):(nd.name=qa.slice(dd,cd),nd.base=qa.slice(dd,pd)),nd.ext=qa.slice(cd,pd)),dd>0?nd.dir=qa.slice(0,dd-1):ld&&(nd.dir="/"),nd},sep:"/",delimiter:":",win32:null,posix:null};posix.posix=posix;var pathBrowserify=posix,events={exports:{}},R=typeof Reflect=="object"?Reflect:null,ReflectApply=R&&typeof R.apply=="function"?R.apply:function(qa,nd,od){return Function.prototype.apply.call(qa,nd,od)},ReflectOwnKeys;R&&typeof R.ownKeys=="function"?ReflectOwnKeys=R.ownKeys:Object.getOwnPropertySymbols?ReflectOwnKeys=function(qa){return Object.getOwnPropertyNames(qa).concat(Object.getOwnPropertySymbols(qa))}:ReflectOwnKeys=function(qa){return Object.getOwnPropertyNames(qa)};function ProcessEmitWarning(Ra){console&&console.warn&&console.warn(Ra)}var NumberIsNaN=Number.isNaN||function(qa){return qa!==qa};function EventEmitter(){EventEmitter.init.call(this)}events.exports=EventEmitter;events.exports.once=once$3;EventEmitter.EventEmitter=EventEmitter;EventEmitter.prototype._events=void 0;EventEmitter.prototype._eventsCount=0;EventEmitter.prototype._maxListeners=void 0;var defaultMaxListeners=10;function checkListener(Ra){if(typeof Ra!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof Ra)}Object.defineProperty(EventEmitter,"defaultMaxListeners",{enumerable:!0,get:function(){return defaultMaxListeners},set:function(Ra){if(typeof Ra!="number"||Ra<0||NumberIsNaN(Ra))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+Ra+".");defaultMaxListeners=Ra}});EventEmitter.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};EventEmitter.prototype.setMaxListeners=function(qa){if(typeof qa!="number"||qa<0||NumberIsNaN(qa))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+qa+".");return this._maxListeners=qa,this};function _getMaxListeners(Ra){return Ra._maxListeners===void 0?EventEmitter.defaultMaxListeners:Ra._maxListeners}EventEmitter.prototype.getMaxListeners=function(){return _getMaxListeners(this)};EventEmitter.prototype.emit=function(qa){for(var nd=[],od=1;od0&&(cd=nd[0]),cd instanceof Error)throw cd;var dd=new Error("Unhandled error."+(cd?" ("+cd.message+")":""));throw dd.context=cd,dd}var pd=ud[qa];if(pd===void 0)return!1;if(typeof pd=="function")ReflectApply(pd,this,nd);else for(var fd=pd.length,md=arrayClone(pd,fd),od=0;od0&&cd.length>ld&&!cd.warned){cd.warned=!0;var dd=new Error("Possible EventEmitter memory leak detected. "+cd.length+" "+String(qa)+" listeners added. Use emitter.setMaxListeners() to increase limit");dd.name="MaxListenersExceededWarning",dd.emitter=Ra,dd.type=qa,dd.count=cd.length,ProcessEmitWarning(dd)}return Ra}EventEmitter.prototype.addListener=function(qa,nd){return _addListener(this,qa,nd,!1)};EventEmitter.prototype.on=EventEmitter.prototype.addListener;EventEmitter.prototype.prependListener=function(qa,nd){return _addListener(this,qa,nd,!0)};function onceWrapper(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _onceWrap(Ra,qa,nd){var od={fired:!1,wrapFn:void 0,target:Ra,type:qa,listener:nd},ld=onceWrapper.bind(od);return ld.listener=nd,od.wrapFn=ld,ld}EventEmitter.prototype.once=function(qa,nd){return checkListener(nd),this.on(qa,_onceWrap(this,qa,nd)),this};EventEmitter.prototype.prependOnceListener=function(qa,nd){return checkListener(nd),this.prependListener(qa,_onceWrap(this,qa,nd)),this};EventEmitter.prototype.removeListener=function(qa,nd){var od,ld,ud,cd,dd;if(checkListener(nd),ld=this._events,ld===void 0)return this;if(od=ld[qa],od===void 0)return this;if(od===nd||od.listener===nd)--this._eventsCount===0?this._events=Object.create(null):(delete ld[qa],ld.removeListener&&this.emit("removeListener",qa,od.listener||nd));else if(typeof od!="function"){for(ud=-1,cd=od.length-1;cd>=0;cd--)if(od[cd]===nd||od[cd].listener===nd){dd=od[cd].listener,ud=cd;break}if(ud<0)return this;ud===0?od.shift():spliceOne(od,ud),od.length===1&&(ld[qa]=od[0]),ld.removeListener!==void 0&&this.emit("removeListener",qa,dd||nd)}return this};EventEmitter.prototype.off=EventEmitter.prototype.removeListener;EventEmitter.prototype.removeAllListeners=function(qa){var nd,od,ld;if(od=this._events,od===void 0)return this;if(od.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):od[qa]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete od[qa]),this;if(arguments.length===0){var ud=Object.keys(od),cd;for(ld=0;ld=0;ld--)this.removeListener(qa,nd[ld]);return this};function _listeners(Ra,qa,nd){var od=Ra._events;if(od===void 0)return[];var ld=od[qa];return ld===void 0?[]:typeof ld=="function"?nd?[ld.listener||ld]:[ld]:nd?unwrapListeners(ld):arrayClone(ld,ld.length)}EventEmitter.prototype.listeners=function(qa){return _listeners(this,qa,!0)};EventEmitter.prototype.rawListeners=function(qa){return _listeners(this,qa,!1)};EventEmitter.listenerCount=function(Ra,qa){return typeof Ra.listenerCount=="function"?Ra.listenerCount(qa):listenerCount.call(Ra,qa)};EventEmitter.prototype.listenerCount=listenerCount;function listenerCount(Ra){var qa=this._events;if(qa!==void 0){var nd=qa[Ra];if(typeof nd=="function")return 1;if(nd!==void 0)return nd.length}return 0}EventEmitter.prototype.eventNames=function(){return this._eventsCount>0?ReflectOwnKeys(this._events):[]};function arrayClone(Ra,qa){for(var nd=new Array(qa),od=0;od0)throw new Error("Invalid string. Length must be a multiple of 4");var kd=Nd.indexOf("=");kd===-1&&(kd=Id);var jd=kd===Id?0:4-kd%4;return[kd,jd]}function dd(Nd){var Id=cd(Nd),kd=Id[0],jd=Id[1];return(kd+jd)*3/4-jd}function pd(Nd,Id,kd){return(Id+kd)*3/4-kd}function fd(Nd){var Id,kd=cd(Nd),jd=kd[0],Fd=kd[1],Md=new nd(pd(Nd,jd,Fd)),Ld=0,Hd=Fd>0?jd-4:jd,Gd;for(Gd=0;Gd>16&255,Md[Ld++]=Id>>8&255,Md[Ld++]=Id&255;return Fd===2&&(Id=qa[Nd.charCodeAt(Gd)]<<2|qa[Nd.charCodeAt(Gd+1)]>>4,Md[Ld++]=Id&255),Fd===1&&(Id=qa[Nd.charCodeAt(Gd)]<<10|qa[Nd.charCodeAt(Gd+1)]<<4|qa[Nd.charCodeAt(Gd+2)]>>2,Md[Ld++]=Id>>8&255,Md[Ld++]=Id&255),Md}function md(Nd){return Ra[Nd>>18&63]+Ra[Nd>>12&63]+Ra[Nd>>6&63]+Ra[Nd&63]}function vd(Nd,Id,kd){for(var jd,Fd=[],Md=Id;MdHd?Hd:Ld+Md));return jd===1?(Id=Nd[kd-1],Fd.push(Ra[Id>>2]+Ra[Id<<4&63]+"==")):jd===2&&(Id=(Nd[kd-2]<<8)+Nd[kd-1],Fd.push(Ra[Id>>10]+Ra[Id>>4&63]+Ra[Id<<2&63]+"=")),Fd.join("")}return base64Js}var ieee754={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ieee754.read=function(Ra,qa,nd,od,ld){var ud,cd,dd=ld*8-od-1,pd=(1<>1,md=-7,vd=nd?ld-1:0,Ad=nd?-1:1,Nd=Ra[qa+vd];for(vd+=Ad,ud=Nd&(1<<-md)-1,Nd>>=-md,md+=dd;md>0;ud=ud*256+Ra[qa+vd],vd+=Ad,md-=8);for(cd=ud&(1<<-md)-1,ud>>=-md,md+=od;md>0;cd=cd*256+Ra[qa+vd],vd+=Ad,md-=8);if(ud===0)ud=1-fd;else{if(ud===pd)return cd?NaN:(Nd?-1:1)*(1/0);cd=cd+Math.pow(2,od),ud=ud-fd}return(Nd?-1:1)*cd*Math.pow(2,ud-od)};ieee754.write=function(Ra,qa,nd,od,ld,ud){var cd,dd,pd,fd=ud*8-ld-1,md=(1<>1,Ad=ld===23?Math.pow(2,-24)-Math.pow(2,-77):0,Nd=od?0:ud-1,Id=od?1:-1,kd=qa<0||qa===0&&1/qa<0?1:0;for(qa=Math.abs(qa),isNaN(qa)||qa===1/0?(dd=isNaN(qa)?1:0,cd=md):(cd=Math.floor(Math.log(qa)/Math.LN2),qa*(pd=Math.pow(2,-cd))<1&&(cd--,pd*=2),cd+vd>=1?qa+=Ad/pd:qa+=Ad*Math.pow(2,1-vd),qa*pd>=2&&(cd++,pd/=2),cd+vd>=md?(dd=0,cd=md):cd+vd>=1?(dd=(qa*pd-1)*Math.pow(2,ld),cd=cd+vd):(dd=qa*Math.pow(2,vd-1)*Math.pow(2,ld),cd=0));ld>=8;Ra[nd+Nd]=dd&255,Nd+=Id,dd/=256,ld-=8);for(cd=cd<0;Ra[nd+Nd]=cd&255,Nd+=Id,cd/=256,fd-=8);Ra[nd+Nd-Id]|=kd*128};/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT - */(function(Ra){var qa=requireBase64Js(),nd=ieee754,od=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ra.Buffer=dd,Ra.SlowBuffer=Md,Ra.INSPECT_MAX_BYTES=50;var ld=2147483647;Ra.kMaxLength=ld,dd.TYPED_ARRAY_SUPPORT=ud(),!dd.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ud(){try{var Qf=new Uint8Array(1),Nf={foo:function(){return 42}};return Object.setPrototypeOf(Nf,Uint8Array.prototype),Object.setPrototypeOf(Qf,Nf),Qf.foo()===42}catch{return!1}}Object.defineProperty(dd.prototype,"parent",{enumerable:!0,get:function(){if(dd.isBuffer(this))return this.buffer}}),Object.defineProperty(dd.prototype,"offset",{enumerable:!0,get:function(){if(dd.isBuffer(this))return this.byteOffset}});function cd(Qf){if(Qf>ld)throw new RangeError('The value "'+Qf+'" is invalid for option "size"');var Nf=new Uint8Array(Qf);return Object.setPrototypeOf(Nf,dd.prototype),Nf}function dd(Qf,Nf,$f){if(typeof Qf=="number"){if(typeof Nf=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return vd(Qf)}return pd(Qf,Nf,$f)}dd.poolSize=8192;function pd(Qf,Nf,$f){if(typeof Qf=="string")return Ad(Qf,Nf);if(ArrayBuffer.isView(Qf))return Id(Qf);if(Qf==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Qf);if(Pf(Qf,ArrayBuffer)||Qf&&Pf(Qf.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Pf(Qf,SharedArrayBuffer)||Qf&&Pf(Qf.buffer,SharedArrayBuffer)))return kd(Qf,Nf,$f);if(typeof Qf=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Wf=Qf.valueOf&&Qf.valueOf();if(Wf!=null&&Wf!==Qf)return dd.from(Wf,Nf,$f);var vh=jd(Qf);if(vh)return vh;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Qf[Symbol.toPrimitive]=="function")return dd.from(Qf[Symbol.toPrimitive]("string"),Nf,$f);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Qf)}dd.from=function(Qf,Nf,$f){return pd(Qf,Nf,$f)},Object.setPrototypeOf(dd.prototype,Uint8Array.prototype),Object.setPrototypeOf(dd,Uint8Array);function fd(Qf){if(typeof Qf!="number")throw new TypeError('"size" argument must be of type number');if(Qf<0)throw new RangeError('The value "'+Qf+'" is invalid for option "size"')}function md(Qf,Nf,$f){return fd(Qf),Qf<=0?cd(Qf):Nf!==void 0?typeof $f=="string"?cd(Qf).fill(Nf,$f):cd(Qf).fill(Nf):cd(Qf)}dd.alloc=function(Qf,Nf,$f){return md(Qf,Nf,$f)};function vd(Qf){return fd(Qf),cd(Qf<0?0:Fd(Qf)|0)}dd.allocUnsafe=function(Qf){return vd(Qf)},dd.allocUnsafeSlow=function(Qf){return vd(Qf)};function Ad(Qf,Nf){if((typeof Nf!="string"||Nf==="")&&(Nf="utf8"),!dd.isEncoding(Nf))throw new TypeError("Unknown encoding: "+Nf);var $f=Ld(Qf,Nf)|0,Wf=cd($f),vh=Wf.write(Qf,Nf);return vh!==$f&&(Wf=Wf.slice(0,vh)),Wf}function Nd(Qf){for(var Nf=Qf.length<0?0:Fd(Qf.length)|0,$f=cd(Nf),Wf=0;Wf=ld)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ld.toString(16)+" bytes");return Qf|0}function Md(Qf){return+Qf!=Qf&&(Qf=0),dd.alloc(+Qf)}dd.isBuffer=function(Nf){return Nf!=null&&Nf._isBuffer===!0&&Nf!==dd.prototype},dd.compare=function(Nf,$f){if(Pf(Nf,Uint8Array)&&(Nf=dd.from(Nf,Nf.offset,Nf.byteLength)),Pf($f,Uint8Array)&&($f=dd.from($f,$f.offset,$f.byteLength)),!dd.isBuffer(Nf)||!dd.isBuffer($f))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Nf===$f)return 0;for(var Wf=Nf.length,vh=$f.length,Th=0,dh=Math.min(Wf,vh);Thvh.length?dd.from(dh).copy(vh,Th):Uint8Array.prototype.set.call(vh,dh,Th);else if(dd.isBuffer(dh))dh.copy(vh,Th);else throw new TypeError('"list" argument must be an Array of Buffers');Th+=dh.length}return vh};function Ld(Qf,Nf){if(dd.isBuffer(Qf))return Qf.length;if(ArrayBuffer.isView(Qf)||Pf(Qf,ArrayBuffer))return Qf.byteLength;if(typeof Qf!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Qf);var $f=Qf.length,Wf=arguments.length>2&&arguments[2]===!0;if(!Wf&&$f===0)return 0;for(var vh=!1;;)switch(Nf){case"ascii":case"latin1":case"binary":return $f;case"utf8":case"utf-8":return vf(Qf).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $f*2;case"hex":return $f>>>1;case"base64":return gh(Qf).length;default:if(vh)return Wf?-1:vf(Qf).length;Nf=(""+Nf).toLowerCase(),vh=!0}}dd.byteLength=Ld;function Hd(Qf,Nf,$f){var Wf=!1;if((Nf===void 0||Nf<0)&&(Nf=0),Nf>this.length||(($f===void 0||$f>this.length)&&($f=this.length),$f<=0)||($f>>>=0,Nf>>>=0,$f<=Nf))return"";for(Qf||(Qf="utf8");;)switch(Qf){case"hex":return Xf(this,Nf,$f);case"utf8":case"utf-8":return Ef(this,Nf,$f);case"ascii":return Af(this,Nf,$f);case"latin1":case"binary":return Lf(this,Nf,$f);case"base64":return gf(this,Nf,$f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ih(this,Nf,$f);default:if(Wf)throw new TypeError("Unknown encoding: "+Qf);Qf=(Qf+"").toLowerCase(),Wf=!0}}dd.prototype._isBuffer=!0;function Gd(Qf,Nf,$f){var Wf=Qf[Nf];Qf[Nf]=Qf[$f],Qf[$f]=Wf}dd.prototype.swap16=function(){var Nf=this.length;if(Nf%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var $f=0;$f$f&&(Nf+=" ... "),""},od&&(dd.prototype[od]=dd.prototype.inspect),dd.prototype.compare=function(Nf,$f,Wf,vh,Th){if(Pf(Nf,Uint8Array)&&(Nf=dd.from(Nf,Nf.offset,Nf.byteLength)),!dd.isBuffer(Nf))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Nf);if($f===void 0&&($f=0),Wf===void 0&&(Wf=Nf?Nf.length:0),vh===void 0&&(vh=0),Th===void 0&&(Th=this.length),$f<0||Wf>Nf.length||vh<0||Th>this.length)throw new RangeError("out of range index");if(vh>=Th&&$f>=Wf)return 0;if(vh>=Th)return-1;if($f>=Wf)return 1;if($f>>>=0,Wf>>>=0,vh>>>=0,Th>>>=0,this===Nf)return 0;for(var dh=Th-vh,Vh=Wf-$f,wh=Math.min(dh,Vh),fm=this.slice(vh,Th),Nm=Nf.slice($f,Wf),cm=0;cm2147483647?$f=2147483647:$f<-2147483648&&($f=-2147483648),$f=+$f,uh($f)&&($f=vh?0:Qf.length-1),$f<0&&($f=Qf.length+$f),$f>=Qf.length){if(vh)return-1;$f=Qf.length-1}else if($f<0)if(vh)$f=0;else return-1;if(typeof Nf=="string"&&(Nf=dd.from(Nf,Wf)),dd.isBuffer(Nf))return Nf.length===0?-1:Qd(Qf,Nf,$f,Wf,vh);if(typeof Nf=="number")return Nf=Nf&255,typeof Uint8Array.prototype.indexOf=="function"?vh?Uint8Array.prototype.indexOf.call(Qf,Nf,$f):Uint8Array.prototype.lastIndexOf.call(Qf,Nf,$f):Qd(Qf,[Nf],$f,Wf,vh);throw new TypeError("val must be string, number or Buffer")}function Qd(Qf,Nf,$f,Wf,vh){var Th=1,dh=Qf.length,Vh=Nf.length;if(Wf!==void 0&&(Wf=String(Wf).toLowerCase(),Wf==="ucs2"||Wf==="ucs-2"||Wf==="utf16le"||Wf==="utf-16le")){if(Qf.length<2||Nf.length<2)return-1;Th=2,dh/=2,Vh/=2,$f/=2}function wh($m,ph){return Th===1?$m[ph]:$m.readUInt16BE(ph*Th)}var fm;if(vh){var Nm=-1;for(fm=$f;fmdh&&($f=dh-Vh),fm=$f;fm>=0;fm--){for(var cm=!0,Sm=0;Smvh&&(Wf=vh)):Wf=vh;var Th=Nf.length;Wf>Th/2&&(Wf=Th/2);for(var dh=0;dh>>0,isFinite(Wf)?(Wf=Wf>>>0,vh===void 0&&(vh="utf8")):(vh=Wf,Wf=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Th=this.length-$f;if((Wf===void 0||Wf>Th)&&(Wf=Th),Nf.length>0&&(Wf<0||$f<0)||$f>this.length)throw new RangeError("Attempt to write outside buffer bounds");vh||(vh="utf8");for(var dh=!1;;)switch(vh){case"hex":return mf(this,Nf,$f,Wf);case"utf8":case"utf-8":return Yd(this,Nf,$f,Wf);case"ascii":case"latin1":case"binary":return Zd(this,Nf,$f,Wf);case"base64":return Kd(this,Nf,$f,Wf);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return bf(this,Nf,$f,Wf);default:if(dh)throw new TypeError("Unknown encoding: "+vh);vh=(""+vh).toLowerCase(),dh=!0}},dd.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function gf(Qf,Nf,$f){return Nf===0&&$f===Qf.length?qa.fromByteArray(Qf):qa.fromByteArray(Qf.slice(Nf,$f))}function Ef(Qf,Nf,$f){$f=Math.min(Qf.length,$f);for(var Wf=[],vh=Nf;vh<$f;){var Th=Qf[vh],dh=null,Vh=Th>239?4:Th>223?3:Th>191?2:1;if(vh+Vh<=$f){var wh,fm,Nm,cm;switch(Vh){case 1:Th<128&&(dh=Th);break;case 2:wh=Qf[vh+1],(wh&192)===128&&(cm=(Th&31)<<6|wh&63,cm>127&&(dh=cm));break;case 3:wh=Qf[vh+1],fm=Qf[vh+2],(wh&192)===128&&(fm&192)===128&&(cm=(Th&15)<<12|(wh&63)<<6|fm&63,cm>2047&&(cm<55296||cm>57343)&&(dh=cm));break;case 4:wh=Qf[vh+1],fm=Qf[vh+2],Nm=Qf[vh+3],(wh&192)===128&&(fm&192)===128&&(Nm&192)===128&&(cm=(Th&15)<<18|(wh&63)<<12|(fm&63)<<6|Nm&63,cm>65535&&cm<1114112&&(dh=cm))}}dh===null?(dh=65533,Vh=1):dh>65535&&(dh-=65536,Wf.push(dh>>>10&1023|55296),dh=56320|dh&1023),Wf.push(dh),vh+=Vh}return xf(Wf)}var yf=4096;function xf(Qf){var Nf=Qf.length;if(Nf<=yf)return String.fromCharCode.apply(String,Qf);for(var $f="",Wf=0;WfWf)&&($f=Wf);for(var vh="",Th=Nf;Th<$f;++Th)vh+=xh[Qf[Th]];return vh}function ih(Qf,Nf,$f){for(var Wf=Qf.slice(Nf,$f),vh="",Th=0;ThWf&&(Nf=Wf),$f<0?($f+=Wf,$f<0&&($f=0)):$f>Wf&&($f=Wf),$f$f)throw new RangeError("Trying to access beyond buffer length")}dd.prototype.readUintLE=dd.prototype.readUIntLE=function(Nf,$f,Wf){Nf=Nf>>>0,$f=$f>>>0,Wf||Zf(Nf,$f,this.length);for(var vh=this[Nf],Th=1,dh=0;++dh<$f&&(Th*=256);)vh+=this[Nf+dh]*Th;return vh},dd.prototype.readUintBE=dd.prototype.readUIntBE=function(Nf,$f,Wf){Nf=Nf>>>0,$f=$f>>>0,Wf||Zf(Nf,$f,this.length);for(var vh=this[Nf+--$f],Th=1;$f>0&&(Th*=256);)vh+=this[Nf+--$f]*Th;return vh},dd.prototype.readUint8=dd.prototype.readUInt8=function(Nf,$f){return Nf=Nf>>>0,$f||Zf(Nf,1,this.length),this[Nf]},dd.prototype.readUint16LE=dd.prototype.readUInt16LE=function(Nf,$f){return Nf=Nf>>>0,$f||Zf(Nf,2,this.length),this[Nf]|this[Nf+1]<<8},dd.prototype.readUint16BE=dd.prototype.readUInt16BE=function(Nf,$f){return Nf=Nf>>>0,$f||Zf(Nf,2,this.length),this[Nf]<<8|this[Nf+1]},dd.prototype.readUint32LE=dd.prototype.readUInt32LE=function(Nf,$f){return Nf=Nf>>>0,$f||Zf(Nf,4,this.length),(this[Nf]|this[Nf+1]<<8|this[Nf+2]<<16)+this[Nf+3]*16777216},dd.prototype.readUint32BE=dd.prototype.readUInt32BE=function(Nf,$f){return Nf=Nf>>>0,$f||Zf(Nf,4,this.length),this[Nf]*16777216+(this[Nf+1]<<16|this[Nf+2]<<8|this[Nf+3])},dd.prototype.readIntLE=function(Nf,$f,Wf){Nf=Nf>>>0,$f=$f>>>0,Wf||Zf(Nf,$f,this.length);for(var vh=this[Nf],Th=1,dh=0;++dh<$f&&(Th*=256);)vh+=this[Nf+dh]*Th;return Th*=128,vh>=Th&&(vh-=Math.pow(2,8*$f)),vh},dd.prototype.readIntBE=function(Nf,$f,Wf){Nf=Nf>>>0,$f=$f>>>0,Wf||Zf(Nf,$f,this.length);for(var vh=$f,Th=1,dh=this[Nf+--vh];vh>0&&(Th*=256);)dh+=this[Nf+--vh]*Th;return Th*=128,dh>=Th&&(dh-=Math.pow(2,8*$f)),dh},dd.prototype.readInt8=function(Nf,$f){return Nf=Nf>>>0,$f||Zf(Nf,1,this.length),this[Nf]&128?(255-this[Nf]+1)*-1:this[Nf]},dd.prototype.readInt16LE=function(Nf,$f){Nf=Nf>>>0,$f||Zf(Nf,2,this.length);var Wf=this[Nf]|this[Nf+1]<<8;return Wf&32768?Wf|4294901760:Wf},dd.prototype.readInt16BE=function(Nf,$f){Nf=Nf>>>0,$f||Zf(Nf,2,this.length);var Wf=this[Nf+1]|this[Nf]<<8;return Wf&32768?Wf|4294901760:Wf},dd.prototype.readInt32LE=function(Nf,$f){return Nf=Nf>>>0,$f||Zf(Nf,4,this.length),this[Nf]|this[Nf+1]<<8|this[Nf+2]<<16|this[Nf+3]<<24},dd.prototype.readInt32BE=function(Nf,$f){return Nf=Nf>>>0,$f||Zf(Nf,4,this.length),this[Nf]<<24|this[Nf+1]<<16|this[Nf+2]<<8|this[Nf+3]},dd.prototype.readFloatLE=function(Nf,$f){return Nf=Nf>>>0,$f||Zf(Nf,4,this.length),nd.read(this,Nf,!0,23,4)},dd.prototype.readFloatBE=function(Nf,$f){return Nf=Nf>>>0,$f||Zf(Nf,4,this.length),nd.read(this,Nf,!1,23,4)},dd.prototype.readDoubleLE=function(Nf,$f){return Nf=Nf>>>0,$f||Zf(Nf,8,this.length),nd.read(this,Nf,!0,52,8)},dd.prototype.readDoubleBE=function(Nf,$f){return Nf=Nf>>>0,$f||Zf(Nf,8,this.length),nd.read(this,Nf,!1,52,8)};function jf(Qf,Nf,$f,Wf,vh,Th){if(!dd.isBuffer(Qf))throw new TypeError('"buffer" argument must be a Buffer instance');if(Nf>vh||NfQf.length)throw new RangeError("Index out of range")}dd.prototype.writeUintLE=dd.prototype.writeUIntLE=function(Nf,$f,Wf,vh){if(Nf=+Nf,$f=$f>>>0,Wf=Wf>>>0,!vh){var Th=Math.pow(2,8*Wf)-1;jf(this,Nf,$f,Wf,Th,0)}var dh=1,Vh=0;for(this[$f]=Nf&255;++Vh>>0,Wf=Wf>>>0,!vh){var Th=Math.pow(2,8*Wf)-1;jf(this,Nf,$f,Wf,Th,0)}var dh=Wf-1,Vh=1;for(this[$f+dh]=Nf&255;--dh>=0&&(Vh*=256);)this[$f+dh]=Nf/Vh&255;return $f+Wf},dd.prototype.writeUint8=dd.prototype.writeUInt8=function(Nf,$f,Wf){return Nf=+Nf,$f=$f>>>0,Wf||jf(this,Nf,$f,1,255,0),this[$f]=Nf&255,$f+1},dd.prototype.writeUint16LE=dd.prototype.writeUInt16LE=function(Nf,$f,Wf){return Nf=+Nf,$f=$f>>>0,Wf||jf(this,Nf,$f,2,65535,0),this[$f]=Nf&255,this[$f+1]=Nf>>>8,$f+2},dd.prototype.writeUint16BE=dd.prototype.writeUInt16BE=function(Nf,$f,Wf){return Nf=+Nf,$f=$f>>>0,Wf||jf(this,Nf,$f,2,65535,0),this[$f]=Nf>>>8,this[$f+1]=Nf&255,$f+2},dd.prototype.writeUint32LE=dd.prototype.writeUInt32LE=function(Nf,$f,Wf){return Nf=+Nf,$f=$f>>>0,Wf||jf(this,Nf,$f,4,4294967295,0),this[$f+3]=Nf>>>24,this[$f+2]=Nf>>>16,this[$f+1]=Nf>>>8,this[$f]=Nf&255,$f+4},dd.prototype.writeUint32BE=dd.prototype.writeUInt32BE=function(Nf,$f,Wf){return Nf=+Nf,$f=$f>>>0,Wf||jf(this,Nf,$f,4,4294967295,0),this[$f]=Nf>>>24,this[$f+1]=Nf>>>16,this[$f+2]=Nf>>>8,this[$f+3]=Nf&255,$f+4},dd.prototype.writeIntLE=function(Nf,$f,Wf,vh){if(Nf=+Nf,$f=$f>>>0,!vh){var Th=Math.pow(2,8*Wf-1);jf(this,Nf,$f,Wf,Th-1,-Th)}var dh=0,Vh=1,wh=0;for(this[$f]=Nf&255;++dh>0)-wh&255;return $f+Wf},dd.prototype.writeIntBE=function(Nf,$f,Wf,vh){if(Nf=+Nf,$f=$f>>>0,!vh){var Th=Math.pow(2,8*Wf-1);jf(this,Nf,$f,Wf,Th-1,-Th)}var dh=Wf-1,Vh=1,wh=0;for(this[$f+dh]=Nf&255;--dh>=0&&(Vh*=256);)Nf<0&&wh===0&&this[$f+dh+1]!==0&&(wh=1),this[$f+dh]=(Nf/Vh>>0)-wh&255;return $f+Wf},dd.prototype.writeInt8=function(Nf,$f,Wf){return Nf=+Nf,$f=$f>>>0,Wf||jf(this,Nf,$f,1,127,-128),Nf<0&&(Nf=255+Nf+1),this[$f]=Nf&255,$f+1},dd.prototype.writeInt16LE=function(Nf,$f,Wf){return Nf=+Nf,$f=$f>>>0,Wf||jf(this,Nf,$f,2,32767,-32768),this[$f]=Nf&255,this[$f+1]=Nf>>>8,$f+2},dd.prototype.writeInt16BE=function(Nf,$f,Wf){return Nf=+Nf,$f=$f>>>0,Wf||jf(this,Nf,$f,2,32767,-32768),this[$f]=Nf>>>8,this[$f+1]=Nf&255,$f+2},dd.prototype.writeInt32LE=function(Nf,$f,Wf){return Nf=+Nf,$f=$f>>>0,Wf||jf(this,Nf,$f,4,2147483647,-2147483648),this[$f]=Nf&255,this[$f+1]=Nf>>>8,this[$f+2]=Nf>>>16,this[$f+3]=Nf>>>24,$f+4},dd.prototype.writeInt32BE=function(Nf,$f,Wf){return Nf=+Nf,$f=$f>>>0,Wf||jf(this,Nf,$f,4,2147483647,-2147483648),Nf<0&&(Nf=4294967295+Nf+1),this[$f]=Nf>>>24,this[$f+1]=Nf>>>16,this[$f+2]=Nf>>>8,this[$f+3]=Nf&255,$f+4};function If(Qf,Nf,$f,Wf,vh,Th){if($f+Wf>Qf.length)throw new RangeError("Index out of range");if($f<0)throw new RangeError("Index out of range")}function Uf(Qf,Nf,$f,Wf,vh){return Nf=+Nf,$f=$f>>>0,vh||If(Qf,Nf,$f,4),nd.write(Qf,Nf,$f,Wf,23,4),$f+4}dd.prototype.writeFloatLE=function(Nf,$f,Wf){return Uf(this,Nf,$f,!0,Wf)},dd.prototype.writeFloatBE=function(Nf,$f,Wf){return Uf(this,Nf,$f,!1,Wf)};function qf(Qf,Nf,$f,Wf,vh){return Nf=+Nf,$f=$f>>>0,vh||If(Qf,Nf,$f,8),nd.write(Qf,Nf,$f,Wf,52,8),$f+8}dd.prototype.writeDoubleLE=function(Nf,$f,Wf){return qf(this,Nf,$f,!0,Wf)},dd.prototype.writeDoubleBE=function(Nf,$f,Wf){return qf(this,Nf,$f,!1,Wf)},dd.prototype.copy=function(Nf,$f,Wf,vh){if(!dd.isBuffer(Nf))throw new TypeError("argument should be a Buffer");if(Wf||(Wf=0),!vh&&vh!==0&&(vh=this.length),$f>=Nf.length&&($f=Nf.length),$f||($f=0),vh>0&&vh=this.length)throw new RangeError("Index out of range");if(vh<0)throw new RangeError("sourceEnd out of bounds");vh>this.length&&(vh=this.length),Nf.length-$f>>0,Wf=Wf===void 0?this.length:Wf>>>0,Nf||(Nf=0);var dh;if(typeof Nf=="number")for(dh=$f;dh55295&&$f<57344){if(!vh){if($f>56319){(Nf-=3)>-1&&Th.push(239,191,189);continue}else if(dh+1===Wf){(Nf-=3)>-1&&Th.push(239,191,189);continue}vh=$f;continue}if($f<56320){(Nf-=3)>-1&&Th.push(239,191,189),vh=$f;continue}$f=(vh-55296<<10|$f-56320)+65536}else vh&&(Nf-=3)>-1&&Th.push(239,191,189);if(vh=null,$f<128){if((Nf-=1)<0)break;Th.push($f)}else if($f<2048){if((Nf-=2)<0)break;Th.push($f>>6|192,$f&63|128)}else if($f<65536){if((Nf-=3)<0)break;Th.push($f>>12|224,$f>>6&63|128,$f&63|128)}else if($f<1114112){if((Nf-=4)<0)break;Th.push($f>>18|240,$f>>12&63|128,$f>>6&63|128,$f&63|128)}else throw new Error("Invalid code point")}return Th}function Gf(Qf){for(var Nf=[],$f=0;$f>8,vh=$f%256,Th.push(vh),Th.push(Wf);return Th}function gh(Qf){return qa.toByteArray(Tf(Qf))}function th(Qf,Nf,$f,Wf){for(var vh=0;vh=Nf.length||vh>=Qf.length);++vh)Nf[vh+$f]=Qf[vh];return vh}function Pf(Qf,Nf){return Qf instanceof Nf||Qf!=null&&Qf.constructor!=null&&Qf.constructor.name!=null&&Qf.constructor.name===Nf.name}function uh(Qf){return Qf!==Qf}var xh=function(){for(var Qf="0123456789abcdef",Nf=new Array(256),$f=0;$f<16;++$f)for(var Wf=$f*16,vh=0;vh<16;++vh)Nf[Wf+vh]=Qf[$f]+Qf[vh];return Nf}()})(buffer);var util$5={},types={},shams$1=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var qa={},nd=Symbol("test"),od=Object(nd);if(typeof nd=="string"||Object.prototype.toString.call(nd)!=="[object Symbol]"||Object.prototype.toString.call(od)!=="[object Symbol]")return!1;var ld=42;qa[nd]=ld;for(nd in qa)return!1;if(typeof Object.keys=="function"&&Object.keys(qa).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(qa).length!==0)return!1;var ud=Object.getOwnPropertySymbols(qa);if(ud.length!==1||ud[0]!==nd||!Object.prototype.propertyIsEnumerable.call(qa,nd))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var cd=Object.getOwnPropertyDescriptor(qa,nd);if(cd.value!==ld||cd.enumerable!==!0)return!1}return!0},hasSymbols$2=shams$1,shams=function(){return hasSymbols$2()&&!!Symbol.toStringTag},esErrors=Error,_eval=EvalError,range$1=RangeError,ref=ReferenceError,syntax=SyntaxError,type=TypeError,uri=URIError,origSymbol=typeof Symbol<"u"&&Symbol,hasSymbolSham=shams$1,hasSymbols$1=function(){return typeof origSymbol!="function"||typeof Symbol!="function"||typeof origSymbol("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:hasSymbolSham()},test={__proto__:null,foo:{}},$Object=Object,hasProto$1=function(){return{__proto__:test}.foo===test.foo&&!(test instanceof $Object)},ERROR_MESSAGE="Function.prototype.bind called on incompatible ",toStr$3=Object.prototype.toString,max=Math.max,funcType="[object Function]",concatty=function(qa,nd){for(var od=[],ld=0;ld"u"||!getProto$1?undefined$1:getProto$1(Uint8Array),INTRINSICS={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?undefined$1:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?undefined$1:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto$1?getProto$1([][Symbol.iterator]()):undefined$1,"%AsyncFromSyncIteratorPrototype%":undefined$1,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":typeof Atomics>"u"?undefined$1:Atomics,"%BigInt%":typeof BigInt>"u"?undefined$1:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?undefined$1:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?undefined$1:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?undefined$1:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float32Array%":typeof Float32Array>"u"?undefined$1:Float32Array,"%Float64Array%":typeof Float64Array>"u"?undefined$1:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?undefined$1:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":typeof Int8Array>"u"?undefined$1:Int8Array,"%Int16Array%":typeof Int16Array>"u"?undefined$1:Int16Array,"%Int32Array%":typeof Int32Array>"u"?undefined$1:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto$1?getProto$1(getProto$1([][Symbol.iterator]())):undefined$1,"%JSON%":typeof JSON=="object"?JSON:undefined$1,"%Map%":typeof Map>"u"?undefined$1:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hasSymbols||!getProto$1?undefined$1:getProto$1(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?undefined$1:Promise,"%Proxy%":typeof Proxy>"u"?undefined$1:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":typeof Reflect>"u"?undefined$1:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?undefined$1:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hasSymbols||!getProto$1?undefined$1:getProto$1(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?undefined$1:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto$1?getProto$1(""[Symbol.iterator]()):undefined$1,"%Symbol%":hasSymbols?Symbol:undefined$1,"%SyntaxError%":$SyntaxError$1,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError$2,"%Uint8Array%":typeof Uint8Array>"u"?undefined$1:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?undefined$1:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?undefined$1:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?undefined$1:Uint32Array,"%URIError%":$URIError,"%WeakMap%":typeof WeakMap>"u"?undefined$1:WeakMap,"%WeakRef%":typeof WeakRef>"u"?undefined$1:WeakRef,"%WeakSet%":typeof WeakSet>"u"?undefined$1:WeakSet};if(getProto$1)try{null.error}catch(Ra){var errorProto=getProto$1(getProto$1(Ra));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function Ra(qa){var nd;if(qa==="%AsyncFunction%")nd=getEvalledConstructor("async function () {}");else if(qa==="%GeneratorFunction%")nd=getEvalledConstructor("function* () {}");else if(qa==="%AsyncGeneratorFunction%")nd=getEvalledConstructor("async function* () {}");else if(qa==="%AsyncGenerator%"){var od=Ra("%AsyncGeneratorFunction%");od&&(nd=od.prototype)}else if(qa==="%AsyncIteratorPrototype%"){var ld=Ra("%AsyncGenerator%");ld&&getProto$1&&(nd=getProto$1(ld.prototype))}return INTRINSICS[qa]=nd,nd},LEGACY_ALIASES={__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"]},bind=functionBind,hasOwn=hasown,$concat=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),$exec=bind.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function(qa){var nd=$strSlice(qa,0,1),od=$strSlice(qa,-1);if(nd==="%"&&od!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");if(od==="%"&&nd!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");var ld=[];return $replace(qa,rePropName,function(ud,cd,dd,pd){ld[ld.length]=dd?$replace(pd,reEscapeChar,"$1"):cd||ud}),ld},getBaseIntrinsic=function(qa,nd){var od=qa,ld;if(hasOwn(LEGACY_ALIASES,od)&&(ld=LEGACY_ALIASES[od],od="%"+ld[0]+"%"),hasOwn(INTRINSICS,od)){var ud=INTRINSICS[od];if(ud===needsEval&&(ud=doEval(od)),typeof ud>"u"&&!nd)throw new $TypeError$2("intrinsic "+qa+" exists, but is not available. Please file an issue!");return{alias:ld,name:od,value:ud}}throw new $SyntaxError$1("intrinsic "+qa+" does not exist!")},getIntrinsic=function(qa,nd){if(typeof qa!="string"||qa.length===0)throw new $TypeError$2("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof nd!="boolean")throw new $TypeError$2('"allowMissing" argument must be a boolean');if($exec(/^%?[^%]*%?$/,qa)===null)throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var od=stringToPath(qa),ld=od.length>0?od[0]:"",ud=getBaseIntrinsic("%"+ld+"%",nd),cd=ud.name,dd=ud.value,pd=!1,fd=ud.alias;fd&&(ld=fd[0],$spliceApply(od,$concat([0,1],fd)));for(var md=1,vd=!0;md=od.length){var kd=$gOPD$1(dd,Ad);vd=!!kd,vd&&"get"in kd&&!("originalValue"in kd.get)?dd=kd.get:dd=dd[Ad]}else vd=hasOwn(dd,Ad),dd=dd[Ad];vd&&!pd&&(INTRINSICS[cd]=dd)}}return dd},callBind$2={exports:{}},esDefineProperty,hasRequiredEsDefineProperty;function requireEsDefineProperty(){if(hasRequiredEsDefineProperty)return esDefineProperty;hasRequiredEsDefineProperty=1;var Ra=getIntrinsic,qa=Ra("%Object.defineProperty%",!0)||!1;if(qa)try{qa({},"a",{value:1})}catch{qa=!1}return esDefineProperty=qa,esDefineProperty}var GetIntrinsic$2=getIntrinsic,$gOPD=GetIntrinsic$2("%Object.getOwnPropertyDescriptor%",!0);if($gOPD)try{$gOPD([],"length")}catch{$gOPD=null}var gopd$1=$gOPD,$defineProperty$1=requireEsDefineProperty(),$SyntaxError=syntax,$TypeError$1=type,gopd=gopd$1,defineDataProperty=function(qa,nd,od){if(!qa||typeof qa!="object"&&typeof qa!="function")throw new $TypeError$1("`obj` must be an object or a function`");if(typeof nd!="string"&&typeof nd!="symbol")throw new $TypeError$1("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new $TypeError$1("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new $TypeError$1("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new $TypeError$1("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new $TypeError$1("`loose`, if provided, must be a boolean");var ld=arguments.length>3?arguments[3]:null,ud=arguments.length>4?arguments[4]:null,cd=arguments.length>5?arguments[5]:null,dd=arguments.length>6?arguments[6]:!1,pd=!!gopd&&gopd(qa,nd);if($defineProperty$1)$defineProperty$1(qa,nd,{configurable:cd===null&&pd?pd.configurable:!cd,enumerable:ld===null&&pd?pd.enumerable:!ld,value:od,writable:ud===null&&pd?pd.writable:!ud});else if(dd||!ld&&!ud&&!cd)qa[nd]=od;else throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},$defineProperty=requireEsDefineProperty(),hasPropertyDescriptors=function(){return!!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function(){if(!$defineProperty)return null;try{return $defineProperty([],"length",{value:1}).length!==1}catch{return!0}};var hasPropertyDescriptors_1=hasPropertyDescriptors,GetIntrinsic$1=getIntrinsic,define=defineDataProperty,hasDescriptors=hasPropertyDescriptors_1(),gOPD$1=gopd$1,$TypeError=type,$floor=GetIntrinsic$1("%Math.floor%"),setFunctionLength=function(qa,nd){if(typeof qa!="function")throw new $TypeError("`fn` is not a function");if(typeof nd!="number"||nd<0||nd>4294967295||$floor(nd)!==nd)throw new $TypeError("`length` must be a positive 32-bit integer");var od=arguments.length>2&&!!arguments[2],ld=!0,ud=!0;if("length"in qa&&gOPD$1){var cd=gOPD$1(qa,"length");cd&&!cd.configurable&&(ld=!1),cd&&!cd.writable&&(ud=!1)}return(ld||ud||!od)&&(hasDescriptors?define(qa,"length",nd,!0,!0):define(qa,"length",nd)),qa};(function(Ra){var qa=functionBind,nd=getIntrinsic,od=setFunctionLength,ld=type,ud=nd("%Function.prototype.apply%"),cd=nd("%Function.prototype.call%"),dd=nd("%Reflect.apply%",!0)||qa.call(cd,ud),pd=requireEsDefineProperty(),fd=nd("%Math.max%");Ra.exports=function(Ad){if(typeof Ad!="function")throw new ld("a function is required");var Nd=dd(qa,cd,arguments);return od(Nd,1+fd(0,Ad.length-(arguments.length-1)),!0)};var md=function(){return dd(qa,ud,arguments)};pd?pd(Ra.exports,"apply",{value:md}):Ra.exports.apply=md})(callBind$2);var callBindExports=callBind$2.exports,GetIntrinsic=getIntrinsic,callBind$1=callBindExports,$indexOf$1=callBind$1(GetIntrinsic("String.prototype.indexOf")),callBound$2=function(qa,nd){var od=GetIntrinsic(qa,!!nd);return typeof od=="function"&&$indexOf$1(qa,".prototype.")>-1?callBind$1(od):od},hasToStringTag$3=shams(),callBound$1=callBound$2,$toString$1=callBound$1("Object.prototype.toString"),isStandardArguments=function(qa){return hasToStringTag$3&&qa&&typeof qa=="object"&&Symbol.toStringTag in qa?!1:$toString$1(qa)==="[object Arguments]"},isLegacyArguments=function(qa){return isStandardArguments(qa)?!0:qa!==null&&typeof qa=="object"&&typeof qa.length=="number"&&qa.length>=0&&$toString$1(qa)!=="[object Array]"&&$toString$1(qa.callee)==="[object Function]"},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments;var isArguments=supportsStandardArguments?isStandardArguments:isLegacyArguments,toStr$2=Object.prototype.toString,fnToStr$1=Function.prototype.toString,isFnRegex=/^\s*(?:function)?\*/,hasToStringTag$2=shams(),getProto=Object.getPrototypeOf,getGeneratorFunc=function(){if(!hasToStringTag$2)return!1;try{return Function("return function*() {}")()}catch{}},GeneratorFunction,isGeneratorFunction=function(qa){if(typeof qa!="function")return!1;if(isFnRegex.test(fnToStr$1.call(qa)))return!0;if(!hasToStringTag$2){var nd=toStr$2.call(qa);return nd==="[object GeneratorFunction]"}if(!getProto)return!1;if(typeof GeneratorFunction>"u"){var od=getGeneratorFunc();GeneratorFunction=od?getProto(od):!1}return getProto(qa)===GeneratorFunction},fnToStr=Function.prototype.toString,reflectApply=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,badArrayLike,isCallableMarker;if(typeof reflectApply=="function"&&typeof Object.defineProperty=="function")try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply(function(){throw 42},null,badArrayLike)}catch(Ra){Ra!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var constructorRegex=/^\s*class\b/,isES6ClassFn=function(qa){try{var nd=fnToStr.call(qa);return constructorRegex.test(nd)}catch{return!1}},tryFunctionObject=function(qa){try{return isES6ClassFn(qa)?!1:(fnToStr.call(qa),!0)}catch{return!1}},toStr$1=Object.prototype.toString,objectClass="[object Object]",fnClass="[object Function]",genClass="[object GeneratorFunction]",ddaClass="[object HTMLAllCollection]",ddaClass2="[object HTML document.all class]",ddaClass3="[object HTMLCollection]",hasToStringTag$1=typeof Symbol=="function"&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function(){return!1};if(typeof document=="object"){var all=document.all;toStr$1.call(all)===toStr$1.call(document.all)&&(isDDA=function(qa){if((isIE68||!qa)&&(typeof qa>"u"||typeof qa=="object"))try{var nd=toStr$1.call(qa);return(nd===ddaClass||nd===ddaClass2||nd===ddaClass3||nd===objectClass)&&qa("")==null}catch{}return!1})}var isCallable$1=reflectApply?function(qa){if(isDDA(qa))return!0;if(!qa||typeof qa!="function"&&typeof qa!="object")return!1;try{reflectApply(qa,null,badArrayLike)}catch(nd){if(nd!==isCallableMarker)return!1}return!isES6ClassFn(qa)&&tryFunctionObject(qa)}:function(qa){if(isDDA(qa))return!0;if(!qa||typeof qa!="function"&&typeof qa!="object")return!1;if(hasToStringTag$1)return tryFunctionObject(qa);if(isES6ClassFn(qa))return!1;var nd=toStr$1.call(qa);return nd!==fnClass&&nd!==genClass&&!/^\[object HTML/.test(nd)?!1:tryFunctionObject(qa)},isCallable=isCallable$1,toStr=Object.prototype.toString,hasOwnProperty$1=Object.prototype.hasOwnProperty,forEachArray=function(qa,nd,od){for(var ld=0,ud=qa.length;ld=3&&(ld=od),toStr.call(qa)==="[object Array]"?forEachArray(qa,nd,ld):typeof qa=="string"?forEachString(qa,nd,ld):forEachObject(qa,nd,ld)},forEach_1=forEach$1,possibleTypedArrayNames=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],possibleNames=possibleTypedArrayNames,g$1=typeof globalThis>"u"?commonjsGlobal:globalThis,availableTypedArrays$1=function(){for(var qa=[],nd=0;nd"u"?commonjsGlobal:globalThis,typedArrays=availableTypedArrays(),$slice=callBound("String.prototype.slice"),getPrototypeOf=Object.getPrototypeOf,$indexOf=callBound("Array.prototype.indexOf",!0)||function(qa,nd){for(var od=0;od-1?nd:nd!=="Object"?!1:trySlices(qa)}return gOPD?tryTypedArrays(qa):null},whichTypedArray=whichTypedArray$1,isTypedArray=function(qa){return!!whichTypedArray(qa)};(function(Ra){var qa=isArguments,nd=isGeneratorFunction,od=whichTypedArray$1,ld=isTypedArray;function ud(Wf){return Wf.call.bind(Wf)}var cd=typeof BigInt<"u",dd=typeof Symbol<"u",pd=ud(Object.prototype.toString),fd=ud(Number.prototype.valueOf),md=ud(String.prototype.valueOf),vd=ud(Boolean.prototype.valueOf);if(cd)var Ad=ud(BigInt.prototype.valueOf);if(dd)var Nd=ud(Symbol.prototype.valueOf);function Id(Wf,vh){if(typeof Wf!="object")return!1;try{return vh(Wf),!0}catch{return!1}}Ra.isArgumentsObject=qa,Ra.isGeneratorFunction=nd,Ra.isTypedArray=ld;function kd(Wf){return typeof Promise<"u"&&Wf instanceof Promise||Wf!==null&&typeof Wf=="object"&&typeof Wf.then=="function"&&typeof Wf.catch=="function"}Ra.isPromise=kd;function jd(Wf){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(Wf):ld(Wf)||If(Wf)}Ra.isArrayBufferView=jd;function Fd(Wf){return od(Wf)==="Uint8Array"}Ra.isUint8Array=Fd;function Md(Wf){return od(Wf)==="Uint8ClampedArray"}Ra.isUint8ClampedArray=Md;function Ld(Wf){return od(Wf)==="Uint16Array"}Ra.isUint16Array=Ld;function Hd(Wf){return od(Wf)==="Uint32Array"}Ra.isUint32Array=Hd;function Gd(Wf){return od(Wf)==="Int8Array"}Ra.isInt8Array=Gd;function Vd(Wf){return od(Wf)==="Int16Array"}Ra.isInt16Array=Vd;function Qd(Wf){return od(Wf)==="Int32Array"}Ra.isInt32Array=Qd;function mf(Wf){return od(Wf)==="Float32Array"}Ra.isFloat32Array=mf;function Yd(Wf){return od(Wf)==="Float64Array"}Ra.isFloat64Array=Yd;function Zd(Wf){return od(Wf)==="BigInt64Array"}Ra.isBigInt64Array=Zd;function Kd(Wf){return od(Wf)==="BigUint64Array"}Ra.isBigUint64Array=Kd;function bf(Wf){return pd(Wf)==="[object Map]"}bf.working=typeof Map<"u"&&bf(new Map);function gf(Wf){return typeof Map>"u"?!1:bf.working?bf(Wf):Wf instanceof Map}Ra.isMap=gf;function Ef(Wf){return pd(Wf)==="[object Set]"}Ef.working=typeof Set<"u"&&Ef(new Set);function yf(Wf){return typeof Set>"u"?!1:Ef.working?Ef(Wf):Wf instanceof Set}Ra.isSet=yf;function xf(Wf){return pd(Wf)==="[object WeakMap]"}xf.working=typeof WeakMap<"u"&&xf(new WeakMap);function Af(Wf){return typeof WeakMap>"u"?!1:xf.working?xf(Wf):Wf instanceof WeakMap}Ra.isWeakMap=Af;function Lf(Wf){return pd(Wf)==="[object WeakSet]"}Lf.working=typeof WeakSet<"u"&&Lf(new WeakSet);function Xf(Wf){return Lf(Wf)}Ra.isWeakSet=Xf;function ih(Wf){return pd(Wf)==="[object ArrayBuffer]"}ih.working=typeof ArrayBuffer<"u"&&ih(new ArrayBuffer);function Zf(Wf){return typeof ArrayBuffer>"u"?!1:ih.working?ih(Wf):Wf instanceof ArrayBuffer}Ra.isArrayBuffer=Zf;function jf(Wf){return pd(Wf)==="[object DataView]"}jf.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&jf(new DataView(new ArrayBuffer(1),0,1));function If(Wf){return typeof DataView>"u"?!1:jf.working?jf(Wf):Wf instanceof DataView}Ra.isDataView=If;var Uf=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function qf(Wf){return pd(Wf)==="[object SharedArrayBuffer]"}function Kf(Wf){return typeof Uf>"u"?!1:(typeof qf.working>"u"&&(qf.working=qf(new Uf)),qf.working?qf(Wf):Wf instanceof Uf)}Ra.isSharedArrayBuffer=Kf;function Tf(Wf){return pd(Wf)==="[object AsyncFunction]"}Ra.isAsyncFunction=Tf;function vf(Wf){return pd(Wf)==="[object Map Iterator]"}Ra.isMapIterator=vf;function Gf(Wf){return pd(Wf)==="[object Set Iterator]"}Ra.isSetIterator=Gf;function Jf(Wf){return pd(Wf)==="[object Generator]"}Ra.isGeneratorObject=Jf;function gh(Wf){return pd(Wf)==="[object WebAssembly.Module]"}Ra.isWebAssemblyCompiledModule=gh;function th(Wf){return Id(Wf,fd)}Ra.isNumberObject=th;function Pf(Wf){return Id(Wf,md)}Ra.isStringObject=Pf;function uh(Wf){return Id(Wf,vd)}Ra.isBooleanObject=uh;function xh(Wf){return cd&&Id(Wf,Ad)}Ra.isBigIntObject=xh;function Qf(Wf){return dd&&Id(Wf,Nd)}Ra.isSymbolObject=Qf;function Nf(Wf){return th(Wf)||Pf(Wf)||uh(Wf)||xh(Wf)||Qf(Wf)}Ra.isBoxedPrimitive=Nf;function $f(Wf){return typeof Uint8Array<"u"&&(Zf(Wf)||Kf(Wf))}Ra.isAnyArrayBuffer=$f,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Wf){Object.defineProperty(Ra,Wf,{enumerable:!1,value:function(){throw new Error(Wf+" is not supported in userland")}})})})(types);var isBufferBrowser=function(qa){return qa&&typeof qa=="object"&&typeof qa.copy=="function"&&typeof qa.fill=="function"&&typeof qa.readUInt8=="function"};(function(Ra){var qa={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:1},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_e72d6a91-80dc-48ef-805e-8b024d3e943e",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_e72d6a91-80dc-48ef-805e-8b024d3e943e",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"827",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241208.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5833",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12390458500",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_0be29237-df24-42ff-8577-19b0738a094d",INVOCATION_ID:"6082e0c4f23d452ea1611619b2624143",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"467",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 14",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_e72d6a91-80dc-48ef-805e-8b024d3e943e",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_e72d6a91-80dc-48ef-805e-8b024d3e943e",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_e72d6a91-80dc-48ef-805e-8b024d3e943e",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2179,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},nd={},od=Object.getOwnPropertyDescriptors||function(qf){for(var Kf=Object.keys(qf),Tf={},vf=0;vf=vf)return gh;switch(gh){case"%s":return String(Tf[Kf++]);case"%d":return Number(Tf[Kf++]);case"%j":try{return JSON.stringify(Tf[Kf++])}catch{return"[Circular]"}default:return gh}}),Jf=Tf[Kf];Kf"u")return function(){return Ra.deprecate(Uf,qf).apply(this,arguments)};var Kf=!1;function Tf(){if(!Kf){if(qa.throwDeprecation)throw new Error(qf);qa.traceDeprecation?console.trace(qf):console.error(qf),Kf=!0}return Uf.apply(this,arguments)}return Tf};var ud={},cd=/^$/;if(nd.NODE_DEBUG){var dd=nd.NODE_DEBUG;dd=dd.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),cd=new RegExp("^"+dd+"$","i")}Ra.debuglog=function(Uf){if(Uf=Uf.toUpperCase(),!ud[Uf])if(cd.test(Uf)){var qf=qa.pid;ud[Uf]=function(){var Kf=Ra.format.apply(Ra,arguments);console.error("%s %d: %s",Uf,qf,Kf)}}else ud[Uf]=function(){};return ud[Uf]};function pd(Uf,qf){var Kf={seen:[],stylize:md};return arguments.length>=3&&(Kf.depth=arguments[2]),arguments.length>=4&&(Kf.colors=arguments[3]),Ld(qf)?Kf.showHidden=qf:qf&&Ra._extend(Kf,qf),Yd(Kf.showHidden)&&(Kf.showHidden=!1),Yd(Kf.depth)&&(Kf.depth=2),Yd(Kf.colors)&&(Kf.colors=!1),Yd(Kf.customInspect)&&(Kf.customInspect=!0),Kf.colors&&(Kf.stylize=fd),Ad(Kf,Uf,Kf.depth)}Ra.inspect=pd,pd.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},pd.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function fd(Uf,qf){var Kf=pd.styles[qf];return Kf?"\x1B["+pd.colors[Kf][0]+"m"+Uf+"\x1B["+pd.colors[Kf][1]+"m":Uf}function md(Uf,qf){return Uf}function vd(Uf){var qf={};return Uf.forEach(function(Kf,Tf){qf[Kf]=!0}),qf}function Ad(Uf,qf,Kf){if(Uf.customInspect&&qf&&Ef(qf.inspect)&&qf.inspect!==Ra.inspect&&!(qf.constructor&&qf.constructor.prototype===qf)){var Tf=qf.inspect(Kf,Uf);return Qd(Tf)||(Tf=Ad(Uf,Tf,Kf)),Tf}var vf=Nd(Uf,qf);if(vf)return vf;var Gf=Object.keys(qf),Jf=vd(Gf);if(Uf.showHidden&&(Gf=Object.getOwnPropertyNames(qf)),gf(qf)&&(Gf.indexOf("message")>=0||Gf.indexOf("description")>=0))return Id(qf);if(Gf.length===0){if(Ef(qf)){var gh=qf.name?": "+qf.name:"";return Uf.stylize("[Function"+gh+"]","special")}if(Zd(qf))return Uf.stylize(RegExp.prototype.toString.call(qf),"regexp");if(bf(qf))return Uf.stylize(Date.prototype.toString.call(qf),"date");if(gf(qf))return Id(qf)}var th="",Pf=!1,uh=["{","}"];if(Md(qf)&&(Pf=!0,uh=["[","]"]),Ef(qf)){var xh=qf.name?": "+qf.name:"";th=" [Function"+xh+"]"}if(Zd(qf)&&(th=" "+RegExp.prototype.toString.call(qf)),bf(qf)&&(th=" "+Date.prototype.toUTCString.call(qf)),gf(qf)&&(th=" "+Id(qf)),Gf.length===0&&(!Pf||qf.length==0))return uh[0]+th+uh[1];if(Kf<0)return Zd(qf)?Uf.stylize(RegExp.prototype.toString.call(qf),"regexp"):Uf.stylize("[Object]","special");Uf.seen.push(qf);var Qf;return Pf?Qf=kd(Uf,qf,Kf,Jf,Gf):Qf=Gf.map(function(Nf){return jd(Uf,qf,Kf,Jf,Nf,Pf)}),Uf.seen.pop(),Fd(Qf,th,uh)}function Nd(Uf,qf){if(Yd(qf))return Uf.stylize("undefined","undefined");if(Qd(qf)){var Kf="'"+JSON.stringify(qf).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Uf.stylize(Kf,"string")}if(Vd(qf))return Uf.stylize(""+qf,"number");if(Ld(qf))return Uf.stylize(""+qf,"boolean");if(Hd(qf))return Uf.stylize("null","null")}function Id(Uf){return"["+Error.prototype.toString.call(Uf)+"]"}function kd(Uf,qf,Kf,Tf,vf){for(var Gf=[],Jf=0,gh=qf.length;Jf-1&&(Gf?gh=gh.split(` + */(function(Ra){var qa=requireBase64Js(),nd=ieee754,od=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ra.Buffer=dd,Ra.SlowBuffer=Md,Ra.INSPECT_MAX_BYTES=50;var ld=2147483647;Ra.kMaxLength=ld,dd.TYPED_ARRAY_SUPPORT=ud(),!dd.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function ud(){try{var Qf=new Uint8Array(1),wf={foo:function(){return 42}};return Object.setPrototypeOf(wf,Uint8Array.prototype),Object.setPrototypeOf(Qf,wf),Qf.foo()===42}catch{return!1}}Object.defineProperty(dd.prototype,"parent",{enumerable:!0,get:function(){if(dd.isBuffer(this))return this.buffer}}),Object.defineProperty(dd.prototype,"offset",{enumerable:!0,get:function(){if(dd.isBuffer(this))return this.byteOffset}});function cd(Qf){if(Qf>ld)throw new RangeError('The value "'+Qf+'" is invalid for option "size"');var wf=new Uint8Array(Qf);return Object.setPrototypeOf(wf,dd.prototype),wf}function dd(Qf,wf,$f){if(typeof Qf=="number"){if(typeof wf=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return vd(Qf)}return pd(Qf,wf,$f)}dd.poolSize=8192;function pd(Qf,wf,$f){if(typeof Qf=="string")return Ad(Qf,wf);if(ArrayBuffer.isView(Qf))return Id(Qf);if(Qf==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Qf);if(Pf(Qf,ArrayBuffer)||Qf&&Pf(Qf.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Pf(Qf,SharedArrayBuffer)||Qf&&Pf(Qf.buffer,SharedArrayBuffer)))return kd(Qf,wf,$f);if(typeof Qf=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Wf=Qf.valueOf&&Qf.valueOf();if(Wf!=null&&Wf!==Qf)return dd.from(Wf,wf,$f);var vh=jd(Qf);if(vh)return vh;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Qf[Symbol.toPrimitive]=="function")return dd.from(Qf[Symbol.toPrimitive]("string"),wf,$f);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Qf)}dd.from=function(Qf,wf,$f){return pd(Qf,wf,$f)},Object.setPrototypeOf(dd.prototype,Uint8Array.prototype),Object.setPrototypeOf(dd,Uint8Array);function fd(Qf){if(typeof Qf!="number")throw new TypeError('"size" argument must be of type number');if(Qf<0)throw new RangeError('The value "'+Qf+'" is invalid for option "size"')}function md(Qf,wf,$f){return fd(Qf),Qf<=0?cd(Qf):wf!==void 0?typeof $f=="string"?cd(Qf).fill(wf,$f):cd(Qf).fill(wf):cd(Qf)}dd.alloc=function(Qf,wf,$f){return md(Qf,wf,$f)};function vd(Qf){return fd(Qf),cd(Qf<0?0:Fd(Qf)|0)}dd.allocUnsafe=function(Qf){return vd(Qf)},dd.allocUnsafeSlow=function(Qf){return vd(Qf)};function Ad(Qf,wf){if((typeof wf!="string"||wf==="")&&(wf="utf8"),!dd.isEncoding(wf))throw new TypeError("Unknown encoding: "+wf);var $f=Ld(Qf,wf)|0,Wf=cd($f),vh=Wf.write(Qf,wf);return vh!==$f&&(Wf=Wf.slice(0,vh)),Wf}function Nd(Qf){for(var wf=Qf.length<0?0:Fd(Qf.length)|0,$f=cd(wf),Wf=0;Wf=ld)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ld.toString(16)+" bytes");return Qf|0}function Md(Qf){return+Qf!=Qf&&(Qf=0),dd.alloc(+Qf)}dd.isBuffer=function(wf){return wf!=null&&wf._isBuffer===!0&&wf!==dd.prototype},dd.compare=function(wf,$f){if(Pf(wf,Uint8Array)&&(wf=dd.from(wf,wf.offset,wf.byteLength)),Pf($f,Uint8Array)&&($f=dd.from($f,$f.offset,$f.byteLength)),!dd.isBuffer(wf)||!dd.isBuffer($f))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(wf===$f)return 0;for(var Wf=wf.length,vh=$f.length,Th=0,ph=Math.min(Wf,vh);Thvh.length?dd.from(ph).copy(vh,Th):Uint8Array.prototype.set.call(vh,ph,Th);else if(dd.isBuffer(ph))ph.copy(vh,Th);else throw new TypeError('"list" argument must be an Array of Buffers');Th+=ph.length}return vh};function Ld(Qf,wf){if(dd.isBuffer(Qf))return Qf.length;if(ArrayBuffer.isView(Qf)||Pf(Qf,ArrayBuffer))return Qf.byteLength;if(typeof Qf!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Qf);var $f=Qf.length,Wf=arguments.length>2&&arguments[2]===!0;if(!Wf&&$f===0)return 0;for(var vh=!1;;)switch(wf){case"ascii":case"latin1":case"binary":return $f;case"utf8":case"utf-8":return vf(Qf).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $f*2;case"hex":return $f>>>1;case"base64":return ch(Qf).length;default:if(vh)return Wf?-1:vf(Qf).length;wf=(""+wf).toLowerCase(),vh=!0}}dd.byteLength=Ld;function Hd(Qf,wf,$f){var Wf=!1;if((wf===void 0||wf<0)&&(wf=0),wf>this.length||(($f===void 0||$f>this.length)&&($f=this.length),$f<=0)||($f>>>=0,wf>>>=0,$f<=wf))return"";for(Qf||(Qf="utf8");;)switch(Qf){case"hex":return Xf(this,wf,$f);case"utf8":case"utf-8":return Ef(this,wf,$f);case"ascii":return Af(this,wf,$f);case"latin1":case"binary":return Lf(this,wf,$f);case"base64":return yf(this,wf,$f);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Jf(this,wf,$f);default:if(Wf)throw new TypeError("Unknown encoding: "+Qf);Qf=(Qf+"").toLowerCase(),Wf=!0}}dd.prototype._isBuffer=!0;function Gd(Qf,wf,$f){var Wf=Qf[wf];Qf[wf]=Qf[$f],Qf[$f]=Wf}dd.prototype.swap16=function(){var wf=this.length;if(wf%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var $f=0;$f$f&&(wf+=" ... "),""},od&&(dd.prototype[od]=dd.prototype.inspect),dd.prototype.compare=function(wf,$f,Wf,vh,Th){if(Pf(wf,Uint8Array)&&(wf=dd.from(wf,wf.offset,wf.byteLength)),!dd.isBuffer(wf))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof wf);if($f===void 0&&($f=0),Wf===void 0&&(Wf=wf?wf.length:0),vh===void 0&&(vh=0),Th===void 0&&(Th=this.length),$f<0||Wf>wf.length||vh<0||Th>this.length)throw new RangeError("out of range index");if(vh>=Th&&$f>=Wf)return 0;if(vh>=Th)return-1;if($f>=Wf)return 1;if($f>>>=0,Wf>>>=0,vh>>>=0,Th>>>=0,this===wf)return 0;for(var ph=Th-vh,Vh=Wf-$f,wh=Math.min(ph,Vh),fm=this.slice(vh,Th),Nm=wf.slice($f,Wf),cm=0;cm2147483647?$f=2147483647:$f<-2147483648&&($f=-2147483648),$f=+$f,uh($f)&&($f=vh?0:Qf.length-1),$f<0&&($f=Qf.length+$f),$f>=Qf.length){if(vh)return-1;$f=Qf.length-1}else if($f<0)if(vh)$f=0;else return-1;if(typeof wf=="string"&&(wf=dd.from(wf,Wf)),dd.isBuffer(wf))return wf.length===0?-1:Kd(Qf,wf,$f,Wf,vh);if(typeof wf=="number")return wf=wf&255,typeof Uint8Array.prototype.indexOf=="function"?vh?Uint8Array.prototype.indexOf.call(Qf,wf,$f):Uint8Array.prototype.lastIndexOf.call(Qf,wf,$f):Kd(Qf,[wf],$f,Wf,vh);throw new TypeError("val must be string, number or Buffer")}function Kd(Qf,wf,$f,Wf,vh){var Th=1,ph=Qf.length,Vh=wf.length;if(Wf!==void 0&&(Wf=String(Wf).toLowerCase(),Wf==="ucs2"||Wf==="ucs-2"||Wf==="utf16le"||Wf==="utf-16le")){if(Qf.length<2||wf.length<2)return-1;Th=2,ph/=2,Vh/=2,$f/=2}function wh($m,fh){return Th===1?$m[fh]:$m.readUInt16BE(fh*Th)}var fm;if(vh){var Nm=-1;for(fm=$f;fmph&&($f=ph-Vh),fm=$f;fm>=0;fm--){for(var cm=!0,Sm=0;Smvh&&(Wf=vh)):Wf=vh;var Th=wf.length;Wf>Th/2&&(Wf=Th/2);for(var ph=0;ph>>0,isFinite(Wf)?(Wf=Wf>>>0,vh===void 0&&(vh="utf8")):(vh=Wf,Wf=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Th=this.length-$f;if((Wf===void 0||Wf>Th)&&(Wf=Th),wf.length>0&&(Wf<0||$f<0)||$f>this.length)throw new RangeError("Attempt to write outside buffer bounds");vh||(vh="utf8");for(var ph=!1;;)switch(vh){case"hex":return mf(this,wf,$f,Wf);case"utf8":case"utf-8":return Wd(this,wf,$f,Wf);case"ascii":case"latin1":case"binary":return Zd(this,wf,$f,Wf);case"base64":return Xd(this,wf,$f,Wf);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return bf(this,wf,$f,Wf);default:if(ph)throw new TypeError("Unknown encoding: "+vh);vh=(""+vh).toLowerCase(),ph=!0}},dd.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function yf(Qf,wf,$f){return wf===0&&$f===Qf.length?qa.fromByteArray(Qf):qa.fromByteArray(Qf.slice(wf,$f))}function Ef(Qf,wf,$f){$f=Math.min(Qf.length,$f);for(var Wf=[],vh=wf;vh<$f;){var Th=Qf[vh],ph=null,Vh=Th>239?4:Th>223?3:Th>191?2:1;if(vh+Vh<=$f){var wh,fm,Nm,cm;switch(Vh){case 1:Th<128&&(ph=Th);break;case 2:wh=Qf[vh+1],(wh&192)===128&&(cm=(Th&31)<<6|wh&63,cm>127&&(ph=cm));break;case 3:wh=Qf[vh+1],fm=Qf[vh+2],(wh&192)===128&&(fm&192)===128&&(cm=(Th&15)<<12|(wh&63)<<6|fm&63,cm>2047&&(cm<55296||cm>57343)&&(ph=cm));break;case 4:wh=Qf[vh+1],fm=Qf[vh+2],Nm=Qf[vh+3],(wh&192)===128&&(fm&192)===128&&(Nm&192)===128&&(cm=(Th&15)<<18|(wh&63)<<12|(fm&63)<<6|Nm&63,cm>65535&&cm<1114112&&(ph=cm))}}ph===null?(ph=65533,Vh=1):ph>65535&&(ph-=65536,Wf.push(ph>>>10&1023|55296),ph=56320|ph&1023),Wf.push(ph),vh+=Vh}return xf(Wf)}var gf=4096;function xf(Qf){var wf=Qf.length;if(wf<=gf)return String.fromCharCode.apply(String,Qf);for(var $f="",Wf=0;WfWf)&&($f=Wf);for(var vh="",Th=wf;Th<$f;++Th)vh+=xh[Qf[Th]];return vh}function Jf(Qf,wf,$f){for(var Wf=Qf.slice(wf,$f),vh="",Th=0;ThWf&&(wf=Wf),$f<0?($f+=Wf,$f<0&&($f=0)):$f>Wf&&($f=Wf),$f$f)throw new RangeError("Trying to access beyond buffer length")}dd.prototype.readUintLE=dd.prototype.readUIntLE=function(wf,$f,Wf){wf=wf>>>0,$f=$f>>>0,Wf||Zf(wf,$f,this.length);for(var vh=this[wf],Th=1,ph=0;++ph<$f&&(Th*=256);)vh+=this[wf+ph]*Th;return vh},dd.prototype.readUintBE=dd.prototype.readUIntBE=function(wf,$f,Wf){wf=wf>>>0,$f=$f>>>0,Wf||Zf(wf,$f,this.length);for(var vh=this[wf+--$f],Th=1;$f>0&&(Th*=256);)vh+=this[wf+--$f]*Th;return vh},dd.prototype.readUint8=dd.prototype.readUInt8=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,1,this.length),this[wf]},dd.prototype.readUint16LE=dd.prototype.readUInt16LE=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,2,this.length),this[wf]|this[wf+1]<<8},dd.prototype.readUint16BE=dd.prototype.readUInt16BE=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,2,this.length),this[wf]<<8|this[wf+1]},dd.prototype.readUint32LE=dd.prototype.readUInt32LE=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,4,this.length),(this[wf]|this[wf+1]<<8|this[wf+2]<<16)+this[wf+3]*16777216},dd.prototype.readUint32BE=dd.prototype.readUInt32BE=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,4,this.length),this[wf]*16777216+(this[wf+1]<<16|this[wf+2]<<8|this[wf+3])},dd.prototype.readIntLE=function(wf,$f,Wf){wf=wf>>>0,$f=$f>>>0,Wf||Zf(wf,$f,this.length);for(var vh=this[wf],Th=1,ph=0;++ph<$f&&(Th*=256);)vh+=this[wf+ph]*Th;return Th*=128,vh>=Th&&(vh-=Math.pow(2,8*$f)),vh},dd.prototype.readIntBE=function(wf,$f,Wf){wf=wf>>>0,$f=$f>>>0,Wf||Zf(wf,$f,this.length);for(var vh=$f,Th=1,ph=this[wf+--vh];vh>0&&(Th*=256);)ph+=this[wf+--vh]*Th;return Th*=128,ph>=Th&&(ph-=Math.pow(2,8*$f)),ph},dd.prototype.readInt8=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,1,this.length),this[wf]&128?(255-this[wf]+1)*-1:this[wf]},dd.prototype.readInt16LE=function(wf,$f){wf=wf>>>0,$f||Zf(wf,2,this.length);var Wf=this[wf]|this[wf+1]<<8;return Wf&32768?Wf|4294901760:Wf},dd.prototype.readInt16BE=function(wf,$f){wf=wf>>>0,$f||Zf(wf,2,this.length);var Wf=this[wf+1]|this[wf]<<8;return Wf&32768?Wf|4294901760:Wf},dd.prototype.readInt32LE=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,4,this.length),this[wf]|this[wf+1]<<8|this[wf+2]<<16|this[wf+3]<<24},dd.prototype.readInt32BE=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,4,this.length),this[wf]<<24|this[wf+1]<<16|this[wf+2]<<8|this[wf+3]},dd.prototype.readFloatLE=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,4,this.length),nd.read(this,wf,!0,23,4)},dd.prototype.readFloatBE=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,4,this.length),nd.read(this,wf,!1,23,4)},dd.prototype.readDoubleLE=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,8,this.length),nd.read(this,wf,!0,52,8)},dd.prototype.readDoubleBE=function(wf,$f){return wf=wf>>>0,$f||Zf(wf,8,this.length),nd.read(this,wf,!1,52,8)};function Bf(Qf,wf,$f,Wf,vh,Th){if(!dd.isBuffer(Qf))throw new TypeError('"buffer" argument must be a Buffer instance');if(wf>vh||wfQf.length)throw new RangeError("Index out of range")}dd.prototype.writeUintLE=dd.prototype.writeUIntLE=function(wf,$f,Wf,vh){if(wf=+wf,$f=$f>>>0,Wf=Wf>>>0,!vh){var Th=Math.pow(2,8*Wf)-1;Bf(this,wf,$f,Wf,Th,0)}var ph=1,Vh=0;for(this[$f]=wf&255;++Vh>>0,Wf=Wf>>>0,!vh){var Th=Math.pow(2,8*Wf)-1;Bf(this,wf,$f,Wf,Th,0)}var ph=Wf-1,Vh=1;for(this[$f+ph]=wf&255;--ph>=0&&(Vh*=256);)this[$f+ph]=wf/Vh&255;return $f+Wf},dd.prototype.writeUint8=dd.prototype.writeUInt8=function(wf,$f,Wf){return wf=+wf,$f=$f>>>0,Wf||Bf(this,wf,$f,1,255,0),this[$f]=wf&255,$f+1},dd.prototype.writeUint16LE=dd.prototype.writeUInt16LE=function(wf,$f,Wf){return wf=+wf,$f=$f>>>0,Wf||Bf(this,wf,$f,2,65535,0),this[$f]=wf&255,this[$f+1]=wf>>>8,$f+2},dd.prototype.writeUint16BE=dd.prototype.writeUInt16BE=function(wf,$f,Wf){return wf=+wf,$f=$f>>>0,Wf||Bf(this,wf,$f,2,65535,0),this[$f]=wf>>>8,this[$f+1]=wf&255,$f+2},dd.prototype.writeUint32LE=dd.prototype.writeUInt32LE=function(wf,$f,Wf){return wf=+wf,$f=$f>>>0,Wf||Bf(this,wf,$f,4,4294967295,0),this[$f+3]=wf>>>24,this[$f+2]=wf>>>16,this[$f+1]=wf>>>8,this[$f]=wf&255,$f+4},dd.prototype.writeUint32BE=dd.prototype.writeUInt32BE=function(wf,$f,Wf){return wf=+wf,$f=$f>>>0,Wf||Bf(this,wf,$f,4,4294967295,0),this[$f]=wf>>>24,this[$f+1]=wf>>>16,this[$f+2]=wf>>>8,this[$f+3]=wf&255,$f+4},dd.prototype.writeIntLE=function(wf,$f,Wf,vh){if(wf=+wf,$f=$f>>>0,!vh){var Th=Math.pow(2,8*Wf-1);Bf(this,wf,$f,Wf,Th-1,-Th)}var ph=0,Vh=1,wh=0;for(this[$f]=wf&255;++ph>0)-wh&255;return $f+Wf},dd.prototype.writeIntBE=function(wf,$f,Wf,vh){if(wf=+wf,$f=$f>>>0,!vh){var Th=Math.pow(2,8*Wf-1);Bf(this,wf,$f,Wf,Th-1,-Th)}var ph=Wf-1,Vh=1,wh=0;for(this[$f+ph]=wf&255;--ph>=0&&(Vh*=256);)wf<0&&wh===0&&this[$f+ph+1]!==0&&(wh=1),this[$f+ph]=(wf/Vh>>0)-wh&255;return $f+Wf},dd.prototype.writeInt8=function(wf,$f,Wf){return wf=+wf,$f=$f>>>0,Wf||Bf(this,wf,$f,1,127,-128),wf<0&&(wf=255+wf+1),this[$f]=wf&255,$f+1},dd.prototype.writeInt16LE=function(wf,$f,Wf){return wf=+wf,$f=$f>>>0,Wf||Bf(this,wf,$f,2,32767,-32768),this[$f]=wf&255,this[$f+1]=wf>>>8,$f+2},dd.prototype.writeInt16BE=function(wf,$f,Wf){return wf=+wf,$f=$f>>>0,Wf||Bf(this,wf,$f,2,32767,-32768),this[$f]=wf>>>8,this[$f+1]=wf&255,$f+2},dd.prototype.writeInt32LE=function(wf,$f,Wf){return wf=+wf,$f=$f>>>0,Wf||Bf(this,wf,$f,4,2147483647,-2147483648),this[$f]=wf&255,this[$f+1]=wf>>>8,this[$f+2]=wf>>>16,this[$f+3]=wf>>>24,$f+4},dd.prototype.writeInt32BE=function(wf,$f,Wf){return wf=+wf,$f=$f>>>0,Wf||Bf(this,wf,$f,4,2147483647,-2147483648),wf<0&&(wf=4294967295+wf+1),this[$f]=wf>>>24,this[$f+1]=wf>>>16,this[$f+2]=wf>>>8,this[$f+3]=wf&255,$f+4};function Df(Qf,wf,$f,Wf,vh,Th){if($f+Wf>Qf.length)throw new RangeError("Index out of range");if($f<0)throw new RangeError("Index out of range")}function Uf(Qf,wf,$f,Wf,vh){return wf=+wf,$f=$f>>>0,vh||Df(Qf,wf,$f,4),nd.write(Qf,wf,$f,Wf,23,4),$f+4}dd.prototype.writeFloatLE=function(wf,$f,Wf){return Uf(this,wf,$f,!0,Wf)},dd.prototype.writeFloatBE=function(wf,$f,Wf){return Uf(this,wf,$f,!1,Wf)};function Gf(Qf,wf,$f,Wf,vh){return wf=+wf,$f=$f>>>0,vh||Df(Qf,wf,$f,8),nd.write(Qf,wf,$f,Wf,52,8),$f+8}dd.prototype.writeDoubleLE=function(wf,$f,Wf){return Gf(this,wf,$f,!0,Wf)},dd.prototype.writeDoubleBE=function(wf,$f,Wf){return Gf(this,wf,$f,!1,Wf)},dd.prototype.copy=function(wf,$f,Wf,vh){if(!dd.isBuffer(wf))throw new TypeError("argument should be a Buffer");if(Wf||(Wf=0),!vh&&vh!==0&&(vh=this.length),$f>=wf.length&&($f=wf.length),$f||($f=0),vh>0&&vh=this.length)throw new RangeError("Index out of range");if(vh<0)throw new RangeError("sourceEnd out of bounds");vh>this.length&&(vh=this.length),wf.length-$f>>0,Wf=Wf===void 0?this.length:Wf>>>0,wf||(wf=0);var ph;if(typeof wf=="number")for(ph=$f;ph55295&&$f<57344){if(!vh){if($f>56319){(wf-=3)>-1&&Th.push(239,191,189);continue}else if(ph+1===Wf){(wf-=3)>-1&&Th.push(239,191,189);continue}vh=$f;continue}if($f<56320){(wf-=3)>-1&&Th.push(239,191,189),vh=$f;continue}$f=(vh-55296<<10|$f-56320)+65536}else vh&&(wf-=3)>-1&&Th.push(239,191,189);if(vh=null,$f<128){if((wf-=1)<0)break;Th.push($f)}else if($f<2048){if((wf-=2)<0)break;Th.push($f>>6|192,$f&63|128)}else if($f<65536){if((wf-=3)<0)break;Th.push($f>>12|224,$f>>6&63|128,$f&63|128)}else if($f<1114112){if((wf-=4)<0)break;Th.push($f>>18|240,$f>>12&63|128,$f>>6&63|128,$f&63|128)}else throw new Error("Invalid code point")}return Th}function qf(Qf){for(var wf=[],$f=0;$f>8,vh=$f%256,Th.push(vh),Th.push(Wf);return Th}function ch(Qf){return qa.toByteArray(Tf(Qf))}function ih(Qf,wf,$f,Wf){for(var vh=0;vh=wf.length||vh>=Qf.length);++vh)wf[vh+$f]=Qf[vh];return vh}function Pf(Qf,wf){return Qf instanceof wf||Qf!=null&&Qf.constructor!=null&&Qf.constructor.name!=null&&Qf.constructor.name===wf.name}function uh(Qf){return Qf!==Qf}var xh=function(){for(var Qf="0123456789abcdef",wf=new Array(256),$f=0;$f<16;++$f)for(var Wf=$f*16,vh=0;vh<16;++vh)wf[Wf+vh]=Qf[$f]+Qf[vh];return wf}()})(buffer);var util$5={},types={},shams$1=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var qa={},nd=Symbol("test"),od=Object(nd);if(typeof nd=="string"||Object.prototype.toString.call(nd)!=="[object Symbol]"||Object.prototype.toString.call(od)!=="[object Symbol]")return!1;var ld=42;qa[nd]=ld;for(nd in qa)return!1;if(typeof Object.keys=="function"&&Object.keys(qa).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(qa).length!==0)return!1;var ud=Object.getOwnPropertySymbols(qa);if(ud.length!==1||ud[0]!==nd||!Object.prototype.propertyIsEnumerable.call(qa,nd))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var cd=Object.getOwnPropertyDescriptor(qa,nd);if(cd.value!==ld||cd.enumerable!==!0)return!1}return!0},hasSymbols$2=shams$1,shams=function(){return hasSymbols$2()&&!!Symbol.toStringTag},esErrors=Error,_eval=EvalError,range$1=RangeError,ref=ReferenceError,syntax=SyntaxError,type=TypeError,uri=URIError,origSymbol=typeof Symbol<"u"&&Symbol,hasSymbolSham=shams$1,hasSymbols$1=function(){return typeof origSymbol!="function"||typeof Symbol!="function"||typeof origSymbol("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:hasSymbolSham()},test={__proto__:null,foo:{}},$Object=Object,hasProto$1=function(){return{__proto__:test}.foo===test.foo&&!(test instanceof $Object)},ERROR_MESSAGE="Function.prototype.bind called on incompatible ",toStr$3=Object.prototype.toString,max=Math.max,funcType="[object Function]",concatty=function(qa,nd){for(var od=[],ld=0;ld"u"||!getProto$1?undefined$1:getProto$1(Uint8Array),INTRINSICS={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?undefined$1:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?undefined$1:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto$1?getProto$1([][Symbol.iterator]()):undefined$1,"%AsyncFromSyncIteratorPrototype%":undefined$1,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":typeof Atomics>"u"?undefined$1:Atomics,"%BigInt%":typeof BigInt>"u"?undefined$1:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?undefined$1:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?undefined$1:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?undefined$1:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float32Array%":typeof Float32Array>"u"?undefined$1:Float32Array,"%Float64Array%":typeof Float64Array>"u"?undefined$1:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?undefined$1:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":typeof Int8Array>"u"?undefined$1:Int8Array,"%Int16Array%":typeof Int16Array>"u"?undefined$1:Int16Array,"%Int32Array%":typeof Int32Array>"u"?undefined$1:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto$1?getProto$1(getProto$1([][Symbol.iterator]())):undefined$1,"%JSON%":typeof JSON=="object"?JSON:undefined$1,"%Map%":typeof Map>"u"?undefined$1:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hasSymbols||!getProto$1?undefined$1:getProto$1(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?undefined$1:Promise,"%Proxy%":typeof Proxy>"u"?undefined$1:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":typeof Reflect>"u"?undefined$1:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?undefined$1:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hasSymbols||!getProto$1?undefined$1:getProto$1(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?undefined$1:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto$1?getProto$1(""[Symbol.iterator]()):undefined$1,"%Symbol%":hasSymbols?Symbol:undefined$1,"%SyntaxError%":$SyntaxError$1,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError$2,"%Uint8Array%":typeof Uint8Array>"u"?undefined$1:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?undefined$1:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?undefined$1:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?undefined$1:Uint32Array,"%URIError%":$URIError,"%WeakMap%":typeof WeakMap>"u"?undefined$1:WeakMap,"%WeakRef%":typeof WeakRef>"u"?undefined$1:WeakRef,"%WeakSet%":typeof WeakSet>"u"?undefined$1:WeakSet};if(getProto$1)try{null.error}catch(Ra){var errorProto=getProto$1(getProto$1(Ra));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function Ra(qa){var nd;if(qa==="%AsyncFunction%")nd=getEvalledConstructor("async function () {}");else if(qa==="%GeneratorFunction%")nd=getEvalledConstructor("function* () {}");else if(qa==="%AsyncGeneratorFunction%")nd=getEvalledConstructor("async function* () {}");else if(qa==="%AsyncGenerator%"){var od=Ra("%AsyncGeneratorFunction%");od&&(nd=od.prototype)}else if(qa==="%AsyncIteratorPrototype%"){var ld=Ra("%AsyncGenerator%");ld&&getProto$1&&(nd=getProto$1(ld.prototype))}return INTRINSICS[qa]=nd,nd},LEGACY_ALIASES={__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"]},bind=functionBind,hasOwn=hasown,$concat=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),$exec=bind.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function(qa){var nd=$strSlice(qa,0,1),od=$strSlice(qa,-1);if(nd==="%"&&od!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");if(od==="%"&&nd!=="%")throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");var ld=[];return $replace(qa,rePropName,function(ud,cd,dd,pd){ld[ld.length]=dd?$replace(pd,reEscapeChar,"$1"):cd||ud}),ld},getBaseIntrinsic=function(qa,nd){var od=qa,ld;if(hasOwn(LEGACY_ALIASES,od)&&(ld=LEGACY_ALIASES[od],od="%"+ld[0]+"%"),hasOwn(INTRINSICS,od)){var ud=INTRINSICS[od];if(ud===needsEval&&(ud=doEval(od)),typeof ud>"u"&&!nd)throw new $TypeError$2("intrinsic "+qa+" exists, but is not available. Please file an issue!");return{alias:ld,name:od,value:ud}}throw new $SyntaxError$1("intrinsic "+qa+" does not exist!")},getIntrinsic=function(qa,nd){if(typeof qa!="string"||qa.length===0)throw new $TypeError$2("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof nd!="boolean")throw new $TypeError$2('"allowMissing" argument must be a boolean');if($exec(/^%?[^%]*%?$/,qa)===null)throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var od=stringToPath(qa),ld=od.length>0?od[0]:"",ud=getBaseIntrinsic("%"+ld+"%",nd),cd=ud.name,dd=ud.value,pd=!1,fd=ud.alias;fd&&(ld=fd[0],$spliceApply(od,$concat([0,1],fd)));for(var md=1,vd=!0;md=od.length){var kd=$gOPD$1(dd,Ad);vd=!!kd,vd&&"get"in kd&&!("originalValue"in kd.get)?dd=kd.get:dd=dd[Ad]}else vd=hasOwn(dd,Ad),dd=dd[Ad];vd&&!pd&&(INTRINSICS[cd]=dd)}}return dd},callBind$2={exports:{}},esDefineProperty,hasRequiredEsDefineProperty;function requireEsDefineProperty(){if(hasRequiredEsDefineProperty)return esDefineProperty;hasRequiredEsDefineProperty=1;var Ra=getIntrinsic,qa=Ra("%Object.defineProperty%",!0)||!1;if(qa)try{qa({},"a",{value:1})}catch{qa=!1}return esDefineProperty=qa,esDefineProperty}var GetIntrinsic$2=getIntrinsic,$gOPD=GetIntrinsic$2("%Object.getOwnPropertyDescriptor%",!0);if($gOPD)try{$gOPD([],"length")}catch{$gOPD=null}var gopd$1=$gOPD,$defineProperty$1=requireEsDefineProperty(),$SyntaxError=syntax,$TypeError$1=type,gopd=gopd$1,defineDataProperty=function(qa,nd,od){if(!qa||typeof qa!="object"&&typeof qa!="function")throw new $TypeError$1("`obj` must be an object or a function`");if(typeof nd!="string"&&typeof nd!="symbol")throw new $TypeError$1("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new $TypeError$1("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new $TypeError$1("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new $TypeError$1("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new $TypeError$1("`loose`, if provided, must be a boolean");var ld=arguments.length>3?arguments[3]:null,ud=arguments.length>4?arguments[4]:null,cd=arguments.length>5?arguments[5]:null,dd=arguments.length>6?arguments[6]:!1,pd=!!gopd&&gopd(qa,nd);if($defineProperty$1)$defineProperty$1(qa,nd,{configurable:cd===null&&pd?pd.configurable:!cd,enumerable:ld===null&&pd?pd.enumerable:!ld,value:od,writable:ud===null&&pd?pd.writable:!ud});else if(dd||!ld&&!ud&&!cd)qa[nd]=od;else throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},$defineProperty=requireEsDefineProperty(),hasPropertyDescriptors=function(){return!!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function(){if(!$defineProperty)return null;try{return $defineProperty([],"length",{value:1}).length!==1}catch{return!0}};var hasPropertyDescriptors_1=hasPropertyDescriptors,GetIntrinsic$1=getIntrinsic,define=defineDataProperty,hasDescriptors=hasPropertyDescriptors_1(),gOPD$1=gopd$1,$TypeError=type,$floor=GetIntrinsic$1("%Math.floor%"),setFunctionLength=function(qa,nd){if(typeof qa!="function")throw new $TypeError("`fn` is not a function");if(typeof nd!="number"||nd<0||nd>4294967295||$floor(nd)!==nd)throw new $TypeError("`length` must be a positive 32-bit integer");var od=arguments.length>2&&!!arguments[2],ld=!0,ud=!0;if("length"in qa&&gOPD$1){var cd=gOPD$1(qa,"length");cd&&!cd.configurable&&(ld=!1),cd&&!cd.writable&&(ud=!1)}return(ld||ud||!od)&&(hasDescriptors?define(qa,"length",nd,!0,!0):define(qa,"length",nd)),qa};(function(Ra){var qa=functionBind,nd=getIntrinsic,od=setFunctionLength,ld=type,ud=nd("%Function.prototype.apply%"),cd=nd("%Function.prototype.call%"),dd=nd("%Reflect.apply%",!0)||qa.call(cd,ud),pd=requireEsDefineProperty(),fd=nd("%Math.max%");Ra.exports=function(Ad){if(typeof Ad!="function")throw new ld("a function is required");var Nd=dd(qa,cd,arguments);return od(Nd,1+fd(0,Ad.length-(arguments.length-1)),!0)};var md=function(){return dd(qa,ud,arguments)};pd?pd(Ra.exports,"apply",{value:md}):Ra.exports.apply=md})(callBind$2);var callBindExports=callBind$2.exports,GetIntrinsic=getIntrinsic,callBind$1=callBindExports,$indexOf$1=callBind$1(GetIntrinsic("String.prototype.indexOf")),callBound$2=function(qa,nd){var od=GetIntrinsic(qa,!!nd);return typeof od=="function"&&$indexOf$1(qa,".prototype.")>-1?callBind$1(od):od},hasToStringTag$3=shams(),callBound$1=callBound$2,$toString$1=callBound$1("Object.prototype.toString"),isStandardArguments=function(qa){return hasToStringTag$3&&qa&&typeof qa=="object"&&Symbol.toStringTag in qa?!1:$toString$1(qa)==="[object Arguments]"},isLegacyArguments=function(qa){return isStandardArguments(qa)?!0:qa!==null&&typeof qa=="object"&&typeof qa.length=="number"&&qa.length>=0&&$toString$1(qa)!=="[object Array]"&&$toString$1(qa.callee)==="[object Function]"},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments;var isArguments=supportsStandardArguments?isStandardArguments:isLegacyArguments,toStr$2=Object.prototype.toString,fnToStr$1=Function.prototype.toString,isFnRegex=/^\s*(?:function)?\*/,hasToStringTag$2=shams(),getProto=Object.getPrototypeOf,getGeneratorFunc=function(){if(!hasToStringTag$2)return!1;try{return Function("return function*() {}")()}catch{}},GeneratorFunction,isGeneratorFunction=function(qa){if(typeof qa!="function")return!1;if(isFnRegex.test(fnToStr$1.call(qa)))return!0;if(!hasToStringTag$2){var nd=toStr$2.call(qa);return nd==="[object GeneratorFunction]"}if(!getProto)return!1;if(typeof GeneratorFunction>"u"){var od=getGeneratorFunc();GeneratorFunction=od?getProto(od):!1}return getProto(qa)===GeneratorFunction},fnToStr=Function.prototype.toString,reflectApply=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,badArrayLike,isCallableMarker;if(typeof reflectApply=="function"&&typeof Object.defineProperty=="function")try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply(function(){throw 42},null,badArrayLike)}catch(Ra){Ra!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var constructorRegex=/^\s*class\b/,isES6ClassFn=function(qa){try{var nd=fnToStr.call(qa);return constructorRegex.test(nd)}catch{return!1}},tryFunctionObject=function(qa){try{return isES6ClassFn(qa)?!1:(fnToStr.call(qa),!0)}catch{return!1}},toStr$1=Object.prototype.toString,objectClass="[object Object]",fnClass="[object Function]",genClass="[object GeneratorFunction]",ddaClass="[object HTMLAllCollection]",ddaClass2="[object HTML document.all class]",ddaClass3="[object HTMLCollection]",hasToStringTag$1=typeof Symbol=="function"&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function(){return!1};if(typeof document=="object"){var all=document.all;toStr$1.call(all)===toStr$1.call(document.all)&&(isDDA=function(qa){if((isIE68||!qa)&&(typeof qa>"u"||typeof qa=="object"))try{var nd=toStr$1.call(qa);return(nd===ddaClass||nd===ddaClass2||nd===ddaClass3||nd===objectClass)&&qa("")==null}catch{}return!1})}var isCallable$1=reflectApply?function(qa){if(isDDA(qa))return!0;if(!qa||typeof qa!="function"&&typeof qa!="object")return!1;try{reflectApply(qa,null,badArrayLike)}catch(nd){if(nd!==isCallableMarker)return!1}return!isES6ClassFn(qa)&&tryFunctionObject(qa)}:function(qa){if(isDDA(qa))return!0;if(!qa||typeof qa!="function"&&typeof qa!="object")return!1;if(hasToStringTag$1)return tryFunctionObject(qa);if(isES6ClassFn(qa))return!1;var nd=toStr$1.call(qa);return nd!==fnClass&&nd!==genClass&&!/^\[object HTML/.test(nd)?!1:tryFunctionObject(qa)},isCallable=isCallable$1,toStr=Object.prototype.toString,hasOwnProperty$1=Object.prototype.hasOwnProperty,forEachArray=function(qa,nd,od){for(var ld=0,ud=qa.length;ld=3&&(ld=od),toStr.call(qa)==="[object Array]"?forEachArray(qa,nd,ld):typeof qa=="string"?forEachString(qa,nd,ld):forEachObject(qa,nd,ld)},forEach_1=forEach$1,possibleTypedArrayNames=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],possibleNames=possibleTypedArrayNames,g$1=typeof globalThis>"u"?commonjsGlobal:globalThis,availableTypedArrays$1=function(){for(var qa=[],nd=0;nd"u"?commonjsGlobal:globalThis,typedArrays=availableTypedArrays(),$slice=callBound("String.prototype.slice"),getPrototypeOf=Object.getPrototypeOf,$indexOf=callBound("Array.prototype.indexOf",!0)||function(qa,nd){for(var od=0;od-1?nd:nd!=="Object"?!1:trySlices(qa)}return gOPD?tryTypedArrays(qa):null},whichTypedArray=whichTypedArray$1,isTypedArray=function(qa){return!!whichTypedArray(qa)};(function(Ra){var qa=isArguments,nd=isGeneratorFunction,od=whichTypedArray$1,ld=isTypedArray;function ud(Wf){return Wf.call.bind(Wf)}var cd=typeof BigInt<"u",dd=typeof Symbol<"u",pd=ud(Object.prototype.toString),fd=ud(Number.prototype.valueOf),md=ud(String.prototype.valueOf),vd=ud(Boolean.prototype.valueOf);if(cd)var Ad=ud(BigInt.prototype.valueOf);if(dd)var Nd=ud(Symbol.prototype.valueOf);function Id(Wf,vh){if(typeof Wf!="object")return!1;try{return vh(Wf),!0}catch{return!1}}Ra.isArgumentsObject=qa,Ra.isGeneratorFunction=nd,Ra.isTypedArray=ld;function kd(Wf){return typeof Promise<"u"&&Wf instanceof Promise||Wf!==null&&typeof Wf=="object"&&typeof Wf.then=="function"&&typeof Wf.catch=="function"}Ra.isPromise=kd;function jd(Wf){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(Wf):ld(Wf)||Df(Wf)}Ra.isArrayBufferView=jd;function Fd(Wf){return od(Wf)==="Uint8Array"}Ra.isUint8Array=Fd;function Md(Wf){return od(Wf)==="Uint8ClampedArray"}Ra.isUint8ClampedArray=Md;function Ld(Wf){return od(Wf)==="Uint16Array"}Ra.isUint16Array=Ld;function Hd(Wf){return od(Wf)==="Uint32Array"}Ra.isUint32Array=Hd;function Gd(Wf){return od(Wf)==="Int8Array"}Ra.isInt8Array=Gd;function Vd(Wf){return od(Wf)==="Int16Array"}Ra.isInt16Array=Vd;function Kd(Wf){return od(Wf)==="Int32Array"}Ra.isInt32Array=Kd;function mf(Wf){return od(Wf)==="Float32Array"}Ra.isFloat32Array=mf;function Wd(Wf){return od(Wf)==="Float64Array"}Ra.isFloat64Array=Wd;function Zd(Wf){return od(Wf)==="BigInt64Array"}Ra.isBigInt64Array=Zd;function Xd(Wf){return od(Wf)==="BigUint64Array"}Ra.isBigUint64Array=Xd;function bf(Wf){return pd(Wf)==="[object Map]"}bf.working=typeof Map<"u"&&bf(new Map);function yf(Wf){return typeof Map>"u"?!1:bf.working?bf(Wf):Wf instanceof Map}Ra.isMap=yf;function Ef(Wf){return pd(Wf)==="[object Set]"}Ef.working=typeof Set<"u"&&Ef(new Set);function gf(Wf){return typeof Set>"u"?!1:Ef.working?Ef(Wf):Wf instanceof Set}Ra.isSet=gf;function xf(Wf){return pd(Wf)==="[object WeakMap]"}xf.working=typeof WeakMap<"u"&&xf(new WeakMap);function Af(Wf){return typeof WeakMap>"u"?!1:xf.working?xf(Wf):Wf instanceof WeakMap}Ra.isWeakMap=Af;function Lf(Wf){return pd(Wf)==="[object WeakSet]"}Lf.working=typeof WeakSet<"u"&&Lf(new WeakSet);function Xf(Wf){return Lf(Wf)}Ra.isWeakSet=Xf;function Jf(Wf){return pd(Wf)==="[object ArrayBuffer]"}Jf.working=typeof ArrayBuffer<"u"&&Jf(new ArrayBuffer);function Zf(Wf){return typeof ArrayBuffer>"u"?!1:Jf.working?Jf(Wf):Wf instanceof ArrayBuffer}Ra.isArrayBuffer=Zf;function Bf(Wf){return pd(Wf)==="[object DataView]"}Bf.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&Bf(new DataView(new ArrayBuffer(1),0,1));function Df(Wf){return typeof DataView>"u"?!1:Bf.working?Bf(Wf):Wf instanceof DataView}Ra.isDataView=Df;var Uf=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function Gf(Wf){return pd(Wf)==="[object SharedArrayBuffer]"}function zf(Wf){return typeof Uf>"u"?!1:(typeof Gf.working>"u"&&(Gf.working=Gf(new Uf)),Gf.working?Gf(Wf):Wf instanceof Uf)}Ra.isSharedArrayBuffer=zf;function Tf(Wf){return pd(Wf)==="[object AsyncFunction]"}Ra.isAsyncFunction=Tf;function vf(Wf){return pd(Wf)==="[object Map Iterator]"}Ra.isMapIterator=vf;function qf(Wf){return pd(Wf)==="[object Set Iterator]"}Ra.isSetIterator=qf;function eh(Wf){return pd(Wf)==="[object Generator]"}Ra.isGeneratorObject=eh;function ch(Wf){return pd(Wf)==="[object WebAssembly.Module]"}Ra.isWebAssemblyCompiledModule=ch;function ih(Wf){return Id(Wf,fd)}Ra.isNumberObject=ih;function Pf(Wf){return Id(Wf,md)}Ra.isStringObject=Pf;function uh(Wf){return Id(Wf,vd)}Ra.isBooleanObject=uh;function xh(Wf){return cd&&Id(Wf,Ad)}Ra.isBigIntObject=xh;function Qf(Wf){return dd&&Id(Wf,Nd)}Ra.isSymbolObject=Qf;function wf(Wf){return ih(Wf)||Pf(Wf)||uh(Wf)||xh(Wf)||Qf(Wf)}Ra.isBoxedPrimitive=wf;function $f(Wf){return typeof Uint8Array<"u"&&(Zf(Wf)||zf(Wf))}Ra.isAnyArrayBuffer=$f,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Wf){Object.defineProperty(Ra,Wf,{enumerable:!1,value:function(){throw new Error(Wf+" is not supported in userland")}})})})(types);var isBufferBrowser=function(qa){return qa&&typeof qa=="object"&&typeof qa.copy=="function"&&typeof qa.fill=="function"&&typeof qa.readUInt8=="function"};(function(Ra){var qa={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_9b3b18d1-9340-49ab-b4e8-5023772e0970",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_9b3b18d1-9340-49ab-b4e8-5023772e0970",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:1985",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12403591553",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_77bf6c2e-16c6-46b5-9674-d636e159247f",INVOCATION_ID:"2e23158896aa43b4b0c7cc0c353d16fa",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"468",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 17",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_9b3b18d1-9340-49ab-b4e8-5023772e0970",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_9b3b18d1-9340-49ab-b4e8-5023772e0970",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_9b3b18d1-9340-49ab-b4e8-5023772e0970",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2165,ppid:2164,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},nd={},od=Object.getOwnPropertyDescriptors||function(Gf){for(var zf=Object.keys(Gf),Tf={},vf=0;vf=vf)return ch;switch(ch){case"%s":return String(Tf[zf++]);case"%d":return Number(Tf[zf++]);case"%j":try{return JSON.stringify(Tf[zf++])}catch{return"[Circular]"}default:return ch}}),eh=Tf[zf];zf"u")return function(){return Ra.deprecate(Uf,Gf).apply(this,arguments)};var zf=!1;function Tf(){if(!zf){if(qa.throwDeprecation)throw new Error(Gf);qa.traceDeprecation?console.trace(Gf):console.error(Gf),zf=!0}return Uf.apply(this,arguments)}return Tf};var ud={},cd=/^$/;if(nd.NODE_DEBUG){var dd=nd.NODE_DEBUG;dd=dd.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),cd=new RegExp("^"+dd+"$","i")}Ra.debuglog=function(Uf){if(Uf=Uf.toUpperCase(),!ud[Uf])if(cd.test(Uf)){var Gf=qa.pid;ud[Uf]=function(){var zf=Ra.format.apply(Ra,arguments);console.error("%s %d: %s",Uf,Gf,zf)}}else ud[Uf]=function(){};return ud[Uf]};function pd(Uf,Gf){var zf={seen:[],stylize:md};return arguments.length>=3&&(zf.depth=arguments[2]),arguments.length>=4&&(zf.colors=arguments[3]),Ld(Gf)?zf.showHidden=Gf:Gf&&Ra._extend(zf,Gf),Wd(zf.showHidden)&&(zf.showHidden=!1),Wd(zf.depth)&&(zf.depth=2),Wd(zf.colors)&&(zf.colors=!1),Wd(zf.customInspect)&&(zf.customInspect=!0),zf.colors&&(zf.stylize=fd),Ad(zf,Uf,zf.depth)}Ra.inspect=pd,pd.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},pd.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function fd(Uf,Gf){var zf=pd.styles[Gf];return zf?"\x1B["+pd.colors[zf][0]+"m"+Uf+"\x1B["+pd.colors[zf][1]+"m":Uf}function md(Uf,Gf){return Uf}function vd(Uf){var Gf={};return Uf.forEach(function(zf,Tf){Gf[zf]=!0}),Gf}function Ad(Uf,Gf,zf){if(Uf.customInspect&&Gf&&Ef(Gf.inspect)&&Gf.inspect!==Ra.inspect&&!(Gf.constructor&&Gf.constructor.prototype===Gf)){var Tf=Gf.inspect(zf,Uf);return Kd(Tf)||(Tf=Ad(Uf,Tf,zf)),Tf}var vf=Nd(Uf,Gf);if(vf)return vf;var qf=Object.keys(Gf),eh=vd(qf);if(Uf.showHidden&&(qf=Object.getOwnPropertyNames(Gf)),yf(Gf)&&(qf.indexOf("message")>=0||qf.indexOf("description")>=0))return Id(Gf);if(qf.length===0){if(Ef(Gf)){var ch=Gf.name?": "+Gf.name:"";return Uf.stylize("[Function"+ch+"]","special")}if(Zd(Gf))return Uf.stylize(RegExp.prototype.toString.call(Gf),"regexp");if(bf(Gf))return Uf.stylize(Date.prototype.toString.call(Gf),"date");if(yf(Gf))return Id(Gf)}var ih="",Pf=!1,uh=["{","}"];if(Md(Gf)&&(Pf=!0,uh=["[","]"]),Ef(Gf)){var xh=Gf.name?": "+Gf.name:"";ih=" [Function"+xh+"]"}if(Zd(Gf)&&(ih=" "+RegExp.prototype.toString.call(Gf)),bf(Gf)&&(ih=" "+Date.prototype.toUTCString.call(Gf)),yf(Gf)&&(ih=" "+Id(Gf)),qf.length===0&&(!Pf||Gf.length==0))return uh[0]+ih+uh[1];if(zf<0)return Zd(Gf)?Uf.stylize(RegExp.prototype.toString.call(Gf),"regexp"):Uf.stylize("[Object]","special");Uf.seen.push(Gf);var Qf;return Pf?Qf=kd(Uf,Gf,zf,eh,qf):Qf=qf.map(function(wf){return jd(Uf,Gf,zf,eh,wf,Pf)}),Uf.seen.pop(),Fd(Qf,ih,uh)}function Nd(Uf,Gf){if(Wd(Gf))return Uf.stylize("undefined","undefined");if(Kd(Gf)){var zf="'"+JSON.stringify(Gf).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Uf.stylize(zf,"string")}if(Vd(Gf))return Uf.stylize(""+Gf,"number");if(Ld(Gf))return Uf.stylize(""+Gf,"boolean");if(Hd(Gf))return Uf.stylize("null","null")}function Id(Uf){return"["+Error.prototype.toString.call(Uf)+"]"}function kd(Uf,Gf,zf,Tf,vf){for(var qf=[],eh=0,ch=Gf.length;eh-1&&(qf?ch=ch.split(` `).map(function(Pf){return" "+Pf}).join(` -`).slice(2):gh=` -`+gh.split(` +`).slice(2):ch=` +`+ch.split(` `).map(function(Pf){return" "+Pf}).join(` -`))):gh=Uf.stylize("[Circular]","special")),Yd(Jf)){if(Gf&&vf.match(/^\d+$/))return gh;Jf=JSON.stringify(""+vf),Jf.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Jf=Jf.slice(1,-1),Jf=Uf.stylize(Jf,"name")):(Jf=Jf.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Jf=Uf.stylize(Jf,"string"))}return Jf+": "+gh}function Fd(Uf,qf,Kf){var Tf=Uf.reduce(function(vf,Gf){return Gf.indexOf(` -`)>=0,vf+Gf.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Tf>60?Kf[0]+(qf===""?"":qf+` +`))):ch=Uf.stylize("[Circular]","special")),Wd(eh)){if(qf&&vf.match(/^\d+$/))return ch;eh=JSON.stringify(""+vf),eh.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(eh=eh.slice(1,-1),eh=Uf.stylize(eh,"name")):(eh=eh.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),eh=Uf.stylize(eh,"string"))}return eh+": "+ch}function Fd(Uf,Gf,zf){var Tf=Uf.reduce(function(vf,qf){return qf.indexOf(` +`)>=0,vf+qf.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Tf>60?zf[0]+(Gf===""?"":Gf+` `)+" "+Uf.join(`, - `)+" "+Kf[1]:Kf[0]+qf+" "+Uf.join(", ")+" "+Kf[1]}Ra.types=types;function Md(Uf){return Array.isArray(Uf)}Ra.isArray=Md;function Ld(Uf){return typeof Uf=="boolean"}Ra.isBoolean=Ld;function Hd(Uf){return Uf===null}Ra.isNull=Hd;function Gd(Uf){return Uf==null}Ra.isNullOrUndefined=Gd;function Vd(Uf){return typeof Uf=="number"}Ra.isNumber=Vd;function Qd(Uf){return typeof Uf=="string"}Ra.isString=Qd;function mf(Uf){return typeof Uf=="symbol"}Ra.isSymbol=mf;function Yd(Uf){return Uf===void 0}Ra.isUndefined=Yd;function Zd(Uf){return Kd(Uf)&&xf(Uf)==="[object RegExp]"}Ra.isRegExp=Zd,Ra.types.isRegExp=Zd;function Kd(Uf){return typeof Uf=="object"&&Uf!==null}Ra.isObject=Kd;function bf(Uf){return Kd(Uf)&&xf(Uf)==="[object Date]"}Ra.isDate=bf,Ra.types.isDate=bf;function gf(Uf){return Kd(Uf)&&(xf(Uf)==="[object Error]"||Uf instanceof Error)}Ra.isError=gf,Ra.types.isNativeError=gf;function Ef(Uf){return typeof Uf=="function"}Ra.isFunction=Ef;function yf(Uf){return Uf===null||typeof Uf=="boolean"||typeof Uf=="number"||typeof Uf=="string"||typeof Uf=="symbol"||typeof Uf>"u"}Ra.isPrimitive=yf,Ra.isBuffer=isBufferBrowser;function xf(Uf){return Object.prototype.toString.call(Uf)}function Af(Uf){return Uf<10?"0"+Uf.toString(10):Uf.toString(10)}var Lf=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Xf(){var Uf=new Date,qf=[Af(Uf.getHours()),Af(Uf.getMinutes()),Af(Uf.getSeconds())].join(":");return[Uf.getDate(),Lf[Uf.getMonth()],qf].join(" ")}Ra.log=function(){console.log("%s - %s",Xf(),Ra.format.apply(Ra,arguments))},Ra.inherits=inherits_browserExports,Ra._extend=function(Uf,qf){if(!qf||!Kd(qf))return Uf;for(var Kf=Object.keys(qf),Tf=Kf.length;Tf--;)Uf[Kf[Tf]]=qf[Kf[Tf]];return Uf};function ih(Uf,qf){return Object.prototype.hasOwnProperty.call(Uf,qf)}var Zf=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;Ra.promisify=function(qf){if(typeof qf!="function")throw new TypeError('The "original" argument must be of type Function');if(Zf&&qf[Zf]){var Kf=qf[Zf];if(typeof Kf!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Kf,Zf,{value:Kf,enumerable:!1,writable:!1,configurable:!0}),Kf}function Kf(){for(var Tf,vf,Gf=new Promise(function(th,Pf){Tf=th,vf=Pf}),Jf=[],gh=0;gh0?this.tail.next=Fd:this.head=Fd,this.tail=Fd,++this.length}},{key:"unshift",value:function(jd){var Fd={data:jd,next:this.head};this.length===0&&(this.tail=Fd),this.head=Fd,++this.length}},{key:"shift",value:function(){if(this.length!==0){var jd=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,jd}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(jd){if(this.length===0)return"";for(var Fd=this.head,Md=""+Fd.data;Fd=Fd.next;)Md+=jd+Fd.data;return Md}},{key:"concat",value:function(jd){if(this.length===0)return fd.alloc(0);for(var Fd=fd.allocUnsafe(jd>>>0),Md=this.head,Ld=0;Md;)Nd(Md.data,Fd,Ld),Ld+=Md.data.length,Md=Md.next;return Fd}},{key:"consume",value:function(jd,Fd){var Md;return jdHd.length?Hd.length:jd;if(Gd===Hd.length?Ld+=Hd:Ld+=Hd.slice(0,jd),jd-=Gd,jd===0){Gd===Hd.length?(++Md,Fd.next?this.head=Fd.next:this.head=this.tail=null):(this.head=Fd,Fd.data=Hd.slice(Gd));break}++Md}return this.length-=Md,Ld}},{key:"_getBuffer",value:function(jd){var Fd=fd.allocUnsafe(jd),Md=this.head,Ld=1;for(Md.data.copy(Fd),jd-=Md.data.length;Md=Md.next;){var Hd=Md.data,Gd=jd>Hd.length?Hd.length:jd;if(Hd.copy(Fd,Fd.length-jd,0,Gd),jd-=Gd,jd===0){Gd===Hd.length?(++Ld,Md.next?this.head=Md.next:this.head=this.tail=null):(this.head=Md,Md.data=Hd.slice(Gd));break}++Ld}return this.length-=Ld,Fd}},{key:Ad,value:function(jd,Fd){return vd(this,qa(qa({},Fd),{},{depth:0,customInspect:!1}))}}]),Id}(),buffer_list}var define_process_default$6={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:1},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_e72d6a91-80dc-48ef-805e-8b024d3e943e",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_e72d6a91-80dc-48ef-805e-8b024d3e943e",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"827",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241208.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5833",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12390458500",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_0be29237-df24-42ff-8577-19b0738a094d",INVOCATION_ID:"6082e0c4f23d452ea1611619b2624143",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"467",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 14",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_e72d6a91-80dc-48ef-805e-8b024d3e943e",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_e72d6a91-80dc-48ef-805e-8b024d3e943e",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_e72d6a91-80dc-48ef-805e-8b024d3e943e",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2179,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};function destroy(Ra,qa){var nd=this,od=this._readableState&&this._readableState.destroyed,ld=this._writableState&&this._writableState.destroyed;return od||ld?(qa?qa(Ra):Ra&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,define_process_default$6.nextTick(emitErrorNT,this,Ra)):define_process_default$6.nextTick(emitErrorNT,this,Ra)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(Ra||null,function(ud){!qa&&ud?nd._writableState?nd._writableState.errorEmitted?define_process_default$6.nextTick(emitCloseNT,nd):(nd._writableState.errorEmitted=!0,define_process_default$6.nextTick(emitErrorAndCloseNT,nd,ud)):define_process_default$6.nextTick(emitErrorAndCloseNT,nd,ud):qa?(define_process_default$6.nextTick(emitCloseNT,nd),qa(ud)):define_process_default$6.nextTick(emitCloseNT,nd)}),this)}function emitErrorAndCloseNT(Ra,qa){emitErrorNT(Ra,qa),emitCloseNT(Ra)}function emitCloseNT(Ra){Ra._writableState&&!Ra._writableState.emitClose||Ra._readableState&&!Ra._readableState.emitClose||Ra.emit("close")}function undestroy(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function emitErrorNT(Ra,qa){Ra.emit("error",qa)}function errorOrDestroy(Ra,qa){var nd=Ra._readableState,od=Ra._writableState;nd&&nd.autoDestroy||od&&od.autoDestroy?Ra.destroy(qa):Ra.emit("error",qa)}var destroy_1={destroy,undestroy,errorOrDestroy},errorsBrowser={};function _inheritsLoose(Ra,qa){Ra.prototype=Object.create(qa.prototype),Ra.prototype.constructor=Ra,Ra.__proto__=qa}var codes={};function createErrorType(Ra,qa,nd){nd||(nd=Error);function od(ud,cd,dd){return typeof qa=="string"?qa:qa(ud,cd,dd)}var ld=function(ud){_inheritsLoose(cd,ud);function cd(dd,pd,fd){return ud.call(this,od(dd,pd,fd))||this}return cd}(nd);ld.prototype.name=nd.name,ld.prototype.code=Ra,codes[Ra]=ld}function oneOf(Ra,qa){if(Array.isArray(Ra)){var nd=Ra.length;return Ra=Ra.map(function(od){return String(od)}),nd>2?"one of ".concat(qa," ").concat(Ra.slice(0,nd-1).join(", "),", or ")+Ra[nd-1]:nd===2?"one of ".concat(qa," ").concat(Ra[0]," or ").concat(Ra[1]):"of ".concat(qa," ").concat(Ra[0])}else return"of ".concat(qa," ").concat(String(Ra))}function startsWith(Ra,qa,nd){return Ra.substr(0,qa.length)===qa}function endsWith(Ra,qa,nd){return(nd===void 0||nd>Ra.length)&&(nd=Ra.length),Ra.substring(nd-qa.length,nd)===qa}function includes(Ra,qa,nd){return typeof nd!="number"&&(nd=0),nd+qa.length>Ra.length?!1:Ra.indexOf(qa,nd)!==-1}createErrorType("ERR_INVALID_OPT_VALUE",function(Ra,qa){return'The value "'+qa+'" is invalid for option "'+Ra+'"'},TypeError);createErrorType("ERR_INVALID_ARG_TYPE",function(Ra,qa,nd){var od;typeof qa=="string"&&startsWith(qa,"not ")?(od="must not be",qa=qa.replace(/^not /,"")):od="must be";var ld;if(endsWith(Ra," argument"))ld="The ".concat(Ra," ").concat(od," ").concat(oneOf(qa,"type"));else{var ud=includes(Ra,".")?"property":"argument";ld='The "'.concat(Ra,'" ').concat(ud," ").concat(od," ").concat(oneOf(qa,"type"))}return ld+=". Received type ".concat(typeof nd),ld},TypeError);createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");createErrorType("ERR_METHOD_NOT_IMPLEMENTED",function(Ra){return"The "+Ra+" method is not implemented"});createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close");createErrorType("ERR_STREAM_DESTROYED",function(Ra){return"Cannot call "+Ra+" after a stream was destroyed"});createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times");createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end");createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);createErrorType("ERR_UNKNOWN_ENCODING",function(Ra){return"Unknown encoding: "+Ra},TypeError);createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");errorsBrowser.codes=codes;var ERR_INVALID_OPT_VALUE=errorsBrowser.codes.ERR_INVALID_OPT_VALUE;function highWaterMarkFrom(Ra,qa,nd){return Ra.highWaterMark!=null?Ra.highWaterMark:qa?Ra[nd]:null}function getHighWaterMark(Ra,qa,nd,od){var ld=highWaterMarkFrom(qa,od,nd);if(ld!=null){if(!(isFinite(ld)&&Math.floor(ld)===ld)||ld<0){var ud=od?nd:"highWaterMark";throw new ERR_INVALID_OPT_VALUE(ud,ld)}return Math.floor(ld)}return Ra.objectMode?16:16*1024}var state={getHighWaterMark},browser=deprecate;function deprecate(Ra,qa){if(config("noDeprecation"))return Ra;var nd=!1;function od(){if(!nd){if(config("throwDeprecation"))throw new Error(qa);config("traceDeprecation")?console.trace(qa):console.warn(qa),nd=!0}return Ra.apply(this,arguments)}return od}function config(Ra){try{if(!commonjsGlobal.localStorage)return!1}catch{return!1}var qa=commonjsGlobal.localStorage[Ra];return qa==null?!1:String(qa).toLowerCase()==="true"}var _stream_writable,hasRequired_stream_writable;function require_stream_writable(){if(hasRequired_stream_writable)return _stream_writable;hasRequired_stream_writable=1;var Ra={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:1},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_e72d6a91-80dc-48ef-805e-8b024d3e943e",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_e72d6a91-80dc-48ef-805e-8b024d3e943e",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"827",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241208.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5833",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12390458500",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_0be29237-df24-42ff-8577-19b0738a094d",INVOCATION_ID:"6082e0c4f23d452ea1611619b2624143",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"467",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 14",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_e72d6a91-80dc-48ef-805e-8b024d3e943e",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_e72d6a91-80dc-48ef-805e-8b024d3e943e",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_e72d6a91-80dc-48ef-805e-8b024d3e943e",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2179,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};_stream_writable=Yd;function qa(Tf){var vf=this;this.next=null,this.entry=null,this.finish=function(){Kf(vf,Tf)}}var nd;Yd.WritableState=Qd;var od={deprecate:browser},ld=streamBrowser,ud=buffer.Buffer,cd=(typeof commonjsGlobal<"u"?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function dd(Tf){return ud.from(Tf)}function pd(Tf){return ud.isBuffer(Tf)||Tf instanceof cd}var fd=destroy_1,md=state,vd=md.getHighWaterMark,Ad=errorsBrowser.codes,Nd=Ad.ERR_INVALID_ARG_TYPE,Id=Ad.ERR_METHOD_NOT_IMPLEMENTED,kd=Ad.ERR_MULTIPLE_CALLBACK,jd=Ad.ERR_STREAM_CANNOT_PIPE,Fd=Ad.ERR_STREAM_DESTROYED,Md=Ad.ERR_STREAM_NULL_VALUES,Ld=Ad.ERR_STREAM_WRITE_AFTER_END,Hd=Ad.ERR_UNKNOWN_ENCODING,Gd=fd.errorOrDestroy;inherits_browserExports(Yd,ld);function Vd(){}function Qd(Tf,vf,Gf){nd=nd||require_stream_duplex(),Tf=Tf||{},typeof Gf!="boolean"&&(Gf=vf instanceof nd),this.objectMode=!!Tf.objectMode,Gf&&(this.objectMode=this.objectMode||!!Tf.writableObjectMode),this.highWaterMark=vd(this,Tf,"writableHighWaterMark",Gf),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Jf=Tf.decodeStrings===!1;this.decodeStrings=!Jf,this.defaultEncoding=Tf.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(gh){Af(vf,gh)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Tf.emitClose!==!1,this.autoDestroy=!!Tf.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new qa(this)}Qd.prototype.getBuffer=function(){for(var vf=this.bufferedRequest,Gf=[];vf;)Gf.push(vf),vf=vf.next;return Gf},function(){try{Object.defineProperty(Qd.prototype,"buffer",{get:od.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var mf;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(mf=Function.prototype[Symbol.hasInstance],Object.defineProperty(Yd,Symbol.hasInstance,{value:function(vf){return mf.call(this,vf)?!0:this!==Yd?!1:vf&&vf._writableState instanceof Qd}})):mf=function(vf){return vf instanceof this};function Yd(Tf){nd=nd||require_stream_duplex();var vf=this instanceof nd;if(!vf&&!mf.call(Yd,this))return new Yd(Tf);this._writableState=new Qd(Tf,this,vf),this.writable=!0,Tf&&(typeof Tf.write=="function"&&(this._write=Tf.write),typeof Tf.writev=="function"&&(this._writev=Tf.writev),typeof Tf.destroy=="function"&&(this._destroy=Tf.destroy),typeof Tf.final=="function"&&(this._final=Tf.final)),ld.call(this)}Yd.prototype.pipe=function(){Gd(this,new jd)};function Zd(Tf,vf){var Gf=new Ld;Gd(Tf,Gf),Ra.nextTick(vf,Gf)}function Kd(Tf,vf,Gf,Jf){var gh;return Gf===null?gh=new Md:typeof Gf!="string"&&!vf.objectMode&&(gh=new Nd("chunk",["string","Buffer"],Gf)),gh?(Gd(Tf,gh),Ra.nextTick(Jf,gh),!1):!0}Yd.prototype.write=function(Tf,vf,Gf){var Jf=this._writableState,gh=!1,th=!Jf.objectMode&&pd(Tf);return th&&!ud.isBuffer(Tf)&&(Tf=dd(Tf)),typeof vf=="function"&&(Gf=vf,vf=null),th?vf="buffer":vf||(vf=Jf.defaultEncoding),typeof Gf!="function"&&(Gf=Vd),Jf.ending?Zd(this,Gf):(th||Kd(this,Jf,Tf,Gf))&&(Jf.pendingcb++,gh=gf(this,Jf,th,Tf,vf,Gf)),gh},Yd.prototype.cork=function(){this._writableState.corked++},Yd.prototype.uncork=function(){var Tf=this._writableState;Tf.corked&&(Tf.corked--,!Tf.writing&&!Tf.corked&&!Tf.bufferProcessing&&Tf.bufferedRequest&&ih(this,Tf))},Yd.prototype.setDefaultEncoding=function(vf){if(typeof vf=="string"&&(vf=vf.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((vf+"").toLowerCase())>-1))throw new Hd(vf);return this._writableState.defaultEncoding=vf,this},Object.defineProperty(Yd.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function bf(Tf,vf,Gf){return!Tf.objectMode&&Tf.decodeStrings!==!1&&typeof vf=="string"&&(vf=ud.from(vf,Gf)),vf}Object.defineProperty(Yd.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function gf(Tf,vf,Gf,Jf,gh,th){if(!Gf){var Pf=bf(vf,Jf,gh);Jf!==Pf&&(Gf=!0,gh="buffer",Jf=Pf)}var uh=vf.objectMode?1:Jf.length;vf.length+=uh;var xh=vf.length */var hasRequiredSafeBuffer;function requireSafeBuffer(){return hasRequiredSafeBuffer||(hasRequiredSafeBuffer=1,function(Ra,qa){var nd=buffer,od=nd.Buffer;function ld(cd,dd){for(var pd in cd)dd[pd]=cd[pd]}od.from&&od.alloc&&od.allocUnsafe&&od.allocUnsafeSlow?Ra.exports=nd:(ld(nd,qa),qa.Buffer=ud);function ud(cd,dd,pd){return od(cd,dd,pd)}ud.prototype=Object.create(od.prototype),ld(od,ud),ud.from=function(cd,dd,pd){if(typeof cd=="number")throw new TypeError("Argument must not be a number");return od(cd,dd,pd)},ud.alloc=function(cd,dd,pd){if(typeof cd!="number")throw new TypeError("Argument must be a number");var fd=od(cd);return dd!==void 0?typeof pd=="string"?fd.fill(dd,pd):fd.fill(dd):fd.fill(0),fd},ud.allocUnsafe=function(cd){if(typeof cd!="number")throw new TypeError("Argument must be a number");return od(cd)},ud.allocUnsafeSlow=function(cd){if(typeof cd!="number")throw new TypeError("Argument must be a number");return nd.SlowBuffer(cd)}}(safeBuffer,safeBuffer.exports)),safeBuffer.exports}var hasRequiredString_decoder;function requireString_decoder(){if(hasRequiredString_decoder)return string_decoder;hasRequiredString_decoder=1;var Ra=requireSafeBuffer().Buffer,qa=Ra.isEncoding||function(Fd){switch(Fd=""+Fd,Fd&&Fd.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function nd(Fd){if(!Fd)return"utf8";for(var Md;;)switch(Fd){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return Fd;default:if(Md)return;Fd=(""+Fd).toLowerCase(),Md=!0}}function od(Fd){var Md=nd(Fd);if(typeof Md!="string"&&(Ra.isEncoding===qa||!qa(Fd)))throw new Error("Unknown encoding: "+Fd);return Md||Fd}string_decoder.StringDecoder=ld;function ld(Fd){this.encoding=od(Fd);var Md;switch(this.encoding){case"utf16le":this.text=vd,this.end=Ad,Md=4;break;case"utf8":this.fillLast=pd,Md=4;break;case"base64":this.text=Nd,this.end=Id,Md=3;break;default:this.write=kd,this.end=jd;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Ra.allocUnsafe(Md)}ld.prototype.write=function(Fd){if(Fd.length===0)return"";var Md,Ld;if(this.lastNeed){if(Md=this.fillLast(Fd),Md===void 0)return"";Ld=this.lastNeed,this.lastNeed=0}else Ld=0;return Ld>5===6?2:Fd>>4===14?3:Fd>>3===30?4:Fd>>6===2?-1:-2}function cd(Fd,Md,Ld){var Hd=Md.length-1;if(Hd=0?(Gd>0&&(Fd.lastNeed=Gd-1),Gd):--Hd=0?(Gd>0&&(Fd.lastNeed=Gd-2),Gd):--Hd=0?(Gd>0&&(Gd===2?Gd=0:Fd.lastNeed=Gd-3),Gd):0))}function dd(Fd,Md,Ld){if((Md[0]&192)!==128)return Fd.lastNeed=0,"�";if(Fd.lastNeed>1&&Md.length>1){if((Md[1]&192)!==128)return Fd.lastNeed=1,"�";if(Fd.lastNeed>2&&Md.length>2&&(Md[2]&192)!==128)return Fd.lastNeed=2,"�"}}function pd(Fd){var Md=this.lastTotal-this.lastNeed,Ld=dd(this,Fd);if(Ld!==void 0)return Ld;if(this.lastNeed<=Fd.length)return Fd.copy(this.lastChar,Md,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);Fd.copy(this.lastChar,Md,0,Fd.length),this.lastNeed-=Fd.length}function fd(Fd,Md){var Ld=cd(this,Fd,Md);if(!this.lastNeed)return Fd.toString("utf8",Md);this.lastTotal=Ld;var Hd=Fd.length-(Ld-this.lastNeed);return Fd.copy(this.lastChar,0,Hd),Fd.toString("utf8",Md,Hd)}function md(Fd){var Md=Fd&&Fd.length?this.write(Fd):"";return this.lastNeed?Md+"�":Md}function vd(Fd,Md){if((Fd.length-Md)%2===0){var Ld=Fd.toString("utf16le",Md);if(Ld){var Hd=Ld.charCodeAt(Ld.length-1);if(Hd>=55296&&Hd<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=Fd[Fd.length-2],this.lastChar[1]=Fd[Fd.length-1],Ld.slice(0,-1)}return Ld}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=Fd[Fd.length-1],Fd.toString("utf16le",Md,Fd.length-1)}function Ad(Fd){var Md=Fd&&Fd.length?this.write(Fd):"";if(this.lastNeed){var Ld=this.lastTotal-this.lastNeed;return Md+this.lastChar.toString("utf16le",0,Ld)}return Md}function Nd(Fd,Md){var Ld=(Fd.length-Md)%3;return Ld===0?Fd.toString("base64",Md):(this.lastNeed=3-Ld,this.lastTotal=3,Ld===1?this.lastChar[0]=Fd[Fd.length-1]:(this.lastChar[0]=Fd[Fd.length-2],this.lastChar[1]=Fd[Fd.length-1]),Fd.toString("base64",Md,Fd.length-Ld))}function Id(Fd){var Md=Fd&&Fd.length?this.write(Fd):"";return this.lastNeed?Md+this.lastChar.toString("base64",0,3-this.lastNeed):Md}function kd(Fd){return Fd.toString(this.encoding)}function jd(Fd){return Fd&&Fd.length?this.write(Fd):""}return string_decoder}var ERR_STREAM_PREMATURE_CLOSE=errorsBrowser.codes.ERR_STREAM_PREMATURE_CLOSE;function once$2(Ra){var qa=!1;return function(){if(!qa){qa=!0;for(var nd=arguments.length,od=new Array(nd),ld=0;ld0)if(typeof Pf!="string"&&!Nf.objectMode&&Object.getPrototypeOf(Pf)!==ld.prototype&&(Pf=cd(Pf)),xh)Nf.endEmitted?Vd(th,new Md):bf(th,Nf,Pf,!0);else if(Nf.ended)Vd(th,new jd);else{if(Nf.destroyed)return!1;Nf.reading=!1,Nf.decoder&&!uh?(Pf=Nf.decoder.write(Pf),Nf.objectMode||Pf.length!==0?bf(th,Nf,Pf,!1):ih(th,Nf)):bf(th,Nf,Pf,!1)}else xh||(Nf.reading=!1,ih(th,Nf))}return!Nf.ended&&(Nf.length=Ef?th=Ef:(th--,th|=th>>>1,th|=th>>>2,th|=th>>>4,th|=th>>>8,th|=th>>>16,th++),th}function xf(th,Pf){return th<=0||Pf.length===0&&Pf.ended?0:Pf.objectMode?1:th!==th?Pf.flowing&&Pf.length?Pf.buffer.head.data.length:Pf.length:(th>Pf.highWaterMark&&(Pf.highWaterMark=yf(th)),th<=Pf.length?th:Pf.ended?Pf.length:(Pf.needReadable=!0,0))}Zd.prototype.read=function(th){fd("read",th),th=parseInt(th,10);var Pf=this._readableState,uh=th;if(th!==0&&(Pf.emittedReadable=!1),th===0&&Pf.needReadable&&((Pf.highWaterMark!==0?Pf.length>=Pf.highWaterMark:Pf.length>0)||Pf.ended))return fd("read: emitReadable",Pf.length,Pf.ended),Pf.length===0&&Pf.ended?Gf(this):Lf(this),null;if(th=xf(th,Pf),th===0&&Pf.ended)return Pf.length===0&&Gf(this),null;var xh=Pf.needReadable;fd("need readable",xh),(Pf.length===0||Pf.length-th0?Qf=vf(th,Pf):Qf=null,Qf===null?(Pf.needReadable=Pf.length<=Pf.highWaterMark,th=0):(Pf.length-=th,Pf.awaitDrain=0),Pf.length===0&&(Pf.ended||(Pf.needReadable=!0),uh!==th&&Pf.ended&&Gf(this)),Qf!==null&&this.emit("data",Qf),Qf};function Af(th,Pf){if(fd("onEofChunk"),!Pf.ended){if(Pf.decoder){var uh=Pf.decoder.end();uh&&uh.length&&(Pf.buffer.push(uh),Pf.length+=Pf.objectMode?1:uh.length)}Pf.ended=!0,Pf.sync?Lf(th):(Pf.needReadable=!1,Pf.emittedReadable||(Pf.emittedReadable=!0,Xf(th)))}}function Lf(th){var Pf=th._readableState;fd("emitReadable",Pf.needReadable,Pf.emittedReadable),Pf.needReadable=!1,Pf.emittedReadable||(fd("emitReadable",Pf.flowing),Pf.emittedReadable=!0,Ra.nextTick(Xf,th))}function Xf(th){var Pf=th._readableState;fd("emitReadable_",Pf.destroyed,Pf.length,Pf.ended),!Pf.destroyed&&(Pf.length||Pf.ended)&&(th.emit("readable"),Pf.emittedReadable=!1),Pf.needReadable=!Pf.flowing&&!Pf.ended&&Pf.length<=Pf.highWaterMark,Tf(th)}function ih(th,Pf){Pf.readingMore||(Pf.readingMore=!0,Ra.nextTick(Zf,th,Pf))}function Zf(th,Pf){for(;!Pf.reading&&!Pf.ended&&(Pf.length1&&gh(xh.pipes,th)!==-1)&&!Th&&(fd("false write response, pause",xh.awaitDrain),xh.awaitDrain++),uh.pause())}function wh(Sm){fd("onerror",Sm),cm(),th.removeListener("error",wh),nd(th,"error")===0&&Vd(th,Sm)}mf(th,"error",wh);function fm(){th.removeListener("finish",Nm),cm()}th.once("close",fm);function Nm(){fd("onfinish"),th.removeListener("close",fm),cm()}th.once("finish",Nm);function cm(){fd("unpipe"),uh.unpipe(th)}return th.emit("pipe",uh),xh.flowing||(fd("pipe resume"),uh.resume()),th};function jf(th){return function(){var uh=th._readableState;fd("pipeOnDrain",uh.awaitDrain),uh.awaitDrain&&uh.awaitDrain--,uh.awaitDrain===0&&nd(th,"data")&&(uh.flowing=!0,Tf(th))}}Zd.prototype.unpipe=function(th){var Pf=this._readableState,uh={hasUnpiped:!1};if(Pf.pipesCount===0)return this;if(Pf.pipesCount===1)return th&&th!==Pf.pipes?this:(th||(th=Pf.pipes),Pf.pipes=null,Pf.pipesCount=0,Pf.flowing=!1,th&&th.emit("unpipe",this,uh),this);if(!th){var xh=Pf.pipes,Qf=Pf.pipesCount;Pf.pipes=null,Pf.pipesCount=0,Pf.flowing=!1;for(var Nf=0;Nf0,xh.flowing!==!1&&this.resume()):th==="readable"&&!xh.endEmitted&&!xh.readableListening&&(xh.readableListening=xh.needReadable=!0,xh.flowing=!1,xh.emittedReadable=!1,fd("on readable",xh.length,xh.reading),xh.length?Lf(this):xh.reading||Ra.nextTick(Uf,this)),uh},Zd.prototype.addListener=Zd.prototype.on,Zd.prototype.removeListener=function(th,Pf){var uh=od.prototype.removeListener.call(this,th,Pf);return th==="readable"&&Ra.nextTick(If,this),uh},Zd.prototype.removeAllListeners=function(th){var Pf=od.prototype.removeAllListeners.apply(this,arguments);return(th==="readable"||th===void 0)&&Ra.nextTick(If,this),Pf};function If(th){var Pf=th._readableState;Pf.readableListening=th.listenerCount("readable")>0,Pf.resumeScheduled&&!Pf.paused?Pf.flowing=!0:th.listenerCount("data")>0&&th.resume()}function Uf(th){fd("readable nexttick read 0"),th.read(0)}Zd.prototype.resume=function(){var th=this._readableState;return th.flowing||(fd("resume"),th.flowing=!th.readableListening,qf(this,th)),th.paused=!1,this};function qf(th,Pf){Pf.resumeScheduled||(Pf.resumeScheduled=!0,Ra.nextTick(Kf,th,Pf))}function Kf(th,Pf){fd("resume",Pf.reading),Pf.reading||th.read(0),Pf.resumeScheduled=!1,th.emit("resume"),Tf(th),Pf.flowing&&!Pf.reading&&th.read(0)}Zd.prototype.pause=function(){return fd("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(fd("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Tf(th){var Pf=th._readableState;for(fd("flow",Pf.flowing);Pf.flowing&&th.read()!==null;);}Zd.prototype.wrap=function(th){var Pf=this,uh=this._readableState,xh=!1;th.on("end",function(){if(fd("wrapped end"),uh.decoder&&!uh.ended){var $f=uh.decoder.end();$f&&$f.length&&Pf.push($f)}Pf.push(null)}),th.on("data",function($f){if(fd("wrapped data"),uh.decoder&&($f=uh.decoder.write($f)),!(uh.objectMode&&$f==null)&&!(!uh.objectMode&&(!$f||!$f.length))){var Wf=Pf.push($f);Wf||(xh=!0,th.pause())}});for(var Qf in th)this[Qf]===void 0&&typeof th[Qf]=="function"&&(this[Qf]=function(Wf){return function(){return th[Wf].apply(th,arguments)}}(Qf));for(var Nf=0;Nf=Pf.length?(Pf.decoder?uh=Pf.buffer.join(""):Pf.buffer.length===1?uh=Pf.buffer.first():uh=Pf.buffer.concat(Pf.length),Pf.buffer.clear()):uh=Pf.buffer.consume(th,Pf.decoder),uh}function Gf(th){var Pf=th._readableState;fd("endReadable",Pf.endEmitted),Pf.endEmitted||(Pf.ended=!0,Ra.nextTick(Jf,Pf,th))}function Jf(th,Pf){if(fd("endReadableNT",th.endEmitted,th.length),!th.endEmitted&&th.length===0&&(th.endEmitted=!0,Pf.readable=!1,Pf.emit("end"),th.autoDestroy)){var uh=Pf._writableState;(!uh||uh.autoDestroy&&uh.finished)&&Pf.destroy()}}typeof Symbol=="function"&&(Zd.from=function(th,Pf){return Gd===void 0&&(Gd=requireFromBrowser()),Gd(Zd,th,Pf)});function gh(th,Pf){for(var uh=0,xh=th.length;uh0;return destroyer(cd,pd,fd,function(md){ld||(ld=md),md&&ud.forEach(call),!pd&&(ud.forEach(call),od(ld))})});return qa.reduce(pipe)}var pipeline_1=pipeline$1,streamBrowserify=Stream$1,EE=eventsExports.EventEmitter,inherits$1=inherits_browserExports;inherits$1(Stream$1,EE);Stream$1.Readable=require_stream_readable();Stream$1.Writable=require_stream_writable();Stream$1.Duplex=require_stream_duplex();Stream$1.Transform=_stream_transform;Stream$1.PassThrough=_stream_passthrough;Stream$1.finished=endOfStream;Stream$1.pipeline=pipeline_1;Stream$1.Stream=Stream$1;function Stream$1(){EE.call(this)}Stream$1.prototype.pipe=function(Ra,qa){var nd=this;function od(md){Ra.writable&&Ra.write(md)===!1&&nd.pause&&nd.pause()}nd.on("data",od);function ld(){nd.readable&&nd.resume&&nd.resume()}Ra.on("drain",ld),!Ra._isStdio&&(!qa||qa.end!==!1)&&(nd.on("end",cd),nd.on("close",dd));var ud=!1;function cd(){ud||(ud=!0,Ra.end())}function dd(){ud||(ud=!0,typeof Ra.destroy=="function"&&Ra.destroy())}function pd(md){if(fd(),EE.listenerCount(this,"error")===0)throw md}nd.on("error",pd),Ra.on("error",pd);function fd(){nd.removeListener("data",od),Ra.removeListener("drain",ld),nd.removeListener("end",cd),nd.removeListener("close",dd),nd.removeListener("error",pd),Ra.removeListener("error",pd),nd.removeListener("end",fd),nd.removeListener("close",fd),Ra.removeListener("close",fd)}return nd.on("end",fd),nd.on("close",fd),Ra.on("close",fd),Ra.emit("pipe",nd),Ra};var define_process_default$5={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:1},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_e72d6a91-80dc-48ef-805e-8b024d3e943e",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_e72d6a91-80dc-48ef-805e-8b024d3e943e",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"827",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241208.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5833",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12390458500",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_0be29237-df24-42ff-8577-19b0738a094d",INVOCATION_ID:"6082e0c4f23d452ea1611619b2624143",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"467",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 14",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_e72d6a91-80dc-48ef-805e-8b024d3e943e",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_e72d6a91-80dc-48ef-805e-8b024d3e943e",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_e72d6a91-80dc-48ef-805e-8b024d3e943e",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2179,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};function apply(Ra,...qa){return(...nd)=>Ra(...qa,...nd)}function initialParams(Ra){return function(...qa){var nd=qa.pop();return Ra.call(this,qa,nd)}}var hasQueueMicrotask=typeof queueMicrotask=="function"&&queueMicrotask,hasSetImmediate=typeof setImmediate=="function"&&setImmediate,hasNextTick=typeof define_process_default$5=="object"&&typeof define_process_default$5.nextTick=="function";function fallback(Ra){setTimeout(Ra,0)}function wrap(Ra){return(qa,...nd)=>Ra(()=>qa(...nd))}var _defer$1;hasQueueMicrotask?_defer$1=queueMicrotask:hasSetImmediate?_defer$1=setImmediate:hasNextTick?_defer$1=define_process_default$5.nextTick:_defer$1=fallback;var setImmediate$1$1=wrap(_defer$1);function asyncify(Ra){return isAsync(Ra)?function(...qa){const nd=qa.pop(),od=Ra.apply(this,qa);return handlePromise(od,nd)}:initialParams(function(qa,nd){var od;try{od=Ra.apply(this,qa)}catch(ld){return nd(ld)}if(od&&typeof od.then=="function")return handlePromise(od,nd);nd(null,od)})}function handlePromise(Ra,qa){return Ra.then(nd=>{invokeCallback(qa,null,nd)},nd=>{invokeCallback(qa,nd&&(nd instanceof Error||nd.message)?nd:new Error(nd))})}function invokeCallback(Ra,qa,nd){try{Ra(qa,nd)}catch(od){setImmediate$1$1(ld=>{throw ld},od)}}function isAsync(Ra){return Ra[Symbol.toStringTag]==="AsyncFunction"}function isAsyncGenerator(Ra){return Ra[Symbol.toStringTag]==="AsyncGenerator"}function isAsyncIterable(Ra){return typeof Ra[Symbol.asyncIterator]=="function"}function wrapAsync(Ra){if(typeof Ra!="function")throw new Error("expected a function");return isAsync(Ra)?asyncify(Ra):Ra}function awaitify(Ra,qa){if(qa||(qa=Ra.length),!qa)throw new Error("arity is undefined");function nd(...od){return typeof od[qa-1]=="function"?Ra.apply(this,od):new Promise((ld,ud)=>{od[qa-1]=(cd,...dd)=>{if(cd)return ud(cd);ld(dd.length>1?dd:dd[0])},Ra.apply(this,od)})}return nd}function applyEach$1(Ra){return function(nd,...od){return awaitify(function(ud){var cd=this;return Ra(nd,(dd,pd)=>{wrapAsync(dd).apply(cd,od.concat(pd))},ud)})}}function _asyncMap(Ra,qa,nd,od){qa=qa||[];var ld=[],ud=0,cd=wrapAsync(nd);return Ra(qa,(dd,pd,fd)=>{var md=ud++;cd(dd,(vd,Ad)=>{ld[md]=Ad,fd(vd)})},dd=>{od(dd,ld)})}function isArrayLike(Ra){return Ra&&typeof Ra.length=="number"&&Ra.length>=0&&Ra.length%1===0}const breakLoop={};function once(Ra){function qa(...nd){if(Ra!==null){var od=Ra;Ra=null,od.apply(this,nd)}}return Object.assign(qa,Ra),qa}function getIterator(Ra){return Ra[Symbol.iterator]&&Ra[Symbol.iterator]()}function createArrayIterator(Ra){var qa=-1,nd=Ra.length;return function(){return++qa=qa||cd||ld||(cd=!0,Ra.next().then(({value:Ad,done:Nd})=>{if(!(ud||ld)){if(cd=!1,Nd){ld=!0,dd<=0&&od(null);return}dd++,nd(Ad,pd,md),pd++,fd()}}).catch(vd))}function md(Ad,Nd){if(dd-=1,!ud){if(Ad)return vd(Ad);if(Ad===!1){ld=!0,ud=!0;return}if(Nd===breakLoop||ld&&dd<=0)return ld=!0,od(null);fd()}}function vd(Ad){ud||(cd=!1,ld=!0,od(Ad))}fd()}var eachOfLimit$2=Ra=>(qa,nd,od)=>{if(od=once(od),Ra<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!qa)return od(null);if(isAsyncGenerator(qa))return asyncEachOfLimit(qa,Ra,nd,od);if(isAsyncIterable(qa))return asyncEachOfLimit(qa[Symbol.asyncIterator](),Ra,nd,od);var ld=createIterator(qa),ud=!1,cd=!1,dd=0,pd=!1;function fd(vd,Ad){if(!cd)if(dd-=1,vd)ud=!0,od(vd);else if(vd===!1)ud=!0,cd=!0;else{if(Ad===breakLoop||ud&&dd<=0)return ud=!0,od(null);pd||md()}}function md(){for(pd=!0;dd1?ld:ld[0])}return nd[PROMISE_SYMBOL]=new Promise((od,ld)=>{Ra=od,qa=ld}),nd}function auto(Ra,qa,nd){typeof qa!="number"&&(nd=qa,qa=null),nd=once(nd||promiseCallback());var od=Object.keys(Ra).length;if(!od)return nd(null);qa||(qa=od);var ld={},ud=0,cd=!1,dd=!1,pd=Object.create(null),fd=[],md=[],vd={};Object.keys(Ra).forEach(Ld=>{var Hd=Ra[Ld];if(!Array.isArray(Hd)){Ad(Ld,[Hd]),md.push(Ld);return}var Gd=Hd.slice(0,Hd.length-1),Vd=Gd.length;if(Vd===0){Ad(Ld,Hd),md.push(Ld);return}vd[Ld]=Vd,Gd.forEach(Qd=>{if(!Ra[Qd])throw new Error("async.auto task `"+Ld+"` has a non-existent dependency `"+Qd+"` in "+Gd.join(", "));Id(Qd,()=>{Vd--,Vd===0&&Ad(Ld,Hd)})})}),Fd(),Nd();function Ad(Ld,Hd){fd.push(()=>jd(Ld,Hd))}function Nd(){if(!cd){if(fd.length===0&&ud===0)return nd(null,ld);for(;fd.length&&udGd()),Nd()}function jd(Ld,Hd){if(!dd){var Gd=onlyOnce((Qd,...mf)=>{if(ud--,Qd===!1){cd=!0;return}if(mf.length<2&&([mf]=mf),Qd){var Yd={};if(Object.keys(ld).forEach(Zd=>{Yd[Zd]=ld[Zd]}),Yd[Ld]=mf,dd=!0,pd=Object.create(null),cd)return;nd(Qd,Yd)}else ld[Ld]=mf,kd(Ld)});ud++;var Vd=wrapAsync(Hd[Hd.length-1]);Hd.length>1?Vd(ld,Gd):Vd(Gd)}}function Fd(){for(var Ld,Hd=0;md.length;)Ld=md.pop(),Hd++,Md(Ld).forEach(Gd=>{--vd[Gd]===0&&md.push(Gd)});if(Hd!==od)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}function Md(Ld){var Hd=[];return Object.keys(Ra).forEach(Gd=>{const Vd=Ra[Gd];Array.isArray(Vd)&&Vd.indexOf(Ld)>=0&&Hd.push(Gd)}),Hd}return nd[PROMISE_SYMBOL]}var FN_ARGS=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/,ARROW_FN_ARGS=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/,FN_ARG_SPLIT=/,/,FN_ARG=/(=.+)?(\s*)$/;function stripComments(Ra){let qa="",nd=0,od=Ra.indexOf("*/");for(;nd"u"}Ra.isPrimitive=gf,Ra.isBuffer=isBufferBrowser;function xf(Uf){return Object.prototype.toString.call(Uf)}function Af(Uf){return Uf<10?"0"+Uf.toString(10):Uf.toString(10)}var Lf=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Xf(){var Uf=new Date,Gf=[Af(Uf.getHours()),Af(Uf.getMinutes()),Af(Uf.getSeconds())].join(":");return[Uf.getDate(),Lf[Uf.getMonth()],Gf].join(" ")}Ra.log=function(){console.log("%s - %s",Xf(),Ra.format.apply(Ra,arguments))},Ra.inherits=inherits_browserExports,Ra._extend=function(Uf,Gf){if(!Gf||!Xd(Gf))return Uf;for(var zf=Object.keys(Gf),Tf=zf.length;Tf--;)Uf[zf[Tf]]=Gf[zf[Tf]];return Uf};function Jf(Uf,Gf){return Object.prototype.hasOwnProperty.call(Uf,Gf)}var Zf=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;Ra.promisify=function(Gf){if(typeof Gf!="function")throw new TypeError('The "original" argument must be of type Function');if(Zf&&Gf[Zf]){var zf=Gf[Zf];if(typeof zf!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(zf,Zf,{value:zf,enumerable:!1,writable:!1,configurable:!0}),zf}function zf(){for(var Tf,vf,qf=new Promise(function(ih,Pf){Tf=ih,vf=Pf}),eh=[],ch=0;ch0?this.tail.next=Fd:this.head=Fd,this.tail=Fd,++this.length}},{key:"unshift",value:function(jd){var Fd={data:jd,next:this.head};this.length===0&&(this.tail=Fd),this.head=Fd,++this.length}},{key:"shift",value:function(){if(this.length!==0){var jd=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,jd}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(jd){if(this.length===0)return"";for(var Fd=this.head,Md=""+Fd.data;Fd=Fd.next;)Md+=jd+Fd.data;return Md}},{key:"concat",value:function(jd){if(this.length===0)return fd.alloc(0);for(var Fd=fd.allocUnsafe(jd>>>0),Md=this.head,Ld=0;Md;)Nd(Md.data,Fd,Ld),Ld+=Md.data.length,Md=Md.next;return Fd}},{key:"consume",value:function(jd,Fd){var Md;return jdHd.length?Hd.length:jd;if(Gd===Hd.length?Ld+=Hd:Ld+=Hd.slice(0,jd),jd-=Gd,jd===0){Gd===Hd.length?(++Md,Fd.next?this.head=Fd.next:this.head=this.tail=null):(this.head=Fd,Fd.data=Hd.slice(Gd));break}++Md}return this.length-=Md,Ld}},{key:"_getBuffer",value:function(jd){var Fd=fd.allocUnsafe(jd),Md=this.head,Ld=1;for(Md.data.copy(Fd),jd-=Md.data.length;Md=Md.next;){var Hd=Md.data,Gd=jd>Hd.length?Hd.length:jd;if(Hd.copy(Fd,Fd.length-jd,0,Gd),jd-=Gd,jd===0){Gd===Hd.length?(++Ld,Md.next?this.head=Md.next:this.head=this.tail=null):(this.head=Md,Md.data=Hd.slice(Gd));break}++Ld}return this.length-=Ld,Fd}},{key:Ad,value:function(jd,Fd){return vd(this,qa(qa({},Fd),{},{depth:0,customInspect:!1}))}}]),Id}(),buffer_list}var define_process_default$6={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_9b3b18d1-9340-49ab-b4e8-5023772e0970",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_9b3b18d1-9340-49ab-b4e8-5023772e0970",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:1985",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12403591553",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_77bf6c2e-16c6-46b5-9674-d636e159247f",INVOCATION_ID:"2e23158896aa43b4b0c7cc0c353d16fa",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"468",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 17",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_9b3b18d1-9340-49ab-b4e8-5023772e0970",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_9b3b18d1-9340-49ab-b4e8-5023772e0970",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_9b3b18d1-9340-49ab-b4e8-5023772e0970",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2165,ppid:2164,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};function destroy(Ra,qa){var nd=this,od=this._readableState&&this._readableState.destroyed,ld=this._writableState&&this._writableState.destroyed;return od||ld?(qa?qa(Ra):Ra&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,define_process_default$6.nextTick(emitErrorNT,this,Ra)):define_process_default$6.nextTick(emitErrorNT,this,Ra)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(Ra||null,function(ud){!qa&&ud?nd._writableState?nd._writableState.errorEmitted?define_process_default$6.nextTick(emitCloseNT,nd):(nd._writableState.errorEmitted=!0,define_process_default$6.nextTick(emitErrorAndCloseNT,nd,ud)):define_process_default$6.nextTick(emitErrorAndCloseNT,nd,ud):qa?(define_process_default$6.nextTick(emitCloseNT,nd),qa(ud)):define_process_default$6.nextTick(emitCloseNT,nd)}),this)}function emitErrorAndCloseNT(Ra,qa){emitErrorNT(Ra,qa),emitCloseNT(Ra)}function emitCloseNT(Ra){Ra._writableState&&!Ra._writableState.emitClose||Ra._readableState&&!Ra._readableState.emitClose||Ra.emit("close")}function undestroy(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function emitErrorNT(Ra,qa){Ra.emit("error",qa)}function errorOrDestroy(Ra,qa){var nd=Ra._readableState,od=Ra._writableState;nd&&nd.autoDestroy||od&&od.autoDestroy?Ra.destroy(qa):Ra.emit("error",qa)}var destroy_1={destroy,undestroy,errorOrDestroy},errorsBrowser={};function _inheritsLoose(Ra,qa){Ra.prototype=Object.create(qa.prototype),Ra.prototype.constructor=Ra,Ra.__proto__=qa}var codes={};function createErrorType(Ra,qa,nd){nd||(nd=Error);function od(ud,cd,dd){return typeof qa=="string"?qa:qa(ud,cd,dd)}var ld=function(ud){_inheritsLoose(cd,ud);function cd(dd,pd,fd){return ud.call(this,od(dd,pd,fd))||this}return cd}(nd);ld.prototype.name=nd.name,ld.prototype.code=Ra,codes[Ra]=ld}function oneOf(Ra,qa){if(Array.isArray(Ra)){var nd=Ra.length;return Ra=Ra.map(function(od){return String(od)}),nd>2?"one of ".concat(qa," ").concat(Ra.slice(0,nd-1).join(", "),", or ")+Ra[nd-1]:nd===2?"one of ".concat(qa," ").concat(Ra[0]," or ").concat(Ra[1]):"of ".concat(qa," ").concat(Ra[0])}else return"of ".concat(qa," ").concat(String(Ra))}function startsWith(Ra,qa,nd){return Ra.substr(0,qa.length)===qa}function endsWith(Ra,qa,nd){return(nd===void 0||nd>Ra.length)&&(nd=Ra.length),Ra.substring(nd-qa.length,nd)===qa}function includes(Ra,qa,nd){return typeof nd!="number"&&(nd=0),nd+qa.length>Ra.length?!1:Ra.indexOf(qa,nd)!==-1}createErrorType("ERR_INVALID_OPT_VALUE",function(Ra,qa){return'The value "'+qa+'" is invalid for option "'+Ra+'"'},TypeError);createErrorType("ERR_INVALID_ARG_TYPE",function(Ra,qa,nd){var od;typeof qa=="string"&&startsWith(qa,"not ")?(od="must not be",qa=qa.replace(/^not /,"")):od="must be";var ld;if(endsWith(Ra," argument"))ld="The ".concat(Ra," ").concat(od," ").concat(oneOf(qa,"type"));else{var ud=includes(Ra,".")?"property":"argument";ld='The "'.concat(Ra,'" ').concat(ud," ").concat(od," ").concat(oneOf(qa,"type"))}return ld+=". Received type ".concat(typeof nd),ld},TypeError);createErrorType("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF");createErrorType("ERR_METHOD_NOT_IMPLEMENTED",function(Ra){return"The "+Ra+" method is not implemented"});createErrorType("ERR_STREAM_PREMATURE_CLOSE","Premature close");createErrorType("ERR_STREAM_DESTROYED",function(Ra){return"Cannot call "+Ra+" after a stream was destroyed"});createErrorType("ERR_MULTIPLE_CALLBACK","Callback called multiple times");createErrorType("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable");createErrorType("ERR_STREAM_WRITE_AFTER_END","write after end");createErrorType("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);createErrorType("ERR_UNKNOWN_ENCODING",function(Ra){return"Unknown encoding: "+Ra},TypeError);createErrorType("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event");errorsBrowser.codes=codes;var ERR_INVALID_OPT_VALUE=errorsBrowser.codes.ERR_INVALID_OPT_VALUE;function highWaterMarkFrom(Ra,qa,nd){return Ra.highWaterMark!=null?Ra.highWaterMark:qa?Ra[nd]:null}function getHighWaterMark(Ra,qa,nd,od){var ld=highWaterMarkFrom(qa,od,nd);if(ld!=null){if(!(isFinite(ld)&&Math.floor(ld)===ld)||ld<0){var ud=od?nd:"highWaterMark";throw new ERR_INVALID_OPT_VALUE(ud,ld)}return Math.floor(ld)}return Ra.objectMode?16:16*1024}var state={getHighWaterMark},browser=deprecate;function deprecate(Ra,qa){if(config("noDeprecation"))return Ra;var nd=!1;function od(){if(!nd){if(config("throwDeprecation"))throw new Error(qa);config("traceDeprecation")?console.trace(qa):console.warn(qa),nd=!0}return Ra.apply(this,arguments)}return od}function config(Ra){try{if(!commonjsGlobal.localStorage)return!1}catch{return!1}var qa=commonjsGlobal.localStorage[Ra];return qa==null?!1:String(qa).toLowerCase()==="true"}var _stream_writable,hasRequired_stream_writable;function require_stream_writable(){if(hasRequired_stream_writable)return _stream_writable;hasRequired_stream_writable=1;var Ra={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_9b3b18d1-9340-49ab-b4e8-5023772e0970",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_9b3b18d1-9340-49ab-b4e8-5023772e0970",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:1985",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12403591553",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_77bf6c2e-16c6-46b5-9674-d636e159247f",INVOCATION_ID:"2e23158896aa43b4b0c7cc0c353d16fa",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"468",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 17",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_9b3b18d1-9340-49ab-b4e8-5023772e0970",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_9b3b18d1-9340-49ab-b4e8-5023772e0970",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_9b3b18d1-9340-49ab-b4e8-5023772e0970",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2165,ppid:2164,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};_stream_writable=Wd;function qa(Tf){var vf=this;this.next=null,this.entry=null,this.finish=function(){zf(vf,Tf)}}var nd;Wd.WritableState=Kd;var od={deprecate:browser},ld=streamBrowser,ud=buffer.Buffer,cd=(typeof commonjsGlobal<"u"?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function dd(Tf){return ud.from(Tf)}function pd(Tf){return ud.isBuffer(Tf)||Tf instanceof cd}var fd=destroy_1,md=state,vd=md.getHighWaterMark,Ad=errorsBrowser.codes,Nd=Ad.ERR_INVALID_ARG_TYPE,Id=Ad.ERR_METHOD_NOT_IMPLEMENTED,kd=Ad.ERR_MULTIPLE_CALLBACK,jd=Ad.ERR_STREAM_CANNOT_PIPE,Fd=Ad.ERR_STREAM_DESTROYED,Md=Ad.ERR_STREAM_NULL_VALUES,Ld=Ad.ERR_STREAM_WRITE_AFTER_END,Hd=Ad.ERR_UNKNOWN_ENCODING,Gd=fd.errorOrDestroy;inherits_browserExports(Wd,ld);function Vd(){}function Kd(Tf,vf,qf){nd=nd||require_stream_duplex(),Tf=Tf||{},typeof qf!="boolean"&&(qf=vf instanceof nd),this.objectMode=!!Tf.objectMode,qf&&(this.objectMode=this.objectMode||!!Tf.writableObjectMode),this.highWaterMark=vd(this,Tf,"writableHighWaterMark",qf),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var eh=Tf.decodeStrings===!1;this.decodeStrings=!eh,this.defaultEncoding=Tf.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ch){Af(vf,ch)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Tf.emitClose!==!1,this.autoDestroy=!!Tf.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new qa(this)}Kd.prototype.getBuffer=function(){for(var vf=this.bufferedRequest,qf=[];vf;)qf.push(vf),vf=vf.next;return qf},function(){try{Object.defineProperty(Kd.prototype,"buffer",{get:od.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var mf;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(mf=Function.prototype[Symbol.hasInstance],Object.defineProperty(Wd,Symbol.hasInstance,{value:function(vf){return mf.call(this,vf)?!0:this!==Wd?!1:vf&&vf._writableState instanceof Kd}})):mf=function(vf){return vf instanceof this};function Wd(Tf){nd=nd||require_stream_duplex();var vf=this instanceof nd;if(!vf&&!mf.call(Wd,this))return new Wd(Tf);this._writableState=new Kd(Tf,this,vf),this.writable=!0,Tf&&(typeof Tf.write=="function"&&(this._write=Tf.write),typeof Tf.writev=="function"&&(this._writev=Tf.writev),typeof Tf.destroy=="function"&&(this._destroy=Tf.destroy),typeof Tf.final=="function"&&(this._final=Tf.final)),ld.call(this)}Wd.prototype.pipe=function(){Gd(this,new jd)};function Zd(Tf,vf){var qf=new Ld;Gd(Tf,qf),Ra.nextTick(vf,qf)}function Xd(Tf,vf,qf,eh){var ch;return qf===null?ch=new Md:typeof qf!="string"&&!vf.objectMode&&(ch=new Nd("chunk",["string","Buffer"],qf)),ch?(Gd(Tf,ch),Ra.nextTick(eh,ch),!1):!0}Wd.prototype.write=function(Tf,vf,qf){var eh=this._writableState,ch=!1,ih=!eh.objectMode&&pd(Tf);return ih&&!ud.isBuffer(Tf)&&(Tf=dd(Tf)),typeof vf=="function"&&(qf=vf,vf=null),ih?vf="buffer":vf||(vf=eh.defaultEncoding),typeof qf!="function"&&(qf=Vd),eh.ending?Zd(this,qf):(ih||Xd(this,eh,Tf,qf))&&(eh.pendingcb++,ch=yf(this,eh,ih,Tf,vf,qf)),ch},Wd.prototype.cork=function(){this._writableState.corked++},Wd.prototype.uncork=function(){var Tf=this._writableState;Tf.corked&&(Tf.corked--,!Tf.writing&&!Tf.corked&&!Tf.bufferProcessing&&Tf.bufferedRequest&&Jf(this,Tf))},Wd.prototype.setDefaultEncoding=function(vf){if(typeof vf=="string"&&(vf=vf.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((vf+"").toLowerCase())>-1))throw new Hd(vf);return this._writableState.defaultEncoding=vf,this},Object.defineProperty(Wd.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function bf(Tf,vf,qf){return!Tf.objectMode&&Tf.decodeStrings!==!1&&typeof vf=="string"&&(vf=ud.from(vf,qf)),vf}Object.defineProperty(Wd.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function yf(Tf,vf,qf,eh,ch,ih){if(!qf){var Pf=bf(vf,eh,ch);eh!==Pf&&(qf=!0,ch="buffer",eh=Pf)}var uh=vf.objectMode?1:eh.length;vf.length+=uh;var xh=vf.length */var hasRequiredSafeBuffer;function requireSafeBuffer(){return hasRequiredSafeBuffer||(hasRequiredSafeBuffer=1,function(Ra,qa){var nd=buffer,od=nd.Buffer;function ld(cd,dd){for(var pd in cd)dd[pd]=cd[pd]}od.from&&od.alloc&&od.allocUnsafe&&od.allocUnsafeSlow?Ra.exports=nd:(ld(nd,qa),qa.Buffer=ud);function ud(cd,dd,pd){return od(cd,dd,pd)}ud.prototype=Object.create(od.prototype),ld(od,ud),ud.from=function(cd,dd,pd){if(typeof cd=="number")throw new TypeError("Argument must not be a number");return od(cd,dd,pd)},ud.alloc=function(cd,dd,pd){if(typeof cd!="number")throw new TypeError("Argument must be a number");var fd=od(cd);return dd!==void 0?typeof pd=="string"?fd.fill(dd,pd):fd.fill(dd):fd.fill(0),fd},ud.allocUnsafe=function(cd){if(typeof cd!="number")throw new TypeError("Argument must be a number");return od(cd)},ud.allocUnsafeSlow=function(cd){if(typeof cd!="number")throw new TypeError("Argument must be a number");return nd.SlowBuffer(cd)}}(safeBuffer,safeBuffer.exports)),safeBuffer.exports}var hasRequiredString_decoder;function requireString_decoder(){if(hasRequiredString_decoder)return string_decoder;hasRequiredString_decoder=1;var Ra=requireSafeBuffer().Buffer,qa=Ra.isEncoding||function(Fd){switch(Fd=""+Fd,Fd&&Fd.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function nd(Fd){if(!Fd)return"utf8";for(var Md;;)switch(Fd){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return Fd;default:if(Md)return;Fd=(""+Fd).toLowerCase(),Md=!0}}function od(Fd){var Md=nd(Fd);if(typeof Md!="string"&&(Ra.isEncoding===qa||!qa(Fd)))throw new Error("Unknown encoding: "+Fd);return Md||Fd}string_decoder.StringDecoder=ld;function ld(Fd){this.encoding=od(Fd);var Md;switch(this.encoding){case"utf16le":this.text=vd,this.end=Ad,Md=4;break;case"utf8":this.fillLast=pd,Md=4;break;case"base64":this.text=Nd,this.end=Id,Md=3;break;default:this.write=kd,this.end=jd;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=Ra.allocUnsafe(Md)}ld.prototype.write=function(Fd){if(Fd.length===0)return"";var Md,Ld;if(this.lastNeed){if(Md=this.fillLast(Fd),Md===void 0)return"";Ld=this.lastNeed,this.lastNeed=0}else Ld=0;return Ld>5===6?2:Fd>>4===14?3:Fd>>3===30?4:Fd>>6===2?-1:-2}function cd(Fd,Md,Ld){var Hd=Md.length-1;if(Hd=0?(Gd>0&&(Fd.lastNeed=Gd-1),Gd):--Hd=0?(Gd>0&&(Fd.lastNeed=Gd-2),Gd):--Hd=0?(Gd>0&&(Gd===2?Gd=0:Fd.lastNeed=Gd-3),Gd):0))}function dd(Fd,Md,Ld){if((Md[0]&192)!==128)return Fd.lastNeed=0,"�";if(Fd.lastNeed>1&&Md.length>1){if((Md[1]&192)!==128)return Fd.lastNeed=1,"�";if(Fd.lastNeed>2&&Md.length>2&&(Md[2]&192)!==128)return Fd.lastNeed=2,"�"}}function pd(Fd){var Md=this.lastTotal-this.lastNeed,Ld=dd(this,Fd);if(Ld!==void 0)return Ld;if(this.lastNeed<=Fd.length)return Fd.copy(this.lastChar,Md,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);Fd.copy(this.lastChar,Md,0,Fd.length),this.lastNeed-=Fd.length}function fd(Fd,Md){var Ld=cd(this,Fd,Md);if(!this.lastNeed)return Fd.toString("utf8",Md);this.lastTotal=Ld;var Hd=Fd.length-(Ld-this.lastNeed);return Fd.copy(this.lastChar,0,Hd),Fd.toString("utf8",Md,Hd)}function md(Fd){var Md=Fd&&Fd.length?this.write(Fd):"";return this.lastNeed?Md+"�":Md}function vd(Fd,Md){if((Fd.length-Md)%2===0){var Ld=Fd.toString("utf16le",Md);if(Ld){var Hd=Ld.charCodeAt(Ld.length-1);if(Hd>=55296&&Hd<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=Fd[Fd.length-2],this.lastChar[1]=Fd[Fd.length-1],Ld.slice(0,-1)}return Ld}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=Fd[Fd.length-1],Fd.toString("utf16le",Md,Fd.length-1)}function Ad(Fd){var Md=Fd&&Fd.length?this.write(Fd):"";if(this.lastNeed){var Ld=this.lastTotal-this.lastNeed;return Md+this.lastChar.toString("utf16le",0,Ld)}return Md}function Nd(Fd,Md){var Ld=(Fd.length-Md)%3;return Ld===0?Fd.toString("base64",Md):(this.lastNeed=3-Ld,this.lastTotal=3,Ld===1?this.lastChar[0]=Fd[Fd.length-1]:(this.lastChar[0]=Fd[Fd.length-2],this.lastChar[1]=Fd[Fd.length-1]),Fd.toString("base64",Md,Fd.length-Ld))}function Id(Fd){var Md=Fd&&Fd.length?this.write(Fd):"";return this.lastNeed?Md+this.lastChar.toString("base64",0,3-this.lastNeed):Md}function kd(Fd){return Fd.toString(this.encoding)}function jd(Fd){return Fd&&Fd.length?this.write(Fd):""}return string_decoder}var ERR_STREAM_PREMATURE_CLOSE=errorsBrowser.codes.ERR_STREAM_PREMATURE_CLOSE;function once$2(Ra){var qa=!1;return function(){if(!qa){qa=!0;for(var nd=arguments.length,od=new Array(nd),ld=0;ld0)if(typeof Pf!="string"&&!wf.objectMode&&Object.getPrototypeOf(Pf)!==ld.prototype&&(Pf=cd(Pf)),xh)wf.endEmitted?Vd(ih,new Md):bf(ih,wf,Pf,!0);else if(wf.ended)Vd(ih,new jd);else{if(wf.destroyed)return!1;wf.reading=!1,wf.decoder&&!uh?(Pf=wf.decoder.write(Pf),wf.objectMode||Pf.length!==0?bf(ih,wf,Pf,!1):Jf(ih,wf)):bf(ih,wf,Pf,!1)}else xh||(wf.reading=!1,Jf(ih,wf))}return!wf.ended&&(wf.length=Ef?ih=Ef:(ih--,ih|=ih>>>1,ih|=ih>>>2,ih|=ih>>>4,ih|=ih>>>8,ih|=ih>>>16,ih++),ih}function xf(ih,Pf){return ih<=0||Pf.length===0&&Pf.ended?0:Pf.objectMode?1:ih!==ih?Pf.flowing&&Pf.length?Pf.buffer.head.data.length:Pf.length:(ih>Pf.highWaterMark&&(Pf.highWaterMark=gf(ih)),ih<=Pf.length?ih:Pf.ended?Pf.length:(Pf.needReadable=!0,0))}Zd.prototype.read=function(ih){fd("read",ih),ih=parseInt(ih,10);var Pf=this._readableState,uh=ih;if(ih!==0&&(Pf.emittedReadable=!1),ih===0&&Pf.needReadable&&((Pf.highWaterMark!==0?Pf.length>=Pf.highWaterMark:Pf.length>0)||Pf.ended))return fd("read: emitReadable",Pf.length,Pf.ended),Pf.length===0&&Pf.ended?qf(this):Lf(this),null;if(ih=xf(ih,Pf),ih===0&&Pf.ended)return Pf.length===0&&qf(this),null;var xh=Pf.needReadable;fd("need readable",xh),(Pf.length===0||Pf.length-ih0?Qf=vf(ih,Pf):Qf=null,Qf===null?(Pf.needReadable=Pf.length<=Pf.highWaterMark,ih=0):(Pf.length-=ih,Pf.awaitDrain=0),Pf.length===0&&(Pf.ended||(Pf.needReadable=!0),uh!==ih&&Pf.ended&&qf(this)),Qf!==null&&this.emit("data",Qf),Qf};function Af(ih,Pf){if(fd("onEofChunk"),!Pf.ended){if(Pf.decoder){var uh=Pf.decoder.end();uh&&uh.length&&(Pf.buffer.push(uh),Pf.length+=Pf.objectMode?1:uh.length)}Pf.ended=!0,Pf.sync?Lf(ih):(Pf.needReadable=!1,Pf.emittedReadable||(Pf.emittedReadable=!0,Xf(ih)))}}function Lf(ih){var Pf=ih._readableState;fd("emitReadable",Pf.needReadable,Pf.emittedReadable),Pf.needReadable=!1,Pf.emittedReadable||(fd("emitReadable",Pf.flowing),Pf.emittedReadable=!0,Ra.nextTick(Xf,ih))}function Xf(ih){var Pf=ih._readableState;fd("emitReadable_",Pf.destroyed,Pf.length,Pf.ended),!Pf.destroyed&&(Pf.length||Pf.ended)&&(ih.emit("readable"),Pf.emittedReadable=!1),Pf.needReadable=!Pf.flowing&&!Pf.ended&&Pf.length<=Pf.highWaterMark,Tf(ih)}function Jf(ih,Pf){Pf.readingMore||(Pf.readingMore=!0,Ra.nextTick(Zf,ih,Pf))}function Zf(ih,Pf){for(;!Pf.reading&&!Pf.ended&&(Pf.length1&&ch(xh.pipes,ih)!==-1)&&!Th&&(fd("false write response, pause",xh.awaitDrain),xh.awaitDrain++),uh.pause())}function wh(Sm){fd("onerror",Sm),cm(),ih.removeListener("error",wh),nd(ih,"error")===0&&Vd(ih,Sm)}mf(ih,"error",wh);function fm(){ih.removeListener("finish",Nm),cm()}ih.once("close",fm);function Nm(){fd("onfinish"),ih.removeListener("close",fm),cm()}ih.once("finish",Nm);function cm(){fd("unpipe"),uh.unpipe(ih)}return ih.emit("pipe",uh),xh.flowing||(fd("pipe resume"),uh.resume()),ih};function Bf(ih){return function(){var uh=ih._readableState;fd("pipeOnDrain",uh.awaitDrain),uh.awaitDrain&&uh.awaitDrain--,uh.awaitDrain===0&&nd(ih,"data")&&(uh.flowing=!0,Tf(ih))}}Zd.prototype.unpipe=function(ih){var Pf=this._readableState,uh={hasUnpiped:!1};if(Pf.pipesCount===0)return this;if(Pf.pipesCount===1)return ih&&ih!==Pf.pipes?this:(ih||(ih=Pf.pipes),Pf.pipes=null,Pf.pipesCount=0,Pf.flowing=!1,ih&&ih.emit("unpipe",this,uh),this);if(!ih){var xh=Pf.pipes,Qf=Pf.pipesCount;Pf.pipes=null,Pf.pipesCount=0,Pf.flowing=!1;for(var wf=0;wf0,xh.flowing!==!1&&this.resume()):ih==="readable"&&!xh.endEmitted&&!xh.readableListening&&(xh.readableListening=xh.needReadable=!0,xh.flowing=!1,xh.emittedReadable=!1,fd("on readable",xh.length,xh.reading),xh.length?Lf(this):xh.reading||Ra.nextTick(Uf,this)),uh},Zd.prototype.addListener=Zd.prototype.on,Zd.prototype.removeListener=function(ih,Pf){var uh=od.prototype.removeListener.call(this,ih,Pf);return ih==="readable"&&Ra.nextTick(Df,this),uh},Zd.prototype.removeAllListeners=function(ih){var Pf=od.prototype.removeAllListeners.apply(this,arguments);return(ih==="readable"||ih===void 0)&&Ra.nextTick(Df,this),Pf};function Df(ih){var Pf=ih._readableState;Pf.readableListening=ih.listenerCount("readable")>0,Pf.resumeScheduled&&!Pf.paused?Pf.flowing=!0:ih.listenerCount("data")>0&&ih.resume()}function Uf(ih){fd("readable nexttick read 0"),ih.read(0)}Zd.prototype.resume=function(){var ih=this._readableState;return ih.flowing||(fd("resume"),ih.flowing=!ih.readableListening,Gf(this,ih)),ih.paused=!1,this};function Gf(ih,Pf){Pf.resumeScheduled||(Pf.resumeScheduled=!0,Ra.nextTick(zf,ih,Pf))}function zf(ih,Pf){fd("resume",Pf.reading),Pf.reading||ih.read(0),Pf.resumeScheduled=!1,ih.emit("resume"),Tf(ih),Pf.flowing&&!Pf.reading&&ih.read(0)}Zd.prototype.pause=function(){return fd("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(fd("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Tf(ih){var Pf=ih._readableState;for(fd("flow",Pf.flowing);Pf.flowing&&ih.read()!==null;);}Zd.prototype.wrap=function(ih){var Pf=this,uh=this._readableState,xh=!1;ih.on("end",function(){if(fd("wrapped end"),uh.decoder&&!uh.ended){var $f=uh.decoder.end();$f&&$f.length&&Pf.push($f)}Pf.push(null)}),ih.on("data",function($f){if(fd("wrapped data"),uh.decoder&&($f=uh.decoder.write($f)),!(uh.objectMode&&$f==null)&&!(!uh.objectMode&&(!$f||!$f.length))){var Wf=Pf.push($f);Wf||(xh=!0,ih.pause())}});for(var Qf in ih)this[Qf]===void 0&&typeof ih[Qf]=="function"&&(this[Qf]=function(Wf){return function(){return ih[Wf].apply(ih,arguments)}}(Qf));for(var wf=0;wf=Pf.length?(Pf.decoder?uh=Pf.buffer.join(""):Pf.buffer.length===1?uh=Pf.buffer.first():uh=Pf.buffer.concat(Pf.length),Pf.buffer.clear()):uh=Pf.buffer.consume(ih,Pf.decoder),uh}function qf(ih){var Pf=ih._readableState;fd("endReadable",Pf.endEmitted),Pf.endEmitted||(Pf.ended=!0,Ra.nextTick(eh,Pf,ih))}function eh(ih,Pf){if(fd("endReadableNT",ih.endEmitted,ih.length),!ih.endEmitted&&ih.length===0&&(ih.endEmitted=!0,Pf.readable=!1,Pf.emit("end"),ih.autoDestroy)){var uh=Pf._writableState;(!uh||uh.autoDestroy&&uh.finished)&&Pf.destroy()}}typeof Symbol=="function"&&(Zd.from=function(ih,Pf){return Gd===void 0&&(Gd=requireFromBrowser()),Gd(Zd,ih,Pf)});function ch(ih,Pf){for(var uh=0,xh=ih.length;uh0;return destroyer(cd,pd,fd,function(md){ld||(ld=md),md&&ud.forEach(call),!pd&&(ud.forEach(call),od(ld))})});return qa.reduce(pipe)}var pipeline_1=pipeline$1,streamBrowserify=Stream$1,EE=eventsExports.EventEmitter,inherits$1=inherits_browserExports;inherits$1(Stream$1,EE);Stream$1.Readable=require_stream_readable();Stream$1.Writable=require_stream_writable();Stream$1.Duplex=require_stream_duplex();Stream$1.Transform=_stream_transform;Stream$1.PassThrough=_stream_passthrough;Stream$1.finished=endOfStream;Stream$1.pipeline=pipeline_1;Stream$1.Stream=Stream$1;function Stream$1(){EE.call(this)}Stream$1.prototype.pipe=function(Ra,qa){var nd=this;function od(md){Ra.writable&&Ra.write(md)===!1&&nd.pause&&nd.pause()}nd.on("data",od);function ld(){nd.readable&&nd.resume&&nd.resume()}Ra.on("drain",ld),!Ra._isStdio&&(!qa||qa.end!==!1)&&(nd.on("end",cd),nd.on("close",dd));var ud=!1;function cd(){ud||(ud=!0,Ra.end())}function dd(){ud||(ud=!0,typeof Ra.destroy=="function"&&Ra.destroy())}function pd(md){if(fd(),EE.listenerCount(this,"error")===0)throw md}nd.on("error",pd),Ra.on("error",pd);function fd(){nd.removeListener("data",od),Ra.removeListener("drain",ld),nd.removeListener("end",cd),nd.removeListener("close",dd),nd.removeListener("error",pd),Ra.removeListener("error",pd),nd.removeListener("end",fd),nd.removeListener("close",fd),Ra.removeListener("close",fd)}return nd.on("end",fd),nd.on("close",fd),Ra.on("close",fd),Ra.emit("pipe",nd),Ra};var define_process_default$5={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_9b3b18d1-9340-49ab-b4e8-5023772e0970",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_9b3b18d1-9340-49ab-b4e8-5023772e0970",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:1985",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12403591553",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_77bf6c2e-16c6-46b5-9674-d636e159247f",INVOCATION_ID:"2e23158896aa43b4b0c7cc0c353d16fa",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"468",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 17",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_9b3b18d1-9340-49ab-b4e8-5023772e0970",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_9b3b18d1-9340-49ab-b4e8-5023772e0970",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_9b3b18d1-9340-49ab-b4e8-5023772e0970",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2165,ppid:2164,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};function apply(Ra,...qa){return(...nd)=>Ra(...qa,...nd)}function initialParams(Ra){return function(...qa){var nd=qa.pop();return Ra.call(this,qa,nd)}}var hasQueueMicrotask=typeof queueMicrotask=="function"&&queueMicrotask,hasSetImmediate=typeof setImmediate=="function"&&setImmediate,hasNextTick=typeof define_process_default$5=="object"&&typeof define_process_default$5.nextTick=="function";function fallback(Ra){setTimeout(Ra,0)}function wrap(Ra){return(qa,...nd)=>Ra(()=>qa(...nd))}var _defer$1;hasQueueMicrotask?_defer$1=queueMicrotask:hasSetImmediate?_defer$1=setImmediate:hasNextTick?_defer$1=define_process_default$5.nextTick:_defer$1=fallback;var setImmediate$1$1=wrap(_defer$1);function asyncify(Ra){return isAsync(Ra)?function(...qa){const nd=qa.pop(),od=Ra.apply(this,qa);return handlePromise(od,nd)}:initialParams(function(qa,nd){var od;try{od=Ra.apply(this,qa)}catch(ld){return nd(ld)}if(od&&typeof od.then=="function")return handlePromise(od,nd);nd(null,od)})}function handlePromise(Ra,qa){return Ra.then(nd=>{invokeCallback(qa,null,nd)},nd=>{invokeCallback(qa,nd&&(nd instanceof Error||nd.message)?nd:new Error(nd))})}function invokeCallback(Ra,qa,nd){try{Ra(qa,nd)}catch(od){setImmediate$1$1(ld=>{throw ld},od)}}function isAsync(Ra){return Ra[Symbol.toStringTag]==="AsyncFunction"}function isAsyncGenerator(Ra){return Ra[Symbol.toStringTag]==="AsyncGenerator"}function isAsyncIterable(Ra){return typeof Ra[Symbol.asyncIterator]=="function"}function wrapAsync(Ra){if(typeof Ra!="function")throw new Error("expected a function");return isAsync(Ra)?asyncify(Ra):Ra}function awaitify(Ra,qa){if(qa||(qa=Ra.length),!qa)throw new Error("arity is undefined");function nd(...od){return typeof od[qa-1]=="function"?Ra.apply(this,od):new Promise((ld,ud)=>{od[qa-1]=(cd,...dd)=>{if(cd)return ud(cd);ld(dd.length>1?dd:dd[0])},Ra.apply(this,od)})}return nd}function applyEach$1(Ra){return function(nd,...od){return awaitify(function(ud){var cd=this;return Ra(nd,(dd,pd)=>{wrapAsync(dd).apply(cd,od.concat(pd))},ud)})}}function _asyncMap(Ra,qa,nd,od){qa=qa||[];var ld=[],ud=0,cd=wrapAsync(nd);return Ra(qa,(dd,pd,fd)=>{var md=ud++;cd(dd,(vd,Ad)=>{ld[md]=Ad,fd(vd)})},dd=>{od(dd,ld)})}function isArrayLike(Ra){return Ra&&typeof Ra.length=="number"&&Ra.length>=0&&Ra.length%1===0}const breakLoop={};function once(Ra){function qa(...nd){if(Ra!==null){var od=Ra;Ra=null,od.apply(this,nd)}}return Object.assign(qa,Ra),qa}function getIterator(Ra){return Ra[Symbol.iterator]&&Ra[Symbol.iterator]()}function createArrayIterator(Ra){var qa=-1,nd=Ra.length;return function(){return++qa=qa||cd||ld||(cd=!0,Ra.next().then(({value:Ad,done:Nd})=>{if(!(ud||ld)){if(cd=!1,Nd){ld=!0,dd<=0&&od(null);return}dd++,nd(Ad,pd,md),pd++,fd()}}).catch(vd))}function md(Ad,Nd){if(dd-=1,!ud){if(Ad)return vd(Ad);if(Ad===!1){ld=!0,ud=!0;return}if(Nd===breakLoop||ld&&dd<=0)return ld=!0,od(null);fd()}}function vd(Ad){ud||(cd=!1,ld=!0,od(Ad))}fd()}var eachOfLimit$2=Ra=>(qa,nd,od)=>{if(od=once(od),Ra<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!qa)return od(null);if(isAsyncGenerator(qa))return asyncEachOfLimit(qa,Ra,nd,od);if(isAsyncIterable(qa))return asyncEachOfLimit(qa[Symbol.asyncIterator](),Ra,nd,od);var ld=createIterator(qa),ud=!1,cd=!1,dd=0,pd=!1;function fd(vd,Ad){if(!cd)if(dd-=1,vd)ud=!0,od(vd);else if(vd===!1)ud=!0,cd=!0;else{if(Ad===breakLoop||ud&&dd<=0)return ud=!0,od(null);pd||md()}}function md(){for(pd=!0;dd1?ld:ld[0])}return nd[PROMISE_SYMBOL]=new Promise((od,ld)=>{Ra=od,qa=ld}),nd}function auto(Ra,qa,nd){typeof qa!="number"&&(nd=qa,qa=null),nd=once(nd||promiseCallback());var od=Object.keys(Ra).length;if(!od)return nd(null);qa||(qa=od);var ld={},ud=0,cd=!1,dd=!1,pd=Object.create(null),fd=[],md=[],vd={};Object.keys(Ra).forEach(Ld=>{var Hd=Ra[Ld];if(!Array.isArray(Hd)){Ad(Ld,[Hd]),md.push(Ld);return}var Gd=Hd.slice(0,Hd.length-1),Vd=Gd.length;if(Vd===0){Ad(Ld,Hd),md.push(Ld);return}vd[Ld]=Vd,Gd.forEach(Kd=>{if(!Ra[Kd])throw new Error("async.auto task `"+Ld+"` has a non-existent dependency `"+Kd+"` in "+Gd.join(", "));Id(Kd,()=>{Vd--,Vd===0&&Ad(Ld,Hd)})})}),Fd(),Nd();function Ad(Ld,Hd){fd.push(()=>jd(Ld,Hd))}function Nd(){if(!cd){if(fd.length===0&&ud===0)return nd(null,ld);for(;fd.length&&udGd()),Nd()}function jd(Ld,Hd){if(!dd){var Gd=onlyOnce((Kd,...mf)=>{if(ud--,Kd===!1){cd=!0;return}if(mf.length<2&&([mf]=mf),Kd){var Wd={};if(Object.keys(ld).forEach(Zd=>{Wd[Zd]=ld[Zd]}),Wd[Ld]=mf,dd=!0,pd=Object.create(null),cd)return;nd(Kd,Wd)}else ld[Ld]=mf,kd(Ld)});ud++;var Vd=wrapAsync(Hd[Hd.length-1]);Hd.length>1?Vd(ld,Gd):Vd(Gd)}}function Fd(){for(var Ld,Hd=0;md.length;)Ld=md.pop(),Hd++,Md(Ld).forEach(Gd=>{--vd[Gd]===0&&md.push(Gd)});if(Hd!==od)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}function Md(Ld){var Hd=[];return Object.keys(Ra).forEach(Gd=>{const Vd=Ra[Gd];Array.isArray(Vd)&&Vd.indexOf(Ld)>=0&&Hd.push(Gd)}),Hd}return nd[PROMISE_SYMBOL]}var FN_ARGS=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/,ARROW_FN_ARGS=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/,FN_ARG_SPLIT=/,/,FN_ARG=/(=.+)?(\s*)$/;function stripComments(Ra){let qa="",nd=0,od=Ra.indexOf("*/");for(;ndld.replace(FN_ARG,"").trim())}function autoInject(Ra,qa){var nd={};return Object.keys(Ra).forEach(od=>{var ld=Ra[od],ud,cd=isAsync(ld),dd=!cd&&ld.length===1||cd&&ld.length===0;if(Array.isArray(ld))ud=[...ld],ld=ud.pop(),nd[od]=ud.concat(ud.length>0?pd:ld);else if(dd)nd[od]=ld;else{if(ud=parseParams(ld),ld.length===0&&!cd&&ud.length===0)throw new Error("autoInject task functions require explicit parameters.");cd||ud.pop(),nd[od]=ud.concat(pd)}function pd(fd,md){var vd=ud.map(Ad=>fd[Ad]);vd.push(md),wrapAsync(ld)(...vd)}}),auto(nd,qa)}class DLL{constructor(){this.head=this.tail=null,this.length=0}removeLink(qa){return qa.prev?qa.prev.next=qa.next:this.head=qa.next,qa.next?qa.next.prev=qa.prev:this.tail=qa.prev,qa.prev=qa.next=null,this.length-=1,qa}empty(){for(;this.head;)this.shift();return this}insertAfter(qa,nd){nd.prev=qa,nd.next=qa.next,qa.next?qa.next.prev=nd:this.tail=nd,qa.next=nd,this.length+=1}insertBefore(qa,nd){nd.prev=qa.prev,nd.next=qa,qa.prev?qa.prev.next=nd:this.head=nd,qa.prev=nd,this.length+=1}unshift(qa){this.head?this.insertBefore(this.head,qa):setInitial(this,qa)}push(qa){this.tail?this.insertAfter(this.tail,qa):setInitial(this,qa)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){for(var qa=this.head;qa;)yield qa.data,qa=qa.next}remove(qa){for(var nd=this.head;nd;){var{next:od}=nd;qa(nd)&&this.removeLink(nd),nd=od}return this}}function setInitial(Ra,qa){Ra.length=1,Ra.head=Ra.tail=qa}function queue$1(Ra,qa,nd){if(qa==null)qa=1;else if(qa===0)throw new RangeError("Concurrency must not be zero");var od=wrapAsync(Ra),ld=0,ud=[];const cd={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function dd(Md,Ld){cd[Md].push(Ld)}function pd(Md,Ld){const Hd=(...Gd)=>{fd(Md,Hd),Ld(...Gd)};cd[Md].push(Hd)}function fd(Md,Ld){if(!Md)return Object.keys(cd).forEach(Hd=>cd[Hd]=[]);if(!Ld)return cd[Md]=[];cd[Md]=cd[Md].filter(Hd=>Hd!==Ld)}function md(Md,...Ld){cd[Md].forEach(Hd=>Hd(...Ld))}var vd=!1;function Ad(Md,Ld,Hd,Gd){if(Gd!=null&&typeof Gd!="function")throw new Error("task callback must be a function");Fd.started=!0;var Vd,Qd;function mf(Zd,...Kd){if(Zd)return Hd?Qd(Zd):Vd();if(Kd.length<=1)return Vd(Kd[0]);Vd(Kd)}var Yd=Fd._createTaskItem(Md,Hd?mf:Gd||mf);if(Ld?Fd._tasks.unshift(Yd):Fd._tasks.push(Yd),vd||(vd=!0,setImmediate$1$1(()=>{vd=!1,Fd.process()})),Hd||!Gd)return new Promise((Zd,Kd)=>{Vd=Zd,Qd=Kd})}function Nd(Md){return function(Ld,...Hd){ld-=1;for(var Gd=0,Vd=Md.length;Gd0&&ud.splice(mf,1),Qd.callback(Ld,...Hd),Ld!=null&&md("error",Ld,Qd.data)}ld<=Fd.concurrency-Fd.buffer&&md("unsaturated"),Fd.idle()&&md("drain"),Fd.process()}}function Id(Md){return Md.length===0&&Fd.idle()?(setImmediate$1$1(()=>md("drain")),!0):!1}const kd=Md=>Ld=>{if(!Ld)return new Promise((Hd,Gd)=>{pd(Md,(Vd,Qd)=>{if(Vd)return Gd(Vd);Hd(Qd)})});fd(Md),dd(Md,Ld)};var jd=!1,Fd={_tasks:new DLL,_createTaskItem(Md,Ld){return{data:Md,callback:Ld}},*[Symbol.iterator](){yield*Fd._tasks[Symbol.iterator]()},concurrency:qa,payload:nd,buffer:qa/4,started:!1,paused:!1,push(Md,Ld){return Array.isArray(Md)?Id(Md)?void 0:Md.map(Hd=>Ad(Hd,!1,!1,Ld)):Ad(Md,!1,!1,Ld)},pushAsync(Md,Ld){return Array.isArray(Md)?Id(Md)?void 0:Md.map(Hd=>Ad(Hd,!1,!0,Ld)):Ad(Md,!1,!0,Ld)},kill(){fd(),Fd._tasks.empty()},unshift(Md,Ld){return Array.isArray(Md)?Id(Md)?void 0:Md.map(Hd=>Ad(Hd,!0,!1,Ld)):Ad(Md,!0,!1,Ld)},unshiftAsync(Md,Ld){return Array.isArray(Md)?Id(Md)?void 0:Md.map(Hd=>Ad(Hd,!0,!0,Ld)):Ad(Md,!0,!0,Ld)},remove(Md){Fd._tasks.remove(Md)},process(){if(!jd){for(jd=!0;!Fd.paused&&ld{ld(qa,ud,(pd,fd)=>{qa=fd,dd(pd)})},ud=>od(ud,qa))}var reduce$1=awaitify(reduce,4);function seq(...Ra){var qa=Ra.map(wrapAsync);return function(...nd){var od=this,ld=nd[nd.length-1];return typeof ld=="function"?nd.pop():ld=promiseCallback(),reduce$1(qa,nd,(ud,cd,dd)=>{cd.apply(od,ud.concat((pd,...fd)=>{dd(pd,fd)}))},(ud,cd)=>ld(ud,...cd)),ld[PROMISE_SYMBOL]}}function compose(...Ra){return seq(...Ra.reverse())}function mapLimit(Ra,qa,nd,od){return _asyncMap(eachOfLimit$2(qa),Ra,nd,od)}var mapLimit$1=awaitify(mapLimit,4);function concatLimit(Ra,qa,nd,od){var ld=wrapAsync(nd);return mapLimit$1(Ra,qa,(ud,cd)=>{ld(ud,(dd,...pd)=>dd?cd(dd):cd(dd,pd))},(ud,cd)=>{for(var dd=[],pd=0;pd{var cd=!1,dd;const pd=wrapAsync(ld);nd(od,(fd,md,vd)=>{pd(fd,(Ad,Nd)=>{if(Ad||Ad===!1)return vd(Ad);if(Ra(Nd)&&!dd)return cd=!0,dd=qa(!0,fd),vd(null,breakLoop);vd()})},fd=>{if(fd)return ud(fd);ud(null,cd?dd:qa(!1))})}}function detect(Ra,qa,nd){return _createTester(od=>od,(od,ld)=>ld)(eachOf$1,Ra,qa,nd)}var detect$1=awaitify(detect,3);function detectLimit(Ra,qa,nd,od){return _createTester(ld=>ld,(ld,ud)=>ud)(eachOfLimit$2(qa),Ra,nd,od)}var detectLimit$1=awaitify(detectLimit,4);function detectSeries(Ra,qa,nd){return _createTester(od=>od,(od,ld)=>ld)(eachOfLimit$2(1),Ra,qa,nd)}var detectSeries$1=awaitify(detectSeries,3);function consoleFunc(Ra){return(qa,...nd)=>wrapAsync(qa)(...nd,(od,...ld)=>{typeof console=="object"&&(od?console.error&&console.error(od):console[Ra]&&ld.forEach(ud=>console[Ra](ud)))})}var dir=consoleFunc("dir");function doWhilst(Ra,qa,nd){nd=onlyOnce(nd);var od=wrapAsync(Ra),ld=wrapAsync(qa),ud;function cd(pd,...fd){if(pd)return nd(pd);pd!==!1&&(ud=fd,ld(...fd,dd))}function dd(pd,fd){if(pd)return nd(pd);if(pd!==!1){if(!fd)return nd(null,...ud);od(cd)}}return dd(null,!0)}var doWhilst$1=awaitify(doWhilst,3);function doUntil(Ra,qa,nd){const od=wrapAsync(qa);return doWhilst$1(Ra,(...ld)=>{const ud=ld.pop();od(...ld,(cd,dd)=>ud(cd,!dd))},nd)}function _withoutIndex(Ra){return(qa,nd,od)=>Ra(qa,od)}function eachLimit$2(Ra,qa,nd){return eachOf$1(Ra,_withoutIndex(wrapAsync(qa)),nd)}var each=awaitify(eachLimit$2,3);function eachLimit(Ra,qa,nd,od){return eachOfLimit$2(qa)(Ra,_withoutIndex(wrapAsync(nd)),od)}var eachLimit$1=awaitify(eachLimit,4);function eachSeries(Ra,qa,nd){return eachLimit$1(Ra,1,qa,nd)}var eachSeries$1=awaitify(eachSeries,3);function ensureAsync(Ra){return isAsync(Ra)?Ra:function(...qa){var nd=qa.pop(),od=!0;qa.push((...ld)=>{od?setImmediate$1$1(()=>nd(...ld)):nd(...ld)}),Ra.apply(this,qa),od=!1}}function every(Ra,qa,nd){return _createTester(od=>!od,od=>!od)(eachOf$1,Ra,qa,nd)}var every$1=awaitify(every,3);function everyLimit(Ra,qa,nd,od){return _createTester(ld=>!ld,ld=>!ld)(eachOfLimit$2(qa),Ra,nd,od)}var everyLimit$1=awaitify(everyLimit,4);function everySeries(Ra,qa,nd){return _createTester(od=>!od,od=>!od)(eachOfSeries$1,Ra,qa,nd)}var everySeries$1=awaitify(everySeries,3);function filterArray(Ra,qa,nd,od){var ld=new Array(qa.length);Ra(qa,(ud,cd,dd)=>{nd(ud,(pd,fd)=>{ld[cd]=!!fd,dd(pd)})},ud=>{if(ud)return od(ud);for(var cd=[],dd=0;dd{nd(ud,(pd,fd)=>{if(pd)return dd(pd);fd&&ld.push({index:cd,value:ud}),dd(pd)})},ud=>{if(ud)return od(ud);od(null,ld.sort((cd,dd)=>cd.index-dd.index).map(cd=>cd.value))})}function _filter(Ra,qa,nd,od){var ld=isArrayLike(qa)?filterArray:filterGeneric;return ld(Ra,qa,wrapAsync(nd),od)}function filter(Ra,qa,nd){return _filter(eachOf$1,Ra,qa,nd)}var filter$1=awaitify(filter,3);function filterLimit(Ra,qa,nd,od){return _filter(eachOfLimit$2(qa),Ra,nd,od)}var filterLimit$1=awaitify(filterLimit,4);function filterSeries(Ra,qa,nd){return _filter(eachOfSeries$1,Ra,qa,nd)}var filterSeries$1=awaitify(filterSeries,3);function forever(Ra,qa){var nd=onlyOnce(qa),od=wrapAsync(ensureAsync(Ra));function ld(ud){if(ud)return nd(ud);ud!==!1&&od(ld)}return ld()}var forever$1=awaitify(forever,2);function groupByLimit(Ra,qa,nd,od){var ld=wrapAsync(nd);return mapLimit$1(Ra,qa,(ud,cd)=>{ld(ud,(dd,pd)=>dd?cd(dd):cd(dd,{key:pd,val:ud}))},(ud,cd)=>{for(var dd={},{hasOwnProperty:pd}=Object.prototype,fd=0;fd{ud(cd,dd,(fd,md)=>{if(fd)return pd(fd);ld[dd]=md,pd(fd)})},cd=>od(cd,ld))}var mapValuesLimit$1=awaitify(mapValuesLimit,4);function mapValues(Ra,qa,nd){return mapValuesLimit$1(Ra,1/0,qa,nd)}function mapValuesSeries(Ra,qa,nd){return mapValuesLimit$1(Ra,1,qa,nd)}function memoize(Ra,qa=nd=>nd){var nd=Object.create(null),od=Object.create(null),ld=wrapAsync(Ra),ud=initialParams((cd,dd)=>{var pd=qa(...cd);pd in nd?setImmediate$1$1(()=>dd(null,...nd[pd])):pd in od?od[pd].push(dd):(od[pd]=[dd],ld(...cd,(fd,...md)=>{fd||(nd[pd]=md);var vd=od[pd];delete od[pd];for(var Ad=0,Nd=vd.length;Ad{var od=isArrayLike(qa)?[]:{};Ra(qa,(ld,ud,cd)=>{wrapAsync(ld)((dd,...pd)=>{pd.length<2&&([pd]=pd),od[ud]=pd,cd(dd)})},ld=>nd(ld,od))},3);function parallel(Ra,qa){return _parallel(eachOf$1,Ra,qa)}function parallelLimit(Ra,qa,nd){return _parallel(eachOfLimit$2(qa),Ra,nd)}function queue(Ra,qa){var nd=wrapAsync(Ra);return queue$1((od,ld)=>{nd(od[0],ld)},qa,1)}class Heap{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(qa){let nd;for(;qa>0&&smaller(this.heap[qa],this.heap[nd=parent(qa)]);){let od=this.heap[qa];this.heap[qa]=this.heap[nd],this.heap[nd]=od,qa=nd}}percDown(qa){let nd;for(;(nd=leftChi(qa))=0;od--)this.percDown(od);return this}}function leftChi(Ra){return(Ra<<1)+1}function parent(Ra){return(Ra+1>>1)-1}function smaller(Ra,qa){return Ra.priority!==qa.priority?Ra.priority({data:cd,priority:dd,callback:pd});function ud(cd,dd){return Array.isArray(cd)?cd.map(pd=>({data:pd,priority:dd})):{data:cd,priority:dd}}return nd.push=function(cd,dd=0,pd){return od(ud(cd,dd),pd)},nd.pushAsync=function(cd,dd=0,pd){return ld(ud(cd,dd),pd)},delete nd.unshift,delete nd.unshiftAsync,nd}function race(Ra,qa){if(qa=once(qa),!Array.isArray(Ra))return qa(new TypeError("First argument to race must be an array of functions"));if(!Ra.length)return qa();for(var nd=0,od=Ra.length;nd{let dd={};if(ud&&(dd.error=ud),cd.length>0){var pd=cd;cd.length<=1&&([pd]=cd),dd.value=pd}ld(null,dd)}),qa.apply(this,od)})}function reflectAll(Ra){var qa;return Array.isArray(Ra)?qa=Ra.map(reflect):(qa={},Object.keys(Ra).forEach(nd=>{qa[nd]=reflect.call(this,Ra[nd])})),qa}function reject$2(Ra,qa,nd,od){const ld=wrapAsync(nd);return _filter(Ra,qa,(ud,cd)=>{ld(ud,(dd,pd)=>{cd(dd,!pd)})},od)}function reject(Ra,qa,nd){return reject$2(eachOf$1,Ra,qa,nd)}var reject$1=awaitify(reject,3);function rejectLimit(Ra,qa,nd,od){return reject$2(eachOfLimit$2(qa),Ra,nd,od)}var rejectLimit$1=awaitify(rejectLimit,4);function rejectSeries(Ra,qa,nd){return reject$2(eachOfSeries$1,Ra,qa,nd)}var rejectSeries$1=awaitify(rejectSeries,3);function constant(Ra){return function(){return Ra}}const DEFAULT_TIMES=5,DEFAULT_INTERVAL=0;function retry(Ra,qa,nd){var od={times:DEFAULT_TIMES,intervalFunc:constant(DEFAULT_INTERVAL)};if(arguments.length<3&&typeof Ra=="function"?(nd=qa||promiseCallback(),qa=Ra):(parseTimes(od,Ra),nd=nd||promiseCallback()),typeof qa!="function")throw new Error("Invalid arguments for async.retry");var ld=wrapAsync(qa),ud=1;function cd(){ld((dd,...pd)=>{dd!==!1&&(dd&&ud++{(ld.lengthod)(eachOf$1,Ra,qa,nd)}var some$1=awaitify(some,3);function someLimit(Ra,qa,nd,od){return _createTester(Boolean,ld=>ld)(eachOfLimit$2(qa),Ra,nd,od)}var someLimit$1=awaitify(someLimit,4);function someSeries(Ra,qa,nd){return _createTester(Boolean,od=>od)(eachOfSeries$1,Ra,qa,nd)}var someSeries$1=awaitify(someSeries,3);function sortBy(Ra,qa,nd){var od=wrapAsync(qa);return map$1(Ra,(ud,cd)=>{od(ud,(dd,pd)=>{if(dd)return cd(dd);cd(dd,{value:ud,criteria:pd})})},(ud,cd)=>{if(ud)return nd(ud);nd(null,cd.sort(ld).map(dd=>dd.value))});function ld(ud,cd){var dd=ud.criteria,pd=cd.criteria;return ddpd?1:0}}var sortBy$1=awaitify(sortBy,3);function timeout(Ra,qa,nd){var od=wrapAsync(Ra);return initialParams((ld,ud)=>{var cd=!1,dd;function pd(){var fd=Ra.name||"anonymous",md=new Error('Callback function "'+fd+'" timed out.');md.code="ETIMEDOUT",nd&&(md.info=nd),cd=!0,ud(md)}ld.push((...fd)=>{cd||(ud(...fd),clearTimeout(dd))}),dd=setTimeout(pd,qa),od(...ld)})}function range(Ra){for(var qa=Array(Ra);Ra--;)qa[Ra]=Ra;return qa}function timesLimit(Ra,qa,nd,od){var ld=wrapAsync(nd);return mapLimit$1(range(Ra),qa,ld,od)}function times(Ra,qa,nd){return timesLimit(Ra,1/0,qa,nd)}function timesSeries(Ra,qa,nd){return timesLimit(Ra,1,qa,nd)}function transform(Ra,qa,nd,od){arguments.length<=3&&typeof qa=="function"&&(od=nd,nd=qa,qa=Array.isArray(Ra)?[]:{}),od=once(od||promiseCallback());var ld=wrapAsync(nd);return eachOf$1(Ra,(ud,cd,dd)=>{ld(qa,ud,cd,dd)},ud=>od(ud,qa)),od[PROMISE_SYMBOL]}function tryEach(Ra,qa){var nd=null,od;return eachSeries$1(Ra,(ld,ud)=>{wrapAsync(ld)((cd,...dd)=>{if(cd===!1)return ud(cd);dd.length<2?[od]=dd:od=dd,nd=cd,ud(cd?null:{})})},()=>qa(nd,od))}var tryEach$1=awaitify(tryEach);function unmemoize(Ra){return(...qa)=>(Ra.unmemoized||Ra)(...qa)}function whilst(Ra,qa,nd){nd=onlyOnce(nd);var od=wrapAsync(qa),ld=wrapAsync(Ra),ud=[];function cd(pd,...fd){if(pd)return nd(pd);ud=fd,pd!==!1&&ld(dd)}function dd(pd,fd){if(pd)return nd(pd);if(pd!==!1){if(!fd)return nd(null,...ud);od(cd)}}return ld(dd)}var whilst$1=awaitify(whilst,3);function until(Ra,qa,nd){const od=wrapAsync(Ra);return whilst$1(ld=>od((ud,cd)=>ld(ud,!cd)),qa,nd)}function waterfall(Ra,qa){if(qa=once(qa),!Array.isArray(Ra))return qa(new Error("First argument to waterfall must be an array of functions"));if(!Ra.length)return qa();var nd=0;function od(ud){var cd=wrapAsync(Ra[nd++]);cd(...ud,onlyOnce(ld))}function ld(ud,...cd){if(ud!==!1){if(ud||nd===Ra.length)return qa(ud,...cd);od(cd)}}od([])}var waterfall$1=awaitify(waterfall),index={apply,applyEach,applyEachSeries,asyncify,auto,autoInject,cargo:cargo$1,cargoQueue:cargo,compose,concat:concat$1,concatLimit:concatLimit$1,concatSeries:concatSeries$1,constant:constant$1,detect:detect$1,detectLimit:detectLimit$1,detectSeries:detectSeries$1,dir,doUntil,doWhilst:doWhilst$1,each,eachLimit:eachLimit$1,eachOf:eachOf$1,eachOfLimit:eachOfLimit$1,eachOfSeries:eachOfSeries$1,eachSeries:eachSeries$1,ensureAsync,every:every$1,everyLimit:everyLimit$1,everySeries:everySeries$1,filter:filter$1,filterLimit:filterLimit$1,filterSeries:filterSeries$1,forever:forever$1,groupBy,groupByLimit:groupByLimit$1,groupBySeries,log,map:map$1,mapLimit:mapLimit$1,mapSeries:mapSeries$1,mapValues,mapValuesLimit:mapValuesLimit$1,mapValuesSeries,memoize,nextTick,parallel,parallelLimit,priorityQueue,queue,race:race$1,reduce:reduce$1,reduceRight,reflect,reflectAll,reject:reject$1,rejectLimit:rejectLimit$1,rejectSeries:rejectSeries$1,retry,retryable,seq,series,setImmediate:setImmediate$1$1,some:some$1,someLimit:someLimit$1,someSeries:someSeries$1,sortBy:sortBy$1,timeout,times,timesLimit,timesSeries,transform,tryEach:tryEach$1,unmemoize,until,waterfall:waterfall$1,whilst:whilst$1,all:every$1,allLimit:everyLimit$1,allSeries:everySeries$1,any:some$1,anyLimit:someLimit$1,anySeries:someSeries$1,find:detect$1,findLimit:detectLimit$1,findSeries:detectSeries$1,flatMap:concat$1,flatMapLimit:concatLimit$1,flatMapSeries:concatSeries$1,forEach:each,forEachSeries:eachSeries$1,forEachLimit:eachLimit$1,forEachOf:eachOf$1,forEachOfSeries:eachOfSeries$1,forEachOfLimit:eachOfLimit$1,inject:reduce$1,foldl:reduce$1,foldr:reduceRight,select:filter$1,selectLimit:filterLimit$1,selectSeries:filterSeries$1,wrapSync:asyncify,during:whilst$1,doDuring:doWhilst$1},readableBrowser={exports:{}};(function(Ra,qa){qa=Ra.exports=require_stream_readable(),qa.Stream=qa,qa.Readable=qa,qa.Writable=require_stream_writable(),qa.Duplex=require_stream_duplex(),qa.Transform=_stream_transform,qa.PassThrough=_stream_passthrough,qa.finished=endOfStream,qa.pipeline=pipeline_1})(readableBrowser,readableBrowser.exports);var readableBrowserExports=readableBrowser.exports;const{Transform:Transform$1}=readableBrowserExports;class Block extends Transform$1{constructor(qa,nd={}){super(nd),typeof qa=="object"&&(nd=qa,qa=nd.size),this.size=qa||512;const{nopad:od,zeroPadding:ld=!0}=nd;od?this._zeroPadding=!1:this._zeroPadding=!!ld,this._buffered=[],this._bufferedBytes=0}_transform(qa,nd,od){for(this._bufferedBytes+=qa.length,this._buffered.push(qa);this._bufferedBytes>=this.size;){this._bufferedBytes-=this.size;const ld=[];let ud=0;for(;udld.replace(FN_ARG,"").trim())}function autoInject(Ra,qa){var nd={};return Object.keys(Ra).forEach(od=>{var ld=Ra[od],ud,cd=isAsync(ld),dd=!cd&&ld.length===1||cd&&ld.length===0;if(Array.isArray(ld))ud=[...ld],ld=ud.pop(),nd[od]=ud.concat(ud.length>0?pd:ld);else if(dd)nd[od]=ld;else{if(ud=parseParams(ld),ld.length===0&&!cd&&ud.length===0)throw new Error("autoInject task functions require explicit parameters.");cd||ud.pop(),nd[od]=ud.concat(pd)}function pd(fd,md){var vd=ud.map(Ad=>fd[Ad]);vd.push(md),wrapAsync(ld)(...vd)}}),auto(nd,qa)}class DLL{constructor(){this.head=this.tail=null,this.length=0}removeLink(qa){return qa.prev?qa.prev.next=qa.next:this.head=qa.next,qa.next?qa.next.prev=qa.prev:this.tail=qa.prev,qa.prev=qa.next=null,this.length-=1,qa}empty(){for(;this.head;)this.shift();return this}insertAfter(qa,nd){nd.prev=qa,nd.next=qa.next,qa.next?qa.next.prev=nd:this.tail=nd,qa.next=nd,this.length+=1}insertBefore(qa,nd){nd.prev=qa.prev,nd.next=qa,qa.prev?qa.prev.next=nd:this.head=nd,qa.prev=nd,this.length+=1}unshift(qa){this.head?this.insertBefore(this.head,qa):setInitial(this,qa)}push(qa){this.tail?this.insertAfter(this.tail,qa):setInitial(this,qa)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){for(var qa=this.head;qa;)yield qa.data,qa=qa.next}remove(qa){for(var nd=this.head;nd;){var{next:od}=nd;qa(nd)&&this.removeLink(nd),nd=od}return this}}function setInitial(Ra,qa){Ra.length=1,Ra.head=Ra.tail=qa}function queue$1(Ra,qa,nd){if(qa==null)qa=1;else if(qa===0)throw new RangeError("Concurrency must not be zero");var od=wrapAsync(Ra),ld=0,ud=[];const cd={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function dd(Md,Ld){cd[Md].push(Ld)}function pd(Md,Ld){const Hd=(...Gd)=>{fd(Md,Hd),Ld(...Gd)};cd[Md].push(Hd)}function fd(Md,Ld){if(!Md)return Object.keys(cd).forEach(Hd=>cd[Hd]=[]);if(!Ld)return cd[Md]=[];cd[Md]=cd[Md].filter(Hd=>Hd!==Ld)}function md(Md,...Ld){cd[Md].forEach(Hd=>Hd(...Ld))}var vd=!1;function Ad(Md,Ld,Hd,Gd){if(Gd!=null&&typeof Gd!="function")throw new Error("task callback must be a function");Fd.started=!0;var Vd,Kd;function mf(Zd,...Xd){if(Zd)return Hd?Kd(Zd):Vd();if(Xd.length<=1)return Vd(Xd[0]);Vd(Xd)}var Wd=Fd._createTaskItem(Md,Hd?mf:Gd||mf);if(Ld?Fd._tasks.unshift(Wd):Fd._tasks.push(Wd),vd||(vd=!0,setImmediate$1$1(()=>{vd=!1,Fd.process()})),Hd||!Gd)return new Promise((Zd,Xd)=>{Vd=Zd,Kd=Xd})}function Nd(Md){return function(Ld,...Hd){ld-=1;for(var Gd=0,Vd=Md.length;Gd0&&ud.splice(mf,1),Kd.callback(Ld,...Hd),Ld!=null&&md("error",Ld,Kd.data)}ld<=Fd.concurrency-Fd.buffer&&md("unsaturated"),Fd.idle()&&md("drain"),Fd.process()}}function Id(Md){return Md.length===0&&Fd.idle()?(setImmediate$1$1(()=>md("drain")),!0):!1}const kd=Md=>Ld=>{if(!Ld)return new Promise((Hd,Gd)=>{pd(Md,(Vd,Kd)=>{if(Vd)return Gd(Vd);Hd(Kd)})});fd(Md),dd(Md,Ld)};var jd=!1,Fd={_tasks:new DLL,_createTaskItem(Md,Ld){return{data:Md,callback:Ld}},*[Symbol.iterator](){yield*Fd._tasks[Symbol.iterator]()},concurrency:qa,payload:nd,buffer:qa/4,started:!1,paused:!1,push(Md,Ld){return Array.isArray(Md)?Id(Md)?void 0:Md.map(Hd=>Ad(Hd,!1,!1,Ld)):Ad(Md,!1,!1,Ld)},pushAsync(Md,Ld){return Array.isArray(Md)?Id(Md)?void 0:Md.map(Hd=>Ad(Hd,!1,!0,Ld)):Ad(Md,!1,!0,Ld)},kill(){fd(),Fd._tasks.empty()},unshift(Md,Ld){return Array.isArray(Md)?Id(Md)?void 0:Md.map(Hd=>Ad(Hd,!0,!1,Ld)):Ad(Md,!0,!1,Ld)},unshiftAsync(Md,Ld){return Array.isArray(Md)?Id(Md)?void 0:Md.map(Hd=>Ad(Hd,!0,!0,Ld)):Ad(Md,!0,!0,Ld)},remove(Md){Fd._tasks.remove(Md)},process(){if(!jd){for(jd=!0;!Fd.paused&&ld{ld(qa,ud,(pd,fd)=>{qa=fd,dd(pd)})},ud=>od(ud,qa))}var reduce$1=awaitify(reduce,4);function seq(...Ra){var qa=Ra.map(wrapAsync);return function(...nd){var od=this,ld=nd[nd.length-1];return typeof ld=="function"?nd.pop():ld=promiseCallback(),reduce$1(qa,nd,(ud,cd,dd)=>{cd.apply(od,ud.concat((pd,...fd)=>{dd(pd,fd)}))},(ud,cd)=>ld(ud,...cd)),ld[PROMISE_SYMBOL]}}function compose(...Ra){return seq(...Ra.reverse())}function mapLimit(Ra,qa,nd,od){return _asyncMap(eachOfLimit$2(qa),Ra,nd,od)}var mapLimit$1=awaitify(mapLimit,4);function concatLimit(Ra,qa,nd,od){var ld=wrapAsync(nd);return mapLimit$1(Ra,qa,(ud,cd)=>{ld(ud,(dd,...pd)=>dd?cd(dd):cd(dd,pd))},(ud,cd)=>{for(var dd=[],pd=0;pd{var cd=!1,dd;const pd=wrapAsync(ld);nd(od,(fd,md,vd)=>{pd(fd,(Ad,Nd)=>{if(Ad||Ad===!1)return vd(Ad);if(Ra(Nd)&&!dd)return cd=!0,dd=qa(!0,fd),vd(null,breakLoop);vd()})},fd=>{if(fd)return ud(fd);ud(null,cd?dd:qa(!1))})}}function detect(Ra,qa,nd){return _createTester(od=>od,(od,ld)=>ld)(eachOf$1,Ra,qa,nd)}var detect$1=awaitify(detect,3);function detectLimit(Ra,qa,nd,od){return _createTester(ld=>ld,(ld,ud)=>ud)(eachOfLimit$2(qa),Ra,nd,od)}var detectLimit$1=awaitify(detectLimit,4);function detectSeries(Ra,qa,nd){return _createTester(od=>od,(od,ld)=>ld)(eachOfLimit$2(1),Ra,qa,nd)}var detectSeries$1=awaitify(detectSeries,3);function consoleFunc(Ra){return(qa,...nd)=>wrapAsync(qa)(...nd,(od,...ld)=>{typeof console=="object"&&(od?console.error&&console.error(od):console[Ra]&&ld.forEach(ud=>console[Ra](ud)))})}var dir=consoleFunc("dir");function doWhilst(Ra,qa,nd){nd=onlyOnce(nd);var od=wrapAsync(Ra),ld=wrapAsync(qa),ud;function cd(pd,...fd){if(pd)return nd(pd);pd!==!1&&(ud=fd,ld(...fd,dd))}function dd(pd,fd){if(pd)return nd(pd);if(pd!==!1){if(!fd)return nd(null,...ud);od(cd)}}return dd(null,!0)}var doWhilst$1=awaitify(doWhilst,3);function doUntil(Ra,qa,nd){const od=wrapAsync(qa);return doWhilst$1(Ra,(...ld)=>{const ud=ld.pop();od(...ld,(cd,dd)=>ud(cd,!dd))},nd)}function _withoutIndex(Ra){return(qa,nd,od)=>Ra(qa,od)}function eachLimit$2(Ra,qa,nd){return eachOf$1(Ra,_withoutIndex(wrapAsync(qa)),nd)}var each=awaitify(eachLimit$2,3);function eachLimit(Ra,qa,nd,od){return eachOfLimit$2(qa)(Ra,_withoutIndex(wrapAsync(nd)),od)}var eachLimit$1=awaitify(eachLimit,4);function eachSeries(Ra,qa,nd){return eachLimit$1(Ra,1,qa,nd)}var eachSeries$1=awaitify(eachSeries,3);function ensureAsync(Ra){return isAsync(Ra)?Ra:function(...qa){var nd=qa.pop(),od=!0;qa.push((...ld)=>{od?setImmediate$1$1(()=>nd(...ld)):nd(...ld)}),Ra.apply(this,qa),od=!1}}function every(Ra,qa,nd){return _createTester(od=>!od,od=>!od)(eachOf$1,Ra,qa,nd)}var every$1=awaitify(every,3);function everyLimit(Ra,qa,nd,od){return _createTester(ld=>!ld,ld=>!ld)(eachOfLimit$2(qa),Ra,nd,od)}var everyLimit$1=awaitify(everyLimit,4);function everySeries(Ra,qa,nd){return _createTester(od=>!od,od=>!od)(eachOfSeries$1,Ra,qa,nd)}var everySeries$1=awaitify(everySeries,3);function filterArray(Ra,qa,nd,od){var ld=new Array(qa.length);Ra(qa,(ud,cd,dd)=>{nd(ud,(pd,fd)=>{ld[cd]=!!fd,dd(pd)})},ud=>{if(ud)return od(ud);for(var cd=[],dd=0;dd{nd(ud,(pd,fd)=>{if(pd)return dd(pd);fd&&ld.push({index:cd,value:ud}),dd(pd)})},ud=>{if(ud)return od(ud);od(null,ld.sort((cd,dd)=>cd.index-dd.index).map(cd=>cd.value))})}function _filter(Ra,qa,nd,od){var ld=isArrayLike(qa)?filterArray:filterGeneric;return ld(Ra,qa,wrapAsync(nd),od)}function filter(Ra,qa,nd){return _filter(eachOf$1,Ra,qa,nd)}var filter$1=awaitify(filter,3);function filterLimit(Ra,qa,nd,od){return _filter(eachOfLimit$2(qa),Ra,nd,od)}var filterLimit$1=awaitify(filterLimit,4);function filterSeries(Ra,qa,nd){return _filter(eachOfSeries$1,Ra,qa,nd)}var filterSeries$1=awaitify(filterSeries,3);function forever(Ra,qa){var nd=onlyOnce(qa),od=wrapAsync(ensureAsync(Ra));function ld(ud){if(ud)return nd(ud);ud!==!1&&od(ld)}return ld()}var forever$1=awaitify(forever,2);function groupByLimit(Ra,qa,nd,od){var ld=wrapAsync(nd);return mapLimit$1(Ra,qa,(ud,cd)=>{ld(ud,(dd,pd)=>dd?cd(dd):cd(dd,{key:pd,val:ud}))},(ud,cd)=>{for(var dd={},{hasOwnProperty:pd}=Object.prototype,fd=0;fd{ud(cd,dd,(fd,md)=>{if(fd)return pd(fd);ld[dd]=md,pd(fd)})},cd=>od(cd,ld))}var mapValuesLimit$1=awaitify(mapValuesLimit,4);function mapValues(Ra,qa,nd){return mapValuesLimit$1(Ra,1/0,qa,nd)}function mapValuesSeries(Ra,qa,nd){return mapValuesLimit$1(Ra,1,qa,nd)}function memoize(Ra,qa=nd=>nd){var nd=Object.create(null),od=Object.create(null),ld=wrapAsync(Ra),ud=initialParams((cd,dd)=>{var pd=qa(...cd);pd in nd?setImmediate$1$1(()=>dd(null,...nd[pd])):pd in od?od[pd].push(dd):(od[pd]=[dd],ld(...cd,(fd,...md)=>{fd||(nd[pd]=md);var vd=od[pd];delete od[pd];for(var Ad=0,Nd=vd.length;Ad{var od=isArrayLike(qa)?[]:{};Ra(qa,(ld,ud,cd)=>{wrapAsync(ld)((dd,...pd)=>{pd.length<2&&([pd]=pd),od[ud]=pd,cd(dd)})},ld=>nd(ld,od))},3);function parallel(Ra,qa){return _parallel(eachOf$1,Ra,qa)}function parallelLimit(Ra,qa,nd){return _parallel(eachOfLimit$2(qa),Ra,nd)}function queue(Ra,qa){var nd=wrapAsync(Ra);return queue$1((od,ld)=>{nd(od[0],ld)},qa,1)}class Heap{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(qa){let nd;for(;qa>0&&smaller(this.heap[qa],this.heap[nd=parent(qa)]);){let od=this.heap[qa];this.heap[qa]=this.heap[nd],this.heap[nd]=od,qa=nd}}percDown(qa){let nd;for(;(nd=leftChi(qa))=0;od--)this.percDown(od);return this}}function leftChi(Ra){return(Ra<<1)+1}function parent(Ra){return(Ra+1>>1)-1}function smaller(Ra,qa){return Ra.priority!==qa.priority?Ra.priority({data:cd,priority:dd,callback:pd});function ud(cd,dd){return Array.isArray(cd)?cd.map(pd=>({data:pd,priority:dd})):{data:cd,priority:dd}}return nd.push=function(cd,dd=0,pd){return od(ud(cd,dd),pd)},nd.pushAsync=function(cd,dd=0,pd){return ld(ud(cd,dd),pd)},delete nd.unshift,delete nd.unshiftAsync,nd}function race(Ra,qa){if(qa=once(qa),!Array.isArray(Ra))return qa(new TypeError("First argument to race must be an array of functions"));if(!Ra.length)return qa();for(var nd=0,od=Ra.length;nd{let dd={};if(ud&&(dd.error=ud),cd.length>0){var pd=cd;cd.length<=1&&([pd]=cd),dd.value=pd}ld(null,dd)}),qa.apply(this,od)})}function reflectAll(Ra){var qa;return Array.isArray(Ra)?qa=Ra.map(reflect):(qa={},Object.keys(Ra).forEach(nd=>{qa[nd]=reflect.call(this,Ra[nd])})),qa}function reject$2(Ra,qa,nd,od){const ld=wrapAsync(nd);return _filter(Ra,qa,(ud,cd)=>{ld(ud,(dd,pd)=>{cd(dd,!pd)})},od)}function reject(Ra,qa,nd){return reject$2(eachOf$1,Ra,qa,nd)}var reject$1=awaitify(reject,3);function rejectLimit(Ra,qa,nd,od){return reject$2(eachOfLimit$2(qa),Ra,nd,od)}var rejectLimit$1=awaitify(rejectLimit,4);function rejectSeries(Ra,qa,nd){return reject$2(eachOfSeries$1,Ra,qa,nd)}var rejectSeries$1=awaitify(rejectSeries,3);function constant(Ra){return function(){return Ra}}const DEFAULT_TIMES=5,DEFAULT_INTERVAL=0;function retry(Ra,qa,nd){var od={times:DEFAULT_TIMES,intervalFunc:constant(DEFAULT_INTERVAL)};if(arguments.length<3&&typeof Ra=="function"?(nd=qa||promiseCallback(),qa=Ra):(parseTimes(od,Ra),nd=nd||promiseCallback()),typeof qa!="function")throw new Error("Invalid arguments for async.retry");var ld=wrapAsync(qa),ud=1;function cd(){ld((dd,...pd)=>{dd!==!1&&(dd&&ud++{(ld.lengthod)(eachOf$1,Ra,qa,nd)}var some$1=awaitify(some,3);function someLimit(Ra,qa,nd,od){return _createTester(Boolean,ld=>ld)(eachOfLimit$2(qa),Ra,nd,od)}var someLimit$1=awaitify(someLimit,4);function someSeries(Ra,qa,nd){return _createTester(Boolean,od=>od)(eachOfSeries$1,Ra,qa,nd)}var someSeries$1=awaitify(someSeries,3);function sortBy(Ra,qa,nd){var od=wrapAsync(qa);return map$1(Ra,(ud,cd)=>{od(ud,(dd,pd)=>{if(dd)return cd(dd);cd(dd,{value:ud,criteria:pd})})},(ud,cd)=>{if(ud)return nd(ud);nd(null,cd.sort(ld).map(dd=>dd.value))});function ld(ud,cd){var dd=ud.criteria,pd=cd.criteria;return ddpd?1:0}}var sortBy$1=awaitify(sortBy,3);function timeout(Ra,qa,nd){var od=wrapAsync(Ra);return initialParams((ld,ud)=>{var cd=!1,dd;function pd(){var fd=Ra.name||"anonymous",md=new Error('Callback function "'+fd+'" timed out.');md.code="ETIMEDOUT",nd&&(md.info=nd),cd=!0,ud(md)}ld.push((...fd)=>{cd||(ud(...fd),clearTimeout(dd))}),dd=setTimeout(pd,qa),od(...ld)})}function range(Ra){for(var qa=Array(Ra);Ra--;)qa[Ra]=Ra;return qa}function timesLimit(Ra,qa,nd,od){var ld=wrapAsync(nd);return mapLimit$1(range(Ra),qa,ld,od)}function times(Ra,qa,nd){return timesLimit(Ra,1/0,qa,nd)}function timesSeries(Ra,qa,nd){return timesLimit(Ra,1,qa,nd)}function transform(Ra,qa,nd,od){arguments.length<=3&&typeof qa=="function"&&(od=nd,nd=qa,qa=Array.isArray(Ra)?[]:{}),od=once(od||promiseCallback());var ld=wrapAsync(nd);return eachOf$1(Ra,(ud,cd,dd)=>{ld(qa,ud,cd,dd)},ud=>od(ud,qa)),od[PROMISE_SYMBOL]}function tryEach(Ra,qa){var nd=null,od;return eachSeries$1(Ra,(ld,ud)=>{wrapAsync(ld)((cd,...dd)=>{if(cd===!1)return ud(cd);dd.length<2?[od]=dd:od=dd,nd=cd,ud(cd?null:{})})},()=>qa(nd,od))}var tryEach$1=awaitify(tryEach);function unmemoize(Ra){return(...qa)=>(Ra.unmemoized||Ra)(...qa)}function whilst(Ra,qa,nd){nd=onlyOnce(nd);var od=wrapAsync(qa),ld=wrapAsync(Ra),ud=[];function cd(pd,...fd){if(pd)return nd(pd);ud=fd,pd!==!1&&ld(dd)}function dd(pd,fd){if(pd)return nd(pd);if(pd!==!1){if(!fd)return nd(null,...ud);od(cd)}}return ld(dd)}var whilst$1=awaitify(whilst,3);function until(Ra,qa,nd){const od=wrapAsync(Ra);return whilst$1(ld=>od((ud,cd)=>ld(ud,!cd)),qa,nd)}function waterfall(Ra,qa){if(qa=once(qa),!Array.isArray(Ra))return qa(new Error("First argument to waterfall must be an array of functions"));if(!Ra.length)return qa();var nd=0;function od(ud){var cd=wrapAsync(Ra[nd++]);cd(...ud,onlyOnce(ld))}function ld(ud,...cd){if(ud!==!1){if(ud||nd===Ra.length)return qa(ud,...cd);od(cd)}}od([])}var waterfall$1=awaitify(waterfall),index={apply,applyEach,applyEachSeries,asyncify,auto,autoInject,cargo:cargo$1,cargoQueue:cargo,compose,concat:concat$1,concatLimit:concatLimit$1,concatSeries:concatSeries$1,constant:constant$1,detect:detect$1,detectLimit:detectLimit$1,detectSeries:detectSeries$1,dir,doUntil,doWhilst:doWhilst$1,each,eachLimit:eachLimit$1,eachOf:eachOf$1,eachOfLimit:eachOfLimit$1,eachOfSeries:eachOfSeries$1,eachSeries:eachSeries$1,ensureAsync,every:every$1,everyLimit:everyLimit$1,everySeries:everySeries$1,filter:filter$1,filterLimit:filterLimit$1,filterSeries:filterSeries$1,forever:forever$1,groupBy,groupByLimit:groupByLimit$1,groupBySeries,log,map:map$1,mapLimit:mapLimit$1,mapSeries:mapSeries$1,mapValues,mapValuesLimit:mapValuesLimit$1,mapValuesSeries,memoize,nextTick,parallel,parallelLimit,priorityQueue,queue,race:race$1,reduce:reduce$1,reduceRight,reflect,reflectAll,reject:reject$1,rejectLimit:rejectLimit$1,rejectSeries:rejectSeries$1,retry,retryable,seq,series,setImmediate:setImmediate$1$1,some:some$1,someLimit:someLimit$1,someSeries:someSeries$1,sortBy:sortBy$1,timeout,times,timesLimit,timesSeries,transform,tryEach:tryEach$1,unmemoize,until,waterfall:waterfall$1,whilst:whilst$1,all:every$1,allLimit:everyLimit$1,allSeries:everySeries$1,any:some$1,anyLimit:someLimit$1,anySeries:someSeries$1,find:detect$1,findLimit:detectLimit$1,findSeries:detectSeries$1,flatMap:concat$1,flatMapLimit:concatLimit$1,flatMapSeries:concatSeries$1,forEach:each,forEachSeries:eachSeries$1,forEachLimit:eachLimit$1,forEachOf:eachOf$1,forEachOfSeries:eachOfSeries$1,forEachOfLimit:eachOfLimit$1,inject:reduce$1,foldl:reduce$1,foldr:reduceRight,select:filter$1,selectLimit:filterLimit$1,selectSeries:filterSeries$1,wrapSync:asyncify,during:whilst$1,doDuring:doWhilst$1},readableBrowser={exports:{}};(function(Ra,qa){qa=Ra.exports=require_stream_readable(),qa.Stream=qa,qa.Readable=qa,qa.Writable=require_stream_writable(),qa.Duplex=require_stream_duplex(),qa.Transform=_stream_transform,qa.PassThrough=_stream_passthrough,qa.finished=endOfStream,qa.pipeline=pipeline_1})(readableBrowser,readableBrowser.exports);var readableBrowserExports=readableBrowser.exports;const{Transform:Transform$1}=readableBrowserExports;class Block extends Transform$1{constructor(qa,nd={}){super(nd),typeof qa=="object"&&(nd=qa,qa=nd.size),this.size=qa||512;const{nopad:od,zeroPadding:ld=!0}=nd;od?this._zeroPadding=!1:this._zeroPadding=!!ld,this._buffered=[],this._bufferedBytes=0}_transform(qa,nd,od){for(this._bufferedBytes+=qa.length,this._buffered.push(qa);this._bufferedBytes>=this.size;){this._bufferedBytes-=this.size;const ld=[];let ud=0;for(;ud * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */lodash.exports;(function(Ra,qa){(function(){var nd,od="4.17.21",ld=200,ud="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",cd="Expected a function",dd="Invalid `variable` option passed into `_.template`",pd="__lodash_hash_undefined__",fd=500,md="__lodash_placeholder__",vd=1,Ad=2,Nd=4,Id=1,kd=2,jd=1,Fd=2,Md=4,Ld=8,Hd=16,Gd=32,Vd=64,Qd=128,mf=256,Yd=512,Zd=30,Kd="...",bf=800,gf=16,Ef=1,yf=2,xf=3,Af=1/0,Lf=9007199254740991,Xf=17976931348623157e292,ih=NaN,Zf=4294967295,jf=Zf-1,If=Zf>>>1,Uf=[["ary",Qd],["bind",jd],["bindKey",Fd],["curry",Ld],["curryRight",Hd],["flip",Yd],["partial",Gd],["partialRight",Vd],["rearg",mf]],qf="[object Arguments]",Kf="[object Array]",Tf="[object AsyncFunction]",vf="[object Boolean]",Gf="[object Date]",Jf="[object DOMException]",gh="[object Error]",th="[object Function]",Pf="[object GeneratorFunction]",uh="[object Map]",xh="[object Number]",Qf="[object Null]",Nf="[object Object]",$f="[object Promise]",Wf="[object Proxy]",vh="[object RegExp]",Th="[object Set]",dh="[object String]",Vh="[object Symbol]",wh="[object Undefined]",fm="[object WeakMap]",Nm="[object WeakSet]",cm="[object ArrayBuffer]",Sm="[object DataView]",$m="[object Float32Array]",ph="[object Float64Array]",Rf="[object Int8Array]",wf="[object Int16Array]",ch="[object Int32Array]",yh="[object Uint8Array]",Uh="[object Uint8ClampedArray]",Zh="[object Uint16Array]",_m="[object Uint32Array]",Um=/\b__p \+= '';/g,Om=/\b(__p \+=) '' \+/g,r_=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Xm=/&(?:amp|lt|gt|quot|#39);/g,s_=/[&<>"']/g,b_=RegExp(Xm.source),H_=RegExp(s_.source),x_=/<%-([\s\S]+?)%>/g,M_=/<%([\s\S]+?)%>/g,h_=/<%=([\s\S]+?)%>/g,tg=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L_=/^\w*$/,dg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yg=/[\\^$.*+?()[\]{}|]/g,q_=RegExp(yg.source),Y_=/^\s+/,Qm=/\s/,Zg=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,db=/\{\n\/\* \[wrapped with (.+)\] \*/,$g=/,? & /,Of=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ch=/[()=,{}\[\]\/\s]/,mh=/\\(\\)?/g,Sh=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Wh=/\w*$/,Fh=/^[-+]0x[0-9a-f]+$/i,om=/^0b[01]+$/i,im=/^\[object .+?Constructor\]$/,Rh=/^0o[0-7]+$/i,Im=/^(?:0|[1-9]\d*)$/,Pm=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,i_=/($^)/,Hm=/['\n\r\u2028\u2029\\]/g,o_="\\ud800-\\udfff",j_="\\u0300-\\u036f",B_="\\ufe20-\\ufe2f",C_="\\u20d0-\\u20ff",Km=j_+B_+C_,ig="\\u2700-\\u27bf",N_="a-z\\xdf-\\xf6\\xf8-\\xff",y_="\\xac\\xb1\\xd7\\xf7",fh="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Bh="\\u2000-\\u206f",Mm=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",zm="A-Z\\xc0-\\xd6\\xd8-\\xde",Tm="\\ufe0e\\ufe0f",e_=y_+fh+Bh+Mm,O_="['’]",og="["+o_+"]",Cg="["+e_+"]",rb="["+Km+"]",Eb="\\d+",E_="["+ig+"]",nb="["+N_+"]",lg="[^"+o_+e_+Eb+ig+N_+zm+"]",jg="\\ud83c[\\udffb-\\udfff]",wg="(?:"+rb+"|"+jg+")",Tb="[^"+o_+"]",Jb="(?:\\ud83c[\\udde6-\\uddff]){2}",Ug="[\\ud800-\\udbff][\\udc00-\\udfff]",Sb="["+zm+"]",V0="\\u200d",x0="(?:"+nb+"|"+lg+")",__="(?:"+Sb+"|"+lg+")",C0="(?:"+O_+"(?:d|ll|m|re|s|t|ve))?",d0="(?:"+O_+"(?:D|LL|M|RE|S|T|VE))?",z0=wg+"?",Hy="["+Tm+"]?",Wy="(?:"+V0+"(?:"+[Tb,Jb,Ug].join("|")+")"+Hy+z0+")*",p0="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ig="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",pb=Hy+z0+Wy,$b="(?:"+[E_,Jb,Ug].join("|")+")"+pb,f0="(?:"+[Tb+rb+"?",rb,Jb,Ug,og].join("|")+")",A0=RegExp(O_,"g"),bE=RegExp(rb,"g"),Lv=RegExp(jg+"(?="+jg+")|"+f0+pb,"g"),yE=RegExp([Sb+"?"+nb+"+"+C0+"(?="+[Cg,Sb,"$"].join("|")+")",__+"+"+d0+"(?="+[Cg,Sb+x0,"$"].join("|")+")",Sb+"?"+x0+"+"+C0,Sb+"+"+d0,Ig,p0,Eb,$b].join("|"),"g"),hT=RegExp("["+V0+o_+Km+Tm+"]"),Fv=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,vE=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],TE=-1,Jm={};Jm[$m]=Jm[ph]=Jm[Rf]=Jm[wf]=Jm[ch]=Jm[yh]=Jm[Uh]=Jm[Zh]=Jm[_m]=!0,Jm[qf]=Jm[Kf]=Jm[cm]=Jm[vf]=Jm[Sm]=Jm[Gf]=Jm[gh]=Jm[th]=Jm[uh]=Jm[xh]=Jm[Nf]=Jm[vh]=Jm[Th]=Jm[dh]=Jm[fm]=!1;var rg={};rg[qf]=rg[Kf]=rg[cm]=rg[Sm]=rg[vf]=rg[Gf]=rg[$m]=rg[ph]=rg[Rf]=rg[wf]=rg[ch]=rg[uh]=rg[xh]=rg[Nf]=rg[vh]=rg[Th]=rg[dh]=rg[Vh]=rg[yh]=rg[Uh]=rg[Zh]=rg[_m]=!0,rg[gh]=rg[th]=rg[fm]=!1;var W0={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Qy={"&":"&","<":"<",">":">",'"':""","'":"'"},jv={"&":"&","<":"<",">":">",""":'"',"'":"'"},SE={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},xE=parseFloat,Y0=parseInt,CE=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,Uv=typeof self=="object"&&self&&self.Object===Object&&self,Z_=CE||Uv||Function("return this")(),Hv=qa&&!qa.nodeType&&qa,h0=Hv&&!0&&Ra&&!Ra.nodeType&&Ra,_g=h0&&h0.exports===Hv,xb=_g&&CE.process,Ag=function(){try{var mm=h0&&h0.require&&h0.require("util").types;return mm||xb&&xb.binding&&xb.binding("util")}catch{}}(),K0=Ag&&Ag.isArrayBuffer,Cb=Ag&&Ag.isDate,D0=Ag&&Ag.isMap,Jy=Ag&&Ag.isRegExp,Pb=Ag&&Ag.isSet,AE=Ag&&Ag.isTypedArray;function lb(mm,Lm,Dm){switch(Dm.length){case 0:return mm.call(Lm);case 1:return mm.call(Lm,Dm[0]);case 2:return mm.call(Lm,Dm[0],Dm[1]);case 3:return mm.call(Lm,Dm[0],Dm[1],Dm[2])}return mm.apply(Lm,Dm)}function Gv(mm,Lm,Dm,f_){for(var I_=-1,V_=mm==null?0:mm.length;++I_-1}function ev(mm,Lm,Dm){for(var f_=-1,I_=mm==null?0:mm.length;++f_-1;);return Dm}function Hg(mm,Lm){for(var Dm=mm.length;Dm--&&Wd(Lm,mm[Dm],0)>-1;);return Dm}function Q0(mm,Lm){for(var Dm=mm.length,f_=0;Dm--;)mm[Dm]===Lm&&++f_;return f_}var tv=kh(W0),e0=kh(Qy);function J0(mm){return"\\"+SE[mm]}function _T(mm,Lm){return mm==null?nd:mm[Lm]}function rv(mm){return hT.test(mm)}function eS(mm){return Fv.test(mm)}function n1(mm){for(var Lm,Dm=[];!(Lm=mm.next()).done;)Dm.push(Lm.value);return Dm}function IE(mm){var Lm=-1,Dm=Array(mm.size);return mm.forEach(function(f_,I_){Dm[++Lm]=[I_,f_]}),Dm}function OE(mm,Lm){return function(Dm){return mm(Lm(Dm))}}function mb(mm,Lm){for(var Dm=-1,f_=mm.length,I_=0,V_=[];++Dm-1}function fS(qd,df){var Sf=this.__data__,zf=uv(Sf,qd);return zf<0?(++this.size,Sf.push([qd,df])):Sf[zf][1]=df,this}Gb.prototype.clear=h1,Gb.prototype.delete=DT,Gb.prototype.get=NT,Gb.prototype.has=pS,Gb.prototype.set=fS;function qb(qd){var df=-1,Sf=qd==null?0:qd.length;for(this.clear();++df=df?qd:df)),qd}function gb(qd,df,Sf,zf,_h,Oh){var um,dm=df&vd,gm=df&Ad,Gm=df&Nd;if(Sf&&(um=_h?Sf(qd,zf,_h,Oh):Sf(qd)),um!==nd)return um;if(!Mg(qd))return qd;var Vm=k_(qd);if(Vm){if(um=R1(qd),!dm)return hb(qd,um)}else{var Wm=zg(qd),c_=Wm==th||Wm==Pf;if(Mv(qd))return HT(qd,dm);if(Wm==Nf||Wm==qf||c_&&!_h){if(um=gm||c_?{}:YS(qd),!dm)return gm?D1(qd,gS(um,qd)):BS(qd,OT(um,qd))}else{if(!rg[Wm])return _h?qd:{};um=nT(qd,Wm,dm)}}Oh||(Oh=new Tg);var v_=Oh.get(qd);if(v_)return v_;Oh.set(qd,um),mx(qd)?qd.forEach(function(D_){um.add(gb(D_,df,Sf,D_,qd,Oh))}):fx(qd)&&qd.forEach(function(D_,G_){um.set(G_,gb(D_,df,Sf,G_,qd,Oh))});var A_=Gm?gm?rT:tT:gm?kb:ob,F_=Vm?nd:A_(qd);return fb(F_||qd,function(D_,G_){F_&&(G_=D_,D_=qd[G_]),lv(um,G_,gb(D_,df,Sf,G_,qd,Oh))}),um}function b1(qd){var df=ob(qd);return function(Sf){return RT(Sf,qd,df)}}function RT(qd,df,Sf){var zf=Sf.length;if(qd==null)return!zf;for(qd=ag(qd);zf--;){var _h=Sf[zf],Oh=df[_h],um=qd[_h];if(um===nd&&!(_h in qd)||!Oh(um))return!1}return!0}function bS(qd,df,Sf){if(typeof qd!="function")throw new Db(cd);return g_(function(){qd.apply(nd,Sf)},df)}function Zv(qd,df,Sf,zf){var _h=-1,Oh=Zy,um=!0,dm=qd.length,gm=[],Gm=df.length;if(!dm)return gm;Sf&&(df=ug(df,w_(Sf))),zf?(Oh=ev,um=!1):df.length>=ld&&(Oh=U_,um=!1,df=new R0(df));e:for(;++_h_h?0:_h+Sf),zf=zf===nd||zf>_h?_h:P_(zf),zf<0&&(zf+=_h),zf=Sf>zf?0:gx(zf);Sf0&&Sf(dm)?df>1?qg(dm,df-1,Sf,zf,_h):Lb(_h,dm):zf||(_h[_h.length]=dm)}return _h}var dv=FS(),MT=FS(!0);function wb(qd,df){return qd&&dv(qd,df,ob)}function GE(qd,df){return qd&&MT(qd,df,ob)}function qE(qd,df){return Zb(df,function(Sf){return $y(qd[Sf])})}function P0(qd,df){df=F0(df,qd);for(var Sf=0,zf=df.length;qd!=null&&Sfdf}function vS(qd,df){return qd!=null&&J_.call(qd,df)}function ES(qd,df){return qd!=null&&df in ag(qd)}function pv(qd,df,Sf){return qd>=Lg(df,Sf)&&qd=120&&Vm.length>=120)?new R0(um&&Vm):nd}Vm=qd[0];var Wm=-1,c_=dm[0];e:for(;++Wm<_h&&Gm.length-1;)dm!==qd&&ny.call(dm,gm,1),ny.call(qd,gm,1);return qd}function ib(qd,df){for(var Sf=qd?df.length:0,zf=Sf-1;Sf--;){var _h=df[Sf];if(Sf==zf||_h!==Oh){var Oh=_h;Jd(_h)?ny.call(qd,_h,1):WE(qd,_h)}}return qd}function zE(qd,df){return qd+ay(CT()*(df-qd+1))}function E1(qd,df,Sf,zf){for(var _h=-1,Oh=bg(Wv((df-qd)/(Sf||1)),0),um=Dm(Oh);Oh--;)um[zf?Oh:++_h]=qd,qd+=Sf;return um}function jT(qd,df){var Sf="";if(!qd||df<1||df>Lf)return Sf;do df%2&&(Sf+=qd),df=ay(df/2),df&&(qd+=qd);while(df);return Sf}function $_(qd,df){return m_(Ym(qd,df,Mb),qd+"")}function kS(qd){return wT(aT(qd))}function MS(qd,df){var Sf=aT(qd);return Ng(Sf,v0(df,0,Sf.length))}function yv(qd,df,Sf,zf){if(!Mg(qd))return qd;df=F0(df,qd);for(var _h=-1,Oh=df.length,um=Oh-1,dm=qd;dm!=null&&++_h_h?0:_h+df),Sf=Sf>_h?_h:Sf,Sf<0&&(Sf+=_h),_h=df>Sf?0:Sf-df>>>0,df>>>=0;for(var Oh=Dm(_h);++zf<_h;)Oh[zf]=qd[zf+df];return Oh}function rE(qd,df){var Sf;return zb(qd,function(zf,_h,Oh){return Sf=df(zf,_h,Oh),!Sf}),!!Sf}function Iy(qd,df,Sf){var zf=0,_h=qd==null?zf:qd.length;if(typeof df=="number"&&df===df&&_h<=If){for(;zf<_h;){var Oh=zf+_h>>>1,um=qd[Oh];um!==null&&!Kb(um)&&(Sf?um<=df:um=ld){var Gm=df?null:w1(qd);if(Gm)return _b(Gm);um=!1,_h=U_,gm=new R0}else gm=df?[]:dm;e:for(;++zf=zf?qd:Vg(qd,df,Sf)}var LS=ET||function(qd){return Z_.clearTimeout(qd)};function HT(qd,df){if(df)return qd.slice();var Sf=qd.length,zf=yT?yT(Sf):new qd.constructor(Sf);return qd.copy(zf),zf}function vv(qd){var df=new qd.constructor(qd.byteLength);return new ME(df).set(new ME(qd)),df}function x1(qd,df){var Sf=df?vv(qd.buffer):qd.buffer;return new qd.constructor(Sf,qd.byteOffset,qd.byteLength)}function C1(qd){var df=new qd.constructor(qd.source,Wh.exec(qd));return df.lastIndex=qd.lastIndex,df}function lE(qd){return Xv?ag(Xv.call(qd)):{}}function GT(qd,df){var Sf=df?vv(qd.buffer):qd.buffer;return new qd.constructor(Sf,qd.byteOffset,qd.length)}function qT(qd,df){if(qd!==df){var Sf=qd!==nd,zf=qd===null,_h=qd===qd,Oh=Kb(qd),um=df!==nd,dm=df===null,gm=df===df,Gm=Kb(df);if(!dm&&!Gm&&!Oh&&qd>df||Oh&&um&&gm&&!dm&&!Gm||zf&&um&&gm||!Sf&&gm||!_h)return 1;if(!zf&&!Oh&&!Gm&&qd=dm)return gm;var Gm=Sf[zf];return gm*(Gm=="desc"?-1:1)}}return qd.index-df.index}function KE(qd,df,Sf,zf){for(var _h=-1,Oh=qd.length,um=Sf.length,dm=-1,gm=df.length,Gm=bg(Oh-um,0),Vm=Dm(gm+Gm),Wm=!zf;++dm1?Sf[_h-1]:nd,um=_h>2?Sf[2]:nd;for(Oh=qd.length>3&&typeof Oh=="function"?(_h--,Oh):nd,um&&Xd(Sf[0],Sf[1],um)&&(Oh=_h<3?nd:Oh,_h=1),df=ag(df);++zf<_h;){var dm=Sf[zf];dm&&qd(df,dm,zf,Oh)}return df})}function Cv(qd,df){return function(Sf,zf){if(Sf==null)return Sf;if(!Rb(Sf))return qd(Sf,zf);for(var _h=Sf.length,Oh=df?_h:-1,um=ag(Sf);(df?Oh--:++Oh<_h)&&zf(um[Oh],Oh,um)!==!1;);return Sf}}function FS(qd){return function(df,Sf,zf){for(var _h=-1,Oh=ag(df),um=zf(df),dm=um.length;dm--;){var gm=um[qd?dm:++_h];if(Sf(Oh[gm],gm,Oh)===!1)break}return df}}function jS(qd,df,Sf){var zf=df&jd,_h=uE(qd);function Oh(){var um=this&&this!==Z_&&this instanceof Oh?_h:qd;return um.apply(zf?Sf:this,arguments)}return Oh}function US(qd){return function(df){df=sg(df);var Sf=rv(df)?Bb(df):nd,zf=Sf?Sf[0]:df.charAt(0),_h=Sf?E0(Sf,1).join(""):df.slice(1);return zf[qd]()+_h}}function Av(qd){return function(df){return qv(Ax(Cx(df).replace(A0,"")),qd,"")}}function uE(qd){return function(){var df=arguments;switch(df.length){case 0:return new qd;case 1:return new qd(df[0]);case 2:return new qd(df[0],df[1]);case 3:return new qd(df[0],df[1],df[2]);case 4:return new qd(df[0],df[1],df[2],df[3]);case 5:return new qd(df[0],df[1],df[2],df[3],df[4]);case 6:return new qd(df[0],df[1],df[2],df[3],df[4],df[5]);case 7:return new qd(df[0],df[1],df[2],df[3],df[4],df[5],df[6])}var Sf=ov(qd.prototype),zf=qd.apply(Sf,df);return Mg(zf)?zf:Sf}}function N1(qd,df,Sf){var zf=uE(qd);function _h(){for(var Oh=arguments.length,um=Dm(Oh),dm=Oh,gm=wv(_h);dm--;)um[dm]=arguments[dm];var Gm=Oh<3&&um[0]!==gm&&um[Oh-1]!==gm?[]:mb(um,gm);if(Oh-=Gm.length,Oh-1?_h[Oh?df[um]:um]:nd}}function HS(qd){return s0(function(df){var Sf=df.length,zf=Sf,_h=eg.prototype.thru;for(qd&&df.reverse();zf--;){var Oh=df[zf];if(typeof Oh!="function")throw new Db(cd);if(_h&&!um&&hE(Oh)=="wrapper")var um=new eg([],!0)}for(zf=um?zf:Sf;++zf1&&W_.reverse(),Vm&&gmdm))return!1;var Gm=Oh.get(qd),Vm=Oh.get(df);if(Gm&&Vm)return Gm==df&&Vm==qd;var Wm=-1,c_=!0,v_=Sf&kd?new R0:nd;for(Oh.set(qd,df),Oh.set(df,qd);++Wm1?"& ":"")+df[zf],df=df.join(Sf>2?", ":" "),qd.replace(Zg,`{ + */lodash.exports;(function(Ra,qa){(function(){var nd,od="4.17.21",ld=200,ud="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",cd="Expected a function",dd="Invalid `variable` option passed into `_.template`",pd="__lodash_hash_undefined__",fd=500,md="__lodash_placeholder__",vd=1,Ad=2,Nd=4,Id=1,kd=2,jd=1,Fd=2,Md=4,Ld=8,Hd=16,Gd=32,Vd=64,Kd=128,mf=256,Wd=512,Zd=30,Xd="...",bf=800,yf=16,Ef=1,gf=2,xf=3,Af=1/0,Lf=9007199254740991,Xf=17976931348623157e292,Jf=NaN,Zf=4294967295,Bf=Zf-1,Df=Zf>>>1,Uf=[["ary",Kd],["bind",jd],["bindKey",Fd],["curry",Ld],["curryRight",Hd],["flip",Wd],["partial",Gd],["partialRight",Vd],["rearg",mf]],Gf="[object Arguments]",zf="[object Array]",Tf="[object AsyncFunction]",vf="[object Boolean]",qf="[object Date]",eh="[object DOMException]",ch="[object Error]",ih="[object Function]",Pf="[object GeneratorFunction]",uh="[object Map]",xh="[object Number]",Qf="[object Null]",wf="[object Object]",$f="[object Promise]",Wf="[object Proxy]",vh="[object RegExp]",Th="[object Set]",ph="[object String]",Vh="[object Symbol]",wh="[object Undefined]",fm="[object WeakMap]",Nm="[object WeakSet]",cm="[object ArrayBuffer]",Sm="[object DataView]",$m="[object Float32Array]",fh="[object Float64Array]",Rf="[object Int8Array]",If="[object Int16Array]",dh="[object Int32Array]",yh="[object Uint8Array]",Uh="[object Uint8ClampedArray]",Zh="[object Uint16Array]",_m="[object Uint32Array]",Um=/\b__p \+= '';/g,Om=/\b(__p \+=) '' \+/g,r_=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Xm=/&(?:amp|lt|gt|quot|#39);/g,s_=/[&<>"']/g,b_=RegExp(Xm.source),H_=RegExp(s_.source),x_=/<%-([\s\S]+?)%>/g,M_=/<%([\s\S]+?)%>/g,h_=/<%=([\s\S]+?)%>/g,tg=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L_=/^\w*$/,dg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yg=/[\\^$.*+?()[\]{}|]/g,q_=RegExp(yg.source),Y_=/^\s+/,Qm=/\s/,Zg=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,db=/\{\n\/\* \[wrapped with (.+)\] \*/,$g=/,? & /,Of=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ch=/[()=,{}\[\]\/\s]/,_h=/\\(\\)?/g,Sh=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Wh=/\w*$/,Fh=/^[-+]0x[0-9a-f]+$/i,om=/^0b[01]+$/i,im=/^\[object .+?Constructor\]$/,Rh=/^0o[0-7]+$/i,Im=/^(?:0|[1-9]\d*)$/,Pm=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,i_=/($^)/,Hm=/['\n\r\u2028\u2029\\]/g,o_="\\ud800-\\udfff",j_="\\u0300-\\u036f",B_="\\ufe20-\\ufe2f",C_="\\u20d0-\\u20ff",Km=j_+B_+C_,ig="\\u2700-\\u27bf",N_="a-z\\xdf-\\xf6\\xf8-\\xff",y_="\\xac\\xb1\\xd7\\xf7",hh="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Bh="\\u2000-\\u206f",Mm=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",zm="A-Z\\xc0-\\xd6\\xd8-\\xde",Tm="\\ufe0e\\ufe0f",e_=y_+hh+Bh+Mm,O_="['’]",og="["+o_+"]",Cg="["+e_+"]",rb="["+Km+"]",Eb="\\d+",E_="["+ig+"]",nb="["+N_+"]",lg="[^"+o_+e_+Eb+ig+N_+zm+"]",jg="\\ud83c[\\udffb-\\udfff]",wg="(?:"+rb+"|"+jg+")",Tb="[^"+o_+"]",Jb="(?:\\ud83c[\\udde6-\\uddff]){2}",Ug="[\\ud800-\\udbff][\\udc00-\\udfff]",Sb="["+zm+"]",V0="\\u200d",x0="(?:"+nb+"|"+lg+")",__="(?:"+Sb+"|"+lg+")",C0="(?:"+O_+"(?:d|ll|m|re|s|t|ve))?",d0="(?:"+O_+"(?:D|LL|M|RE|S|T|VE))?",z0=wg+"?",Hy="["+Tm+"]?",Wy="(?:"+V0+"(?:"+[Tb,Jb,Ug].join("|")+")"+Hy+z0+")*",p0="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ig="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",pb=Hy+z0+Wy,$b="(?:"+[E_,Jb,Ug].join("|")+")"+pb,f0="(?:"+[Tb+rb+"?",rb,Jb,Ug,og].join("|")+")",A0=RegExp(O_,"g"),bE=RegExp(rb,"g"),Lv=RegExp(jg+"(?="+jg+")|"+f0+pb,"g"),yE=RegExp([Sb+"?"+nb+"+"+C0+"(?="+[Cg,Sb,"$"].join("|")+")",__+"+"+d0+"(?="+[Cg,Sb+x0,"$"].join("|")+")",Sb+"?"+x0+"+"+C0,Sb+"+"+d0,Ig,p0,Eb,$b].join("|"),"g"),hT=RegExp("["+V0+o_+Km+Tm+"]"),Fv=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,vE=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],TE=-1,Jm={};Jm[$m]=Jm[fh]=Jm[Rf]=Jm[If]=Jm[dh]=Jm[yh]=Jm[Uh]=Jm[Zh]=Jm[_m]=!0,Jm[Gf]=Jm[zf]=Jm[cm]=Jm[vf]=Jm[Sm]=Jm[qf]=Jm[ch]=Jm[ih]=Jm[uh]=Jm[xh]=Jm[wf]=Jm[vh]=Jm[Th]=Jm[ph]=Jm[fm]=!1;var rg={};rg[Gf]=rg[zf]=rg[cm]=rg[Sm]=rg[vf]=rg[qf]=rg[$m]=rg[fh]=rg[Rf]=rg[If]=rg[dh]=rg[uh]=rg[xh]=rg[wf]=rg[vh]=rg[Th]=rg[ph]=rg[Vh]=rg[yh]=rg[Uh]=rg[Zh]=rg[_m]=!0,rg[ch]=rg[ih]=rg[fm]=!1;var W0={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Qy={"&":"&","<":"<",">":">",'"':""","'":"'"},jv={"&":"&","<":"<",">":">",""":'"',"'":"'"},SE={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},xE=parseFloat,Y0=parseInt,CE=typeof commonjsGlobal=="object"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,Uv=typeof self=="object"&&self&&self.Object===Object&&self,Z_=CE||Uv||Function("return this")(),Hv=qa&&!qa.nodeType&&qa,h0=Hv&&!0&&Ra&&!Ra.nodeType&&Ra,_g=h0&&h0.exports===Hv,xb=_g&&CE.process,Ag=function(){try{var mm=h0&&h0.require&&h0.require("util").types;return mm||xb&&xb.binding&&xb.binding("util")}catch{}}(),K0=Ag&&Ag.isArrayBuffer,Cb=Ag&&Ag.isDate,D0=Ag&&Ag.isMap,Jy=Ag&&Ag.isRegExp,Pb=Ag&&Ag.isSet,AE=Ag&&Ag.isTypedArray;function lb(mm,Lm,Dm){switch(Dm.length){case 0:return mm.call(Lm);case 1:return mm.call(Lm,Dm[0]);case 2:return mm.call(Lm,Dm[0],Dm[1]);case 3:return mm.call(Lm,Dm[0],Dm[1],Dm[2])}return mm.apply(Lm,Dm)}function Gv(mm,Lm,Dm,f_){for(var I_=-1,V_=mm==null?0:mm.length;++I_-1}function ev(mm,Lm,Dm){for(var f_=-1,I_=mm==null?0:mm.length;++f_-1;);return Dm}function Hg(mm,Lm){for(var Dm=mm.length;Dm--&&Yd(Lm,mm[Dm],0)>-1;);return Dm}function Q0(mm,Lm){for(var Dm=mm.length,f_=0;Dm--;)mm[Dm]===Lm&&++f_;return f_}var tv=kh(W0),e0=kh(Qy);function J0(mm){return"\\"+SE[mm]}function _T(mm,Lm){return mm==null?nd:mm[Lm]}function rv(mm){return hT.test(mm)}function eS(mm){return Fv.test(mm)}function n1(mm){for(var Lm,Dm=[];!(Lm=mm.next()).done;)Dm.push(Lm.value);return Dm}function IE(mm){var Lm=-1,Dm=Array(mm.size);return mm.forEach(function(f_,I_){Dm[++Lm]=[I_,f_]}),Dm}function OE(mm,Lm){return function(Dm){return mm(Lm(Dm))}}function mb(mm,Lm){for(var Dm=-1,f_=mm.length,I_=0,V_=[];++Dm-1}function fS(qd,df){var Sf=this.__data__,Yf=uv(Sf,qd);return Yf<0?(++this.size,Sf.push([qd,df])):Sf[Yf][1]=df,this}Gb.prototype.clear=h1,Gb.prototype.delete=DT,Gb.prototype.get=NT,Gb.prototype.has=pS,Gb.prototype.set=fS;function qb(qd){var df=-1,Sf=qd==null?0:qd.length;for(this.clear();++df=df?qd:df)),qd}function gb(qd,df,Sf,Yf,gh,Oh){var um,dm=df&vd,gm=df&Ad,Gm=df&Nd;if(Sf&&(um=gh?Sf(qd,Yf,gh,Oh):Sf(qd)),um!==nd)return um;if(!Mg(qd))return qd;var Vm=k_(qd);if(Vm){if(um=R1(qd),!dm)return hb(qd,um)}else{var Wm=zg(qd),c_=Wm==ih||Wm==Pf;if(Mv(qd))return HT(qd,dm);if(Wm==wf||Wm==Gf||c_&&!gh){if(um=gm||c_?{}:YS(qd),!dm)return gm?D1(qd,gS(um,qd)):BS(qd,OT(um,qd))}else{if(!rg[Wm])return gh?qd:{};um=nT(qd,Wm,dm)}}Oh||(Oh=new Tg);var v_=Oh.get(qd);if(v_)return v_;Oh.set(qd,um),mx(qd)?qd.forEach(function(D_){um.add(gb(D_,df,Sf,D_,qd,Oh))}):fx(qd)&&qd.forEach(function(D_,G_){um.set(G_,gb(D_,df,Sf,G_,qd,Oh))});var A_=Gm?gm?rT:tT:gm?kb:ob,F_=Vm?nd:A_(qd);return fb(F_||qd,function(D_,G_){F_&&(G_=D_,D_=qd[G_]),lv(um,G_,gb(D_,df,Sf,G_,qd,Oh))}),um}function b1(qd){var df=ob(qd);return function(Sf){return RT(Sf,qd,df)}}function RT(qd,df,Sf){var Yf=Sf.length;if(qd==null)return!Yf;for(qd=ag(qd);Yf--;){var gh=Sf[Yf],Oh=df[gh],um=qd[gh];if(um===nd&&!(gh in qd)||!Oh(um))return!1}return!0}function bS(qd,df,Sf){if(typeof qd!="function")throw new Db(cd);return g_(function(){qd.apply(nd,Sf)},df)}function Zv(qd,df,Sf,Yf){var gh=-1,Oh=Zy,um=!0,dm=qd.length,gm=[],Gm=df.length;if(!dm)return gm;Sf&&(df=ug(df,w_(Sf))),Yf?(Oh=ev,um=!1):df.length>=ld&&(Oh=U_,um=!1,df=new R0(df));e:for(;++ghgh?0:gh+Sf),Yf=Yf===nd||Yf>gh?gh:P_(Yf),Yf<0&&(Yf+=gh),Yf=Sf>Yf?0:gx(Yf);Sf0&&Sf(dm)?df>1?qg(dm,df-1,Sf,Yf,gh):Lb(gh,dm):Yf||(gh[gh.length]=dm)}return gh}var dv=FS(),MT=FS(!0);function wb(qd,df){return qd&&dv(qd,df,ob)}function GE(qd,df){return qd&&MT(qd,df,ob)}function qE(qd,df){return Zb(df,function(Sf){return $y(qd[Sf])})}function P0(qd,df){df=F0(df,qd);for(var Sf=0,Yf=df.length;qd!=null&&Sfdf}function vS(qd,df){return qd!=null&&J_.call(qd,df)}function ES(qd,df){return qd!=null&&df in ag(qd)}function pv(qd,df,Sf){return qd>=Lg(df,Sf)&&qd=120&&Vm.length>=120)?new R0(um&&Vm):nd}Vm=qd[0];var Wm=-1,c_=dm[0];e:for(;++Wm-1;)dm!==qd&&ny.call(dm,gm,1),ny.call(qd,gm,1);return qd}function ib(qd,df){for(var Sf=qd?df.length:0,Yf=Sf-1;Sf--;){var gh=df[Sf];if(Sf==Yf||gh!==Oh){var Oh=gh;Jd(gh)?ny.call(qd,gh,1):WE(qd,gh)}}return qd}function zE(qd,df){return qd+ay(CT()*(df-qd+1))}function E1(qd,df,Sf,Yf){for(var gh=-1,Oh=bg(Wv((df-qd)/(Sf||1)),0),um=Dm(Oh);Oh--;)um[Yf?Oh:++gh]=qd,qd+=Sf;return um}function jT(qd,df){var Sf="";if(!qd||df<1||df>Lf)return Sf;do df%2&&(Sf+=qd),df=ay(df/2),df&&(qd+=qd);while(df);return Sf}function $_(qd,df){return m_(Ym(qd,df,Mb),qd+"")}function kS(qd){return wT(aT(qd))}function MS(qd,df){var Sf=aT(qd);return Ng(Sf,v0(df,0,Sf.length))}function yv(qd,df,Sf,Yf){if(!Mg(qd))return qd;df=F0(df,qd);for(var gh=-1,Oh=df.length,um=Oh-1,dm=qd;dm!=null&&++ghgh?0:gh+df),Sf=Sf>gh?gh:Sf,Sf<0&&(Sf+=gh),gh=df>Sf?0:Sf-df>>>0,df>>>=0;for(var Oh=Dm(gh);++Yf>>1,um=qd[Oh];um!==null&&!Kb(um)&&(Sf?um<=df:um=ld){var Gm=df?null:w1(qd);if(Gm)return _b(Gm);um=!1,gh=U_,gm=new R0}else gm=df?[]:dm;e:for(;++Yf=Yf?qd:Vg(qd,df,Sf)}var LS=ET||function(qd){return Z_.clearTimeout(qd)};function HT(qd,df){if(df)return qd.slice();var Sf=qd.length,Yf=yT?yT(Sf):new qd.constructor(Sf);return qd.copy(Yf),Yf}function vv(qd){var df=new qd.constructor(qd.byteLength);return new ME(df).set(new ME(qd)),df}function x1(qd,df){var Sf=df?vv(qd.buffer):qd.buffer;return new qd.constructor(Sf,qd.byteOffset,qd.byteLength)}function C1(qd){var df=new qd.constructor(qd.source,Wh.exec(qd));return df.lastIndex=qd.lastIndex,df}function lE(qd){return Xv?ag(Xv.call(qd)):{}}function GT(qd,df){var Sf=df?vv(qd.buffer):qd.buffer;return new qd.constructor(Sf,qd.byteOffset,qd.length)}function qT(qd,df){if(qd!==df){var Sf=qd!==nd,Yf=qd===null,gh=qd===qd,Oh=Kb(qd),um=df!==nd,dm=df===null,gm=df===df,Gm=Kb(df);if(!dm&&!Gm&&!Oh&&qd>df||Oh&&um&&gm&&!dm&&!Gm||Yf&&um&&gm||!Sf&&gm||!gh)return 1;if(!Yf&&!Oh&&!Gm&&qd=dm)return gm;var Gm=Sf[Yf];return gm*(Gm=="desc"?-1:1)}}return qd.index-df.index}function KE(qd,df,Sf,Yf){for(var gh=-1,Oh=qd.length,um=Sf.length,dm=-1,gm=df.length,Gm=bg(Oh-um,0),Vm=Dm(gm+Gm),Wm=!Yf;++dm1?Sf[gh-1]:nd,um=gh>2?Sf[2]:nd;for(Oh=qd.length>3&&typeof Oh=="function"?(gh--,Oh):nd,um&&Qd(Sf[0],Sf[1],um)&&(Oh=gh<3?nd:Oh,gh=1),df=ag(df);++Yf-1?gh[Oh?df[um]:um]:nd}}function HS(qd){return s0(function(df){var Sf=df.length,Yf=Sf,gh=eg.prototype.thru;for(qd&&df.reverse();Yf--;){var Oh=df[Yf];if(typeof Oh!="function")throw new Db(cd);if(gh&&!um&&hE(Oh)=="wrapper")var um=new eg([],!0)}for(Yf=um?Yf:Sf;++Yf1&&W_.reverse(),Vm&&gmdm))return!1;var Gm=Oh.get(qd),Vm=Oh.get(df);if(Gm&&Vm)return Gm==df&&Vm==qd;var Wm=-1,c_=!0,v_=Sf&kd?new R0:nd;for(Oh.set(qd,df),Oh.set(df,qd);++Wm1?"& ":"")+df[Yf],df=df.join(Sf>2?", ":" "),qd.replace(Zg,`{ /* [wrapped with `+df+`] */ -`)}function Ud(qd){return k_(qd)||_E(qd)||!!(oS&&qd&&qd[oS])}function Jd(qd,df){var Sf=typeof qd;return df=df??Lf,!!df&&(Sf=="number"||Sf!="symbol"&&Im.test(qd))&&qd>-1&&qd%1==0&&qd0){if(++df>=bf)return arguments[0]}else df=0;return qd.apply(nd,arguments)}}function Ng(qd,df){var Sf=-1,zf=qd.length,_h=zf-1;for(df=df===nd?zf:df;++Sf1?qd[df-1]:nd;return Sf=typeof Sf=="function"?(qd.pop(),Sf):nd,ex(qd,Sf)});function tx(qd){var df=Ah(qd);return df.__chain__=!0,df}function AC(qd,df){return df(qd),qd}function KS(qd,df){return df(qd)}var DC=s0(function(qd){var df=qd.length,Sf=df?qd[0]:0,zf=this.__wrapped__,_h=function(Oh){return cv(Oh,qd)};return df>1||this.__actions__.length||!(zf instanceof S_)||!Jd(Sf)?this.thru(_h):(zf=zf.slice(Sf,+Sf+(df?1:0)),zf.__actions__.push({func:KS,args:[_h],thisArg:nd}),new eg(zf,this.__chain__).thru(function(Oh){return df&&!Oh.length&&Oh.push(nd),Oh}))});function NC(){return tx(this)}function wC(){return new eg(this.value(),this.__chain__)}function IC(){this.__values__===nd&&(this.__values__=_x(this.value()));var qd=this.__index__>=this.__values__.length,df=qd?nd:this.__values__[this.__index__++];return{done:qd,value:df}}function OC(){return this}function RC(qd){for(var df,Sf=this;Sf instanceof eb;){var zf=ab(Sf);zf.__index__=0,zf.__values__=nd,df?_h.__wrapped__=zf:df=zf;var _h=zf;Sf=Sf.__wrapped__}return _h.__wrapped__=qd,df}function kC(){var qd=this.__wrapped__;if(qd instanceof S_){var df=qd;return this.__actions__.length&&(df=new S_(this)),df=df.reverse(),df.__actions__.push({func:KS,args:[k1],thisArg:nd}),new eg(df,this.__chain__)}return this.thru(k1)}function MC(){return iE(this.__wrapped__,this.__actions__)}var $C=Ev(function(qd,df,Sf){J_.call(qd,Sf)?++qd[Sf]:y0(qd,Sf,1)});function PC(qd,df,Sf){var zf=k_(qd)?X0:y1;return Sf&&Xd(qd,df,Sf)&&(df=nd),zf(qd,T_(df,3))}function LC(qd,df){var Sf=k_(qd)?Zb:Cy;return Sf(qd,T_(df,3))}var BC=zT(l0),FC=zT(G0);function jC(qd,df){return qg(XS(qd,df),1)}function UC(qd,df){return qg(XS(qd,df),Af)}function HC(qd,df,Sf){return Sf=Sf===nd?1:P_(Sf),qg(XS(qd,df),Sf)}function rx(qd,df){var Sf=k_(qd)?fb:zb;return Sf(qd,T_(df,3))}function nx(qd,df){var Sf=k_(qd)?DE:kT;return Sf(qd,T_(df,3))}var GC=Ev(function(qd,df,Sf){J_.call(qd,Sf)?qd[Sf].push(df):y0(qd,Sf,[df])});function qC(qd,df,Sf,zf){qd=Rb(qd)?qd:aT(qd),Sf=Sf&&!zf?P_(Sf):0;var _h=qd.length;return Sf<0&&(Sf=bg(_h+Sf,0)),t1(qd)?Sf<=_h&&qd.indexOf(df,Sf)>-1:!!_h&&Wd(qd,df,Sf)>-1}var VC=$_(function(qd,df,Sf){var zf=-1,_h=typeof df=="function",Oh=Rb(qd)?Dm(qd.length):[];return zb(qd,function(um){Oh[++zf]=_h?lb(df,um,Sf):hv(um,df,Sf)}),Oh}),zC=Ev(function(qd,df,Sf){y0(qd,Sf,df)});function XS(qd,df){var Sf=k_(qd)?ug:LT;return Sf(qd,T_(df,3))}function WC(qd,df,Sf,zf){return qd==null?[]:(k_(df)||(df=df==null?[]:[df]),Sf=zf?nd:Sf,k_(Sf)||(Sf=Sf==null?[]:[Sf]),IS(qd,df,Sf))}var YC=Ev(function(qd,df,Sf){qd[Sf?0:1].push(df)},function(){return[[],[]]});function KC(qd,df,Sf){var zf=k_(qd)?qv:sm,_h=arguments.length<3;return zf(qd,T_(df,4),Sf,_h,zb)}function XC(qd,df,Sf){var zf=k_(qd)?NE:sm,_h=arguments.length<3;return zf(qd,T_(df,4),Sf,_h,kT)}function QC(qd,df){var Sf=k_(qd)?Zb:Cy;return Sf(qd,ZS(T_(df,3)))}function JC(qd){var df=k_(qd)?wT:kS;return df(qd)}function ZC(qd,df,Sf){(Sf?Xd(qd,df,Sf):df===nd)?df=1:df=P_(df);var zf=k_(qd)?g1:MS;return zf(qd,df)}function eA(qd){var df=k_(qd)?IT:S1;return df(qd)}function tA(qd){if(qd==null)return 0;if(Rb(qd))return t1(qd)?nv(qd):qd.length;var df=zg(qd);return df==uh||df==Th?qd.size:Dy(qd).length}function rA(qd,df,Sf){var zf=k_(qd)?N0:rE;return Sf&&Xd(qd,df,Sf)&&(df=nd),zf(qd,T_(df,3))}var nA=$_(function(qd,df){if(qd==null)return[];var Sf=df.length;return Sf>1&&Xd(qd,df[0],df[1])?df=[]:Sf>2&&Xd(df[0],df[1],df[2])&&(df=[df[0]]),IS(qd,qg(df,1),[])}),QS=sv||function(){return Z_.Date.now()};function iA(qd,df){if(typeof df!="function")throw new Db(cd);return qd=P_(qd),function(){if(--qd<1)return df.apply(this,arguments)}}function ix(qd,df,Sf){return df=Sf?nd:df,df=qd&&df==null?qd.length:df,z_(qd,Qd,nd,nd,nd,nd,df)}function ax(qd,df){var Sf;if(typeof df!="function")throw new Db(cd);return qd=P_(qd),function(){return--qd>0&&(Sf=df.apply(this,arguments)),qd<=1&&(df=nd),Sf}}var $1=$_(function(qd,df,Sf){var zf=jd;if(Sf.length){var _h=mb(Sf,wv($1));zf|=Gd}return z_(qd,zf,df,Sf,_h)}),sx=$_(function(qd,df,Sf){var zf=jd|Fd;if(Sf.length){var _h=mb(Sf,wv(sx));zf|=Gd}return z_(df,zf,qd,Sf,_h)});function ox(qd,df,Sf){df=Sf?nd:df;var zf=z_(qd,Ld,nd,nd,nd,nd,nd,df);return zf.placeholder=ox.placeholder,zf}function lx(qd,df,Sf){df=Sf?nd:df;var zf=z_(qd,Hd,nd,nd,nd,nd,nd,df);return zf.placeholder=lx.placeholder,zf}function ux(qd,df,Sf){var zf,_h,Oh,um,dm,gm,Gm=0,Vm=!1,Wm=!1,c_=!0;if(typeof qd!="function")throw new Db(cd);df=c0(df)||0,Mg(Sf)&&(Vm=!!Sf.leading,Wm="maxWait"in Sf,Oh=Wm?bg(c0(Sf.maxWait)||0,df):Oh,c_="trailing"in Sf?!!Sf.trailing:c_);function v_(Kg){var S0=zf,Ly=_h;return zf=_h=nd,Gm=Kg,um=qd.apply(Ly,S0),um}function A_(Kg){return Gm=Kg,dm=g_(G_,df),Vm?v_(Kg):um}function F_(Kg){var S0=Kg-gm,Ly=Kg-Gm,wx=df-S0;return Wm?Lg(wx,Oh-Ly):wx}function D_(Kg){var S0=Kg-gm,Ly=Kg-Gm;return gm===nd||S0>=df||S0<0||Wm&&Ly>=Oh}function G_(){var Kg=QS();if(D_(Kg))return W_(Kg);dm=g_(G_,F_(Kg))}function W_(Kg){return dm=nd,c_&&zf?v_(Kg):(zf=_h=nd,um)}function Xb(){dm!==nd&&LS(dm),Gm=0,zf=gm=_h=dm=nd}function vb(){return dm===nd?um:W_(QS())}function Qb(){var Kg=QS(),S0=D_(Kg);if(zf=arguments,_h=this,gm=Kg,S0){if(dm===nd)return A_(gm);if(Wm)return LS(dm),dm=g_(G_,df),v_(gm)}return dm===nd&&(dm=g_(G_,df)),um}return Qb.cancel=Xb,Qb.flush=vb,Qb}var aA=$_(function(qd,df){return bS(qd,1,df)}),sA=$_(function(qd,df,Sf){return bS(qd,c0(df)||0,Sf)});function oA(qd){return z_(qd,Yd)}function JS(qd,df){if(typeof qd!="function"||df!=null&&typeof df!="function")throw new Db(cd);var Sf=function(){var zf=arguments,_h=df?df.apply(this,zf):zf[0],Oh=Sf.cache;if(Oh.has(_h))return Oh.get(_h);var um=qd.apply(this,zf);return Sf.cache=Oh.set(_h,um)||Oh,um};return Sf.cache=new(JS.Cache||qb),Sf}JS.Cache=qb;function ZS(qd){if(typeof qd!="function")throw new Db(cd);return function(){var df=arguments;switch(df.length){case 0:return!qd.call(this);case 1:return!qd.call(this,df[0]);case 2:return!qd.call(this,df[0],df[1]);case 3:return!qd.call(this,df[0],df[1],df[2])}return!qd.apply(this,df)}}function lA(qd){return ax(2,qd)}var uA=oE(function(qd,df){df=df.length==1&&k_(df[0])?ug(df[0],w_(T_())):ug(qg(df,1),w_(T_()));var Sf=df.length;return $_(function(zf){for(var _h=-1,Oh=Lg(zf.length,Sf);++_h=df}),_E=$T(function(){return arguments}())?$T:function(qd){return Fg(qd)&&J_.call(qd,"callee")&&!$E.call(qd,"callee")},k_=Dm.isArray,xA=K0?w_(K0):mv;function Rb(qd){return qd!=null&&e1(qd.length)&&!$y(qd)}function Yg(qd){return Fg(qd)&&Rb(qd)}function CA(qd){return qd===!0||qd===!1||Fg(qd)&&Qg(qd)==vf}var Mv=s1||W1,AA=Cb?w_(Cb):SS;function DA(qd){return Fg(qd)&&qd.nodeType===1&&!JT(qd)}function NA(qd){if(qd==null)return!0;if(Rb(qd)&&(k_(qd)||typeof qd=="string"||typeof qd.splice=="function"||Mv(qd)||iT(qd)||_E(qd)))return!qd.length;var df=zg(qd);if(df==uh||df==Th)return!qd.size;if(hh(qd))return!Dy(qd).length;for(var Sf in qd)if(J_.call(qd,Sf))return!1;return!0}function wA(qd,df){return L0(qd,df)}function IA(qd,df,Sf){Sf=typeof Sf=="function"?Sf:nd;var zf=Sf?Sf(qd,df):nd;return zf===nd?L0(qd,df,nd,Sf):!!zf}function L1(qd){if(!Fg(qd))return!1;var df=Qg(qd);return df==gh||df==Jf||typeof qd.message=="string"&&typeof qd.name=="string"&&!JT(qd)}function OA(qd){return typeof qd=="number"&&lS(qd)}function $y(qd){if(!Mg(qd))return!1;var df=Qg(qd);return df==th||df==Pf||df==Tf||df==Wf}function px(qd){return typeof qd=="number"&&qd==P_(qd)}function e1(qd){return typeof qd=="number"&&qd>-1&&qd%1==0&&qd<=Lf}function Mg(qd){var df=typeof qd;return qd!=null&&(df=="object"||df=="function")}function Fg(qd){return qd!=null&&typeof qd=="object"}var fx=D0?w_(D0):eE;function RA(qd,df){return qd===df||PT(qd,df,Q_(df))}function kA(qd,df,Sf){return Sf=typeof Sf=="function"?Sf:nd,PT(qd,df,Q_(df),Sf)}function MA(qd){return hx(qd)&&qd!=+qd}function $A(qd){if(sh(qd))throw new I_(ud);return Ay(qd)}function PA(qd){return qd===null}function LA(qd){return qd==null}function hx(qd){return typeof qd=="number"||Fg(qd)&&Qg(qd)==xh}function JT(qd){if(!Fg(qd)||Qg(qd)!=Nf)return!1;var df=I0(qd);if(df===null)return!0;var Sf=J_.call(df,"constructor")&&df.constructor;return typeof Sf=="function"&&Sf instanceof Sf&&iv.call(Sf)==ry}var B1=Jy?w_(Jy):CS;function BA(qd){return px(qd)&&qd>=-Lf&&qd<=Lf}var mx=Pb?w_(Pb):AS;function t1(qd){return typeof qd=="string"||!k_(qd)&&Fg(qd)&&Qg(qd)==dh}function Kb(qd){return typeof qd=="symbol"||Fg(qd)&&Qg(qd)==Vh}var iT=AE?w_(AE):DS;function FA(qd){return qd===nd}function jA(qd){return Fg(qd)&&zg(qd)==fm}function UA(qd){return Fg(qd)&&Qg(qd)==Nm}var HA=cE(Ny),GA=cE(function(qd,df){return qd<=df});function _x(qd){if(!qd)return[];if(Rb(qd))return t1(qd)?Bb(qd):hb(qd);if(iy&&qd[iy])return n1(qd[iy]());var df=zg(qd),Sf=df==uh?IE:df==Th?_b:aT;return Sf(qd)}function Py(qd){if(!qd)return qd===0?qd:0;if(qd=c0(qd),qd===Af||qd===-Af){var df=qd<0?-1:1;return df*Xf}return qd===qd?qd:0}function P_(qd){var df=Py(qd),Sf=df%1;return df===df?Sf?df-Sf:df:0}function gx(qd){return qd?v0(P_(qd),0,Zf):0}function c0(qd){if(typeof qd=="number")return qd;if(Kb(qd))return ih;if(Mg(qd)){var df=typeof qd.valueOf=="function"?qd.valueOf():qd;qd=Mg(df)?df+"":df}if(typeof qd!="string")return qd===0?qd:+qd;qd=d_(qd);var Sf=om.test(qd);return Sf||Rh.test(qd)?Y0(qd.slice(2),Sf?2:8):Fh.test(qd)?ih:+qd}function bx(qd){return Yb(qd,kb(qd))}function qA(qd){return qd?v0(P_(qd),-Lf,Lf):qd===0?qd:0}function sg(qd){return qd==null?"":bb(qd)}var VA=a0(function(qd,df){if(hh(df)||Rb(df)){Yb(df,ob(df),qd);return}for(var Sf in df)J_.call(df,Sf)&&lv(qd,Sf,df[Sf])}),yx=a0(function(qd,df){Yb(df,kb(df),qd)}),r1=a0(function(qd,df,Sf,zf){Yb(df,kb(df),qd,zf)}),zA=a0(function(qd,df,Sf,zf){Yb(df,ob(df),qd,zf)}),WA=s0(cv);function YA(qd,df){var Sf=ov(qd);return df==null?Sf:OT(Sf,df)}var KA=$_(function(qd,df){qd=ag(qd);var Sf=-1,zf=df.length,_h=zf>2?df[2]:nd;for(_h&&Xd(df[0],df[1],_h)&&(zf=1);++Sf1),Oh}),Yb(qd,rT(qd),Sf),zf&&(Sf=gb(Sf,vd|Ad|Nd,pE));for(var _h=df.length;_h--;)WE(Sf,df[_h]);return Sf});function fD(qd,df){return Ex(qd,ZS(T_(df)))}var hD=s0(function(qd,df){return qd==null?{}:OS(qd,df)});function Ex(qd,df){if(qd==null)return{};var Sf=ug(rT(qd),function(zf){return[zf]});return df=T_(df),RS(qd,Sf,function(zf,_h){return df(zf,_h[0])})}function mD(qd,df,Sf){df=F0(df,qd);var zf=-1,_h=df.length;for(_h||(_h=1,qd=nd);++zf<_h;){var Oh=qd==null?nd:qd[Sg(df[zf])];Oh===nd&&(zf=_h,Oh=Sf),qd=$y(Oh)?Oh.call(qd):Oh}return qd}function _D(qd,df,Sf){return qd==null?qd:yv(qd,df,Sf)}function gD(qd,df,Sf,zf){return zf=typeof zf=="function"?zf:nd,qd==null?qd:yv(qd,df,Sf,zf)}var Tx=qS(ob),Sx=qS(kb);function bD(qd,df,Sf){var zf=k_(qd),_h=zf||Mv(qd)||iT(qd);if(df=T_(df,4),Sf==null){var Oh=qd&&qd.constructor;_h?Sf=zf?new Oh:[]:Mg(qd)?Sf=$y(Oh)?ov(I0(qd)):{}:Sf={}}return(_h?fb:wb)(qd,function(um,dm,gm){return df(Sf,um,dm,gm)}),Sf}function yD(qd,df){return qd==null?!0:WE(qd,df)}function vD(qd,df,Sf){return qd==null?qd:UT(qd,df,sE(Sf))}function ED(qd,df,Sf,zf){return zf=typeof zf=="function"?zf:nd,qd==null?qd:UT(qd,df,sE(Sf),zf)}function aT(qd){return qd==null?[]:Eg(qd,ob(qd))}function TD(qd){return qd==null?[]:Eg(qd,kb(qd))}function SD(qd,df,Sf){return Sf===nd&&(Sf=df,df=nd),Sf!==nd&&(Sf=c0(Sf),Sf=Sf===Sf?Sf:0),df!==nd&&(df=c0(df),df=df===df?df:0),v0(c0(qd),df,Sf)}function xD(qd,df,Sf){return df=Py(df),Sf===nd?(Sf=df,df=0):Sf=Py(Sf),qd=c0(qd),pv(qd,df,Sf)}function CD(qd,df,Sf){if(Sf&&typeof Sf!="boolean"&&Xd(qd,df,Sf)&&(df=Sf=nd),Sf===nd&&(typeof df=="boolean"?(Sf=df,df=nd):typeof qd=="boolean"&&(Sf=qd,qd=nd)),qd===nd&&df===nd?(qd=0,df=1):(qd=Py(qd),df===nd?(df=qd,qd=0):df=Py(df)),qd>df){var zf=qd;qd=df,df=zf}if(Sf||qd%1||df%1){var _h=CT();return Lg(qd+_h*(df-qd+xE("1e-"+((_h+"").length-1))),df)}return zE(qd,df)}var AD=Av(function(qd,df,Sf){return df=df.toLowerCase(),qd+(Sf?xx(df):df)});function xx(qd){return U1(sg(qd).toLowerCase())}function Cx(qd){return qd=sg(qd),qd&&qd.replace(Pm,tv).replace(bE,"")}function DD(qd,df,Sf){qd=sg(qd),df=bb(df);var zf=qd.length;Sf=Sf===nd?zf:v0(P_(Sf),0,zf);var _h=Sf;return Sf-=df.length,Sf>=0&&qd.slice(Sf,_h)==df}function ND(qd){return qd=sg(qd),qd&&H_.test(qd)?qd.replace(s_,e0):qd}function wD(qd){return qd=sg(qd),qd&&q_.test(qd)?qd.replace(yg,"\\$&"):qd}var ID=Av(function(qd,df,Sf){return qd+(Sf?"-":"")+df.toLowerCase()}),OD=Av(function(qd,df,Sf){return qd+(Sf?" ":"")+df.toLowerCase()}),RD=US("toLowerCase");function kD(qd,df,Sf){qd=sg(qd),df=P_(df);var zf=df?nv(qd):0;if(!df||zf>=df)return qd;var _h=(df-zf)/2;return JE(ay(_h),Sf)+qd+JE(Wv(_h),Sf)}function MD(qd,df,Sf){qd=sg(qd),df=P_(df);var zf=df?nv(qd):0;return df&&zf>>0,Sf?(qd=sg(qd),qd&&(typeof df=="string"||df!=null&&!B1(df))&&(df=bb(df),!df&&rv(qd))?E0(Bb(qd),0,Sf):qd.split(df,Sf)):[]}var UD=Av(function(qd,df,Sf){return qd+(Sf?" ":"")+U1(df)});function HD(qd,df,Sf){return qd=sg(qd),Sf=Sf==null?0:v0(P_(Sf),0,qd.length),df=bb(df),qd.slice(Sf,Sf+df.length)==df}function GD(qd,df,Sf){var zf=Ah.templateSettings;Sf&&Xd(qd,df,Sf)&&(df=nd),qd=sg(qd),df=r1({},df,zf,VS);var _h=r1({},df.imports,zf.imports,VS),Oh=ob(_h),um=Eg(_h,Oh),dm,gm,Gm=0,Vm=df.interpolate||i_,Wm="__p += '",c_=zv((df.escape||i_).source+"|"+Vm.source+"|"+(Vm===h_?Sh:i_).source+"|"+(df.evaluate||i_).source+"|$","g"),v_="//# sourceURL="+(J_.call(df,"sourceURL")?(df.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++TE+"]")+` +`)}function Ud(qd){return k_(qd)||_E(qd)||!!(oS&&qd&&qd[oS])}function Jd(qd,df){var Sf=typeof qd;return df=df??Lf,!!df&&(Sf=="number"||Sf!="symbol"&&Im.test(qd))&&qd>-1&&qd%1==0&&qd0){if(++df>=bf)return arguments[0]}else df=0;return qd.apply(nd,arguments)}}function Ng(qd,df){var Sf=-1,Yf=qd.length,gh=Yf-1;for(df=df===nd?Yf:df;++Sf1?qd[df-1]:nd;return Sf=typeof Sf=="function"?(qd.pop(),Sf):nd,ex(qd,Sf)});function tx(qd){var df=Ah(qd);return df.__chain__=!0,df}function AC(qd,df){return df(qd),qd}function KS(qd,df){return df(qd)}var DC=s0(function(qd){var df=qd.length,Sf=df?qd[0]:0,Yf=this.__wrapped__,gh=function(Oh){return cv(Oh,qd)};return df>1||this.__actions__.length||!(Yf instanceof S_)||!Jd(Sf)?this.thru(gh):(Yf=Yf.slice(Sf,+Sf+(df?1:0)),Yf.__actions__.push({func:KS,args:[gh],thisArg:nd}),new eg(Yf,this.__chain__).thru(function(Oh){return df&&!Oh.length&&Oh.push(nd),Oh}))});function NC(){return tx(this)}function wC(){return new eg(this.value(),this.__chain__)}function IC(){this.__values__===nd&&(this.__values__=_x(this.value()));var qd=this.__index__>=this.__values__.length,df=qd?nd:this.__values__[this.__index__++];return{done:qd,value:df}}function OC(){return this}function RC(qd){for(var df,Sf=this;Sf instanceof eb;){var Yf=ab(Sf);Yf.__index__=0,Yf.__values__=nd,df?gh.__wrapped__=Yf:df=Yf;var gh=Yf;Sf=Sf.__wrapped__}return gh.__wrapped__=qd,df}function kC(){var qd=this.__wrapped__;if(qd instanceof S_){var df=qd;return this.__actions__.length&&(df=new S_(this)),df=df.reverse(),df.__actions__.push({func:KS,args:[k1],thisArg:nd}),new eg(df,this.__chain__)}return this.thru(k1)}function MC(){return iE(this.__wrapped__,this.__actions__)}var $C=Ev(function(qd,df,Sf){J_.call(qd,Sf)?++qd[Sf]:y0(qd,Sf,1)});function PC(qd,df,Sf){var Yf=k_(qd)?X0:y1;return Sf&&Qd(qd,df,Sf)&&(df=nd),Yf(qd,T_(df,3))}function LC(qd,df){var Sf=k_(qd)?Zb:Cy;return Sf(qd,T_(df,3))}var BC=zT(l0),FC=zT(G0);function jC(qd,df){return qg(XS(qd,df),1)}function UC(qd,df){return qg(XS(qd,df),Af)}function HC(qd,df,Sf){return Sf=Sf===nd?1:P_(Sf),qg(XS(qd,df),Sf)}function rx(qd,df){var Sf=k_(qd)?fb:zb;return Sf(qd,T_(df,3))}function nx(qd,df){var Sf=k_(qd)?DE:kT;return Sf(qd,T_(df,3))}var GC=Ev(function(qd,df,Sf){J_.call(qd,Sf)?qd[Sf].push(df):y0(qd,Sf,[df])});function qC(qd,df,Sf,Yf){qd=Rb(qd)?qd:aT(qd),Sf=Sf&&!Yf?P_(Sf):0;var gh=qd.length;return Sf<0&&(Sf=bg(gh+Sf,0)),t1(qd)?Sf<=gh&&qd.indexOf(df,Sf)>-1:!!gh&&Yd(qd,df,Sf)>-1}var VC=$_(function(qd,df,Sf){var Yf=-1,gh=typeof df=="function",Oh=Rb(qd)?Dm(qd.length):[];return zb(qd,function(um){Oh[++Yf]=gh?lb(df,um,Sf):hv(um,df,Sf)}),Oh}),zC=Ev(function(qd,df,Sf){y0(qd,Sf,df)});function XS(qd,df){var Sf=k_(qd)?ug:LT;return Sf(qd,T_(df,3))}function WC(qd,df,Sf,Yf){return qd==null?[]:(k_(df)||(df=df==null?[]:[df]),Sf=Yf?nd:Sf,k_(Sf)||(Sf=Sf==null?[]:[Sf]),IS(qd,df,Sf))}var YC=Ev(function(qd,df,Sf){qd[Sf?0:1].push(df)},function(){return[[],[]]});function KC(qd,df,Sf){var Yf=k_(qd)?qv:sm,gh=arguments.length<3;return Yf(qd,T_(df,4),Sf,gh,zb)}function XC(qd,df,Sf){var Yf=k_(qd)?NE:sm,gh=arguments.length<3;return Yf(qd,T_(df,4),Sf,gh,kT)}function QC(qd,df){var Sf=k_(qd)?Zb:Cy;return Sf(qd,ZS(T_(df,3)))}function JC(qd){var df=k_(qd)?wT:kS;return df(qd)}function ZC(qd,df,Sf){(Sf?Qd(qd,df,Sf):df===nd)?df=1:df=P_(df);var Yf=k_(qd)?g1:MS;return Yf(qd,df)}function eA(qd){var df=k_(qd)?IT:S1;return df(qd)}function tA(qd){if(qd==null)return 0;if(Rb(qd))return t1(qd)?nv(qd):qd.length;var df=zg(qd);return df==uh||df==Th?qd.size:Dy(qd).length}function rA(qd,df,Sf){var Yf=k_(qd)?N0:rE;return Sf&&Qd(qd,df,Sf)&&(df=nd),Yf(qd,T_(df,3))}var nA=$_(function(qd,df){if(qd==null)return[];var Sf=df.length;return Sf>1&&Qd(qd,df[0],df[1])?df=[]:Sf>2&&Qd(df[0],df[1],df[2])&&(df=[df[0]]),IS(qd,qg(df,1),[])}),QS=sv||function(){return Z_.Date.now()};function iA(qd,df){if(typeof df!="function")throw new Db(cd);return qd=P_(qd),function(){if(--qd<1)return df.apply(this,arguments)}}function ix(qd,df,Sf){return df=Sf?nd:df,df=qd&&df==null?qd.length:df,z_(qd,Kd,nd,nd,nd,nd,df)}function ax(qd,df){var Sf;if(typeof df!="function")throw new Db(cd);return qd=P_(qd),function(){return--qd>0&&(Sf=df.apply(this,arguments)),qd<=1&&(df=nd),Sf}}var $1=$_(function(qd,df,Sf){var Yf=jd;if(Sf.length){var gh=mb(Sf,wv($1));Yf|=Gd}return z_(qd,Yf,df,Sf,gh)}),sx=$_(function(qd,df,Sf){var Yf=jd|Fd;if(Sf.length){var gh=mb(Sf,wv(sx));Yf|=Gd}return z_(df,Yf,qd,Sf,gh)});function ox(qd,df,Sf){df=Sf?nd:df;var Yf=z_(qd,Ld,nd,nd,nd,nd,nd,df);return Yf.placeholder=ox.placeholder,Yf}function lx(qd,df,Sf){df=Sf?nd:df;var Yf=z_(qd,Hd,nd,nd,nd,nd,nd,df);return Yf.placeholder=lx.placeholder,Yf}function ux(qd,df,Sf){var Yf,gh,Oh,um,dm,gm,Gm=0,Vm=!1,Wm=!1,c_=!0;if(typeof qd!="function")throw new Db(cd);df=c0(df)||0,Mg(Sf)&&(Vm=!!Sf.leading,Wm="maxWait"in Sf,Oh=Wm?bg(c0(Sf.maxWait)||0,df):Oh,c_="trailing"in Sf?!!Sf.trailing:c_);function v_(Kg){var S0=Yf,Ly=gh;return Yf=gh=nd,Gm=Kg,um=qd.apply(Ly,S0),um}function A_(Kg){return Gm=Kg,dm=g_(G_,df),Vm?v_(Kg):um}function F_(Kg){var S0=Kg-gm,Ly=Kg-Gm,wx=df-S0;return Wm?Lg(wx,Oh-Ly):wx}function D_(Kg){var S0=Kg-gm,Ly=Kg-Gm;return gm===nd||S0>=df||S0<0||Wm&&Ly>=Oh}function G_(){var Kg=QS();if(D_(Kg))return W_(Kg);dm=g_(G_,F_(Kg))}function W_(Kg){return dm=nd,c_&&Yf?v_(Kg):(Yf=gh=nd,um)}function Xb(){dm!==nd&&LS(dm),Gm=0,Yf=gm=gh=dm=nd}function vb(){return dm===nd?um:W_(QS())}function Qb(){var Kg=QS(),S0=D_(Kg);if(Yf=arguments,gh=this,gm=Kg,S0){if(dm===nd)return A_(gm);if(Wm)return LS(dm),dm=g_(G_,df),v_(gm)}return dm===nd&&(dm=g_(G_,df)),um}return Qb.cancel=Xb,Qb.flush=vb,Qb}var aA=$_(function(qd,df){return bS(qd,1,df)}),sA=$_(function(qd,df,Sf){return bS(qd,c0(df)||0,Sf)});function oA(qd){return z_(qd,Wd)}function JS(qd,df){if(typeof qd!="function"||df!=null&&typeof df!="function")throw new Db(cd);var Sf=function(){var Yf=arguments,gh=df?df.apply(this,Yf):Yf[0],Oh=Sf.cache;if(Oh.has(gh))return Oh.get(gh);var um=qd.apply(this,Yf);return Sf.cache=Oh.set(gh,um)||Oh,um};return Sf.cache=new(JS.Cache||qb),Sf}JS.Cache=qb;function ZS(qd){if(typeof qd!="function")throw new Db(cd);return function(){var df=arguments;switch(df.length){case 0:return!qd.call(this);case 1:return!qd.call(this,df[0]);case 2:return!qd.call(this,df[0],df[1]);case 3:return!qd.call(this,df[0],df[1],df[2])}return!qd.apply(this,df)}}function lA(qd){return ax(2,qd)}var uA=oE(function(qd,df){df=df.length==1&&k_(df[0])?ug(df[0],w_(T_())):ug(qg(df,1),w_(T_()));var Sf=df.length;return $_(function(Yf){for(var gh=-1,Oh=Lg(Yf.length,Sf);++gh=df}),_E=$T(function(){return arguments}())?$T:function(qd){return Fg(qd)&&J_.call(qd,"callee")&&!$E.call(qd,"callee")},k_=Dm.isArray,xA=K0?w_(K0):mv;function Rb(qd){return qd!=null&&e1(qd.length)&&!$y(qd)}function Yg(qd){return Fg(qd)&&Rb(qd)}function CA(qd){return qd===!0||qd===!1||Fg(qd)&&Qg(qd)==vf}var Mv=s1||W1,AA=Cb?w_(Cb):SS;function DA(qd){return Fg(qd)&&qd.nodeType===1&&!JT(qd)}function NA(qd){if(qd==null)return!0;if(Rb(qd)&&(k_(qd)||typeof qd=="string"||typeof qd.splice=="function"||Mv(qd)||iT(qd)||_E(qd)))return!qd.length;var df=zg(qd);if(df==uh||df==Th)return!qd.size;if(mh(qd))return!Dy(qd).length;for(var Sf in qd)if(J_.call(qd,Sf))return!1;return!0}function wA(qd,df){return L0(qd,df)}function IA(qd,df,Sf){Sf=typeof Sf=="function"?Sf:nd;var Yf=Sf?Sf(qd,df):nd;return Yf===nd?L0(qd,df,nd,Sf):!!Yf}function L1(qd){if(!Fg(qd))return!1;var df=Qg(qd);return df==ch||df==eh||typeof qd.message=="string"&&typeof qd.name=="string"&&!JT(qd)}function OA(qd){return typeof qd=="number"&&lS(qd)}function $y(qd){if(!Mg(qd))return!1;var df=Qg(qd);return df==ih||df==Pf||df==Tf||df==Wf}function px(qd){return typeof qd=="number"&&qd==P_(qd)}function e1(qd){return typeof qd=="number"&&qd>-1&&qd%1==0&&qd<=Lf}function Mg(qd){var df=typeof qd;return qd!=null&&(df=="object"||df=="function")}function Fg(qd){return qd!=null&&typeof qd=="object"}var fx=D0?w_(D0):eE;function RA(qd,df){return qd===df||PT(qd,df,Q_(df))}function kA(qd,df,Sf){return Sf=typeof Sf=="function"?Sf:nd,PT(qd,df,Q_(df),Sf)}function MA(qd){return hx(qd)&&qd!=+qd}function $A(qd){if(sh(qd))throw new I_(ud);return Ay(qd)}function PA(qd){return qd===null}function LA(qd){return qd==null}function hx(qd){return typeof qd=="number"||Fg(qd)&&Qg(qd)==xh}function JT(qd){if(!Fg(qd)||Qg(qd)!=wf)return!1;var df=I0(qd);if(df===null)return!0;var Sf=J_.call(df,"constructor")&&df.constructor;return typeof Sf=="function"&&Sf instanceof Sf&&iv.call(Sf)==ry}var B1=Jy?w_(Jy):CS;function BA(qd){return px(qd)&&qd>=-Lf&&qd<=Lf}var mx=Pb?w_(Pb):AS;function t1(qd){return typeof qd=="string"||!k_(qd)&&Fg(qd)&&Qg(qd)==ph}function Kb(qd){return typeof qd=="symbol"||Fg(qd)&&Qg(qd)==Vh}var iT=AE?w_(AE):DS;function FA(qd){return qd===nd}function jA(qd){return Fg(qd)&&zg(qd)==fm}function UA(qd){return Fg(qd)&&Qg(qd)==Nm}var HA=cE(Ny),GA=cE(function(qd,df){return qd<=df});function _x(qd){if(!qd)return[];if(Rb(qd))return t1(qd)?Bb(qd):hb(qd);if(iy&&qd[iy])return n1(qd[iy]());var df=zg(qd),Sf=df==uh?IE:df==Th?_b:aT;return Sf(qd)}function Py(qd){if(!qd)return qd===0?qd:0;if(qd=c0(qd),qd===Af||qd===-Af){var df=qd<0?-1:1;return df*Xf}return qd===qd?qd:0}function P_(qd){var df=Py(qd),Sf=df%1;return df===df?Sf?df-Sf:df:0}function gx(qd){return qd?v0(P_(qd),0,Zf):0}function c0(qd){if(typeof qd=="number")return qd;if(Kb(qd))return Jf;if(Mg(qd)){var df=typeof qd.valueOf=="function"?qd.valueOf():qd;qd=Mg(df)?df+"":df}if(typeof qd!="string")return qd===0?qd:+qd;qd=d_(qd);var Sf=om.test(qd);return Sf||Rh.test(qd)?Y0(qd.slice(2),Sf?2:8):Fh.test(qd)?Jf:+qd}function bx(qd){return Yb(qd,kb(qd))}function qA(qd){return qd?v0(P_(qd),-Lf,Lf):qd===0?qd:0}function sg(qd){return qd==null?"":bb(qd)}var VA=a0(function(qd,df){if(mh(df)||Rb(df)){Yb(df,ob(df),qd);return}for(var Sf in df)J_.call(df,Sf)&&lv(qd,Sf,df[Sf])}),yx=a0(function(qd,df){Yb(df,kb(df),qd)}),r1=a0(function(qd,df,Sf,Yf){Yb(df,kb(df),qd,Yf)}),zA=a0(function(qd,df,Sf,Yf){Yb(df,ob(df),qd,Yf)}),WA=s0(cv);function YA(qd,df){var Sf=ov(qd);return df==null?Sf:OT(Sf,df)}var KA=$_(function(qd,df){qd=ag(qd);var Sf=-1,Yf=df.length,gh=Yf>2?df[2]:nd;for(gh&&Qd(df[0],df[1],gh)&&(Yf=1);++Sf1),Oh}),Yb(qd,rT(qd),Sf),Yf&&(Sf=gb(Sf,vd|Ad|Nd,pE));for(var gh=df.length;gh--;)WE(Sf,df[gh]);return Sf});function fD(qd,df){return Ex(qd,ZS(T_(df)))}var hD=s0(function(qd,df){return qd==null?{}:OS(qd,df)});function Ex(qd,df){if(qd==null)return{};var Sf=ug(rT(qd),function(Yf){return[Yf]});return df=T_(df),RS(qd,Sf,function(Yf,gh){return df(Yf,gh[0])})}function mD(qd,df,Sf){df=F0(df,qd);var Yf=-1,gh=df.length;for(gh||(gh=1,qd=nd);++Yfdf){var Yf=qd;qd=df,df=Yf}if(Sf||qd%1||df%1){var gh=CT();return Lg(qd+gh*(df-qd+xE("1e-"+((gh+"").length-1))),df)}return zE(qd,df)}var AD=Av(function(qd,df,Sf){return df=df.toLowerCase(),qd+(Sf?xx(df):df)});function xx(qd){return U1(sg(qd).toLowerCase())}function Cx(qd){return qd=sg(qd),qd&&qd.replace(Pm,tv).replace(bE,"")}function DD(qd,df,Sf){qd=sg(qd),df=bb(df);var Yf=qd.length;Sf=Sf===nd?Yf:v0(P_(Sf),0,Yf);var gh=Sf;return Sf-=df.length,Sf>=0&&qd.slice(Sf,gh)==df}function ND(qd){return qd=sg(qd),qd&&H_.test(qd)?qd.replace(s_,e0):qd}function wD(qd){return qd=sg(qd),qd&&q_.test(qd)?qd.replace(yg,"\\$&"):qd}var ID=Av(function(qd,df,Sf){return qd+(Sf?"-":"")+df.toLowerCase()}),OD=Av(function(qd,df,Sf){return qd+(Sf?" ":"")+df.toLowerCase()}),RD=US("toLowerCase");function kD(qd,df,Sf){qd=sg(qd),df=P_(df);var Yf=df?nv(qd):0;if(!df||Yf>=df)return qd;var gh=(df-Yf)/2;return JE(ay(gh),Sf)+qd+JE(Wv(gh),Sf)}function MD(qd,df,Sf){qd=sg(qd),df=P_(df);var Yf=df?nv(qd):0;return df&&Yf>>0,Sf?(qd=sg(qd),qd&&(typeof df=="string"||df!=null&&!B1(df))&&(df=bb(df),!df&&rv(qd))?E0(Bb(qd),0,Sf):qd.split(df,Sf)):[]}var UD=Av(function(qd,df,Sf){return qd+(Sf?" ":"")+U1(df)});function HD(qd,df,Sf){return qd=sg(qd),Sf=Sf==null?0:v0(P_(Sf),0,qd.length),df=bb(df),qd.slice(Sf,Sf+df.length)==df}function GD(qd,df,Sf){var Yf=Ah.templateSettings;Sf&&Qd(qd,df,Sf)&&(df=nd),qd=sg(qd),df=r1({},df,Yf,VS);var gh=r1({},df.imports,Yf.imports,VS),Oh=ob(gh),um=Eg(gh,Oh),dm,gm,Gm=0,Vm=df.interpolate||i_,Wm="__p += '",c_=zv((df.escape||i_).source+"|"+Vm.source+"|"+(Vm===h_?Sh:i_).source+"|"+(df.evaluate||i_).source+"|$","g"),v_="//# sourceURL="+(J_.call(df,"sourceURL")?(df.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++TE+"]")+` `;qd.replace(c_,function(D_,G_,W_,Xb,vb,Qb){return W_||(W_=Xb),Wm+=qd.slice(Gm,Qb).replace(Hm,J0),G_&&(dm=!0,Wm+=`' + __e(`+G_+`) + '`),vb&&(gm=!0,Wm+=`'; @@ -1095,26 +1095,26 @@ __p += '`),W_&&(Wm+=`' + function print() { __p += __j.call(arguments, '') } `:`; `)+Wm+`return __p -}`;var F_=Dx(function(){return V_(Oh,v_+"return "+Wm).apply(nd,um)});if(F_.source=Wm,L1(F_))throw F_;return F_}function qD(qd){return sg(qd).toLowerCase()}function VD(qd){return sg(qd).toUpperCase()}function zD(qd,df,Sf){if(qd=sg(qd),qd&&(Sf||df===nd))return d_(qd);if(!qd||!(df=bb(df)))return qd;var zf=Bb(qd),_h=Bb(df),Oh=K_(zf,_h),um=Hg(zf,_h)+1;return E0(zf,Oh,um).join("")}function WD(qd,df,Sf){if(qd=sg(qd),qd&&(Sf||df===nd))return qd.slice(0,gT(qd)+1);if(!qd||!(df=bb(df)))return qd;var zf=Bb(qd),_h=Hg(zf,Bb(df))+1;return E0(zf,0,_h).join("")}function YD(qd,df,Sf){if(qd=sg(qd),qd&&(Sf||df===nd))return qd.replace(Y_,"");if(!qd||!(df=bb(df)))return qd;var zf=Bb(qd),_h=K_(zf,Bb(df));return E0(zf,_h).join("")}function KD(qd,df){var Sf=Zd,zf=Kd;if(Mg(df)){var _h="separator"in df?df.separator:_h;Sf="length"in df?P_(df.length):Sf,zf="omission"in df?bb(df.omission):zf}qd=sg(qd);var Oh=qd.length;if(rv(qd)){var um=Bb(qd);Oh=um.length}if(Sf>=Oh)return qd;var dm=Sf-nv(zf);if(dm<1)return zf;var gm=um?E0(um,0,dm).join(""):qd.slice(0,dm);if(_h===nd)return gm+zf;if(um&&(dm+=gm.length-dm),B1(_h)){if(qd.slice(dm).search(_h)){var Gm,Vm=gm;for(_h.global||(_h=zv(_h.source,sg(Wh.exec(_h))+"g")),_h.lastIndex=0;Gm=_h.exec(Vm);)var Wm=Gm.index;gm=gm.slice(0,Wm===nd?dm:Wm)}}else if(qd.indexOf(bb(_h),dm)!=dm){var c_=gm.lastIndexOf(_h);c_>-1&&(gm=gm.slice(0,c_))}return gm+zf}function XD(qd){return qd=sg(qd),qd&&b_.test(qd)?qd.replace(Xm,nS):qd}var QD=Av(function(qd,df,Sf){return qd+(Sf?" ":"")+df.toUpperCase()}),U1=US("toUpperCase");function Ax(qd,df,Sf){return qd=sg(qd),df=Sf?nd:df,df===nd?eS(qd)?aS(qd):mT(qd):qd.match(df)||[]}var Dx=$_(function(qd,df){try{return lb(qd,nd,df)}catch(Sf){return L1(Sf)?Sf:new I_(Sf)}}),JD=s0(function(qd,df){return fb(df,function(Sf){Sf=Sg(Sf),y0(qd,Sf,$1(qd[Sf],qd))}),qd});function ZD(qd){var df=qd==null?0:qd.length,Sf=T_();return qd=df?ug(qd,function(zf){if(typeof zf[1]!="function")throw new Db(cd);return[Sf(zf[0]),zf[1]]}):[],$_(function(zf){for(var _h=-1;++_hLf)return[];var Sf=Zf,zf=Lg(qd,Zf);df=T_(df),qd-=Zf;for(var _h=Zm(zf,df);++Sf0||df<0)?new S_(Sf):(qd<0?Sf=Sf.takeRight(-qd):qd&&(Sf=Sf.drop(qd)),df!==nd&&(df=P_(df),Sf=df<0?Sf.dropRight(-df):Sf.take(df-qd)),Sf)},S_.prototype.takeRightWhile=function(qd){return this.reverse().takeWhile(qd).reverse()},S_.prototype.toArray=function(){return this.take(Zf)},wb(S_.prototype,function(qd,df){var Sf=/^(?:filter|find|map|reject)|While$/.test(df),zf=/^(?:head|last)$/.test(df),_h=Ah[zf?"take"+(df=="last"?"Right":""):df],Oh=zf||/^find/.test(df);_h&&(Ah.prototype[df]=function(){var um=this.__wrapped__,dm=zf?[1]:arguments,gm=um instanceof S_,Gm=dm[0],Vm=gm||k_(um),Wm=function(G_){var W_=_h.apply(Ah,Lb([G_],dm));return zf&&c_?W_[0]:W_};Vm&&Sf&&typeof Gm=="function"&&Gm.length!=1&&(gm=Vm=!1);var c_=this.__chain__,v_=!!this.__actions__.length,A_=Oh&&!c_,F_=gm&&!v_;if(!Oh&&Vm){um=F_?um:new S_(this);var D_=qd.apply(um,dm);return D_.__actions__.push({func:KS,args:[Wm],thisArg:nd}),new eg(D_,c_)}return A_&&F_?qd.apply(this,dm):(D_=this.thru(Wm),A_?zf?D_.value()[0]:D_.value():D_)})}),fb(["pop","push","shift","sort","splice","unshift"],function(qd){var df=RE[qd],Sf=/^(?:push|sort|unshift)$/.test(qd)?"tap":"thru",zf=/^(?:pop|shift)$/.test(qd);Ah.prototype[qd]=function(){var _h=arguments;if(zf&&!this.__chain__){var Oh=this.value();return df.apply(k_(Oh)?Oh:[],_h)}return this[Sf](function(um){return df.apply(k_(um)?um:[],_h)})}}),wb(S_.prototype,function(qd,df){var Sf=Ah[df];if(Sf){var zf=Sf.name+"";J_.call(oy,zf)||(oy[zf]=[]),oy[zf].push({name:df,func:Sf})}}),oy[XE(nd,Fd).name]=[{name:"wrapper",func:nd}],S_.prototype.clone=Gg,S_.prototype.reverse=Qv,S_.prototype.value=c1,Ah.prototype.at=DC,Ah.prototype.chain=NC,Ah.prototype.commit=wC,Ah.prototype.next=IC,Ah.prototype.plant=RC,Ah.prototype.reverse=kC,Ah.prototype.toJSON=Ah.prototype.valueOf=Ah.prototype.value=MC,Ah.prototype.first=Ah.prototype.head,iy&&(Ah.prototype[iy]=OC),Ah},m0=bT();h0?((h0.exports=m0)._=m0,Hv._=m0):Z_._=m0}).call(commonjsGlobal)})(lodash,lodash.exports);var lodashExports=lodash.exports;const _=getDefaultExportFromCjs(lodashExports);var queryString={},strictUriEncode=Ra=>encodeURIComponent(Ra).replace(/[!'()*]/g,qa=>`%${qa.charCodeAt(0).toString(16).toUpperCase()}`),token="%[a-f0-9]{2}",singleMatcher=new RegExp("("+token+")|([^%]+?)","gi"),multiMatcher=new RegExp("("+token+")+","gi");function decodeComponents(Ra,qa){try{return[decodeURIComponent(Ra.join(""))]}catch{}if(Ra.length===1)return Ra;qa=qa||1;var nd=Ra.slice(0,qa),od=Ra.slice(qa);return Array.prototype.concat.call([],decodeComponents(nd),decodeComponents(od))}function decode(Ra){try{return decodeURIComponent(Ra)}catch{for(var qa=Ra.match(singleMatcher)||[],nd=1;nd{if(!(typeof Ra=="string"&&typeof qa=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(qa==="")return[Ra];const nd=Ra.indexOf(qa);return nd===-1?[Ra]:[Ra.slice(0,nd),Ra.slice(nd+qa.length)]},filterObj=function(Ra,qa){for(var nd={},od=Object.keys(Ra),ld=Array.isArray(qa),ud=0;udMd==null,cd=Symbol("encodeFragmentIdentifier");function dd(Md){switch(Md.arrayFormat){case"index":return Ld=>(Hd,Gd)=>{const Vd=Hd.length;return Gd===void 0||Md.skipNull&&Gd===null||Md.skipEmptyString&&Gd===""?Hd:Gd===null?[...Hd,[md(Ld,Md),"[",Vd,"]"].join("")]:[...Hd,[md(Ld,Md),"[",md(Vd,Md),"]=",md(Gd,Md)].join("")]};case"bracket":return Ld=>(Hd,Gd)=>Gd===void 0||Md.skipNull&&Gd===null||Md.skipEmptyString&&Gd===""?Hd:Gd===null?[...Hd,[md(Ld,Md),"[]"].join("")]:[...Hd,[md(Ld,Md),"[]=",md(Gd,Md)].join("")];case"colon-list-separator":return Ld=>(Hd,Gd)=>Gd===void 0||Md.skipNull&&Gd===null||Md.skipEmptyString&&Gd===""?Hd:Gd===null?[...Hd,[md(Ld,Md),":list="].join("")]:[...Hd,[md(Ld,Md),":list=",md(Gd,Md)].join("")];case"comma":case"separator":case"bracket-separator":{const Ld=Md.arrayFormat==="bracket-separator"?"[]=":"=";return Hd=>(Gd,Vd)=>Vd===void 0||Md.skipNull&&Vd===null||Md.skipEmptyString&&Vd===""?Gd:(Vd=Vd===null?"":Vd,Gd.length===0?[[md(Hd,Md),Ld,md(Vd,Md)].join("")]:[[Gd,md(Vd,Md)].join(Md.arrayFormatSeparator)])}default:return Ld=>(Hd,Gd)=>Gd===void 0||Md.skipNull&&Gd===null||Md.skipEmptyString&&Gd===""?Hd:Gd===null?[...Hd,md(Ld,Md)]:[...Hd,[md(Ld,Md),"=",md(Gd,Md)].join("")]}}function pd(Md){let Ld;switch(Md.arrayFormat){case"index":return(Hd,Gd,Vd)=>{if(Ld=/\[(\d*)\]$/.exec(Hd),Hd=Hd.replace(/\[\d*\]$/,""),!Ld){Vd[Hd]=Gd;return}Vd[Hd]===void 0&&(Vd[Hd]={}),Vd[Hd][Ld[1]]=Gd};case"bracket":return(Hd,Gd,Vd)=>{if(Ld=/(\[\])$/.exec(Hd),Hd=Hd.replace(/\[\]$/,""),!Ld){Vd[Hd]=Gd;return}if(Vd[Hd]===void 0){Vd[Hd]=[Gd];return}Vd[Hd]=[].concat(Vd[Hd],Gd)};case"colon-list-separator":return(Hd,Gd,Vd)=>{if(Ld=/(:list)$/.exec(Hd),Hd=Hd.replace(/:list$/,""),!Ld){Vd[Hd]=Gd;return}if(Vd[Hd]===void 0){Vd[Hd]=[Gd];return}Vd[Hd]=[].concat(Vd[Hd],Gd)};case"comma":case"separator":return(Hd,Gd,Vd)=>{const Qd=typeof Gd=="string"&&Gd.includes(Md.arrayFormatSeparator),mf=typeof Gd=="string"&&!Qd&&vd(Gd,Md).includes(Md.arrayFormatSeparator);Gd=mf?vd(Gd,Md):Gd;const Yd=Qd||mf?Gd.split(Md.arrayFormatSeparator).map(Zd=>vd(Zd,Md)):Gd===null?Gd:vd(Gd,Md);Vd[Hd]=Yd};case"bracket-separator":return(Hd,Gd,Vd)=>{const Qd=/(\[\])$/.test(Hd);if(Hd=Hd.replace(/\[\]$/,""),!Qd){Vd[Hd]=Gd&&vd(Gd,Md);return}const mf=Gd===null?[]:Gd.split(Md.arrayFormatSeparator).map(Yd=>vd(Yd,Md));if(Vd[Hd]===void 0){Vd[Hd]=mf;return}Vd[Hd]=[].concat(Vd[Hd],mf)};default:return(Hd,Gd,Vd)=>{if(Vd[Hd]===void 0){Vd[Hd]=Gd;return}Vd[Hd]=[].concat(Vd[Hd],Gd)}}}function fd(Md){if(typeof Md!="string"||Md.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function md(Md,Ld){return Ld.encode?Ld.strict?qa(Md):encodeURIComponent(Md):Md}function vd(Md,Ld){return Ld.decode?nd(Md):Md}function Ad(Md){return Array.isArray(Md)?Md.sort():typeof Md=="object"?Ad(Object.keys(Md)).sort((Ld,Hd)=>Number(Ld)-Number(Hd)).map(Ld=>Md[Ld]):Md}function Nd(Md){const Ld=Md.indexOf("#");return Ld!==-1&&(Md=Md.slice(0,Ld)),Md}function Id(Md){let Ld="";const Hd=Md.indexOf("#");return Hd!==-1&&(Ld=Md.slice(Hd)),Ld}function kd(Md){Md=Nd(Md);const Ld=Md.indexOf("?");return Ld===-1?"":Md.slice(Ld+1)}function jd(Md,Ld){return Ld.parseNumbers&&!Number.isNaN(Number(Md))&&typeof Md=="string"&&Md.trim()!==""?Md=Number(Md):Ld.parseBooleans&&Md!==null&&(Md.toLowerCase()==="true"||Md.toLowerCase()==="false")&&(Md=Md.toLowerCase()==="true"),Md}function Fd(Md,Ld){Ld=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},Ld),fd(Ld.arrayFormatSeparator);const Hd=pd(Ld),Gd=Object.create(null);if(typeof Md!="string"||(Md=Md.trim().replace(/^[?#&]/,""),!Md))return Gd;for(const Vd of Md.split("&")){if(Vd==="")continue;let[Qd,mf]=od(Ld.decode?Vd.replace(/\+/g," "):Vd,"=");mf=mf===void 0?null:["comma","separator","bracket-separator"].includes(Ld.arrayFormat)?mf:vd(mf,Ld),Hd(vd(Qd,Ld),mf,Gd)}for(const Vd of Object.keys(Gd)){const Qd=Gd[Vd];if(typeof Qd=="object"&&Qd!==null)for(const mf of Object.keys(Qd))Qd[mf]=jd(Qd[mf],Ld);else Gd[Vd]=jd(Qd,Ld)}return Ld.sort===!1?Gd:(Ld.sort===!0?Object.keys(Gd).sort():Object.keys(Gd).sort(Ld.sort)).reduce((Vd,Qd)=>{const mf=Gd[Qd];return mf&&typeof mf=="object"&&!Array.isArray(mf)?Vd[Qd]=Ad(mf):Vd[Qd]=mf,Vd},Object.create(null))}Ra.extract=kd,Ra.parse=Fd,Ra.stringify=(Md,Ld)=>{if(!Md)return"";Ld=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},Ld),fd(Ld.arrayFormatSeparator);const Hd=mf=>Ld.skipNull&&ud(Md[mf])||Ld.skipEmptyString&&Md[mf]==="",Gd=dd(Ld),Vd={};for(const mf of Object.keys(Md))Hd(mf)||(Vd[mf]=Md[mf]);const Qd=Object.keys(Vd);return Ld.sort!==!1&&Qd.sort(Ld.sort),Qd.map(mf=>{const Yd=Md[mf];return Yd===void 0?"":Yd===null?md(mf,Ld):Array.isArray(Yd)?Yd.length===0&&Ld.arrayFormat==="bracket-separator"?md(mf,Ld)+"[]":Yd.reduce(Gd(mf),[]).join("&"):md(mf,Ld)+"="+md(Yd,Ld)}).filter(mf=>mf.length>0).join("&")},Ra.parseUrl=(Md,Ld)=>{Ld=Object.assign({decode:!0},Ld);const[Hd,Gd]=od(Md,"#");return Object.assign({url:Hd.split("?")[0]||"",query:Fd(kd(Md),Ld)},Ld&&Ld.parseFragmentIdentifier&&Gd?{fragmentIdentifier:vd(Gd,Ld)}:{})},Ra.stringifyUrl=(Md,Ld)=>{Ld=Object.assign({encode:!0,strict:!0,[cd]:!0},Ld);const Hd=Nd(Md.url).split("?")[0]||"",Gd=Ra.extract(Md.url),Vd=Ra.parse(Gd,{sort:!1}),Qd=Object.assign(Vd,Md.query);let mf=Ra.stringify(Qd,Ld);mf&&(mf=`?${mf}`);let Yd=Id(Md.url);return Md.fragmentIdentifier&&(Yd=`#${Ld[cd]?md(Md.fragmentIdentifier,Ld):Md.fragmentIdentifier}`),`${Hd}${mf}${Yd}`},Ra.pick=(Md,Ld,Hd)=>{Hd=Object.assign({parseFragmentIdentifier:!0,[cd]:!1},Hd);const{url:Gd,query:Vd,fragmentIdentifier:Qd}=Ra.parseUrl(Md,Hd);return Ra.stringifyUrl({url:Gd,query:ld(Vd,Ld),fragmentIdentifier:Qd},Hd)},Ra.exclude=(Md,Ld,Hd)=>{const Gd=Array.isArray(Ld)?Vd=>!Ld.includes(Vd):(Vd,Qd)=>!Ld(Vd,Qd);return Ra.pick(Md,Gd,Hd)}})(queryString);const Encoder=TextEncoder;var xml$2={exports:{}},XML_CHARACTER_MAP={"&":"&",'"':""","'":"'","<":"<",">":">"};function escapeForXML$1(Ra){return Ra&&Ra.replace?Ra.replace(/([&"<>'])/g,function(qa,nd){return XML_CHARACTER_MAP[nd]}):Ra}var escapeForXML_1=escapeForXML$1,define_process_default$4={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:1},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_e72d6a91-80dc-48ef-805e-8b024d3e943e",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_e72d6a91-80dc-48ef-805e-8b024d3e943e",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"827",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241208.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5833",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12390458500",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_0be29237-df24-42ff-8577-19b0738a094d",INVOCATION_ID:"6082e0c4f23d452ea1611619b2624143",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"467",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 14",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_e72d6a91-80dc-48ef-805e-8b024d3e943e",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_e72d6a91-80dc-48ef-805e-8b024d3e943e",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_e72d6a91-80dc-48ef-805e-8b024d3e943e",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2179,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},escapeForXML=escapeForXML_1,Stream=streamBrowserify.Stream,DEFAULT_INDENT=" ";function xml$1(Ra,qa){typeof qa!="object"&&(qa={indent:qa});var nd=qa.stream?new Stream:null,od="",ld=!1,ud=qa.indent?qa.indent===!0?DEFAULT_INDENT:qa.indent:"",cd=!0;function dd(Ad){cd?define_process_default$4.nextTick(Ad):Ad()}function pd(Ad,Nd){if(Nd!==void 0&&(od+=Nd),Ad&&!ld&&(nd=nd||new Stream,ld=!0),Ad&&ld){var Id=od;dd(function(){nd.emit("data",Id)}),od=""}}function fd(Ad,Nd){format(pd,resolve(Ad,ud,ud?1:0),Nd)}function md(){if(nd){var Ad=od;dd(function(){nd.emit("data",Ad),nd.emit("end"),nd.readable=!1,nd.emit("close")})}}function vd(Ad){var Nd=Ad.encoding||"UTF-8",Id={version:"1.0",encoding:Nd};Ad.standalone&&(Id.standalone=Ad.standalone),fd({"?xml":{_attr:Id}}),od=od.replace("/>","?>")}return dd(function(){cd=!1}),qa.declaration&&vd(qa.declaration),Ra&&Ra.forEach?Ra.forEach(function(Ad,Nd){var Id;Nd+1===Ra.length&&(Id=md),fd(Ad,Id)}):fd(Ra,md),nd?(nd.readable=!0,nd):od}function element(){var Ra=Array.prototype.slice.call(arguments),qa={_elem:resolve(Ra)};return qa.push=function(nd){if(!this.append)throw new Error("not assigned to a parent!");var od=this,ld=this._elem.indent;format(this.append,resolve(nd,ld,this._elem.icount+(ld?1:0)),function(){od.append(!0)})},qa.close=function(nd){nd!==void 0&&this.push(nd),this.end&&this.end()},qa}function create_indent(Ra,qa){return new Array(qa||0).join(Ra||"")}function resolve(Ra,qa,nd){nd=nd||0;var od=create_indent(qa,nd),ld,ud=Ra,cd=!1;if(typeof Ra=="object"){var dd=Object.keys(Ra);if(ld=dd[0],ud=Ra[ld],ud&&ud._elem)return ud._elem.name=ld,ud._elem.icount=nd,ud._elem.indent=qa,ud._elem.indents=od,ud._elem.interrupt=ud,ud._elem}var pd=[],fd=[],md;function vd(Ad){var Nd=Object.keys(Ad);Nd.forEach(function(Id){pd.push(attribute(Id,Ad[Id]))})}switch(typeof ud){case"object":if(ud===null)break;ud._attr&&vd(ud._attr),ud._cdata&&fd.push(("/g,"]]]]>")+"]]>"),ud.forEach&&(md=!1,fd.push(""),ud.forEach(function(Ad){if(typeof Ad=="object"){var Nd=Object.keys(Ad)[0];Nd=="_attr"?vd(Ad._attr):fd.push(resolve(Ad,qa,nd+1))}else fd.pop(),md=!0,fd.push(escapeForXML(Ad))}),md||fd.push(""));break;default:fd.push(escapeForXML(ud))}return{name:ld,interrupt:cd,attributes:pd,content:fd,icount:nd,indents:od,indent:qa}}function format(Ra,qa,nd){if(typeof qa!="object")return Ra(!1,qa);var od=qa.interrupt?1:qa.content.length;function ld(){for(;qa.content.length;){var cd=qa.content.shift();if(cd!==void 0){if(ud(cd))return;format(Ra,cd)}}Ra(!1,(od>1?qa.indents:"")+(qa.name?"":"")+(qa.indent&&!nd?` +}`;var F_=Dx(function(){return V_(Oh,v_+"return "+Wm).apply(nd,um)});if(F_.source=Wm,L1(F_))throw F_;return F_}function qD(qd){return sg(qd).toLowerCase()}function VD(qd){return sg(qd).toUpperCase()}function zD(qd,df,Sf){if(qd=sg(qd),qd&&(Sf||df===nd))return d_(qd);if(!qd||!(df=bb(df)))return qd;var Yf=Bb(qd),gh=Bb(df),Oh=K_(Yf,gh),um=Hg(Yf,gh)+1;return E0(Yf,Oh,um).join("")}function WD(qd,df,Sf){if(qd=sg(qd),qd&&(Sf||df===nd))return qd.slice(0,gT(qd)+1);if(!qd||!(df=bb(df)))return qd;var Yf=Bb(qd),gh=Hg(Yf,Bb(df))+1;return E0(Yf,0,gh).join("")}function YD(qd,df,Sf){if(qd=sg(qd),qd&&(Sf||df===nd))return qd.replace(Y_,"");if(!qd||!(df=bb(df)))return qd;var Yf=Bb(qd),gh=K_(Yf,Bb(df));return E0(Yf,gh).join("")}function KD(qd,df){var Sf=Zd,Yf=Xd;if(Mg(df)){var gh="separator"in df?df.separator:gh;Sf="length"in df?P_(df.length):Sf,Yf="omission"in df?bb(df.omission):Yf}qd=sg(qd);var Oh=qd.length;if(rv(qd)){var um=Bb(qd);Oh=um.length}if(Sf>=Oh)return qd;var dm=Sf-nv(Yf);if(dm<1)return Yf;var gm=um?E0(um,0,dm).join(""):qd.slice(0,dm);if(gh===nd)return gm+Yf;if(um&&(dm+=gm.length-dm),B1(gh)){if(qd.slice(dm).search(gh)){var Gm,Vm=gm;for(gh.global||(gh=zv(gh.source,sg(Wh.exec(gh))+"g")),gh.lastIndex=0;Gm=gh.exec(Vm);)var Wm=Gm.index;gm=gm.slice(0,Wm===nd?dm:Wm)}}else if(qd.indexOf(bb(gh),dm)!=dm){var c_=gm.lastIndexOf(gh);c_>-1&&(gm=gm.slice(0,c_))}return gm+Yf}function XD(qd){return qd=sg(qd),qd&&b_.test(qd)?qd.replace(Xm,nS):qd}var QD=Av(function(qd,df,Sf){return qd+(Sf?" ":"")+df.toUpperCase()}),U1=US("toUpperCase");function Ax(qd,df,Sf){return qd=sg(qd),df=Sf?nd:df,df===nd?eS(qd)?aS(qd):mT(qd):qd.match(df)||[]}var Dx=$_(function(qd,df){try{return lb(qd,nd,df)}catch(Sf){return L1(Sf)?Sf:new I_(Sf)}}),JD=s0(function(qd,df){return fb(df,function(Sf){Sf=Sg(Sf),y0(qd,Sf,$1(qd[Sf],qd))}),qd});function ZD(qd){var df=qd==null?0:qd.length,Sf=T_();return qd=df?ug(qd,function(Yf){if(typeof Yf[1]!="function")throw new Db(cd);return[Sf(Yf[0]),Yf[1]]}):[],$_(function(Yf){for(var gh=-1;++ghLf)return[];var Sf=Zf,Yf=Lg(qd,Zf);df=T_(df),qd-=Zf;for(var gh=Zm(Yf,df);++Sf0||df<0)?new S_(Sf):(qd<0?Sf=Sf.takeRight(-qd):qd&&(Sf=Sf.drop(qd)),df!==nd&&(df=P_(df),Sf=df<0?Sf.dropRight(-df):Sf.take(df-qd)),Sf)},S_.prototype.takeRightWhile=function(qd){return this.reverse().takeWhile(qd).reverse()},S_.prototype.toArray=function(){return this.take(Zf)},wb(S_.prototype,function(qd,df){var Sf=/^(?:filter|find|map|reject)|While$/.test(df),Yf=/^(?:head|last)$/.test(df),gh=Ah[Yf?"take"+(df=="last"?"Right":""):df],Oh=Yf||/^find/.test(df);gh&&(Ah.prototype[df]=function(){var um=this.__wrapped__,dm=Yf?[1]:arguments,gm=um instanceof S_,Gm=dm[0],Vm=gm||k_(um),Wm=function(G_){var W_=gh.apply(Ah,Lb([G_],dm));return Yf&&c_?W_[0]:W_};Vm&&Sf&&typeof Gm=="function"&&Gm.length!=1&&(gm=Vm=!1);var c_=this.__chain__,v_=!!this.__actions__.length,A_=Oh&&!c_,F_=gm&&!v_;if(!Oh&&Vm){um=F_?um:new S_(this);var D_=qd.apply(um,dm);return D_.__actions__.push({func:KS,args:[Wm],thisArg:nd}),new eg(D_,c_)}return A_&&F_?qd.apply(this,dm):(D_=this.thru(Wm),A_?Yf?D_.value()[0]:D_.value():D_)})}),fb(["pop","push","shift","sort","splice","unshift"],function(qd){var df=RE[qd],Sf=/^(?:push|sort|unshift)$/.test(qd)?"tap":"thru",Yf=/^(?:pop|shift)$/.test(qd);Ah.prototype[qd]=function(){var gh=arguments;if(Yf&&!this.__chain__){var Oh=this.value();return df.apply(k_(Oh)?Oh:[],gh)}return this[Sf](function(um){return df.apply(k_(um)?um:[],gh)})}}),wb(S_.prototype,function(qd,df){var Sf=Ah[df];if(Sf){var Yf=Sf.name+"";J_.call(oy,Yf)||(oy[Yf]=[]),oy[Yf].push({name:df,func:Sf})}}),oy[XE(nd,Fd).name]=[{name:"wrapper",func:nd}],S_.prototype.clone=Gg,S_.prototype.reverse=Qv,S_.prototype.value=c1,Ah.prototype.at=DC,Ah.prototype.chain=NC,Ah.prototype.commit=wC,Ah.prototype.next=IC,Ah.prototype.plant=RC,Ah.prototype.reverse=kC,Ah.prototype.toJSON=Ah.prototype.valueOf=Ah.prototype.value=MC,Ah.prototype.first=Ah.prototype.head,iy&&(Ah.prototype[iy]=OC),Ah},m0=bT();h0?((h0.exports=m0)._=m0,Hv._=m0):Z_._=m0}).call(commonjsGlobal)})(lodash,lodash.exports);var lodashExports=lodash.exports;const _=getDefaultExportFromCjs(lodashExports);var queryString={},strictUriEncode=Ra=>encodeURIComponent(Ra).replace(/[!'()*]/g,qa=>`%${qa.charCodeAt(0).toString(16).toUpperCase()}`),token="%[a-f0-9]{2}",singleMatcher=new RegExp("("+token+")|([^%]+?)","gi"),multiMatcher=new RegExp("("+token+")+","gi");function decodeComponents(Ra,qa){try{return[decodeURIComponent(Ra.join(""))]}catch{}if(Ra.length===1)return Ra;qa=qa||1;var nd=Ra.slice(0,qa),od=Ra.slice(qa);return Array.prototype.concat.call([],decodeComponents(nd),decodeComponents(od))}function decode(Ra){try{return decodeURIComponent(Ra)}catch{for(var qa=Ra.match(singleMatcher)||[],nd=1;nd{if(!(typeof Ra=="string"&&typeof qa=="string"))throw new TypeError("Expected the arguments to be of type `string`");if(qa==="")return[Ra];const nd=Ra.indexOf(qa);return nd===-1?[Ra]:[Ra.slice(0,nd),Ra.slice(nd+qa.length)]},filterObj=function(Ra,qa){for(var nd={},od=Object.keys(Ra),ld=Array.isArray(qa),ud=0;udMd==null,cd=Symbol("encodeFragmentIdentifier");function dd(Md){switch(Md.arrayFormat){case"index":return Ld=>(Hd,Gd)=>{const Vd=Hd.length;return Gd===void 0||Md.skipNull&&Gd===null||Md.skipEmptyString&&Gd===""?Hd:Gd===null?[...Hd,[md(Ld,Md),"[",Vd,"]"].join("")]:[...Hd,[md(Ld,Md),"[",md(Vd,Md),"]=",md(Gd,Md)].join("")]};case"bracket":return Ld=>(Hd,Gd)=>Gd===void 0||Md.skipNull&&Gd===null||Md.skipEmptyString&&Gd===""?Hd:Gd===null?[...Hd,[md(Ld,Md),"[]"].join("")]:[...Hd,[md(Ld,Md),"[]=",md(Gd,Md)].join("")];case"colon-list-separator":return Ld=>(Hd,Gd)=>Gd===void 0||Md.skipNull&&Gd===null||Md.skipEmptyString&&Gd===""?Hd:Gd===null?[...Hd,[md(Ld,Md),":list="].join("")]:[...Hd,[md(Ld,Md),":list=",md(Gd,Md)].join("")];case"comma":case"separator":case"bracket-separator":{const Ld=Md.arrayFormat==="bracket-separator"?"[]=":"=";return Hd=>(Gd,Vd)=>Vd===void 0||Md.skipNull&&Vd===null||Md.skipEmptyString&&Vd===""?Gd:(Vd=Vd===null?"":Vd,Gd.length===0?[[md(Hd,Md),Ld,md(Vd,Md)].join("")]:[[Gd,md(Vd,Md)].join(Md.arrayFormatSeparator)])}default:return Ld=>(Hd,Gd)=>Gd===void 0||Md.skipNull&&Gd===null||Md.skipEmptyString&&Gd===""?Hd:Gd===null?[...Hd,md(Ld,Md)]:[...Hd,[md(Ld,Md),"=",md(Gd,Md)].join("")]}}function pd(Md){let Ld;switch(Md.arrayFormat){case"index":return(Hd,Gd,Vd)=>{if(Ld=/\[(\d*)\]$/.exec(Hd),Hd=Hd.replace(/\[\d*\]$/,""),!Ld){Vd[Hd]=Gd;return}Vd[Hd]===void 0&&(Vd[Hd]={}),Vd[Hd][Ld[1]]=Gd};case"bracket":return(Hd,Gd,Vd)=>{if(Ld=/(\[\])$/.exec(Hd),Hd=Hd.replace(/\[\]$/,""),!Ld){Vd[Hd]=Gd;return}if(Vd[Hd]===void 0){Vd[Hd]=[Gd];return}Vd[Hd]=[].concat(Vd[Hd],Gd)};case"colon-list-separator":return(Hd,Gd,Vd)=>{if(Ld=/(:list)$/.exec(Hd),Hd=Hd.replace(/:list$/,""),!Ld){Vd[Hd]=Gd;return}if(Vd[Hd]===void 0){Vd[Hd]=[Gd];return}Vd[Hd]=[].concat(Vd[Hd],Gd)};case"comma":case"separator":return(Hd,Gd,Vd)=>{const Kd=typeof Gd=="string"&&Gd.includes(Md.arrayFormatSeparator),mf=typeof Gd=="string"&&!Kd&&vd(Gd,Md).includes(Md.arrayFormatSeparator);Gd=mf?vd(Gd,Md):Gd;const Wd=Kd||mf?Gd.split(Md.arrayFormatSeparator).map(Zd=>vd(Zd,Md)):Gd===null?Gd:vd(Gd,Md);Vd[Hd]=Wd};case"bracket-separator":return(Hd,Gd,Vd)=>{const Kd=/(\[\])$/.test(Hd);if(Hd=Hd.replace(/\[\]$/,""),!Kd){Vd[Hd]=Gd&&vd(Gd,Md);return}const mf=Gd===null?[]:Gd.split(Md.arrayFormatSeparator).map(Wd=>vd(Wd,Md));if(Vd[Hd]===void 0){Vd[Hd]=mf;return}Vd[Hd]=[].concat(Vd[Hd],mf)};default:return(Hd,Gd,Vd)=>{if(Vd[Hd]===void 0){Vd[Hd]=Gd;return}Vd[Hd]=[].concat(Vd[Hd],Gd)}}}function fd(Md){if(typeof Md!="string"||Md.length!==1)throw new TypeError("arrayFormatSeparator must be single character string")}function md(Md,Ld){return Ld.encode?Ld.strict?qa(Md):encodeURIComponent(Md):Md}function vd(Md,Ld){return Ld.decode?nd(Md):Md}function Ad(Md){return Array.isArray(Md)?Md.sort():typeof Md=="object"?Ad(Object.keys(Md)).sort((Ld,Hd)=>Number(Ld)-Number(Hd)).map(Ld=>Md[Ld]):Md}function Nd(Md){const Ld=Md.indexOf("#");return Ld!==-1&&(Md=Md.slice(0,Ld)),Md}function Id(Md){let Ld="";const Hd=Md.indexOf("#");return Hd!==-1&&(Ld=Md.slice(Hd)),Ld}function kd(Md){Md=Nd(Md);const Ld=Md.indexOf("?");return Ld===-1?"":Md.slice(Ld+1)}function jd(Md,Ld){return Ld.parseNumbers&&!Number.isNaN(Number(Md))&&typeof Md=="string"&&Md.trim()!==""?Md=Number(Md):Ld.parseBooleans&&Md!==null&&(Md.toLowerCase()==="true"||Md.toLowerCase()==="false")&&(Md=Md.toLowerCase()==="true"),Md}function Fd(Md,Ld){Ld=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},Ld),fd(Ld.arrayFormatSeparator);const Hd=pd(Ld),Gd=Object.create(null);if(typeof Md!="string"||(Md=Md.trim().replace(/^[?#&]/,""),!Md))return Gd;for(const Vd of Md.split("&")){if(Vd==="")continue;let[Kd,mf]=od(Ld.decode?Vd.replace(/\+/g," "):Vd,"=");mf=mf===void 0?null:["comma","separator","bracket-separator"].includes(Ld.arrayFormat)?mf:vd(mf,Ld),Hd(vd(Kd,Ld),mf,Gd)}for(const Vd of Object.keys(Gd)){const Kd=Gd[Vd];if(typeof Kd=="object"&&Kd!==null)for(const mf of Object.keys(Kd))Kd[mf]=jd(Kd[mf],Ld);else Gd[Vd]=jd(Kd,Ld)}return Ld.sort===!1?Gd:(Ld.sort===!0?Object.keys(Gd).sort():Object.keys(Gd).sort(Ld.sort)).reduce((Vd,Kd)=>{const mf=Gd[Kd];return mf&&typeof mf=="object"&&!Array.isArray(mf)?Vd[Kd]=Ad(mf):Vd[Kd]=mf,Vd},Object.create(null))}Ra.extract=kd,Ra.parse=Fd,Ra.stringify=(Md,Ld)=>{if(!Md)return"";Ld=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},Ld),fd(Ld.arrayFormatSeparator);const Hd=mf=>Ld.skipNull&&ud(Md[mf])||Ld.skipEmptyString&&Md[mf]==="",Gd=dd(Ld),Vd={};for(const mf of Object.keys(Md))Hd(mf)||(Vd[mf]=Md[mf]);const Kd=Object.keys(Vd);return Ld.sort!==!1&&Kd.sort(Ld.sort),Kd.map(mf=>{const Wd=Md[mf];return Wd===void 0?"":Wd===null?md(mf,Ld):Array.isArray(Wd)?Wd.length===0&&Ld.arrayFormat==="bracket-separator"?md(mf,Ld)+"[]":Wd.reduce(Gd(mf),[]).join("&"):md(mf,Ld)+"="+md(Wd,Ld)}).filter(mf=>mf.length>0).join("&")},Ra.parseUrl=(Md,Ld)=>{Ld=Object.assign({decode:!0},Ld);const[Hd,Gd]=od(Md,"#");return Object.assign({url:Hd.split("?")[0]||"",query:Fd(kd(Md),Ld)},Ld&&Ld.parseFragmentIdentifier&&Gd?{fragmentIdentifier:vd(Gd,Ld)}:{})},Ra.stringifyUrl=(Md,Ld)=>{Ld=Object.assign({encode:!0,strict:!0,[cd]:!0},Ld);const Hd=Nd(Md.url).split("?")[0]||"",Gd=Ra.extract(Md.url),Vd=Ra.parse(Gd,{sort:!1}),Kd=Object.assign(Vd,Md.query);let mf=Ra.stringify(Kd,Ld);mf&&(mf=`?${mf}`);let Wd=Id(Md.url);return Md.fragmentIdentifier&&(Wd=`#${Ld[cd]?md(Md.fragmentIdentifier,Ld):Md.fragmentIdentifier}`),`${Hd}${mf}${Wd}`},Ra.pick=(Md,Ld,Hd)=>{Hd=Object.assign({parseFragmentIdentifier:!0,[cd]:!1},Hd);const{url:Gd,query:Vd,fragmentIdentifier:Kd}=Ra.parseUrl(Md,Hd);return Ra.stringifyUrl({url:Gd,query:ld(Vd,Ld),fragmentIdentifier:Kd},Hd)},Ra.exclude=(Md,Ld,Hd)=>{const Gd=Array.isArray(Ld)?Vd=>!Ld.includes(Vd):(Vd,Kd)=>!Ld(Vd,Kd);return Ra.pick(Md,Gd,Hd)}})(queryString);const Encoder=TextEncoder;var xml$2={exports:{}},XML_CHARACTER_MAP={"&":"&",'"':""","'":"'","<":"<",">":">"};function escapeForXML$1(Ra){return Ra&&Ra.replace?Ra.replace(/([&"<>'])/g,function(qa,nd){return XML_CHARACTER_MAP[nd]}):Ra}var escapeForXML_1=escapeForXML$1,define_process_default$4={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_9b3b18d1-9340-49ab-b4e8-5023772e0970",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_9b3b18d1-9340-49ab-b4e8-5023772e0970",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:1985",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12403591553",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_77bf6c2e-16c6-46b5-9674-d636e159247f",INVOCATION_ID:"2e23158896aa43b4b0c7cc0c353d16fa",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"468",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 17",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_9b3b18d1-9340-49ab-b4e8-5023772e0970",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_9b3b18d1-9340-49ab-b4e8-5023772e0970",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_9b3b18d1-9340-49ab-b4e8-5023772e0970",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2165,ppid:2164,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}},escapeForXML=escapeForXML_1,Stream=streamBrowserify.Stream,DEFAULT_INDENT=" ";function xml$1(Ra,qa){typeof qa!="object"&&(qa={indent:qa});var nd=qa.stream?new Stream:null,od="",ld=!1,ud=qa.indent?qa.indent===!0?DEFAULT_INDENT:qa.indent:"",cd=!0;function dd(Ad){cd?define_process_default$4.nextTick(Ad):Ad()}function pd(Ad,Nd){if(Nd!==void 0&&(od+=Nd),Ad&&!ld&&(nd=nd||new Stream,ld=!0),Ad&&ld){var Id=od;dd(function(){nd.emit("data",Id)}),od=""}}function fd(Ad,Nd){format(pd,resolve(Ad,ud,ud?1:0),Nd)}function md(){if(nd){var Ad=od;dd(function(){nd.emit("data",Ad),nd.emit("end"),nd.readable=!1,nd.emit("close")})}}function vd(Ad){var Nd=Ad.encoding||"UTF-8",Id={version:"1.0",encoding:Nd};Ad.standalone&&(Id.standalone=Ad.standalone),fd({"?xml":{_attr:Id}}),od=od.replace("/>","?>")}return dd(function(){cd=!1}),qa.declaration&&vd(qa.declaration),Ra&&Ra.forEach?Ra.forEach(function(Ad,Nd){var Id;Nd+1===Ra.length&&(Id=md),fd(Ad,Id)}):fd(Ra,md),nd?(nd.readable=!0,nd):od}function element(){var Ra=Array.prototype.slice.call(arguments),qa={_elem:resolve(Ra)};return qa.push=function(nd){if(!this.append)throw new Error("not assigned to a parent!");var od=this,ld=this._elem.indent;format(this.append,resolve(nd,ld,this._elem.icount+(ld?1:0)),function(){od.append(!0)})},qa.close=function(nd){nd!==void 0&&this.push(nd),this.end&&this.end()},qa}function create_indent(Ra,qa){return new Array(qa||0).join(Ra||"")}function resolve(Ra,qa,nd){nd=nd||0;var od=create_indent(qa,nd),ld,ud=Ra,cd=!1;if(typeof Ra=="object"){var dd=Object.keys(Ra);if(ld=dd[0],ud=Ra[ld],ud&&ud._elem)return ud._elem.name=ld,ud._elem.icount=nd,ud._elem.indent=qa,ud._elem.indents=od,ud._elem.interrupt=ud,ud._elem}var pd=[],fd=[],md;function vd(Ad){var Nd=Object.keys(Ad);Nd.forEach(function(Id){pd.push(attribute(Id,Ad[Id]))})}switch(typeof ud){case"object":if(ud===null)break;ud._attr&&vd(ud._attr),ud._cdata&&fd.push(("/g,"]]]]>")+"]]>"),ud.forEach&&(md=!1,fd.push(""),ud.forEach(function(Ad){if(typeof Ad=="object"){var Nd=Object.keys(Ad)[0];Nd=="_attr"?vd(Ad._attr):fd.push(resolve(Ad,qa,nd+1))}else fd.pop(),md=!0,fd.push(escapeForXML(Ad))}),md||fd.push(""));break;default:fd.push(escapeForXML(ud))}return{name:ld,interrupt:cd,attributes:pd,content:fd,icount:nd,indents:od,indent:qa}}function format(Ra,qa,nd){if(typeof qa!="object")return Ra(!1,qa);var od=qa.interrupt?1:qa.content.length;function ld(){for(;qa.content.length;){var cd=qa.content.shift();if(cd!==void 0){if(ud(cd))return;format(Ra,cd)}}Ra(!1,(od>1?qa.indents:"")+(qa.name?"":"")+(qa.indent&&!nd?` `:"")),nd&&nd()}function ud(cd){return cd.interrupt?(cd.interrupt.append=Ra,cd.interrupt.end=ld,cd.interrupt=!1,Ra(!0),!0):!1}if(Ra(!1,qa.indents+(qa.name?"<"+qa.name:"")+(qa.attributes.length?" "+qa.attributes.join(" "):"")+(od?qa.name?">":"":qa.name?"/>":"")+(qa.indent&&od>1?` `:"")),!od)return Ra(!1,qa.indent?` `:"");ud(qa)||ld()}function attribute(Ra,qa){return Ra+'="'+escapeForXML(qa)+'"'}xml$2.exports=xml$1;xml$2.exports.element=xml$2.exports.Element=element;var xmlExports=xml$2.exports;const Xml=getDefaultExportFromCjs(xmlExports);var xml2js={},defaults={},hasRequiredDefaults;function requireDefaults(){return hasRequiredDefaults||(hasRequiredDefaults=1,(function(){defaults.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:` -`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(commonjsGlobal)),defaults}var builder={},lib$2={},Utility={},hasRequiredUtility;function requireUtility(){return hasRequiredUtility||(hasRequiredUtility=1,(function(){var Ra,qa,nd,od,ld,ud,cd,dd=[].slice,pd={}.hasOwnProperty;Ra=function(){var fd,md,vd,Ad,Nd,Id;if(Id=arguments[0],Nd=2<=arguments.length?dd.call(arguments,1):[],ld(Object.assign))Object.assign.apply(null,arguments);else for(fd=0,vd=Nd.length;fd":"attribute: {"+nd+"}, parent: <"+this.parent.name+">"},qa.prototype.isEqualNode=function(nd){return!(nd.namespaceURI!==this.namespaceURI||nd.prefix!==this.prefix||nd.localName!==this.localName||nd.value!==this.value)},qa}()}).call(commonjsGlobal)),XMLAttribute.exports}var XMLNamedNodeMap={exports:{}},hasRequiredXMLNamedNodeMap;function requireXMLNamedNodeMap(){return hasRequiredXMLNamedNodeMap||(hasRequiredXMLNamedNodeMap=1,(function(){XMLNamedNodeMap.exports=function(){function Ra(qa){this.nodes=qa}return Object.defineProperty(Ra.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),Ra.prototype.clone=function(){return this.nodes=null},Ra.prototype.getNamedItem=function(qa){return this.nodes[qa]},Ra.prototype.setNamedItem=function(qa){var nd;return nd=this.nodes[qa.nodeName],this.nodes[qa.nodeName]=qa,nd||null},Ra.prototype.removeNamedItem=function(qa){var nd;return nd=this.nodes[qa],delete this.nodes[qa],nd||null},Ra.prototype.item=function(qa){return this.nodes[Object.keys(this.nodes)[qa]]||null},Ra.prototype.getNamedItemNS=function(qa,nd){throw new Error("This DOM method is not implemented.")},Ra.prototype.setNamedItemNS=function(qa){throw new Error("This DOM method is not implemented.")},Ra.prototype.removeNamedItemNS=function(qa,nd){throw new Error("This DOM method is not implemented.")},Ra}()}).call(commonjsGlobal)),XMLNamedNodeMap.exports}var hasRequiredXMLElement;function requireXMLElement(){return hasRequiredXMLElement||(hasRequiredXMLElement=1,(function(){var Ra,qa,nd,od,ld,ud,cd,dd,pd=function(md,vd){for(var Ad in vd)fd.call(vd,Ad)&&(md[Ad]=vd[Ad]);function Nd(){this.constructor=md}return Nd.prototype=vd.prototype,md.prototype=new Nd,md.__super__=vd.prototype,md},fd={}.hasOwnProperty;dd=requireUtility(),cd=dd.isObject,ud=dd.isFunction,ld=dd.getValue,od=requireXMLNode(),Ra=requireNodeType(),qa=requireXMLAttribute(),nd=requireXMLNamedNodeMap(),XMLElement.exports=function(md){pd(vd,md);function vd(Ad,Nd,Id){var kd,jd,Fd,Md;if(vd.__super__.constructor.call(this,Ad),Nd==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(Nd),this.type=Ra.Element,this.attribs={},this.schemaTypeInfo=null,Id!=null&&this.attribute(Id),Ad.type===Ra.Document&&(this.isRoot=!0,this.documentObject=Ad,Ad.rootObject=this,Ad.children)){for(Md=Ad.children,jd=0,Fd=Md.length;jd=kd;Nd=0<=kd?++Id:--Id)if(!this.attribs[Nd].isEqualNode(Ad.attribs[Nd]))return!1;return!0},vd}(od)}).call(commonjsGlobal)),XMLElement.exports}var XMLCData={exports:{}},XMLCharacterData={exports:{}},hasRequiredXMLCharacterData;function requireXMLCharacterData(){return hasRequiredXMLCharacterData||(hasRequiredXMLCharacterData=1,(function(){var Ra,qa=function(od,ld){for(var ud in ld)nd.call(ld,ud)&&(od[ud]=ld[ud]);function cd(){this.constructor=od}return cd.prototype=ld.prototype,od.prototype=new cd,od.__super__=ld.prototype,od},nd={}.hasOwnProperty;Ra=requireXMLNode(),XMLCharacterData.exports=function(od){qa(ld,od);function ld(ud){ld.__super__.constructor.call(this,ud),this.value=""}return Object.defineProperty(ld.prototype,"data",{get:function(){return this.value},set:function(ud){return this.value=ud||""}}),Object.defineProperty(ld.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(ld.prototype,"textContent",{get:function(){return this.value},set:function(ud){return this.value=ud||""}}),ld.prototype.clone=function(){return Object.create(this)},ld.prototype.substringData=function(ud,cd){throw new Error("This DOM method is not implemented."+this.debugInfo())},ld.prototype.appendData=function(ud){throw new Error("This DOM method is not implemented."+this.debugInfo())},ld.prototype.insertData=function(ud,cd){throw new Error("This DOM method is not implemented."+this.debugInfo())},ld.prototype.deleteData=function(ud,cd){throw new Error("This DOM method is not implemented."+this.debugInfo())},ld.prototype.replaceData=function(ud,cd,dd){throw new Error("This DOM method is not implemented."+this.debugInfo())},ld.prototype.isEqualNode=function(ud){return!(!ld.__super__.isEqualNode.apply(this,arguments).isEqualNode(ud)||ud.data!==this.data)},ld}(Ra)}).call(commonjsGlobal)),XMLCharacterData.exports}var hasRequiredXMLCData;function requireXMLCData(){return hasRequiredXMLCData||(hasRequiredXMLCData=1,(function(){var Ra,qa,nd=function(ld,ud){for(var cd in ud)od.call(ud,cd)&&(ld[cd]=ud[cd]);function dd(){this.constructor=ld}return dd.prototype=ud.prototype,ld.prototype=new dd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;Ra=requireNodeType(),qa=requireXMLCharacterData(),XMLCData.exports=function(ld){nd(ud,ld);function ud(cd,dd){if(ud.__super__.constructor.call(this,cd),dd==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=Ra.CData,this.value=this.stringify.cdata(dd)}return ud.prototype.clone=function(){return Object.create(this)},ud.prototype.toString=function(cd){return this.options.writer.cdata(this,this.options.writer.filterOptions(cd))},ud}(qa)}).call(commonjsGlobal)),XMLCData.exports}var XMLComment={exports:{}},hasRequiredXMLComment;function requireXMLComment(){return hasRequiredXMLComment||(hasRequiredXMLComment=1,(function(){var Ra,qa,nd=function(ld,ud){for(var cd in ud)od.call(ud,cd)&&(ld[cd]=ud[cd]);function dd(){this.constructor=ld}return dd.prototype=ud.prototype,ld.prototype=new dd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;Ra=requireNodeType(),qa=requireXMLCharacterData(),XMLComment.exports=function(ld){nd(ud,ld);function ud(cd,dd){if(ud.__super__.constructor.call(this,cd),dd==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=Ra.Comment,this.value=this.stringify.comment(dd)}return ud.prototype.clone=function(){return Object.create(this)},ud.prototype.toString=function(cd){return this.options.writer.comment(this,this.options.writer.filterOptions(cd))},ud}(qa)}).call(commonjsGlobal)),XMLComment.exports}var XMLDeclaration={exports:{}},hasRequiredXMLDeclaration;function requireXMLDeclaration(){return hasRequiredXMLDeclaration||(hasRequiredXMLDeclaration=1,(function(){var Ra,qa,nd,od=function(ud,cd){for(var dd in cd)ld.call(cd,dd)&&(ud[dd]=cd[dd]);function pd(){this.constructor=ud}return pd.prototype=cd.prototype,ud.prototype=new pd,ud.__super__=cd.prototype,ud},ld={}.hasOwnProperty;nd=requireUtility().isObject,qa=requireXMLNode(),Ra=requireNodeType(),XMLDeclaration.exports=function(ud){od(cd,ud);function cd(dd,pd,fd,md){var vd;cd.__super__.constructor.call(this,dd),nd(pd)&&(vd=pd,pd=vd.version,fd=vd.encoding,md=vd.standalone),pd||(pd="1.0"),this.type=Ra.Declaration,this.version=this.stringify.xmlVersion(pd),fd!=null&&(this.encoding=this.stringify.xmlEncoding(fd)),md!=null&&(this.standalone=this.stringify.xmlStandalone(md))}return cd.prototype.toString=function(dd){return this.options.writer.declaration(this,this.options.writer.filterOptions(dd))},cd}(qa)}).call(commonjsGlobal)),XMLDeclaration.exports}var XMLDocType={exports:{}},XMLDTDAttList={exports:{}},hasRequiredXMLDTDAttList;function requireXMLDTDAttList(){return hasRequiredXMLDTDAttList||(hasRequiredXMLDTDAttList=1,(function(){var Ra,qa,nd=function(ld,ud){for(var cd in ud)od.call(ud,cd)&&(ld[cd]=ud[cd]);function dd(){this.constructor=ld}return dd.prototype=ud.prototype,ld.prototype=new dd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDAttList.exports=function(ld){nd(ud,ld);function ud(cd,dd,pd,fd,md,vd){if(ud.__super__.constructor.call(this,cd),dd==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(pd==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(dd));if(!fd)throw new Error("Missing DTD attribute type. "+this.debugInfo(dd));if(!md)throw new Error("Missing DTD attribute default. "+this.debugInfo(dd));if(md.indexOf("#")!==0&&(md="#"+md),!md.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(dd));if(vd&&!md.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(dd));this.elementName=this.stringify.name(dd),this.type=Ra.AttributeDeclaration,this.attributeName=this.stringify.name(pd),this.attributeType=this.stringify.dtdAttType(fd),vd&&(this.defaultValue=this.stringify.dtdAttDefault(vd)),this.defaultValueType=md}return ud.prototype.toString=function(cd){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(cd))},ud}(qa)}).call(commonjsGlobal)),XMLDTDAttList.exports}var XMLDTDEntity={exports:{}},hasRequiredXMLDTDEntity;function requireXMLDTDEntity(){return hasRequiredXMLDTDEntity||(hasRequiredXMLDTDEntity=1,(function(){var Ra,qa,nd,od=function(ud,cd){for(var dd in cd)ld.call(cd,dd)&&(ud[dd]=cd[dd]);function pd(){this.constructor=ud}return pd.prototype=cd.prototype,ud.prototype=new pd,ud.__super__=cd.prototype,ud},ld={}.hasOwnProperty;nd=requireUtility().isObject,qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDEntity.exports=function(ud){od(cd,ud);function cd(dd,pd,fd,md){if(cd.__super__.constructor.call(this,dd),fd==null)throw new Error("Missing DTD entity name. "+this.debugInfo(fd));if(md==null)throw new Error("Missing DTD entity value. "+this.debugInfo(fd));if(this.pe=!!pd,this.name=this.stringify.name(fd),this.type=Ra.EntityDeclaration,!nd(md))this.value=this.stringify.dtdEntityValue(md),this.internal=!0;else{if(!md.pubID&&!md.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(fd));if(md.pubID&&!md.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(fd));if(this.internal=!1,md.pubID!=null&&(this.pubID=this.stringify.dtdPubID(md.pubID)),md.sysID!=null&&(this.sysID=this.stringify.dtdSysID(md.sysID)),md.nData!=null&&(this.nData=this.stringify.dtdNData(md.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(fd))}}return Object.defineProperty(cd.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(cd.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(cd.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(cd.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(cd.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(cd.prototype,"xmlVersion",{get:function(){return null}}),cd.prototype.toString=function(dd){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(dd))},cd}(qa)}).call(commonjsGlobal)),XMLDTDEntity.exports}var XMLDTDElement={exports:{}},hasRequiredXMLDTDElement;function requireXMLDTDElement(){return hasRequiredXMLDTDElement||(hasRequiredXMLDTDElement=1,(function(){var Ra,qa,nd=function(ld,ud){for(var cd in ud)od.call(ud,cd)&&(ld[cd]=ud[cd]);function dd(){this.constructor=ld}return dd.prototype=ud.prototype,ld.prototype=new dd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDElement.exports=function(ld){nd(ud,ld);function ud(cd,dd,pd){if(ud.__super__.constructor.call(this,cd),dd==null)throw new Error("Missing DTD element name. "+this.debugInfo());pd||(pd="(#PCDATA)"),Array.isArray(pd)&&(pd="("+pd.join(",")+")"),this.name=this.stringify.name(dd),this.type=Ra.ElementDeclaration,this.value=this.stringify.dtdElementValue(pd)}return ud.prototype.toString=function(cd){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(cd))},ud}(qa)}).call(commonjsGlobal)),XMLDTDElement.exports}var XMLDTDNotation={exports:{}},hasRequiredXMLDTDNotation;function requireXMLDTDNotation(){return hasRequiredXMLDTDNotation||(hasRequiredXMLDTDNotation=1,(function(){var Ra,qa,nd=function(ld,ud){for(var cd in ud)od.call(ud,cd)&&(ld[cd]=ud[cd]);function dd(){this.constructor=ld}return dd.prototype=ud.prototype,ld.prototype=new dd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDNotation.exports=function(ld){nd(ud,ld);function ud(cd,dd,pd){if(ud.__super__.constructor.call(this,cd),dd==null)throw new Error("Missing DTD notation name. "+this.debugInfo(dd));if(!pd.pubID&&!pd.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(dd));this.name=this.stringify.name(dd),this.type=Ra.NotationDeclaration,pd.pubID!=null&&(this.pubID=this.stringify.dtdPubID(pd.pubID)),pd.sysID!=null&&(this.sysID=this.stringify.dtdSysID(pd.sysID))}return Object.defineProperty(ud.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(ud.prototype,"systemId",{get:function(){return this.sysID}}),ud.prototype.toString=function(cd){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(cd))},ud}(qa)}).call(commonjsGlobal)),XMLDTDNotation.exports}var hasRequiredXMLDocType;function requireXMLDocType(){return hasRequiredXMLDocType||(hasRequiredXMLDocType=1,(function(){var Ra,qa,nd,od,ld,ud,cd,dd,pd=function(md,vd){for(var Ad in vd)fd.call(vd,Ad)&&(md[Ad]=vd[Ad]);function Nd(){this.constructor=md}return Nd.prototype=vd.prototype,md.prototype=new Nd,md.__super__=vd.prototype,md},fd={}.hasOwnProperty;dd=requireUtility().isObject,cd=requireXMLNode(),Ra=requireNodeType(),qa=requireXMLDTDAttList(),od=requireXMLDTDEntity(),nd=requireXMLDTDElement(),ld=requireXMLDTDNotation(),ud=requireXMLNamedNodeMap(),XMLDocType.exports=function(md){pd(vd,md);function vd(Ad,Nd,Id){var kd,jd,Fd,Md,Ld,Hd;if(vd.__super__.constructor.call(this,Ad),this.type=Ra.DocType,Ad.children){for(Md=Ad.children,jd=0,Fd=Md.length;jd":(Gd=this.parent)!=null&&Gd.name?"node: <"+Ld+">, parent: <"+this.parent.name+">":"node: <"+Ld+">"},Md.prototype.ele=function(Ld,Hd,Gd){return this.element(Ld,Hd,Gd)},Md.prototype.nod=function(Ld,Hd,Gd){return this.node(Ld,Hd,Gd)},Md.prototype.txt=function(Ld){return this.text(Ld)},Md.prototype.dat=function(Ld){return this.cdata(Ld)},Md.prototype.com=function(Ld){return this.comment(Ld)},Md.prototype.ins=function(Ld,Hd){return this.instruction(Ld,Hd)},Md.prototype.doc=function(){return this.document()},Md.prototype.dec=function(Ld,Hd,Gd){return this.declaration(Ld,Hd,Gd)},Md.prototype.e=function(Ld,Hd,Gd){return this.element(Ld,Hd,Gd)},Md.prototype.n=function(Ld,Hd,Gd){return this.node(Ld,Hd,Gd)},Md.prototype.t=function(Ld){return this.text(Ld)},Md.prototype.d=function(Ld){return this.cdata(Ld)},Md.prototype.c=function(Ld){return this.comment(Ld)},Md.prototype.r=function(Ld){return this.raw(Ld)},Md.prototype.i=function(Ld,Hd){return this.instruction(Ld,Hd)},Md.prototype.u=function(){return this.up()},Md.prototype.importXMLBuilder=function(Ld){return this.importDocument(Ld)},Md.prototype.replaceChild=function(Ld,Hd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.removeChild=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.appendChild=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.hasChildNodes=function(){return this.children.length!==0},Md.prototype.cloneNode=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.isSupported=function(Ld,Hd){return!0},Md.prototype.hasAttributes=function(){return this.attribs.length!==0},Md.prototype.compareDocumentPosition=function(Ld){var Hd,Gd;return Hd=this,Hd===Ld?0:this.document()!==Ld.document()?(Gd=Ra.Disconnected|Ra.ImplementationSpecific,Math.random()<.5?Gd|=Ra.Preceding:Gd|=Ra.Following,Gd):Hd.isAncestor(Ld)?Ra.Contains|Ra.Preceding:Hd.isDescendant(Ld)?Ra.Contains|Ra.Following:Hd.isPreceding(Ld)?Ra.Preceding:Ra.Following},Md.prototype.isSameNode=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.lookupPrefix=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.isDefaultNamespace=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.lookupNamespaceURI=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.isEqualNode=function(Ld){var Hd,Gd,Vd;if(Ld.nodeType!==this.nodeType||Ld.children.length!==this.children.length)return!1;for(Hd=Gd=0,Vd=this.children.length-1;0<=Vd?Gd<=Vd:Gd>=Vd;Hd=0<=Vd?++Gd:--Gd)if(!this.children[Hd].isEqualNode(Ld.children[Hd]))return!1;return!0},Md.prototype.getFeature=function(Ld,Hd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.setUserData=function(Ld,Hd,Gd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.getUserData=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.contains=function(Ld){return Ld?Ld===this||this.isDescendant(Ld):!1},Md.prototype.isDescendant=function(Ld){var Hd,Gd,Vd,Qd,mf;for(mf=this.children,Vd=0,Qd=mf.length;VdGd},Md.prototype.treePosition=function(Ld){var Hd,Gd;return Gd=0,Hd=!1,this.foreachTreeNode(this.document(),function(Vd){if(Gd++,!Hd&&Vd===Ld)return Hd=!0}),Hd?Gd:-1},Md.prototype.foreachTreeNode=function(Ld,Hd){var Gd,Vd,Qd,mf,Yd;for(Ld||(Ld=this.document()),mf=Ld.children,Vd=0,Qd=mf.length;Vd","]]]]>"),this.assertLegalChar(od))},nd.prototype.comment=function(od){if(this.options.noValidation)return od;if(od=""+od||"",od.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+od);return this.assertLegalChar(od)},nd.prototype.raw=function(od){return this.options.noValidation?od:""+od||""},nd.prototype.attValue=function(od){return this.options.noValidation?od:this.assertLegalChar(this.attEscape(od=""+od||""))},nd.prototype.insTarget=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.insValue=function(od){if(this.options.noValidation)return od;if(od=""+od||"",od.match(/\?>/))throw new Error("Invalid processing instruction value: "+od);return this.assertLegalChar(od)},nd.prototype.xmlVersion=function(od){if(this.options.noValidation)return od;if(od=""+od||"",!od.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+od);return od},nd.prototype.xmlEncoding=function(od){if(this.options.noValidation)return od;if(od=""+od||"",!od.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+od);return this.assertLegalChar(od)},nd.prototype.xmlStandalone=function(od){return this.options.noValidation?od:od?"yes":"no"},nd.prototype.dtdPubID=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdSysID=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdElementValue=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdAttType=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdAttDefault=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdEntityValue=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdNData=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.convertAttKey="@",nd.prototype.convertPIKey="?",nd.prototype.convertTextKey="#text",nd.prototype.convertCDataKey="#cdata",nd.prototype.convertCommentKey="#comment",nd.prototype.convertRawKey="#raw",nd.prototype.assertLegalChar=function(od){var ld,ud;if(this.options.noValidation)return od;if(ld="",this.options.version==="1.0"){if(ld=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ud=od.match(ld))throw new Error("Invalid character in string: "+od+" at index "+ud.index)}else if(this.options.version==="1.1"&&(ld=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ud=od.match(ld)))throw new Error("Invalid character in string: "+od+" at index "+ud.index);return od},nd.prototype.assertLegalName=function(od){var ld;if(this.options.noValidation)return od;if(this.assertLegalChar(od),ld=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!od.match(ld))throw new Error("Invalid character in name");return od},nd.prototype.textEscape=function(od){var ld;return this.options.noValidation?od:(ld=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,od.replace(ld,"&").replace(//g,">").replace(/\r/g," "))},nd.prototype.attEscape=function(od){var ld;return this.options.noValidation?od:(ld=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,od.replace(ld,"&").replace(/0)?new Array(pd).join(cd.indent):""},ld.prototype.endline=function(ud,cd,dd){return!cd.pretty||cd.suppressPrettyCount?"":cd.newline},ld.prototype.attribute=function(ud,cd,dd){var pd;return this.openAttribute(ud,cd,dd),pd=" "+ud.name+'="'+ud.value+'"',this.closeAttribute(ud,cd,dd),pd},ld.prototype.cdata=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+""+this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.comment=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+""+this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.declaration=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+"",pd+=this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.docType=function(ud,cd,dd){var pd,fd,md,vd,Ad;if(dd||(dd=0),this.openNode(ud,cd,dd),cd.state=qa.OpenTag,vd=this.indent(ud,cd,dd),vd+="0){for(vd+=" [",vd+=this.endline(ud,cd,dd),cd.state=qa.InsideTag,Ad=ud.children,fd=0,md=Ad.length;fd",vd+=this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),vd},ld.prototype.element=function(ud,cd,dd){var pd,fd,md,vd,Ad,Nd,Id,kd,jd,Fd,Md,Ld,Hd,Gd;dd||(dd=0),Fd=!1,Md="",this.openNode(ud,cd,dd),cd.state=qa.OpenTag,Md+=this.indent(ud,cd,dd)+"<"+ud.name,Ld=ud.attribs;for(jd in Ld)od.call(Ld,jd)&&(pd=Ld[jd],Md+=this.attribute(pd,cd,dd));if(md=ud.children.length,vd=md===0?null:ud.children[0],md===0||ud.children.every(function(Vd){return(Vd.type===Ra.Text||Vd.type===Ra.Raw)&&Vd.value===""}))cd.allowEmpty?(Md+=">",cd.state=qa.CloseTag,Md+=""+this.endline(ud,cd,dd)):(cd.state=qa.CloseTag,Md+=cd.spaceBeforeSlash+"/>"+this.endline(ud,cd,dd));else if(cd.pretty&&md===1&&(vd.type===Ra.Text||vd.type===Ra.Raw)&&vd.value!=null)Md+=">",cd.state=qa.InsideTag,cd.suppressPrettyCount++,Fd=!0,Md+=this.writeChildNode(vd,cd,dd+1),cd.suppressPrettyCount--,Fd=!1,cd.state=qa.CloseTag,Md+=""+this.endline(ud,cd,dd);else{if(cd.dontPrettyTextNodes){for(Hd=ud.children,Ad=0,Id=Hd.length;Ad"+this.endline(ud,cd,dd),cd.state=qa.InsideTag,Gd=ud.children,Nd=0,kd=Gd.length;Nd",Fd&&cd.suppressPrettyCount--,Md+=this.endline(ud,cd,dd),cd.state=qa.None}return this.closeNode(ud,cd,dd),Md},ld.prototype.writeChildNode=function(ud,cd,dd){switch(ud.type){case Ra.CData:return this.cdata(ud,cd,dd);case Ra.Comment:return this.comment(ud,cd,dd);case Ra.Element:return this.element(ud,cd,dd);case Ra.Raw:return this.raw(ud,cd,dd);case Ra.Text:return this.text(ud,cd,dd);case Ra.ProcessingInstruction:return this.processingInstruction(ud,cd,dd);case Ra.Dummy:return"";case Ra.Declaration:return this.declaration(ud,cd,dd);case Ra.DocType:return this.docType(ud,cd,dd);case Ra.AttributeDeclaration:return this.dtdAttList(ud,cd,dd);case Ra.ElementDeclaration:return this.dtdElement(ud,cd,dd);case Ra.EntityDeclaration:return this.dtdEntity(ud,cd,dd);case Ra.NotationDeclaration:return this.dtdNotation(ud,cd,dd);default:throw new Error("Unknown XML node type: "+ud.constructor.name)}},ld.prototype.processingInstruction=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+"",pd+=this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.raw=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd),cd.state=qa.InsideTag,pd+=ud.value,cd.state=qa.CloseTag,pd+=this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.text=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd),cd.state=qa.InsideTag,pd+=ud.value,cd.state=qa.CloseTag,pd+=this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.dtdAttList=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+""+this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.dtdElement=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+""+this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.dtdEntity=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+""+this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.dtdNotation=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+""+this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.openNode=function(ud,cd,dd){},ld.prototype.closeNode=function(ud,cd,dd){},ld.prototype.openAttribute=function(ud,cd,dd){},ld.prototype.closeAttribute=function(ud,cd,dd){},ld}()}).call(commonjsGlobal)),XMLWriterBase.exports}var hasRequiredXMLStringWriter;function requireXMLStringWriter(){return hasRequiredXMLStringWriter||(hasRequiredXMLStringWriter=1,(function(){var Ra,qa=function(od,ld){for(var ud in ld)nd.call(ld,ud)&&(od[ud]=ld[ud]);function cd(){this.constructor=od}return cd.prototype=ld.prototype,od.prototype=new cd,od.__super__=ld.prototype,od},nd={}.hasOwnProperty;Ra=requireXMLWriterBase(),XMLStringWriter.exports=function(od){qa(ld,od);function ld(ud){ld.__super__.constructor.call(this,ud)}return ld.prototype.document=function(ud,cd){var dd,pd,fd,md,vd;for(cd=this.filterOptions(cd),md="",vd=ud.children,pd=0,fd=vd.length;pd=0;)this.up();return this.onEnd()},mf.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},mf.prototype.openNode=function(Yd){var Zd,Kd,bf,gf;if(!Yd.isOpen){if(!this.root&&this.currentLevel===0&&Yd.type===Ra.Element&&(this.root=Yd),Kd="",Yd.type===Ra.Element){this.writerOptions.state=qa.OpenTag,Kd=this.writer.indent(Yd,this.writerOptions,this.currentLevel)+"<"+Yd.name,gf=Yd.attribs;for(bf in gf)Qd.call(gf,bf)&&(Zd=gf[bf],Kd+=this.writer.attribute(Zd,this.writerOptions,this.currentLevel));Kd+=(Yd.children?">":"/>")+this.writer.endline(Yd,this.writerOptions,this.currentLevel),this.writerOptions.state=qa.InsideTag}else this.writerOptions.state=qa.OpenTag,Kd=this.writer.indent(Yd,this.writerOptions,this.currentLevel)+""),Kd+=this.writer.endline(Yd,this.writerOptions,this.currentLevel);return this.onData(Kd,this.currentLevel),Yd.isOpen=!0}},mf.prototype.closeNode=function(Yd){var Zd;if(!Yd.isClosed)return Zd="",this.writerOptions.state=qa.CloseTag,Yd.type===Ra.Element?Zd=this.writer.indent(Yd,this.writerOptions,this.currentLevel)+""+this.writer.endline(Yd,this.writerOptions,this.currentLevel):Zd=this.writer.indent(Yd,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(Yd,this.writerOptions,this.currentLevel),this.writerOptions.state=qa.None,this.onData(Zd,this.currentLevel),Yd.isClosed=!0},mf.prototype.onData=function(Yd,Zd){return this.documentStarted=!0,this.onDataCallback(Yd,Zd+1)},mf.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},mf.prototype.debugInfo=function(Yd){return Yd==null?"":"node: <"+Yd+">"},mf.prototype.ele=function(){return this.element.apply(this,arguments)},mf.prototype.nod=function(Yd,Zd,Kd){return this.node(Yd,Zd,Kd)},mf.prototype.txt=function(Yd){return this.text(Yd)},mf.prototype.dat=function(Yd){return this.cdata(Yd)},mf.prototype.com=function(Yd){return this.comment(Yd)},mf.prototype.ins=function(Yd,Zd){return this.instruction(Yd,Zd)},mf.prototype.dec=function(Yd,Zd,Kd){return this.declaration(Yd,Zd,Kd)},mf.prototype.dtd=function(Yd,Zd,Kd){return this.doctype(Yd,Zd,Kd)},mf.prototype.e=function(Yd,Zd,Kd){return this.element(Yd,Zd,Kd)},mf.prototype.n=function(Yd,Zd,Kd){return this.node(Yd,Zd,Kd)},mf.prototype.t=function(Yd){return this.text(Yd)},mf.prototype.d=function(Yd){return this.cdata(Yd)},mf.prototype.c=function(Yd){return this.comment(Yd)},mf.prototype.r=function(Yd){return this.raw(Yd)},mf.prototype.i=function(Yd,Zd){return this.instruction(Yd,Zd)},mf.prototype.att=function(){return this.currentNode&&this.currentNode.type===Ra.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},mf.prototype.a=function(){return this.currentNode&&this.currentNode.type===Ra.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},mf.prototype.ent=function(Yd,Zd){return this.entity(Yd,Zd)},mf.prototype.pent=function(Yd,Zd){return this.pEntity(Yd,Zd)},mf.prototype.not=function(Yd,Zd){return this.notation(Yd,Zd)},mf}()}).call(commonjsGlobal)),XMLDocumentCB.exports}var XMLStreamWriter={exports:{}},hasRequiredXMLStreamWriter;function requireXMLStreamWriter(){return hasRequiredXMLStreamWriter||(hasRequiredXMLStreamWriter=1,(function(){var Ra,qa,nd,od=function(ud,cd){for(var dd in cd)ld.call(cd,dd)&&(ud[dd]=cd[dd]);function pd(){this.constructor=ud}return pd.prototype=cd.prototype,ud.prototype=new pd,ud.__super__=cd.prototype,ud},ld={}.hasOwnProperty;Ra=requireNodeType(),nd=requireXMLWriterBase(),qa=requireWriterState(),XMLStreamWriter.exports=function(ud){od(cd,ud);function cd(dd,pd){this.stream=dd,cd.__super__.constructor.call(this,pd)}return cd.prototype.endline=function(dd,pd,fd){return dd.isLastRootNode&&pd.state===qa.CloseTag?"":cd.__super__.endline.call(this,dd,pd,fd)},cd.prototype.document=function(dd,pd){var fd,md,vd,Ad,Nd,Id,kd,jd,Fd;for(kd=dd.children,md=vd=0,Nd=kd.length;vd0){for(this.stream.write(" ["),this.stream.write(this.endline(dd,pd,fd)),pd.state=qa.InsideTag,Nd=dd.children,vd=0,Ad=Nd.length;vd"),this.stream.write(this.endline(dd,pd,fd)),pd.state=qa.None,this.closeNode(dd,pd,fd)},cd.prototype.element=function(dd,pd,fd){var md,vd,Ad,Nd,Id,kd,jd,Fd,Md;fd||(fd=0),this.openNode(dd,pd,fd),pd.state=qa.OpenTag,this.stream.write(this.indent(dd,pd,fd)+"<"+dd.name),Fd=dd.attribs;for(jd in Fd)ld.call(Fd,jd)&&(md=Fd[jd],this.attribute(md,pd,fd));if(Ad=dd.children.length,Nd=Ad===0?null:dd.children[0],Ad===0||dd.children.every(function(Ld){return(Ld.type===Ra.Text||Ld.type===Ra.Raw)&&Ld.value===""}))pd.allowEmpty?(this.stream.write(">"),pd.state=qa.CloseTag,this.stream.write("")):(pd.state=qa.CloseTag,this.stream.write(pd.spaceBeforeSlash+"/>"));else if(pd.pretty&&Ad===1&&(Nd.type===Ra.Text||Nd.type===Ra.Raw)&&Nd.value!=null)this.stream.write(">"),pd.state=qa.InsideTag,pd.suppressPrettyCount++,this.writeChildNode(Nd,pd,fd+1),pd.suppressPrettyCount--,pd.state=qa.CloseTag,this.stream.write("");else{for(this.stream.write(">"+this.endline(dd,pd,fd)),pd.state=qa.InsideTag,Md=dd.children,Id=0,kd=Md.length;Id")}return this.stream.write(this.endline(dd,pd,fd)),pd.state=qa.None,this.closeNode(dd,pd,fd)},cd.prototype.processingInstruction=function(dd,pd,fd){return this.stream.write(cd.__super__.processingInstruction.call(this,dd,pd,fd))},cd.prototype.raw=function(dd,pd,fd){return this.stream.write(cd.__super__.raw.call(this,dd,pd,fd))},cd.prototype.text=function(dd,pd,fd){return this.stream.write(cd.__super__.text.call(this,dd,pd,fd))},cd.prototype.dtdAttList=function(dd,pd,fd){return this.stream.write(cd.__super__.dtdAttList.call(this,dd,pd,fd))},cd.prototype.dtdElement=function(dd,pd,fd){return this.stream.write(cd.__super__.dtdElement.call(this,dd,pd,fd))},cd.prototype.dtdEntity=function(dd,pd,fd){return this.stream.write(cd.__super__.dtdEntity.call(this,dd,pd,fd))},cd.prototype.dtdNotation=function(dd,pd,fd){return this.stream.write(cd.__super__.dtdNotation.call(this,dd,pd,fd))},cd}(nd)}).call(commonjsGlobal)),XMLStreamWriter.exports}var hasRequiredLib;function requireLib(){return hasRequiredLib||(hasRequiredLib=1,(function(){var Ra,qa,nd,od,ld,ud,cd,dd,pd,fd;fd=requireUtility(),dd=fd.assign,pd=fd.isFunction,nd=requireXMLDOMImplementation(),od=requireXMLDocument(),ld=requireXMLDocumentCB(),cd=requireXMLStringWriter(),ud=requireXMLStreamWriter(),Ra=requireNodeType(),qa=requireWriterState(),lib$2.create=function(md,vd,Ad,Nd){var Id,kd;if(md==null)throw new Error("Root element needs a name.");return Nd=dd({},vd,Ad,Nd),Id=new od(Nd),kd=Id.element(md),Nd.headless||(Id.declaration(Nd),(Nd.pubID!=null||Nd.sysID!=null)&&Id.dtd(Nd)),kd},lib$2.begin=function(md,vd,Ad){var Nd;return pd(md)&&(Nd=[md,vd],vd=Nd[0],Ad=Nd[1],md={}),vd?new ld(md,vd,Ad):new od(md)},lib$2.stringWriter=function(md){return new cd(md)},lib$2.streamWriter=function(md,vd){return new ud(md,vd)},lib$2.implementation=new nd,lib$2.nodeType=Ra,lib$2.writerState=qa}).call(commonjsGlobal)),lib$2}var hasRequiredBuilder;function requireBuilder(){return hasRequiredBuilder||(hasRequiredBuilder=1,(function(){var Ra,qa,nd,od,ld,ud={}.hasOwnProperty;Ra=requireLib(),qa=requireDefaults().defaults,od=function(cd){return typeof cd=="string"&&(cd.indexOf("&")>=0||cd.indexOf(">")>=0||cd.indexOf("<")>=0)},ld=function(cd){return""},nd=function(cd){return cd.replace("]]>","]]]]>")},builder.Builder=function(){function cd(dd){var pd,fd,md;this.options={},fd=qa["0.2"];for(pd in fd)ud.call(fd,pd)&&(md=fd[pd],this.options[pd]=md);for(pd in dd)ud.call(dd,pd)&&(md=dd[pd],this.options[pd]=md)}return cd.prototype.buildObject=function(dd){var pd,fd,md,vd,Ad;return pd=this.options.attrkey,fd=this.options.charkey,Object.keys(dd).length===1&&this.options.rootName===qa["0.2"].rootName?(Ad=Object.keys(dd)[0],dd=dd[Ad]):Ad=this.options.rootName,md=function(Nd){return function(Id,kd){var jd,Fd,Md,Ld,Hd,Gd;if(typeof kd!="object")Nd.options.cdata&&od(kd)?Id.raw(ld(kd)):Id.txt(kd);else if(Array.isArray(kd)){for(Ld in kd)if(ud.call(kd,Ld)){Fd=kd[Ld];for(Hd in Fd)Md=Fd[Hd],Id=md(Id.ele(Hd),Md).up()}}else for(Hd in kd)if(ud.call(kd,Hd))if(Fd=kd[Hd],Hd===pd){if(typeof Fd=="object")for(jd in Fd)Gd=Fd[jd],Id=Id.att(jd,Gd)}else if(Hd===fd)Nd.options.cdata&&od(Fd)?Id=Id.raw(ld(Fd)):Id=Id.txt(Fd);else if(Array.isArray(Fd))for(Ld in Fd)ud.call(Fd,Ld)&&(Md=Fd[Ld],typeof Md=="string"?Nd.options.cdata&&od(Md)?Id=Id.ele(Hd).raw(ld(Md)).up():Id=Id.ele(Hd,Md).up():Id=md(Id.ele(Hd),Md).up());else typeof Fd=="object"?Id=md(Id.ele(Hd),Fd).up():typeof Fd=="string"&&Nd.options.cdata&&od(Fd)?Id=Id.ele(Hd).raw(ld(Fd)).up():(Fd==null&&(Fd=""),Id=Id.ele(Hd,Fd.toString()).up());return Id}}(this),vd=Ra.create(Ad,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),md(vd,dd).end(this.options.renderOpts)},cd}()}).call(commonjsGlobal)),builder}var parser={},sax={},hasRequiredSax;function requireSax(){return hasRequiredSax||(hasRequiredSax=1,function(Ra){(function(qa){qa.parser=function(Tf,vf){return new od(Tf,vf)},qa.SAXParser=od,qa.SAXStream=md,qa.createStream=fd,qa.MAX_BUFFER_LENGTH=64*1024;var nd=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];qa.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function od(Tf,vf){if(!(this instanceof od))return new od(Tf,vf);var Gf=this;ud(Gf),Gf.q=Gf.c="",Gf.bufferCheckPosition=qa.MAX_BUFFER_LENGTH,Gf.opt=vf||{},Gf.opt.lowercase=Gf.opt.lowercase||Gf.opt.lowercasetags,Gf.looseCase=Gf.opt.lowercase?"toLowerCase":"toUpperCase",Gf.tags=[],Gf.closed=Gf.closedRoot=Gf.sawRoot=!1,Gf.tag=Gf.error=null,Gf.strict=!!Tf,Gf.noscript=!!(Tf||Gf.opt.noscript),Gf.state=Yd.BEGIN,Gf.strictEntities=Gf.opt.strictEntities,Gf.ENTITIES=Gf.strictEntities?Object.create(qa.XML_ENTITIES):Object.create(qa.ENTITIES),Gf.attribList=[],Gf.opt.xmlns&&(Gf.ns=Object.create(kd)),Gf.opt.unquotedAttributeValues===void 0&&(Gf.opt.unquotedAttributeValues=!Tf),Gf.trackPosition=Gf.opt.position!==!1,Gf.trackPosition&&(Gf.position=Gf.line=Gf.column=0),Kd(Gf,"onready")}Object.create||(Object.create=function(Tf){function vf(){}vf.prototype=Tf;var Gf=new vf;return Gf}),Object.keys||(Object.keys=function(Tf){var vf=[];for(var Gf in Tf)Tf.hasOwnProperty(Gf)&&vf.push(Gf);return vf});function ld(Tf){for(var vf=Math.max(qa.MAX_BUFFER_LENGTH,10),Gf=0,Jf=0,gh=nd.length;Jfvf)switch(nd[Jf]){case"textNode":gf(Tf);break;case"cdata":bf(Tf,"oncdata",Tf.cdata),Tf.cdata="";break;case"script":bf(Tf,"onscript",Tf.script),Tf.script="";break;default:yf(Tf,"Max buffer length exceeded: "+nd[Jf])}Gf=Math.max(Gf,th)}var Pf=qa.MAX_BUFFER_LENGTH-Gf;Tf.bufferCheckPosition=Pf+Tf.position}function ud(Tf){for(var vf=0,Gf=nd.length;vf"||Hd(Tf)}function Qd(Tf,vf){return Tf.test(vf)}function mf(Tf,vf){return!Qd(Tf,vf)}var Yd=0;qa.STATE={BEGIN:Yd++,BEGIN_WHITESPACE:Yd++,TEXT:Yd++,TEXT_ENTITY:Yd++,OPEN_WAKA:Yd++,SGML_DECL:Yd++,SGML_DECL_QUOTED:Yd++,DOCTYPE:Yd++,DOCTYPE_QUOTED:Yd++,DOCTYPE_DTD:Yd++,DOCTYPE_DTD_QUOTED:Yd++,COMMENT_STARTING:Yd++,COMMENT:Yd++,COMMENT_ENDING:Yd++,COMMENT_ENDED:Yd++,CDATA:Yd++,CDATA_ENDING:Yd++,CDATA_ENDING_2:Yd++,PROC_INST:Yd++,PROC_INST_BODY:Yd++,PROC_INST_ENDING:Yd++,OPEN_TAG:Yd++,OPEN_TAG_SLASH:Yd++,ATTRIB:Yd++,ATTRIB_NAME:Yd++,ATTRIB_NAME_SAW_WHITE:Yd++,ATTRIB_VALUE:Yd++,ATTRIB_VALUE_QUOTED:Yd++,ATTRIB_VALUE_CLOSED:Yd++,ATTRIB_VALUE_UNQUOTED:Yd++,ATTRIB_VALUE_ENTITY_Q:Yd++,ATTRIB_VALUE_ENTITY_U:Yd++,CLOSE_TAG:Yd++,CLOSE_TAG_SAW_WHITE:Yd++,SCRIPT:Yd++,SCRIPT_ENDING:Yd++},qa.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},qa.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(qa.ENTITIES).forEach(function(Tf){var vf=qa.ENTITIES[Tf],Gf=typeof vf=="number"?String.fromCharCode(vf):vf;qa.ENTITIES[Tf]=Gf});for(var Zd in qa.STATE)qa.STATE[qa.STATE[Zd]]=Zd;Yd=qa.STATE;function Kd(Tf,vf,Gf){Tf[vf]&&Tf[vf](Gf)}function bf(Tf,vf,Gf){Tf.textNode&&gf(Tf),Kd(Tf,vf,Gf)}function gf(Tf){Tf.textNode=Ef(Tf.opt,Tf.textNode),Tf.textNode&&Kd(Tf,"ontext",Tf.textNode),Tf.textNode=""}function Ef(Tf,vf){return Tf.trim&&(vf=vf.trim()),Tf.normalize&&(vf=vf.replace(/\s+/g," ")),vf}function yf(Tf,vf){return gf(Tf),Tf.trackPosition&&(vf+=` +`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(commonjsGlobal)),defaults}var builder={},lib$2={},Utility={},hasRequiredUtility;function requireUtility(){return hasRequiredUtility||(hasRequiredUtility=1,(function(){var Ra,qa,nd,od,ld,ud,cd,dd=[].slice,pd={}.hasOwnProperty;Ra=function(){var fd,md,vd,Ad,Nd,Id;if(Id=arguments[0],Nd=2<=arguments.length?dd.call(arguments,1):[],ld(Object.assign))Object.assign.apply(null,arguments);else for(fd=0,vd=Nd.length;fd":"attribute: {"+nd+"}, parent: <"+this.parent.name+">"},qa.prototype.isEqualNode=function(nd){return!(nd.namespaceURI!==this.namespaceURI||nd.prefix!==this.prefix||nd.localName!==this.localName||nd.value!==this.value)},qa}()}).call(commonjsGlobal)),XMLAttribute.exports}var XMLNamedNodeMap={exports:{}},hasRequiredXMLNamedNodeMap;function requireXMLNamedNodeMap(){return hasRequiredXMLNamedNodeMap||(hasRequiredXMLNamedNodeMap=1,(function(){XMLNamedNodeMap.exports=function(){function Ra(qa){this.nodes=qa}return Object.defineProperty(Ra.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),Ra.prototype.clone=function(){return this.nodes=null},Ra.prototype.getNamedItem=function(qa){return this.nodes[qa]},Ra.prototype.setNamedItem=function(qa){var nd;return nd=this.nodes[qa.nodeName],this.nodes[qa.nodeName]=qa,nd||null},Ra.prototype.removeNamedItem=function(qa){var nd;return nd=this.nodes[qa],delete this.nodes[qa],nd||null},Ra.prototype.item=function(qa){return this.nodes[Object.keys(this.nodes)[qa]]||null},Ra.prototype.getNamedItemNS=function(qa,nd){throw new Error("This DOM method is not implemented.")},Ra.prototype.setNamedItemNS=function(qa){throw new Error("This DOM method is not implemented.")},Ra.prototype.removeNamedItemNS=function(qa,nd){throw new Error("This DOM method is not implemented.")},Ra}()}).call(commonjsGlobal)),XMLNamedNodeMap.exports}var hasRequiredXMLElement;function requireXMLElement(){return hasRequiredXMLElement||(hasRequiredXMLElement=1,(function(){var Ra,qa,nd,od,ld,ud,cd,dd,pd=function(md,vd){for(var Ad in vd)fd.call(vd,Ad)&&(md[Ad]=vd[Ad]);function Nd(){this.constructor=md}return Nd.prototype=vd.prototype,md.prototype=new Nd,md.__super__=vd.prototype,md},fd={}.hasOwnProperty;dd=requireUtility(),cd=dd.isObject,ud=dd.isFunction,ld=dd.getValue,od=requireXMLNode(),Ra=requireNodeType(),qa=requireXMLAttribute(),nd=requireXMLNamedNodeMap(),XMLElement.exports=function(md){pd(vd,md);function vd(Ad,Nd,Id){var kd,jd,Fd,Md;if(vd.__super__.constructor.call(this,Ad),Nd==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(Nd),this.type=Ra.Element,this.attribs={},this.schemaTypeInfo=null,Id!=null&&this.attribute(Id),Ad.type===Ra.Document&&(this.isRoot=!0,this.documentObject=Ad,Ad.rootObject=this,Ad.children)){for(Md=Ad.children,jd=0,Fd=Md.length;jd=kd;Nd=0<=kd?++Id:--Id)if(!this.attribs[Nd].isEqualNode(Ad.attribs[Nd]))return!1;return!0},vd}(od)}).call(commonjsGlobal)),XMLElement.exports}var XMLCData={exports:{}},XMLCharacterData={exports:{}},hasRequiredXMLCharacterData;function requireXMLCharacterData(){return hasRequiredXMLCharacterData||(hasRequiredXMLCharacterData=1,(function(){var Ra,qa=function(od,ld){for(var ud in ld)nd.call(ld,ud)&&(od[ud]=ld[ud]);function cd(){this.constructor=od}return cd.prototype=ld.prototype,od.prototype=new cd,od.__super__=ld.prototype,od},nd={}.hasOwnProperty;Ra=requireXMLNode(),XMLCharacterData.exports=function(od){qa(ld,od);function ld(ud){ld.__super__.constructor.call(this,ud),this.value=""}return Object.defineProperty(ld.prototype,"data",{get:function(){return this.value},set:function(ud){return this.value=ud||""}}),Object.defineProperty(ld.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(ld.prototype,"textContent",{get:function(){return this.value},set:function(ud){return this.value=ud||""}}),ld.prototype.clone=function(){return Object.create(this)},ld.prototype.substringData=function(ud,cd){throw new Error("This DOM method is not implemented."+this.debugInfo())},ld.prototype.appendData=function(ud){throw new Error("This DOM method is not implemented."+this.debugInfo())},ld.prototype.insertData=function(ud,cd){throw new Error("This DOM method is not implemented."+this.debugInfo())},ld.prototype.deleteData=function(ud,cd){throw new Error("This DOM method is not implemented."+this.debugInfo())},ld.prototype.replaceData=function(ud,cd,dd){throw new Error("This DOM method is not implemented."+this.debugInfo())},ld.prototype.isEqualNode=function(ud){return!(!ld.__super__.isEqualNode.apply(this,arguments).isEqualNode(ud)||ud.data!==this.data)},ld}(Ra)}).call(commonjsGlobal)),XMLCharacterData.exports}var hasRequiredXMLCData;function requireXMLCData(){return hasRequiredXMLCData||(hasRequiredXMLCData=1,(function(){var Ra,qa,nd=function(ld,ud){for(var cd in ud)od.call(ud,cd)&&(ld[cd]=ud[cd]);function dd(){this.constructor=ld}return dd.prototype=ud.prototype,ld.prototype=new dd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;Ra=requireNodeType(),qa=requireXMLCharacterData(),XMLCData.exports=function(ld){nd(ud,ld);function ud(cd,dd){if(ud.__super__.constructor.call(this,cd),dd==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=Ra.CData,this.value=this.stringify.cdata(dd)}return ud.prototype.clone=function(){return Object.create(this)},ud.prototype.toString=function(cd){return this.options.writer.cdata(this,this.options.writer.filterOptions(cd))},ud}(qa)}).call(commonjsGlobal)),XMLCData.exports}var XMLComment={exports:{}},hasRequiredXMLComment;function requireXMLComment(){return hasRequiredXMLComment||(hasRequiredXMLComment=1,(function(){var Ra,qa,nd=function(ld,ud){for(var cd in ud)od.call(ud,cd)&&(ld[cd]=ud[cd]);function dd(){this.constructor=ld}return dd.prototype=ud.prototype,ld.prototype=new dd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;Ra=requireNodeType(),qa=requireXMLCharacterData(),XMLComment.exports=function(ld){nd(ud,ld);function ud(cd,dd){if(ud.__super__.constructor.call(this,cd),dd==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=Ra.Comment,this.value=this.stringify.comment(dd)}return ud.prototype.clone=function(){return Object.create(this)},ud.prototype.toString=function(cd){return this.options.writer.comment(this,this.options.writer.filterOptions(cd))},ud}(qa)}).call(commonjsGlobal)),XMLComment.exports}var XMLDeclaration={exports:{}},hasRequiredXMLDeclaration;function requireXMLDeclaration(){return hasRequiredXMLDeclaration||(hasRequiredXMLDeclaration=1,(function(){var Ra,qa,nd,od=function(ud,cd){for(var dd in cd)ld.call(cd,dd)&&(ud[dd]=cd[dd]);function pd(){this.constructor=ud}return pd.prototype=cd.prototype,ud.prototype=new pd,ud.__super__=cd.prototype,ud},ld={}.hasOwnProperty;nd=requireUtility().isObject,qa=requireXMLNode(),Ra=requireNodeType(),XMLDeclaration.exports=function(ud){od(cd,ud);function cd(dd,pd,fd,md){var vd;cd.__super__.constructor.call(this,dd),nd(pd)&&(vd=pd,pd=vd.version,fd=vd.encoding,md=vd.standalone),pd||(pd="1.0"),this.type=Ra.Declaration,this.version=this.stringify.xmlVersion(pd),fd!=null&&(this.encoding=this.stringify.xmlEncoding(fd)),md!=null&&(this.standalone=this.stringify.xmlStandalone(md))}return cd.prototype.toString=function(dd){return this.options.writer.declaration(this,this.options.writer.filterOptions(dd))},cd}(qa)}).call(commonjsGlobal)),XMLDeclaration.exports}var XMLDocType={exports:{}},XMLDTDAttList={exports:{}},hasRequiredXMLDTDAttList;function requireXMLDTDAttList(){return hasRequiredXMLDTDAttList||(hasRequiredXMLDTDAttList=1,(function(){var Ra,qa,nd=function(ld,ud){for(var cd in ud)od.call(ud,cd)&&(ld[cd]=ud[cd]);function dd(){this.constructor=ld}return dd.prototype=ud.prototype,ld.prototype=new dd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDAttList.exports=function(ld){nd(ud,ld);function ud(cd,dd,pd,fd,md,vd){if(ud.__super__.constructor.call(this,cd),dd==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(pd==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(dd));if(!fd)throw new Error("Missing DTD attribute type. "+this.debugInfo(dd));if(!md)throw new Error("Missing DTD attribute default. "+this.debugInfo(dd));if(md.indexOf("#")!==0&&(md="#"+md),!md.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(dd));if(vd&&!md.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(dd));this.elementName=this.stringify.name(dd),this.type=Ra.AttributeDeclaration,this.attributeName=this.stringify.name(pd),this.attributeType=this.stringify.dtdAttType(fd),vd&&(this.defaultValue=this.stringify.dtdAttDefault(vd)),this.defaultValueType=md}return ud.prototype.toString=function(cd){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(cd))},ud}(qa)}).call(commonjsGlobal)),XMLDTDAttList.exports}var XMLDTDEntity={exports:{}},hasRequiredXMLDTDEntity;function requireXMLDTDEntity(){return hasRequiredXMLDTDEntity||(hasRequiredXMLDTDEntity=1,(function(){var Ra,qa,nd,od=function(ud,cd){for(var dd in cd)ld.call(cd,dd)&&(ud[dd]=cd[dd]);function pd(){this.constructor=ud}return pd.prototype=cd.prototype,ud.prototype=new pd,ud.__super__=cd.prototype,ud},ld={}.hasOwnProperty;nd=requireUtility().isObject,qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDEntity.exports=function(ud){od(cd,ud);function cd(dd,pd,fd,md){if(cd.__super__.constructor.call(this,dd),fd==null)throw new Error("Missing DTD entity name. "+this.debugInfo(fd));if(md==null)throw new Error("Missing DTD entity value. "+this.debugInfo(fd));if(this.pe=!!pd,this.name=this.stringify.name(fd),this.type=Ra.EntityDeclaration,!nd(md))this.value=this.stringify.dtdEntityValue(md),this.internal=!0;else{if(!md.pubID&&!md.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(fd));if(md.pubID&&!md.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(fd));if(this.internal=!1,md.pubID!=null&&(this.pubID=this.stringify.dtdPubID(md.pubID)),md.sysID!=null&&(this.sysID=this.stringify.dtdSysID(md.sysID)),md.nData!=null&&(this.nData=this.stringify.dtdNData(md.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(fd))}}return Object.defineProperty(cd.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(cd.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(cd.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(cd.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(cd.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(cd.prototype,"xmlVersion",{get:function(){return null}}),cd.prototype.toString=function(dd){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(dd))},cd}(qa)}).call(commonjsGlobal)),XMLDTDEntity.exports}var XMLDTDElement={exports:{}},hasRequiredXMLDTDElement;function requireXMLDTDElement(){return hasRequiredXMLDTDElement||(hasRequiredXMLDTDElement=1,(function(){var Ra,qa,nd=function(ld,ud){for(var cd in ud)od.call(ud,cd)&&(ld[cd]=ud[cd]);function dd(){this.constructor=ld}return dd.prototype=ud.prototype,ld.prototype=new dd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDElement.exports=function(ld){nd(ud,ld);function ud(cd,dd,pd){if(ud.__super__.constructor.call(this,cd),dd==null)throw new Error("Missing DTD element name. "+this.debugInfo());pd||(pd="(#PCDATA)"),Array.isArray(pd)&&(pd="("+pd.join(",")+")"),this.name=this.stringify.name(dd),this.type=Ra.ElementDeclaration,this.value=this.stringify.dtdElementValue(pd)}return ud.prototype.toString=function(cd){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(cd))},ud}(qa)}).call(commonjsGlobal)),XMLDTDElement.exports}var XMLDTDNotation={exports:{}},hasRequiredXMLDTDNotation;function requireXMLDTDNotation(){return hasRequiredXMLDTDNotation||(hasRequiredXMLDTDNotation=1,(function(){var Ra,qa,nd=function(ld,ud){for(var cd in ud)od.call(ud,cd)&&(ld[cd]=ud[cd]);function dd(){this.constructor=ld}return dd.prototype=ud.prototype,ld.prototype=new dd,ld.__super__=ud.prototype,ld},od={}.hasOwnProperty;qa=requireXMLNode(),Ra=requireNodeType(),XMLDTDNotation.exports=function(ld){nd(ud,ld);function ud(cd,dd,pd){if(ud.__super__.constructor.call(this,cd),dd==null)throw new Error("Missing DTD notation name. "+this.debugInfo(dd));if(!pd.pubID&&!pd.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(dd));this.name=this.stringify.name(dd),this.type=Ra.NotationDeclaration,pd.pubID!=null&&(this.pubID=this.stringify.dtdPubID(pd.pubID)),pd.sysID!=null&&(this.sysID=this.stringify.dtdSysID(pd.sysID))}return Object.defineProperty(ud.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(ud.prototype,"systemId",{get:function(){return this.sysID}}),ud.prototype.toString=function(cd){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(cd))},ud}(qa)}).call(commonjsGlobal)),XMLDTDNotation.exports}var hasRequiredXMLDocType;function requireXMLDocType(){return hasRequiredXMLDocType||(hasRequiredXMLDocType=1,(function(){var Ra,qa,nd,od,ld,ud,cd,dd,pd=function(md,vd){for(var Ad in vd)fd.call(vd,Ad)&&(md[Ad]=vd[Ad]);function Nd(){this.constructor=md}return Nd.prototype=vd.prototype,md.prototype=new Nd,md.__super__=vd.prototype,md},fd={}.hasOwnProperty;dd=requireUtility().isObject,cd=requireXMLNode(),Ra=requireNodeType(),qa=requireXMLDTDAttList(),od=requireXMLDTDEntity(),nd=requireXMLDTDElement(),ld=requireXMLDTDNotation(),ud=requireXMLNamedNodeMap(),XMLDocType.exports=function(md){pd(vd,md);function vd(Ad,Nd,Id){var kd,jd,Fd,Md,Ld,Hd;if(vd.__super__.constructor.call(this,Ad),this.type=Ra.DocType,Ad.children){for(Md=Ad.children,jd=0,Fd=Md.length;jd":(Gd=this.parent)!=null&&Gd.name?"node: <"+Ld+">, parent: <"+this.parent.name+">":"node: <"+Ld+">"},Md.prototype.ele=function(Ld,Hd,Gd){return this.element(Ld,Hd,Gd)},Md.prototype.nod=function(Ld,Hd,Gd){return this.node(Ld,Hd,Gd)},Md.prototype.txt=function(Ld){return this.text(Ld)},Md.prototype.dat=function(Ld){return this.cdata(Ld)},Md.prototype.com=function(Ld){return this.comment(Ld)},Md.prototype.ins=function(Ld,Hd){return this.instruction(Ld,Hd)},Md.prototype.doc=function(){return this.document()},Md.prototype.dec=function(Ld,Hd,Gd){return this.declaration(Ld,Hd,Gd)},Md.prototype.e=function(Ld,Hd,Gd){return this.element(Ld,Hd,Gd)},Md.prototype.n=function(Ld,Hd,Gd){return this.node(Ld,Hd,Gd)},Md.prototype.t=function(Ld){return this.text(Ld)},Md.prototype.d=function(Ld){return this.cdata(Ld)},Md.prototype.c=function(Ld){return this.comment(Ld)},Md.prototype.r=function(Ld){return this.raw(Ld)},Md.prototype.i=function(Ld,Hd){return this.instruction(Ld,Hd)},Md.prototype.u=function(){return this.up()},Md.prototype.importXMLBuilder=function(Ld){return this.importDocument(Ld)},Md.prototype.replaceChild=function(Ld,Hd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.removeChild=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.appendChild=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.hasChildNodes=function(){return this.children.length!==0},Md.prototype.cloneNode=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.isSupported=function(Ld,Hd){return!0},Md.prototype.hasAttributes=function(){return this.attribs.length!==0},Md.prototype.compareDocumentPosition=function(Ld){var Hd,Gd;return Hd=this,Hd===Ld?0:this.document()!==Ld.document()?(Gd=Ra.Disconnected|Ra.ImplementationSpecific,Math.random()<.5?Gd|=Ra.Preceding:Gd|=Ra.Following,Gd):Hd.isAncestor(Ld)?Ra.Contains|Ra.Preceding:Hd.isDescendant(Ld)?Ra.Contains|Ra.Following:Hd.isPreceding(Ld)?Ra.Preceding:Ra.Following},Md.prototype.isSameNode=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.lookupPrefix=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.isDefaultNamespace=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.lookupNamespaceURI=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.isEqualNode=function(Ld){var Hd,Gd,Vd;if(Ld.nodeType!==this.nodeType||Ld.children.length!==this.children.length)return!1;for(Hd=Gd=0,Vd=this.children.length-1;0<=Vd?Gd<=Vd:Gd>=Vd;Hd=0<=Vd?++Gd:--Gd)if(!this.children[Hd].isEqualNode(Ld.children[Hd]))return!1;return!0},Md.prototype.getFeature=function(Ld,Hd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.setUserData=function(Ld,Hd,Gd){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.getUserData=function(Ld){throw new Error("This DOM method is not implemented."+this.debugInfo())},Md.prototype.contains=function(Ld){return Ld?Ld===this||this.isDescendant(Ld):!1},Md.prototype.isDescendant=function(Ld){var Hd,Gd,Vd,Kd,mf;for(mf=this.children,Vd=0,Kd=mf.length;VdGd},Md.prototype.treePosition=function(Ld){var Hd,Gd;return Gd=0,Hd=!1,this.foreachTreeNode(this.document(),function(Vd){if(Gd++,!Hd&&Vd===Ld)return Hd=!0}),Hd?Gd:-1},Md.prototype.foreachTreeNode=function(Ld,Hd){var Gd,Vd,Kd,mf,Wd;for(Ld||(Ld=this.document()),mf=Ld.children,Vd=0,Kd=mf.length;Vd","]]]]>"),this.assertLegalChar(od))},nd.prototype.comment=function(od){if(this.options.noValidation)return od;if(od=""+od||"",od.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+od);return this.assertLegalChar(od)},nd.prototype.raw=function(od){return this.options.noValidation?od:""+od||""},nd.prototype.attValue=function(od){return this.options.noValidation?od:this.assertLegalChar(this.attEscape(od=""+od||""))},nd.prototype.insTarget=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.insValue=function(od){if(this.options.noValidation)return od;if(od=""+od||"",od.match(/\?>/))throw new Error("Invalid processing instruction value: "+od);return this.assertLegalChar(od)},nd.prototype.xmlVersion=function(od){if(this.options.noValidation)return od;if(od=""+od||"",!od.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+od);return od},nd.prototype.xmlEncoding=function(od){if(this.options.noValidation)return od;if(od=""+od||"",!od.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+od);return this.assertLegalChar(od)},nd.prototype.xmlStandalone=function(od){return this.options.noValidation?od:od?"yes":"no"},nd.prototype.dtdPubID=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdSysID=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdElementValue=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdAttType=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdAttDefault=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdEntityValue=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.dtdNData=function(od){return this.options.noValidation?od:this.assertLegalChar(""+od||"")},nd.prototype.convertAttKey="@",nd.prototype.convertPIKey="?",nd.prototype.convertTextKey="#text",nd.prototype.convertCDataKey="#cdata",nd.prototype.convertCommentKey="#comment",nd.prototype.convertRawKey="#raw",nd.prototype.assertLegalChar=function(od){var ld,ud;if(this.options.noValidation)return od;if(ld="",this.options.version==="1.0"){if(ld=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ud=od.match(ld))throw new Error("Invalid character in string: "+od+" at index "+ud.index)}else if(this.options.version==="1.1"&&(ld=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ud=od.match(ld)))throw new Error("Invalid character in string: "+od+" at index "+ud.index);return od},nd.prototype.assertLegalName=function(od){var ld;if(this.options.noValidation)return od;if(this.assertLegalChar(od),ld=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!od.match(ld))throw new Error("Invalid character in name");return od},nd.prototype.textEscape=function(od){var ld;return this.options.noValidation?od:(ld=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,od.replace(ld,"&").replace(//g,">").replace(/\r/g," "))},nd.prototype.attEscape=function(od){var ld;return this.options.noValidation?od:(ld=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,od.replace(ld,"&").replace(/0)?new Array(pd).join(cd.indent):""},ld.prototype.endline=function(ud,cd,dd){return!cd.pretty||cd.suppressPrettyCount?"":cd.newline},ld.prototype.attribute=function(ud,cd,dd){var pd;return this.openAttribute(ud,cd,dd),pd=" "+ud.name+'="'+ud.value+'"',this.closeAttribute(ud,cd,dd),pd},ld.prototype.cdata=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+""+this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.comment=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+""+this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.declaration=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+"",pd+=this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.docType=function(ud,cd,dd){var pd,fd,md,vd,Ad;if(dd||(dd=0),this.openNode(ud,cd,dd),cd.state=qa.OpenTag,vd=this.indent(ud,cd,dd),vd+="0){for(vd+=" [",vd+=this.endline(ud,cd,dd),cd.state=qa.InsideTag,Ad=ud.children,fd=0,md=Ad.length;fd",vd+=this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),vd},ld.prototype.element=function(ud,cd,dd){var pd,fd,md,vd,Ad,Nd,Id,kd,jd,Fd,Md,Ld,Hd,Gd;dd||(dd=0),Fd=!1,Md="",this.openNode(ud,cd,dd),cd.state=qa.OpenTag,Md+=this.indent(ud,cd,dd)+"<"+ud.name,Ld=ud.attribs;for(jd in Ld)od.call(Ld,jd)&&(pd=Ld[jd],Md+=this.attribute(pd,cd,dd));if(md=ud.children.length,vd=md===0?null:ud.children[0],md===0||ud.children.every(function(Vd){return(Vd.type===Ra.Text||Vd.type===Ra.Raw)&&Vd.value===""}))cd.allowEmpty?(Md+=">",cd.state=qa.CloseTag,Md+=""+this.endline(ud,cd,dd)):(cd.state=qa.CloseTag,Md+=cd.spaceBeforeSlash+"/>"+this.endline(ud,cd,dd));else if(cd.pretty&&md===1&&(vd.type===Ra.Text||vd.type===Ra.Raw)&&vd.value!=null)Md+=">",cd.state=qa.InsideTag,cd.suppressPrettyCount++,Fd=!0,Md+=this.writeChildNode(vd,cd,dd+1),cd.suppressPrettyCount--,Fd=!1,cd.state=qa.CloseTag,Md+=""+this.endline(ud,cd,dd);else{if(cd.dontPrettyTextNodes){for(Hd=ud.children,Ad=0,Id=Hd.length;Ad"+this.endline(ud,cd,dd),cd.state=qa.InsideTag,Gd=ud.children,Nd=0,kd=Gd.length;Nd",Fd&&cd.suppressPrettyCount--,Md+=this.endline(ud,cd,dd),cd.state=qa.None}return this.closeNode(ud,cd,dd),Md},ld.prototype.writeChildNode=function(ud,cd,dd){switch(ud.type){case Ra.CData:return this.cdata(ud,cd,dd);case Ra.Comment:return this.comment(ud,cd,dd);case Ra.Element:return this.element(ud,cd,dd);case Ra.Raw:return this.raw(ud,cd,dd);case Ra.Text:return this.text(ud,cd,dd);case Ra.ProcessingInstruction:return this.processingInstruction(ud,cd,dd);case Ra.Dummy:return"";case Ra.Declaration:return this.declaration(ud,cd,dd);case Ra.DocType:return this.docType(ud,cd,dd);case Ra.AttributeDeclaration:return this.dtdAttList(ud,cd,dd);case Ra.ElementDeclaration:return this.dtdElement(ud,cd,dd);case Ra.EntityDeclaration:return this.dtdEntity(ud,cd,dd);case Ra.NotationDeclaration:return this.dtdNotation(ud,cd,dd);default:throw new Error("Unknown XML node type: "+ud.constructor.name)}},ld.prototype.processingInstruction=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+"",pd+=this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.raw=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd),cd.state=qa.InsideTag,pd+=ud.value,cd.state=qa.CloseTag,pd+=this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.text=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd),cd.state=qa.InsideTag,pd+=ud.value,cd.state=qa.CloseTag,pd+=this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.dtdAttList=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+""+this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.dtdElement=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+""+this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.dtdEntity=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+""+this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.dtdNotation=function(ud,cd,dd){var pd;return this.openNode(ud,cd,dd),cd.state=qa.OpenTag,pd=this.indent(ud,cd,dd)+""+this.endline(ud,cd,dd),cd.state=qa.None,this.closeNode(ud,cd,dd),pd},ld.prototype.openNode=function(ud,cd,dd){},ld.prototype.closeNode=function(ud,cd,dd){},ld.prototype.openAttribute=function(ud,cd,dd){},ld.prototype.closeAttribute=function(ud,cd,dd){},ld}()}).call(commonjsGlobal)),XMLWriterBase.exports}var hasRequiredXMLStringWriter;function requireXMLStringWriter(){return hasRequiredXMLStringWriter||(hasRequiredXMLStringWriter=1,(function(){var Ra,qa=function(od,ld){for(var ud in ld)nd.call(ld,ud)&&(od[ud]=ld[ud]);function cd(){this.constructor=od}return cd.prototype=ld.prototype,od.prototype=new cd,od.__super__=ld.prototype,od},nd={}.hasOwnProperty;Ra=requireXMLWriterBase(),XMLStringWriter.exports=function(od){qa(ld,od);function ld(ud){ld.__super__.constructor.call(this,ud)}return ld.prototype.document=function(ud,cd){var dd,pd,fd,md,vd;for(cd=this.filterOptions(cd),md="",vd=ud.children,pd=0,fd=vd.length;pd=0;)this.up();return this.onEnd()},mf.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},mf.prototype.openNode=function(Wd){var Zd,Xd,bf,yf;if(!Wd.isOpen){if(!this.root&&this.currentLevel===0&&Wd.type===Ra.Element&&(this.root=Wd),Xd="",Wd.type===Ra.Element){this.writerOptions.state=qa.OpenTag,Xd=this.writer.indent(Wd,this.writerOptions,this.currentLevel)+"<"+Wd.name,yf=Wd.attribs;for(bf in yf)Kd.call(yf,bf)&&(Zd=yf[bf],Xd+=this.writer.attribute(Zd,this.writerOptions,this.currentLevel));Xd+=(Wd.children?">":"/>")+this.writer.endline(Wd,this.writerOptions,this.currentLevel),this.writerOptions.state=qa.InsideTag}else this.writerOptions.state=qa.OpenTag,Xd=this.writer.indent(Wd,this.writerOptions,this.currentLevel)+""),Xd+=this.writer.endline(Wd,this.writerOptions,this.currentLevel);return this.onData(Xd,this.currentLevel),Wd.isOpen=!0}},mf.prototype.closeNode=function(Wd){var Zd;if(!Wd.isClosed)return Zd="",this.writerOptions.state=qa.CloseTag,Wd.type===Ra.Element?Zd=this.writer.indent(Wd,this.writerOptions,this.currentLevel)+""+this.writer.endline(Wd,this.writerOptions,this.currentLevel):Zd=this.writer.indent(Wd,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(Wd,this.writerOptions,this.currentLevel),this.writerOptions.state=qa.None,this.onData(Zd,this.currentLevel),Wd.isClosed=!0},mf.prototype.onData=function(Wd,Zd){return this.documentStarted=!0,this.onDataCallback(Wd,Zd+1)},mf.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},mf.prototype.debugInfo=function(Wd){return Wd==null?"":"node: <"+Wd+">"},mf.prototype.ele=function(){return this.element.apply(this,arguments)},mf.prototype.nod=function(Wd,Zd,Xd){return this.node(Wd,Zd,Xd)},mf.prototype.txt=function(Wd){return this.text(Wd)},mf.prototype.dat=function(Wd){return this.cdata(Wd)},mf.prototype.com=function(Wd){return this.comment(Wd)},mf.prototype.ins=function(Wd,Zd){return this.instruction(Wd,Zd)},mf.prototype.dec=function(Wd,Zd,Xd){return this.declaration(Wd,Zd,Xd)},mf.prototype.dtd=function(Wd,Zd,Xd){return this.doctype(Wd,Zd,Xd)},mf.prototype.e=function(Wd,Zd,Xd){return this.element(Wd,Zd,Xd)},mf.prototype.n=function(Wd,Zd,Xd){return this.node(Wd,Zd,Xd)},mf.prototype.t=function(Wd){return this.text(Wd)},mf.prototype.d=function(Wd){return this.cdata(Wd)},mf.prototype.c=function(Wd){return this.comment(Wd)},mf.prototype.r=function(Wd){return this.raw(Wd)},mf.prototype.i=function(Wd,Zd){return this.instruction(Wd,Zd)},mf.prototype.att=function(){return this.currentNode&&this.currentNode.type===Ra.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},mf.prototype.a=function(){return this.currentNode&&this.currentNode.type===Ra.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},mf.prototype.ent=function(Wd,Zd){return this.entity(Wd,Zd)},mf.prototype.pent=function(Wd,Zd){return this.pEntity(Wd,Zd)},mf.prototype.not=function(Wd,Zd){return this.notation(Wd,Zd)},mf}()}).call(commonjsGlobal)),XMLDocumentCB.exports}var XMLStreamWriter={exports:{}},hasRequiredXMLStreamWriter;function requireXMLStreamWriter(){return hasRequiredXMLStreamWriter||(hasRequiredXMLStreamWriter=1,(function(){var Ra,qa,nd,od=function(ud,cd){for(var dd in cd)ld.call(cd,dd)&&(ud[dd]=cd[dd]);function pd(){this.constructor=ud}return pd.prototype=cd.prototype,ud.prototype=new pd,ud.__super__=cd.prototype,ud},ld={}.hasOwnProperty;Ra=requireNodeType(),nd=requireXMLWriterBase(),qa=requireWriterState(),XMLStreamWriter.exports=function(ud){od(cd,ud);function cd(dd,pd){this.stream=dd,cd.__super__.constructor.call(this,pd)}return cd.prototype.endline=function(dd,pd,fd){return dd.isLastRootNode&&pd.state===qa.CloseTag?"":cd.__super__.endline.call(this,dd,pd,fd)},cd.prototype.document=function(dd,pd){var fd,md,vd,Ad,Nd,Id,kd,jd,Fd;for(kd=dd.children,md=vd=0,Nd=kd.length;vd0){for(this.stream.write(" ["),this.stream.write(this.endline(dd,pd,fd)),pd.state=qa.InsideTag,Nd=dd.children,vd=0,Ad=Nd.length;vd"),this.stream.write(this.endline(dd,pd,fd)),pd.state=qa.None,this.closeNode(dd,pd,fd)},cd.prototype.element=function(dd,pd,fd){var md,vd,Ad,Nd,Id,kd,jd,Fd,Md;fd||(fd=0),this.openNode(dd,pd,fd),pd.state=qa.OpenTag,this.stream.write(this.indent(dd,pd,fd)+"<"+dd.name),Fd=dd.attribs;for(jd in Fd)ld.call(Fd,jd)&&(md=Fd[jd],this.attribute(md,pd,fd));if(Ad=dd.children.length,Nd=Ad===0?null:dd.children[0],Ad===0||dd.children.every(function(Ld){return(Ld.type===Ra.Text||Ld.type===Ra.Raw)&&Ld.value===""}))pd.allowEmpty?(this.stream.write(">"),pd.state=qa.CloseTag,this.stream.write("")):(pd.state=qa.CloseTag,this.stream.write(pd.spaceBeforeSlash+"/>"));else if(pd.pretty&&Ad===1&&(Nd.type===Ra.Text||Nd.type===Ra.Raw)&&Nd.value!=null)this.stream.write(">"),pd.state=qa.InsideTag,pd.suppressPrettyCount++,this.writeChildNode(Nd,pd,fd+1),pd.suppressPrettyCount--,pd.state=qa.CloseTag,this.stream.write("");else{for(this.stream.write(">"+this.endline(dd,pd,fd)),pd.state=qa.InsideTag,Md=dd.children,Id=0,kd=Md.length;Id")}return this.stream.write(this.endline(dd,pd,fd)),pd.state=qa.None,this.closeNode(dd,pd,fd)},cd.prototype.processingInstruction=function(dd,pd,fd){return this.stream.write(cd.__super__.processingInstruction.call(this,dd,pd,fd))},cd.prototype.raw=function(dd,pd,fd){return this.stream.write(cd.__super__.raw.call(this,dd,pd,fd))},cd.prototype.text=function(dd,pd,fd){return this.stream.write(cd.__super__.text.call(this,dd,pd,fd))},cd.prototype.dtdAttList=function(dd,pd,fd){return this.stream.write(cd.__super__.dtdAttList.call(this,dd,pd,fd))},cd.prototype.dtdElement=function(dd,pd,fd){return this.stream.write(cd.__super__.dtdElement.call(this,dd,pd,fd))},cd.prototype.dtdEntity=function(dd,pd,fd){return this.stream.write(cd.__super__.dtdEntity.call(this,dd,pd,fd))},cd.prototype.dtdNotation=function(dd,pd,fd){return this.stream.write(cd.__super__.dtdNotation.call(this,dd,pd,fd))},cd}(nd)}).call(commonjsGlobal)),XMLStreamWriter.exports}var hasRequiredLib;function requireLib(){return hasRequiredLib||(hasRequiredLib=1,(function(){var Ra,qa,nd,od,ld,ud,cd,dd,pd,fd;fd=requireUtility(),dd=fd.assign,pd=fd.isFunction,nd=requireXMLDOMImplementation(),od=requireXMLDocument(),ld=requireXMLDocumentCB(),cd=requireXMLStringWriter(),ud=requireXMLStreamWriter(),Ra=requireNodeType(),qa=requireWriterState(),lib$2.create=function(md,vd,Ad,Nd){var Id,kd;if(md==null)throw new Error("Root element needs a name.");return Nd=dd({},vd,Ad,Nd),Id=new od(Nd),kd=Id.element(md),Nd.headless||(Id.declaration(Nd),(Nd.pubID!=null||Nd.sysID!=null)&&Id.dtd(Nd)),kd},lib$2.begin=function(md,vd,Ad){var Nd;return pd(md)&&(Nd=[md,vd],vd=Nd[0],Ad=Nd[1],md={}),vd?new ld(md,vd,Ad):new od(md)},lib$2.stringWriter=function(md){return new cd(md)},lib$2.streamWriter=function(md,vd){return new ud(md,vd)},lib$2.implementation=new nd,lib$2.nodeType=Ra,lib$2.writerState=qa}).call(commonjsGlobal)),lib$2}var hasRequiredBuilder;function requireBuilder(){return hasRequiredBuilder||(hasRequiredBuilder=1,(function(){var Ra,qa,nd,od,ld,ud={}.hasOwnProperty;Ra=requireLib(),qa=requireDefaults().defaults,od=function(cd){return typeof cd=="string"&&(cd.indexOf("&")>=0||cd.indexOf(">")>=0||cd.indexOf("<")>=0)},ld=function(cd){return""},nd=function(cd){return cd.replace("]]>","]]]]>")},builder.Builder=function(){function cd(dd){var pd,fd,md;this.options={},fd=qa["0.2"];for(pd in fd)ud.call(fd,pd)&&(md=fd[pd],this.options[pd]=md);for(pd in dd)ud.call(dd,pd)&&(md=dd[pd],this.options[pd]=md)}return cd.prototype.buildObject=function(dd){var pd,fd,md,vd,Ad;return pd=this.options.attrkey,fd=this.options.charkey,Object.keys(dd).length===1&&this.options.rootName===qa["0.2"].rootName?(Ad=Object.keys(dd)[0],dd=dd[Ad]):Ad=this.options.rootName,md=function(Nd){return function(Id,kd){var jd,Fd,Md,Ld,Hd,Gd;if(typeof kd!="object")Nd.options.cdata&&od(kd)?Id.raw(ld(kd)):Id.txt(kd);else if(Array.isArray(kd)){for(Ld in kd)if(ud.call(kd,Ld)){Fd=kd[Ld];for(Hd in Fd)Md=Fd[Hd],Id=md(Id.ele(Hd),Md).up()}}else for(Hd in kd)if(ud.call(kd,Hd))if(Fd=kd[Hd],Hd===pd){if(typeof Fd=="object")for(jd in Fd)Gd=Fd[jd],Id=Id.att(jd,Gd)}else if(Hd===fd)Nd.options.cdata&&od(Fd)?Id=Id.raw(ld(Fd)):Id=Id.txt(Fd);else if(Array.isArray(Fd))for(Ld in Fd)ud.call(Fd,Ld)&&(Md=Fd[Ld],typeof Md=="string"?Nd.options.cdata&&od(Md)?Id=Id.ele(Hd).raw(ld(Md)).up():Id=Id.ele(Hd,Md).up():Id=md(Id.ele(Hd),Md).up());else typeof Fd=="object"?Id=md(Id.ele(Hd),Fd).up():typeof Fd=="string"&&Nd.options.cdata&&od(Fd)?Id=Id.ele(Hd).raw(ld(Fd)).up():(Fd==null&&(Fd=""),Id=Id.ele(Hd,Fd.toString()).up());return Id}}(this),vd=Ra.create(Ad,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),md(vd,dd).end(this.options.renderOpts)},cd}()}).call(commonjsGlobal)),builder}var parser={},sax={},hasRequiredSax;function requireSax(){return hasRequiredSax||(hasRequiredSax=1,function(Ra){(function(qa){qa.parser=function(Tf,vf){return new od(Tf,vf)},qa.SAXParser=od,qa.SAXStream=md,qa.createStream=fd,qa.MAX_BUFFER_LENGTH=64*1024;var nd=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];qa.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function od(Tf,vf){if(!(this instanceof od))return new od(Tf,vf);var qf=this;ud(qf),qf.q=qf.c="",qf.bufferCheckPosition=qa.MAX_BUFFER_LENGTH,qf.opt=vf||{},qf.opt.lowercase=qf.opt.lowercase||qf.opt.lowercasetags,qf.looseCase=qf.opt.lowercase?"toLowerCase":"toUpperCase",qf.tags=[],qf.closed=qf.closedRoot=qf.sawRoot=!1,qf.tag=qf.error=null,qf.strict=!!Tf,qf.noscript=!!(Tf||qf.opt.noscript),qf.state=Wd.BEGIN,qf.strictEntities=qf.opt.strictEntities,qf.ENTITIES=qf.strictEntities?Object.create(qa.XML_ENTITIES):Object.create(qa.ENTITIES),qf.attribList=[],qf.opt.xmlns&&(qf.ns=Object.create(kd)),qf.opt.unquotedAttributeValues===void 0&&(qf.opt.unquotedAttributeValues=!Tf),qf.trackPosition=qf.opt.position!==!1,qf.trackPosition&&(qf.position=qf.line=qf.column=0),Xd(qf,"onready")}Object.create||(Object.create=function(Tf){function vf(){}vf.prototype=Tf;var qf=new vf;return qf}),Object.keys||(Object.keys=function(Tf){var vf=[];for(var qf in Tf)Tf.hasOwnProperty(qf)&&vf.push(qf);return vf});function ld(Tf){for(var vf=Math.max(qa.MAX_BUFFER_LENGTH,10),qf=0,eh=0,ch=nd.length;ehvf)switch(nd[eh]){case"textNode":yf(Tf);break;case"cdata":bf(Tf,"oncdata",Tf.cdata),Tf.cdata="";break;case"script":bf(Tf,"onscript",Tf.script),Tf.script="";break;default:gf(Tf,"Max buffer length exceeded: "+nd[eh])}qf=Math.max(qf,ih)}var Pf=qa.MAX_BUFFER_LENGTH-qf;Tf.bufferCheckPosition=Pf+Tf.position}function ud(Tf){for(var vf=0,qf=nd.length;vf"||Hd(Tf)}function Kd(Tf,vf){return Tf.test(vf)}function mf(Tf,vf){return!Kd(Tf,vf)}var Wd=0;qa.STATE={BEGIN:Wd++,BEGIN_WHITESPACE:Wd++,TEXT:Wd++,TEXT_ENTITY:Wd++,OPEN_WAKA:Wd++,SGML_DECL:Wd++,SGML_DECL_QUOTED:Wd++,DOCTYPE:Wd++,DOCTYPE_QUOTED:Wd++,DOCTYPE_DTD:Wd++,DOCTYPE_DTD_QUOTED:Wd++,COMMENT_STARTING:Wd++,COMMENT:Wd++,COMMENT_ENDING:Wd++,COMMENT_ENDED:Wd++,CDATA:Wd++,CDATA_ENDING:Wd++,CDATA_ENDING_2:Wd++,PROC_INST:Wd++,PROC_INST_BODY:Wd++,PROC_INST_ENDING:Wd++,OPEN_TAG:Wd++,OPEN_TAG_SLASH:Wd++,ATTRIB:Wd++,ATTRIB_NAME:Wd++,ATTRIB_NAME_SAW_WHITE:Wd++,ATTRIB_VALUE:Wd++,ATTRIB_VALUE_QUOTED:Wd++,ATTRIB_VALUE_CLOSED:Wd++,ATTRIB_VALUE_UNQUOTED:Wd++,ATTRIB_VALUE_ENTITY_Q:Wd++,ATTRIB_VALUE_ENTITY_U:Wd++,CLOSE_TAG:Wd++,CLOSE_TAG_SAW_WHITE:Wd++,SCRIPT:Wd++,SCRIPT_ENDING:Wd++},qa.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},qa.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(qa.ENTITIES).forEach(function(Tf){var vf=qa.ENTITIES[Tf],qf=typeof vf=="number"?String.fromCharCode(vf):vf;qa.ENTITIES[Tf]=qf});for(var Zd in qa.STATE)qa.STATE[qa.STATE[Zd]]=Zd;Wd=qa.STATE;function Xd(Tf,vf,qf){Tf[vf]&&Tf[vf](qf)}function bf(Tf,vf,qf){Tf.textNode&&yf(Tf),Xd(Tf,vf,qf)}function yf(Tf){Tf.textNode=Ef(Tf.opt,Tf.textNode),Tf.textNode&&Xd(Tf,"ontext",Tf.textNode),Tf.textNode=""}function Ef(Tf,vf){return Tf.trim&&(vf=vf.trim()),Tf.normalize&&(vf=vf.replace(/\s+/g," ")),vf}function gf(Tf,vf){return yf(Tf),Tf.trackPosition&&(vf+=` Line: `+Tf.line+` Column: `+Tf.column+` -Char: `+Tf.c),vf=new Error(vf),Tf.error=vf,Kd(Tf,"onerror",vf),Tf}function xf(Tf){return Tf.sawRoot&&!Tf.closedRoot&&Af(Tf,"Unclosed root tag"),Tf.state!==Yd.BEGIN&&Tf.state!==Yd.BEGIN_WHITESPACE&&Tf.state!==Yd.TEXT&&yf(Tf,"Unexpected end"),gf(Tf),Tf.c="",Tf.closed=!0,Kd(Tf,"onend"),od.call(Tf,Tf.strict,Tf.opt),Tf}function Af(Tf,vf){if(typeof Tf!="object"||!(Tf instanceof od))throw new Error("bad call to strictFail");Tf.strict&&yf(Tf,vf)}function Lf(Tf){Tf.strict||(Tf.tagName=Tf.tagName[Tf.looseCase]());var vf=Tf.tags[Tf.tags.length-1]||Tf,Gf=Tf.tag={name:Tf.tagName,attributes:{}};Tf.opt.xmlns&&(Gf.ns=vf.ns),Tf.attribList.length=0,bf(Tf,"onopentagstart",Gf)}function Xf(Tf,vf){var Gf=Tf.indexOf(":"),Jf=Gf<0?["",Tf]:Tf.split(":"),gh=Jf[0],th=Jf[1];return vf&&Tf==="xmlns"&&(gh="xmlns",th=""),{prefix:gh,local:th}}function ih(Tf){if(Tf.strict||(Tf.attribName=Tf.attribName[Tf.looseCase]()),Tf.attribList.indexOf(Tf.attribName)!==-1||Tf.tag.attributes.hasOwnProperty(Tf.attribName)){Tf.attribName=Tf.attribValue="";return}if(Tf.opt.xmlns){var vf=Xf(Tf.attribName,!0),Gf=vf.prefix,Jf=vf.local;if(Gf==="xmlns")if(Jf==="xml"&&Tf.attribValue!==Nd)Af(Tf,"xml: prefix must be bound to "+Nd+` -Actual: `+Tf.attribValue);else if(Jf==="xmlns"&&Tf.attribValue!==Id)Af(Tf,"xmlns: prefix must be bound to "+Id+` -Actual: `+Tf.attribValue);else{var gh=Tf.tag,th=Tf.tags[Tf.tags.length-1]||Tf;gh.ns===th.ns&&(gh.ns=Object.create(th.ns)),gh.ns[Jf]=Tf.attribValue}Tf.attribList.push([Tf.attribName,Tf.attribValue])}else Tf.tag.attributes[Tf.attribName]=Tf.attribValue,bf(Tf,"onattribute",{name:Tf.attribName,value:Tf.attribValue});Tf.attribName=Tf.attribValue=""}function Zf(Tf,vf){if(Tf.opt.xmlns){var Gf=Tf.tag,Jf=Xf(Tf.tagName);Gf.prefix=Jf.prefix,Gf.local=Jf.local,Gf.uri=Gf.ns[Jf.prefix]||"",Gf.prefix&&!Gf.uri&&(Af(Tf,"Unbound namespace prefix: "+JSON.stringify(Tf.tagName)),Gf.uri=Jf.prefix);var gh=Tf.tags[Tf.tags.length-1]||Tf;Gf.ns&&gh.ns!==Gf.ns&&Object.keys(Gf.ns).forEach(function(dh){bf(Tf,"onopennamespace",{prefix:dh,uri:Gf.ns[dh]})});for(var th=0,Pf=Tf.attribList.length;th",Tf.tagName="",Tf.state=Yd.SCRIPT;return}bf(Tf,"onscript",Tf.script),Tf.script=""}var vf=Tf.tags.length,Gf=Tf.tagName;Tf.strict||(Gf=Gf[Tf.looseCase]());for(var Jf=Gf;vf--;){var gh=Tf.tags[vf];if(gh.name!==Jf)Af(Tf,"Unexpected close tag");else break}if(vf<0){Af(Tf,"Unmatched closing tag: "+Tf.tagName),Tf.textNode+="",Tf.state=Yd.TEXT;return}Tf.tagName=Gf;for(var th=Tf.tags.length;th-- >vf;){var Pf=Tf.tag=Tf.tags.pop();Tf.tagName=Tf.tag.name,bf(Tf,"onclosetag",Tf.tagName);var uh={};for(var xh in Pf.ns)uh[xh]=Pf.ns[xh];var Qf=Tf.tags[Tf.tags.length-1]||Tf;Tf.opt.xmlns&&Pf.ns!==Qf.ns&&Object.keys(Pf.ns).forEach(function(Nf){var $f=Pf.ns[Nf];bf(Tf,"onclosenamespace",{prefix:Nf,uri:$f})})}vf===0&&(Tf.closedRoot=!0),Tf.tagName=Tf.attribValue=Tf.attribName="",Tf.attribList.length=0,Tf.state=Yd.TEXT}function If(Tf){var vf=Tf.entity,Gf=vf.toLowerCase(),Jf,gh="";return Tf.ENTITIES[vf]?Tf.ENTITIES[vf]:Tf.ENTITIES[Gf]?Tf.ENTITIES[Gf]:(vf=Gf,vf.charAt(0)==="#"&&(vf.charAt(1)==="x"?(vf=vf.slice(2),Jf=parseInt(vf,16),gh=Jf.toString(16)):(vf=vf.slice(1),Jf=parseInt(vf,10),gh=Jf.toString(10))),vf=vf.replace(/^0+/,""),isNaN(Jf)||gh.toLowerCase()!==vf?(Af(Tf,"Invalid character entity"),"&"+Tf.entity+";"):String.fromCodePoint(Jf))}function Uf(Tf,vf){vf==="<"?(Tf.state=Yd.OPEN_WAKA,Tf.startTagPosition=Tf.position):Hd(vf)||(Af(Tf,"Non-whitespace before first tag."),Tf.textNode=vf,Tf.state=Yd.TEXT)}function qf(Tf,vf){var Gf="";return vf"?(bf(vf,"onsgmldeclaration",vf.sgmlDecl),vf.sgmlDecl="",vf.state=Yd.TEXT):(Gd(Jf)&&(vf.state=Yd.SGML_DECL_QUOTED),vf.sgmlDecl+=Jf);continue;case Yd.SGML_DECL_QUOTED:Jf===vf.q&&(vf.state=Yd.SGML_DECL,vf.q=""),vf.sgmlDecl+=Jf;continue;case Yd.DOCTYPE:Jf===">"?(vf.state=Yd.TEXT,bf(vf,"ondoctype",vf.doctype),vf.doctype=!0):(vf.doctype+=Jf,Jf==="["?vf.state=Yd.DOCTYPE_DTD:Gd(Jf)&&(vf.state=Yd.DOCTYPE_QUOTED,vf.q=Jf));continue;case Yd.DOCTYPE_QUOTED:vf.doctype+=Jf,Jf===vf.q&&(vf.q="",vf.state=Yd.DOCTYPE);continue;case Yd.DOCTYPE_DTD:Jf==="]"?(vf.doctype+=Jf,vf.state=Yd.DOCTYPE):Jf==="<"?(vf.state=Yd.OPEN_WAKA,vf.startTagPosition=vf.position):Gd(Jf)?(vf.doctype+=Jf,vf.state=Yd.DOCTYPE_DTD_QUOTED,vf.q=Jf):vf.doctype+=Jf;continue;case Yd.DOCTYPE_DTD_QUOTED:vf.doctype+=Jf,Jf===vf.q&&(vf.state=Yd.DOCTYPE_DTD,vf.q="");continue;case Yd.COMMENT:Jf==="-"?vf.state=Yd.COMMENT_ENDING:vf.comment+=Jf;continue;case Yd.COMMENT_ENDING:Jf==="-"?(vf.state=Yd.COMMENT_ENDED,vf.comment=Ef(vf.opt,vf.comment),vf.comment&&bf(vf,"oncomment",vf.comment),vf.comment=""):(vf.comment+="-"+Jf,vf.state=Yd.COMMENT);continue;case Yd.COMMENT_ENDED:Jf!==">"?(Af(vf,"Malformed comment"),vf.comment+="--"+Jf,vf.state=Yd.COMMENT):vf.doctype&&vf.doctype!==!0?vf.state=Yd.DOCTYPE_DTD:vf.state=Yd.TEXT;continue;case Yd.CDATA:Jf==="]"?vf.state=Yd.CDATA_ENDING:vf.cdata+=Jf;continue;case Yd.CDATA_ENDING:Jf==="]"?vf.state=Yd.CDATA_ENDING_2:(vf.cdata+="]"+Jf,vf.state=Yd.CDATA);continue;case Yd.CDATA_ENDING_2:Jf===">"?(vf.cdata&&bf(vf,"oncdata",vf.cdata),bf(vf,"onclosecdata"),vf.cdata="",vf.state=Yd.TEXT):Jf==="]"?vf.cdata+="]":(vf.cdata+="]]"+Jf,vf.state=Yd.CDATA);continue;case Yd.PROC_INST:Jf==="?"?vf.state=Yd.PROC_INST_ENDING:Hd(Jf)?vf.state=Yd.PROC_INST_BODY:vf.procInstName+=Jf;continue;case Yd.PROC_INST_BODY:if(!vf.procInstBody&&Hd(Jf))continue;Jf==="?"?vf.state=Yd.PROC_INST_ENDING:vf.procInstBody+=Jf;continue;case Yd.PROC_INST_ENDING:Jf===">"?(bf(vf,"onprocessinginstruction",{name:vf.procInstName,body:vf.procInstBody}),vf.procInstName=vf.procInstBody="",vf.state=Yd.TEXT):(vf.procInstBody+="?"+Jf,vf.state=Yd.PROC_INST_BODY);continue;case Yd.OPEN_TAG:Qd(Fd,Jf)?vf.tagName+=Jf:(Lf(vf),Jf===">"?Zf(vf):Jf==="/"?vf.state=Yd.OPEN_TAG_SLASH:(Hd(Jf)||Af(vf,"Invalid character in tag name"),vf.state=Yd.ATTRIB));continue;case Yd.OPEN_TAG_SLASH:Jf===">"?(Zf(vf,!0),jf(vf)):(Af(vf,"Forward-slash in opening tag not followed by >"),vf.state=Yd.ATTRIB);continue;case Yd.ATTRIB:if(Hd(Jf))continue;Jf===">"?Zf(vf):Jf==="/"?vf.state=Yd.OPEN_TAG_SLASH:Qd(jd,Jf)?(vf.attribName=Jf,vf.attribValue="",vf.state=Yd.ATTRIB_NAME):Af(vf,"Invalid attribute name");continue;case Yd.ATTRIB_NAME:Jf==="="?vf.state=Yd.ATTRIB_VALUE:Jf===">"?(Af(vf,"Attribute without value"),vf.attribValue=vf.attribName,ih(vf),Zf(vf)):Hd(Jf)?vf.state=Yd.ATTRIB_NAME_SAW_WHITE:Qd(Fd,Jf)?vf.attribName+=Jf:Af(vf,"Invalid attribute name");continue;case Yd.ATTRIB_NAME_SAW_WHITE:if(Jf==="=")vf.state=Yd.ATTRIB_VALUE;else{if(Hd(Jf))continue;Af(vf,"Attribute without value"),vf.tag.attributes[vf.attribName]="",vf.attribValue="",bf(vf,"onattribute",{name:vf.attribName,value:""}),vf.attribName="",Jf===">"?Zf(vf):Qd(jd,Jf)?(vf.attribName=Jf,vf.state=Yd.ATTRIB_NAME):(Af(vf,"Invalid attribute name"),vf.state=Yd.ATTRIB)}continue;case Yd.ATTRIB_VALUE:if(Hd(Jf))continue;Gd(Jf)?(vf.q=Jf,vf.state=Yd.ATTRIB_VALUE_QUOTED):(vf.opt.unquotedAttributeValues||yf(vf,"Unquoted attribute value"),vf.state=Yd.ATTRIB_VALUE_UNQUOTED,vf.attribValue=Jf);continue;case Yd.ATTRIB_VALUE_QUOTED:if(Jf!==vf.q){Jf==="&"?vf.state=Yd.ATTRIB_VALUE_ENTITY_Q:vf.attribValue+=Jf;continue}ih(vf),vf.q="",vf.state=Yd.ATTRIB_VALUE_CLOSED;continue;case Yd.ATTRIB_VALUE_CLOSED:Hd(Jf)?vf.state=Yd.ATTRIB:Jf===">"?Zf(vf):Jf==="/"?vf.state=Yd.OPEN_TAG_SLASH:Qd(jd,Jf)?(Af(vf,"No whitespace between attributes"),vf.attribName=Jf,vf.attribValue="",vf.state=Yd.ATTRIB_NAME):Af(vf,"Invalid attribute name");continue;case Yd.ATTRIB_VALUE_UNQUOTED:if(!Vd(Jf)){Jf==="&"?vf.state=Yd.ATTRIB_VALUE_ENTITY_U:vf.attribValue+=Jf;continue}ih(vf),Jf===">"?Zf(vf):vf.state=Yd.ATTRIB;continue;case Yd.CLOSE_TAG:if(vf.tagName)Jf===">"?jf(vf):Qd(Fd,Jf)?vf.tagName+=Jf:vf.script?(vf.script+=""?jf(vf):Af(vf,"Invalid characters in closing tag");continue;case Yd.TEXT_ENTITY:case Yd.ATTRIB_VALUE_ENTITY_Q:case Yd.ATTRIB_VALUE_ENTITY_U:var Pf,uh;switch(vf.state){case Yd.TEXT_ENTITY:Pf=Yd.TEXT,uh="textNode";break;case Yd.ATTRIB_VALUE_ENTITY_Q:Pf=Yd.ATTRIB_VALUE_QUOTED,uh="attribValue";break;case Yd.ATTRIB_VALUE_ENTITY_U:Pf=Yd.ATTRIB_VALUE_UNQUOTED,uh="attribValue";break}if(Jf===";"){var xh=If(vf);vf.opt.unparsedEntities&&!Object.values(qa.XML_ENTITIES).includes(xh)?(vf.entity="",vf.state=Pf,vf.write(xh)):(vf[uh]+=xh,vf.entity="",vf.state=Pf)}else Qd(vf.entity.length?Ld:Md,Jf)?vf.entity+=Jf:(Af(vf,"Invalid character in entity name"),vf[uh]+="&"+vf.entity+Jf,vf.entity="",vf.state=Pf);continue;default:throw new Error(vf,"Unknown state: "+vf.state)}return vf.position>=vf.bufferCheckPosition&&ld(vf),vf}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */String.fromCodePoint||function(){var Tf=String.fromCharCode,vf=Math.floor,Gf=function(){var Jf=16384,gh=[],th,Pf,uh=-1,xh=arguments.length;if(!xh)return"";for(var Qf="";++uh1114111||vf(Nf)!==Nf)throw RangeError("Invalid code point: "+Nf);Nf<=65535?gh.push(Nf):(Nf-=65536,th=(Nf>>10)+55296,Pf=Nf%1024+56320,gh.push(th,Pf)),(uh+1===xh||gh.length>Jf)&&(Qf+=Tf.apply(null,gh),gh.length=0)}return Qf};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Gf,configurable:!0,writable:!0}):String.fromCodePoint=Gf}()})(Ra)}(sax)),sax}var bom={},hasRequiredBom;function requireBom(){return hasRequiredBom||(hasRequiredBom=1,(function(){bom.stripBOM=function(Ra){return Ra[0]==="\uFEFF"?Ra.substring(1):Ra}}).call(commonjsGlobal)),bom}var processors={},hasRequiredProcessors;function requireProcessors(){return hasRequiredProcessors||(hasRequiredProcessors=1,(function(){var Ra;Ra=new RegExp(/(?!xmlns)^.*:/),processors.normalize=function(qa){return qa.toLowerCase()},processors.firstCharLowerCase=function(qa){return qa.charAt(0).toLowerCase()+qa.slice(1)},processors.stripPrefix=function(qa){return qa.replace(Ra,"")},processors.parseNumbers=function(qa){return isNaN(qa)||(qa=qa%1===0?parseInt(qa,10):parseFloat(qa)),qa},processors.parseBooleans=function(qa){return/^(?:true|false)$/i.test(qa)&&(qa=qa.toLowerCase()==="true"),qa}}).call(commonjsGlobal)),processors}var main={},setImmediate$1={},hasRequiredSetImmediate;function requireSetImmediate(){if(hasRequiredSetImmediate)return setImmediate$1;hasRequiredSetImmediate=1;var Ra={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:1},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_e72d6a91-80dc-48ef-805e-8b024d3e943e",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_e72d6a91-80dc-48ef-805e-8b024d3e943e",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"827",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241208.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5833",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12390458500",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_0be29237-df24-42ff-8577-19b0738a094d",INVOCATION_ID:"6082e0c4f23d452ea1611619b2624143",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"467",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 14",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_e72d6a91-80dc-48ef-805e-8b024d3e943e",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_e72d6a91-80dc-48ef-805e-8b024d3e943e",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_e72d6a91-80dc-48ef-805e-8b024d3e943e",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2179,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};return function(qa,nd){if(qa.setImmediate)return;var od=1,ld={},ud=!1,cd=qa.document,dd;function pd(Ld){typeof Ld!="function"&&(Ld=new Function(""+Ld));for(var Hd=new Array(arguments.length-1),Gd=0;Gd"u"?commonjsGlobal:self),setImmediate$1}var hasRequiredMain;function requireMain(){if(hasRequiredMain)return main;hasRequiredMain=1;var Ra=typeof commonjsGlobal<"u"&&commonjsGlobal||typeof self<"u"&&self||window,qa=Function.prototype.apply;main.setTimeout=function(){return new nd(qa.call(setTimeout,Ra,arguments),clearTimeout)},main.setInterval=function(){return new nd(qa.call(setInterval,Ra,arguments),clearInterval)},main.clearTimeout=main.clearInterval=function(od){od&&od.close()};function nd(od,ld){this._id=od,this._clearFn=ld}return nd.prototype.unref=nd.prototype.ref=function(){},nd.prototype.close=function(){this._clearFn.call(Ra,this._id)},main.enroll=function(od,ld){clearTimeout(od._idleTimeoutId),od._idleTimeout=ld},main.unenroll=function(od){clearTimeout(od._idleTimeoutId),od._idleTimeout=-1},main._unrefActive=main.active=function(od){clearTimeout(od._idleTimeoutId);var ld=od._idleTimeout;ld>=0&&(od._idleTimeoutId=setTimeout(function(){od._onTimeout&&od._onTimeout()},ld))},requireSetImmediate(),main.setImmediate=typeof self<"u"&&self.setImmediate||typeof commonjsGlobal<"u"&&commonjsGlobal.setImmediate||commonjsGlobal&&commonjsGlobal.setImmediate,main.clearImmediate=typeof self<"u"&&self.clearImmediate||typeof commonjsGlobal<"u"&&commonjsGlobal.clearImmediate||commonjsGlobal&&commonjsGlobal.clearImmediate,main}var hasRequiredParser;function requireParser(){return hasRequiredParser||(hasRequiredParser=1,function(Ra){(function(){var qa,nd,od,ld,ud,cd,dd,pd,fd=function(Ad,Nd){return function(){return Ad.apply(Nd,arguments)}},md=function(Ad,Nd){for(var Id in Nd)vd.call(Nd,Id)&&(Ad[Id]=Nd[Id]);function kd(){this.constructor=Ad}return kd.prototype=Nd.prototype,Ad.prototype=new kd,Ad.__super__=Nd.prototype,Ad},vd={}.hasOwnProperty;dd=requireSax(),od=eventsExports,qa=requireBom(),cd=requireProcessors(),pd=requireMain().setImmediate,nd=requireDefaults().defaults,ld=function(Ad){return typeof Ad=="object"&&Ad!=null&&Object.keys(Ad).length===0},ud=function(Ad,Nd,Id){var kd,jd,Fd;for(kd=0,jd=Ad.length;kd0&&(Vd[Md.options.childkey]=mf),mf=Vd;else if(Kd){Kd[Md.options.childkey]=Kd[Md.options.childkey]||[],Yd=Object.create(null);for(Gd in mf)vd.call(mf,Gd)&&(Yd[Gd]=mf[Gd]);Kd[Md.options.childkey].push(Yd),delete mf["#name"],Object.keys(mf).length===1&&kd in mf&&!Md.EXPLICIT_CHARKEY&&(mf=mf[kd])}}return Fd.length>0?Md.assignOrPush(Kd,Qd,mf):(Md.options.explicitRoot&&(Zd=mf,mf=Object.create(null),mf[Qd]=Zd),Md.resultObject=mf,Md.saxParser.ended=!0,Md.emit("end",Md.resultObject))}}(this),jd=function(Md){return function(Ld){var Hd,Gd;if(Gd=Fd[Fd.length-1],Gd)return Gd[kd]+=Ld,Md.options.explicitChildren&&Md.options.preserveChildrenOrder&&Md.options.charsAsChildren&&(Md.options.includeWhiteChars||Ld.replace(/\\n/g,"").trim()!=="")&&(Gd[Md.options.childkey]=Gd[Md.options.childkey]||[],Hd={"#name":"__text__"},Hd[kd]=Ld,Md.options.normalize&&(Hd[kd]=Hd[kd].replace(/\s{2,}/g," ").trim()),Gd[Md.options.childkey].push(Hd)),Gd}}(this),this.saxParser.ontext=jd,this.saxParser.oncdata=function(Md){return function(Ld){var Hd;if(Hd=jd(Ld),Hd)return Hd.cdata=!0}}()},Nd.prototype.parseString=function(Id,kd){var jd;kd!=null&&typeof kd=="function"&&(this.on("end",function(Fd){return this.reset(),kd(null,Fd)}),this.on("error",function(Fd){return this.reset(),kd(Fd)}));try{return Id=Id.toString(),Id.trim()===""?(this.emit("end",null),!0):(Id=qa.stripBOM(Id),this.options.async?(this.remaining=Id,pd(this.processAsync),this.saxParser):this.saxParser.write(Id).close())}catch(Fd){if(jd=Fd,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw jd}else return this.emit("error",jd),this.saxParser.errThrown=!0}},Nd.prototype.parseStringPromise=function(Id){return new Promise(function(kd){return function(jd,Fd){return kd.parseString(Id,function(Md,Ld){return Md?Fd(Md):jd(Ld)})}}(this))},Nd}(od),Ra.parseString=function(Ad,Nd,Id){var kd,jd,Fd;return Id!=null?(typeof Id=="function"&&(kd=Id),typeof Nd=="object"&&(jd=Nd)):(typeof Nd=="function"&&(kd=Nd),jd={}),Fd=new Ra.Parser(jd),Fd.parseString(Ad,kd)},Ra.parseStringPromise=function(Ad,Nd){var Id,kd;return typeof Nd=="object"&&(Id=Nd),kd=new Ra.Parser(Id),kd.parseStringPromise(Ad)}}).call(commonjsGlobal)}(parser)),parser}(function(){var Ra,qa,nd,od,ld=function(cd,dd){for(var pd in dd)ud.call(dd,pd)&&(cd[pd]=dd[pd]);function fd(){this.constructor=cd}return fd.prototype=dd.prototype,cd.prototype=new fd,cd.__super__=dd.prototype,cd},ud={}.hasOwnProperty;qa=requireDefaults(),Ra=requireBuilder(),nd=requireParser(),od=requireProcessors(),xml2js.defaults=qa.defaults,xml2js.processors=od,xml2js.ValidationError=function(cd){ld(dd,cd);function dd(pd){this.message=pd}return dd}(Error),xml2js.Builder=Ra.Builder,xml2js.Parser=nd.Parser,xml2js.parseString=nd.parseString,xml2js.parseStringPromise=nd.parseStringPromise}).call(commonjsGlobal);class ExtendableError extends Error{constructor(qa,nd){super(qa,nd),this.name=this.constructor.name}}class AnonymousRequestError extends ExtendableError{}class InvalidArgumentError extends ExtendableError{}class InvalidEndpointError extends ExtendableError{}class InvalidBucketNameError extends ExtendableError{}class InvalidObjectNameError extends ExtendableError{}class AccessKeyRequiredError extends ExtendableError{}class SecretKeyRequiredError extends ExtendableError{}class ExpiresParamError extends ExtendableError{}class InvalidDateError extends ExtendableError{}class InvalidPrefixError extends ExtendableError{}class InvalidBucketPolicyError extends ExtendableError{}class InvalidXMLError extends ExtendableError{}class S3Error extends ExtendableError{}class IsValidBucketNameError extends ExtendableError{}var validator$2={},util$4={};(function(Ra){const qa=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",nd=qa+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",od="["+qa+"]["+nd+"]*",ld=new RegExp("^"+od+"$"),ud=function(dd,pd){const fd=[];let md=pd.exec(dd);for(;md;){const vd=[];vd.startIndex=pd.lastIndex-md[0].length;const Ad=md.length;for(let Nd=0;Nd"u")};Ra.isExist=function(dd){return typeof dd<"u"},Ra.isEmptyObject=function(dd){return Object.keys(dd).length===0},Ra.merge=function(dd,pd,fd){if(pd){const md=Object.keys(pd),vd=md.length;for(let Ad=0;Ad"&&Ra[ud]!==" "&&Ra[ud]!==" "&&Ra[ud]!==` +Char: `+Tf.c),vf=new Error(vf),Tf.error=vf,Xd(Tf,"onerror",vf),Tf}function xf(Tf){return Tf.sawRoot&&!Tf.closedRoot&&Af(Tf,"Unclosed root tag"),Tf.state!==Wd.BEGIN&&Tf.state!==Wd.BEGIN_WHITESPACE&&Tf.state!==Wd.TEXT&&gf(Tf,"Unexpected end"),yf(Tf),Tf.c="",Tf.closed=!0,Xd(Tf,"onend"),od.call(Tf,Tf.strict,Tf.opt),Tf}function Af(Tf,vf){if(typeof Tf!="object"||!(Tf instanceof od))throw new Error("bad call to strictFail");Tf.strict&&gf(Tf,vf)}function Lf(Tf){Tf.strict||(Tf.tagName=Tf.tagName[Tf.looseCase]());var vf=Tf.tags[Tf.tags.length-1]||Tf,qf=Tf.tag={name:Tf.tagName,attributes:{}};Tf.opt.xmlns&&(qf.ns=vf.ns),Tf.attribList.length=0,bf(Tf,"onopentagstart",qf)}function Xf(Tf,vf){var qf=Tf.indexOf(":"),eh=qf<0?["",Tf]:Tf.split(":"),ch=eh[0],ih=eh[1];return vf&&Tf==="xmlns"&&(ch="xmlns",ih=""),{prefix:ch,local:ih}}function Jf(Tf){if(Tf.strict||(Tf.attribName=Tf.attribName[Tf.looseCase]()),Tf.attribList.indexOf(Tf.attribName)!==-1||Tf.tag.attributes.hasOwnProperty(Tf.attribName)){Tf.attribName=Tf.attribValue="";return}if(Tf.opt.xmlns){var vf=Xf(Tf.attribName,!0),qf=vf.prefix,eh=vf.local;if(qf==="xmlns")if(eh==="xml"&&Tf.attribValue!==Nd)Af(Tf,"xml: prefix must be bound to "+Nd+` +Actual: `+Tf.attribValue);else if(eh==="xmlns"&&Tf.attribValue!==Id)Af(Tf,"xmlns: prefix must be bound to "+Id+` +Actual: `+Tf.attribValue);else{var ch=Tf.tag,ih=Tf.tags[Tf.tags.length-1]||Tf;ch.ns===ih.ns&&(ch.ns=Object.create(ih.ns)),ch.ns[eh]=Tf.attribValue}Tf.attribList.push([Tf.attribName,Tf.attribValue])}else Tf.tag.attributes[Tf.attribName]=Tf.attribValue,bf(Tf,"onattribute",{name:Tf.attribName,value:Tf.attribValue});Tf.attribName=Tf.attribValue=""}function Zf(Tf,vf){if(Tf.opt.xmlns){var qf=Tf.tag,eh=Xf(Tf.tagName);qf.prefix=eh.prefix,qf.local=eh.local,qf.uri=qf.ns[eh.prefix]||"",qf.prefix&&!qf.uri&&(Af(Tf,"Unbound namespace prefix: "+JSON.stringify(Tf.tagName)),qf.uri=eh.prefix);var ch=Tf.tags[Tf.tags.length-1]||Tf;qf.ns&&ch.ns!==qf.ns&&Object.keys(qf.ns).forEach(function(ph){bf(Tf,"onopennamespace",{prefix:ph,uri:qf.ns[ph]})});for(var ih=0,Pf=Tf.attribList.length;ih",Tf.tagName="",Tf.state=Wd.SCRIPT;return}bf(Tf,"onscript",Tf.script),Tf.script=""}var vf=Tf.tags.length,qf=Tf.tagName;Tf.strict||(qf=qf[Tf.looseCase]());for(var eh=qf;vf--;){var ch=Tf.tags[vf];if(ch.name!==eh)Af(Tf,"Unexpected close tag");else break}if(vf<0){Af(Tf,"Unmatched closing tag: "+Tf.tagName),Tf.textNode+="",Tf.state=Wd.TEXT;return}Tf.tagName=qf;for(var ih=Tf.tags.length;ih-- >vf;){var Pf=Tf.tag=Tf.tags.pop();Tf.tagName=Tf.tag.name,bf(Tf,"onclosetag",Tf.tagName);var uh={};for(var xh in Pf.ns)uh[xh]=Pf.ns[xh];var Qf=Tf.tags[Tf.tags.length-1]||Tf;Tf.opt.xmlns&&Pf.ns!==Qf.ns&&Object.keys(Pf.ns).forEach(function(wf){var $f=Pf.ns[wf];bf(Tf,"onclosenamespace",{prefix:wf,uri:$f})})}vf===0&&(Tf.closedRoot=!0),Tf.tagName=Tf.attribValue=Tf.attribName="",Tf.attribList.length=0,Tf.state=Wd.TEXT}function Df(Tf){var vf=Tf.entity,qf=vf.toLowerCase(),eh,ch="";return Tf.ENTITIES[vf]?Tf.ENTITIES[vf]:Tf.ENTITIES[qf]?Tf.ENTITIES[qf]:(vf=qf,vf.charAt(0)==="#"&&(vf.charAt(1)==="x"?(vf=vf.slice(2),eh=parseInt(vf,16),ch=eh.toString(16)):(vf=vf.slice(1),eh=parseInt(vf,10),ch=eh.toString(10))),vf=vf.replace(/^0+/,""),isNaN(eh)||ch.toLowerCase()!==vf?(Af(Tf,"Invalid character entity"),"&"+Tf.entity+";"):String.fromCodePoint(eh))}function Uf(Tf,vf){vf==="<"?(Tf.state=Wd.OPEN_WAKA,Tf.startTagPosition=Tf.position):Hd(vf)||(Af(Tf,"Non-whitespace before first tag."),Tf.textNode=vf,Tf.state=Wd.TEXT)}function Gf(Tf,vf){var qf="";return vf"?(bf(vf,"onsgmldeclaration",vf.sgmlDecl),vf.sgmlDecl="",vf.state=Wd.TEXT):(Gd(eh)&&(vf.state=Wd.SGML_DECL_QUOTED),vf.sgmlDecl+=eh);continue;case Wd.SGML_DECL_QUOTED:eh===vf.q&&(vf.state=Wd.SGML_DECL,vf.q=""),vf.sgmlDecl+=eh;continue;case Wd.DOCTYPE:eh===">"?(vf.state=Wd.TEXT,bf(vf,"ondoctype",vf.doctype),vf.doctype=!0):(vf.doctype+=eh,eh==="["?vf.state=Wd.DOCTYPE_DTD:Gd(eh)&&(vf.state=Wd.DOCTYPE_QUOTED,vf.q=eh));continue;case Wd.DOCTYPE_QUOTED:vf.doctype+=eh,eh===vf.q&&(vf.q="",vf.state=Wd.DOCTYPE);continue;case Wd.DOCTYPE_DTD:eh==="]"?(vf.doctype+=eh,vf.state=Wd.DOCTYPE):eh==="<"?(vf.state=Wd.OPEN_WAKA,vf.startTagPosition=vf.position):Gd(eh)?(vf.doctype+=eh,vf.state=Wd.DOCTYPE_DTD_QUOTED,vf.q=eh):vf.doctype+=eh;continue;case Wd.DOCTYPE_DTD_QUOTED:vf.doctype+=eh,eh===vf.q&&(vf.state=Wd.DOCTYPE_DTD,vf.q="");continue;case Wd.COMMENT:eh==="-"?vf.state=Wd.COMMENT_ENDING:vf.comment+=eh;continue;case Wd.COMMENT_ENDING:eh==="-"?(vf.state=Wd.COMMENT_ENDED,vf.comment=Ef(vf.opt,vf.comment),vf.comment&&bf(vf,"oncomment",vf.comment),vf.comment=""):(vf.comment+="-"+eh,vf.state=Wd.COMMENT);continue;case Wd.COMMENT_ENDED:eh!==">"?(Af(vf,"Malformed comment"),vf.comment+="--"+eh,vf.state=Wd.COMMENT):vf.doctype&&vf.doctype!==!0?vf.state=Wd.DOCTYPE_DTD:vf.state=Wd.TEXT;continue;case Wd.CDATA:eh==="]"?vf.state=Wd.CDATA_ENDING:vf.cdata+=eh;continue;case Wd.CDATA_ENDING:eh==="]"?vf.state=Wd.CDATA_ENDING_2:(vf.cdata+="]"+eh,vf.state=Wd.CDATA);continue;case Wd.CDATA_ENDING_2:eh===">"?(vf.cdata&&bf(vf,"oncdata",vf.cdata),bf(vf,"onclosecdata"),vf.cdata="",vf.state=Wd.TEXT):eh==="]"?vf.cdata+="]":(vf.cdata+="]]"+eh,vf.state=Wd.CDATA);continue;case Wd.PROC_INST:eh==="?"?vf.state=Wd.PROC_INST_ENDING:Hd(eh)?vf.state=Wd.PROC_INST_BODY:vf.procInstName+=eh;continue;case Wd.PROC_INST_BODY:if(!vf.procInstBody&&Hd(eh))continue;eh==="?"?vf.state=Wd.PROC_INST_ENDING:vf.procInstBody+=eh;continue;case Wd.PROC_INST_ENDING:eh===">"?(bf(vf,"onprocessinginstruction",{name:vf.procInstName,body:vf.procInstBody}),vf.procInstName=vf.procInstBody="",vf.state=Wd.TEXT):(vf.procInstBody+="?"+eh,vf.state=Wd.PROC_INST_BODY);continue;case Wd.OPEN_TAG:Kd(Fd,eh)?vf.tagName+=eh:(Lf(vf),eh===">"?Zf(vf):eh==="/"?vf.state=Wd.OPEN_TAG_SLASH:(Hd(eh)||Af(vf,"Invalid character in tag name"),vf.state=Wd.ATTRIB));continue;case Wd.OPEN_TAG_SLASH:eh===">"?(Zf(vf,!0),Bf(vf)):(Af(vf,"Forward-slash in opening tag not followed by >"),vf.state=Wd.ATTRIB);continue;case Wd.ATTRIB:if(Hd(eh))continue;eh===">"?Zf(vf):eh==="/"?vf.state=Wd.OPEN_TAG_SLASH:Kd(jd,eh)?(vf.attribName=eh,vf.attribValue="",vf.state=Wd.ATTRIB_NAME):Af(vf,"Invalid attribute name");continue;case Wd.ATTRIB_NAME:eh==="="?vf.state=Wd.ATTRIB_VALUE:eh===">"?(Af(vf,"Attribute without value"),vf.attribValue=vf.attribName,Jf(vf),Zf(vf)):Hd(eh)?vf.state=Wd.ATTRIB_NAME_SAW_WHITE:Kd(Fd,eh)?vf.attribName+=eh:Af(vf,"Invalid attribute name");continue;case Wd.ATTRIB_NAME_SAW_WHITE:if(eh==="=")vf.state=Wd.ATTRIB_VALUE;else{if(Hd(eh))continue;Af(vf,"Attribute without value"),vf.tag.attributes[vf.attribName]="",vf.attribValue="",bf(vf,"onattribute",{name:vf.attribName,value:""}),vf.attribName="",eh===">"?Zf(vf):Kd(jd,eh)?(vf.attribName=eh,vf.state=Wd.ATTRIB_NAME):(Af(vf,"Invalid attribute name"),vf.state=Wd.ATTRIB)}continue;case Wd.ATTRIB_VALUE:if(Hd(eh))continue;Gd(eh)?(vf.q=eh,vf.state=Wd.ATTRIB_VALUE_QUOTED):(vf.opt.unquotedAttributeValues||gf(vf,"Unquoted attribute value"),vf.state=Wd.ATTRIB_VALUE_UNQUOTED,vf.attribValue=eh);continue;case Wd.ATTRIB_VALUE_QUOTED:if(eh!==vf.q){eh==="&"?vf.state=Wd.ATTRIB_VALUE_ENTITY_Q:vf.attribValue+=eh;continue}Jf(vf),vf.q="",vf.state=Wd.ATTRIB_VALUE_CLOSED;continue;case Wd.ATTRIB_VALUE_CLOSED:Hd(eh)?vf.state=Wd.ATTRIB:eh===">"?Zf(vf):eh==="/"?vf.state=Wd.OPEN_TAG_SLASH:Kd(jd,eh)?(Af(vf,"No whitespace between attributes"),vf.attribName=eh,vf.attribValue="",vf.state=Wd.ATTRIB_NAME):Af(vf,"Invalid attribute name");continue;case Wd.ATTRIB_VALUE_UNQUOTED:if(!Vd(eh)){eh==="&"?vf.state=Wd.ATTRIB_VALUE_ENTITY_U:vf.attribValue+=eh;continue}Jf(vf),eh===">"?Zf(vf):vf.state=Wd.ATTRIB;continue;case Wd.CLOSE_TAG:if(vf.tagName)eh===">"?Bf(vf):Kd(Fd,eh)?vf.tagName+=eh:vf.script?(vf.script+=""?Bf(vf):Af(vf,"Invalid characters in closing tag");continue;case Wd.TEXT_ENTITY:case Wd.ATTRIB_VALUE_ENTITY_Q:case Wd.ATTRIB_VALUE_ENTITY_U:var Pf,uh;switch(vf.state){case Wd.TEXT_ENTITY:Pf=Wd.TEXT,uh="textNode";break;case Wd.ATTRIB_VALUE_ENTITY_Q:Pf=Wd.ATTRIB_VALUE_QUOTED,uh="attribValue";break;case Wd.ATTRIB_VALUE_ENTITY_U:Pf=Wd.ATTRIB_VALUE_UNQUOTED,uh="attribValue";break}if(eh===";"){var xh=Df(vf);vf.opt.unparsedEntities&&!Object.values(qa.XML_ENTITIES).includes(xh)?(vf.entity="",vf.state=Pf,vf.write(xh)):(vf[uh]+=xh,vf.entity="",vf.state=Pf)}else Kd(vf.entity.length?Ld:Md,eh)?vf.entity+=eh:(Af(vf,"Invalid character in entity name"),vf[uh]+="&"+vf.entity+eh,vf.entity="",vf.state=Pf);continue;default:throw new Error(vf,"Unknown state: "+vf.state)}return vf.position>=vf.bufferCheckPosition&&ld(vf),vf}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */String.fromCodePoint||function(){var Tf=String.fromCharCode,vf=Math.floor,qf=function(){var eh=16384,ch=[],ih,Pf,uh=-1,xh=arguments.length;if(!xh)return"";for(var Qf="";++uh1114111||vf(wf)!==wf)throw RangeError("Invalid code point: "+wf);wf<=65535?ch.push(wf):(wf-=65536,ih=(wf>>10)+55296,Pf=wf%1024+56320,ch.push(ih,Pf)),(uh+1===xh||ch.length>eh)&&(Qf+=Tf.apply(null,ch),ch.length=0)}return Qf};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:qf,configurable:!0,writable:!0}):String.fromCodePoint=qf}()})(Ra)}(sax)),sax}var bom={},hasRequiredBom;function requireBom(){return hasRequiredBom||(hasRequiredBom=1,(function(){bom.stripBOM=function(Ra){return Ra[0]==="\uFEFF"?Ra.substring(1):Ra}}).call(commonjsGlobal)),bom}var processors={},hasRequiredProcessors;function requireProcessors(){return hasRequiredProcessors||(hasRequiredProcessors=1,(function(){var Ra;Ra=new RegExp(/(?!xmlns)^.*:/),processors.normalize=function(qa){return qa.toLowerCase()},processors.firstCharLowerCase=function(qa){return qa.charAt(0).toLowerCase()+qa.slice(1)},processors.stripPrefix=function(qa){return qa.replace(Ra,"")},processors.parseNumbers=function(qa){return isNaN(qa)||(qa=qa%1===0?parseInt(qa,10):parseFloat(qa)),qa},processors.parseBooleans=function(qa){return/^(?:true|false)$/i.test(qa)&&(qa=qa.toLowerCase()==="true"),qa}}).call(commonjsGlobal)),processors}var main={},setImmediate$1={},hasRequiredSetImmediate;function requireSetImmediate(){if(hasRequiredSetImmediate)return setImmediate$1;hasRequiredSetImmediate=1;var Ra={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_9b3b18d1-9340-49ab-b4e8-5023772e0970",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_9b3b18d1-9340-49ab-b4e8-5023772e0970",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:1985",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12403591553",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_77bf6c2e-16c6-46b5-9674-d636e159247f",INVOCATION_ID:"2e23158896aa43b4b0c7cc0c353d16fa",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"468",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 17",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_9b3b18d1-9340-49ab-b4e8-5023772e0970",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_9b3b18d1-9340-49ab-b4e8-5023772e0970",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_9b3b18d1-9340-49ab-b4e8-5023772e0970",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2165,ppid:2164,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};return function(qa,nd){if(qa.setImmediate)return;var od=1,ld={},ud=!1,cd=qa.document,dd;function pd(Ld){typeof Ld!="function"&&(Ld=new Function(""+Ld));for(var Hd=new Array(arguments.length-1),Gd=0;Gd"u"?commonjsGlobal:self),setImmediate$1}var hasRequiredMain;function requireMain(){if(hasRequiredMain)return main;hasRequiredMain=1;var Ra=typeof commonjsGlobal<"u"&&commonjsGlobal||typeof self<"u"&&self||window,qa=Function.prototype.apply;main.setTimeout=function(){return new nd(qa.call(setTimeout,Ra,arguments),clearTimeout)},main.setInterval=function(){return new nd(qa.call(setInterval,Ra,arguments),clearInterval)},main.clearTimeout=main.clearInterval=function(od){od&&od.close()};function nd(od,ld){this._id=od,this._clearFn=ld}return nd.prototype.unref=nd.prototype.ref=function(){},nd.prototype.close=function(){this._clearFn.call(Ra,this._id)},main.enroll=function(od,ld){clearTimeout(od._idleTimeoutId),od._idleTimeout=ld},main.unenroll=function(od){clearTimeout(od._idleTimeoutId),od._idleTimeout=-1},main._unrefActive=main.active=function(od){clearTimeout(od._idleTimeoutId);var ld=od._idleTimeout;ld>=0&&(od._idleTimeoutId=setTimeout(function(){od._onTimeout&&od._onTimeout()},ld))},requireSetImmediate(),main.setImmediate=typeof self<"u"&&self.setImmediate||typeof commonjsGlobal<"u"&&commonjsGlobal.setImmediate||commonjsGlobal&&commonjsGlobal.setImmediate,main.clearImmediate=typeof self<"u"&&self.clearImmediate||typeof commonjsGlobal<"u"&&commonjsGlobal.clearImmediate||commonjsGlobal&&commonjsGlobal.clearImmediate,main}var hasRequiredParser;function requireParser(){return hasRequiredParser||(hasRequiredParser=1,function(Ra){(function(){var qa,nd,od,ld,ud,cd,dd,pd,fd=function(Ad,Nd){return function(){return Ad.apply(Nd,arguments)}},md=function(Ad,Nd){for(var Id in Nd)vd.call(Nd,Id)&&(Ad[Id]=Nd[Id]);function kd(){this.constructor=Ad}return kd.prototype=Nd.prototype,Ad.prototype=new kd,Ad.__super__=Nd.prototype,Ad},vd={}.hasOwnProperty;dd=requireSax(),od=eventsExports,qa=requireBom(),cd=requireProcessors(),pd=requireMain().setImmediate,nd=requireDefaults().defaults,ld=function(Ad){return typeof Ad=="object"&&Ad!=null&&Object.keys(Ad).length===0},ud=function(Ad,Nd,Id){var kd,jd,Fd;for(kd=0,jd=Ad.length;kd0&&(Vd[Md.options.childkey]=mf),mf=Vd;else if(Xd){Xd[Md.options.childkey]=Xd[Md.options.childkey]||[],Wd=Object.create(null);for(Gd in mf)vd.call(mf,Gd)&&(Wd[Gd]=mf[Gd]);Xd[Md.options.childkey].push(Wd),delete mf["#name"],Object.keys(mf).length===1&&kd in mf&&!Md.EXPLICIT_CHARKEY&&(mf=mf[kd])}}return Fd.length>0?Md.assignOrPush(Xd,Kd,mf):(Md.options.explicitRoot&&(Zd=mf,mf=Object.create(null),mf[Kd]=Zd),Md.resultObject=mf,Md.saxParser.ended=!0,Md.emit("end",Md.resultObject))}}(this),jd=function(Md){return function(Ld){var Hd,Gd;if(Gd=Fd[Fd.length-1],Gd)return Gd[kd]+=Ld,Md.options.explicitChildren&&Md.options.preserveChildrenOrder&&Md.options.charsAsChildren&&(Md.options.includeWhiteChars||Ld.replace(/\\n/g,"").trim()!=="")&&(Gd[Md.options.childkey]=Gd[Md.options.childkey]||[],Hd={"#name":"__text__"},Hd[kd]=Ld,Md.options.normalize&&(Hd[kd]=Hd[kd].replace(/\s{2,}/g," ").trim()),Gd[Md.options.childkey].push(Hd)),Gd}}(this),this.saxParser.ontext=jd,this.saxParser.oncdata=function(Md){return function(Ld){var Hd;if(Hd=jd(Ld),Hd)return Hd.cdata=!0}}()},Nd.prototype.parseString=function(Id,kd){var jd;kd!=null&&typeof kd=="function"&&(this.on("end",function(Fd){return this.reset(),kd(null,Fd)}),this.on("error",function(Fd){return this.reset(),kd(Fd)}));try{return Id=Id.toString(),Id.trim()===""?(this.emit("end",null),!0):(Id=qa.stripBOM(Id),this.options.async?(this.remaining=Id,pd(this.processAsync),this.saxParser):this.saxParser.write(Id).close())}catch(Fd){if(jd=Fd,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw jd}else return this.emit("error",jd),this.saxParser.errThrown=!0}},Nd.prototype.parseStringPromise=function(Id){return new Promise(function(kd){return function(jd,Fd){return kd.parseString(Id,function(Md,Ld){return Md?Fd(Md):jd(Ld)})}}(this))},Nd}(od),Ra.parseString=function(Ad,Nd,Id){var kd,jd,Fd;return Id!=null?(typeof Id=="function"&&(kd=Id),typeof Nd=="object"&&(jd=Nd)):(typeof Nd=="function"&&(kd=Nd),jd={}),Fd=new Ra.Parser(jd),Fd.parseString(Ad,kd)},Ra.parseStringPromise=function(Ad,Nd){var Id,kd;return typeof Nd=="object"&&(Id=Nd),kd=new Ra.Parser(Id),kd.parseStringPromise(Ad)}}).call(commonjsGlobal)}(parser)),parser}(function(){var Ra,qa,nd,od,ld=function(cd,dd){for(var pd in dd)ud.call(dd,pd)&&(cd[pd]=dd[pd]);function fd(){this.constructor=cd}return fd.prototype=dd.prototype,cd.prototype=new fd,cd.__super__=dd.prototype,cd},ud={}.hasOwnProperty;qa=requireDefaults(),Ra=requireBuilder(),nd=requireParser(),od=requireProcessors(),xml2js.defaults=qa.defaults,xml2js.processors=od,xml2js.ValidationError=function(cd){ld(dd,cd);function dd(pd){this.message=pd}return dd}(Error),xml2js.Builder=Ra.Builder,xml2js.Parser=nd.Parser,xml2js.parseString=nd.parseString,xml2js.parseStringPromise=nd.parseStringPromise}).call(commonjsGlobal);class ExtendableError extends Error{constructor(qa,nd){super(qa,nd),this.name=this.constructor.name}}class AnonymousRequestError extends ExtendableError{}class InvalidArgumentError extends ExtendableError{}class InvalidEndpointError extends ExtendableError{}class InvalidBucketNameError extends ExtendableError{}class InvalidObjectNameError extends ExtendableError{}class AccessKeyRequiredError extends ExtendableError{}class SecretKeyRequiredError extends ExtendableError{}class ExpiresParamError extends ExtendableError{}class InvalidDateError extends ExtendableError{}class InvalidPrefixError extends ExtendableError{}class InvalidBucketPolicyError extends ExtendableError{}class InvalidXMLError extends ExtendableError{}class S3Error extends ExtendableError{}class IsValidBucketNameError extends ExtendableError{}var validator$2={},util$4={};(function(Ra){const qa=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",nd=qa+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",od="["+qa+"]["+nd+"]*",ld=new RegExp("^"+od+"$"),ud=function(dd,pd){const fd=[];let md=pd.exec(dd);for(;md;){const vd=[];vd.startIndex=pd.lastIndex-md[0].length;const Ad=md.length;for(let Nd=0;Nd"u")};Ra.isExist=function(dd){return typeof dd<"u"},Ra.isEmptyObject=function(dd){return Object.keys(dd).length===0},Ra.merge=function(dd,pd,fd){if(pd){const md=Object.keys(pd),vd=md.length;for(let Ad=0;Ad"&&Ra[ud]!==" "&&Ra[ud]!==" "&&Ra[ud]!==` `&&Ra[ud]!=="\r";ud++)pd+=Ra[ud];if(pd=pd.trim(),pd[pd.length-1]==="/"&&(pd=pd.substring(0,pd.length-1),ud--),!validateTagName(pd)){let vd;return pd.trim().length===0?vd="Invalid space after '<'.":vd="Tag '"+pd+"' is an invalid name.",getErrorObject("InvalidTag",vd,getLineNumberForPosition(Ra,ud))}const fd=readAttributeStr(Ra,ud);if(fd===!1)return getErrorObject("InvalidAttr","Attributes for '"+pd+"' have open quote.",getLineNumberForPosition(Ra,ud));let md=fd.value;if(ud=fd.index,md[md.length-1]==="/"){const vd=ud-md.length;md=md.substring(0,md.length-1);const Ad=validateAttributeString(md,qa);if(Ad===!0)od=!0;else return getErrorObject(Ad.err.code,Ad.err.msg,getLineNumberForPosition(Ra,vd+Ad.err.line))}else if(dd)if(fd.tagClosed){if(md.trim().length>0)return getErrorObject("InvalidTag","Closing tag '"+pd+"' can't have attributes or invalid starting.",getLineNumberForPosition(Ra,cd));if(nd.length===0)return getErrorObject("InvalidTag","Closing tag '"+pd+"' has not been opened.",getLineNumberForPosition(Ra,cd));{const vd=nd.pop();if(pd!==vd.tagName){let Ad=getLineNumberForPosition(Ra,vd.tagStartPos);return getErrorObject("InvalidTag","Expected closing tag '"+vd.tagName+"' (opened in line "+Ad.line+", col "+Ad.col+") instead of closing tag '"+pd+"'.",getLineNumberForPosition(Ra,cd))}nd.length==0&&(ld=!0)}}else return getErrorObject("InvalidTag","Closing tag '"+pd+"' doesn't have proper closing.",getLineNumberForPosition(Ra,ud));else{const vd=validateAttributeString(md,qa);if(vd!==!0)return getErrorObject(vd.err.code,vd.err.msg,getLineNumberForPosition(Ra,ud-md.length+vd.err.line));if(ld===!0)return getErrorObject("InvalidXml","Multiple possible root nodes found.",getLineNumberForPosition(Ra,ud));qa.unpairedTags.indexOf(pd)!==-1||nd.push({tagName:pd,tagStartPos:cd}),od=!0}for(ud++;ud0)return getErrorObject("InvalidXml","Invalid '"+JSON.stringify(nd.map(ud=>ud.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return getErrorObject("InvalidXml","Start tag expected.",1);return!0};function isWhiteSpace(Ra){return Ra===" "||Ra===" "||Ra===` `||Ra==="\r"}function readPI(Ra,qa){const nd=qa;for(;qa5&&od==="xml")return getErrorObject("InvalidXml","XML declaration allowed only at the start of the document.",getLineNumberForPosition(Ra,qa));if(Ra[qa]=="?"&&Ra[qa+1]==">"){qa++;break}else continue}return qa}function readCommentAndCDATA(Ra,qa){if(Ra.length>qa+5&&Ra[qa+1]==="-"&&Ra[qa+2]==="-"){for(qa+=3;qa"){qa+=2;break}}else if(Ra.length>qa+8&&Ra[qa+1]==="D"&&Ra[qa+2]==="O"&&Ra[qa+3]==="C"&&Ra[qa+4]==="T"&&Ra[qa+5]==="Y"&&Ra[qa+6]==="P"&&Ra[qa+7]==="E"){let nd=1;for(qa+=8;qa"&&(nd--,nd===0))break}else if(Ra.length>qa+9&&Ra[qa+1]==="["&&Ra[qa+2]==="C"&&Ra[qa+3]==="D"&&Ra[qa+4]==="A"&&Ra[qa+5]==="T"&&Ra[qa+6]==="A"&&Ra[qa+7]==="["){for(qa+=8;qa"){qa+=2;break}}return qa}const doubleQuote='"',singleQuote="'";function readAttributeStr(Ra,qa){let nd="",od="",ld=!1;for(;qa"&&od===""){ld=!0;break}nd+=Ra[qa]}return od!==""?!1:{value:nd,index:qa,tagClosed:ld}}const validAttrStrRegxp=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function validateAttributeString(Ra,qa){const nd=util$3.getAllMatches(Ra,validAttrStrRegxp),od={};for(let ld=0;ld!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(Ra,qa,nd){return Ra}},buildOptions$1=function(Ra){return Object.assign({},defaultOptions$1,Ra)};OptionsBuilder.buildOptions=buildOptions$1;OptionsBuilder.defaultOptions=defaultOptions$1;class XmlNode{constructor(qa){this.tagname=qa,this.child=[],this[":@"]={}}add(qa,nd){qa==="__proto__"&&(qa="#__proto__"),this.child.push({[qa]:nd})}addChild(qa){qa.tagname==="__proto__"&&(qa.tagname="#__proto__"),qa[":@"]&&Object.keys(qa[":@"]).length>0?this.child.push({[qa.tagname]:qa.child,":@":qa[":@"]}):this.child.push({[qa.tagname]:qa.child})}}var xmlNode$1=XmlNode;const util$2=util$4;function readDocType$1(Ra,qa){const nd={};if(Ra[qa+3]==="O"&&Ra[qa+4]==="C"&&Ra[qa+5]==="T"&&Ra[qa+6]==="Y"&&Ra[qa+7]==="P"&&Ra[qa+8]==="E"){qa=qa+9;let od=1,ld=!1,ud=!1,cd="";for(;qa"){if(ud?Ra[qa-1]==="-"&&Ra[qa-2]==="-"&&(ud=!1,od--):od--,od===0)break}else Ra[qa]==="["?ld=!0:cd+=Ra[qa];if(od!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:nd,i:qa}}function readEntityExp(Ra,qa){let nd="";for(;qa0&&ld&&nd[2]!==".")return Ra;if(!qa.leadingZeros&&ud.length>0&&!ld&&nd[1]!==".")return Ra;{const pd=Number(nd),fd=""+pd;return fd.search(/[eE]/)!==-1||dd?qa.eNotation?pd:Ra:nd.indexOf(".")!==-1?fd==="0"&&cd===""||fd===cd||ld&&fd==="-"+cd?pd:Ra:ud?cd===fd||ld+cd===fd?pd:Ra:nd===fd||nd===ld+fd?pd:Ra}}else return Ra}}function trimZeros(Ra){return Ra&&Ra.indexOf(".")!==-1&&(Ra=Ra.replace(/0+$/,""),Ra==="."?Ra="0":Ra[0]==="."?Ra="0"+Ra:Ra[Ra.length-1]==="."&&(Ra=Ra.substr(0,Ra.length-1))),Ra}var strnum=toNumber$1;function getIgnoreAttributesFn$2(Ra){return typeof Ra=="function"?Ra:Array.isArray(Ra)?qa=>{for(const nd of Ra)if(typeof nd=="string"&&qa===nd||nd instanceof RegExp&&nd.test(qa))return!0}:()=>!1}var ignoreAttributes=getIgnoreAttributesFn$2;const util$1=util$4,xmlNode=xmlNode$1,readDocType=DocTypeReader,toNumber=strnum,getIgnoreAttributesFn$1=ignoreAttributes;let OrderedObjParser$1=class{constructor(qa){this.options=qa,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(nd,od)=>String.fromCharCode(Number.parseInt(od,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(nd,od)=>String.fromCharCode(Number.parseInt(od,16))}},this.addExternalEntities=addExternalEntities,this.parseXml=parseXml$1,this.parseTextData=parseTextData,this.resolveNameSpace=resolveNameSpace,this.buildAttributesMap=buildAttributesMap,this.isItStopNode=isItStopNode,this.replaceEntitiesValue=replaceEntitiesValue$1,this.readStopNodeData=readStopNodeData,this.saveTextToParentTag=saveTextToParentTag,this.addChild=addChild,this.ignoreAttributesFn=getIgnoreAttributesFn$1(this.options.ignoreAttributes)}};function addExternalEntities(Ra){const qa=Object.keys(Ra);for(let nd=0;nd0)){cd||(Ra=this.replaceEntitiesValue(Ra));const dd=this.options.tagValueProcessor(qa,Ra,nd,ld,ud);return dd==null?Ra:typeof dd!=typeof Ra||dd!==Ra?dd:this.options.trimValues?parseValue(Ra,this.options.parseTagValue,this.options.numberParseOptions):Ra.trim()===Ra?parseValue(Ra,this.options.parseTagValue,this.options.numberParseOptions):Ra}}function resolveNameSpace(Ra){if(this.options.removeNSPrefix){const qa=Ra.split(":"),nd=Ra.charAt(0)==="/"?"/":"";if(qa[0]==="xmlns")return"";qa.length===2&&(Ra=nd+qa[1])}return Ra}const attrsRegx=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function buildAttributesMap(Ra,qa,nd){if(this.options.ignoreAttributes!==!0&&typeof Ra=="string"){const od=util$1.getAllMatches(Ra,attrsRegx),ld=od.length,ud={};for(let cd=0;cd",ud,"Closing Tag is not closed.");let pd=Ra.substring(ud+2,dd).trim();if(this.options.removeNSPrefix){const vd=pd.indexOf(":");vd!==-1&&(pd=pd.substr(vd+1))}this.options.transformTagName&&(pd=this.options.transformTagName(pd)),nd&&(od=this.saveTextToParentTag(od,nd,ld));const fd=ld.substring(ld.lastIndexOf(".")+1);if(pd&&this.options.unpairedTags.indexOf(pd)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: `);let md=0;fd&&this.options.unpairedTags.indexOf(fd)!==-1?(md=ld.lastIndexOf(".",ld.lastIndexOf(".")-1),this.tagsNodeStack.pop()):md=ld.lastIndexOf("."),ld=ld.substring(0,md),nd=this.tagsNodeStack.pop(),od="",ud=dd}else if(Ra[ud+1]==="?"){let dd=readTagExp(Ra,ud,!1,"?>");if(!dd)throw new Error("Pi Tag is not closed.");if(od=this.saveTextToParentTag(od,nd,ld),!(this.options.ignoreDeclaration&&dd.tagName==="?xml"||this.options.ignorePiTags)){const pd=new xmlNode(dd.tagName);pd.add(this.options.textNodeName,""),dd.tagName!==dd.tagExp&&dd.attrExpPresent&&(pd[":@"]=this.buildAttributesMap(dd.tagExp,ld,dd.tagName)),this.addChild(nd,pd,ld)}ud=dd.closeIndex+1}else if(Ra.substr(ud+1,3)==="!--"){const dd=findClosingIndex(Ra,"-->",ud+4,"Comment is not closed.");if(this.options.commentPropName){const pd=Ra.substring(ud+4,dd-2);od=this.saveTextToParentTag(od,nd,ld),nd.add(this.options.commentPropName,[{[this.options.textNodeName]:pd}])}ud=dd}else if(Ra.substr(ud+1,2)==="!D"){const dd=readDocType(Ra,ud);this.docTypeEntities=dd.entities,ud=dd.i}else if(Ra.substr(ud+1,2)==="!["){const dd=findClosingIndex(Ra,"]]>",ud,"CDATA is not closed.")-2,pd=Ra.substring(ud+9,dd);od=this.saveTextToParentTag(od,nd,ld);let fd=this.parseTextData(pd,nd.tagname,ld,!0,!1,!0,!0);fd==null&&(fd=""),this.options.cdataPropName?nd.add(this.options.cdataPropName,[{[this.options.textNodeName]:pd}]):nd.add(this.options.textNodeName,fd),ud=dd+2}else{let dd=readTagExp(Ra,ud,this.options.removeNSPrefix),pd=dd.tagName;const fd=dd.rawTagName;let md=dd.tagExp,vd=dd.attrExpPresent,Ad=dd.closeIndex;this.options.transformTagName&&(pd=this.options.transformTagName(pd)),nd&&od&&nd.tagname!=="!xml"&&(od=this.saveTextToParentTag(od,nd,ld,!1));const Nd=nd;if(Nd&&this.options.unpairedTags.indexOf(Nd.tagname)!==-1&&(nd=this.tagsNodeStack.pop(),ld=ld.substring(0,ld.lastIndexOf("."))),pd!==qa.tagname&&(ld+=ld?"."+pd:pd),this.isItStopNode(this.options.stopNodes,ld,pd)){let Id="";if(md.length>0&&md.lastIndexOf("/")===md.length-1)pd[pd.length-1]==="/"?(pd=pd.substr(0,pd.length-1),ld=ld.substr(0,ld.length-1),md=pd):md=md.substr(0,md.length-1),ud=dd.closeIndex;else if(this.options.unpairedTags.indexOf(pd)!==-1)ud=dd.closeIndex;else{const jd=this.readStopNodeData(Ra,fd,Ad+1);if(!jd)throw new Error(`Unexpected end of ${fd}`);ud=jd.i,Id=jd.tagContent}const kd=new xmlNode(pd);pd!==md&&vd&&(kd[":@"]=this.buildAttributesMap(md,ld,pd)),Id&&(Id=this.parseTextData(Id,pd,ld,!0,vd,!0,!0)),ld=ld.substr(0,ld.lastIndexOf(".")),kd.add(this.options.textNodeName,Id),this.addChild(nd,kd,ld)}else{if(md.length>0&&md.lastIndexOf("/")===md.length-1){pd[pd.length-1]==="/"?(pd=pd.substr(0,pd.length-1),ld=ld.substr(0,ld.length-1),md=pd):md=md.substr(0,md.length-1),this.options.transformTagName&&(pd=this.options.transformTagName(pd));const Id=new xmlNode(pd);pd!==md&&vd&&(Id[":@"]=this.buildAttributesMap(md,ld,pd)),this.addChild(nd,Id,ld),ld=ld.substr(0,ld.lastIndexOf("."))}else{const Id=new xmlNode(pd);this.tagsNodeStack.push(nd),pd!==md&&vd&&(Id[":@"]=this.buildAttributesMap(md,ld,pd)),this.addChild(nd,Id,ld),nd=Id}od="",ud=Ad}}else od+=Ra[ud];return qa.child};function addChild(Ra,qa,nd){const od=this.options.updateTag(qa.tagname,nd,qa[":@"]);od===!1||(typeof od=="string"&&(qa.tagname=od),Ra.addChild(qa))}const replaceEntitiesValue$1=function(Ra){if(this.options.processEntities){for(let qa in this.docTypeEntities){const nd=this.docTypeEntities[qa];Ra=Ra.replace(nd.regx,nd.val)}for(let qa in this.lastEntities){const nd=this.lastEntities[qa];Ra=Ra.replace(nd.regex,nd.val)}if(this.options.htmlEntities)for(let qa in this.htmlEntities){const nd=this.htmlEntities[qa];Ra=Ra.replace(nd.regex,nd.val)}Ra=Ra.replace(this.ampEntity.regex,this.ampEntity.val)}return Ra};function saveTextToParentTag(Ra,qa,nd,od){return Ra&&(od===void 0&&(od=Object.keys(qa.child).length===0),Ra=this.parseTextData(Ra,qa.tagname,nd,!1,qa[":@"]?Object.keys(qa[":@"]).length!==0:!1,od),Ra!==void 0&&Ra!==""&&qa.add(this.options.textNodeName,Ra),Ra=""),Ra}function isItStopNode(Ra,qa,nd){const od="*."+nd;for(const ld in Ra){const ud=Ra[ld];if(od===ud||qa===ud)return!0}return!1}function tagExpWithClosingIndex(Ra,qa,nd=">"){let od,ld="";for(let ud=qa;ud",nd,`${qa} is not closed`);if(Ra.substring(nd+2,ud).trim()===qa&&(ld--,ld===0))return{tagContent:Ra.substring(od,nd),i:ud};nd=ud}else if(Ra[nd+1]==="?")nd=findClosingIndex(Ra,"?>",nd+1,"StopNode is not closed.");else if(Ra.substr(nd+1,3)==="!--")nd=findClosingIndex(Ra,"-->",nd+3,"StopNode is not closed.");else if(Ra.substr(nd+1,2)==="![")nd=findClosingIndex(Ra,"]]>",nd,"StopNode is not closed.")-2;else{const ud=readTagExp(Ra,nd,">");ud&&((ud&&ud.tagName)===qa&&ud.tagExp[ud.tagExp.length-1]!=="/"&&ld++,nd=ud.closeIndex)}}function parseValue(Ra,qa,nd){if(qa&&typeof Ra=="string"){const od=Ra.trim();return od==="true"?!0:od==="false"?!1:toNumber(Ra,nd)}else return util$1.isExist(Ra)?Ra:""}var OrderedObjParser_1=OrderedObjParser$1,node2json={};function prettify$1(Ra,qa){return compress(Ra,qa)}function compress(Ra,qa,nd){let od;const ld={};for(let ud=0;ud0&&(ld[qa.textNodeName]=od):od!==void 0&&(ld[qa.textNodeName]=od),ld}function propName$1(Ra){const qa=Object.keys(Ra);for(let nd=0;nd0&&(nd=EOL),arrToStr(Ra,qa,"",nd)}function arrToStr(Ra,qa,nd,od){let ld="",ud=!1;for(let cd=0;cd`,ud=!1;continue}else if(pd===qa.commentPropName){ld+=od+``,ud=!0;continue}else if(pd[0]==="?"){const Id=attr_to_str(dd[":@"],qa),kd=pd==="?xml"?"":od;let jd=dd[pd][0][qa.textNodeName];jd=jd.length!==0?" "+jd:"",ld+=kd+`<${pd}${jd}${Id}?>`,ud=!0;continue}let md=od;md!==""&&(md+=qa.indentBy);const vd=attr_to_str(dd[":@"],qa),Ad=od+`<${pd}${vd}`,Nd=arrToStr(dd[pd],qa,fd,md);qa.unpairedTags.indexOf(pd)!==-1?qa.suppressUnpairedNode?ld+=Ad+">":ld+=Ad+"/>":(!Nd||Nd.length===0)&&qa.suppressEmptyNode?ld+=Ad+"/>":Nd&&Nd.endsWith(">")?ld+=Ad+`>${Nd}${od}`:(ld+=Ad+">",Nd&&od!==""&&(Nd.includes("/>")||Nd.includes("`),ud=!0}return ld}function propName(Ra){const qa=Object.keys(Ra);for(let nd=0;nd0&&qa.processEntities)for(let nd=0;nd","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function Builder(Ra){this.options=Object.assign({},defaultOptions,Ra),this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=getIgnoreAttributesFn(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=isAttribute),this.processTextOrObjNode=processTextOrObjNode,this.options.format?(this.indentate=indentate,this.tagEndChar=`> `,this.newLine=` -`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}Builder.prototype.build=function(Ra){return this.options.preserveOrder?buildFromOrderedJs(Ra,this.options):(Array.isArray(Ra)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(Ra={[this.options.arrayNodeName]:Ra}),this.j2x(Ra,0,[]).val)};Builder.prototype.j2x=function(Ra,qa,nd){let od="",ld="";const ud=nd.join(".");for(let cd in Ra)if(Object.prototype.hasOwnProperty.call(Ra,cd))if(typeof Ra[cd]>"u")this.isAttribute(cd)&&(ld+="");else if(Ra[cd]===null)this.isAttribute(cd)?ld+="":cd[0]==="?"?ld+=this.indentate(qa)+"<"+cd+"?"+this.tagEndChar:ld+=this.indentate(qa)+"<"+cd+"/"+this.tagEndChar;else if(Ra[cd]instanceof Date)ld+=this.buildTextValNode(Ra[cd],cd,"",qa);else if(typeof Ra[cd]!="object"){const dd=this.isAttribute(cd);if(dd&&!this.ignoreAttributesFn(dd,ud))od+=this.buildAttrPairStr(dd,""+Ra[cd]);else if(!dd)if(cd===this.options.textNodeName){let pd=this.options.tagValueProcessor(cd,""+Ra[cd]);ld+=this.replaceEntitiesValue(pd)}else ld+=this.buildTextValNode(Ra[cd],cd,"",qa)}else if(Array.isArray(Ra[cd])){const dd=Ra[cd].length;let pd="",fd="";for(let md=0;md"u"))if(vd===null)cd[0]==="?"?ld+=this.indentate(qa)+"<"+cd+"?"+this.tagEndChar:ld+=this.indentate(qa)+"<"+cd+"/"+this.tagEndChar;else if(typeof vd=="object")if(this.options.oneListGroup){const Ad=this.j2x(vd,qa+1,nd.concat(cd));pd+=Ad.val,this.options.attributesGroupName&&vd.hasOwnProperty(this.options.attributesGroupName)&&(fd+=Ad.attrStr)}else pd+=this.processTextOrObjNode(vd,cd,qa,nd);else if(this.options.oneListGroup){let Ad=this.options.tagValueProcessor(cd,vd);Ad=this.replaceEntitiesValue(Ad),pd+=Ad}else pd+=this.buildTextValNode(vd,cd,"",qa)}this.options.oneListGroup&&(pd=this.buildObjectNode(pd,cd,fd,qa)),ld+=pd}else if(this.options.attributesGroupName&&cd===this.options.attributesGroupName){const dd=Object.keys(Ra[cd]),pd=dd.length;for(let fd=0;fd"+Ra+ld:this.options.commentPropName!==!1&&qa===this.options.commentPropName&&ud.length===0?this.indentate(od)+``+this.newLine:this.indentate(od)+"<"+qa+nd+ud+this.tagEndChar+Ra+this.indentate(od)+ld}};Builder.prototype.closeTag=function(Ra){let qa="";return this.options.unpairedTags.indexOf(Ra)!==-1?this.options.suppressUnpairedNode||(qa="/"):this.options.suppressEmptyNode?qa="/":qa=`>`+this.newLine;if(this.options.commentPropName!==!1&&qa===this.options.commentPropName)return this.indentate(od)+``+this.newLine;if(qa[0]==="?")return this.indentate(od)+"<"+qa+nd+"?"+this.tagEndChar;{let ld=this.options.tagValueProcessor(qa,Ra);return ld=this.replaceEntitiesValue(ld),ld===""?this.indentate(od)+"<"+qa+nd+this.closeTag(qa)+this.tagEndChar:this.indentate(od)+"<"+qa+nd+">"+ld+"0&&this.options.processEntities)for(let qa=0;qa=0;)jd++;if(Id.substr(0,2)==="::"&&jd--,Id.substr(-2,2)==="::"&&jd--,jd>kd)return null;for(Hd=kd-jd,Ld=":";Hd--;)Ld+="0:";return Id=Id.replace("::",Ld),Id[0]===":"&&(Id=Id.slice(1)),Id[Id.length-1]===":"&&(Id=Id.slice(0,-1)),kd=function(){const Gd=Id.split(":"),Vd=[];for(let Qd=0;Qd0;){if(Ld=jd-Fd,Ld<0&&(Ld=0),Id[Md]>>Ld!==kd[Md]>>Ld)return!1;Fd-=jd,Md+=1}return!0}function vd(Id){if(ud.test(Id))return parseInt(Id,16);if(Id[0]==="0"&&!isNaN(parseInt(Id[1],10))){if(ld.test(Id))return parseInt(Id,8);throw new Error(`ipaddr: cannot parse ${Id} as octal`)}return parseInt(Id,10)}function Ad(Id,kd){for(;Id.length=0;Md-=1)if(Ld=this.octets[Md],Ld in Fd){if(Hd=Fd[Ld],jd&&Hd!==0)return null;Hd!==8&&(jd=!0),kd+=Hd}else return null;return 32-kd},Id.prototype.range=function(){return Nd.subnetMatch(this,this.SpecialRanges)},Id.prototype.toByteArray=function(){return this.octets.slice(0)},Id.prototype.toIPv4MappedAddress=function(){return Nd.IPv6.parse(`::ffff:${this.toString()}`)},Id.prototype.toNormalizedString=function(){return this.toString()},Id.prototype.toString=function(){return this.octets.join(".")},Id}(),Nd.IPv4.broadcastAddressFromCIDR=function(Id){try{const kd=this.parseCIDR(Id),jd=kd[0].toByteArray(),Fd=this.subnetMaskFromPrefixLength(kd[1]).toByteArray(),Md=[];let Ld=0;for(;Ld<4;)Md.push(parseInt(jd[Ld],10)|parseInt(Fd[Ld],10)^255),Ld++;return new this(Md)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},Nd.IPv4.isIPv4=function(Id){return this.parser(Id)!==null},Nd.IPv4.isValid=function(Id){try{return new this(this.parser(Id)),!0}catch{return!1}},Nd.IPv4.isValidCIDR=function(Id){try{return this.parseCIDR(Id),!0}catch{return!1}},Nd.IPv4.isValidFourPartDecimal=function(Id){return!!(Nd.IPv4.isValid(Id)&&Id.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},Nd.IPv4.networkAddressFromCIDR=function(Id){let kd,jd,Fd,Md,Ld;try{for(kd=this.parseCIDR(Id),Fd=kd[0].toByteArray(),Ld=this.subnetMaskFromPrefixLength(kd[1]).toByteArray(),Md=[],jd=0;jd<4;)Md.push(parseInt(Fd[jd],10)&parseInt(Ld[jd],10)),jd++;return new this(Md)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},Nd.IPv4.parse=function(Id){const kd=this.parser(Id);if(kd===null)throw new Error("ipaddr: string is not formatted like an IPv4 Address");return new this(kd)},Nd.IPv4.parseCIDR=function(Id){let kd;if(kd=Id.match(/^(.+)\/(\d+)$/)){const jd=parseInt(kd[2]);if(jd>=0&&jd<=32){const Fd=[this.parse(kd[1]),jd];return Object.defineProperty(Fd,"toString",{value:function(){return this.join("/")}}),Fd}}throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},Nd.IPv4.parser=function(Id){let kd,jd,Fd;if(kd=Id.match(od.fourOctet))return function(){const Md=kd.slice(1,6),Ld=[];for(let Hd=0;Hd4294967295||Fd<0)throw new Error("ipaddr: address outside defined range");return function(){const Md=[];let Ld;for(Ld=0;Ld<=24;Ld+=8)Md.push(Fd>>Ld&255);return Md}().reverse()}else return(kd=Id.match(od.twoOctet))?function(){const Md=kd.slice(1,4),Ld=[];if(Fd=vd(Md[1]),Fd>16777215||Fd<0)throw new Error("ipaddr: address outside defined range");return Ld.push(vd(Md[0])),Ld.push(Fd>>16&255),Ld.push(Fd>>8&255),Ld.push(Fd&255),Ld}():(kd=Id.match(od.threeOctet))?function(){const Md=kd.slice(1,5),Ld=[];if(Fd=vd(Md[2]),Fd>65535||Fd<0)throw new Error("ipaddr: address outside defined range");return Ld.push(vd(Md[0])),Ld.push(vd(Md[1])),Ld.push(Fd>>8&255),Ld.push(Fd&255),Ld}():null},Nd.IPv4.subnetMaskFromPrefixLength=function(Id){if(Id=parseInt(Id),Id<0||Id>32)throw new Error("ipaddr: invalid IPv4 prefix length");const kd=[0,0,0,0];let jd=0;const Fd=Math.floor(Id/8);for(;jd=0;Hd-=1)if(Md=this.parts[Hd],Md in Fd){if(Ld=Fd[Md],jd&&Ld!==0)return null;Ld!==16&&(jd=!0),kd+=Ld}else return null;return 128-kd},Id.prototype.range=function(){return Nd.subnetMatch(this,this.SpecialRanges)},Id.prototype.toByteArray=function(){let kd;const jd=[],Fd=this.parts;for(let Md=0;Md>8),jd.push(kd&255);return jd},Id.prototype.toFixedLengthString=function(){const kd=(function(){const Fd=[];for(let Md=0;Md>8,jd&255,Fd>>8,Fd&255])},Id.prototype.toNormalizedString=function(){const kd=(function(){const Fd=[];for(let Md=0;MdMd&&(Fd=Ld.index,Md=Ld[0].length);return Md<0?jd:`${jd.substring(0,Fd)}::${jd.substring(Fd+Md)}`},Id.prototype.toString=function(){return this.toRFC5952String()},Id}(),Nd.IPv6.broadcastAddressFromCIDR=function(Id){try{const kd=this.parseCIDR(Id),jd=kd[0].toByteArray(),Fd=this.subnetMaskFromPrefixLength(kd[1]).toByteArray(),Md=[];let Ld=0;for(;Ld<16;)Md.push(parseInt(jd[Ld],10)|parseInt(Fd[Ld],10)^255),Ld++;return new this(Md)}catch(kd){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${kd})`)}},Nd.IPv6.isIPv6=function(Id){return this.parser(Id)!==null},Nd.IPv6.isValid=function(Id){if(typeof Id=="string"&&Id.indexOf(":")===-1)return!1;try{const kd=this.parser(Id);return new this(kd.parts,kd.zoneId),!0}catch{return!1}},Nd.IPv6.isValidCIDR=function(Id){if(typeof Id=="string"&&Id.indexOf(":")===-1)return!1;try{return this.parseCIDR(Id),!0}catch{return!1}},Nd.IPv6.networkAddressFromCIDR=function(Id){let kd,jd,Fd,Md,Ld;try{for(kd=this.parseCIDR(Id),Fd=kd[0].toByteArray(),Ld=this.subnetMaskFromPrefixLength(kd[1]).toByteArray(),Md=[],jd=0;jd<16;)Md.push(parseInt(Fd[jd],10)&parseInt(Ld[jd],10)),jd++;return new this(Md)}catch(Hd){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${Hd})`)}},Nd.IPv6.parse=function(Id){const kd=this.parser(Id);if(kd.parts===null)throw new Error("ipaddr: string is not formatted like an IPv6 Address");return new this(kd.parts,kd.zoneId)},Nd.IPv6.parseCIDR=function(Id){let kd,jd,Fd;if((jd=Id.match(/^(.+)\/(\d+)$/))&&(kd=parseInt(jd[2]),kd>=0&&kd<=128))return Fd=[this.parse(jd[1]),kd],Object.defineProperty(Fd,"toString",{value:function(){return this.join("/")}}),Fd;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},Nd.IPv6.parser=function(Id){let kd,jd,Fd,Md,Ld,Hd;if(Fd=Id.match(pd.deprecatedTransitional))return this.parser(`::ffff:${Fd[1]}`);if(pd.native.test(Id))return fd(Id,8);if((Fd=Id.match(pd.transitional))&&(Hd=Fd[6]||"",kd=Fd[1],Fd[1].endsWith("::")||(kd=kd.slice(0,-1)),kd=fd(kd+Hd,6),kd.parts)){for(Ld=[parseInt(Fd[2]),parseInt(Fd[3]),parseInt(Fd[4]),parseInt(Fd[5])],jd=0;jd128)throw new Error("ipaddr: invalid IPv6 prefix length");const kd=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];let jd=0;const Fd=Math.floor(Id/8);for(;jd",this.newLine="")}Builder.prototype.build=function(Ra){return this.options.preserveOrder?buildFromOrderedJs(Ra,this.options):(Array.isArray(Ra)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(Ra={[this.options.arrayNodeName]:Ra}),this.j2x(Ra,0,[]).val)};Builder.prototype.j2x=function(Ra,qa,nd){let od="",ld="";const ud=nd.join(".");for(let cd in Ra)if(Object.prototype.hasOwnProperty.call(Ra,cd))if(typeof Ra[cd]>"u")this.isAttribute(cd)&&(ld+="");else if(Ra[cd]===null)this.isAttribute(cd)?ld+="":cd[0]==="?"?ld+=this.indentate(qa)+"<"+cd+"?"+this.tagEndChar:ld+=this.indentate(qa)+"<"+cd+"/"+this.tagEndChar;else if(Ra[cd]instanceof Date)ld+=this.buildTextValNode(Ra[cd],cd,"",qa);else if(typeof Ra[cd]!="object"){const dd=this.isAttribute(cd);if(dd&&!this.ignoreAttributesFn(dd,ud))od+=this.buildAttrPairStr(dd,""+Ra[cd]);else if(!dd)if(cd===this.options.textNodeName){let pd=this.options.tagValueProcessor(cd,""+Ra[cd]);ld+=this.replaceEntitiesValue(pd)}else ld+=this.buildTextValNode(Ra[cd],cd,"",qa)}else if(Array.isArray(Ra[cd])){const dd=Ra[cd].length;let pd="",fd="";for(let md=0;md"u"))if(vd===null)cd[0]==="?"?ld+=this.indentate(qa)+"<"+cd+"?"+this.tagEndChar:ld+=this.indentate(qa)+"<"+cd+"/"+this.tagEndChar;else if(typeof vd=="object")if(this.options.oneListGroup){const Ad=this.j2x(vd,qa+1,nd.concat(cd));pd+=Ad.val,this.options.attributesGroupName&&vd.hasOwnProperty(this.options.attributesGroupName)&&(fd+=Ad.attrStr)}else pd+=this.processTextOrObjNode(vd,cd,qa,nd);else if(this.options.oneListGroup){let Ad=this.options.tagValueProcessor(cd,vd);Ad=this.replaceEntitiesValue(Ad),pd+=Ad}else pd+=this.buildTextValNode(vd,cd,"",qa)}this.options.oneListGroup&&(pd=this.buildObjectNode(pd,cd,fd,qa)),ld+=pd}else if(this.options.attributesGroupName&&cd===this.options.attributesGroupName){const dd=Object.keys(Ra[cd]),pd=dd.length;for(let fd=0;fd"+Ra+ld:this.options.commentPropName!==!1&&qa===this.options.commentPropName&&ud.length===0?this.indentate(od)+``+this.newLine:this.indentate(od)+"<"+qa+nd+ud+this.tagEndChar+Ra+this.indentate(od)+ld}};Builder.prototype.closeTag=function(Ra){let qa="";return this.options.unpairedTags.indexOf(Ra)!==-1?this.options.suppressUnpairedNode||(qa="/"):this.options.suppressEmptyNode?qa="/":qa=`>`+this.newLine;if(this.options.commentPropName!==!1&&qa===this.options.commentPropName)return this.indentate(od)+``+this.newLine;if(qa[0]==="?")return this.indentate(od)+"<"+qa+nd+"?"+this.tagEndChar;{let ld=this.options.tagValueProcessor(qa,Ra);return ld=this.replaceEntitiesValue(ld),ld===""?this.indentate(od)+"<"+qa+nd+this.closeTag(qa)+this.tagEndChar:this.indentate(od)+"<"+qa+nd+">"+ld+"0&&this.options.processEntities)for(let qa=0;qa=0;)jd++;if(Id.substr(0,2)==="::"&&jd--,Id.substr(-2,2)==="::"&&jd--,jd>kd)return null;for(Hd=kd-jd,Ld=":";Hd--;)Ld+="0:";return Id=Id.replace("::",Ld),Id[0]===":"&&(Id=Id.slice(1)),Id[Id.length-1]===":"&&(Id=Id.slice(0,-1)),kd=function(){const Gd=Id.split(":"),Vd=[];for(let Kd=0;Kd0;){if(Ld=jd-Fd,Ld<0&&(Ld=0),Id[Md]>>Ld!==kd[Md]>>Ld)return!1;Fd-=jd,Md+=1}return!0}function vd(Id){if(ud.test(Id))return parseInt(Id,16);if(Id[0]==="0"&&!isNaN(parseInt(Id[1],10))){if(ld.test(Id))return parseInt(Id,8);throw new Error(`ipaddr: cannot parse ${Id} as octal`)}return parseInt(Id,10)}function Ad(Id,kd){for(;Id.length=0;Md-=1)if(Ld=this.octets[Md],Ld in Fd){if(Hd=Fd[Ld],jd&&Hd!==0)return null;Hd!==8&&(jd=!0),kd+=Hd}else return null;return 32-kd},Id.prototype.range=function(){return Nd.subnetMatch(this,this.SpecialRanges)},Id.prototype.toByteArray=function(){return this.octets.slice(0)},Id.prototype.toIPv4MappedAddress=function(){return Nd.IPv6.parse(`::ffff:${this.toString()}`)},Id.prototype.toNormalizedString=function(){return this.toString()},Id.prototype.toString=function(){return this.octets.join(".")},Id}(),Nd.IPv4.broadcastAddressFromCIDR=function(Id){try{const kd=this.parseCIDR(Id),jd=kd[0].toByteArray(),Fd=this.subnetMaskFromPrefixLength(kd[1]).toByteArray(),Md=[];let Ld=0;for(;Ld<4;)Md.push(parseInt(jd[Ld],10)|parseInt(Fd[Ld],10)^255),Ld++;return new this(Md)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},Nd.IPv4.isIPv4=function(Id){return this.parser(Id)!==null},Nd.IPv4.isValid=function(Id){try{return new this(this.parser(Id)),!0}catch{return!1}},Nd.IPv4.isValidCIDR=function(Id){try{return this.parseCIDR(Id),!0}catch{return!1}},Nd.IPv4.isValidFourPartDecimal=function(Id){return!!(Nd.IPv4.isValid(Id)&&Id.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},Nd.IPv4.networkAddressFromCIDR=function(Id){let kd,jd,Fd,Md,Ld;try{for(kd=this.parseCIDR(Id),Fd=kd[0].toByteArray(),Ld=this.subnetMaskFromPrefixLength(kd[1]).toByteArray(),Md=[],jd=0;jd<4;)Md.push(parseInt(Fd[jd],10)&parseInt(Ld[jd],10)),jd++;return new this(Md)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},Nd.IPv4.parse=function(Id){const kd=this.parser(Id);if(kd===null)throw new Error("ipaddr: string is not formatted like an IPv4 Address");return new this(kd)},Nd.IPv4.parseCIDR=function(Id){let kd;if(kd=Id.match(/^(.+)\/(\d+)$/)){const jd=parseInt(kd[2]);if(jd>=0&&jd<=32){const Fd=[this.parse(kd[1]),jd];return Object.defineProperty(Fd,"toString",{value:function(){return this.join("/")}}),Fd}}throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},Nd.IPv4.parser=function(Id){let kd,jd,Fd;if(kd=Id.match(od.fourOctet))return function(){const Md=kd.slice(1,6),Ld=[];for(let Hd=0;Hd4294967295||Fd<0)throw new Error("ipaddr: address outside defined range");return function(){const Md=[];let Ld;for(Ld=0;Ld<=24;Ld+=8)Md.push(Fd>>Ld&255);return Md}().reverse()}else return(kd=Id.match(od.twoOctet))?function(){const Md=kd.slice(1,4),Ld=[];if(Fd=vd(Md[1]),Fd>16777215||Fd<0)throw new Error("ipaddr: address outside defined range");return Ld.push(vd(Md[0])),Ld.push(Fd>>16&255),Ld.push(Fd>>8&255),Ld.push(Fd&255),Ld}():(kd=Id.match(od.threeOctet))?function(){const Md=kd.slice(1,5),Ld=[];if(Fd=vd(Md[2]),Fd>65535||Fd<0)throw new Error("ipaddr: address outside defined range");return Ld.push(vd(Md[0])),Ld.push(vd(Md[1])),Ld.push(Fd>>8&255),Ld.push(Fd&255),Ld}():null},Nd.IPv4.subnetMaskFromPrefixLength=function(Id){if(Id=parseInt(Id),Id<0||Id>32)throw new Error("ipaddr: invalid IPv4 prefix length");const kd=[0,0,0,0];let jd=0;const Fd=Math.floor(Id/8);for(;jd=0;Hd-=1)if(Md=this.parts[Hd],Md in Fd){if(Ld=Fd[Md],jd&&Ld!==0)return null;Ld!==16&&(jd=!0),kd+=Ld}else return null;return 128-kd},Id.prototype.range=function(){return Nd.subnetMatch(this,this.SpecialRanges)},Id.prototype.toByteArray=function(){let kd;const jd=[],Fd=this.parts;for(let Md=0;Md>8),jd.push(kd&255);return jd},Id.prototype.toFixedLengthString=function(){const kd=(function(){const Fd=[];for(let Md=0;Md>8,jd&255,Fd>>8,Fd&255])},Id.prototype.toNormalizedString=function(){const kd=(function(){const Fd=[];for(let Md=0;MdMd&&(Fd=Ld.index,Md=Ld[0].length);return Md<0?jd:`${jd.substring(0,Fd)}::${jd.substring(Fd+Md)}`},Id.prototype.toString=function(){return this.toRFC5952String()},Id}(),Nd.IPv6.broadcastAddressFromCIDR=function(Id){try{const kd=this.parseCIDR(Id),jd=kd[0].toByteArray(),Fd=this.subnetMaskFromPrefixLength(kd[1]).toByteArray(),Md=[];let Ld=0;for(;Ld<16;)Md.push(parseInt(jd[Ld],10)|parseInt(Fd[Ld],10)^255),Ld++;return new this(Md)}catch(kd){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${kd})`)}},Nd.IPv6.isIPv6=function(Id){return this.parser(Id)!==null},Nd.IPv6.isValid=function(Id){if(typeof Id=="string"&&Id.indexOf(":")===-1)return!1;try{const kd=this.parser(Id);return new this(kd.parts,kd.zoneId),!0}catch{return!1}},Nd.IPv6.isValidCIDR=function(Id){if(typeof Id=="string"&&Id.indexOf(":")===-1)return!1;try{return this.parseCIDR(Id),!0}catch{return!1}},Nd.IPv6.networkAddressFromCIDR=function(Id){let kd,jd,Fd,Md,Ld;try{for(kd=this.parseCIDR(Id),Fd=kd[0].toByteArray(),Ld=this.subnetMaskFromPrefixLength(kd[1]).toByteArray(),Md=[],jd=0;jd<16;)Md.push(parseInt(Fd[jd],10)&parseInt(Ld[jd],10)),jd++;return new this(Md)}catch(Hd){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${Hd})`)}},Nd.IPv6.parse=function(Id){const kd=this.parser(Id);if(kd.parts===null)throw new Error("ipaddr: string is not formatted like an IPv6 Address");return new this(kd.parts,kd.zoneId)},Nd.IPv6.parseCIDR=function(Id){let kd,jd,Fd;if((jd=Id.match(/^(.+)\/(\d+)$/))&&(kd=parseInt(jd[2]),kd>=0&&kd<=128))return Fd=[this.parse(jd[1]),kd],Object.defineProperty(Fd,"toString",{value:function(){return this.join("/")}}),Fd;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},Nd.IPv6.parser=function(Id){let kd,jd,Fd,Md,Ld,Hd;if(Fd=Id.match(pd.deprecatedTransitional))return this.parser(`::ffff:${Fd[1]}`);if(pd.native.test(Id))return fd(Id,8);if((Fd=Id.match(pd.transitional))&&(Hd=Fd[6]||"",kd=Fd[1],Fd[1].endsWith("::")||(kd=kd.slice(0,-1)),kd=fd(kd+Hd,6),kd.parts)){for(Ld=[parseInt(Fd[2]),parseInt(Fd[3]),parseInt(Fd[4]),parseInt(Fd[5])],jd=0;jd128)throw new Error("ipaddr: invalid IPv6 prefix length");const kd=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];let jd=0;const Fd=Math.floor(Id/8);for(;jdHd||Ld===Hd&&vd[Md].substr(0,12)==="application/"))continue}vd[Md]=Id}}})}})(mimeTypes$1);let ENCRYPTION_TYPES=function(Ra){return Ra.SSEC="SSE-C",Ra.KMS="KMS",Ra}({}),RETENTION_MODES=function(Ra){return Ra.GOVERNANCE="GOVERNANCE",Ra.COMPLIANCE="COMPLIANCE",Ra}({}),RETENTION_VALIDITY_UNITS=function(Ra){return Ra.DAYS="Days",Ra.YEARS="Years",Ra}({}),LEGAL_HOLD_STATUS=function(Ra){return Ra.ENABLED="ON",Ra.DISABLED="OFF",Ra}({});const MetaDataHeaderPrefix="x-amz-meta-";function uriEscape(Ra){return Ra.split("").reduce((qa,nd)=>{const od=Buffer$4.from(nd);if(od.length===1&&("A"<=nd&&nd<="Z"||"a"<=nd&&nd<="z"||"0"<=nd&&nd<="9"||nd==="_"||nd==="."||nd==="~"||nd==="-"))return qa=qa+nd,qa;for(const ld of od)qa=qa+"%"+ld.toString(16).toUpperCase();return qa},"")}function uriResourceEscape(Ra){return uriEscape(Ra).replace(/%2F/g,"/")}function getScope(Ra,qa,nd="s3"){return`${makeDateShort(qa)}/${Ra}/${nd}/aws4_request`}function isAmazonEndpoint(Ra){return Ra==="s3.amazonaws.com"||Ra==="s3.cn-north-1.amazonaws.com.cn"}function isVirtualHostStyle(Ra,qa,nd,od){return qa==="https:"&&nd.includes(".")?!1:isAmazonEndpoint(Ra)||!od}function isValidIP(Ra){return ipaddr.isValid(Ra)}function isValidEndpoint(Ra){return isValidDomain(Ra)||isValidIP(Ra)}function isValidDomain(Ra){if(!isString(Ra)||Ra.length===0||Ra.length>255||Ra[0]==="-"||Ra.slice(-1)==="-"||Ra[0]==="_"||Ra.slice(-1)==="_"||Ra[0]===".")return!1;const qa="`~!@#$%^&*()+={}[]|\\\"';:>63||Ra.includes("..")||/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/.test(Ra)?!1:!!/^[a-z0-9][a-z0-9.-]+[a-z0-9]$/.test(Ra)}function isValidObjectName(Ra){return isValidPrefix(Ra)?Ra.length!==0:!1}function isValidPrefix(Ra){return!(!isString(Ra)||Ra.length>1024)}function isNumber(Ra){return typeof Ra=="number"}function isFunction(Ra){return typeof Ra=="function"}function isString(Ra){return typeof Ra=="string"}function isObject(Ra){return typeof Ra=="object"&&Ra!==null}function isReadableStream(Ra){return isObject(Ra)&&isFunction(Ra._read)}function isBoolean(Ra){return typeof Ra=="boolean"}function isEmpty(Ra){return _.isEmpty(Ra)}function isEmptyObject(Ra){return Object.values(Ra).filter(qa=>qa!==void 0).length!==0}function isDefined(Ra){return Ra!=null}function isValidDate(Ra){return Ra instanceof Date&&!isNaN(Ra)}function makeDateLong(Ra){Ra=Ra||new Date;const qa=Ra.toISOString();return qa.slice(0,4)+qa.slice(5,7)+qa.slice(8,13)+qa.slice(14,16)+qa.slice(17,19)+"Z"}function makeDateShort(Ra){Ra=Ra||new Date;const qa=Ra.toISOString();return qa.slice(0,4)+qa.slice(5,7)+qa.slice(8,10)}function pipesetup(...Ra){return Ra.reduce((qa,nd)=>(qa.on("error",od=>nd.emit("error",od)),qa.pipe(nd)))}function readableStream(Ra){const qa=new streamBrowserify.Readable;return qa._read=()=>{},qa.push(Ra),qa.push(null),qa}function insertContentType(Ra,qa){for(const nd in Ra)if(nd.toLowerCase()==="content-type")return Ra;return{...Ra,"content-type":probeContentType(qa)}}function prependXAMZMeta(Ra){return Ra?_.mapKeys(Ra,(qa,nd)=>isAmzHeader(nd)||isSupportedHeader(nd)||isStorageClassHeader(nd)?nd:MetaDataHeaderPrefix+nd):{}}function isAmzHeader(Ra){const qa=Ra.toLowerCase();return qa.startsWith(MetaDataHeaderPrefix)||qa==="x-amz-acl"||qa.startsWith("x-amz-server-side-encryption-")||qa==="x-amz-server-side-encryption"}function isSupportedHeader(Ra){return["content-type","cache-control","content-encoding","content-disposition","content-language","x-amz-website-redirect-location"].includes(Ra.toLowerCase())}function isStorageClassHeader(Ra){return Ra.toLowerCase()==="x-amz-storage-class"}function extractMetadata(Ra){return _.mapKeys(_.pickBy(Ra,(qa,nd)=>isSupportedHeader(nd)||isStorageClassHeader(nd)||isAmzHeader(nd)),(qa,nd)=>{const od=nd.toLowerCase();return od.startsWith(MetaDataHeaderPrefix)?od.slice(MetaDataHeaderPrefix.length):nd})}function getVersionId(Ra={}){return Ra["x-amz-version-id"]||null}function getSourceVersionId(Ra={}){return Ra["x-amz-copy-source-version-id"]||null}function sanitizeETag(Ra=""){const qa={'"':"",""":"",""":"",""":"",""":""};return Ra.replace(/^("|"|")|("|"|")$/g,nd=>qa[nd])}function toMd5(Ra){return(void 0)("md5").update(Buffer$4.from(Ra)).digest().toString("base64")}function toSha256(Ra){return(void 0)("sha256").update(Ra).digest("hex")}function toArray(Ra){return Array.isArray(Ra)?Ra:[Ra]}function sanitizeObjectKey(Ra){const qa=(Ra?Ra.toString():"").replace(/\+/g," ");return decodeURIComponent(qa)}function sanitizeSize(Ra){return Ra?Number.parseInt(Ra):void 0}const PART_CONSTRAINTS={ABS_MIN_PART_SIZE:1024*1024*5,MIN_PART_SIZE:1024*1024*16,MAX_PARTS_COUNT:1e4,MAX_PART_SIZE:1024*1024*1024*5,MAX_SINGLE_PUT_OBJECT_SIZE:1024*1024*1024*5,MAX_MULTIPART_PUT_OBJECT_SIZE:1024*1024*1024*1024*5},GENERIC_SSE_HEADER="X-Amz-Server-Side-Encryption",ENCRYPTION_HEADERS={sseGenericHeader:GENERIC_SSE_HEADER,sseKmsKeyID:GENERIC_SSE_HEADER+"-Aws-Kms-Key-Id"};function getEncryptionHeaders(Ra){const qa=Ra.type;if(!isEmpty(qa)){if(qa===ENCRYPTION_TYPES.SSEC)return{[ENCRYPTION_HEADERS.sseGenericHeader]:"AES256"};if(qa===ENCRYPTION_TYPES.KMS)return{[ENCRYPTION_HEADERS.sseGenericHeader]:Ra.SSEAlgorithm,[ENCRYPTION_HEADERS.sseKmsKeyID]:Ra.KMSMasterKeyID}}return{}}function partsRequired(Ra){const qa=PART_CONSTRAINTS.MAX_MULTIPART_PUT_OBJECT_SIZE/(PART_CONSTRAINTS.MAX_PARTS_COUNT-1);let nd=Ra/qa;return Ra%qa>0&&nd++,nd=Math.trunc(nd),nd}function calculateEvenSplits(Ra,qa){if(Ra===0)return null;const nd=partsRequired(Ra),od=[],ld=[];let ud=qa.Start;(isEmpty(ud)||ud===-1)&&(ud=0);const cd=Math.trunc(Ra/nd),dd=Ra%nd;let pd=ud;for(let fd=0;fdthis.End||this.Start<0)throw new InvalidObjectNameError("Source start must be non-negative, and start must be at most end.");if(this.MatchRange&&!isNumber(this.Start)||!isNumber(this.End))throw new InvalidObjectNameError("MatchRange is specified. But Invalid Start and End values are specified.");return!0}getHeaders(){const qa={};return qa["x-amz-copy-source"]=encodeURI(this.Bucket+"/"+this.Object),isEmpty(this.VersionID)||(qa["x-amz-copy-source"]=`${encodeURI(this.Bucket+"/"+this.Object)}?versionId=${this.VersionID}`),isEmpty(this.MatchETag)||(qa["x-amz-copy-source-if-match"]=this.MatchETag),isEmpty(this.NoMatchETag)||(qa["x-amz-copy-source-if-none-match"]=this.NoMatchETag),isEmpty(this.MatchModifiedSince)||(qa["x-amz-copy-source-if-modified-since"]=this.MatchModifiedSince),isEmpty(this.MatchUnmodifiedSince)||(qa["x-amz-copy-source-if-unmodified-since"]=this.MatchUnmodifiedSince),qa}}class CopyDestinationOptions{constructor({Bucket:qa,Object:nd,Encryption:od,UserMetadata:ld,UserTags:ud,LegalHold:cd,RetainUntilDate:dd,Mode:pd,MetadataDirective:fd}){this.Bucket=qa,this.Object=nd,this.Encryption=od??void 0,this.UserMetadata=ld,this.UserTags=ud,this.LegalHold=cd,this.Mode=pd,this.RetainUntilDate=dd,this.MetadataDirective=fd}getHeaders(){const qa="REPLACE",nd={},od=this.UserTags;if(isEmpty(od)||(nd["X-Amz-Tagging-Directive"]=qa,nd["X-Amz-Tagging"]=isObject(od)?queryString.stringify(od):isString(od)?od:""),this.Mode&&(nd["X-Amz-Object-Lock-Mode"]=this.Mode),this.RetainUntilDate&&(nd["X-Amz-Object-Lock-Retain-Until-Date"]=this.RetainUntilDate),this.LegalHold&&(nd["X-Amz-Object-Lock-Legal-Hold"]=this.LegalHold),this.UserMetadata)for(const[ld,ud]of Object.entries(this.UserMetadata))nd[`X-Amz-Meta-${ld}`]=ud.toString();if(this.MetadataDirective&&(nd["X-Amz-Metadata-Directive"]=this.MetadataDirective),this.Encryption){const ld=getEncryptionHeaders(this.Encryption);for(const[ud,cd]of Object.entries(ld))nd[ud]=cd}return nd}validate(){if(!isValidBucketName(this.Bucket))throw new InvalidBucketNameError("Invalid Destination bucket name: "+this.Bucket);if(!isValidObjectName(this.Object))throw new InvalidObjectNameError(`Invalid Destination object name: ${this.Object}`);if(!isEmpty(this.UserMetadata)&&!isObject(this.UserMetadata))throw new InvalidObjectNameError("Destination UserMetadata should be an object with key value pairs");if(!isEmpty(this.Mode)&&![RETENTION_MODES.GOVERNANCE,RETENTION_MODES.COMPLIANCE].includes(this.Mode))throw new InvalidObjectNameError("Invalid Mode specified for destination object it should be one of [GOVERNANCE,COMPLIANCE]");if(this.Encryption!==void 0&&isEmptyObject(this.Encryption))throw new InvalidObjectNameError("Invalid Encryption configuration for destination object ");return!0}}class SelectResults{constructor({records:qa,response:nd,stats:od,progress:ld}){this.records=qa,this.response=nd,this.stats=od,this.progress=ld}setStats(qa){this.stats=qa}getStats(){return this.stats}setProgress(qa){this.progress=qa}getProgress(){return this.progress}setResponse(qa){this.response=qa}getResponse(){return this.response}setRecords(qa){this.records=qa}getRecords(){return this.records}}function callbackify(Ra){return function(){const qa=[...arguments],nd=qa.pop();return typeof nd=="function"?Ra.apply(this,qa).then(od=>nd(null,od),od=>nd(od)):Ra.apply(this,arguments)}}var lib$1={},define_process_default$3={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:1},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_e72d6a91-80dc-48ef-805e-8b024d3e943e",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_e72d6a91-80dc-48ef-805e-8b024d3e943e",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"827",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241208.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5833",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12390458500",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_0be29237-df24-42ff-8577-19b0738a094d",INVOCATION_ID:"6082e0c4f23d452ea1611619b2624143",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"467",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 14",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_e72d6a91-80dc-48ef-805e-8b024d3e943e",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_e72d6a91-80dc-48ef-805e-8b024d3e943e",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_e72d6a91-80dc-48ef-805e-8b024d3e943e",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2179,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};Object.defineProperty(lib$1,"__esModule",{value:!0});var _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ra){return typeof Ra}:function(Ra){return Ra&&typeof Symbol=="function"&&Ra.constructor===Symbol&&Ra!==Symbol.prototype?"symbol":typeof Ra},isBrowser=typeof window<"u"&&typeof window.document<"u",isNode=typeof define_process_default$3<"u"&&define_process_default$3.versions!=null&&define_process_default$3.versions.node!=null,isWebWorker=(typeof self>"u"?"undefined":_typeof(self))==="object"&&self.constructor&&self.constructor.name==="DedicatedWorkerGlobalScope",isJsDom=typeof window<"u"&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),isDeno=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",isBrowser_1=lib$1.isBrowser=isBrowser;lib$1.isWebWorker=isWebWorker;lib$1.isNode=isNode;lib$1.isJsDom=isJsDom;lib$1.isDeno=isDeno;class Credentials{constructor({accessKey:qa,secretKey:nd,sessionToken:od}){this.accessKey=qa,this.secretKey=nd,this.sessionToken=od}setAccessKey(qa){this.accessKey=qa}getAccessKey(){return this.accessKey}setSecretKey(qa){this.secretKey=qa}getSecretKey(){return this.secretKey}setSessionToken(qa){this.sessionToken=qa}getSessionToken(){return this.sessionToken}get(){return this}}class CredentialProvider{constructor({accessKey:qa,secretKey:nd,sessionToken:od}){this.credentials=new Credentials({accessKey:qa,secretKey:nd,sessionToken:od})}async getCredentials(){return this.credentials.get()}setCredentials(qa){if(qa instanceof Credentials)this.credentials=qa;else throw new Error("Unable to set Credentials. it should be an instance of Credentials class")}setAccessKey(qa){this.credentials.setAccessKey(qa)}getAccessKey(){return this.credentials.getAccessKey()}setSecretKey(qa){this.credentials.setSecretKey(qa)}getSecretKey(){return this.credentials.getSecretKey()}setSessionToken(qa){this.credentials.setSessionToken(qa)}getSessionToken(){return this.credentials.getSessionToken()}}const signV4Algorithm="AWS4-HMAC-SHA256";function getCanonicalRequest(Ra,qa,nd,od,ld){if(!isString(Ra))throw new TypeError('method should be of type "string"');if(!isString(qa))throw new TypeError('path should be of type "string"');if(!isObject(nd))throw new TypeError('headers should be of type "object"');if(!Array.isArray(od))throw new TypeError('signedHeaders should be of type "array"');if(!isString(ld))throw new TypeError('hashedPayload should be of type "string"');const ud=od.reduce((pd,fd)=>{const md=`${nd[fd]}`.replace(/ +/g," ");return pd.push(`${fd.toLowerCase()}:${md}`),pd},[]),cd=qa.split("?")[0];let dd=qa.split("?")[1];return dd||(dd=""),dd&&(dd=dd.split("&").sort().map(pd=>pd.includes("=")?pd:pd+"=").join("&")),[Ra.toUpperCase(),cd,dd,ud.join(` + */(function(Ra){var qa=mimeDb,nd=pathBrowserify.extname,od=/^\s*([^;\s]*)(?:;|\s|$)/,ld=/^text\//i;Ra.charset=ud,Ra.charsets={lookup:ud},Ra.contentType=cd,Ra.extension=dd,Ra.extensions=Object.create(null),Ra.lookup=pd,Ra.types=Object.create(null),fd(Ra.extensions,Ra.types);function ud(md){if(!md||typeof md!="string")return!1;var vd=od.exec(md),Ad=vd&&qa[vd[1].toLowerCase()];return Ad&&Ad.charset?Ad.charset:vd&&ld.test(vd[1])?"UTF-8":!1}function cd(md){if(!md||typeof md!="string")return!1;var vd=md.indexOf("/")===-1?Ra.lookup(md):md;if(!vd)return!1;if(vd.indexOf("charset")===-1){var Ad=Ra.charset(vd);Ad&&(vd+="; charset="+Ad.toLowerCase())}return vd}function dd(md){if(!md||typeof md!="string")return!1;var vd=od.exec(md),Ad=vd&&Ra.extensions[vd[1].toLowerCase()];return!Ad||!Ad.length?!1:Ad[0]}function pd(md){if(!md||typeof md!="string")return!1;var vd=nd("x."+md).toLowerCase().substr(1);return vd&&Ra.types[vd]||!1}function fd(md,vd){var Ad=["nginx","apache",void 0,"iana"];Object.keys(qa).forEach(function(Id){var kd=qa[Id],jd=kd.extensions;if(!(!jd||!jd.length)){md[Id]=jd;for(var Fd=0;FdHd||Ld===Hd&&vd[Md].substr(0,12)==="application/"))continue}vd[Md]=Id}}})}})(mimeTypes$1);let ENCRYPTION_TYPES=function(Ra){return Ra.SSEC="SSE-C",Ra.KMS="KMS",Ra}({}),RETENTION_MODES=function(Ra){return Ra.GOVERNANCE="GOVERNANCE",Ra.COMPLIANCE="COMPLIANCE",Ra}({}),RETENTION_VALIDITY_UNITS=function(Ra){return Ra.DAYS="Days",Ra.YEARS="Years",Ra}({}),LEGAL_HOLD_STATUS=function(Ra){return Ra.ENABLED="ON",Ra.DISABLED="OFF",Ra}({});const MetaDataHeaderPrefix="x-amz-meta-";function uriEscape(Ra){return Ra.split("").reduce((qa,nd)=>{const od=Buffer$4.from(nd);if(od.length===1&&("A"<=nd&&nd<="Z"||"a"<=nd&&nd<="z"||"0"<=nd&&nd<="9"||nd==="_"||nd==="."||nd==="~"||nd==="-"))return qa=qa+nd,qa;for(const ld of od)qa=qa+"%"+ld.toString(16).toUpperCase();return qa},"")}function uriResourceEscape(Ra){return uriEscape(Ra).replace(/%2F/g,"/")}function getScope(Ra,qa,nd="s3"){return`${makeDateShort(qa)}/${Ra}/${nd}/aws4_request`}function isAmazonEndpoint(Ra){return Ra==="s3.amazonaws.com"||Ra==="s3.cn-north-1.amazonaws.com.cn"}function isVirtualHostStyle(Ra,qa,nd,od){return qa==="https:"&&nd.includes(".")?!1:isAmazonEndpoint(Ra)||!od}function isValidIP(Ra){return ipaddr.isValid(Ra)}function isValidEndpoint(Ra){return isValidDomain(Ra)||isValidIP(Ra)}function isValidDomain(Ra){if(!isString(Ra)||Ra.length===0||Ra.length>255||Ra[0]==="-"||Ra.slice(-1)==="-"||Ra[0]==="_"||Ra.slice(-1)==="_"||Ra[0]===".")return!1;const qa="`~!@#$%^&*()+={}[]|\\\"';:>63||Ra.includes("..")||/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/.test(Ra)?!1:!!/^[a-z0-9][a-z0-9.-]+[a-z0-9]$/.test(Ra)}function isValidObjectName(Ra){return isValidPrefix(Ra)?Ra.length!==0:!1}function isValidPrefix(Ra){return!(!isString(Ra)||Ra.length>1024)}function isNumber(Ra){return typeof Ra=="number"}function isFunction(Ra){return typeof Ra=="function"}function isString(Ra){return typeof Ra=="string"}function isObject(Ra){return typeof Ra=="object"&&Ra!==null}function isReadableStream(Ra){return isObject(Ra)&&isFunction(Ra._read)}function isBoolean(Ra){return typeof Ra=="boolean"}function isEmpty(Ra){return _.isEmpty(Ra)}function isEmptyObject(Ra){return Object.values(Ra).filter(qa=>qa!==void 0).length!==0}function isDefined(Ra){return Ra!=null}function isValidDate(Ra){return Ra instanceof Date&&!isNaN(Ra)}function makeDateLong(Ra){Ra=Ra||new Date;const qa=Ra.toISOString();return qa.slice(0,4)+qa.slice(5,7)+qa.slice(8,13)+qa.slice(14,16)+qa.slice(17,19)+"Z"}function makeDateShort(Ra){Ra=Ra||new Date;const qa=Ra.toISOString();return qa.slice(0,4)+qa.slice(5,7)+qa.slice(8,10)}function pipesetup(...Ra){return Ra.reduce((qa,nd)=>(qa.on("error",od=>nd.emit("error",od)),qa.pipe(nd)))}function readableStream(Ra){const qa=new streamBrowserify.Readable;return qa._read=()=>{},qa.push(Ra),qa.push(null),qa}function insertContentType(Ra,qa){for(const nd in Ra)if(nd.toLowerCase()==="content-type")return Ra;return{...Ra,"content-type":probeContentType(qa)}}function prependXAMZMeta(Ra){return Ra?_.mapKeys(Ra,(qa,nd)=>isAmzHeader(nd)||isSupportedHeader(nd)||isStorageClassHeader(nd)?nd:MetaDataHeaderPrefix+nd):{}}function isAmzHeader(Ra){const qa=Ra.toLowerCase();return qa.startsWith(MetaDataHeaderPrefix)||qa==="x-amz-acl"||qa.startsWith("x-amz-server-side-encryption-")||qa==="x-amz-server-side-encryption"}function isSupportedHeader(Ra){return["content-type","cache-control","content-encoding","content-disposition","content-language","x-amz-website-redirect-location"].includes(Ra.toLowerCase())}function isStorageClassHeader(Ra){return Ra.toLowerCase()==="x-amz-storage-class"}function extractMetadata(Ra){return _.mapKeys(_.pickBy(Ra,(qa,nd)=>isSupportedHeader(nd)||isStorageClassHeader(nd)||isAmzHeader(nd)),(qa,nd)=>{const od=nd.toLowerCase();return od.startsWith(MetaDataHeaderPrefix)?od.slice(MetaDataHeaderPrefix.length):nd})}function getVersionId(Ra={}){return Ra["x-amz-version-id"]||null}function getSourceVersionId(Ra={}){return Ra["x-amz-copy-source-version-id"]||null}function sanitizeETag(Ra=""){const qa={'"':"",""":"",""":"",""":"",""":""};return Ra.replace(/^("|"|")|("|"|")$/g,nd=>qa[nd])}function toMd5(Ra){return(void 0)("md5").update(Buffer$4.from(Ra)).digest().toString("base64")}function toSha256(Ra){return(void 0)("sha256").update(Ra).digest("hex")}function toArray(Ra){return Array.isArray(Ra)?Ra:[Ra]}function sanitizeObjectKey(Ra){const qa=(Ra?Ra.toString():"").replace(/\+/g," ");return decodeURIComponent(qa)}function sanitizeSize(Ra){return Ra?Number.parseInt(Ra):void 0}const PART_CONSTRAINTS={ABS_MIN_PART_SIZE:1024*1024*5,MIN_PART_SIZE:1024*1024*16,MAX_PARTS_COUNT:1e4,MAX_PART_SIZE:1024*1024*1024*5,MAX_SINGLE_PUT_OBJECT_SIZE:1024*1024*1024*5,MAX_MULTIPART_PUT_OBJECT_SIZE:1024*1024*1024*1024*5},GENERIC_SSE_HEADER="X-Amz-Server-Side-Encryption",ENCRYPTION_HEADERS={sseGenericHeader:GENERIC_SSE_HEADER,sseKmsKeyID:GENERIC_SSE_HEADER+"-Aws-Kms-Key-Id"};function getEncryptionHeaders(Ra){const qa=Ra.type;if(!isEmpty(qa)){if(qa===ENCRYPTION_TYPES.SSEC)return{[ENCRYPTION_HEADERS.sseGenericHeader]:"AES256"};if(qa===ENCRYPTION_TYPES.KMS)return{[ENCRYPTION_HEADERS.sseGenericHeader]:Ra.SSEAlgorithm,[ENCRYPTION_HEADERS.sseKmsKeyID]:Ra.KMSMasterKeyID}}return{}}function partsRequired(Ra){const qa=PART_CONSTRAINTS.MAX_MULTIPART_PUT_OBJECT_SIZE/(PART_CONSTRAINTS.MAX_PARTS_COUNT-1);let nd=Ra/qa;return Ra%qa>0&&nd++,nd=Math.trunc(nd),nd}function calculateEvenSplits(Ra,qa){if(Ra===0)return null;const nd=partsRequired(Ra),od=[],ld=[];let ud=qa.Start;(isEmpty(ud)||ud===-1)&&(ud=0);const cd=Math.trunc(Ra/nd),dd=Ra%nd;let pd=ud;for(let fd=0;fdthis.End||this.Start<0)throw new InvalidObjectNameError("Source start must be non-negative, and start must be at most end.");if(this.MatchRange&&!isNumber(this.Start)||!isNumber(this.End))throw new InvalidObjectNameError("MatchRange is specified. But Invalid Start and End values are specified.");return!0}getHeaders(){const qa={};return qa["x-amz-copy-source"]=encodeURI(this.Bucket+"/"+this.Object),isEmpty(this.VersionID)||(qa["x-amz-copy-source"]=`${encodeURI(this.Bucket+"/"+this.Object)}?versionId=${this.VersionID}`),isEmpty(this.MatchETag)||(qa["x-amz-copy-source-if-match"]=this.MatchETag),isEmpty(this.NoMatchETag)||(qa["x-amz-copy-source-if-none-match"]=this.NoMatchETag),isEmpty(this.MatchModifiedSince)||(qa["x-amz-copy-source-if-modified-since"]=this.MatchModifiedSince),isEmpty(this.MatchUnmodifiedSince)||(qa["x-amz-copy-source-if-unmodified-since"]=this.MatchUnmodifiedSince),qa}}class CopyDestinationOptions{constructor({Bucket:qa,Object:nd,Encryption:od,UserMetadata:ld,UserTags:ud,LegalHold:cd,RetainUntilDate:dd,Mode:pd,MetadataDirective:fd}){this.Bucket=qa,this.Object=nd,this.Encryption=od??void 0,this.UserMetadata=ld,this.UserTags=ud,this.LegalHold=cd,this.Mode=pd,this.RetainUntilDate=dd,this.MetadataDirective=fd}getHeaders(){const qa="REPLACE",nd={},od=this.UserTags;if(isEmpty(od)||(nd["X-Amz-Tagging-Directive"]=qa,nd["X-Amz-Tagging"]=isObject(od)?queryString.stringify(od):isString(od)?od:""),this.Mode&&(nd["X-Amz-Object-Lock-Mode"]=this.Mode),this.RetainUntilDate&&(nd["X-Amz-Object-Lock-Retain-Until-Date"]=this.RetainUntilDate),this.LegalHold&&(nd["X-Amz-Object-Lock-Legal-Hold"]=this.LegalHold),this.UserMetadata)for(const[ld,ud]of Object.entries(this.UserMetadata))nd[`X-Amz-Meta-${ld}`]=ud.toString();if(this.MetadataDirective&&(nd["X-Amz-Metadata-Directive"]=this.MetadataDirective),this.Encryption){const ld=getEncryptionHeaders(this.Encryption);for(const[ud,cd]of Object.entries(ld))nd[ud]=cd}return nd}validate(){if(!isValidBucketName(this.Bucket))throw new InvalidBucketNameError("Invalid Destination bucket name: "+this.Bucket);if(!isValidObjectName(this.Object))throw new InvalidObjectNameError(`Invalid Destination object name: ${this.Object}`);if(!isEmpty(this.UserMetadata)&&!isObject(this.UserMetadata))throw new InvalidObjectNameError("Destination UserMetadata should be an object with key value pairs");if(!isEmpty(this.Mode)&&![RETENTION_MODES.GOVERNANCE,RETENTION_MODES.COMPLIANCE].includes(this.Mode))throw new InvalidObjectNameError("Invalid Mode specified for destination object it should be one of [GOVERNANCE,COMPLIANCE]");if(this.Encryption!==void 0&&isEmptyObject(this.Encryption))throw new InvalidObjectNameError("Invalid Encryption configuration for destination object ");return!0}}class SelectResults{constructor({records:qa,response:nd,stats:od,progress:ld}){this.records=qa,this.response=nd,this.stats=od,this.progress=ld}setStats(qa){this.stats=qa}getStats(){return this.stats}setProgress(qa){this.progress=qa}getProgress(){return this.progress}setResponse(qa){this.response=qa}getResponse(){return this.response}setRecords(qa){this.records=qa}getRecords(){return this.records}}function callbackify(Ra){return function(){const qa=[...arguments],nd=qa.pop();return typeof nd=="function"?Ra.apply(this,qa).then(od=>nd(null,od),od=>nd(od)):Ra.apply(this,arguments)}}var lib$1={},define_process_default$3={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_9b3b18d1-9340-49ab-b4e8-5023772e0970",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_9b3b18d1-9340-49ab-b4e8-5023772e0970",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:1985",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12403591553",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_77bf6c2e-16c6-46b5-9674-d636e159247f",INVOCATION_ID:"2e23158896aa43b4b0c7cc0c353d16fa",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"468",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 17",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_9b3b18d1-9340-49ab-b4e8-5023772e0970",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_9b3b18d1-9340-49ab-b4e8-5023772e0970",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_9b3b18d1-9340-49ab-b4e8-5023772e0970",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2165,ppid:2164,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};Object.defineProperty(lib$1,"__esModule",{value:!0});var _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ra){return typeof Ra}:function(Ra){return Ra&&typeof Symbol=="function"&&Ra.constructor===Symbol&&Ra!==Symbol.prototype?"symbol":typeof Ra},isBrowser=typeof window<"u"&&typeof window.document<"u",isNode=typeof define_process_default$3<"u"&&define_process_default$3.versions!=null&&define_process_default$3.versions.node!=null,isWebWorker=(typeof self>"u"?"undefined":_typeof(self))==="object"&&self.constructor&&self.constructor.name==="DedicatedWorkerGlobalScope",isJsDom=typeof window<"u"&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),isDeno=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u",isBrowser_1=lib$1.isBrowser=isBrowser;lib$1.isWebWorker=isWebWorker;lib$1.isNode=isNode;lib$1.isJsDom=isJsDom;lib$1.isDeno=isDeno;class Credentials{constructor({accessKey:qa,secretKey:nd,sessionToken:od}){this.accessKey=qa,this.secretKey=nd,this.sessionToken=od}setAccessKey(qa){this.accessKey=qa}getAccessKey(){return this.accessKey}setSecretKey(qa){this.secretKey=qa}getSecretKey(){return this.secretKey}setSessionToken(qa){this.sessionToken=qa}getSessionToken(){return this.sessionToken}get(){return this}}class CredentialProvider{constructor({accessKey:qa,secretKey:nd,sessionToken:od}){this.credentials=new Credentials({accessKey:qa,secretKey:nd,sessionToken:od})}async getCredentials(){return this.credentials.get()}setCredentials(qa){if(qa instanceof Credentials)this.credentials=qa;else throw new Error("Unable to set Credentials. it should be an instance of Credentials class")}setAccessKey(qa){this.credentials.setAccessKey(qa)}getAccessKey(){return this.credentials.getAccessKey()}setSecretKey(qa){this.credentials.setSecretKey(qa)}getSecretKey(){return this.credentials.getSecretKey()}setSessionToken(qa){this.credentials.setSessionToken(qa)}getSessionToken(){return this.credentials.getSessionToken()}}const signV4Algorithm="AWS4-HMAC-SHA256";function getCanonicalRequest(Ra,qa,nd,od,ld){if(!isString(Ra))throw new TypeError('method should be of type "string"');if(!isString(qa))throw new TypeError('path should be of type "string"');if(!isObject(nd))throw new TypeError('headers should be of type "object"');if(!Array.isArray(od))throw new TypeError('signedHeaders should be of type "array"');if(!isString(ld))throw new TypeError('hashedPayload should be of type "string"');const ud=od.reduce((pd,fd)=>{const md=`${nd[fd]}`.replace(/ +/g," ");return pd.push(`${fd.toLowerCase()}:${md}`),pd},[]),cd=qa.split("?")[0];let dd=qa.split("?")[1];return dd||(dd=""),dd&&(dd=dd.split("&").sort().map(pd=>pd.includes("=")?pd:pd+"=").join("&")),[Ra.toUpperCase(),cd,dd,ud.join(` `)+` `,od.join(";").toLowerCase(),ld].join(` `)}function getCredential(Ra,qa,nd,od="s3"){if(!isString(Ra))throw new TypeError('accessKey should be of type "string"');if(!isString(qa))throw new TypeError('region should be of type "string"');if(!isObject(nd))throw new TypeError('requestDate should be of type "object"');return`${Ra}/${getScope(qa,nd,od)}`}function getSignedHeaders(Ra){if(!isObject(Ra))throw new TypeError('request should be of type "object"');const qa=["authorization","content-length","content-type","user-agent"];return Object.keys(Ra).filter(nd=>!qa.includes(nd)).sort()}function getSigningKey(Ra,qa,nd,od="s3"){if(!isObject(Ra))throw new TypeError('date should be of type "object"');if(!isString(qa))throw new TypeError('region should be of type "string"');if(!isString(nd))throw new TypeError('secretKey should be of type "string"');const ld=makeDateShort(Ra);return(void 0)("sha256",(void 0)("sha256",(void 0)("sha256",(void 0)("sha256","AWS4"+nd).update(ld).digest()).update(qa).digest()).update(od).digest()).update("aws4_request").digest()}function getStringToSign(Ra,qa,nd,od="s3"){if(!isString(Ra))throw new TypeError('canonicalRequest should be of type "string"');if(!isObject(qa))throw new TypeError('requestDate should be of type "object"');if(!isString(nd))throw new TypeError('region should be of type "string"');const ld=(void 0)("sha256").update(Ra).digest("hex"),ud=getScope(nd,qa,od);return[signV4Algorithm,makeDateLong(qa),ud,ld].join(` -`)}function postPresignSignatureV4(Ra,qa,nd,od){if(!isString(Ra))throw new TypeError('region should be of type "string"');if(!isObject(qa))throw new TypeError('date should be of type "object"');if(!isString(nd))throw new TypeError('secretKey should be of type "string"');if(!isString(od))throw new TypeError('policyBase64 should be of type "string"');return(void 0)("sha256",getSigningKey(qa,Ra,nd)).update(od).digest("hex").toLowerCase()}function signV4(Ra,qa,nd,od,ld,ud,cd="s3"){if(!isObject(Ra))throw new TypeError('request should be of type "object"');if(!isString(qa))throw new TypeError('accessKey should be of type "string"');if(!isString(nd))throw new TypeError('secretKey should be of type "string"');if(!isString(od))throw new TypeError('region should be of type "string"');if(!qa)throw new AccessKeyRequiredError("accessKey is required for signing");if(!nd)throw new SecretKeyRequiredError("secretKey is required for signing");const dd=getSignedHeaders(Ra.headers),pd=getCanonicalRequest(Ra.method,Ra.path,Ra.headers,dd,ud),fd=cd||"s3",md=getStringToSign(pd,ld,od,fd),vd=getSigningKey(ld,od,nd,fd),Ad=getCredential(qa,od,ld,fd),Nd=(void 0)("sha256",vd).update(md).digest("hex").toLowerCase();return`${signV4Algorithm} Credential=${Ad}, SignedHeaders=${dd.join(";").toLowerCase()}, Signature=${Nd}`}function presignSignatureV4(Ra,qa,nd,od,ld,ud,cd){if(!isObject(Ra))throw new TypeError('request should be of type "object"');if(!isString(qa))throw new TypeError('accessKey should be of type "string"');if(!isString(nd))throw new TypeError('secretKey should be of type "string"');if(!isString(ld))throw new TypeError('region should be of type "string"');if(!qa)throw new AccessKeyRequiredError("accessKey is required for presigning");if(!nd)throw new SecretKeyRequiredError("secretKey is required for presigning");if(!isNumber(cd))throw new TypeError('expires should be of type "number"');if(cd<1)throw new ExpiresParamError("expires param cannot be less than 1 seconds");if(cd>604800)throw new ExpiresParamError("expires param cannot be greater than 7 days");const dd=makeDateLong(ud),pd=getSignedHeaders(Ra.headers),fd=getCredential(qa,ld,ud),md="UNSIGNED-PAYLOAD",vd=[];vd.push(`X-Amz-Algorithm=${signV4Algorithm}`),vd.push(`X-Amz-Credential=${uriEscape(fd)}`),vd.push(`X-Amz-Date=${dd}`),vd.push(`X-Amz-Expires=${cd}`),vd.push(`X-Amz-SignedHeaders=${uriEscape(pd.join(";").toLowerCase())}`),od&&vd.push(`X-Amz-Security-Token=${uriEscape(od)}`);const Ad=Ra.path.split("?")[0];let Nd=Ra.path.split("?")[1];Nd?Nd=Nd+"&"+vd.join("&"):Nd=vd.join("&");const Id=Ad+"?"+Nd,kd=getCanonicalRequest(Ra.method,Id,Ra.headers,pd,md),jd=getStringToSign(kd,ud,ld),Md=(void 0)("sha256",getSigningKey(ud,ld,nd)).update(jd).digest("hex").toLowerCase();return Ra.protocol+"//"+Ra.headers.host+Id+`&X-Amz-Signature=${Md}`}async function readAsBuffer(Ra){return new Promise((qa,nd)=>{const od=[];Ra.on("data",ld=>od.push(ld)).on("error",ld=>nd(ld)).on("end",()=>qa(Buffer$4.concat(od)))})}async function readAsString(Ra){return(await readAsBuffer(Ra)).toString()}async function drainResponse(Ra){return new Promise((qa,nd)=>{Ra.on("data",()=>{}).on("error",od=>nd(od)).on("end",()=>qa())})}function parseBucketRegion(Ra){return parseXml(Ra).LocationConstraint}const fxp=new fxp$2.XMLParser;function parseError(Ra,qa){let nd={};const od=fxp.parse(Ra);od.Error&&(nd=od.Error);const ld=new S3Error;return Object.entries(nd).forEach(([ud,cd])=>{ld[ud.toLowerCase()]=cd}),Object.entries(qa).forEach(([ud,cd])=>{ld[ud]=cd}),ld}async function parseResponseError(Ra){const qa=Ra.statusCode;let nd,od;qa===301?(nd="MovedPermanently",od="Moved Permanently"):qa===307?(nd="TemporaryRedirect",od="Are you using the correct endpoint URL?"):qa===403?(nd="AccessDenied",od="Valid and authorized credentials required"):qa===404?(nd="NotFound",od="Not Found"):qa===405||qa===501?(nd="MethodNotAllowed",od="Method Not Allowed"):(nd="UnknownError",od=`${qa}`);const ld={};ld.amzRequestid=Ra.headers["x-amz-request-id"],ld.amzId2=Ra.headers["x-amz-id-2"],ld.amzBucketRegion=Ra.headers["x-amz-bucket-region"];const ud=await readAsString(Ra);if(ud)throw parseError(ud,ld);const cd=new S3Error(od,{cause:ld});throw cd.code=nd,Object.entries(ld).forEach(([dd,pd])=>{cd[dd]=pd}),cd}function parseListObjectsV2WithMetadata(Ra){const qa={objects:[],isTruncated:!1,nextContinuationToken:""};let nd=parseXml(Ra);if(!nd.ListBucketResult)throw new InvalidXMLError('Missing tag: "ListBucketResult"');return nd=nd.ListBucketResult,nd.IsTruncated&&(qa.isTruncated=nd.IsTruncated),nd.NextContinuationToken&&(qa.nextContinuationToken=nd.NextContinuationToken),nd.Contents&&toArray(nd.Contents).forEach(od=>{const ld=sanitizeObjectKey(od.Key),ud=new Date(od.LastModified),cd=sanitizeETag(od.ETag),dd=od.Size;let pd;od.UserMetadata!=null?pd=toArray(od.UserMetadata)[0]:pd=null,qa.objects.push({name:ld,lastModified:ud,etag:cd,size:dd,metadata:pd})}),nd.CommonPrefixes&&toArray(nd.CommonPrefixes).forEach(od=>{qa.objects.push({prefix:sanitizeObjectKey(toArray(od.Prefix)[0]),size:0})}),qa}function parseListParts(Ra){let qa=parseXml(Ra);const nd={isTruncated:!1,parts:[],marker:0};if(!qa.ListPartsResult)throw new InvalidXMLError('Missing tag: "ListPartsResult"');return qa=qa.ListPartsResult,qa.IsTruncated&&(nd.isTruncated=qa.IsTruncated),qa.NextPartNumberMarker&&(nd.marker=toArray(qa.NextPartNumberMarker)[0]||""),qa.Part&&toArray(qa.Part).forEach(od=>{const ld=parseInt(toArray(od.PartNumber)[0],10),ud=new Date(od.LastModified),cd=od.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"");nd.parts.push({part:ld,lastModified:ud,etag:cd,size:parseInt(od.Size,10)})}),nd}function parseListBucket(Ra){let qa=[];const nd=parseXml(Ra);if(!nd.ListAllMyBucketsResult)throw new InvalidXMLError('Missing tag: "ListAllMyBucketsResult"');const{ListAllMyBucketsResult:{Buckets:od={}}={}}=nd;return od.Bucket&&(qa=toArray(od.Bucket).map((ld={})=>{const{Name:ud,CreationDate:cd}=ld,dd=new Date(cd);return{name:ud,creationDate:dd}})),qa}function parseInitiateMultipart(Ra){let qa=parseXml(Ra);if(!qa.InitiateMultipartUploadResult)throw new InvalidXMLError('Missing tag: "InitiateMultipartUploadResult"');if(qa=qa.InitiateMultipartUploadResult,qa.UploadId)return qa.UploadId;throw new InvalidXMLError('Missing tag: "UploadId"')}function parseReplicationConfig(Ra){const qa=parseXml(Ra),{Role:nd,Rule:od}=qa.ReplicationConfiguration;return{ReplicationConfiguration:{role:nd,rules:toArray(od)}}}class Extensions{constructor(qa){this.client=qa}listObjectsV2WithMetadata(qa,nd,od,ld){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),ld===void 0&&(ld=""),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');if(!isString(ld))throw new TypeError('startAfter should be of type "string"');const ud=od?"":"/";return streamBrowserify.Readable.from(this.listObjectsV2WithMetadataGen(qa,nd,ud,ld),{objectMode:!0})}async*listObjectsV2WithMetadataGen(qa,nd,od,ld){let ud=!1,cd="";do{const dd=await this.listObjectsV2WithMetadataQuery(qa,nd,cd,od,ld);ud=!dd.isTruncated,cd=dd.nextContinuationToken;for(const pd of dd.objects)yield pd}while(!ud)}async listObjectsV2WithMetadataQuery(qa,nd,od,ld,ud){const cd=[];cd.push("list-type=2"),cd.push("encoding-type=url"),cd.push(`prefix=${uriEscape(nd)}`),cd.push(`delimiter=${uriEscape(ld)}`),cd.push("metadata=true"),od&&(od=uriEscape(od),cd.push(`continuation-token=${od}`)),ud&&(ud=uriEscape(ud),cd.push(`start-after=${ud}`)),cd.push("max-keys=1000"),cd.sort();let dd="";cd.length>0&&(dd=`${cd.join("&")}`);const fd=await this.client.makeRequestAsync({method:"GET",bucketName:qa,query:dd});return parseListObjectsV2WithMetadata(await readAsString(fd))}}async function request$1(Ra,qa,nd=null){return new Promise((od,ld)=>{const ud=Ra.request(qa,cd=>{od(cd)});if(!nd||Buffer$4.isBuffer(nd)||typeof nd=="string"){ud.on("error",cd=>{ld(cd)}).end(nd);return}streamBrowserify.pipeline(nd,ud,cd=>{cd&&ld(cd)})})}const awsS3Endpoint={"us-east-1":"s3.amazonaws.com","us-east-2":"s3-us-east-2.amazonaws.com","us-west-1":"s3-us-west-1.amazonaws.com","us-west-2":"s3-us-west-2.amazonaws.com","ca-central-1":"s3.ca-central-1.amazonaws.com","eu-west-1":"s3-eu-west-1.amazonaws.com","eu-west-2":"s3-eu-west-2.amazonaws.com","sa-east-1":"s3-sa-east-1.amazonaws.com","eu-central-1":"s3-eu-central-1.amazonaws.com","ap-south-1":"s3-ap-south-1.amazonaws.com","ap-southeast-1":"s3-ap-southeast-1.amazonaws.com","ap-southeast-2":"s3-ap-southeast-2.amazonaws.com","ap-northeast-1":"s3-ap-northeast-1.amazonaws.com","cn-north-1":"s3.cn-north-1.amazonaws.com.cn","ap-east-1":"s3.ap-east-1.amazonaws.com","eu-north-1":"s3.eu-north-1.amazonaws.com"};function getS3Endpoint(Ra){if(!isString(Ra))throw new TypeError(`Invalid region: ${Ra}`);const qa=awsS3Endpoint[Ra];return qa||"s3.amazonaws.com"}var define_process_default$2={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:1},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_e72d6a91-80dc-48ef-805e-8b024d3e943e",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_e72d6a91-80dc-48ef-805e-8b024d3e943e",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"827",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241208.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5833",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12390458500",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_0be29237-df24-42ff-8577-19b0738a094d",INVOCATION_ID:"6082e0c4f23d452ea1611619b2624143",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"467",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 14",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_e72d6a91-80dc-48ef-805e-8b024d3e943e",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_e72d6a91-80dc-48ef-805e-8b024d3e943e",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_e72d6a91-80dc-48ef-805e-8b024d3e943e",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2179,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};const Package={version:"7.1.3"},requestOptionProperties=["agent","ca","cert","ciphers","clientCertEngine","crl","dhparam","ecdhCurve","family","honorCipherOrder","key","passphrase","pfx","rejectUnauthorized","secureOptions","secureProtocol","servername","sessionIdContext"];class TypedClient{constructor(qa){p_(this,"partSize",64*1024*1024);p_(this,"maximumPartSize",5*1024*1024*1024);p_(this,"maxObjectSize",5*1024*1024*1024*1024);if(qa.secure!==void 0)throw new Error('"secure" option deprecated, "useSSL" should be used instead');if(qa.useSSL===void 0&&(qa.useSSL=!0),qa.port||(qa.port=0),!isValidEndpoint(qa.endPoint))throw new InvalidEndpointError(`Invalid endPoint : ${qa.endPoint}`);if(!isValidPort(qa.port))throw new InvalidArgumentError(`Invalid port : ${qa.port}`);if(!isBoolean(qa.useSSL))throw new InvalidArgumentError(`Invalid useSSL flag type : ${qa.useSSL}, expected to be of type "boolean"`);if(qa.region&&!isString(qa.region))throw new InvalidArgumentError(`Invalid region : ${qa.region}`);const nd=qa.endPoint.toLowerCase();let od=qa.port,ld,ud,cd;if(qa.useSSL?(ud=http,ld="https:",od=od||443,cd=void 0):(ud=http,ld="http:",od=od||80,cd=void 0),qa.transport){if(!isObject(qa.transport))throw new InvalidArgumentError(`Invalid transport type : ${qa.transport}, expected to be type "object"`);ud=qa.transport}if(qa.transportAgent){if(!isObject(qa.transportAgent))throw new InvalidArgumentError(`Invalid transportAgent type: ${qa.transportAgent}, expected to be type "object"`);cd=qa.transportAgent}const pd=`MinIO ${`(${define_process_default$2.platform}; ${define_process_default$2.arch})`} minio-js/${Package.version}`;if(this.transport=ud,this.transportAgent=cd,this.host=nd,this.port=od,this.protocol=ld,this.userAgent=`${pd}`,qa.pathStyle===void 0?this.pathStyle=!0:this.pathStyle=qa.pathStyle,this.accessKey=qa.accessKey??"",this.secretKey=qa.secretKey??"",this.sessionToken=qa.sessionToken,this.anonymous=!this.accessKey||!this.secretKey,qa.credentialsProvider&&(this.credentialsProvider=qa.credentialsProvider),this.regionMap={},qa.region&&(this.region=qa.region),qa.partSize&&(this.partSize=qa.partSize,this.overRidePartSize=!0),this.partSize<5*1024*1024)throw new InvalidArgumentError("Part size should be greater than 5MB");if(this.partSize>5*1024*1024*1024)throw new InvalidArgumentError("Part size should be less than 5GB");this.enableSHA256=!this.anonymous&&!qa.useSSL,this.s3AccelerateEndpoint=qa.s3AccelerateEndpoint||void 0,this.reqOptions={},this.clientExtensions=new Extensions(this)}get extensions(){return this.clientExtensions}setS3TransferAccelerate(qa){this.s3AccelerateEndpoint=qa}setRequestOptions(qa){if(!isObject(qa))throw new TypeError('request options should be of type "object"');this.reqOptions=_.pick(qa,requestOptionProperties)}getAccelerateEndPointIfSet(qa,nd){if(!isEmpty(this.s3AccelerateEndpoint)&&!isEmpty(qa)&&!isEmpty(nd)){if(qa.includes("."))throw new Error(`Transfer Acceleration is not supported for non compliant bucket:${qa}`);return this.s3AccelerateEndpoint}return!1}getRequestOptions(qa){const nd=qa.method,od=qa.region,ld=qa.bucketName;let ud=qa.objectName;const cd=qa.headers,dd=qa.query;let pd={method:nd,headers:{},protocol:this.protocol,agent:this.transportAgent},fd;ld&&(fd=isVirtualHostStyle(this.host,this.protocol,ld,this.pathStyle));let md="/",vd=this.host,Ad;if(this.port&&(Ad=this.port),ud&&(ud=uriResourceEscape(ud)),isAmazonEndpoint(vd)){const Nd=this.getAccelerateEndPointIfSet(ld,ud);Nd?vd=`${Nd}`:vd=getS3Endpoint(od)}if(fd&&!qa.pathStyle?(ld&&(vd=`${ld}.${vd}`),ud&&(md=`/${ud}`)):(ld&&(md=`/${ld}`),ud&&(md=`/${ld}/${ud}`)),dd&&(md+=`?${dd}`),pd.headers.host=vd,(pd.protocol==="http:"&&Ad!==80||pd.protocol==="https:"&&Ad!==443)&&(pd.headers.host=`${vd}:${Ad}`),pd.headers["user-agent"]=this.userAgent,cd)for(const[Nd,Id]of Object.entries(cd))pd.headers[Nd.toLowerCase()]=Id;return pd=Object.assign({},this.reqOptions,pd),{...pd,headers:_.mapValues(_.pickBy(pd.headers,isDefined),Nd=>Nd.toString()),host:vd,port:Ad,path:md}}async setCredentialsProvider(qa){if(!(qa instanceof CredentialProvider))throw new Error("Unable to get credentials. Expected instance of CredentialProvider");this.credentialsProvider=qa,await this.checkAndRefreshCreds()}async checkAndRefreshCreds(){if(this.credentialsProvider)try{const qa=await this.credentialsProvider.getCredentials();this.accessKey=qa.getAccessKey(),this.secretKey=qa.getSecretKey(),this.sessionToken=qa.getSessionToken()}catch(qa){throw new Error(`Unable to get credentials: ${qa}`,{cause:qa})}}logHTTP(qa,nd,od){if(!this.logStream)return;if(!isObject(qa))throw new TypeError('reqOptions should be of type "object"');if(nd&&!isReadableStream(nd))throw new TypeError('response should be of type "Stream"');if(od&&!(od instanceof Error))throw new TypeError('err should be of type "Error"');const ld=this.logStream,ud=cd=>{Object.entries(cd).forEach(([dd,pd])=>{if(dd=="authorization"&&isString(pd)){const fd=new RegExp("Signature=([0-9a-f]+)");pd=pd.replace(fd,"Signature=**REDACTED**")}ld.write(`${dd}: ${pd} +`)}function postPresignSignatureV4(Ra,qa,nd,od){if(!isString(Ra))throw new TypeError('region should be of type "string"');if(!isObject(qa))throw new TypeError('date should be of type "object"');if(!isString(nd))throw new TypeError('secretKey should be of type "string"');if(!isString(od))throw new TypeError('policyBase64 should be of type "string"');return(void 0)("sha256",getSigningKey(qa,Ra,nd)).update(od).digest("hex").toLowerCase()}function signV4(Ra,qa,nd,od,ld,ud,cd="s3"){if(!isObject(Ra))throw new TypeError('request should be of type "object"');if(!isString(qa))throw new TypeError('accessKey should be of type "string"');if(!isString(nd))throw new TypeError('secretKey should be of type "string"');if(!isString(od))throw new TypeError('region should be of type "string"');if(!qa)throw new AccessKeyRequiredError("accessKey is required for signing");if(!nd)throw new SecretKeyRequiredError("secretKey is required for signing");const dd=getSignedHeaders(Ra.headers),pd=getCanonicalRequest(Ra.method,Ra.path,Ra.headers,dd,ud),fd=cd||"s3",md=getStringToSign(pd,ld,od,fd),vd=getSigningKey(ld,od,nd,fd),Ad=getCredential(qa,od,ld,fd),Nd=(void 0)("sha256",vd).update(md).digest("hex").toLowerCase();return`${signV4Algorithm} Credential=${Ad}, SignedHeaders=${dd.join(";").toLowerCase()}, Signature=${Nd}`}function presignSignatureV4(Ra,qa,nd,od,ld,ud,cd){if(!isObject(Ra))throw new TypeError('request should be of type "object"');if(!isString(qa))throw new TypeError('accessKey should be of type "string"');if(!isString(nd))throw new TypeError('secretKey should be of type "string"');if(!isString(ld))throw new TypeError('region should be of type "string"');if(!qa)throw new AccessKeyRequiredError("accessKey is required for presigning");if(!nd)throw new SecretKeyRequiredError("secretKey is required for presigning");if(!isNumber(cd))throw new TypeError('expires should be of type "number"');if(cd<1)throw new ExpiresParamError("expires param cannot be less than 1 seconds");if(cd>604800)throw new ExpiresParamError("expires param cannot be greater than 7 days");const dd=makeDateLong(ud),pd=getSignedHeaders(Ra.headers),fd=getCredential(qa,ld,ud),md="UNSIGNED-PAYLOAD",vd=[];vd.push(`X-Amz-Algorithm=${signV4Algorithm}`),vd.push(`X-Amz-Credential=${uriEscape(fd)}`),vd.push(`X-Amz-Date=${dd}`),vd.push(`X-Amz-Expires=${cd}`),vd.push(`X-Amz-SignedHeaders=${uriEscape(pd.join(";").toLowerCase())}`),od&&vd.push(`X-Amz-Security-Token=${uriEscape(od)}`);const Ad=Ra.path.split("?")[0];let Nd=Ra.path.split("?")[1];Nd?Nd=Nd+"&"+vd.join("&"):Nd=vd.join("&");const Id=Ad+"?"+Nd,kd=getCanonicalRequest(Ra.method,Id,Ra.headers,pd,md),jd=getStringToSign(kd,ud,ld),Md=(void 0)("sha256",getSigningKey(ud,ld,nd)).update(jd).digest("hex").toLowerCase();return Ra.protocol+"//"+Ra.headers.host+Id+`&X-Amz-Signature=${Md}`}async function readAsBuffer(Ra){return new Promise((qa,nd)=>{const od=[];Ra.on("data",ld=>od.push(ld)).on("error",ld=>nd(ld)).on("end",()=>qa(Buffer$4.concat(od)))})}async function readAsString(Ra){return(await readAsBuffer(Ra)).toString()}async function drainResponse(Ra){return new Promise((qa,nd)=>{Ra.on("data",()=>{}).on("error",od=>nd(od)).on("end",()=>qa())})}function parseBucketRegion(Ra){return parseXml(Ra).LocationConstraint}const fxp=new fxp$2.XMLParser;function parseError(Ra,qa){let nd={};const od=fxp.parse(Ra);od.Error&&(nd=od.Error);const ld=new S3Error;return Object.entries(nd).forEach(([ud,cd])=>{ld[ud.toLowerCase()]=cd}),Object.entries(qa).forEach(([ud,cd])=>{ld[ud]=cd}),ld}async function parseResponseError(Ra){const qa=Ra.statusCode;let nd,od;qa===301?(nd="MovedPermanently",od="Moved Permanently"):qa===307?(nd="TemporaryRedirect",od="Are you using the correct endpoint URL?"):qa===403?(nd="AccessDenied",od="Valid and authorized credentials required"):qa===404?(nd="NotFound",od="Not Found"):qa===405||qa===501?(nd="MethodNotAllowed",od="Method Not Allowed"):(nd="UnknownError",od=`${qa}`);const ld={};ld.amzRequestid=Ra.headers["x-amz-request-id"],ld.amzId2=Ra.headers["x-amz-id-2"],ld.amzBucketRegion=Ra.headers["x-amz-bucket-region"];const ud=await readAsString(Ra);if(ud)throw parseError(ud,ld);const cd=new S3Error(od,{cause:ld});throw cd.code=nd,Object.entries(ld).forEach(([dd,pd])=>{cd[dd]=pd}),cd}function parseListObjectsV2WithMetadata(Ra){const qa={objects:[],isTruncated:!1,nextContinuationToken:""};let nd=parseXml(Ra);if(!nd.ListBucketResult)throw new InvalidXMLError('Missing tag: "ListBucketResult"');return nd=nd.ListBucketResult,nd.IsTruncated&&(qa.isTruncated=nd.IsTruncated),nd.NextContinuationToken&&(qa.nextContinuationToken=nd.NextContinuationToken),nd.Contents&&toArray(nd.Contents).forEach(od=>{const ld=sanitizeObjectKey(od.Key),ud=new Date(od.LastModified),cd=sanitizeETag(od.ETag),dd=od.Size;let pd;od.UserMetadata!=null?pd=toArray(od.UserMetadata)[0]:pd=null,qa.objects.push({name:ld,lastModified:ud,etag:cd,size:dd,metadata:pd})}),nd.CommonPrefixes&&toArray(nd.CommonPrefixes).forEach(od=>{qa.objects.push({prefix:sanitizeObjectKey(toArray(od.Prefix)[0]),size:0})}),qa}function parseListParts(Ra){let qa=parseXml(Ra);const nd={isTruncated:!1,parts:[],marker:0};if(!qa.ListPartsResult)throw new InvalidXMLError('Missing tag: "ListPartsResult"');return qa=qa.ListPartsResult,qa.IsTruncated&&(nd.isTruncated=qa.IsTruncated),qa.NextPartNumberMarker&&(nd.marker=toArray(qa.NextPartNumberMarker)[0]||""),qa.Part&&toArray(qa.Part).forEach(od=>{const ld=parseInt(toArray(od.PartNumber)[0],10),ud=new Date(od.LastModified),cd=od.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"");nd.parts.push({part:ld,lastModified:ud,etag:cd,size:parseInt(od.Size,10)})}),nd}function parseListBucket(Ra){let qa=[];const nd=parseXml(Ra);if(!nd.ListAllMyBucketsResult)throw new InvalidXMLError('Missing tag: "ListAllMyBucketsResult"');const{ListAllMyBucketsResult:{Buckets:od={}}={}}=nd;return od.Bucket&&(qa=toArray(od.Bucket).map((ld={})=>{const{Name:ud,CreationDate:cd}=ld,dd=new Date(cd);return{name:ud,creationDate:dd}})),qa}function parseInitiateMultipart(Ra){let qa=parseXml(Ra);if(!qa.InitiateMultipartUploadResult)throw new InvalidXMLError('Missing tag: "InitiateMultipartUploadResult"');if(qa=qa.InitiateMultipartUploadResult,qa.UploadId)return qa.UploadId;throw new InvalidXMLError('Missing tag: "UploadId"')}function parseReplicationConfig(Ra){const qa=parseXml(Ra),{Role:nd,Rule:od}=qa.ReplicationConfiguration;return{ReplicationConfiguration:{role:nd,rules:toArray(od)}}}class Extensions{constructor(qa){this.client=qa}listObjectsV2WithMetadata(qa,nd,od,ld){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),ld===void 0&&(ld=""),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');if(!isString(ld))throw new TypeError('startAfter should be of type "string"');const ud=od?"":"/";return streamBrowserify.Readable.from(this.listObjectsV2WithMetadataGen(qa,nd,ud,ld),{objectMode:!0})}async*listObjectsV2WithMetadataGen(qa,nd,od,ld){let ud=!1,cd="";do{const dd=await this.listObjectsV2WithMetadataQuery(qa,nd,cd,od,ld);ud=!dd.isTruncated,cd=dd.nextContinuationToken;for(const pd of dd.objects)yield pd}while(!ud)}async listObjectsV2WithMetadataQuery(qa,nd,od,ld,ud){const cd=[];cd.push("list-type=2"),cd.push("encoding-type=url"),cd.push(`prefix=${uriEscape(nd)}`),cd.push(`delimiter=${uriEscape(ld)}`),cd.push("metadata=true"),od&&(od=uriEscape(od),cd.push(`continuation-token=${od}`)),ud&&(ud=uriEscape(ud),cd.push(`start-after=${ud}`)),cd.push("max-keys=1000"),cd.sort();let dd="";cd.length>0&&(dd=`${cd.join("&")}`);const fd=await this.client.makeRequestAsync({method:"GET",bucketName:qa,query:dd});return parseListObjectsV2WithMetadata(await readAsString(fd))}}async function request$1(Ra,qa,nd=null){return new Promise((od,ld)=>{const ud=Ra.request(qa,cd=>{od(cd)});if(!nd||Buffer$4.isBuffer(nd)||typeof nd=="string"){ud.on("error",cd=>{ld(cd)}).end(nd);return}streamBrowserify.pipeline(nd,ud,cd=>{cd&&ld(cd)})})}const awsS3Endpoint={"us-east-1":"s3.amazonaws.com","us-east-2":"s3-us-east-2.amazonaws.com","us-west-1":"s3-us-west-1.amazonaws.com","us-west-2":"s3-us-west-2.amazonaws.com","ca-central-1":"s3.ca-central-1.amazonaws.com","eu-west-1":"s3-eu-west-1.amazonaws.com","eu-west-2":"s3-eu-west-2.amazonaws.com","sa-east-1":"s3-sa-east-1.amazonaws.com","eu-central-1":"s3-eu-central-1.amazonaws.com","ap-south-1":"s3-ap-south-1.amazonaws.com","ap-southeast-1":"s3-ap-southeast-1.amazonaws.com","ap-southeast-2":"s3-ap-southeast-2.amazonaws.com","ap-northeast-1":"s3-ap-northeast-1.amazonaws.com","cn-north-1":"s3.cn-north-1.amazonaws.com.cn","ap-east-1":"s3.ap-east-1.amazonaws.com","eu-north-1":"s3.eu-north-1.amazonaws.com"};function getS3Endpoint(Ra){if(!isString(Ra))throw new TypeError(`Invalid region: ${Ra}`);const qa=awsS3Endpoint[Ra];return qa||"s3.amazonaws.com"}var define_process_default$2={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_9b3b18d1-9340-49ab-b4e8-5023772e0970",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_9b3b18d1-9340-49ab-b4e8-5023772e0970",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:1985",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12403591553",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_77bf6c2e-16c6-46b5-9674-d636e159247f",INVOCATION_ID:"2e23158896aa43b4b0c7cc0c353d16fa",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"468",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 17",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_9b3b18d1-9340-49ab-b4e8-5023772e0970",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_9b3b18d1-9340-49ab-b4e8-5023772e0970",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_9b3b18d1-9340-49ab-b4e8-5023772e0970",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2165,ppid:2164,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};const Package={version:"7.1.3"},requestOptionProperties=["agent","ca","cert","ciphers","clientCertEngine","crl","dhparam","ecdhCurve","family","honorCipherOrder","key","passphrase","pfx","rejectUnauthorized","secureOptions","secureProtocol","servername","sessionIdContext"];class TypedClient{constructor(qa){p_(this,"partSize",64*1024*1024);p_(this,"maximumPartSize",5*1024*1024*1024);p_(this,"maxObjectSize",5*1024*1024*1024*1024);if(qa.secure!==void 0)throw new Error('"secure" option deprecated, "useSSL" should be used instead');if(qa.useSSL===void 0&&(qa.useSSL=!0),qa.port||(qa.port=0),!isValidEndpoint(qa.endPoint))throw new InvalidEndpointError(`Invalid endPoint : ${qa.endPoint}`);if(!isValidPort(qa.port))throw new InvalidArgumentError(`Invalid port : ${qa.port}`);if(!isBoolean(qa.useSSL))throw new InvalidArgumentError(`Invalid useSSL flag type : ${qa.useSSL}, expected to be of type "boolean"`);if(qa.region&&!isString(qa.region))throw new InvalidArgumentError(`Invalid region : ${qa.region}`);const nd=qa.endPoint.toLowerCase();let od=qa.port,ld,ud,cd;if(qa.useSSL?(ud=http,ld="https:",od=od||443,cd=void 0):(ud=http,ld="http:",od=od||80,cd=void 0),qa.transport){if(!isObject(qa.transport))throw new InvalidArgumentError(`Invalid transport type : ${qa.transport}, expected to be type "object"`);ud=qa.transport}if(qa.transportAgent){if(!isObject(qa.transportAgent))throw new InvalidArgumentError(`Invalid transportAgent type: ${qa.transportAgent}, expected to be type "object"`);cd=qa.transportAgent}const pd=`MinIO ${`(${define_process_default$2.platform}; ${define_process_default$2.arch})`} minio-js/${Package.version}`;if(this.transport=ud,this.transportAgent=cd,this.host=nd,this.port=od,this.protocol=ld,this.userAgent=`${pd}`,qa.pathStyle===void 0?this.pathStyle=!0:this.pathStyle=qa.pathStyle,this.accessKey=qa.accessKey??"",this.secretKey=qa.secretKey??"",this.sessionToken=qa.sessionToken,this.anonymous=!this.accessKey||!this.secretKey,qa.credentialsProvider&&(this.credentialsProvider=qa.credentialsProvider),this.regionMap={},qa.region&&(this.region=qa.region),qa.partSize&&(this.partSize=qa.partSize,this.overRidePartSize=!0),this.partSize<5*1024*1024)throw new InvalidArgumentError("Part size should be greater than 5MB");if(this.partSize>5*1024*1024*1024)throw new InvalidArgumentError("Part size should be less than 5GB");this.enableSHA256=!this.anonymous&&!qa.useSSL,this.s3AccelerateEndpoint=qa.s3AccelerateEndpoint||void 0,this.reqOptions={},this.clientExtensions=new Extensions(this)}get extensions(){return this.clientExtensions}setS3TransferAccelerate(qa){this.s3AccelerateEndpoint=qa}setRequestOptions(qa){if(!isObject(qa))throw new TypeError('request options should be of type "object"');this.reqOptions=_.pick(qa,requestOptionProperties)}getAccelerateEndPointIfSet(qa,nd){if(!isEmpty(this.s3AccelerateEndpoint)&&!isEmpty(qa)&&!isEmpty(nd)){if(qa.includes("."))throw new Error(`Transfer Acceleration is not supported for non compliant bucket:${qa}`);return this.s3AccelerateEndpoint}return!1}getRequestOptions(qa){const nd=qa.method,od=qa.region,ld=qa.bucketName;let ud=qa.objectName;const cd=qa.headers,dd=qa.query;let pd={method:nd,headers:{},protocol:this.protocol,agent:this.transportAgent},fd;ld&&(fd=isVirtualHostStyle(this.host,this.protocol,ld,this.pathStyle));let md="/",vd=this.host,Ad;if(this.port&&(Ad=this.port),ud&&(ud=uriResourceEscape(ud)),isAmazonEndpoint(vd)){const Nd=this.getAccelerateEndPointIfSet(ld,ud);Nd?vd=`${Nd}`:vd=getS3Endpoint(od)}if(fd&&!qa.pathStyle?(ld&&(vd=`${ld}.${vd}`),ud&&(md=`/${ud}`)):(ld&&(md=`/${ld}`),ud&&(md=`/${ld}/${ud}`)),dd&&(md+=`?${dd}`),pd.headers.host=vd,(pd.protocol==="http:"&&Ad!==80||pd.protocol==="https:"&&Ad!==443)&&(pd.headers.host=`${vd}:${Ad}`),pd.headers["user-agent"]=this.userAgent,cd)for(const[Nd,Id]of Object.entries(cd))pd.headers[Nd.toLowerCase()]=Id;return pd=Object.assign({},this.reqOptions,pd),{...pd,headers:_.mapValues(_.pickBy(pd.headers,isDefined),Nd=>Nd.toString()),host:vd,port:Ad,path:md}}async setCredentialsProvider(qa){if(!(qa instanceof CredentialProvider))throw new Error("Unable to get credentials. Expected instance of CredentialProvider");this.credentialsProvider=qa,await this.checkAndRefreshCreds()}async checkAndRefreshCreds(){if(this.credentialsProvider)try{const qa=await this.credentialsProvider.getCredentials();this.accessKey=qa.getAccessKey(),this.secretKey=qa.getSecretKey(),this.sessionToken=qa.getSessionToken()}catch(qa){throw new Error(`Unable to get credentials: ${qa}`,{cause:qa})}}logHTTP(qa,nd,od){if(!this.logStream)return;if(!isObject(qa))throw new TypeError('reqOptions should be of type "object"');if(nd&&!isReadableStream(nd))throw new TypeError('response should be of type "Stream"');if(od&&!(od instanceof Error))throw new TypeError('err should be of type "Error"');const ld=this.logStream,ud=cd=>{Object.entries(cd).forEach(([dd,pd])=>{if(dd=="authorization"&&isString(pd)){const fd=new RegExp("Signature=([0-9a-f]+)");pd=pd.replace(fd,"Signature=**REDACTED**")}ld.write(`${dd}: ${pd} `)}),ld.write(` `)};if(ld.write(`REQUEST: ${qa.method} ${qa.path} `),ud(qa.headers),nd&&(this.logStream.write(`RESPONSE: ${nd.statusCode} `),ud(nd.headers)),od){ld.write(`ERROR BODY: `);const cd=JSON.stringify(od,null," ");ld.write(`${cd} -`)}}traceOn(qa){qa||(qa=define_process_default$2.stdout),this.logStream=qa}traceOff(){this.logStream=void 0}async makeRequestAsync(qa,nd="",od=[200],ld=""){if(!isObject(qa))throw new TypeError('options should be of type "object"');if(!isString(nd)&&!isObject(nd))throw new TypeError('payload should be of type "string" or "Buffer"');if(od.forEach(cd=>{if(!isNumber(cd))throw new TypeError('statusCode should be of type "number"')}),!isString(ld))throw new TypeError('region should be of type "string"');qa.headers||(qa.headers={}),(qa.method==="POST"||qa.method==="PUT"||qa.method==="DELETE")&&(qa.headers["content-length"]=nd.length.toString());const ud=this.enableSHA256?toSha256(nd):"";return this.makeRequestStreamAsync(qa,nd,ud,od,ld)}async makeRequestAsyncOmit(qa,nd="",od=[200],ld=""){const ud=await this.makeRequestAsync(qa,nd,od,ld);return await drainResponse(ud),ud}async makeRequestStreamAsync(qa,nd,od,ld,ud){if(!isObject(qa))throw new TypeError('options should be of type "object"');if(!(Buffer$4.isBuffer(nd)||typeof nd=="string"||isReadableStream(nd)))throw new InvalidArgumentError(`stream should be a Buffer, string or readable Stream, got ${typeof nd} instead`);if(!isString(od))throw new TypeError('sha256sum should be of type "string"');if(ld.forEach(pd=>{if(!isNumber(pd))throw new TypeError('statusCode should be of type "number"')}),!isString(ud))throw new TypeError('region should be of type "string"');if(!this.enableSHA256&&od.length!==0)throw new InvalidArgumentError("sha256sum expected to be empty for anonymous or https requests");if(this.enableSHA256&&od.length!==64)throw new InvalidArgumentError(`Invalid sha256sum : ${od}`);await this.checkAndRefreshCreds(),ud=ud||await this.getBucketRegionAsync(qa.bucketName);const cd=this.getRequestOptions({...qa,region:ud});if(!this.anonymous){this.enableSHA256||(od="UNSIGNED-PAYLOAD");const pd=new Date;cd.headers["x-amz-date"]=makeDateLong(pd),cd.headers["x-amz-content-sha256"]=od,this.sessionToken&&(cd.headers["x-amz-security-token"]=this.sessionToken),cd.headers.authorization=signV4(cd,this.accessKey,this.secretKey,ud,pd,od)}const dd=await request$1(this.transport,cd,nd);if(!dd.statusCode)throw new Error("BUG: response doesn't have a statusCode");if(!ld.includes(dd.statusCode)){delete this.regionMap[qa.bucketName];const pd=await parseResponseError(dd);throw this.logHTTP(cd,dd,pd),pd}return this.logHTTP(cd,dd),dd}async getBucketRegionAsync(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name : ${qa}`);if(this.region)return this.region;const nd=this.regionMap[qa];if(nd)return nd;const od=async fd=>{const md=await readAsString(fd),vd=parseBucketRegion(md)||DEFAULT_REGION;return this.regionMap[qa]=vd,vd},ld="GET",ud="location",cd=this.pathStyle&&!isBrowser_1;let dd;try{const fd=await this.makeRequestAsync({method:ld,bucketName:qa,query:ud,pathStyle:cd},"",[200],DEFAULT_REGION);return od(fd)}catch(fd){if(fd.name!=="AuthorizationHeaderMalformed"||(dd=fd.Region,!dd))throw fd}const pd=await this.makeRequestAsync({method:ld,bucketName:qa,query:ud,pathStyle:cd},"",[200],dd);return await od(pd)}makeRequest(qa,nd="",od=[200],ld="",ud,cd){let dd;ud?dd=this.makeRequestAsync(qa,nd,od,ld):dd=this.makeRequestAsyncOmit(qa,nd,od,ld),dd.then(pd=>cd(null,pd),pd=>{cd(pd)})}makeRequestStream(qa,nd,od,ld,ud,cd,dd){(async()=>{const fd=await this.makeRequestStreamAsync(qa,nd,od,ld,ud);return cd||await drainResponse(fd),fd})().then(fd=>dd(null,fd),fd=>dd(fd))}getBucketRegion(qa,nd){return this.getBucketRegionAsync(qa).then(od=>nd(null,od),od=>nd(od))}async removeBucket(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);await this.makeRequestAsyncOmit({method:"DELETE",bucketName:qa},"",[204]),delete this.regionMap[qa]}async statObject(qa,nd,od={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isObject(od))throw new InvalidArgumentError('statOpts should be of type "object"');const ld=queryString.stringify(od),cd=await this.makeRequestAsyncOmit({method:"HEAD",bucketName:qa,objectName:nd,query:ld});return{size:parseInt(cd.headers["content-length"]),metaData:extractMetadata(cd.headers),lastModified:new Date(cd.headers["last-modified"]),versionId:getVersionId(cd.headers),etag:sanitizeETag(cd.headers.etag)}}async removeObject(qa,nd,od={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isObject(od))throw new InvalidArgumentError('removeOpts should be of type "object"');const ld="DELETE",ud={};od.governanceBypass&&(ud["X-Amz-Bypass-Governance-Retention"]=!0),od.forceDelete&&(ud["x-minio-force-delete"]=!0);const cd={};od.versionId&&(cd.versionId=`${od.versionId}`);const dd=queryString.stringify(cd);await this.makeRequestAsyncOmit({method:ld,bucketName:qa,objectName:nd,headers:ud,query:dd},"",[200,204])}async initiateNewMultipartUpload(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isObject(od))throw new InvalidObjectNameError('contentType should be of type "object"');const cd=await this.makeRequestAsync({method:"POST",bucketName:qa,objectName:nd,query:"uploads",headers:od}),dd=await readAsBuffer(cd);return parseInitiateMultipart(dd.toString())}async abortMultipartUpload(qa,nd,od){const ld="DELETE",ud=`uploadId=${od}`,cd={method:ld,bucketName:qa,objectName:nd,query:ud};await this.makeRequestAsyncOmit(cd,"",[204])}async listParts(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('uploadId should be of type "string"');if(!od)throw new InvalidArgumentError("uploadId cannot be empty");const ld=[];let ud=0,cd;do cd=await this.listPartsQuery(qa,nd,od,ud),ud=cd.marker,ld.push(...cd.parts);while(cd.isTruncated);return ld}async listPartsQuery(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('uploadId should be of type "string"');if(!isNumber(ld))throw new TypeError('marker should be of type "number"');if(!od)throw new InvalidArgumentError("uploadId cannot be empty");let ud=`uploadId=${uriEscape(od)}`;ld&&(ud+=`&part-number-marker=${ld}`);const dd=await this.makeRequestAsync({method:"GET",bucketName:qa,objectName:nd,query:ud});return parseListParts(await readAsString(dd))}async listBuckets(){const nd=await this.makeRequestAsync({method:"GET"},"",[200],DEFAULT_REGION),od=await readAsString(nd);return parseListBucket(od)}async removeBucketReplication(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);await this.makeRequestAsyncOmit({method:"DELETE",bucketName:qa,query:"replication"},"",[200,204],"")}async setBucketReplication(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isObject(nd)){if(_.isEmpty(nd.role))throw new InvalidArgumentError("Role cannot be empty");if(nd.role&&!isString(nd.role))throw new InvalidArgumentError("Invalid value for role",nd.role);if(_.isEmpty(nd.rules))throw new InvalidArgumentError("Minimum one replication rule must be specified")}else throw new InvalidArgumentError('replicationConfig should be of type "object"');const od="PUT",ld="replication",ud={},cd={ReplicationConfiguration:{Role:nd.role,Rule:nd.rules}},pd=new xml2js.Builder({renderOpts:{pretty:!1},headless:!0}).buildObject(cd);ud["Content-MD5"]=toMd5(pd),await this.makeRequestAsyncOmit({method:od,bucketName:qa,query:ld,headers:ud},pd)}async getBucketReplication(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);const ld=await this.makeRequestAsync({method:"GET",bucketName:qa,query:"replication"},"",[200,204]),ud=await readAsString(ld);return parseReplicationConfig(ud)}}class CopyConditions{constructor(){p_(this,"modified","");p_(this,"unmodified","");p_(this,"matchETag","");p_(this,"matchETagExcept","")}setModified(qa){if(!(qa instanceof Date))throw new TypeError("date must be of type Date");this.modified=qa.toUTCString()}setUnmodified(qa){if(!(qa instanceof Date))throw new TypeError("date must be of type Date");this.unmodified=qa.toUTCString()}setMatchETag(qa){this.matchETag=qa}setMatchETagExcept(qa){this.matchETagExcept=qa}}class PostPolicy{constructor(){p_(this,"policy",{conditions:[]});p_(this,"formData",{})}setExpires(qa){if(!qa)throw new InvalidDateError("Invalid date: cannot be null");this.policy.expiration=qa.toISOString()}setKey(qa){if(!isValidObjectName(qa))throw new InvalidObjectNameError(`Invalid object name : ${qa}`);this.policy.conditions.push(["eq","$key",qa]),this.formData.key=qa}setKeyStartsWith(qa){if(!isValidPrefix(qa))throw new InvalidPrefixError(`Invalid prefix : ${qa}`);this.policy.conditions.push(["starts-with","$key",qa]),this.formData.key=qa}setBucket(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name : ${qa}`);this.policy.conditions.push(["eq","$bucket",qa]),this.formData.bucket=qa}setContentType(qa){if(!qa)throw new Error("content-type cannot be null");this.policy.conditions.push(["eq","$Content-Type",qa]),this.formData["Content-Type"]=qa}setContentTypeStartsWith(qa){if(!qa)throw new Error("content-type cannot be null");this.policy.conditions.push(["starts-with","$Content-Type",qa]),this.formData["Content-Type"]=qa}setContentDisposition(qa){if(!qa)throw new Error("content-disposition cannot be null");this.policy.conditions.push(["eq","$Content-Disposition",qa]),this.formData["Content-Disposition"]=qa}setContentLengthRange(qa,nd){if(qa>nd)throw new Error("min cannot be more than max");if(qa<0)throw new Error("min should be > 0");if(nd<0)throw new Error("max should be > 0");this.policy.conditions.push(["content-length-range",qa,nd])}setUserMetaData(qa){if(!isObject(qa))throw new TypeError('metadata should be of type "object"');Object.entries(qa).forEach(([nd,od])=>{const ld=`x-amz-meta-${nd}`;this.policy.conditions.push(["eq",`$${ld}`,od]),this.formData[ld]=od.toString()})}}var jsonStream={exports:{}},util=util$5,TransformStream=streamBrowserify.Transform;jsonStream.exports=function(Ra){return new JSONStream(Ra)};var JSONStream=jsonStream.exports.JSONStream=function(Ra){Ra=Ra||{},TransformStream.call(this,Ra),this._writableState.objectMode=!1,this._readableState.objectMode=!0,this._async=Ra.async||!1};util.inherits(JSONStream,TransformStream);JSONStream.prototype._transform=function(Ra,qa,nd){Buffer$4.isBuffer(Ra)||(Ra=new Buffer$4(Ra)),this._buffer&&(Ra=Buffer$4.concat([this._buffer,Ra]));for(var od=0,ld=0;++od<=Ra.length;)if(Ra[od]===10||od===Ra.length){var ud;try{ud=JSON.parse(Ra.slice(ld,od))}catch{}ud&&(this.push(ud),ud=null),Ra[od]===10&&(ld=++od)}return this._buffer=Ra.slice(ld),this._async?void setImmediate(nd):void nd()};var jsonStreamExports=jsonStream.exports;const JSONParser=getDefaultExportFromCjs(jsonStreamExports);var through2$1={exports:{}};const{Transform}=readableBrowserExports;function inherits(Ra,qa){Ra.super_=qa,Ra.prototype=Object.create(qa.prototype,{constructor:{value:Ra,enumerable:!1,writable:!0,configurable:!0}})}function through2(Ra){return(qa,nd,od)=>(typeof qa=="function"&&(od=nd,nd=qa,qa={}),typeof nd!="function"&&(nd=(ld,ud,cd)=>cd(null,ld)),typeof od!="function"&&(od=null),Ra(qa,nd,od))}const make=through2((Ra,qa,nd)=>{const od=new Transform(Ra);return od._transform=qa,nd&&(od._flush=nd),od}),ctor=through2((Ra,qa,nd)=>{function od(ld){if(!(this instanceof od))return new od(ld);this.options=Object.assign({},Ra,ld),Transform.call(this,this.options),this._transform=qa,nd&&(this._flush=nd)}return inherits(od,Transform),od}),obj=through2(function(Ra,qa,nd){const od=new Transform(Object.assign({objectMode:!0,highWaterMark:16},Ra));return od._transform=qa,nd&&(od._flush=nd),od});through2$1.exports=make;through2$1.exports.ctor=ctor;through2$1.exports.obj=obj;var through2Exports=through2$1.exports;const Through2=getDefaultExportFromCjs(through2Exports);var Buffer=buffer.Buffer,CRC_TABLE=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];typeof Int32Array<"u"&&(CRC_TABLE=new Int32Array(CRC_TABLE));function ensureBuffer(Ra){if(Buffer.isBuffer(Ra))return Ra;var qa=typeof Buffer.alloc=="function"&&typeof Buffer.from=="function";if(typeof Ra=="number")return qa?Buffer.alloc(Ra):new Buffer(Ra);if(typeof Ra=="string")return qa?Buffer.from(Ra):new Buffer(Ra);throw new Error("input must be buffer, number, or string, received "+typeof Ra)}function bufferizeInt(Ra){var qa=ensureBuffer(4);return qa.writeInt32BE(Ra,0),qa}function _crc32(Ra,qa){Ra=ensureBuffer(Ra),Buffer.isBuffer(qa)&&(qa=qa.readUInt32BE(0));for(var nd=~~qa^-1,od=0;od>>8;return nd^-1}function crc32(){return bufferizeInt(_crc32.apply(null,arguments))}crc32.signed=function(){return _crc32.apply(null,arguments)};crc32.unsigned=function(){return _crc32.apply(null,arguments)>>>0};var bufferCrc32=crc32;const crc32$1=getDefaultExportFromCjs(bufferCrc32),fxpWithoutNumParser=new fxp$2.XMLParser({numberParseOptions:{skipLike:/./}});function parseCopyObject(Ra){var qa={etag:"",lastModified:""},nd=parseXml(Ra);if(!nd.CopyObjectResult)throw new InvalidXMLError('Missing tag: "CopyObjectResult"');return nd=nd.CopyObjectResult,nd.ETag&&(qa.etag=nd.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"")),nd.LastModified&&(qa.lastModified=new Date(nd.LastModified)),qa}function parseListMultipart(Ra){var qa={uploads:[],prefixes:[],isTruncated:!1},nd=parseXml(Ra);if(!nd.ListMultipartUploadsResult)throw new InvalidXMLError('Missing tag: "ListMultipartUploadsResult"');return nd=nd.ListMultipartUploadsResult,nd.IsTruncated&&(qa.isTruncated=nd.IsTruncated),nd.NextKeyMarker&&(qa.nextKeyMarker=nd.NextKeyMarker),nd.NextUploadIdMarker&&(qa.nextUploadIdMarker=nd.nextUploadIdMarker||""),nd.CommonPrefixes&&toArray(nd.CommonPrefixes).forEach(od=>{qa.prefixes.push({prefix:sanitizeObjectKey(toArray(od.Prefix)[0])})}),nd.Upload&&toArray(nd.Upload).forEach(od=>{var ld=od.Key,ud=od.UploadId,cd={id:od.Initiator.ID,displayName:od.Initiator.DisplayName},dd={id:od.Owner.ID,displayName:od.Owner.DisplayName},pd=od.StorageClass,fd=new Date(od.Initiated);qa.uploads.push({key:ld,uploadId:ud,initiator:cd,owner:dd,storageClass:pd,initiated:fd})}),qa}function parseBucketNotification(Ra){var qa={TopicConfiguration:[],QueueConfiguration:[],CloudFunctionConfiguration:[]},nd=function(ud){var cd=[];return ud&&toArray(ud).forEach(dd=>{cd.push(dd)}),cd},od=function(ud){var cd=[];return ud&&(ud=toArray(ud),ud[0].S3Key&&(ud[0].S3Key=toArray(ud[0].S3Key),ud[0].S3Key[0].FilterRule&&toArray(ud[0].S3Key[0].FilterRule).forEach(dd=>{var pd=toArray(dd.Name)[0],fd=toArray(dd.Value)[0];cd.push({Name:pd,Value:fd})}))),cd},ld=parseXml(Ra);return ld=ld.NotificationConfiguration,ld.TopicConfiguration&&toArray(ld.TopicConfiguration).forEach(ud=>{var cd=toArray(ud.Id)[0],dd=toArray(ud.Topic)[0],pd=nd(ud.Event),fd=od(ud.Filter);qa.TopicConfiguration.push({Id:cd,Topic:dd,Event:pd,Filter:fd})}),ld.QueueConfiguration&&toArray(ld.QueueConfiguration).forEach(ud=>{var cd=toArray(ud.Id)[0],dd=toArray(ud.Queue)[0],pd=nd(ud.Event),fd=od(ud.Filter);qa.QueueConfiguration.push({Id:cd,Queue:dd,Event:pd,Filter:fd})}),ld.CloudFunctionConfiguration&&toArray(ld.CloudFunctionConfiguration).forEach(ud=>{var cd=toArray(ud.Id)[0],dd=toArray(ud.CloudFunction)[0],pd=nd(ud.Event),fd=od(ud.Filter);qa.CloudFunctionConfiguration.push({Id:cd,CloudFunction:dd,Event:pd,Filter:fd})}),qa}function parseCompleteMultipart(Ra){var qa=parseXml(Ra).CompleteMultipartUploadResult;if(qa.Location){var nd=toArray(qa.Location)[0],od=toArray(qa.Bucket)[0],ld=qa.Key,ud=qa.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"");return{location:nd,bucket:od,key:ld,etag:ud}}if(qa.Code&&qa.Message){var cd=toArray(qa.Code)[0],dd=toArray(qa.Message)[0];return{errCode:cd,errMessage:dd}}}const formatObjInfo=(Ra,qa={})=>{let{Key:nd,LastModified:od,ETag:ld,Size:ud,VersionId:cd,IsLatest:dd}=Ra;isObject(qa)||(qa={});const pd=sanitizeObjectKey(toArray(nd)[0]),fd=new Date(toArray(od)[0]),md=sanitizeETag(toArray(ld)[0]),vd=sanitizeSize(ud);return{name:pd,lastModified:fd,etag:md,size:vd,versionId:cd,isLatest:dd,isDeleteMarker:qa.IsDeleteMarker?qa.IsDeleteMarker:!1}};function parseListObjects(Ra){var qa={objects:[],isTruncated:!1};let nd=!1,od,ld;const ud=fxpWithoutNumParser.parse(Ra),cd=fd=>{fd&&toArray(fd).forEach(md=>{qa.objects.push({prefix:sanitizeObjectKey(toArray(md.Prefix)[0]),size:0})})},dd=ud.ListBucketResult,pd=ud.ListVersionsResult;return dd&&(dd.IsTruncated&&(nd=dd.IsTruncated),dd.Contents&&toArray(dd.Contents).forEach(fd=>{const md=sanitizeObjectKey(toArray(fd.Key)[0]),vd=new Date(toArray(fd.LastModified)[0]),Ad=sanitizeETag(toArray(fd.ETag)[0]),Nd=sanitizeSize(fd.Size);qa.objects.push({name:md,lastModified:vd,etag:Ad,size:Nd})}),dd.NextMarker&&(od=dd.NextMarker),cd(dd.CommonPrefixes)),pd&&(pd.IsTruncated&&(nd=pd.IsTruncated),pd.Version&&toArray(pd.Version).forEach(fd=>{qa.objects.push(formatObjInfo(fd))}),pd.DeleteMarker&&toArray(pd.DeleteMarker).forEach(fd=>{qa.objects.push(formatObjInfo(fd,{IsDeleteMarker:!0}))}),pd.NextKeyMarker&&(ld=pd.NextKeyMarker),pd.NextVersionIdMarker&&(qa.versionIdMarker=pd.NextVersionIdMarker),cd(pd.CommonPrefixes)),qa.isTruncated=nd,nd&&(qa.nextMarker=ld||od),qa}function parseListObjectsV2(Ra){var qa={objects:[],isTruncated:!1},nd=parseXml(Ra);if(!nd.ListBucketResult)throw new InvalidXMLError('Missing tag: "ListBucketResult"');return nd=nd.ListBucketResult,nd.IsTruncated&&(qa.isTruncated=nd.IsTruncated),nd.NextContinuationToken&&(qa.nextContinuationToken=nd.NextContinuationToken),nd.Contents&&toArray(nd.Contents).forEach(od=>{var ld=sanitizeObjectKey(toArray(od.Key)[0]),ud=new Date(od.LastModified),cd=sanitizeETag(od.ETag),dd=od.Size;qa.objects.push({name:ld,lastModified:ud,etag:cd,size:dd})}),nd.CommonPrefixes&&toArray(nd.CommonPrefixes).forEach(od=>{qa.objects.push({prefix:sanitizeObjectKey(toArray(od.Prefix)[0]),size:0})}),qa}function parseBucketVersioningConfig(Ra){var qa=parseXml(Ra);return qa.VersioningConfiguration}function parseTagging(Ra){const qa=parseXml(Ra);let nd=[];if(qa.Tagging&&qa.Tagging.TagSet&&qa.Tagging.TagSet.Tag){const od=qa.Tagging.TagSet.Tag;isObject(od)?nd.push(od):nd=od}return nd}function parseLifecycleConfig(Ra){return parseXml(Ra).LifecycleConfiguration}function parseObjectLockConfig(Ra){const qa=parseXml(Ra);let nd={};if(qa.ObjectLockConfiguration){nd={objectLockEnabled:qa.ObjectLockConfiguration.ObjectLockEnabled};let od;if(qa.ObjectLockConfiguration&&qa.ObjectLockConfiguration.Rule&&qa.ObjectLockConfiguration.Rule.DefaultRetention&&(od=qa.ObjectLockConfiguration.Rule.DefaultRetention||{},nd.mode=od.Mode),od){const ld=od.Years;ld?(nd.validity=ld,nd.unit=RETENTION_VALIDITY_UNITS.YEARS):(nd.validity=od.Days,nd.unit=RETENTION_VALIDITY_UNITS.DAYS)}return nd}}function parseObjectRetentionConfig(Ra){const nd=parseXml(Ra).Retention;return{mode:nd.Mode,retainUntilDate:nd.RetainUntilDate}}function parseBucketEncryptionConfig(Ra){return parseXml(Ra)}function parseObjectLegalHoldConfig(Ra){return parseXml(Ra).LegalHold}function uploadPartParser(Ra){return parseXml(Ra).CopyPartResult}function removeObjectsParser(Ra){const qa=parseXml(Ra);return qa.DeleteResult&&qa.DeleteResult.Error?toArray(qa.DeleteResult.Error):[]}function parseSelectObjectContentResponse(Ra){function qa(ud){const cd=Buffer$4.from(ud.read(1)).readUInt8(),pd=(Buffer$4.from(ud.read(cd)).toString()||"").split(":");return pd.length>=1?pd[1]:""}function nd(ud){const cd=Buffer$4.from(ud.read(2)).readUInt16BE();return Buffer$4.from(ud.read(cd)).toString()}const od=new SelectResults({}),ld=readableStream(Ra);for(;ld._readableState.length;){let ud;const cd=Buffer$4.from(ld.read(4));ud=crc32$1(cd);const dd=Buffer$4.from(ld.read(4));ud=crc32$1(dd,ud);const pd=ud.readInt32BE(),fd=Buffer$4.from(ld.read(4));ud=crc32$1(fd,ud);const md=cd.readInt32BE(),vd=dd.readInt32BE(),Ad=fd.readInt32BE();if(Ad!==pd)throw new Error(`Header Checksum Mismatch, Prelude CRC of ${Ad} does not equal expected CRC of ${pd}`);const Nd={};if(vd>0){const Fd=Buffer$4.from(ld.read(vd));ud=crc32$1(Fd,ud);const Md=readableStream(Fd);for(;Md._readableState.length;){let Ld=qa(Md);Md.read(1),Nd[Ld]=nd(Md)}}let Id;const kd=md-vd-16;if(kd>0){const Fd=Buffer$4.from(ld.read(kd));ud=crc32$1(Fd,ud);const Md=Buffer$4.from(ld.read(4)).readInt32BE(),Ld=ud.readInt32BE();if(Md!==Ld)throw new Error(`Message Checksum Mismatch, Message CRC of ${Md} does not equal expected CRC of ${Ld}`);Id=readableStream(Fd)}const jd=Nd["message-type"];switch(jd){case"error":{const Fd=Nd["error-code"]+':"'+Nd["error-message"]+'"';throw new Error(Fd)}case"event":{const Fd=Nd["content-type"];switch(Nd["event-type"]){case"End":return od.setResponse(Ra),od;case"Records":{const Ld=Id.read(kd);od.setRecords(Ld);break}case"Progress":switch(Fd){case"text/xml":{const Ld=Id.read(kd);od.setProgress(Ld.toString());break}default:{const Ld=`Unexpected content-type ${Fd} sent for event-type Progress`;throw new Error(Ld)}}break;case"Stats":switch(Fd){case"text/xml":{const Ld=Id.read(kd);od.setStats(Ld.toString());break}default:{const Ld=`Unexpected content-type ${Fd} sent for event-type Stats`;throw new Error(Ld)}}break;default:{const Ld=`Un implemented event detected ${jd}.`;console.warn(Ld)}}}}}}function getConcater(Ra,qa){var nd=!1,od=[];if(Ra&&!isFunction(Ra))throw new TypeError('parser should be of type "function"');return Ra&&(nd=!0),Through2({objectMode:nd},function(ld,ud,cd){od.push(ld),cd()},function(ld){od.length&&(Ra?this.push(Ra(Buffer$4.concat(od).toString())):this.push(Buffer$4.concat(od))),ld()})}function getCopyObjectTransformer(){return getConcater(parseCopyObject)}function getListMultipartTransformer(){return getConcater(parseListMultipart)}function getListObjectsTransformer(){return getConcater(parseListObjects)}function getListObjectsV2Transformer(){return getConcater(parseListObjectsV2)}function getCompleteMultipartTransformer(){return getConcater(parseCompleteMultipart)}function getBucketNotificationTransformer(){return getConcater(parseBucketNotification)}function getNotificationTransformer(){return new JSONParser}function bucketVersioningTransformer(){return getConcater(parseBucketVersioningConfig)}function getTagsTransformer(){return getConcater(parseTagging)}function lifecycleTransformer(){return getConcater(parseLifecycleConfig)}function objectLockTransformer(){return getConcater(parseObjectLockConfig)}function objectRetentionTransformer(){return getConcater(parseObjectRetentionConfig)}function bucketEncryptionTransformer(){return getConcater(parseBucketEncryptionConfig)}function objectLegalHoldTransformer(){return getConcater(parseObjectLegalHoldConfig)}function uploadPartTransformer(){return getConcater(uploadPartParser)}function selectObjectContentTransformer(){return getConcater()}function removeObjectsTransformer(){return getConcater(removeObjectsParser)}var define_process_default$1={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:1},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_e72d6a91-80dc-48ef-805e-8b024d3e943e",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_e72d6a91-80dc-48ef-805e-8b024d3e943e",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"827",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241208.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5833",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12390458500",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_0be29237-df24-42ff-8577-19b0738a094d",INVOCATION_ID:"6082e0c4f23d452ea1611619b2624143",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"467",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 14",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_e72d6a91-80dc-48ef-805e-8b024d3e943e",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_e72d6a91-80dc-48ef-805e-8b024d3e943e",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_e72d6a91-80dc-48ef-805e-8b024d3e943e",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2179,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};class NotificationConfig{add(qa){let nd="";qa instanceof TopicConfig&&(nd="TopicConfiguration"),qa instanceof QueueConfig&&(nd="QueueConfiguration"),qa instanceof CloudFunctionConfig&&(nd="CloudFunctionConfiguration"),this[nd]||(this[nd]=[]),this[nd].push(qa)}}class TargetConfig{setId(qa){this.Id=qa}addEvent(qa){this.Event||(this.Event=[]),this.Event.push(qa)}addFilterSuffix(qa){this.Filter||(this.Filter={S3Key:{FilterRule:[]}}),this.Filter.S3Key.FilterRule.push({Name:"suffix",Value:qa})}addFilterPrefix(qa){this.Filter||(this.Filter={S3Key:{FilterRule:[]}}),this.Filter.S3Key.FilterRule.push({Name:"prefix",Value:qa})}}class TopicConfig extends TargetConfig{constructor(qa){super(),this.Topic=qa}}class QueueConfig extends TargetConfig{constructor(qa){super(),this.Queue=qa}}class CloudFunctionConfig extends TargetConfig{constructor(qa){super(),this.CloudFunction=qa}}class NotificationPoller extends eventsExports.EventEmitter{constructor(qa,nd,od,ld,ud){super(),this.client=qa,this.bucketName=nd,this.prefix=od,this.suffix=ld,this.events=ud,this.ending=!1}start(){this.ending=!1,define_process_default$1.nextTick(()=>{this.checkForChanges()})}stop(){this.ending=!0}checkForChanges(){if(this.ending)return;let qa="GET";var nd=[];if(this.prefix){var od=uriEscape(this.prefix);nd.push(`prefix=${od}`)}if(this.suffix){var ld=uriEscape(this.suffix);nd.push(`suffix=${ld}`)}this.events&&this.events.forEach(dd=>nd.push("events="+uriEscape(dd))),nd.sort();var ud="";nd.length>0&&(ud=`${nd.join("&")}`);const cd=this.client.region||DEFAULT_REGION;this.client.makeRequest({method:qa,bucketName:this.bucketName,query:ud},"",[200],cd,!0,(dd,pd)=>{if(dd)return this.emit("error",dd);let fd=getNotificationTransformer();pipesetup(pd,fd).on("data",md=>{let vd=md.Records;vd||(vd=[]),vd.forEach(Ad=>{this.emit("notification",Ad)}),this.ending&&pd.destroy()}).on("error",md=>this.emit("error",md)).on("end",()=>{define_process_default$1.nextTick(()=>{this.checkForChanges()})})})}}var define_process_default={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:1},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_e72d6a91-80dc-48ef-805e-8b024d3e943e",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_e72d6a91-80dc-48ef-805e-8b024d3e943e",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"827",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241208.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:5833",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12390458500",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_0be29237-df24-42ff-8577-19b0738a094d",INVOCATION_ID:"6082e0c4f23d452ea1611619b2624143",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"467",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 14",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"e46f34e088494eddafd4a832d4443587dfd03837",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_e72d6a91-80dc-48ef-805e-8b024d3e943e",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_e72d6a91-80dc-48ef-805e-8b024d3e943e",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_e72d6a91-80dc-48ef-805e-8b024d3e943e",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2180,ppid:2179,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};class ObjectUploader extends streamBrowserify.Transform{constructor(qa,nd,od,ld,ud,cd){super(),this.emptyStream=!0,this.client=qa,this.bucketName=nd,this.objectName=od,this.partSize=ld,this.metaData=ud,this.callback=cd,this.partNumber=1,this.oldParts=null,this.etags=[],this.id=null,this.on("error",dd=>{cd(dd)})}_transform(qa,nd,od){this.emptyStream=!1;let ld="PUT",ud={"Content-Length":qa.length},cd="";if(this.client.enableSHA256||(cd=(void 0)("md5").update(qa).digest(),ud["Content-MD5"]=cd.toString("base64")),this.partNumber==1&&qa.length{if(vd)return od(vd);let Nd={etag:sanitizeETag(Ad.headers.etag),versionId:getVersionId(Ad.headers)};Ad.on("data",()=>{}),define_process_default.nextTick(()=>{this.callback(null,Nd)}),od()});return}if(this.id===null){this.once("ready",()=>{this._transform(qa,nd,od)}),this.client.findUploadId(this.bucketName,this.objectName,(md,vd)=>{if(md)return this.emit("error",md);if(!vd){this.client.initiateNewMultipartUpload(this.bucketName,this.objectName,this.metaData).then(Ad=>{this.id=Ad,this.emit("ready")},Ad=>od(Ad));return}this.id=vd,this.client.listParts(this.bucketName,this.objectName,vd).then(Ad=>{Ad||(Ad=[]),this.oldParts=Ad.reduce(function(Nd,Id){return Nd[Id.part]||(Nd[Id.part]=Id),Nd},{}),this.emit("ready")},Ad=>this.emit("error",Ad))});return}let dd=this.partNumber++;if(this.oldParts){let md=this.oldParts[dd];if(cd||(cd=(void 0)("md5").update(qa).digest()),md&&cd.toString("hex")===md.etag){this.etags.push({part:dd,etag:md.etag}),od();return}}let pd=queryString.stringify({partNumber:dd,uploadId:this.id}),fd={method:ld,query:pd,headers:ud,bucketName:this.bucketName,objectName:this.objectName};this.client.makeRequest(fd,qa,[200],"",!0,(md,vd)=>{if(md)return od(md);let Ad=vd.headers.etag;Ad&&(Ad=Ad.replace(/^"/,"").replace(/"$/,"")),this.etags.push({part:dd,etag:Ad}),vd.on("data",()=>{}),od()})}_flush(qa){if(this.emptyStream){let nd="PUT",od=Object.assign({},this.metaData,{"Content-Length":0}),ld={method:nd,headers:od,query:"",bucketName:this.bucketName,objectName:this.objectName};this.client.makeRequest(ld,"",[200],"",!0,(ud,cd)=>{if(ud)return qa(ud);let dd={etag:sanitizeETag(cd.headers.etag),versionId:getVersionId(cd.headers)};cd.on("data",()=>{}),define_process_default.nextTick(()=>{this.callback(null,dd)}),qa()});return}this.id!==null&&this.client.completeMultipartUpload(this.bucketName,this.objectName,this.id,this.etags,(nd,od)=>{if(nd)return qa(nd);define_process_default.nextTick(()=>{this.callback(null,od)}),qa()})}}function promisify(Ra){return function(){if(typeof arguments[arguments.length-1]=="function")return Ra.apply(this,arguments);let nd=[...arguments];return new Promise((od,ld)=>{nd.push((ud,cd)=>{if(ud)return ld(ud);od(cd)}),Ra.apply(this,nd)})}}class Client extends TypedClient{setAppInfo(qa,nd){if(!isString(qa))throw new TypeError(`Invalid appName: ${qa}`);if(qa.trim()==="")throw new InvalidArgumentError("Input appName cannot be empty.");if(!isString(nd))throw new TypeError(`Invalid appVersion: ${nd}`);if(nd.trim()==="")throw new InvalidArgumentError("Input appVersion cannot be empty.");this.userAgent=`${this.userAgent} ${qa}/${nd}`}calculatePartSize(qa){if(!isNumber(qa))throw new TypeError('size should be of type "number"');if(qa>this.maxObjectSize)throw new TypeError(`size should not be more than ${this.maxObjectSize}`);if(this.overRidePartSize)return this.partSize;for(var nd=this.partSize;;){if(nd*1e4>qa)return nd;nd+=16*1024*1024}}makeBucket(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isObject(nd)&&(ld=od,od=nd,nd=""),isFunction(nd)&&(ld=nd,nd="",od={}),isFunction(od)&&(ld=od,od={}),!isString(nd))throw new TypeError('region should be of type "string"');if(!isObject(od))throw new TypeError('makeOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');var ud="";if(nd&&this.region&&nd!==this.region)throw new InvalidArgumentError(`Configured region ${this.region}, requested ${nd}`);if(nd&&nd!==DEFAULT_REGION){var cd=[];cd.push({_attr:{xmlns:"http://s3.amazonaws.com/doc/2006-03-01/"}}),cd.push({LocationConstraint:nd});var dd={CreateBucketConfiguration:cd};ud=Xml(dd)}var pd="PUT",fd={};od.ObjectLocking&&(fd["x-amz-bucket-object-lock-enabled"]=!0),nd||(nd=DEFAULT_REGION);const md=vd=>{if(vd&&(nd===""||nd===DEFAULT_REGION))if(vd.code==="AuthorizationHeaderMalformed"&&vd.region!=="")this.makeRequest({method:pd,bucketName:qa,headers:fd},ud,[200],vd.region,!1,ld);else return ld&&ld(vd);return ld&&ld(vd)};this.makeRequest({method:pd,bucketName:qa,headers:fd},ud,[200],nd,!1,md)}listIncompleteUploads(qa,nd,od){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');var ld=od?"":"/",ud="",cd="",dd=[],pd=!1,fd=streamBrowserify.Readable({objectMode:!0});return fd._read=()=>{if(dd.length)return fd.push(dd.shift());if(pd)return fd.push(null);this.listIncompleteUploadsQuery(qa,nd,ud,cd,ld).on("error",md=>fd.emit("error",md)).on("data",md=>{md.prefixes.forEach(vd=>dd.push(vd)),index.eachSeries(md.uploads,(vd,Ad)=>{this.listParts(qa,vd.key,vd.uploadId).then(Nd=>{vd.size=Nd.reduce((Id,kd)=>Id+kd.size,0),dd.push(vd),Ad()},Ad)},vd=>{if(vd){fd.emit("error",vd);return}md.isTruncated?(ud=md.nextKeyMarker,cd=md.nextUploadIdMarker):pd=!0,fd._read()})})},fd}bucketExists(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');var od="HEAD";this.makeRequest({method:od,bucketName:qa},"",[200],"",!1,ld=>{if(ld)return ld.code=="NoSuchBucket"||ld.code=="NotFound"?nd(null,!1):nd(ld);nd(null,!0)})}removeIncompleteUpload(qa,nd,od){if(!isValidBucketName(qa))throw new IsValidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isFunction(od))throw new TypeError('callback should be of type "function"');var ld;index.during(ud=>{this.findUploadId(qa,nd,(cd,dd)=>{if(cd)return ud(cd);ld=dd,ud(null,dd)})},ud=>{var cd="DELETE",dd=`uploadId=${ld}`;this.makeRequest({method:cd,bucketName:qa,objectName:nd,query:dd},"",[204],"",!1,pd=>ud(pd))},od)}fGetObject(qa,nd,od,ld={},ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('filePath should be of type "string"');if(isFunction(ld)&&(ud=ld,ld={}),!isFunction(ud))throw new TypeError('callback should be of type "function"');var cd,dd,pd,fd=md=>{if(md)return ud(md);(void 0)(cd,od,ud)};index.waterfall([md=>this.statObject(qa,nd,ld,md),(md,vd)=>{pd=md,(void 0)(pathBrowserify.dirname(od),{recursive:!0},Ad=>vd(Ad))},md=>{cd=`${od}.${pd.etag}.part.minio`,(void 0)(cd,(vd,Ad)=>{var Nd=0;if(vd)dd=(void 0)(cd,{flags:"w"});else{if(pd.size===Ad.size)return fd();Nd=Ad.size,dd=(void 0)(cd,{flags:"a"})}this.getPartialObject(qa,nd,Nd,0,ld,md)})},(md,vd)=>{pipesetup(md,dd).on("error",Ad=>vd(Ad)).on("finish",vd)},md=>(void 0)(cd,md),(md,vd)=>{if(md.size===pd.size)return vd();vd(new Error("Size mismatch between downloaded file and the object"))}],fd)}getObject(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isFunction(od)&&(ld=od,od={}),!isFunction(ld))throw new TypeError('callback should be of type "function"');this.getPartialObject(qa,nd,0,0,od,ld)}getPartialObject(qa,nd,od,ld,ud={},cd){if(isFunction(ld)&&(cd=ld,ld=0),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isNumber(od))throw new TypeError('offset should be of type "number"');if(!isNumber(ld))throw new TypeError('length should be of type "number"');if(isFunction(ud)&&(cd=ud,ud={}),!isFunction(cd))throw new TypeError('callback should be of type "function"');var dd="";(od||ld)&&(od?dd=`bytes=${+od}-`:(dd="bytes=0-",od=0),ld&&(dd+=`${+ld+od-1}`));var pd={};dd!==""&&(pd.range=dd);var fd=[200];dd&&fd.push(206);var md="GET",vd=queryString.stringify(ud);this.makeRequest({method:md,bucketName:qa,objectName:nd,headers:pd,query:vd},"",fd,"",!0,cd)}fPutObject(qa,nd,od,ld,ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('filePath should be of type "string"');if(isFunction(ld)&&(ud=ld,ld={}),!isObject(ld))throw new TypeError('metaData should be of type "object"');ld=insertContentType(ld,od),(void 0)(od,(cd,dd)=>cd?ud(cd):this.putObject(qa,nd,(void 0)(od),dd.size,ld,ud))}putObject(qa,nd,od,ld,ud,cd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isFunction(ld)?(cd=ld,ud={}):isFunction(ud)&&(cd=ud,ud={}),isObject(ld)&&(ud=ld),ud=prependXAMZMeta(ud),typeof od=="string"||od instanceof Buffer$4)ld=od.length,od=readableStream(od);else if(!isReadableStream(od))throw new TypeError('third argument should be of type "stream.Readable" or "Buffer" or "string"');if(!isFunction(cd))throw new TypeError('callback should be of type "function"');if(isNumber(ld)&&ld<0)throw new InvalidArgumentError(`size cannot be negative, given size: ${ld}`);isNumber(ld)||(ld=this.maxObjectSize),ld=this.calculatePartSize(ld);let dd=new BlockStream2({size:ld,zeroPadding:!1}),pd=new ObjectUploader(this,qa,nd,ld,ud,cd);pipesetup(od,dd,pd)}copyObjectV1(qa,nd,od,ld,ud){var cd=qa,dd=nd,pd=od,fd,md;if(typeof ld=="function"&&ud===void 0?(fd=null,md=ld):(fd=ld,md=ud),!isValidBucketName(cd))throw new InvalidBucketNameError("Invalid bucket name: "+cd);if(!isValidObjectName(dd))throw new InvalidObjectNameError(`Invalid object name: ${dd}`);if(!isString(pd))throw new TypeError('srcObject should be of type "string"');if(pd==="")throw new InvalidPrefixError("Empty source prefix");if(fd!==null&&!(fd instanceof CopyConditions))throw new TypeError('conditions should be of type "CopyConditions"');var vd={};vd["x-amz-copy-source"]=uriResourceEscape(pd),fd!==null&&(fd.modified!==""&&(vd["x-amz-copy-source-if-modified-since"]=fd.modified),fd.unmodified!==""&&(vd["x-amz-copy-source-if-unmodified-since"]=fd.unmodified),fd.matchETag!==""&&(vd["x-amz-copy-source-if-match"]=fd.matchETag),fd.matchEtagExcept!==""&&(vd["x-amz-copy-source-if-none-match"]=fd.matchETagExcept));var Ad="PUT";this.makeRequest({method:Ad,bucketName:cd,objectName:dd,headers:vd},"",[200],"",!0,(Nd,Id)=>{if(Nd)return md(Nd);var kd=getCopyObjectTransformer();pipesetup(Id,kd).on("error",jd=>md(jd)).on("data",jd=>md(null,jd))})}copyObjectV2(qa,nd,od){if(!(qa instanceof CopySourceOptions))throw new InvalidArgumentError("sourceConfig should of type CopySourceOptions ");if(!(nd instanceof CopyDestinationOptions))throw new InvalidArgumentError("destConfig should of type CopyDestinationOptions ");if(!nd.validate()||!nd.validate())return!1;if(!isFunction(od))throw new TypeError('callback should be of type "function"');const ld=Object.assign({},qa.getHeaders(),nd.getHeaders()),ud=nd.Bucket,cd=nd.Object;this.makeRequest({method:"PUT",bucketName:ud,objectName:cd,headers:ld},"",[200],"",!0,(pd,fd)=>{if(pd)return od(pd);const md=getCopyObjectTransformer();pipesetup(fd,md).on("error",vd=>od(vd)).on("data",vd=>{const Ad=fd.headers,Nd={Bucket:nd.Bucket,Key:nd.Object,LastModified:vd.LastModified,MetaData:extractMetadata(Ad),VersionId:getVersionId(Ad),SourceVersionId:getSourceVersionId(Ad),Etag:sanitizeETag(Ad.etag),Size:+Ad["content-length"]};return od(null,Nd)})})}copyObject(...qa){return qa[0]instanceof CopySourceOptions&&qa[1]instanceof CopyDestinationOptions?this.copyObjectV2(...arguments):this.copyObjectV1(...arguments)}listObjectsQuery(qa,nd,od,ld={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isString(od))throw new TypeError('marker should be of type "string"');let{Delimiter:ud,MaxKeys:cd,IncludeVersion:dd}=ld;if(!isObject(ld))throw new TypeError('listQueryOpts should be of type "object"');if(!isString(ud))throw new TypeError('Delimiter should be of type "string"');if(!isNumber(cd))throw new TypeError('MaxKeys should be of type "number"');const pd=[];pd.push(`prefix=${uriEscape(nd)}`),pd.push(`delimiter=${uriEscape(ud)}`),pd.push("encoding-type=url"),dd&&pd.push("versions"),od&&(od=uriEscape(od),dd?pd.push(`key-marker=${od}`):pd.push(`marker=${od}`)),cd&&(cd>=1e3&&(cd=1e3),pd.push(`max-keys=${cd}`)),pd.sort();var fd="";pd.length>0&&(fd=`${pd.join("&")}`);var md="GET",vd=getListObjectsTransformer();return this.makeRequest({method:md,bucketName:qa,query:fd},"",[200],"",!0,(Ad,Nd)=>{if(Ad)return vd.emit("error",Ad);pipesetup(Nd,vd)}),vd}listObjects(qa,nd,od,ld={}){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');if(!isObject(ld))throw new TypeError('listOpts should be of type "object"');var ud="";const cd={Delimiter:od?"":"/",MaxKeys:1e3,IncludeVersion:ld.IncludeVersion};var dd=[],pd=!1,fd=streamBrowserify.Readable({objectMode:!0});return fd._read=()=>{if(dd.length){fd.push(dd.shift());return}if(pd)return fd.push(null);this.listObjectsQuery(qa,nd,ud,cd).on("error",md=>fd.emit("error",md)).on("data",md=>{md.isTruncated?ud=md.nextMarker||md.versionIdMarker:pd=!0,dd=md.objects,fd._read()})},fd}listObjectsV2Query(qa,nd,od,ld,ud,cd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isString(od))throw new TypeError('continuationToken should be of type "string"');if(!isString(ld))throw new TypeError('delimiter should be of type "string"');if(!isNumber(ud))throw new TypeError('maxKeys should be of type "number"');if(!isString(cd))throw new TypeError('startAfter should be of type "string"');var dd=[];dd.push("list-type=2"),dd.push("encoding-type=url"),dd.push(`prefix=${uriEscape(nd)}`),dd.push(`delimiter=${uriEscape(ld)}`),od&&(od=uriEscape(od),dd.push(`continuation-token=${od}`)),cd&&(cd=uriEscape(cd),dd.push(`start-after=${cd}`)),ud&&(ud>=1e3&&(ud=1e3),dd.push(`max-keys=${ud}`)),dd.sort();var pd="";dd.length>0&&(pd=`${dd.join("&")}`);var fd="GET",md=getListObjectsV2Transformer();return this.makeRequest({method:fd,bucketName:qa,query:pd},"",[200],"",!0,(vd,Ad)=>{if(vd)return md.emit("error",vd);pipesetup(Ad,md)}),md}listObjectsV2(qa,nd,od,ld){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),ld===void 0&&(ld=""),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');if(!isString(ld))throw new TypeError('startAfter should be of type "string"');var ud=od?"":"/",cd="",dd=[],pd=!1,fd=streamBrowserify.Readable({objectMode:!0});return fd._read=()=>{if(dd.length){fd.push(dd.shift());return}if(pd)return fd.push(null);this.listObjectsV2Query(qa,nd,cd,ud,1e3,ld).on("error",md=>fd.emit("error",md)).on("data",md=>{md.isTruncated?cd=md.nextContinuationToken:pd=!0,dd=md.objects,fd._read()})},fd}removeObjects(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!Array.isArray(nd))throw new InvalidArgumentError("objectsList should be a list");if(!isFunction(od))throw new TypeError('callback should be of type "function"');const ld=1e3,ud="delete",cd="POST";let dd=nd.reduce((md,vd)=>(md.list.push(vd),md.list.length===ld&&(md.listOfList.push(md.list),md.list=[]),md),{listOfList:[],list:[]});dd.list.length>0&&dd.listOfList.push(dd.list);const pd=new Encoder,fd=[];index.eachSeries(dd.listOfList,(md,vd)=>{var Ad=[];md.forEach(function(Md){isObject(Md)?Ad.push({Key:Md.name,VersionId:Md.versionId}):Ad.push({Key:Md})});let Nd={Delete:{Quiet:!0,Object:Ad}},kd=new xml2js.Builder({headless:!0}).buildObject(Nd);kd=Buffer$4.from(pd.encode(kd));const jd={};jd["Content-MD5"]=toMd5(kd);let Fd;this.makeRequest({method:cd,bucketName:qa,query:ud,headers:jd},kd,[200],"",!0,(Md,Ld)=>{if(Md)return vd(Md);pipesetup(Ld,removeObjectsTransformer()).on("data",Hd=>{Fd=Hd}).on("error",Hd=>vd(Hd,null)).on("end",()=>(fd.push(Fd),vd(null,Fd)))})},()=>{od(null,_.flatten(fd))})}getBucketPolicy(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"policy"},"",[200],"",!0,(ud,cd)=>{if(ud)return nd(ud);let dd=Buffer$4.from("");pipesetup(cd,getConcater()).on("data",pd=>dd=pd).on("error",nd).on("end",()=>{nd(null,dd.toString())})})}setBucketPolicy(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isString(nd))throw new InvalidBucketPolicyError(`Invalid bucket policy: ${nd} - must be "string"`);if(!isFunction(od))throw new TypeError('callback should be of type "function"');let ld="DELETE",ud="policy";nd&&(ld="PUT"),this.makeRequest({method:ld,bucketName:qa,query:ud},nd,[204],"",!1,od)}presignedUrl(qa,nd,od,ld,ud,cd,dd){if(this.anonymous)throw new AnonymousRequestError("Presigned "+qa+" url cannot be generated for anonymous requests");if(isFunction(cd)&&(dd=cd,cd=new Date),isFunction(ud)&&(dd=ud,ud={},cd=new Date),isFunction(ld)&&(dd=ld,ud={},ld=24*60*60*7,cd=new Date),!isNumber(ld))throw new TypeError('expires should be of type "number"');if(!isObject(ud))throw new TypeError('reqParams should be of type "object"');if(!isValidDate(cd))throw new TypeError('requestDate should be of type "Date" and valid');if(!isFunction(dd))throw new TypeError('callback should be of type "function"');var pd=queryString.stringify(ud);this.getBucketRegion(nd,(fd,md)=>{if(fd)return dd(fd);var vd,Ad=this.getRequestOptions({method:qa,region:md,bucketName:nd,objectName:od,query:pd});this.checkAndRefreshCreds();try{vd=presignSignatureV4(Ad,this.accessKey,this.secretKey,this.sessionToken,md,cd,ld)}catch(Nd){return dd(Nd)}dd(null,vd)})}presignedGetObject(qa,nd,od,ld,ud,cd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);isFunction(ld)&&(cd=ld,ld={},ud=new Date);var dd=["response-content-type","response-content-language","response-expires","response-cache-control","response-content-disposition","response-content-encoding"];return dd.forEach(pd=>{if(ld!==void 0&&ld[pd]!==void 0&&!isString(ld[pd]))throw new TypeError(`response header ${pd} should be of type "string"`)}),this.presignedUrl("GET",qa,nd,od,ld,ud,cd)}presignedPutObject(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);return this.presignedUrl("PUT",qa,nd,od,ld)}newPostPolicy(){return new PostPolicy}presignedPostPolicy(qa,nd){if(this.anonymous)throw new AnonymousRequestError("Presigned POST policy cannot be generated for anonymous requests");if(!isObject(qa))throw new TypeError('postPolicy should be of type "object"');if(!isFunction(nd))throw new TypeError('cb should be of type "function"');this.getBucketRegion(qa.formData.bucket,(od,ld)=>{if(od)return nd(od);var ud=new Date,cd=makeDateLong(ud);if(this.checkAndRefreshCreds(),!qa.policy.expiration){var dd=new Date;dd.setSeconds(24*60*60*7),qa.setExpires(dd)}qa.policy.conditions.push(["eq","$x-amz-date",cd]),qa.formData["x-amz-date"]=cd,qa.policy.conditions.push(["eq","$x-amz-algorithm","AWS4-HMAC-SHA256"]),qa.formData["x-amz-algorithm"]="AWS4-HMAC-SHA256",qa.policy.conditions.push(["eq","$x-amz-credential",this.accessKey+"/"+getScope(ld,ud)]),qa.formData["x-amz-credential"]=this.accessKey+"/"+getScope(ld,ud),this.sessionToken&&(qa.policy.conditions.push(["eq","$x-amz-security-token",this.sessionToken]),qa.formData["x-amz-security-token"]=this.sessionToken);var pd=Buffer$4.from(JSON.stringify(qa.policy)).toString("base64");qa.formData.policy=pd;var fd=postPresignSignatureV4(ld,ud,this.secretKey,pd);qa.formData["x-amz-signature"]=fd;var md={};md.region=ld,md.bucketName=qa.formData.bucket;var vd=this.getRequestOptions(md),Ad=this.port==80||this.port===443?"":`:${this.port.toString()}`,Nd=`${vd.protocol}//${vd.host}${Ad}${vd.path}`;nd(null,{postURL:Nd,formData:qa.formData})})}completeMultipartUpload(qa,nd,od,ld,ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('uploadId should be of type "string"');if(!isObject(ld))throw new TypeError('etags should be of type "Array"');if(!isFunction(ud))throw new TypeError('cb should be of type "function"');if(!od)throw new InvalidArgumentError("uploadId cannot be empty");var cd="POST",dd=`uploadId=${uriEscape(od)}`,pd=[];ld.forEach(vd=>{pd.push({Part:[{PartNumber:vd.part},{ETag:vd.etag}]})});var fd={CompleteMultipartUpload:pd},md=Xml(fd);this.makeRequest({method:cd,bucketName:qa,objectName:nd,query:dd},md,[200],"",!0,(vd,Ad)=>{if(vd)return ud(vd);var Nd=getCompleteMultipartTransformer();pipesetup(Ad,Nd).on("error",Id=>ud(Id)).on("data",Id=>{if(Id.errCode)ud(new S3Error(Id.errMessage));else{const kd={etag:Id.etag,versionId:getVersionId(Ad.headers)};ud(null,kd)}})})}listIncompleteUploadsQuery(qa,nd,od,ld,ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isString(od))throw new TypeError('keyMarker should be of type "string"');if(!isString(ld))throw new TypeError('uploadIdMarker should be of type "string"');if(!isString(ud))throw new TypeError('delimiter should be of type "string"');var cd=[];cd.push(`prefix=${uriEscape(nd)}`),cd.push(`delimiter=${uriEscape(ud)}`),od&&(od=uriEscape(od),cd.push(`key-marker=${od}`)),ld&&cd.push(`upload-id-marker=${ld}`);var dd=1e3;cd.push(`max-uploads=${dd}`),cd.sort(),cd.unshift("uploads");var pd="";cd.length>0&&(pd=`${cd.join("&")}`);var fd="GET",md=getListMultipartTransformer();return this.makeRequest({method:fd,bucketName:qa,query:pd},"",[200],"",!0,(vd,Ad)=>{if(vd)return md.emit("error",vd);pipesetup(Ad,md)}),md}findUploadId(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isFunction(od))throw new TypeError('cb should be of type "function"');var ld,ud=(cd,dd)=>{this.listIncompleteUploadsQuery(qa,nd,cd,dd,"").on("error",pd=>od(pd)).on("data",pd=>{if(pd.uploads.forEach(fd=>{if(fd.key===nd&&(!ld||fd.initiated.getTime()>ld.initiated.getTime())){ld=fd;return}}),pd.isTruncated){ud(pd.nextKeyMarker,pd.nextUploadIdMarker);return}if(ld)return od(null,ld.uploadId);od(null,void 0)})};ud("","")}setBucketNotification(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isObject(nd))throw new TypeError('notification config should be of type "Object"');if(!isFunction(od))throw new TypeError('callback should be of type "function"');var ld="PUT",ud="notification",cd=new xml2js.Builder({rootName:"NotificationConfiguration",renderOpts:{pretty:!1},headless:!0}),dd=cd.buildObject(nd);this.makeRequest({method:ld,bucketName:qa,query:ud},dd,[200],"",!1,od)}removeAllBucketNotification(qa,nd){this.setBucketNotification(qa,new NotificationConfig,nd)}getBucketNotification(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');var od="GET",ld="notification";this.makeRequest({method:od,bucketName:qa,query:ld},"",[200],"",!0,(ud,cd)=>{if(ud)return nd(ud);var dd=getBucketNotificationTransformer(),pd;pipesetup(cd,dd).on("data",fd=>pd=fd).on("error",fd=>nd(fd)).on("end",()=>nd(null,pd))})}listenBucketNotification(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isString(nd))throw new TypeError("prefix must be of type string");if(!isString(od))throw new TypeError("suffix must be of type string");if(!Array.isArray(ld))throw new TypeError("events must be of type Array");let ud=new NotificationPoller(this,qa,nd,od,ld);return ud.start(),ud}getBucketVersioning(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');var od="GET",ld="versioning";this.makeRequest({method:od,bucketName:qa,query:ld},"",[200],"",!0,(ud,cd)=>{if(ud)return nd(ud);let dd=Buffer$4.from("");pipesetup(cd,bucketVersioningTransformer()).on("data",pd=>{dd=pd}).on("error",nd).on("end",()=>{nd(null,dd)})})}setBucketVersioning(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!Object.keys(nd).length)throw new InvalidArgumentError('versionConfig should be of type "object"');if(!isFunction(od))throw new TypeError('callback should be of type "function"');var ld="PUT",ud="versioning",cd=new xml2js.Builder({rootName:"VersioningConfiguration",renderOpts:{pretty:!1},headless:!0}),dd=cd.buildObject(nd);this.makeRequest({method:ld,bucketName:qa,query:ud},dd,[200],"",!1,od)}setTagging(qa){const{bucketName:nd,objectName:od,tags:ld,putOpts:ud={},cb:cd}=qa,dd="PUT";let pd="tagging";ud&&ud.versionId&&(pd=`${pd}&versionId=${ud.versionId}`);const fd=[];for(const[jd,Fd]of Object.entries(ld))fd.push({Key:jd,Value:Fd});const md={Tagging:{TagSet:{Tag:fd}}},vd=new Encoder,Ad={};let Id=new xml2js.Builder({headless:!0,renderOpts:{pretty:!1}}).buildObject(md);Id=Buffer$4.from(vd.encode(Id)),Ad["Content-MD5"]=toMd5(Id);const kd={method:dd,bucketName:nd,query:pd,headers:Ad};od&&(kd.objectName=od),Ad["Content-MD5"]=toMd5(Id),this.makeRequest(kd,Id,[200],"",!1,cd)}setBucketTagging(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isObject(nd))throw new InvalidArgumentError('tags should be of type "object"');if(Object.keys(nd).length>10)throw new InvalidArgumentError('maximum tags allowed is 10"');if(!isFunction(od))throw new InvalidArgumentError('callback should be of type "function"');return this.setTagging({bucketName:qa,tags:nd,cb:od})}setObjectTagging(qa,nd,od,ld={},ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidBucketNameError("Invalid object name: "+nd);if(isFunction(ld)&&(ud=ld,ld={}),!isObject(od))throw new InvalidArgumentError('tags should be of type "object"');if(Object.keys(od).length>10)throw new InvalidArgumentError('Maximum tags allowed is 10"');if(!isFunction(ud))throw new TypeError('callback should be of type "function"');return this.setTagging({bucketName:qa,objectName:nd,tags:od,putOpts:ld,cb:ud})}removeTagging({bucketName:qa,objectName:nd,removeOpts:od,cb:ld}){const ud="DELETE";let cd="tagging";od&&Object.keys(od).length&&od.versionId&&(cd=`${cd}&versionId=${od.versionId}`);const dd={method:ud,bucketName:qa,objectName:nd,query:cd};nd&&(dd.objectName=nd),this.makeRequest(dd,"",[200,204],"",!0,ld)}removeBucketTagging(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');return this.removeTagging({bucketName:qa,cb:nd})}removeObjectTagging(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidBucketNameError("Invalid object name: "+nd);if(isFunction(od)&&(ld=od,od={}),od&&Object.keys(od).length&&!isObject(od))throw new InvalidArgumentError('removeOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');return this.removeTagging({bucketName:qa,objectName:nd,removeOpts:od,cb:ld})}getBucketTagging(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);const ud={method:"GET",bucketName:qa,query:"tagging"};this.makeRequest(ud,"",[200],"",!0,(cd,dd)=>{var pd=getTagsTransformer();if(cd)return nd(cd);let fd;pipesetup(dd,pd).on("data",md=>fd=md).on("error",md=>nd(md)).on("end",()=>nd(null,fd))})}getObjectTagging(qa,nd,od={},ld=()=>!1){const ud="GET";let cd="tagging";if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidBucketNameError("Invalid object name: "+nd);if(isFunction(od)&&(ld=od,od={}),!isObject(od))throw new InvalidArgumentError('getOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');od&&od.versionId&&(cd=`${cd}&versionId=${od.versionId}`);const dd={method:ud,bucketName:qa,query:cd};nd&&(dd.objectName=nd),this.makeRequest(dd,"",[200],"",!0,(pd,fd)=>{const md=getTagsTransformer();if(pd)return ld(pd);let vd;pipesetup(fd,md).on("data",Ad=>vd=Ad).on("error",Ad=>ld(Ad)).on("end",()=>ld(null,vd))})}applyBucketLifecycle(qa,nd,od){const ld="PUT",ud="lifecycle",cd=new Encoder,dd={};let fd=new xml2js.Builder({rootName:"LifecycleConfiguration",headless:!0,renderOpts:{pretty:!1}}).buildObject(nd);fd=Buffer$4.from(cd.encode(fd));const md={method:ld,bucketName:qa,query:ud,headers:dd};dd["Content-MD5"]=toMd5(fd),this.makeRequest(md,fd,[200],"",!1,od)}removeBucketLifecycle(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);this.makeRequest({method:"DELETE",bucketName:qa,query:"lifecycle"},"",[204],"",!1,nd)}setBucketLifecycle(qa,nd=null,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);_.isEmpty(nd)?this.removeBucketLifecycle(qa,od):this.applyBucketLifecycle(qa,nd,od)}getBucketLifecycle(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);const ud={method:"GET",bucketName:qa,query:"lifecycle"};this.makeRequest(ud,"",[200],"",!0,(cd,dd)=>{const pd=lifecycleTransformer();if(cd)return nd(cd);let fd;pipesetup(dd,pd).on("data",md=>fd=md).on("error",md=>nd(md)).on("end",()=>nd(null,fd))})}setObjectLockConfig(qa,nd={},od){const ld=[RETENTION_MODES.COMPLIANCE,RETENTION_MODES.GOVERNANCE],ud=[RETENTION_VALIDITY_UNITS.DAYS,RETENTION_VALIDITY_UNITS.YEARS];if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(nd.mode&&!ld.includes(nd.mode))throw new TypeError(`lockConfigOpts.mode should be one of ${ld}`);if(nd.unit&&!ud.includes(nd.unit))throw new TypeError(`lockConfigOpts.unit should be one of ${ud}`);if(nd.validity&&!isNumber(nd.validity))throw new TypeError("lockConfigOpts.validity should be a number");const cd="PUT",dd="object-lock";let pd={ObjectLockEnabled:"Enabled"};const fd=Object.keys(nd);if(fd.length>0){if(_.difference(fd,["unit","mode","validity"]).length!==0)throw new TypeError("lockConfigOpts.mode,lockConfigOpts.unit,lockConfigOpts.validity all the properties should be specified.");pd.Rule={DefaultRetention:{}},nd.mode&&(pd.Rule.DefaultRetention.Mode=nd.mode),nd.unit===RETENTION_VALIDITY_UNITS.DAYS?pd.Rule.DefaultRetention.Days=nd.validity:nd.unit===RETENTION_VALIDITY_UNITS.YEARS&&(pd.Rule.DefaultRetention.Years=nd.validity)}const vd=new xml2js.Builder({rootName:"ObjectLockConfiguration",renderOpts:{pretty:!1},headless:!0}).buildObject(pd),Ad={};Ad["Content-MD5"]=toMd5(vd),this.makeRequest({method:cd,bucketName:qa,query:dd,headers:Ad},vd,[200],"",!1,od)}getObjectLockConfig(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"object-lock"},"",[200],"",!0,(ud,cd)=>{if(ud)return nd(ud);let dd=Buffer$4.from("");pipesetup(cd,objectLockTransformer()).on("data",pd=>{dd=pd}).on("error",nd).on("end",()=>{nd(null,dd)})})}putObjectRetention(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isObject(od)){if(od.governanceBypass&&!isBoolean(od.governanceBypass))throw new InvalidArgumentError("Invalid value for governanceBypass",od.governanceBypass);if(od.mode&&![RETENTION_MODES.COMPLIANCE,RETENTION_MODES.GOVERNANCE].includes(od.mode))throw new InvalidArgumentError("Invalid object retention mode ",od.mode);if(od.retainUntilDate&&!isString(od.retainUntilDate))throw new InvalidArgumentError("Invalid value for retainUntilDate",od.retainUntilDate);if(od.versionId&&!isString(od.versionId))throw new InvalidArgumentError("Invalid value for versionId",od.versionId)}else throw new InvalidArgumentError('retentionOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');const ud="PUT";let cd="retention";const dd={};od.governanceBypass&&(dd["X-Amz-Bypass-Governance-Retention"]=!0);const pd=new xml2js.Builder({rootName:"Retention",renderOpts:{pretty:!1},headless:!0}),fd={};od.mode&&(fd.Mode=od.mode),od.retainUntilDate&&(fd.RetainUntilDate=od.retainUntilDate),od.versionId&&(cd+=`&versionId=${od.versionId}`);let md=pd.buildObject(fd);dd["Content-MD5"]=toMd5(md),this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:cd,headers:dd},md,[200,204],"",!1,ld)}getObjectRetention(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isObject(od)){if(od.versionId&&!isString(od.versionId))throw new InvalidArgumentError('VersionID should be of type "string"')}else throw new InvalidArgumentError('callback should be of type "object"');if(ld&&!isFunction(ld))throw new InvalidArgumentError('callback should be of type "function"');const ud="GET";let cd="retention";od.versionId&&(cd+=`&versionId=${od.versionId}`),this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:cd},"",[200],"",!0,(dd,pd)=>{if(dd)return ld(dd);let fd=Buffer$4.from("");pipesetup(pd,objectRetentionTransformer()).on("data",md=>{fd=md}).on("error",ld).on("end",()=>{ld(null,fd)})})}setBucketEncryption(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isFunction(nd)&&(od=nd,nd=null),!_.isEmpty(nd)&&nd.Rule.length>1)throw new InvalidArgumentError("Invalid Rule length. Only one rule is allowed.: "+nd.Rule);if(od&&!isFunction(od))throw new TypeError('callback should be of type "function"');let ld=nd;_.isEmpty(nd)&&(ld={Rule:[{ApplyServerSideEncryptionByDefault:{SSEAlgorithm:"AES256"}}]});let ud="PUT",cd="encryption",pd=new xml2js.Builder({rootName:"ServerSideEncryptionConfiguration",renderOpts:{pretty:!1},headless:!0}).buildObject(ld);const fd={};fd["Content-MD5"]=toMd5(pd),this.makeRequest({method:ud,bucketName:qa,query:cd,headers:fd},pd,[200],"",!1,od)}getBucketEncryption(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"encryption"},"",[200],"",!0,(ud,cd)=>{if(ud)return nd(ud);let dd=Buffer$4.from("");pipesetup(cd,bucketEncryptionTransformer()).on("data",pd=>{dd=pd}).on("error",nd).on("end",()=>{nd(null,dd)})})}removeBucketEncryption(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"DELETE",bucketName:qa,query:"encryption"},"",[204],"",!1,nd)}getObjectLegalHold(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isFunction(od)&&(ld=od,od={}),isObject(od)){if(Object.keys(od).length>0&&od.versionId&&!isString(od.versionId))throw new TypeError("versionId should be of type string.:",od.versionId)}else throw new TypeError('getOpts should be of type "Object"');if(!isFunction(ld))throw new InvalidArgumentError('callback should be of type "function"');const ud="GET";let cd="legal-hold";od.versionId&&(cd+=`&versionId=${od.versionId}`),this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:cd},"",[200],"",!0,(dd,pd)=>{if(dd)return ld(dd);let fd=Buffer$4.from("");pipesetup(pd,objectLegalHoldTransformer()).on("data",md=>{fd=md}).on("error",ld).on("end",()=>{ld(null,fd)})})}setObjectLegalHold(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);const ud={status:LEGAL_HOLD_STATUS.ENABLED};if(isFunction(od)&&(ld=od,od=ud),isObject(od)){if(![LEGAL_HOLD_STATUS.ENABLED,LEGAL_HOLD_STATUS.DISABLED].includes(od.status))throw new TypeError("Invalid status: "+od.status);if(od.versionId&&!od.versionId.length)throw new TypeError("versionId should be of type string.:"+od.versionId)}else throw new TypeError('setOpts should be of type "Object"');if(!isFunction(ld))throw new InvalidArgumentError('callback should be of type "function"');_.isEmpty(od)&&(od={defaultOpts:ud});const cd="PUT";let dd="legal-hold";od.versionId&&(dd+=`&versionId=${od.versionId}`);let pd={Status:od.status};const md=new xml2js.Builder({rootName:"LegalHold",renderOpts:{pretty:!1},headless:!0}).buildObject(pd),vd={};vd["Content-MD5"]=toMd5(md),this.makeRequest({method:cd,bucketName:qa,objectName:nd,query:dd,headers:vd},md,[200],"",!1,ld)}uploadPartCopy(qa,nd){const{bucketName:od,objectName:ld,uploadID:ud,partNumber:cd,headers:dd}=qa,pd="PUT";let fd=`uploadId=${ud}&partNumber=${cd}`;const md={method:pd,bucketName:od,objectName:ld,query:fd,headers:dd};return this.makeRequest(md,"",[200],"",!0,(vd,Ad)=>{let Nd=Buffer$4.from("");if(vd)return nd(vd);pipesetup(Ad,uploadPartTransformer()).on("data",Id=>{Nd=Id}).on("error",nd).on("end",()=>{let Id={etag:sanitizeETag(Nd.ETag),key:ld,part:cd};nd(null,Id)})})}composeObject(qa={},nd=[],od){const ld=this,ud=nd.length;if(!Array.isArray(nd))throw new InvalidArgumentError("sourceConfig should an array of CopySourceOptions ");if(!(qa instanceof CopyDestinationOptions))throw new InvalidArgumentError("destConfig should of type CopyDestinationOptions ");if(ud<1||ud>PART_CONSTRAINTS.MAX_PARTS_COUNT)throw new InvalidArgumentError(`"There must be as least one and up to ${PART_CONSTRAINTS.MAX_PARTS_COUNT} source objects.`);if(!isFunction(od))throw new TypeError('callback should be of type "function"');for(let vd=0;vd{let Ad={};return _.isEmpty(vd.VersionID)||(Ad={versionId:vd.VersionID}),Ad},dd=[];let pd=0,fd=0;const md=nd.map(vd=>ld.statObject(vd.Bucket,vd.Object,cd(vd)));return Promise.all(md).then(vd=>{const Ad=vd.map((Fd,Md)=>{const Ld=nd[Md];let Hd=Fd.size;if(Ld.MatchRange){const Gd=Ld.Start,Vd=Ld.End;if(Vd>=Hd||Gd<0)throw new InvalidArgumentError(`CopySrcOptions ${Md} has invalid segment-to-copy [${Gd}, ${Vd}] (size is ${Hd})`);Hd=Vd-Gd+1}if(HdPART_CONSTRAINTS.MAX_MULTIPART_PUT_OBJECT_SIZE)throw new InvalidArgumentError(`Cannot compose an object of size ${pd} (> 5TiB)`);if(dd[Md]=Hd,fd+=partsRequired(Hd),fd>PART_CONSTRAINTS.MAX_PARTS_COUNT)throw new InvalidArgumentError(`Your proposed compose object requires more than ${PART_CONSTRAINTS.MAX_PARTS_COUNT} parts`);return Fd});if(fd===1&&pd<=PART_CONSTRAINTS.MAX_PART_SIZE||pd===0)return this.copyObject(nd[0],qa,od);for(let Fd=0;FdcalculateEvenSplits(dd[Md],nd[Md]));function Id(Fd){const Md=[];return Nd.forEach((Ld,Hd)=>{const{startIndex:Gd,endIndex:Vd,objInfo:Qd}=Ld;let mf=Hd+1;const Yd=Array.from(Gd),Zd=nd[Hd].getHeaders();Yd.forEach((Kd,bf)=>{let gf=Vd[bf];const Ef=`${Qd.Bucket}/${Qd.Object}`;Zd["x-amz-copy-source"]=`${Ef}`,Zd["x-amz-copy-source-range"]=`bytes=${Kd}-${gf}`;const yf={bucketName:qa.Bucket,objectName:qa.Object,uploadID:Fd,partNumber:mf,headers:Zd,sourceObj:Ef};Md.push(yf)})}),Md}const kd=Fd=>{const Md=Id(Fd);index.map(Md,ld.uploadPartCopy.bind(ld),(Ld,Hd)=>{if(Ld){this.abortMultipartUpload(qa.Bucket,qa.Object,Fd).then(()=>od(),Vd=>od(Vd));return}const Gd=Hd.map(Vd=>({etag:Vd.etag,part:Vd.part}));return ld.completeMultipartUpload(qa.Bucket,qa.Object,Fd,Gd,od)})},jd=qa.getHeaders();ld.initiateNewMultipartUpload(qa.Bucket,qa.Object,jd).then(Fd=>{kd(Fd)},Fd=>{od(Fd,null)})}).catch(vd=>{od(vd,null)})}selectObjectContent(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(_.isEmpty(od))throw new TypeError("valid select configuration is required");if(!isString(od.expression))throw new TypeError('sqlExpression should be of type "string"');if(_.isEmpty(od.inputSerialization))throw new TypeError("inputSerialization is required");if(!isObject(od.inputSerialization))throw new TypeError('inputSerialization should be of type "object"');if(_.isEmpty(od.outputSerialization))throw new TypeError("outputSerialization is required");if(!isObject(od.outputSerialization))throw new TypeError('outputSerialization should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');const ud="POST";let cd="select";cd+="&select-type=2";const dd=[{Expression:od.expression},{ExpressionType:od.expressionType||"SQL"},{InputSerialization:[od.inputSerialization]},{OutputSerialization:[od.outputSerialization]}];od.requestProgress&&dd.push({RequestProgress:od.requestProgress}),od.scanRange&&dd.push({ScanRange:od.scanRange});const fd=new xml2js.Builder({rootName:"SelectObjectContentRequest",renderOpts:{pretty:!1},headless:!0}).buildObject(dd);this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:cd},fd,[200],"",!0,(md,vd)=>{if(md)return ld(md);let Ad;pipesetup(vd,selectObjectContentTransformer()).on("data",Nd=>{Ad=parseSelectObjectContentResponse(Nd)}).on("error",ld).on("end",()=>{ld(null,Ad)})})}}Client.prototype.makeBucket=promisify(Client.prototype.makeBucket);Client.prototype.bucketExists=promisify(Client.prototype.bucketExists);Client.prototype.getObject=promisify(Client.prototype.getObject);Client.prototype.getPartialObject=promisify(Client.prototype.getPartialObject);Client.prototype.fGetObject=promisify(Client.prototype.fGetObject);Client.prototype.putObject=promisify(Client.prototype.putObject);Client.prototype.fPutObject=promisify(Client.prototype.fPutObject);Client.prototype.copyObject=promisify(Client.prototype.copyObject);Client.prototype.removeObjects=promisify(Client.prototype.removeObjects);Client.prototype.presignedUrl=promisify(Client.prototype.presignedUrl);Client.prototype.presignedGetObject=promisify(Client.prototype.presignedGetObject);Client.prototype.presignedPutObject=promisify(Client.prototype.presignedPutObject);Client.prototype.presignedPostPolicy=promisify(Client.prototype.presignedPostPolicy);Client.prototype.getBucketNotification=promisify(Client.prototype.getBucketNotification);Client.prototype.setBucketNotification=promisify(Client.prototype.setBucketNotification);Client.prototype.removeAllBucketNotification=promisify(Client.prototype.removeAllBucketNotification);Client.prototype.getBucketPolicy=promisify(Client.prototype.getBucketPolicy);Client.prototype.setBucketPolicy=promisify(Client.prototype.setBucketPolicy);Client.prototype.removeIncompleteUpload=promisify(Client.prototype.removeIncompleteUpload);Client.prototype.getBucketVersioning=promisify(Client.prototype.getBucketVersioning);Client.prototype.setBucketVersioning=promisify(Client.prototype.setBucketVersioning);Client.prototype.setBucketTagging=promisify(Client.prototype.setBucketTagging);Client.prototype.removeBucketTagging=promisify(Client.prototype.removeBucketTagging);Client.prototype.getBucketTagging=promisify(Client.prototype.getBucketTagging);Client.prototype.setObjectTagging=promisify(Client.prototype.setObjectTagging);Client.prototype.removeObjectTagging=promisify(Client.prototype.removeObjectTagging);Client.prototype.getObjectTagging=promisify(Client.prototype.getObjectTagging);Client.prototype.setBucketLifecycle=promisify(Client.prototype.setBucketLifecycle);Client.prototype.getBucketLifecycle=promisify(Client.prototype.getBucketLifecycle);Client.prototype.removeBucketLifecycle=promisify(Client.prototype.removeBucketLifecycle);Client.prototype.setObjectLockConfig=promisify(Client.prototype.setObjectLockConfig);Client.prototype.getObjectLockConfig=promisify(Client.prototype.getObjectLockConfig);Client.prototype.putObjectRetention=promisify(Client.prototype.putObjectRetention);Client.prototype.getObjectRetention=promisify(Client.prototype.getObjectRetention);Client.prototype.setBucketEncryption=promisify(Client.prototype.setBucketEncryption);Client.prototype.getBucketEncryption=promisify(Client.prototype.getBucketEncryption);Client.prototype.removeBucketEncryption=promisify(Client.prototype.removeBucketEncryption);Client.prototype.setObjectLegalHold=promisify(Client.prototype.setObjectLegalHold);Client.prototype.getObjectLegalHold=promisify(Client.prototype.getObjectLegalHold);Client.prototype.composeObject=promisify(Client.prototype.composeObject);Client.prototype.selectObjectContent=promisify(Client.prototype.selectObjectContent);Client.prototype.removeObject=callbackify(Client.prototype.removeObject);Client.prototype.statObject=callbackify(Client.prototype.statObject);Client.prototype.removeBucket=callbackify(Client.prototype.removeBucket);Client.prototype.listBuckets=callbackify(Client.prototype.listBuckets);Client.prototype.removeBucketReplication=callbackify(Client.prototype.removeBucketReplication);Client.prototype.setBucketReplication=callbackify(Client.prototype.setBucketReplication);Client.prototype.getBucketReplication=callbackify(Client.prototype.getBucketReplication);var __extends$3=function(){var Ra=function(qa,nd){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(od,ld){od.__proto__=ld}||function(od,ld){for(var ud in ld)ld.hasOwnProperty(ud)&&(od[ud]=ld[ud])},Ra(qa,nd)};return function(qa,nd){Ra(qa,nd);function od(){this.constructor=qa}qa.prototype=nd===null?Object.create(nd):(od.prototype=nd.prototype,new od)}}(),QiniuErrorName;(function(Ra){Ra.InvalidFile="InvalidFile",Ra.InvalidToken="InvalidToken",Ra.InvalidMetadata="InvalidMetadata",Ra.InvalidChunkSize="InvalidChunkSize",Ra.InvalidCustomVars="InvalidCustomVars",Ra.NotAvailableUploadHost="NotAvailableUploadHost",Ra.ReadCacheFailed="ReadCacheFailed",Ra.InvalidCacheData="InvalidCacheData",Ra.WriteCacheFailed="WriteCacheFailed",Ra.RemoveCacheFailed="RemoveCacheFailed",Ra.GetCanvasContextFailed="GetCanvasContextFailed",Ra.UnsupportedFileType="UnsupportedFileType",Ra.FileReaderReadFailed="FileReaderReadFailed",Ra.NotAvailableXMLHttpRequest="NotAvailableXMLHttpRequest",Ra.InvalidProgressEventTarget="InvalidProgressEventTarget",Ra.RequestError="RequestError"})(QiniuErrorName||(QiniuErrorName={}));var QiniuError=function(){function Ra(qa,nd){this.name=qa,this.message=nd,this.stack=new Error().stack}return Ra}(),QiniuRequestError=function(Ra){__extends$3(qa,Ra);function qa(nd,od,ld,ud){var cd=Ra.call(this,QiniuErrorName.RequestError,ld)||this;return cd.code=nd,cd.reqId=od,cd.isRequestError=!0,cd.data=ud,cd}return qa}(QiniuError),QiniuNetworkError=function(Ra){__extends$3(qa,Ra);function qa(nd,od){return od===void 0&&(od=""),Ra.call(this,0,od,nd)||this}return qa}(QiniuRequestError),Pool=function(){function Ra(qa,nd){this.runTask=qa,this.limit=nd,this.aborted=!1,this.queue=[],this.processing=[]}return Ra.prototype.enqueue=function(qa){var nd=this;return new Promise(function(od,ld){nd.queue.push({task:qa,resolve:od,reject:ld}),nd.check()})},Ra.prototype.run=function(qa){var nd=this;this.queue=this.queue.filter(function(od){return od!==qa}),this.processing.push(qa),this.runTask(qa.task).then(function(){nd.processing=nd.processing.filter(function(od){return od!==qa}),qa.resolve(),nd.check()},function(od){return qa.reject(od)})},Ra.prototype.check=function(){var qa=this;if(!this.aborted){var nd=this.processing.length,od=this.limit-nd;this.queue.slice(0,od).forEach(function(ld){qa.run(ld)})}},Ra.prototype.abort=function(){this.queue=[],this.aborted=!0},Ra}(),__extends$2=function(){var Ra=function(qa,nd){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(od,ld){od.__proto__=ld}||function(od,ld){for(var ud in ld)ld.hasOwnProperty(ud)&&(od[ud]=ld[ud])},Ra(qa,nd)};return function(qa,nd){Ra(qa,nd);function od(){this.constructor=qa}qa.prototype=nd===null?Object.create(nd):(od.prototype=nd.prototype,new od)}}(),__assign$6=function(){return __assign$6=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd"u")return"";var qa=Ra+"",nd="",od,ld,ud=0;od=ld=0,ud=qa.length;for(var cd=0;cd127&&dd<2048)pd=String.fromCharCode(dd>>6|192,dd&63|128);else if((dd&63488^55296)>0)pd=String.fromCharCode(dd>>12|224,dd>>6&63|128,dd&63|128);else{if((dd&64512^55296)>0)throw new RangeError("Unmatched trail surrogate at "+cd);var fd=qa.charCodeAt(++cd);if((fd&64512^56320)>0)throw new RangeError("Unmatched lead surrogate at "+(cd-1));dd=((dd&1023)<<10)+(fd&1023)+65536,pd=String.fromCharCode(dd>>18|240,dd>>12&63|128,dd>>6&63|128,dd&63|128)}pd!==null&&(ld>od&&(nd+=qa.slice(od,ld)),nd+=pd,od=ld=cd+1)}return ld>od&&(nd+=qa.slice(od,ud)),nd}function utf8Decode(Ra){var qa=[],nd=0,od=0,ld=0;for(Ra+="";nd>10&1023)),qa.push(String.fromCharCode(56320|od&1023))):qa.push(String.fromCharCode(od)),nd+=ld}return qa.join("")}function base64Encode(Ra){var qa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",nd,od,ld,ud,cd,dd,pd,fd,md=0,vd=0,Ad="",Nd=[];if(!Ra)return Ra;Ra=utf8Encode(Ra+"");do nd=Ra.charCodeAt(md++),od=Ra.charCodeAt(md++),ld=Ra.charCodeAt(md++),fd=nd<<16|od<<8|ld,ud=fd>>18&63,cd=fd>>12&63,dd=fd>>6&63,pd=fd&63,Nd[vd++]=qa.charAt(ud)+qa.charAt(cd)+qa.charAt(dd)+qa.charAt(pd);while(md>16&255,od=fd>>8&255,ld=fd&255,dd===64?Nd[vd++]=String.fromCharCode(nd):pd===64?Nd[vd++]=String.fromCharCode(nd,od):Nd[vd++]=String.fromCharCode(nd,od,ld);while(md>>25)+Hd|0,Vd+=(Ld&Hd|~Ld&Gd)+Md[1]-389564586|0,Vd=(Vd<<12|Vd>>>20)+Ld|0,Gd+=(Vd&Ld|~Vd&Hd)+Md[2]+606105819|0,Gd=(Gd<<17|Gd>>>15)+Vd|0,Hd+=(Gd&Vd|~Gd&Ld)+Md[3]-1044525330|0,Hd=(Hd<<22|Hd>>>10)+Gd|0,Ld+=(Hd&Gd|~Hd&Vd)+Md[4]-176418897|0,Ld=(Ld<<7|Ld>>>25)+Hd|0,Vd+=(Ld&Hd|~Ld&Gd)+Md[5]+1200080426|0,Vd=(Vd<<12|Vd>>>20)+Ld|0,Gd+=(Vd&Ld|~Vd&Hd)+Md[6]-1473231341|0,Gd=(Gd<<17|Gd>>>15)+Vd|0,Hd+=(Gd&Vd|~Gd&Ld)+Md[7]-45705983|0,Hd=(Hd<<22|Hd>>>10)+Gd|0,Ld+=(Hd&Gd|~Hd&Vd)+Md[8]+1770035416|0,Ld=(Ld<<7|Ld>>>25)+Hd|0,Vd+=(Ld&Hd|~Ld&Gd)+Md[9]-1958414417|0,Vd=(Vd<<12|Vd>>>20)+Ld|0,Gd+=(Vd&Ld|~Vd&Hd)+Md[10]-42063|0,Gd=(Gd<<17|Gd>>>15)+Vd|0,Hd+=(Gd&Vd|~Gd&Ld)+Md[11]-1990404162|0,Hd=(Hd<<22|Hd>>>10)+Gd|0,Ld+=(Hd&Gd|~Hd&Vd)+Md[12]+1804603682|0,Ld=(Ld<<7|Ld>>>25)+Hd|0,Vd+=(Ld&Hd|~Ld&Gd)+Md[13]-40341101|0,Vd=(Vd<<12|Vd>>>20)+Ld|0,Gd+=(Vd&Ld|~Vd&Hd)+Md[14]-1502002290|0,Gd=(Gd<<17|Gd>>>15)+Vd|0,Hd+=(Gd&Vd|~Gd&Ld)+Md[15]+1236535329|0,Hd=(Hd<<22|Hd>>>10)+Gd|0,Ld+=(Hd&Vd|Gd&~Vd)+Md[1]-165796510|0,Ld=(Ld<<5|Ld>>>27)+Hd|0,Vd+=(Ld&Gd|Hd&~Gd)+Md[6]-1069501632|0,Vd=(Vd<<9|Vd>>>23)+Ld|0,Gd+=(Vd&Hd|Ld&~Hd)+Md[11]+643717713|0,Gd=(Gd<<14|Gd>>>18)+Vd|0,Hd+=(Gd&Ld|Vd&~Ld)+Md[0]-373897302|0,Hd=(Hd<<20|Hd>>>12)+Gd|0,Ld+=(Hd&Vd|Gd&~Vd)+Md[5]-701558691|0,Ld=(Ld<<5|Ld>>>27)+Hd|0,Vd+=(Ld&Gd|Hd&~Gd)+Md[10]+38016083|0,Vd=(Vd<<9|Vd>>>23)+Ld|0,Gd+=(Vd&Hd|Ld&~Hd)+Md[15]-660478335|0,Gd=(Gd<<14|Gd>>>18)+Vd|0,Hd+=(Gd&Ld|Vd&~Ld)+Md[4]-405537848|0,Hd=(Hd<<20|Hd>>>12)+Gd|0,Ld+=(Hd&Vd|Gd&~Vd)+Md[9]+568446438|0,Ld=(Ld<<5|Ld>>>27)+Hd|0,Vd+=(Ld&Gd|Hd&~Gd)+Md[14]-1019803690|0,Vd=(Vd<<9|Vd>>>23)+Ld|0,Gd+=(Vd&Hd|Ld&~Hd)+Md[3]-187363961|0,Gd=(Gd<<14|Gd>>>18)+Vd|0,Hd+=(Gd&Ld|Vd&~Ld)+Md[8]+1163531501|0,Hd=(Hd<<20|Hd>>>12)+Gd|0,Ld+=(Hd&Vd|Gd&~Vd)+Md[13]-1444681467|0,Ld=(Ld<<5|Ld>>>27)+Hd|0,Vd+=(Ld&Gd|Hd&~Gd)+Md[2]-51403784|0,Vd=(Vd<<9|Vd>>>23)+Ld|0,Gd+=(Vd&Hd|Ld&~Hd)+Md[7]+1735328473|0,Gd=(Gd<<14|Gd>>>18)+Vd|0,Hd+=(Gd&Ld|Vd&~Ld)+Md[12]-1926607734|0,Hd=(Hd<<20|Hd>>>12)+Gd|0,Ld+=(Hd^Gd^Vd)+Md[5]-378558|0,Ld=(Ld<<4|Ld>>>28)+Hd|0,Vd+=(Ld^Hd^Gd)+Md[8]-2022574463|0,Vd=(Vd<<11|Vd>>>21)+Ld|0,Gd+=(Vd^Ld^Hd)+Md[11]+1839030562|0,Gd=(Gd<<16|Gd>>>16)+Vd|0,Hd+=(Gd^Vd^Ld)+Md[14]-35309556|0,Hd=(Hd<<23|Hd>>>9)+Gd|0,Ld+=(Hd^Gd^Vd)+Md[1]-1530992060|0,Ld=(Ld<<4|Ld>>>28)+Hd|0,Vd+=(Ld^Hd^Gd)+Md[4]+1272893353|0,Vd=(Vd<<11|Vd>>>21)+Ld|0,Gd+=(Vd^Ld^Hd)+Md[7]-155497632|0,Gd=(Gd<<16|Gd>>>16)+Vd|0,Hd+=(Gd^Vd^Ld)+Md[10]-1094730640|0,Hd=(Hd<<23|Hd>>>9)+Gd|0,Ld+=(Hd^Gd^Vd)+Md[13]+681279174|0,Ld=(Ld<<4|Ld>>>28)+Hd|0,Vd+=(Ld^Hd^Gd)+Md[0]-358537222|0,Vd=(Vd<<11|Vd>>>21)+Ld|0,Gd+=(Vd^Ld^Hd)+Md[3]-722521979|0,Gd=(Gd<<16|Gd>>>16)+Vd|0,Hd+=(Gd^Vd^Ld)+Md[6]+76029189|0,Hd=(Hd<<23|Hd>>>9)+Gd|0,Ld+=(Hd^Gd^Vd)+Md[9]-640364487|0,Ld=(Ld<<4|Ld>>>28)+Hd|0,Vd+=(Ld^Hd^Gd)+Md[12]-421815835|0,Vd=(Vd<<11|Vd>>>21)+Ld|0,Gd+=(Vd^Ld^Hd)+Md[15]+530742520|0,Gd=(Gd<<16|Gd>>>16)+Vd|0,Hd+=(Gd^Vd^Ld)+Md[2]-995338651|0,Hd=(Hd<<23|Hd>>>9)+Gd|0,Ld+=(Gd^(Hd|~Vd))+Md[0]-198630844|0,Ld=(Ld<<6|Ld>>>26)+Hd|0,Vd+=(Hd^(Ld|~Gd))+Md[7]+1126891415|0,Vd=(Vd<<10|Vd>>>22)+Ld|0,Gd+=(Ld^(Vd|~Hd))+Md[14]-1416354905|0,Gd=(Gd<<15|Gd>>>17)+Vd|0,Hd+=(Vd^(Gd|~Ld))+Md[5]-57434055|0,Hd=(Hd<<21|Hd>>>11)+Gd|0,Ld+=(Gd^(Hd|~Vd))+Md[12]+1700485571|0,Ld=(Ld<<6|Ld>>>26)+Hd|0,Vd+=(Hd^(Ld|~Gd))+Md[3]-1894986606|0,Vd=(Vd<<10|Vd>>>22)+Ld|0,Gd+=(Ld^(Vd|~Hd))+Md[10]-1051523|0,Gd=(Gd<<15|Gd>>>17)+Vd|0,Hd+=(Vd^(Gd|~Ld))+Md[1]-2054922799|0,Hd=(Hd<<21|Hd>>>11)+Gd|0,Ld+=(Gd^(Hd|~Vd))+Md[8]+1873313359|0,Ld=(Ld<<6|Ld>>>26)+Hd|0,Vd+=(Hd^(Ld|~Gd))+Md[15]-30611744|0,Vd=(Vd<<10|Vd>>>22)+Ld|0,Gd+=(Ld^(Vd|~Hd))+Md[6]-1560198380|0,Gd=(Gd<<15|Gd>>>17)+Vd|0,Hd+=(Vd^(Gd|~Ld))+Md[13]+1309151649|0,Hd=(Hd<<21|Hd>>>11)+Gd|0,Ld+=(Gd^(Hd|~Vd))+Md[4]-145523070|0,Ld=(Ld<<6|Ld>>>26)+Hd|0,Vd+=(Hd^(Ld|~Gd))+Md[11]-1120210379|0,Vd=(Vd<<10|Vd>>>22)+Ld|0,Gd+=(Ld^(Vd|~Hd))+Md[2]+718787259|0,Gd=(Gd<<15|Gd>>>17)+Vd|0,Hd+=(Vd^(Gd|~Ld))+Md[9]-343485551|0,Hd=(Hd<<21|Hd>>>11)+Gd|0,Fd[0]=Ld+Fd[0]|0,Fd[1]=Hd+Fd[1]|0,Fd[2]=Gd+Fd[2]|0,Fd[3]=Vd+Fd[3]|0}function ud(Fd){var Md=[],Ld;for(Ld=0;Ld<64;Ld+=4)Md[Ld>>2]=Fd.charCodeAt(Ld)+(Fd.charCodeAt(Ld+1)<<8)+(Fd.charCodeAt(Ld+2)<<16)+(Fd.charCodeAt(Ld+3)<<24);return Md}function cd(Fd){var Md=[],Ld;for(Ld=0;Ld<64;Ld+=4)Md[Ld>>2]=Fd[Ld]+(Fd[Ld+1]<<8)+(Fd[Ld+2]<<16)+(Fd[Ld+3]<<24);return Md}function dd(Fd){var Md=Fd.length,Ld=[1732584193,-271733879,-1732584194,271733878],Hd,Gd,Vd,Qd,mf,Yd;for(Hd=64;Hd<=Md;Hd+=64)ld(Ld,ud(Fd.substring(Hd-64,Hd)));for(Fd=Fd.substring(Hd-64),Gd=Fd.length,Vd=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Hd=0;Hd>2]|=Fd.charCodeAt(Hd)<<(Hd%4<<3);if(Vd[Hd>>2]|=128<<(Hd%4<<3),Hd>55)for(ld(Ld,Vd),Hd=0;Hd<16;Hd+=1)Vd[Hd]=0;return Qd=Md*8,Qd=Qd.toString(16).match(/(.*?)(.{0,8})$/),mf=parseInt(Qd[2],16),Yd=parseInt(Qd[1],16)||0,Vd[14]=mf,Vd[15]=Yd,ld(Ld,Vd),Ld}function pd(Fd){var Md=Fd.length,Ld=[1732584193,-271733879,-1732584194,271733878],Hd,Gd,Vd,Qd,mf,Yd;for(Hd=64;Hd<=Md;Hd+=64)ld(Ld,cd(Fd.subarray(Hd-64,Hd)));for(Fd=Hd-64>2]|=Fd[Hd]<<(Hd%4<<3);if(Vd[Hd>>2]|=128<<(Hd%4<<3),Hd>55)for(ld(Ld,Vd),Hd=0;Hd<16;Hd+=1)Vd[Hd]=0;return Qd=Md*8,Qd=Qd.toString(16).match(/(.*?)(.{0,8})$/),mf=parseInt(Qd[2],16),Yd=parseInt(Qd[1],16)||0,Vd[14]=mf,Vd[15]=Yd,ld(Ld,Vd),Ld}function fd(Fd){var Md="",Ld;for(Ld=0;Ld<4;Ld+=1)Md+=od[Fd>>Ld*8+4&15]+od[Fd>>Ld*8&15];return Md}function md(Fd){var Md;for(Md=0;MdVd?new ArrayBuffer(0):(Qd=Vd-Gd,mf=new ArrayBuffer(Qd),Yd=new Uint8Array(mf),Zd=new Uint8Array(this,Gd,Qd),Yd.set(Zd),mf)}}();function vd(Fd){return/[\u0080-\uFFFF]/.test(Fd)&&(Fd=unescape(encodeURIComponent(Fd))),Fd}function Ad(Fd,Md){var Ld=Fd.length,Hd=new ArrayBuffer(Ld),Gd=new Uint8Array(Hd),Vd;for(Vd=0;Vd>2]|=Md.charCodeAt(Hd)<<(Hd%4<<3);return this._finish(Gd,Ld),Vd=md(this._hash),Fd&&(Vd=kd(Vd)),this.reset(),Vd},jd.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},jd.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},jd.prototype.setState=function(Fd){return this._buff=Fd.buff,this._length=Fd.length,this._hash=Fd.hash,this},jd.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},jd.prototype._finish=function(Fd,Md){var Ld=Md,Hd,Gd,Vd;if(Fd[Ld>>2]|=128<<(Ld%4<<3),Ld>55)for(ld(this._hash,Fd),Ld=0;Ld<16;Ld+=1)Fd[Ld]=0;Hd=this._length*8,Hd=Hd.toString(16).match(/(.*?)(.{0,8})$/),Gd=parseInt(Hd[2],16),Vd=parseInt(Hd[1],16)||0,Fd[14]=Gd,Fd[15]=Vd,ld(this._hash,Fd)},jd.hash=function(Fd,Md){return jd.hashBinary(vd(Fd),Md)},jd.hashBinary=function(Fd,Md){var Ld=dd(Fd),Hd=md(Ld);return Md?kd(Hd):Hd},jd.ArrayBuffer=function(){this.reset()},jd.ArrayBuffer.prototype.append=function(Fd){var Md=Id(this._buff.buffer,Fd),Ld=Md.length,Hd;for(this._length+=Fd.byteLength,Hd=64;Hd<=Ld;Hd+=64)ld(this._hash,cd(Md.subarray(Hd-64,Hd)));return this._buff=Hd-64>2]|=Md[Gd]<<(Gd%4<<3);return this._finish(Hd,Ld),Vd=md(this._hash),Fd&&(Vd=kd(Vd)),this.reset(),Vd},jd.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},jd.ArrayBuffer.prototype.getState=function(){var Fd=jd.prototype.getState.call(this);return Fd.buff=Nd(Fd.buff),Fd},jd.ArrayBuffer.prototype.setState=function(Fd){return Fd.buff=Ad(Fd.buff,!0),jd.prototype.setState.call(this,Fd)},jd.ArrayBuffer.prototype.destroy=jd.prototype.destroy,jd.ArrayBuffer.prototype._finish=jd.prototype._finish,jd.ArrayBuffer.hash=function(Fd,Md){var Ld=pd(new Uint8Array(Fd)),Hd=md(Ld);return Md?kd(Hd):Hd},jd})})(sparkMd5);var sparkMd5Exports=sparkMd5.exports;const SparkMD5=getDefaultExportFromCjs(sparkMd5Exports);var __assign$5=function(){return __assign$5=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]Ra.size)nd=Ra.size;else for(;Ra.size>nd*1e4;)nd*=2;for(var od=[],ld=Math.ceil(Ra.size/nd),ud=0;ud3?qa[1]:qa[0];if(!nd)throw new QiniuError(QiniuErrorName.InvalidToken,"missing assess key field.");var od=null;try{od=JSON.parse(urlSafeBase64Decode(qa[qa.length-1]))}catch{throw new QiniuError(QiniuErrorName.InvalidToken,"token parse failed.")}if(od==null)throw new QiniuError(QiniuErrorName.InvalidToken,"putPolicy is null.");if(od.scope==null)throw new QiniuError(QiniuErrorName.InvalidToken,"scope field is null.");var ld=od.scope.split(":")[0];if(!ld)throw new QiniuError(QiniuErrorName.InvalidToken,"resolve bucketName failed.");return{assessKey:nd,bucketName:ld,scope:od.scope}}function createObjectURL(Ra){var qa=window.URL||window.webkitURL||window.mozURL;return qa.createObjectURL(Ra)}var _a,region={z0:"z0",z1:"z1",z2:"z2",na0:"na0",as0:"as0",cnEast2:"cn-east-2"},regionUphostMap=(_a={},_a[region.z0]={srcUphost:["up.qiniup.com"],cdnUphost:["upload.qiniup.com"]},_a[region.z1]={srcUphost:["up-z1.qiniup.com"],cdnUphost:["upload-z1.qiniup.com"]},_a[region.z2]={srcUphost:["up-z2.qiniup.com"],cdnUphost:["upload-z2.qiniup.com"]},_a[region.na0]={srcUphost:["up-na0.qiniup.com"],cdnUphost:["upload-na0.qiniup.com"]},_a[region.as0]={srcUphost:["up-as0.qiniup.com"],cdnUphost:["upload-as0.qiniup.com"]},_a[region.cnEast2]={srcUphost:["up-cn-east-2.qiniup.com"],cdnUphost:["upload-cn-east-2.qiniup.com"]},_a),stringifyPrimitive=function(Ra){switch(typeof Ra){case"string":return Ra;case"boolean":return Ra?"true":"false";case"number":return isFinite(Ra)?Ra:"";default:return""}},encode=function(Ra,qa,nd,od){return qa=qa||"&",nd=nd||"=",Ra===null&&(Ra=void 0),typeof Ra=="object"?Object.keys(Ra).map(function(ld){var ud=encodeURIComponent(stringifyPrimitive(ld))+nd;return Array.isArray(Ra[ld])?Ra[ld].map(function(cd){return ud+encodeURIComponent(stringifyPrimitive(cd))}).join(qa):ud+encodeURIComponent(stringifyPrimitive(Ra[ld]))}).filter(Boolean).join(qa):od?encodeURIComponent(stringifyPrimitive(od))+nd+encodeURIComponent(stringifyPrimitive(Ra)):""},stringify;stringify=encode;var __assign$4=function(){return __assign$4=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]0?[2,od+"://"+nd.uphost[0]]:(ld=getPutPolicy(qa),[4,getUpHosts(ld.assessKey,ld.bucketName,od)]);case 1:return ud=dd.sent(),cd=ud.data.up.acc.main,[2,od+"://"+cd[0]]}})})}var __assign$3=function(){return __assign$3=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(dd){cd={error:dd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(cd)throw cd.error}}return ud},__spread$3=function(){for(var Ra=[],qa=0;qa1e4*GB)return this.handleError(new QiniuError(QiniuErrorName.InvalidFile,"file size exceed maximum value 10000G")),[2];if(this.putExtra.customVars&&!isCustomVarsValid(this.putExtra.customVars))return this.handleError(new QiniuError(QiniuErrorName.InvalidCustomVars,"customVars key should start width x:")),[2];if(this.putExtra.metadata&&!isMetaDataValid(this.putExtra.metadata))return this.handleError(new QiniuError(QiniuErrorName.InvalidMetadata,"metadata key should start with x-qn-meta-")),[2];ud.label=1;case 1:return ud.trys.push([1,4,,5]),this.uploadAt=new Date().getTime(),[4,this.checkAndUpdateUploadHost()];case 2:return ud.sent(),[4,this.run()];case 3:return qa=ud.sent(),this.onComplete(qa.data),this.checkAndUnfreezeHost(),this.sendLog(qa.reqId,200),[2];case 4:return nd=ud.sent(),this.aborted?(this.logger.warn("upload is aborted."),this.sendLog("",-2),[2]):(this.clear(),this.logger.error(nd),nd instanceof QiniuRequestError&&(this.sendLog(nd.reqId,nd.code),this.checkAndFreezeHost(nd),od=++this.retryCount<=this.config.retryCount,ld=RETRY_CODE_LIST.includes(nd.code),ld&&od)?(this.logger.warn("error auto retry: "+this.retryCount+"/"+this.config.retryCount+"."),this.putFile(),[2]):(this.onError(nd),[3,5]));case 5:return[2]}})})},Ra.prototype.clear=function(){this.xhrList.forEach(function(qa){qa.onreadystatechange=null,qa.abort()}),this.xhrList=[],this.logger.info("cleanup uploading xhr.")},Ra.prototype.stop=function(){this.logger.info("aborted."),this.clear(),this.aborted=!0},Ra.prototype.addXhr=function(qa){this.xhrList.push(qa)},Ra.prototype.sendLog=function(qa,nd){var od,ld;this.logger.report({code:nd,reqId:qa,remoteIp:"",upType:"jssdk-h5",size:this.file.size,time:Math.floor(this.uploadAt/1e3),port:getPortFromUrl((od=this.uploadHost)===null||od===void 0?void 0:od.getUrl()),host:getDomainFromUrl((ld=this.uploadHost)===null||ld===void 0?void 0:ld.getUrl()),bytesSent:this.progress?this.progress.total.loaded:0,duration:Math.floor((new Date().getTime()-this.uploadAt)/1e3)})},Ra.prototype.getProgressInfoItem=function(qa,nd,od){return __assign$3({size:nd,loaded:qa,percent:qa/nd*100},od==null?{}:{fromCache:od})},Ra}(),__extends$1=function(){var Ra=function(qa,nd){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(od,ld){od.__proto__=ld}||function(od,ld){for(var ud in ld)ld.hasOwnProperty(ud)&&(od[ud]=ld[ud])},Ra(qa,nd)};return function(qa,nd){Ra(qa,nd);function od(){this.constructor=qa}qa.prototype=nd===null?Object.create(nd):(od.prototype=nd.prototype,new od)}}(),__assign$2=function(){return __assign$2=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]1024)throw new QiniuError(QiniuErrorName.InvalidChunkSize,"chunkSize maximum value is 1024");return[4,this.initBeforeUploadChunks()];case 1:pd.sent(),nd=new Pool(function(fd){return __awaiter$4(dd,void 0,void 0,function(){return __generator$4(this,function(md){switch(md.label){case 0:if(this.aborted)throw nd.abort(),new Error("pool is aborted");return[4,this.uploadChunk(fd)];case 1:return md.sent(),[2]}})})},this.config.concurrentRequestLimit),od=null,ld=this.getLocalKey(),ud=this.chunks.map(function(fd,md){return nd.enqueue({chunk:fd,index:md})}),pd.label=2;case 2:return pd.trys.push([2,5,,6]),[4,Promise.all(ud)];case 3:return pd.sent(),[4,this.mkFileReq()];case 4:return od=pd.sent(),[3,6];case 5:throw cd=pd.sent(),cd instanceof QiniuRequestError&&(cd.code===612||cd.code===400)&&removeLocalFileInfo(ld,this.logger),cd;case 6:return removeLocalFileInfo(ld,this.logger),[2,od]}})})},qa.prototype.uploadChunk=function(nd){return __awaiter$4(this,void 0,void 0,function(){var od,ld,ud,cd,dd,pd,fd,md,vd,Ad=this;return __generator$4(this,function(Nd){switch(Nd.label){case 0:return od=nd.index,ld=nd.chunk,ud=this.cachedUploadedList[od],this.logger.info("upload part "+od+", cache:",ud),cd=this.config.checkByMD5,dd=function(){Ad.usedCacheList[od]=!0,Ad.updateChunkProgress(ld.size,od),Ad.uploadedList[od]=ud,Ad.updateLocalCache()},ud&&!cd?(dd(),[2]):[4,computeMd5(ld)];case 1:return pd=Nd.sent(),this.logger.info("computed part md5.",pd),ud&&pd===ud.md5?(dd(),[2]):(this.usedCacheList[od]=!1,fd=function(Id){Ad.updateChunkProgress(Id.loaded,od)},md={body:ld,md5:this.config.checkByServer?pd:void 0,onProgress:fd,onCreate:function(Id){return Ad.addXhr(Id)}},this.logger.info("part "+od+" start uploading."),[4,uploadChunk(this.token,this.key,nd.index+1,this.getUploadInfo(),md)]);case 2:return vd=Nd.sent(),this.logger.info("part "+od+" upload completed."),fd({loaded:ld.size,total:ld.size}),this.uploadedList[od]={etag:vd.data.etag,md5:vd.data.md5,size:ld.size},this.updateLocalCache(),[2]}})})},qa.prototype.mkFileReq=function(){return __awaiter$4(this,void 0,void 0,function(){var nd,od,ld=this;return __generator$4(this,function(ud){switch(ud.label){case 0:return nd=__assign$2(__assign$2(__assign$2({parts:this.uploadedList.map(function(cd,dd){return{etag:cd.etag,partNumber:dd+1}}),fname:this.putExtra.fname},this.putExtra.mimeType&&{mimeType:this.putExtra.mimeType}),this.putExtra.customVars&&{customVars:this.putExtra.customVars}),this.putExtra.metadata&&{metadata:this.putExtra.metadata}),this.logger.info("parts upload completed, make file.",nd),[4,uploadComplete(this.token,this.key,this.getUploadInfo(),{onCreate:function(cd){return ld.addXhr(cd)},body:JSON.stringify(nd)})];case 1:return od=ud.sent(),this.logger.info("finish Resume Progress."),this.updateMkFileProgress(1),[2,od]}})})},qa.prototype.initBeforeUploadChunks=function(){return __awaiter$4(this,void 0,void 0,function(){var nd,od,ld;return __generator$4(this,function(ud){switch(ud.label){case 0:return this.uploadedList=[],this.usedCacheList=[],nd=getLocalFileInfo(this.getLocalKey(),this.logger),nd?[3,2]:(this.logger.info("init upload parts from api."),[4,initUploadParts(this.token,this.bucketName,this.key,this.uploadHost.getUrl())]);case 1:return od=ud.sent(),this.logger.info("initd upload parts of id: "+od.data.uploadId+"."),this.uploadId=od.data.uploadId,this.cachedUploadedList=[],[3,3];case 2:ld=["resume upload parts from local cache,","total "+nd.data.length+" part,","id is "+nd.id+"."],this.logger.info(ld.join(" ")),this.cachedUploadedList=nd.data,this.uploadId=nd.id,ud.label=3;case 3:return this.chunks=getChunks(this.file,this.config.chunkSize),this.loaded={mkFileProgress:0,chunks:this.chunks.map(function(cd){return 0})},this.notifyResumeProgress(),[2]}})})},qa.prototype.getUploadInfo=function(){return{id:this.uploadId,url:this.uploadHost.getUrl()}},qa.prototype.getLocalKey=function(){return createLocalKey(this.file.name,this.key,this.file.size)},qa.prototype.updateLocalCache=function(){setLocalFileInfo(this.getLocalKey(),{id:this.uploadId,data:this.uploadedList},this.logger)},qa.prototype.updateChunkProgress=function(nd,od){this.loaded.chunks[od]=nd,this.notifyResumeProgress()},qa.prototype.updateMkFileProgress=function(nd){this.loaded.mkFileProgress=nd,this.notifyResumeProgress()},qa.prototype.notifyResumeProgress=function(){var nd=this;this.progress={total:this.getProgressInfoItem(sum(this.loaded.chunks)+this.loaded.mkFileProgress,this.file.size+1),chunks:this.chunks.map(function(od,ld){var ud=nd.usedCacheList[ld];return nd.getProgressInfoItem(nd.loaded.chunks[ld],od.size,ud)}),uploadInfo:{id:this.uploadId,url:this.uploadHost.getUrl()}},this.onData(this.progress)},qa}(Base),__awaiter$3=function(Ra,qa,nd,od){function ld(ud){return ud instanceof nd?ud:new nd(function(cd){cd(ud)})}return new(nd||(nd=Promise))(function(ud,cd){function dd(md){try{fd(od.next(md))}catch(vd){cd(vd)}}function pd(md){try{fd(od.throw(md))}catch(vd){cd(vd)}}function fd(md){md.done?ud(md.value):ld(md.value).then(dd,pd)}fd((od=od.apply(Ra,qa||[])).next())})},__generator$3=function(Ra,qa){var nd={label:0,sent:function(){if(ud[0]&1)throw ud[1];return ud[1]},trys:[],ops:[]},od,ld,ud,cd;return cd={next:dd(0),throw:dd(1),return:dd(2)},typeof Symbol=="function"&&(cd[Symbol.iterator]=function(){return this}),cd;function dd(fd){return function(md){return pd([fd,md])}}function pd(fd){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=fd[0]&2?ld.return:fd[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,fd[1])).done)return ud;switch(ld=0,ud&&(fd=[fd[0]&2,ud.value]),fd[0]){case 0:case 1:ud=fd;break;case 4:return nd.label++,{value:fd[1],done:!1};case 5:nd.label++,ld=fd[1],fd=[0];continue;case 7:fd=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]>>1^3988292384:od>>>=1;qa[nd]=od}return qa},Ra.prototype.append=function(qa){for(var nd=this.crc,od=0;od>>8^this.table[(nd^qa[od])&255];this.crc=nd},Ra.prototype.compute=function(){return(this.crc^-1)>>>0},Ra.prototype.readAsUint8Array=function(qa){return __awaiter$3(this,void 0,void 0,function(){var nd;return __generator$3(this,function(od){switch(od.label){case 0:return typeof qa.arrayBuffer!="function"?[3,2]:(nd=Uint8Array.bind,[4,qa.arrayBuffer()]);case 1:return[2,new(nd.apply(Uint8Array,[void 0,od.sent()]))];case 2:return[2,new Promise(function(ld,ud){var cd=new FileReader;cd.onload=function(){if(cd.result==null){ud();return}if(typeof cd.result=="string"){ud();return}ld(new Uint8Array(cd.result))},cd.readAsArrayBuffer(qa)})]}})})},Ra.prototype.file=function(qa){return __awaiter$3(this,void 0,void 0,function(){var nd,od,ld,ud,cd,dd;return __generator$3(this,function(pd){switch(pd.label){case 0:return qa.size<=MB?(nd=this.append,[4,this.readAsUint8Array(qa)]):[3,2];case 1:return nd.apply(this,[pd.sent()]),[2,this.compute()];case 2:od=Math.ceil(qa.size/MB),ld=0,pd.label=3;case 3:return ld0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]0&&reportV3(Ra,qa,nd-1)};var ld=[qa.code||"",qa.reqId||"",qa.host||"",qa.remoteIp||"",qa.port||"",qa.duration||"",qa.time||"",qa.bytesSent||"",qa.upType||"",qa.size||""].join(",");od.send(ld)}var __read$2=function(Ra,qa){var nd=typeof Symbol=="function"&&Ra[Symbol.iterator];if(!nd)return Ra;var od=nd.call(Ra),ld,ud=[],cd;try{for(;(qa===void 0||qa-- >0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(dd){cd={error:dd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(cd)throw cd.error}}return ud},__spread$2=function(){for(var Ra=[],qa=0;qa0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(dd){cd={error:dd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(cd)throw cd.error}}return ud},__spread$1=function(){for(var Ra=[],qa=0;qa=qa},Ra.prototype.freeze=function(qa){qa===void 0&&(qa=20);var nd=new Date().getTime()+qa*1e3;unfreezeTimeMap.set(this.host,nd)},Ra.prototype.unfreeze=function(){unfreezeTimeMap.delete(this.host)},Ra.prototype.getUrl=function(){return this.protocol+"://"+this.host},Ra.prototype.getUnfreezeTime=function(){return unfreezeTimeMap.get(this.host)},Ra}(),HostPool=function(){function Ra(qa){qa===void 0&&(qa=[]),this.initHosts=qa,this.cachedHostsMap=new Map}return Ra.prototype.register=function(qa,nd,od,ld){this.cachedHostsMap.set(qa+"@"+nd,od.map(function(ud){return new Host(ud,ld)}))},Ra.prototype.refresh=function(qa,nd,od){var ld,ud,cd,dd;return __awaiter$1(this,void 0,void 0,function(){var pd,fd,md;return __generator$1(this,function(vd){switch(vd.label){case 0:return pd=this.cachedHostsMap.get(qa+"@"+nd)||[],pd.length>0?[2]:this.initHosts.length>0?(this.register(qa,nd,this.initHosts,od),[2]):[4,getUpHosts(qa,nd,od)];case 1:return fd=vd.sent(),(fd==null?void 0:fd.data)!=null&&(md=__spread$1(((ud=(ld=fd.data.up)===null||ld===void 0?void 0:ld.acc)===null||ud===void 0?void 0:ud.main)||[],((dd=(cd=fd.data.up)===null||cd===void 0?void 0:cd.acc)===null||dd===void 0?void 0:dd.backup)||[]),this.register(qa,nd,md,od)),[2]}})})},Ra.prototype.getUp=function(qa,nd,od){return __awaiter$1(this,void 0,void 0,function(){var ld,ud,cd;return __generator$1(this,function(dd){switch(dd.label){case 0:return[4,this.refresh(qa,nd,od)];case 1:return dd.sent(),ld=this.cachedHostsMap.get(qa+"@"+nd)||[],ld.length===0?[2,null]:(ud=ld.filter(function(pd){return!pd.isFrozen()}),ud.length>0?[2,ud[0]]:(cd=ld.slice().sort(function(pd,fd){return(pd.getUnfreezeTime()||0)-(fd.getUnfreezeTime()||0)}),[2,cd[0]]))}})})},Ra}();function createUploadManager(Ra,qa,nd,od){return Ra.config&&Ra.config.forceDirect?(od.info("ues forceDirect mode."),new Direct(Ra,qa,nd,od)):Ra.file.size>4*MB?(od.info("file size over 4M, use Resume."),new Resume(Ra,qa,nd,od)):(od.info("file size less or equal than 4M, use Direct."),new Direct(Ra,qa,nd,od))}function upload(Ra,qa,nd,od,ld){var ud=new Logger(nd,ld==null?void 0:ld.disableStatisticsReport,ld==null?void 0:ld.debugLogLevel,Ra.name),cd={file:Ra,key:qa,token:nd,putExtra:od,config:normalizeUploadConfig(ld,ud)},dd=new HostPool(cd.config.uphost);return new Observable(function(pd){var fd=createUploadManager(cd,{onData:function(md){return pd.next(md)},onError:function(md){return pd.error(md)},onComplete:function(md){return pd.complete(md)}},dd,ud);return fd.putFile(),fd.stop.bind(fd)})}var __assign$1=function(){return __assign$1=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(dd){cd={error:dd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(cd)throw cd.error}}return ud},__spread=function(){for(var Ra=[],qa=0;qa0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]this.file.size&&this.config.noCompressIfLarger?[2,{dist:this.file,width:qa.width,height:qa.height}]:[2,{dist:cd,width:ud.width,height:ud.height}]}})})},Ra.prototype.clear=function(qa,nd,od){this.outputType===defaultType?(qa.fillStyle="#fff",qa.fillRect(0,0,nd,od)):qa.clearRect(0,0,nd,od)},Ra.prototype.getOriginImage=function(){var qa=this;return new Promise(function(nd,od){var ld=createObjectURL(qa.file),ud=new Image;ud.onload=function(){nd(ud)},ud.onerror=function(){od("image load error")},ud.src=ld})},Ra.prototype.getCanvas=function(qa){var nd=this;return new Promise(function(od,ld){var ud=document.createElement("canvas"),cd=ud.getContext("2d");if(!cd){ld(new QiniuError(QiniuErrorName.GetCanvasContextFailed,"context is null"));return}var dd=qa.width,pd=qa.height;ud.height=pd,ud.width=dd,nd.clear(cd,dd,pd),cd.drawImage(qa,0,0),od(ud)})},Ra.prototype.doScale=function(qa,nd){return __awaiter(this,void 0,void 0,function(){var od,ld,ud,cd,dd,pd,fd,md,vd,Ad,Nd,Id,kd,jd,Fd,Md;return __generator(this,function(Ld){if(nd===1)return[2,qa];if(od=qa.getContext("2d"),ld=Math.min(maxSteps,Math.ceil(1/nd/scaleFactor)),ud=Math.pow(nd,1/ld),cd=document.createElement("canvas"),dd=cd.getContext("2d"),pd=qa.width,fd=qa.height,md=pd,vd=fd,cd.width=pd,cd.height=fd,!dd||!od)throw new QiniuError(QiniuErrorName.GetCanvasContextFailed,"mctx or sctx can't be null");for(Id=0;Id{if(!isNumber(cd))throw new TypeError('statusCode should be of type "number"')}),!isString(ld))throw new TypeError('region should be of type "string"');qa.headers||(qa.headers={}),(qa.method==="POST"||qa.method==="PUT"||qa.method==="DELETE")&&(qa.headers["content-length"]=nd.length.toString());const ud=this.enableSHA256?toSha256(nd):"";return this.makeRequestStreamAsync(qa,nd,ud,od,ld)}async makeRequestAsyncOmit(qa,nd="",od=[200],ld=""){const ud=await this.makeRequestAsync(qa,nd,od,ld);return await drainResponse(ud),ud}async makeRequestStreamAsync(qa,nd,od,ld,ud){if(!isObject(qa))throw new TypeError('options should be of type "object"');if(!(Buffer$4.isBuffer(nd)||typeof nd=="string"||isReadableStream(nd)))throw new InvalidArgumentError(`stream should be a Buffer, string or readable Stream, got ${typeof nd} instead`);if(!isString(od))throw new TypeError('sha256sum should be of type "string"');if(ld.forEach(pd=>{if(!isNumber(pd))throw new TypeError('statusCode should be of type "number"')}),!isString(ud))throw new TypeError('region should be of type "string"');if(!this.enableSHA256&&od.length!==0)throw new InvalidArgumentError("sha256sum expected to be empty for anonymous or https requests");if(this.enableSHA256&&od.length!==64)throw new InvalidArgumentError(`Invalid sha256sum : ${od}`);await this.checkAndRefreshCreds(),ud=ud||await this.getBucketRegionAsync(qa.bucketName);const cd=this.getRequestOptions({...qa,region:ud});if(!this.anonymous){this.enableSHA256||(od="UNSIGNED-PAYLOAD");const pd=new Date;cd.headers["x-amz-date"]=makeDateLong(pd),cd.headers["x-amz-content-sha256"]=od,this.sessionToken&&(cd.headers["x-amz-security-token"]=this.sessionToken),cd.headers.authorization=signV4(cd,this.accessKey,this.secretKey,ud,pd,od)}const dd=await request$1(this.transport,cd,nd);if(!dd.statusCode)throw new Error("BUG: response doesn't have a statusCode");if(!ld.includes(dd.statusCode)){delete this.regionMap[qa.bucketName];const pd=await parseResponseError(dd);throw this.logHTTP(cd,dd,pd),pd}return this.logHTTP(cd,dd),dd}async getBucketRegionAsync(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name : ${qa}`);if(this.region)return this.region;const nd=this.regionMap[qa];if(nd)return nd;const od=async fd=>{const md=await readAsString(fd),vd=parseBucketRegion(md)||DEFAULT_REGION;return this.regionMap[qa]=vd,vd},ld="GET",ud="location",cd=this.pathStyle&&!isBrowser_1;let dd;try{const fd=await this.makeRequestAsync({method:ld,bucketName:qa,query:ud,pathStyle:cd},"",[200],DEFAULT_REGION);return od(fd)}catch(fd){if(fd.name!=="AuthorizationHeaderMalformed"||(dd=fd.Region,!dd))throw fd}const pd=await this.makeRequestAsync({method:ld,bucketName:qa,query:ud,pathStyle:cd},"",[200],dd);return await od(pd)}makeRequest(qa,nd="",od=[200],ld="",ud,cd){let dd;ud?dd=this.makeRequestAsync(qa,nd,od,ld):dd=this.makeRequestAsyncOmit(qa,nd,od,ld),dd.then(pd=>cd(null,pd),pd=>{cd(pd)})}makeRequestStream(qa,nd,od,ld,ud,cd,dd){(async()=>{const fd=await this.makeRequestStreamAsync(qa,nd,od,ld,ud);return cd||await drainResponse(fd),fd})().then(fd=>dd(null,fd),fd=>dd(fd))}getBucketRegion(qa,nd){return this.getBucketRegionAsync(qa).then(od=>nd(null,od),od=>nd(od))}async removeBucket(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);await this.makeRequestAsyncOmit({method:"DELETE",bucketName:qa},"",[204]),delete this.regionMap[qa]}async statObject(qa,nd,od={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isObject(od))throw new InvalidArgumentError('statOpts should be of type "object"');const ld=queryString.stringify(od),cd=await this.makeRequestAsyncOmit({method:"HEAD",bucketName:qa,objectName:nd,query:ld});return{size:parseInt(cd.headers["content-length"]),metaData:extractMetadata(cd.headers),lastModified:new Date(cd.headers["last-modified"]),versionId:getVersionId(cd.headers),etag:sanitizeETag(cd.headers.etag)}}async removeObject(qa,nd,od={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isObject(od))throw new InvalidArgumentError('removeOpts should be of type "object"');const ld="DELETE",ud={};od.governanceBypass&&(ud["X-Amz-Bypass-Governance-Retention"]=!0),od.forceDelete&&(ud["x-minio-force-delete"]=!0);const cd={};od.versionId&&(cd.versionId=`${od.versionId}`);const dd=queryString.stringify(cd);await this.makeRequestAsyncOmit({method:ld,bucketName:qa,objectName:nd,headers:ud,query:dd},"",[200,204])}async initiateNewMultipartUpload(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isObject(od))throw new InvalidObjectNameError('contentType should be of type "object"');const cd=await this.makeRequestAsync({method:"POST",bucketName:qa,objectName:nd,query:"uploads",headers:od}),dd=await readAsBuffer(cd);return parseInitiateMultipart(dd.toString())}async abortMultipartUpload(qa,nd,od){const ld="DELETE",ud=`uploadId=${od}`,cd={method:ld,bucketName:qa,objectName:nd,query:ud};await this.makeRequestAsyncOmit(cd,"",[204])}async listParts(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('uploadId should be of type "string"');if(!od)throw new InvalidArgumentError("uploadId cannot be empty");const ld=[];let ud=0,cd;do cd=await this.listPartsQuery(qa,nd,od,ud),ud=cd.marker,ld.push(...cd.parts);while(cd.isTruncated);return ld}async listPartsQuery(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('uploadId should be of type "string"');if(!isNumber(ld))throw new TypeError('marker should be of type "number"');if(!od)throw new InvalidArgumentError("uploadId cannot be empty");let ud=`uploadId=${uriEscape(od)}`;ld&&(ud+=`&part-number-marker=${ld}`);const dd=await this.makeRequestAsync({method:"GET",bucketName:qa,objectName:nd,query:ud});return parseListParts(await readAsString(dd))}async listBuckets(){const nd=await this.makeRequestAsync({method:"GET"},"",[200],DEFAULT_REGION),od=await readAsString(nd);return parseListBucket(od)}async removeBucketReplication(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);await this.makeRequestAsyncOmit({method:"DELETE",bucketName:qa,query:"replication"},"",[200,204],"")}async setBucketReplication(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isObject(nd)){if(_.isEmpty(nd.role))throw new InvalidArgumentError("Role cannot be empty");if(nd.role&&!isString(nd.role))throw new InvalidArgumentError("Invalid value for role",nd.role);if(_.isEmpty(nd.rules))throw new InvalidArgumentError("Minimum one replication rule must be specified")}else throw new InvalidArgumentError('replicationConfig should be of type "object"');const od="PUT",ld="replication",ud={},cd={ReplicationConfiguration:{Role:nd.role,Rule:nd.rules}},pd=new xml2js.Builder({renderOpts:{pretty:!1},headless:!0}).buildObject(cd);ud["Content-MD5"]=toMd5(pd),await this.makeRequestAsyncOmit({method:od,bucketName:qa,query:ld,headers:ud},pd)}async getBucketReplication(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);const ld=await this.makeRequestAsync({method:"GET",bucketName:qa,query:"replication"},"",[200,204]),ud=await readAsString(ld);return parseReplicationConfig(ud)}}class CopyConditions{constructor(){p_(this,"modified","");p_(this,"unmodified","");p_(this,"matchETag","");p_(this,"matchETagExcept","")}setModified(qa){if(!(qa instanceof Date))throw new TypeError("date must be of type Date");this.modified=qa.toUTCString()}setUnmodified(qa){if(!(qa instanceof Date))throw new TypeError("date must be of type Date");this.unmodified=qa.toUTCString()}setMatchETag(qa){this.matchETag=qa}setMatchETagExcept(qa){this.matchETagExcept=qa}}class PostPolicy{constructor(){p_(this,"policy",{conditions:[]});p_(this,"formData",{})}setExpires(qa){if(!qa)throw new InvalidDateError("Invalid date: cannot be null");this.policy.expiration=qa.toISOString()}setKey(qa){if(!isValidObjectName(qa))throw new InvalidObjectNameError(`Invalid object name : ${qa}`);this.policy.conditions.push(["eq","$key",qa]),this.formData.key=qa}setKeyStartsWith(qa){if(!isValidPrefix(qa))throw new InvalidPrefixError(`Invalid prefix : ${qa}`);this.policy.conditions.push(["starts-with","$key",qa]),this.formData.key=qa}setBucket(qa){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name : ${qa}`);this.policy.conditions.push(["eq","$bucket",qa]),this.formData.bucket=qa}setContentType(qa){if(!qa)throw new Error("content-type cannot be null");this.policy.conditions.push(["eq","$Content-Type",qa]),this.formData["Content-Type"]=qa}setContentTypeStartsWith(qa){if(!qa)throw new Error("content-type cannot be null");this.policy.conditions.push(["starts-with","$Content-Type",qa]),this.formData["Content-Type"]=qa}setContentDisposition(qa){if(!qa)throw new Error("content-disposition cannot be null");this.policy.conditions.push(["eq","$Content-Disposition",qa]),this.formData["Content-Disposition"]=qa}setContentLengthRange(qa,nd){if(qa>nd)throw new Error("min cannot be more than max");if(qa<0)throw new Error("min should be > 0");if(nd<0)throw new Error("max should be > 0");this.policy.conditions.push(["content-length-range",qa,nd])}setUserMetaData(qa){if(!isObject(qa))throw new TypeError('metadata should be of type "object"');Object.entries(qa).forEach(([nd,od])=>{const ld=`x-amz-meta-${nd}`;this.policy.conditions.push(["eq",`$${ld}`,od]),this.formData[ld]=od.toString()})}}var jsonStream={exports:{}},util=util$5,TransformStream=streamBrowserify.Transform;jsonStream.exports=function(Ra){return new JSONStream(Ra)};var JSONStream=jsonStream.exports.JSONStream=function(Ra){Ra=Ra||{},TransformStream.call(this,Ra),this._writableState.objectMode=!1,this._readableState.objectMode=!0,this._async=Ra.async||!1};util.inherits(JSONStream,TransformStream);JSONStream.prototype._transform=function(Ra,qa,nd){Buffer$4.isBuffer(Ra)||(Ra=new Buffer$4(Ra)),this._buffer&&(Ra=Buffer$4.concat([this._buffer,Ra]));for(var od=0,ld=0;++od<=Ra.length;)if(Ra[od]===10||od===Ra.length){var ud;try{ud=JSON.parse(Ra.slice(ld,od))}catch{}ud&&(this.push(ud),ud=null),Ra[od]===10&&(ld=++od)}return this._buffer=Ra.slice(ld),this._async?void setImmediate(nd):void nd()};var jsonStreamExports=jsonStream.exports;const JSONParser=getDefaultExportFromCjs(jsonStreamExports);var through2$1={exports:{}};const{Transform}=readableBrowserExports;function inherits(Ra,qa){Ra.super_=qa,Ra.prototype=Object.create(qa.prototype,{constructor:{value:Ra,enumerable:!1,writable:!0,configurable:!0}})}function through2(Ra){return(qa,nd,od)=>(typeof qa=="function"&&(od=nd,nd=qa,qa={}),typeof nd!="function"&&(nd=(ld,ud,cd)=>cd(null,ld)),typeof od!="function"&&(od=null),Ra(qa,nd,od))}const make=through2((Ra,qa,nd)=>{const od=new Transform(Ra);return od._transform=qa,nd&&(od._flush=nd),od}),ctor=through2((Ra,qa,nd)=>{function od(ld){if(!(this instanceof od))return new od(ld);this.options=Object.assign({},Ra,ld),Transform.call(this,this.options),this._transform=qa,nd&&(this._flush=nd)}return inherits(od,Transform),od}),obj=through2(function(Ra,qa,nd){const od=new Transform(Object.assign({objectMode:!0,highWaterMark:16},Ra));return od._transform=qa,nd&&(od._flush=nd),od});through2$1.exports=make;through2$1.exports.ctor=ctor;through2$1.exports.obj=obj;var through2Exports=through2$1.exports;const Through2=getDefaultExportFromCjs(through2Exports);var Buffer=buffer.Buffer,CRC_TABLE=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];typeof Int32Array<"u"&&(CRC_TABLE=new Int32Array(CRC_TABLE));function ensureBuffer(Ra){if(Buffer.isBuffer(Ra))return Ra;var qa=typeof Buffer.alloc=="function"&&typeof Buffer.from=="function";if(typeof Ra=="number")return qa?Buffer.alloc(Ra):new Buffer(Ra);if(typeof Ra=="string")return qa?Buffer.from(Ra):new Buffer(Ra);throw new Error("input must be buffer, number, or string, received "+typeof Ra)}function bufferizeInt(Ra){var qa=ensureBuffer(4);return qa.writeInt32BE(Ra,0),qa}function _crc32(Ra,qa){Ra=ensureBuffer(Ra),Buffer.isBuffer(qa)&&(qa=qa.readUInt32BE(0));for(var nd=~~qa^-1,od=0;od>>8;return nd^-1}function crc32(){return bufferizeInt(_crc32.apply(null,arguments))}crc32.signed=function(){return _crc32.apply(null,arguments)};crc32.unsigned=function(){return _crc32.apply(null,arguments)>>>0};var bufferCrc32=crc32;const crc32$1=getDefaultExportFromCjs(bufferCrc32),fxpWithoutNumParser=new fxp$2.XMLParser({numberParseOptions:{skipLike:/./}});function parseCopyObject(Ra){var qa={etag:"",lastModified:""},nd=parseXml(Ra);if(!nd.CopyObjectResult)throw new InvalidXMLError('Missing tag: "CopyObjectResult"');return nd=nd.CopyObjectResult,nd.ETag&&(qa.etag=nd.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"")),nd.LastModified&&(qa.lastModified=new Date(nd.LastModified)),qa}function parseListMultipart(Ra){var qa={uploads:[],prefixes:[],isTruncated:!1},nd=parseXml(Ra);if(!nd.ListMultipartUploadsResult)throw new InvalidXMLError('Missing tag: "ListMultipartUploadsResult"');return nd=nd.ListMultipartUploadsResult,nd.IsTruncated&&(qa.isTruncated=nd.IsTruncated),nd.NextKeyMarker&&(qa.nextKeyMarker=nd.NextKeyMarker),nd.NextUploadIdMarker&&(qa.nextUploadIdMarker=nd.nextUploadIdMarker||""),nd.CommonPrefixes&&toArray(nd.CommonPrefixes).forEach(od=>{qa.prefixes.push({prefix:sanitizeObjectKey(toArray(od.Prefix)[0])})}),nd.Upload&&toArray(nd.Upload).forEach(od=>{var ld=od.Key,ud=od.UploadId,cd={id:od.Initiator.ID,displayName:od.Initiator.DisplayName},dd={id:od.Owner.ID,displayName:od.Owner.DisplayName},pd=od.StorageClass,fd=new Date(od.Initiated);qa.uploads.push({key:ld,uploadId:ud,initiator:cd,owner:dd,storageClass:pd,initiated:fd})}),qa}function parseBucketNotification(Ra){var qa={TopicConfiguration:[],QueueConfiguration:[],CloudFunctionConfiguration:[]},nd=function(ud){var cd=[];return ud&&toArray(ud).forEach(dd=>{cd.push(dd)}),cd},od=function(ud){var cd=[];return ud&&(ud=toArray(ud),ud[0].S3Key&&(ud[0].S3Key=toArray(ud[0].S3Key),ud[0].S3Key[0].FilterRule&&toArray(ud[0].S3Key[0].FilterRule).forEach(dd=>{var pd=toArray(dd.Name)[0],fd=toArray(dd.Value)[0];cd.push({Name:pd,Value:fd})}))),cd},ld=parseXml(Ra);return ld=ld.NotificationConfiguration,ld.TopicConfiguration&&toArray(ld.TopicConfiguration).forEach(ud=>{var cd=toArray(ud.Id)[0],dd=toArray(ud.Topic)[0],pd=nd(ud.Event),fd=od(ud.Filter);qa.TopicConfiguration.push({Id:cd,Topic:dd,Event:pd,Filter:fd})}),ld.QueueConfiguration&&toArray(ld.QueueConfiguration).forEach(ud=>{var cd=toArray(ud.Id)[0],dd=toArray(ud.Queue)[0],pd=nd(ud.Event),fd=od(ud.Filter);qa.QueueConfiguration.push({Id:cd,Queue:dd,Event:pd,Filter:fd})}),ld.CloudFunctionConfiguration&&toArray(ld.CloudFunctionConfiguration).forEach(ud=>{var cd=toArray(ud.Id)[0],dd=toArray(ud.CloudFunction)[0],pd=nd(ud.Event),fd=od(ud.Filter);qa.CloudFunctionConfiguration.push({Id:cd,CloudFunction:dd,Event:pd,Filter:fd})}),qa}function parseCompleteMultipart(Ra){var qa=parseXml(Ra).CompleteMultipartUploadResult;if(qa.Location){var nd=toArray(qa.Location)[0],od=toArray(qa.Bucket)[0],ld=qa.Key,ud=qa.ETag.replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"").replace(/^"/g,"").replace(/"$/g,"");return{location:nd,bucket:od,key:ld,etag:ud}}if(qa.Code&&qa.Message){var cd=toArray(qa.Code)[0],dd=toArray(qa.Message)[0];return{errCode:cd,errMessage:dd}}}const formatObjInfo=(Ra,qa={})=>{let{Key:nd,LastModified:od,ETag:ld,Size:ud,VersionId:cd,IsLatest:dd}=Ra;isObject(qa)||(qa={});const pd=sanitizeObjectKey(toArray(nd)[0]),fd=new Date(toArray(od)[0]),md=sanitizeETag(toArray(ld)[0]),vd=sanitizeSize(ud);return{name:pd,lastModified:fd,etag:md,size:vd,versionId:cd,isLatest:dd,isDeleteMarker:qa.IsDeleteMarker?qa.IsDeleteMarker:!1}};function parseListObjects(Ra){var qa={objects:[],isTruncated:!1};let nd=!1,od,ld;const ud=fxpWithoutNumParser.parse(Ra),cd=fd=>{fd&&toArray(fd).forEach(md=>{qa.objects.push({prefix:sanitizeObjectKey(toArray(md.Prefix)[0]),size:0})})},dd=ud.ListBucketResult,pd=ud.ListVersionsResult;return dd&&(dd.IsTruncated&&(nd=dd.IsTruncated),dd.Contents&&toArray(dd.Contents).forEach(fd=>{const md=sanitizeObjectKey(toArray(fd.Key)[0]),vd=new Date(toArray(fd.LastModified)[0]),Ad=sanitizeETag(toArray(fd.ETag)[0]),Nd=sanitizeSize(fd.Size);qa.objects.push({name:md,lastModified:vd,etag:Ad,size:Nd})}),dd.NextMarker&&(od=dd.NextMarker),cd(dd.CommonPrefixes)),pd&&(pd.IsTruncated&&(nd=pd.IsTruncated),pd.Version&&toArray(pd.Version).forEach(fd=>{qa.objects.push(formatObjInfo(fd))}),pd.DeleteMarker&&toArray(pd.DeleteMarker).forEach(fd=>{qa.objects.push(formatObjInfo(fd,{IsDeleteMarker:!0}))}),pd.NextKeyMarker&&(ld=pd.NextKeyMarker),pd.NextVersionIdMarker&&(qa.versionIdMarker=pd.NextVersionIdMarker),cd(pd.CommonPrefixes)),qa.isTruncated=nd,nd&&(qa.nextMarker=ld||od),qa}function parseListObjectsV2(Ra){var qa={objects:[],isTruncated:!1},nd=parseXml(Ra);if(!nd.ListBucketResult)throw new InvalidXMLError('Missing tag: "ListBucketResult"');return nd=nd.ListBucketResult,nd.IsTruncated&&(qa.isTruncated=nd.IsTruncated),nd.NextContinuationToken&&(qa.nextContinuationToken=nd.NextContinuationToken),nd.Contents&&toArray(nd.Contents).forEach(od=>{var ld=sanitizeObjectKey(toArray(od.Key)[0]),ud=new Date(od.LastModified),cd=sanitizeETag(od.ETag),dd=od.Size;qa.objects.push({name:ld,lastModified:ud,etag:cd,size:dd})}),nd.CommonPrefixes&&toArray(nd.CommonPrefixes).forEach(od=>{qa.objects.push({prefix:sanitizeObjectKey(toArray(od.Prefix)[0]),size:0})}),qa}function parseBucketVersioningConfig(Ra){var qa=parseXml(Ra);return qa.VersioningConfiguration}function parseTagging(Ra){const qa=parseXml(Ra);let nd=[];if(qa.Tagging&&qa.Tagging.TagSet&&qa.Tagging.TagSet.Tag){const od=qa.Tagging.TagSet.Tag;isObject(od)?nd.push(od):nd=od}return nd}function parseLifecycleConfig(Ra){return parseXml(Ra).LifecycleConfiguration}function parseObjectLockConfig(Ra){const qa=parseXml(Ra);let nd={};if(qa.ObjectLockConfiguration){nd={objectLockEnabled:qa.ObjectLockConfiguration.ObjectLockEnabled};let od;if(qa.ObjectLockConfiguration&&qa.ObjectLockConfiguration.Rule&&qa.ObjectLockConfiguration.Rule.DefaultRetention&&(od=qa.ObjectLockConfiguration.Rule.DefaultRetention||{},nd.mode=od.Mode),od){const ld=od.Years;ld?(nd.validity=ld,nd.unit=RETENTION_VALIDITY_UNITS.YEARS):(nd.validity=od.Days,nd.unit=RETENTION_VALIDITY_UNITS.DAYS)}return nd}}function parseObjectRetentionConfig(Ra){const nd=parseXml(Ra).Retention;return{mode:nd.Mode,retainUntilDate:nd.RetainUntilDate}}function parseBucketEncryptionConfig(Ra){return parseXml(Ra)}function parseObjectLegalHoldConfig(Ra){return parseXml(Ra).LegalHold}function uploadPartParser(Ra){return parseXml(Ra).CopyPartResult}function removeObjectsParser(Ra){const qa=parseXml(Ra);return qa.DeleteResult&&qa.DeleteResult.Error?toArray(qa.DeleteResult.Error):[]}function parseSelectObjectContentResponse(Ra){function qa(ud){const cd=Buffer$4.from(ud.read(1)).readUInt8(),pd=(Buffer$4.from(ud.read(cd)).toString()||"").split(":");return pd.length>=1?pd[1]:""}function nd(ud){const cd=Buffer$4.from(ud.read(2)).readUInt16BE();return Buffer$4.from(ud.read(cd)).toString()}const od=new SelectResults({}),ld=readableStream(Ra);for(;ld._readableState.length;){let ud;const cd=Buffer$4.from(ld.read(4));ud=crc32$1(cd);const dd=Buffer$4.from(ld.read(4));ud=crc32$1(dd,ud);const pd=ud.readInt32BE(),fd=Buffer$4.from(ld.read(4));ud=crc32$1(fd,ud);const md=cd.readInt32BE(),vd=dd.readInt32BE(),Ad=fd.readInt32BE();if(Ad!==pd)throw new Error(`Header Checksum Mismatch, Prelude CRC of ${Ad} does not equal expected CRC of ${pd}`);const Nd={};if(vd>0){const Fd=Buffer$4.from(ld.read(vd));ud=crc32$1(Fd,ud);const Md=readableStream(Fd);for(;Md._readableState.length;){let Ld=qa(Md);Md.read(1),Nd[Ld]=nd(Md)}}let Id;const kd=md-vd-16;if(kd>0){const Fd=Buffer$4.from(ld.read(kd));ud=crc32$1(Fd,ud);const Md=Buffer$4.from(ld.read(4)).readInt32BE(),Ld=ud.readInt32BE();if(Md!==Ld)throw new Error(`Message Checksum Mismatch, Message CRC of ${Md} does not equal expected CRC of ${Ld}`);Id=readableStream(Fd)}const jd=Nd["message-type"];switch(jd){case"error":{const Fd=Nd["error-code"]+':"'+Nd["error-message"]+'"';throw new Error(Fd)}case"event":{const Fd=Nd["content-type"];switch(Nd["event-type"]){case"End":return od.setResponse(Ra),od;case"Records":{const Ld=Id.read(kd);od.setRecords(Ld);break}case"Progress":switch(Fd){case"text/xml":{const Ld=Id.read(kd);od.setProgress(Ld.toString());break}default:{const Ld=`Unexpected content-type ${Fd} sent for event-type Progress`;throw new Error(Ld)}}break;case"Stats":switch(Fd){case"text/xml":{const Ld=Id.read(kd);od.setStats(Ld.toString());break}default:{const Ld=`Unexpected content-type ${Fd} sent for event-type Stats`;throw new Error(Ld)}}break;default:{const Ld=`Un implemented event detected ${jd}.`;console.warn(Ld)}}}}}}function getConcater(Ra,qa){var nd=!1,od=[];if(Ra&&!isFunction(Ra))throw new TypeError('parser should be of type "function"');return Ra&&(nd=!0),Through2({objectMode:nd},function(ld,ud,cd){od.push(ld),cd()},function(ld){od.length&&(Ra?this.push(Ra(Buffer$4.concat(od).toString())):this.push(Buffer$4.concat(od))),ld()})}function getCopyObjectTransformer(){return getConcater(parseCopyObject)}function getListMultipartTransformer(){return getConcater(parseListMultipart)}function getListObjectsTransformer(){return getConcater(parseListObjects)}function getListObjectsV2Transformer(){return getConcater(parseListObjectsV2)}function getCompleteMultipartTransformer(){return getConcater(parseCompleteMultipart)}function getBucketNotificationTransformer(){return getConcater(parseBucketNotification)}function getNotificationTransformer(){return new JSONParser}function bucketVersioningTransformer(){return getConcater(parseBucketVersioningConfig)}function getTagsTransformer(){return getConcater(parseTagging)}function lifecycleTransformer(){return getConcater(parseLifecycleConfig)}function objectLockTransformer(){return getConcater(parseObjectLockConfig)}function objectRetentionTransformer(){return getConcater(parseObjectRetentionConfig)}function bucketEncryptionTransformer(){return getConcater(parseBucketEncryptionConfig)}function objectLegalHoldTransformer(){return getConcater(parseObjectLegalHoldConfig)}function uploadPartTransformer(){return getConcater(uploadPartParser)}function selectObjectContentTransformer(){return getConcater()}function removeObjectsTransformer(){return getConcater(removeObjectsParser)}var define_process_default$1={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_9b3b18d1-9340-49ab-b4e8-5023772e0970",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_9b3b18d1-9340-49ab-b4e8-5023772e0970",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:1985",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12403591553",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_77bf6c2e-16c6-46b5-9674-d636e159247f",INVOCATION_ID:"2e23158896aa43b4b0c7cc0c353d16fa",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"468",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 17",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_9b3b18d1-9340-49ab-b4e8-5023772e0970",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_9b3b18d1-9340-49ab-b4e8-5023772e0970",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_9b3b18d1-9340-49ab-b4e8-5023772e0970",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2165,ppid:2164,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};class NotificationConfig{add(qa){let nd="";qa instanceof TopicConfig&&(nd="TopicConfiguration"),qa instanceof QueueConfig&&(nd="QueueConfiguration"),qa instanceof CloudFunctionConfig&&(nd="CloudFunctionConfiguration"),this[nd]||(this[nd]=[]),this[nd].push(qa)}}class TargetConfig{setId(qa){this.Id=qa}addEvent(qa){this.Event||(this.Event=[]),this.Event.push(qa)}addFilterSuffix(qa){this.Filter||(this.Filter={S3Key:{FilterRule:[]}}),this.Filter.S3Key.FilterRule.push({Name:"suffix",Value:qa})}addFilterPrefix(qa){this.Filter||(this.Filter={S3Key:{FilterRule:[]}}),this.Filter.S3Key.FilterRule.push({Name:"prefix",Value:qa})}}class TopicConfig extends TargetConfig{constructor(qa){super(),this.Topic=qa}}class QueueConfig extends TargetConfig{constructor(qa){super(),this.Queue=qa}}class CloudFunctionConfig extends TargetConfig{constructor(qa){super(),this.CloudFunction=qa}}class NotificationPoller extends eventsExports.EventEmitter{constructor(qa,nd,od,ld,ud){super(),this.client=qa,this.bucketName=nd,this.prefix=od,this.suffix=ld,this.events=ud,this.ending=!1}start(){this.ending=!1,define_process_default$1.nextTick(()=>{this.checkForChanges()})}stop(){this.ending=!0}checkForChanges(){if(this.ending)return;let qa="GET";var nd=[];if(this.prefix){var od=uriEscape(this.prefix);nd.push(`prefix=${od}`)}if(this.suffix){var ld=uriEscape(this.suffix);nd.push(`suffix=${ld}`)}this.events&&this.events.forEach(dd=>nd.push("events="+uriEscape(dd))),nd.sort();var ud="";nd.length>0&&(ud=`${nd.join("&")}`);const cd=this.client.region||DEFAULT_REGION;this.client.makeRequest({method:qa,bucketName:this.bucketName,query:ud},"",[200],cd,!0,(dd,pd)=>{if(dd)return this.emit("error",dd);let fd=getNotificationTransformer();pipesetup(pd,fd).on("data",md=>{let vd=md.Records;vd||(vd=[]),vd.forEach(Ad=>{this.emit("notification",Ad)}),this.ending&&pd.destroy()}).on("error",md=>this.emit("error",md)).on("end",()=>{define_process_default$1.nextTick(()=>{this.checkForChanges()})})})}}var define_process_default={version:"v20.18.1",versions:{node:"20.18.1",acorn:"8.12.1",ada:"2.9.0",ares:"1.33.1",base64:"0.5.2",brotli:"1.1.0",cjs_module_lexer:"1.4.1",cldr:"45.0",icu:"75.1",llhttp:"8.1.2",modules:"115",napi:"9",nghttp2:"1.61.0",nghttp3:"0.7.0",ngtcp2:"1.1.0",openssl:"3.0.15+quic",simdutf:"5.5.0",tz:"2024b",undici:"6.20.0",unicode:"15.1",uv:"1.46.0",uvwasi:"0.0.21",v8:"11.3.244.8-node.23",zlib:"1.3.0.1-motley-71660e1"},arch:"x64",platform:"linux",release:{name:"node",lts:"Iron",sourceUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1.tar.gz",headersUrl:"https://nodejs.org/download/release/v20.18.1/node-v20.18.1-headers.tar.gz"},moduleLoadList:["Internal Binding builtins","Internal Binding module_wrap","Internal Binding errors","NativeModule internal/assert","Internal Binding util","NativeModule internal/errors","Internal Binding config","Internal Binding timers","Internal Binding async_wrap","Internal Binding task_queue","Internal Binding symbols","NativeModule internal/async_hooks","Internal Binding constants","Internal Binding types","Internal Binding options","NativeModule internal/options","Internal Binding string_decoder","NativeModule internal/util","NativeModule internal/util/types","NativeModule internal/validators","NativeModule internal/linkedlist","NativeModule internal/priority_queue","Internal Binding icu","NativeModule internal/util/inspect","NativeModule internal/util/debuglog","NativeModule internal/timers","NativeModule internal/events/abort_listener","NativeModule events","Internal Binding buffer","NativeModule internal/buffer","NativeModule buffer","Internal Binding messaging","NativeModule internal/worker/js_transferable","NativeModule internal/querystring","NativeModule internal/constants","NativeModule path","NativeModule querystring","Internal Binding url","NativeModule internal/url","NativeModule internal/fs/utils","Internal Binding process_methods","NativeModule internal/process/per_thread","Internal Binding credentials","NativeModule internal/process/promises","NativeModule internal/fixed_queue","NativeModule async_hooks","NativeModule internal/process/task_queues","NativeModule timers","Internal Binding trace_events","Internal Binding contextify","NativeModule internal/vm","NativeModule internal/process/execution","NativeModule internal/process/warning","NativeModule internal/source_map/source_map_cache","Internal Binding fs","Internal Binding blob","Internal Binding encoding_binding","NativeModule internal/encoding","NativeModule internal/streams/utils","NativeModule util","NativeModule internal/webstreams/util","NativeModule internal/webstreams/queuingstrategies","NativeModule internal/blob","Internal Binding permission","NativeModule internal/process/permission","NativeModule fs","NativeModule internal/modules/helpers","NativeModule internal/console/constructor","NativeModule internal/console/global","NativeModule internal/util/inspector","Internal Binding inspector","NativeModule internal/webidl","Internal Binding performance","NativeModule internal/perf/utils","NativeModule internal/event_target","Internal Binding wasm_web_api","Internal Binding mksnapshot","NativeModule internal/v8/startup_snapshot","NativeModule internal/process/signal","NativeModule url","NativeModule internal/modules/package_json_reader","NativeModule internal/modules/cjs/loader","NativeModule internal/process/pre_execution","NativeModule internal/modules/esm/utils","NativeModule internal/inspector_async_hook","Internal Binding worker","NativeModule internal/modules/run_main","NativeModule internal/net","NativeModule internal/dns/utils","NativeModule internal/modules/esm/assert","NativeModule internal/modules/esm/loader","NativeModule internal/modules/esm/module_map","NativeModule internal/modules/esm/translators","NativeModule internal/modules/esm/package_config","NativeModule internal/modules/esm/formats","NativeModule internal/modules/esm/get_format","NativeModule internal/modules/esm/resolve","NativeModule internal/modules/esm/module_job","NativeModule internal/modules/esm/load","Internal Binding fs_dir","NativeModule internal/fs/dir","NativeModule string_decoder","Internal Binding fs_event_wrap","Internal Binding uv","NativeModule internal/fs/watchers","NativeModule internal/fs/recursive_watch","NativeModule internal/readline/utils","NativeModule internal/readline/callbacks","NativeModule internal/readline/interface","NativeModule internal/fs/promises","NativeModule internal/perf/performance_entry","NativeModule internal/perf/observe","NativeModule internal/perf/resource_timing","NativeModule internal/perf/nodetiming","NativeModule internal/perf/usertiming","NativeModule internal/perf/event_loop_utilization","NativeModule internal/histogram","NativeModule internal/perf/timerify","NativeModule internal/perf/performance","NativeModule internal/perf/event_loop_delay","NativeModule perf_hooks","NativeModule internal/modules/esm/initialize_import_meta","NativeModule internal/streams/destroy","NativeModule internal/abort_controller","NativeModule internal/streams/end-of-stream","NativeModule internal/streams/legacy","NativeModule internal/streams/add-abort-signal","NativeModule internal/streams/state","NativeModule internal/streams/from","NativeModule internal/streams/readable","NativeModule internal/streams/writable","NativeModule internal/streams/duplex","NativeModule internal/streams/pipeline","NativeModule internal/streams/compose","NativeModule internal/streams/operators","NativeModule stream/promises","NativeModule internal/streams/transform","NativeModule internal/streams/passthrough","NativeModule internal/streams/duplexpair","NativeModule stream","NativeModule internal/fs/streams","NativeModule fs/promises","NativeModule internal/util/parse_args/utils","NativeModule internal/util/parse_args/parse_args","NativeModule internal/mime","NativeModule internal/source_map/source_map","NativeModule module","Internal Binding stream_wrap","Internal Binding tcp_wrap","Internal Binding pipe_wrap","NativeModule internal/stream_base_commons","NativeModule diagnostics_channel","NativeModule net","Internal Binding tty_wrap","NativeModule internal/tty","NativeModule tty","NativeModule internal/deps/cjs-module-lexer/dist/lexer","Internal Binding udp_wrap","NativeModule internal/dgram","NativeModule dgram","Internal Binding process_wrap","NativeModule internal/socket_list","Internal Binding spawn_sync","NativeModule internal/child_process","NativeModule child_process","NativeModule _http_agent","Internal Binding http_parser","NativeModule internal/freelist","NativeModule _http_incoming","NativeModule _http_common","NativeModule internal/http","NativeModule _http_outgoing","NativeModule _http_client","NativeModule _http_server","NativeModule http","Internal Binding crypto","Internal Binding cares_wrap","NativeModule internal/crypto/hashnames","NativeModule internal/crypto/util","NativeModule internal/tls/secure-context","NativeModule _tls_common","NativeModule internal/crypto/random","NativeModule internal/crypto/pbkdf2","NativeModule internal/crypto/scrypt","NativeModule internal/crypto/keys","NativeModule internal/crypto/hkdf","NativeModule internal/crypto/keygen","NativeModule internal/crypto/diffiehellman","NativeModule internal/streams/lazy_transform","NativeModule internal/crypto/cipher","NativeModule internal/crypto/sig","NativeModule internal/crypto/hash","NativeModule internal/crypto/x509","NativeModule internal/crypto/certificate","NativeModule crypto","Internal Binding js_stream","NativeModule internal/js_stream_socket","Internal Binding tls_wrap","NativeModule _tls_wrap","NativeModule internal/tls/secure-pair","NativeModule tls","NativeModule https","Internal Binding block_list","NativeModule internal/socketaddress","NativeModule internal/blocklist","Internal Binding os","NativeModule os","NativeModule internal/crypto/webcrypto","NativeModule internal/dns/callback_resolver","NativeModule dns","NativeModule internal/dns/promises","NativeModule internal/util/colors","NativeModule internal/assert/assertion_error","NativeModule internal/assert/utils","NativeModule internal/assert/calltracker","NativeModule assert","Internal Binding serdes","Internal Binding profiler","Internal Binding heap_utils","Internal Binding internal_only_v8","NativeModule internal/heap_utils","NativeModule internal/promise_hooks","Internal Binding v8","NativeModule v8","NativeModule internal/worker/io","NativeModule internal/error_serdes","NativeModule internal/worker","NativeModule worker_threads","NativeModule internal/file","NativeModule internal/readline/emitKeypressEvents","NativeModule internal/readline/promises","NativeModule readline/promises","NativeModule readline","Internal Binding zlib","NativeModule zlib","NativeModule process","Internal Binding report","NativeModule internal/process/report","NativeModule constants"],_events:{newListener:[null,null],removeListener:[null,null]},_eventsCount:3,domain:null,_exiting:!1,config:{target_defaults:{cflags:[],default_configuration:"Release",defines:["NODE_OPENSSL_CONF_NAME=nodejs_conf","NODE_OPENSSL_HAS_QUIC","ICU_NO_USER_DATA_OVERRIDE"],include_dirs:[],libraries:[]},variables:{asan:0,clang:0,coverage:!1,dcheck_always_on:0,debug_nghttp2:!1,debug_node:!1,enable_lto:!1,enable_pgo_generate:!1,enable_pgo_use:!1,error_on_warn:!1,force_dynamic_crt:0,gas_version:"2.35",host_arch:"x64",icu_data_in:"../../deps/icu-tmp/icudt75l.dat",icu_endianness:"l",icu_gyp_path:"tools/icu/icu-generic.gyp",icu_path:"deps/icu-small",icu_small:!1,icu_ver_major:"75",is_debug:0,libdir:"lib",llvm_version:"0.0",napi_build_version:"9",node_builtin_shareable_builtins:["deps/cjs-module-lexer/lexer.js","deps/cjs-module-lexer/dist/lexer.js","deps/undici/undici.js"],node_byteorder:"little",node_debug_lib:!1,node_enable_d8:!1,node_enable_v8_vtunejit:!1,node_fipsinstall:!1,node_install_corepack:!0,node_install_npm:!0,node_library_files:["lib/_http_agent.js","lib/_http_client.js","lib/_http_common.js","lib/_http_incoming.js","lib/_http_outgoing.js","lib/_http_server.js","lib/_stream_duplex.js","lib/_stream_passthrough.js","lib/_stream_readable.js","lib/_stream_transform.js","lib/_stream_wrap.js","lib/_stream_writable.js","lib/_tls_common.js","lib/_tls_wrap.js","lib/assert.js","lib/assert/strict.js","lib/async_hooks.js","lib/buffer.js","lib/child_process.js","lib/cluster.js","lib/console.js","lib/constants.js","lib/crypto.js","lib/dgram.js","lib/diagnostics_channel.js","lib/dns.js","lib/dns/promises.js","lib/domain.js","lib/events.js","lib/fs.js","lib/fs/promises.js","lib/http.js","lib/http2.js","lib/https.js","lib/inspector.js","lib/inspector/promises.js","lib/internal/abort_controller.js","lib/internal/assert.js","lib/internal/assert/assertion_error.js","lib/internal/assert/calltracker.js","lib/internal/assert/utils.js","lib/internal/async_hooks.js","lib/internal/blob.js","lib/internal/blocklist.js","lib/internal/bootstrap/node.js","lib/internal/bootstrap/realm.js","lib/internal/bootstrap/shadow_realm.js","lib/internal/bootstrap/switches/does_not_own_process_state.js","lib/internal/bootstrap/switches/does_own_process_state.js","lib/internal/bootstrap/switches/is_main_thread.js","lib/internal/bootstrap/switches/is_not_main_thread.js","lib/internal/bootstrap/web/exposed-wildcard.js","lib/internal/bootstrap/web/exposed-window-or-worker.js","lib/internal/buffer.js","lib/internal/child_process.js","lib/internal/child_process/serialization.js","lib/internal/cli_table.js","lib/internal/cluster/child.js","lib/internal/cluster/primary.js","lib/internal/cluster/round_robin_handle.js","lib/internal/cluster/shared_handle.js","lib/internal/cluster/utils.js","lib/internal/cluster/worker.js","lib/internal/console/constructor.js","lib/internal/console/global.js","lib/internal/constants.js","lib/internal/crypto/aes.js","lib/internal/crypto/certificate.js","lib/internal/crypto/cfrg.js","lib/internal/crypto/cipher.js","lib/internal/crypto/diffiehellman.js","lib/internal/crypto/ec.js","lib/internal/crypto/hash.js","lib/internal/crypto/hashnames.js","lib/internal/crypto/hkdf.js","lib/internal/crypto/keygen.js","lib/internal/crypto/keys.js","lib/internal/crypto/mac.js","lib/internal/crypto/pbkdf2.js","lib/internal/crypto/random.js","lib/internal/crypto/rsa.js","lib/internal/crypto/scrypt.js","lib/internal/crypto/sig.js","lib/internal/crypto/util.js","lib/internal/crypto/webcrypto.js","lib/internal/crypto/webidl.js","lib/internal/crypto/x509.js","lib/internal/debugger/inspect.js","lib/internal/debugger/inspect_client.js","lib/internal/debugger/inspect_repl.js","lib/internal/dgram.js","lib/internal/dns/callback_resolver.js","lib/internal/dns/promises.js","lib/internal/dns/utils.js","lib/internal/encoding.js","lib/internal/error_serdes.js","lib/internal/errors.js","lib/internal/event_target.js","lib/internal/events/abort_listener.js","lib/internal/events/symbols.js","lib/internal/file.js","lib/internal/fixed_queue.js","lib/internal/freelist.js","lib/internal/freeze_intrinsics.js","lib/internal/fs/cp/cp-sync.js","lib/internal/fs/cp/cp.js","lib/internal/fs/dir.js","lib/internal/fs/promises.js","lib/internal/fs/read/context.js","lib/internal/fs/recursive_watch.js","lib/internal/fs/rimraf.js","lib/internal/fs/streams.js","lib/internal/fs/sync_write_stream.js","lib/internal/fs/utils.js","lib/internal/fs/watchers.js","lib/internal/heap_utils.js","lib/internal/histogram.js","lib/internal/http.js","lib/internal/http2/compat.js","lib/internal/http2/core.js","lib/internal/http2/util.js","lib/internal/inspector_async_hook.js","lib/internal/inspector_network_tracking.js","lib/internal/js_stream_socket.js","lib/internal/legacy/processbinding.js","lib/internal/linkedlist.js","lib/internal/main/check_syntax.js","lib/internal/main/embedding.js","lib/internal/main/eval_stdin.js","lib/internal/main/eval_string.js","lib/internal/main/inspect.js","lib/internal/main/mksnapshot.js","lib/internal/main/print_help.js","lib/internal/main/prof_process.js","lib/internal/main/repl.js","lib/internal/main/run_main_module.js","lib/internal/main/test_runner.js","lib/internal/main/watch_mode.js","lib/internal/main/worker_thread.js","lib/internal/mime.js","lib/internal/modules/cjs/loader.js","lib/internal/modules/esm/assert.js","lib/internal/modules/esm/create_dynamic_module.js","lib/internal/modules/esm/fetch_module.js","lib/internal/modules/esm/formats.js","lib/internal/modules/esm/get_format.js","lib/internal/modules/esm/hooks.js","lib/internal/modules/esm/initialize_import_meta.js","lib/internal/modules/esm/load.js","lib/internal/modules/esm/loader.js","lib/internal/modules/esm/module_job.js","lib/internal/modules/esm/module_map.js","lib/internal/modules/esm/package_config.js","lib/internal/modules/esm/resolve.js","lib/internal/modules/esm/shared_constants.js","lib/internal/modules/esm/translators.js","lib/internal/modules/esm/utils.js","lib/internal/modules/esm/worker.js","lib/internal/modules/helpers.js","lib/internal/modules/package_json_reader.js","lib/internal/modules/run_main.js","lib/internal/navigator.js","lib/internal/net.js","lib/internal/options.js","lib/internal/per_context/domexception.js","lib/internal/per_context/messageport.js","lib/internal/per_context/primordials.js","lib/internal/perf/event_loop_delay.js","lib/internal/perf/event_loop_utilization.js","lib/internal/perf/nodetiming.js","lib/internal/perf/observe.js","lib/internal/perf/performance.js","lib/internal/perf/performance_entry.js","lib/internal/perf/resource_timing.js","lib/internal/perf/timerify.js","lib/internal/perf/usertiming.js","lib/internal/perf/utils.js","lib/internal/policy/manifest.js","lib/internal/policy/sri.js","lib/internal/priority_queue.js","lib/internal/process/execution.js","lib/internal/process/per_thread.js","lib/internal/process/permission.js","lib/internal/process/policy.js","lib/internal/process/pre_execution.js","lib/internal/process/promises.js","lib/internal/process/report.js","lib/internal/process/signal.js","lib/internal/process/task_queues.js","lib/internal/process/warning.js","lib/internal/process/worker_thread_only.js","lib/internal/promise_hooks.js","lib/internal/querystring.js","lib/internal/readline/callbacks.js","lib/internal/readline/emitKeypressEvents.js","lib/internal/readline/interface.js","lib/internal/readline/promises.js","lib/internal/readline/utils.js","lib/internal/repl.js","lib/internal/repl/await.js","lib/internal/repl/history.js","lib/internal/repl/utils.js","lib/internal/socket_list.js","lib/internal/socketaddress.js","lib/internal/source_map/prepare_stack_trace.js","lib/internal/source_map/source_map.js","lib/internal/source_map/source_map_cache.js","lib/internal/stream_base_commons.js","lib/internal/streams/add-abort-signal.js","lib/internal/streams/compose.js","lib/internal/streams/destroy.js","lib/internal/streams/duplex.js","lib/internal/streams/duplexify.js","lib/internal/streams/duplexpair.js","lib/internal/streams/end-of-stream.js","lib/internal/streams/from.js","lib/internal/streams/lazy_transform.js","lib/internal/streams/legacy.js","lib/internal/streams/operators.js","lib/internal/streams/passthrough.js","lib/internal/streams/pipeline.js","lib/internal/streams/readable.js","lib/internal/streams/state.js","lib/internal/streams/transform.js","lib/internal/streams/utils.js","lib/internal/streams/writable.js","lib/internal/test/binding.js","lib/internal/test/transfer.js","lib/internal/test_runner/coverage.js","lib/internal/test_runner/harness.js","lib/internal/test_runner/mock/loader.js","lib/internal/test_runner/mock/mock.js","lib/internal/test_runner/mock/mock_timers.js","lib/internal/test_runner/reporter/dot.js","lib/internal/test_runner/reporter/junit.js","lib/internal/test_runner/reporter/lcov.js","lib/internal/test_runner/reporter/spec.js","lib/internal/test_runner/reporter/tap.js","lib/internal/test_runner/reporter/utils.js","lib/internal/test_runner/reporter/v8-serializer.js","lib/internal/test_runner/runner.js","lib/internal/test_runner/test.js","lib/internal/test_runner/tests_stream.js","lib/internal/test_runner/utils.js","lib/internal/timers.js","lib/internal/tls/secure-context.js","lib/internal/tls/secure-pair.js","lib/internal/trace_events_async_hooks.js","lib/internal/tty.js","lib/internal/url.js","lib/internal/util.js","lib/internal/util/colors.js","lib/internal/util/comparisons.js","lib/internal/util/debuglog.js","lib/internal/util/embedding.js","lib/internal/util/inspect.js","lib/internal/util/inspector.js","lib/internal/util/iterable_weak_map.js","lib/internal/util/parse_args/parse_args.js","lib/internal/util/parse_args/utils.js","lib/internal/util/types.js","lib/internal/v8/startup_snapshot.js","lib/internal/v8_prof_polyfill.js","lib/internal/v8_prof_processor.js","lib/internal/validators.js","lib/internal/vm.js","lib/internal/vm/module.js","lib/internal/wasm_web_api.js","lib/internal/watch_mode/files_watcher.js","lib/internal/watchdog.js","lib/internal/webidl.js","lib/internal/webstreams/adapters.js","lib/internal/webstreams/compression.js","lib/internal/webstreams/encoding.js","lib/internal/webstreams/queuingstrategies.js","lib/internal/webstreams/readablestream.js","lib/internal/webstreams/transfer.js","lib/internal/webstreams/transformstream.js","lib/internal/webstreams/util.js","lib/internal/webstreams/writablestream.js","lib/internal/worker.js","lib/internal/worker/io.js","lib/internal/worker/js_transferable.js","lib/module.js","lib/net.js","lib/os.js","lib/path.js","lib/path/posix.js","lib/path/win32.js","lib/perf_hooks.js","lib/process.js","lib/punycode.js","lib/querystring.js","lib/readline.js","lib/readline/promises.js","lib/repl.js","lib/sea.js","lib/stream.js","lib/stream/consumers.js","lib/stream/promises.js","lib/stream/web.js","lib/string_decoder.js","lib/sys.js","lib/test.js","lib/test/reporters.js","lib/timers.js","lib/timers/promises.js","lib/tls.js","lib/trace_events.js","lib/tty.js","lib/url.js","lib/util.js","lib/util/types.js","lib/v8.js","lib/vm.js","lib/wasi.js","lib/worker_threads.js","lib/zlib.js"],node_module_version:115,node_no_browser_globals:!1,node_prefix:"/",node_release_urlbase:"https://nodejs.org/download/release/",node_section_ordering_info:"",node_shared:!1,node_shared_ada:!1,node_shared_brotli:!1,node_shared_cares:!1,node_shared_http_parser:!1,node_shared_libuv:!1,node_shared_nghttp2:!1,node_shared_nghttp3:!1,node_shared_ngtcp2:!1,node_shared_openssl:!1,node_shared_simdjson:!1,node_shared_simdutf:!1,node_shared_uvwasi:!1,node_shared_zlib:!1,node_tag:"",node_target_type:"executable",node_use_bundled_v8:!0,node_use_node_code_cache:!0,node_use_node_snapshot:!0,node_use_openssl:!0,node_use_v8_platform:!0,node_with_ltcg:!1,node_without_node_options:!1,node_write_snapshot_as_array_literals:!1,openssl_is_fips:!1,openssl_quic:!0,ossfuzz:!1,shlib_suffix:"so.115",single_executable_application:!0,target_arch:"x64",ubsan:0,use_prefix_to_find_headers:!1,v8_enable_31bit_smis_on_64bit_arch:0,v8_enable_extensible_ro_snapshot:0,v8_enable_gdbjit:0,v8_enable_hugepage:0,v8_enable_i18n_support:1,v8_enable_inspector:1,v8_enable_javascript_promise_hooks:1,v8_enable_lite_mode:0,v8_enable_maglev:0,v8_enable_object_print:1,v8_enable_pointer_compression:0,v8_enable_sandbox:0,v8_enable_shared_ro_heap:1,v8_enable_short_builtin_calls:1,v8_enable_v8_checks:0,v8_enable_webassembly:1,v8_no_strict_aliasing:1,v8_optimized_debug:1,v8_promise_internal_field_count:1,v8_random_seed:0,v8_trace_maps:0,v8_use_siphash:1,want_separate_host_toolset:0}},allowedNodeEnvironmentFlags:{},features:{inspector:!0,debug:!1,uv:!0,ipv6:!0,tls_alpn:!0,tls_sni:!0,tls_ocsp:!0,tls:!0,cached_builtins:!0},sourceMapsEnabled:!1,stdout:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:1,_isStdio:!0},stdin:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:2,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,fd:0},stderr:{connecting:!1,_hadError:!1,_parent:null,_host:null,_closeAfterHandlingError:!1,_events:{},_readableState:{highWaterMark:16384,buffer:[],bufferIndex:0,length:0,pipes:[],awaitDrainWriters:null,readable:!1},_writableState:{highWaterMark:16384,length:0,corked:0,writelen:0,bufferedIndex:0,pendingcb:0},allowHalfOpen:!1,_eventsCount:1,_sockname:null,_pendingData:null,_pendingEncoding:"",server:null,_server:null,_type:"pipe",fd:2,_isStdio:!0},env:{GITHUB_STATE:"/home/runner/work/_temp/_runner_file_commands/save_state_9b3b18d1-9340-49ab-b4e8-5023772e0970",STATS_TRP:"true",DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_user_agent:"npm/10.8.2 node/v20.18.1 linux x64 workspaces/false ci/github-actions",CI:"true",RUNNER_ENVIRONMENT:"github-hosted",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_9b3b18d1-9340-49ab-b4e8-5023772e0970",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/md/md/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GITHUB_REPOSITORY_OWNER:"doocs",GRADLE_HOME:"/usr/share/gradle-8.11.1",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",JAVA_HOME_21_X64:"/usr/lib/jvm/temurin-21-jdk-amd64",STATS_RDCL:"true",GITHUB_RETENTION_DAYS:"90",GITHUB_REPOSITORY_OWNER_ID:"43716716",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu24",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_userconfig:"/home/runner/.npmrc",npm_config_local_prefix:"/home/runner/work/md/md",SYSTEMD_EXEC_PID:"836",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",GOROOT_1_21_X64:"/opt/hostedtoolcache/go/1.21.13/x64",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20241215.1.0",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",GOROOT_1_22_X64:"/opt/hostedtoolcache/go/1.22.10/x64",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",STATS_V3PS:"true",CHROMEWEBDRIVER:"/usr/local/share/chromedriver-linux64",GOROOT_1_23_X64:"/opt/hostedtoolcache/go/1.23.4/x64",JOURNAL_STREAM:"8:1985",GITHUB_WORKFLOW:"Build and Deploy",_:"/opt/hostedtoolcache/node/20.18.1/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",npm_config_npm_version:"10.8.2",MEMORY_PRESSURE_WATCH:"/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure",ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE:"/opt/actionarchivecache",STATS_D:"true",GITHUB_RUN_ID:"12403591553",STATS_VMFE:"true",npm_config_cache:"/home/runner/.npm",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_WORKFLOW_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_BASE_REF:"",ImageOS:"ubuntu24",GITHUB_WORKFLOW_REF:"doocs/md/.github/workflows/build.yml@refs/heads/main",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/home/runner/work/md/md/node_modules/.bin:/home/runner/work/md/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_77bf6c2e-16c6-46b5-9674-d636e159247f",INVOCATION_ID:"2e23158896aa43b4b0c7cc0c353d16fa",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",npm_package_name:"md",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"468",GITHUB_TRIGGERING_ACTOR:"yanglbme",RUNNER_ARCH:"X64",XDG_RUNTIME_DIR:"/run/user/1001",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"GitHub Actions 17",XDG_CONFIG_HOME:"/home/runner/.config",STATS_VMD:"true",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"doocs/md",STATS_D_D:"true",npm_lifecycle_script:"vite build",STATS_UE:"true",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_REPOSITORY_ID:"218952803",GITHUB_ACTIONS:"true",STATS_PIP:"false",npm_package_version:"1.6.0",npm_lifecycle_event:"build:only",GITHUB_REF_PROTECTED:"true",GITHUB_WORKSPACE:"/home/runner/work/md/md",ACCEPT_EULA:"Y",GITHUB_JOB:"build-and-deploy",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"828b92ac2177622377b4a57408320f8ff66f8695",GITHUB_RUN_ATTEMPT:"1",STATS_D_TC:"true",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"yanglbme",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",npm_config_globalconfig:"/opt/hostedtoolcache/node/20.18.1/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_9b3b18d1-9340-49ab-b4e8-5023772e0970",JAVA_HOME:"/usr/lib/jvm/temurin-17-jdk-amd64",PWD:"/home/runner/work/md/md",GITHUB_ACTOR_ID:"21008209",RUNNER_WORKSPACE:"/home/runner/work/md",npm_execpath:"/opt/hostedtoolcache/node/20.18.1/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",GHCUP_INSTALL_BASE_PREFIX:"/usr/local",GITHUB_OUTPUT:"/home/runner/work/_temp/_runner_file_commands/set_output_9b3b18d1-9340-49ab-b4e8-5023772e0970",npm_config_global_prefix:"/opt/hostedtoolcache/node/20.18.1/x64",EDGEWEBDRIVER:"/usr/local/share/edge_driver",STATS_EXT:"true",npm_command:"run-script",ANDROID_NDK:"/usr/local/lib/android/sdk/ndk/27.2.12479018",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",MEMORY_PRESSURE_WRITE:"c29tZSAyMDAwMDAgMjAwMDAwMAA=",STATS_EXTP:"https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk/27.2.12479018",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_9b3b18d1-9340-49ab-b4e8-5023772e0970",INIT_CWD:"/home/runner/work/md/md",EDITOR:"vi",NODE_ENV:"production",LAUNCH_EDITOR:"code"},title:"node",argv:["/opt/hostedtoolcache/node/20.18.1/x64/bin/node","/home/runner/work/md/md/node_modules/.bin/vite","build"],execArgv:[],pid:2165,ppid:2164,execPath:"/opt/hostedtoolcache/node/20.18.1/x64/bin/node",debugPort:9229,argv0:"node",_preload_modules:[],report:{directory:"",filename:"",compact:!1,excludeNetwork:!1,signal:"SIGUSR2",reportOnFatalError:!1,reportOnSignal:!1,reportOnUncaughtException:!1}};class ObjectUploader extends streamBrowserify.Transform{constructor(qa,nd,od,ld,ud,cd){super(),this.emptyStream=!0,this.client=qa,this.bucketName=nd,this.objectName=od,this.partSize=ld,this.metaData=ud,this.callback=cd,this.partNumber=1,this.oldParts=null,this.etags=[],this.id=null,this.on("error",dd=>{cd(dd)})}_transform(qa,nd,od){this.emptyStream=!1;let ld="PUT",ud={"Content-Length":qa.length},cd="";if(this.client.enableSHA256||(cd=(void 0)("md5").update(qa).digest(),ud["Content-MD5"]=cd.toString("base64")),this.partNumber==1&&qa.length{if(vd)return od(vd);let Nd={etag:sanitizeETag(Ad.headers.etag),versionId:getVersionId(Ad.headers)};Ad.on("data",()=>{}),define_process_default.nextTick(()=>{this.callback(null,Nd)}),od()});return}if(this.id===null){this.once("ready",()=>{this._transform(qa,nd,od)}),this.client.findUploadId(this.bucketName,this.objectName,(md,vd)=>{if(md)return this.emit("error",md);if(!vd){this.client.initiateNewMultipartUpload(this.bucketName,this.objectName,this.metaData).then(Ad=>{this.id=Ad,this.emit("ready")},Ad=>od(Ad));return}this.id=vd,this.client.listParts(this.bucketName,this.objectName,vd).then(Ad=>{Ad||(Ad=[]),this.oldParts=Ad.reduce(function(Nd,Id){return Nd[Id.part]||(Nd[Id.part]=Id),Nd},{}),this.emit("ready")},Ad=>this.emit("error",Ad))});return}let dd=this.partNumber++;if(this.oldParts){let md=this.oldParts[dd];if(cd||(cd=(void 0)("md5").update(qa).digest()),md&&cd.toString("hex")===md.etag){this.etags.push({part:dd,etag:md.etag}),od();return}}let pd=queryString.stringify({partNumber:dd,uploadId:this.id}),fd={method:ld,query:pd,headers:ud,bucketName:this.bucketName,objectName:this.objectName};this.client.makeRequest(fd,qa,[200],"",!0,(md,vd)=>{if(md)return od(md);let Ad=vd.headers.etag;Ad&&(Ad=Ad.replace(/^"/,"").replace(/"$/,"")),this.etags.push({part:dd,etag:Ad}),vd.on("data",()=>{}),od()})}_flush(qa){if(this.emptyStream){let nd="PUT",od=Object.assign({},this.metaData,{"Content-Length":0}),ld={method:nd,headers:od,query:"",bucketName:this.bucketName,objectName:this.objectName};this.client.makeRequest(ld,"",[200],"",!0,(ud,cd)=>{if(ud)return qa(ud);let dd={etag:sanitizeETag(cd.headers.etag),versionId:getVersionId(cd.headers)};cd.on("data",()=>{}),define_process_default.nextTick(()=>{this.callback(null,dd)}),qa()});return}this.id!==null&&this.client.completeMultipartUpload(this.bucketName,this.objectName,this.id,this.etags,(nd,od)=>{if(nd)return qa(nd);define_process_default.nextTick(()=>{this.callback(null,od)}),qa()})}}function promisify(Ra){return function(){if(typeof arguments[arguments.length-1]=="function")return Ra.apply(this,arguments);let nd=[...arguments];return new Promise((od,ld)=>{nd.push((ud,cd)=>{if(ud)return ld(ud);od(cd)}),Ra.apply(this,nd)})}}class Client extends TypedClient{setAppInfo(qa,nd){if(!isString(qa))throw new TypeError(`Invalid appName: ${qa}`);if(qa.trim()==="")throw new InvalidArgumentError("Input appName cannot be empty.");if(!isString(nd))throw new TypeError(`Invalid appVersion: ${nd}`);if(nd.trim()==="")throw new InvalidArgumentError("Input appVersion cannot be empty.");this.userAgent=`${this.userAgent} ${qa}/${nd}`}calculatePartSize(qa){if(!isNumber(qa))throw new TypeError('size should be of type "number"');if(qa>this.maxObjectSize)throw new TypeError(`size should not be more than ${this.maxObjectSize}`);if(this.overRidePartSize)return this.partSize;for(var nd=this.partSize;;){if(nd*1e4>qa)return nd;nd+=16*1024*1024}}makeBucket(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isObject(nd)&&(ld=od,od=nd,nd=""),isFunction(nd)&&(ld=nd,nd="",od={}),isFunction(od)&&(ld=od,od={}),!isString(nd))throw new TypeError('region should be of type "string"');if(!isObject(od))throw new TypeError('makeOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');var ud="";if(nd&&this.region&&nd!==this.region)throw new InvalidArgumentError(`Configured region ${this.region}, requested ${nd}`);if(nd&&nd!==DEFAULT_REGION){var cd=[];cd.push({_attr:{xmlns:"http://s3.amazonaws.com/doc/2006-03-01/"}}),cd.push({LocationConstraint:nd});var dd={CreateBucketConfiguration:cd};ud=Xml(dd)}var pd="PUT",fd={};od.ObjectLocking&&(fd["x-amz-bucket-object-lock-enabled"]=!0),nd||(nd=DEFAULT_REGION);const md=vd=>{if(vd&&(nd===""||nd===DEFAULT_REGION))if(vd.code==="AuthorizationHeaderMalformed"&&vd.region!=="")this.makeRequest({method:pd,bucketName:qa,headers:fd},ud,[200],vd.region,!1,ld);else return ld&&ld(vd);return ld&&ld(vd)};this.makeRequest({method:pd,bucketName:qa,headers:fd},ud,[200],nd,!1,md)}listIncompleteUploads(qa,nd,od){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');var ld=od?"":"/",ud="",cd="",dd=[],pd=!1,fd=streamBrowserify.Readable({objectMode:!0});return fd._read=()=>{if(dd.length)return fd.push(dd.shift());if(pd)return fd.push(null);this.listIncompleteUploadsQuery(qa,nd,ud,cd,ld).on("error",md=>fd.emit("error",md)).on("data",md=>{md.prefixes.forEach(vd=>dd.push(vd)),index.eachSeries(md.uploads,(vd,Ad)=>{this.listParts(qa,vd.key,vd.uploadId).then(Nd=>{vd.size=Nd.reduce((Id,kd)=>Id+kd.size,0),dd.push(vd),Ad()},Ad)},vd=>{if(vd){fd.emit("error",vd);return}md.isTruncated?(ud=md.nextKeyMarker,cd=md.nextUploadIdMarker):pd=!0,fd._read()})})},fd}bucketExists(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');var od="HEAD";this.makeRequest({method:od,bucketName:qa},"",[200],"",!1,ld=>{if(ld)return ld.code=="NoSuchBucket"||ld.code=="NotFound"?nd(null,!1):nd(ld);nd(null,!0)})}removeIncompleteUpload(qa,nd,od){if(!isValidBucketName(qa))throw new IsValidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isFunction(od))throw new TypeError('callback should be of type "function"');var ld;index.during(ud=>{this.findUploadId(qa,nd,(cd,dd)=>{if(cd)return ud(cd);ld=dd,ud(null,dd)})},ud=>{var cd="DELETE",dd=`uploadId=${ld}`;this.makeRequest({method:cd,bucketName:qa,objectName:nd,query:dd},"",[204],"",!1,pd=>ud(pd))},od)}fGetObject(qa,nd,od,ld={},ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('filePath should be of type "string"');if(isFunction(ld)&&(ud=ld,ld={}),!isFunction(ud))throw new TypeError('callback should be of type "function"');var cd,dd,pd,fd=md=>{if(md)return ud(md);(void 0)(cd,od,ud)};index.waterfall([md=>this.statObject(qa,nd,ld,md),(md,vd)=>{pd=md,(void 0)(pathBrowserify.dirname(od),{recursive:!0},Ad=>vd(Ad))},md=>{cd=`${od}.${pd.etag}.part.minio`,(void 0)(cd,(vd,Ad)=>{var Nd=0;if(vd)dd=(void 0)(cd,{flags:"w"});else{if(pd.size===Ad.size)return fd();Nd=Ad.size,dd=(void 0)(cd,{flags:"a"})}this.getPartialObject(qa,nd,Nd,0,ld,md)})},(md,vd)=>{pipesetup(md,dd).on("error",Ad=>vd(Ad)).on("finish",vd)},md=>(void 0)(cd,md),(md,vd)=>{if(md.size===pd.size)return vd();vd(new Error("Size mismatch between downloaded file and the object"))}],fd)}getObject(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isFunction(od)&&(ld=od,od={}),!isFunction(ld))throw new TypeError('callback should be of type "function"');this.getPartialObject(qa,nd,0,0,od,ld)}getPartialObject(qa,nd,od,ld,ud={},cd){if(isFunction(ld)&&(cd=ld,ld=0),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isNumber(od))throw new TypeError('offset should be of type "number"');if(!isNumber(ld))throw new TypeError('length should be of type "number"');if(isFunction(ud)&&(cd=ud,ud={}),!isFunction(cd))throw new TypeError('callback should be of type "function"');var dd="";(od||ld)&&(od?dd=`bytes=${+od}-`:(dd="bytes=0-",od=0),ld&&(dd+=`${+ld+od-1}`));var pd={};dd!==""&&(pd.range=dd);var fd=[200];dd&&fd.push(206);var md="GET",vd=queryString.stringify(ud);this.makeRequest({method:md,bucketName:qa,objectName:nd,headers:pd,query:vd},"",fd,"",!0,cd)}fPutObject(qa,nd,od,ld,ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('filePath should be of type "string"');if(isFunction(ld)&&(ud=ld,ld={}),!isObject(ld))throw new TypeError('metaData should be of type "object"');ld=insertContentType(ld,od),(void 0)(od,(cd,dd)=>cd?ud(cd):this.putObject(qa,nd,(void 0)(od),dd.size,ld,ud))}putObject(qa,nd,od,ld,ud,cd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isFunction(ld)?(cd=ld,ud={}):isFunction(ud)&&(cd=ud,ud={}),isObject(ld)&&(ud=ld),ud=prependXAMZMeta(ud),typeof od=="string"||od instanceof Buffer$4)ld=od.length,od=readableStream(od);else if(!isReadableStream(od))throw new TypeError('third argument should be of type "stream.Readable" or "Buffer" or "string"');if(!isFunction(cd))throw new TypeError('callback should be of type "function"');if(isNumber(ld)&&ld<0)throw new InvalidArgumentError(`size cannot be negative, given size: ${ld}`);isNumber(ld)||(ld=this.maxObjectSize),ld=this.calculatePartSize(ld);let dd=new BlockStream2({size:ld,zeroPadding:!1}),pd=new ObjectUploader(this,qa,nd,ld,ud,cd);pipesetup(od,dd,pd)}copyObjectV1(qa,nd,od,ld,ud){var cd=qa,dd=nd,pd=od,fd,md;if(typeof ld=="function"&&ud===void 0?(fd=null,md=ld):(fd=ld,md=ud),!isValidBucketName(cd))throw new InvalidBucketNameError("Invalid bucket name: "+cd);if(!isValidObjectName(dd))throw new InvalidObjectNameError(`Invalid object name: ${dd}`);if(!isString(pd))throw new TypeError('srcObject should be of type "string"');if(pd==="")throw new InvalidPrefixError("Empty source prefix");if(fd!==null&&!(fd instanceof CopyConditions))throw new TypeError('conditions should be of type "CopyConditions"');var vd={};vd["x-amz-copy-source"]=uriResourceEscape(pd),fd!==null&&(fd.modified!==""&&(vd["x-amz-copy-source-if-modified-since"]=fd.modified),fd.unmodified!==""&&(vd["x-amz-copy-source-if-unmodified-since"]=fd.unmodified),fd.matchETag!==""&&(vd["x-amz-copy-source-if-match"]=fd.matchETag),fd.matchEtagExcept!==""&&(vd["x-amz-copy-source-if-none-match"]=fd.matchETagExcept));var Ad="PUT";this.makeRequest({method:Ad,bucketName:cd,objectName:dd,headers:vd},"",[200],"",!0,(Nd,Id)=>{if(Nd)return md(Nd);var kd=getCopyObjectTransformer();pipesetup(Id,kd).on("error",jd=>md(jd)).on("data",jd=>md(null,jd))})}copyObjectV2(qa,nd,od){if(!(qa instanceof CopySourceOptions))throw new InvalidArgumentError("sourceConfig should of type CopySourceOptions ");if(!(nd instanceof CopyDestinationOptions))throw new InvalidArgumentError("destConfig should of type CopyDestinationOptions ");if(!nd.validate()||!nd.validate())return!1;if(!isFunction(od))throw new TypeError('callback should be of type "function"');const ld=Object.assign({},qa.getHeaders(),nd.getHeaders()),ud=nd.Bucket,cd=nd.Object;this.makeRequest({method:"PUT",bucketName:ud,objectName:cd,headers:ld},"",[200],"",!0,(pd,fd)=>{if(pd)return od(pd);const md=getCopyObjectTransformer();pipesetup(fd,md).on("error",vd=>od(vd)).on("data",vd=>{const Ad=fd.headers,Nd={Bucket:nd.Bucket,Key:nd.Object,LastModified:vd.LastModified,MetaData:extractMetadata(Ad),VersionId:getVersionId(Ad),SourceVersionId:getSourceVersionId(Ad),Etag:sanitizeETag(Ad.etag),Size:+Ad["content-length"]};return od(null,Nd)})})}copyObject(...qa){return qa[0]instanceof CopySourceOptions&&qa[1]instanceof CopyDestinationOptions?this.copyObjectV2(...arguments):this.copyObjectV1(...arguments)}listObjectsQuery(qa,nd,od,ld={}){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isString(od))throw new TypeError('marker should be of type "string"');let{Delimiter:ud,MaxKeys:cd,IncludeVersion:dd}=ld;if(!isObject(ld))throw new TypeError('listQueryOpts should be of type "object"');if(!isString(ud))throw new TypeError('Delimiter should be of type "string"');if(!isNumber(cd))throw new TypeError('MaxKeys should be of type "number"');const pd=[];pd.push(`prefix=${uriEscape(nd)}`),pd.push(`delimiter=${uriEscape(ud)}`),pd.push("encoding-type=url"),dd&&pd.push("versions"),od&&(od=uriEscape(od),dd?pd.push(`key-marker=${od}`):pd.push(`marker=${od}`)),cd&&(cd>=1e3&&(cd=1e3),pd.push(`max-keys=${cd}`)),pd.sort();var fd="";pd.length>0&&(fd=`${pd.join("&")}`);var md="GET",vd=getListObjectsTransformer();return this.makeRequest({method:md,bucketName:qa,query:fd},"",[200],"",!0,(Ad,Nd)=>{if(Ad)return vd.emit("error",Ad);pipesetup(Nd,vd)}),vd}listObjects(qa,nd,od,ld={}){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');if(!isObject(ld))throw new TypeError('listOpts should be of type "object"');var ud="";const cd={Delimiter:od?"":"/",MaxKeys:1e3,IncludeVersion:ld.IncludeVersion};var dd=[],pd=!1,fd=streamBrowserify.Readable({objectMode:!0});return fd._read=()=>{if(dd.length){fd.push(dd.shift());return}if(pd)return fd.push(null);this.listObjectsQuery(qa,nd,ud,cd).on("error",md=>fd.emit("error",md)).on("data",md=>{md.isTruncated?ud=md.nextMarker||md.versionIdMarker:pd=!0,dd=md.objects,fd._read()})},fd}listObjectsV2Query(qa,nd,od,ld,ud,cd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isString(od))throw new TypeError('continuationToken should be of type "string"');if(!isString(ld))throw new TypeError('delimiter should be of type "string"');if(!isNumber(ud))throw new TypeError('maxKeys should be of type "number"');if(!isString(cd))throw new TypeError('startAfter should be of type "string"');var dd=[];dd.push("list-type=2"),dd.push("encoding-type=url"),dd.push(`prefix=${uriEscape(nd)}`),dd.push(`delimiter=${uriEscape(ld)}`),od&&(od=uriEscape(od),dd.push(`continuation-token=${od}`)),cd&&(cd=uriEscape(cd),dd.push(`start-after=${cd}`)),ud&&(ud>=1e3&&(ud=1e3),dd.push(`max-keys=${ud}`)),dd.sort();var pd="";dd.length>0&&(pd=`${dd.join("&")}`);var fd="GET",md=getListObjectsV2Transformer();return this.makeRequest({method:fd,bucketName:qa,query:pd},"",[200],"",!0,(vd,Ad)=>{if(vd)return md.emit("error",vd);pipesetup(Ad,md)}),md}listObjectsV2(qa,nd,od,ld){if(nd===void 0&&(nd=""),od===void 0&&(od=!1),ld===void 0&&(ld=""),!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidPrefix(nd))throw new InvalidPrefixError(`Invalid prefix : ${nd}`);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isBoolean(od))throw new TypeError('recursive should be of type "boolean"');if(!isString(ld))throw new TypeError('startAfter should be of type "string"');var ud=od?"":"/",cd="",dd=[],pd=!1,fd=streamBrowserify.Readable({objectMode:!0});return fd._read=()=>{if(dd.length){fd.push(dd.shift());return}if(pd)return fd.push(null);this.listObjectsV2Query(qa,nd,cd,ud,1e3,ld).on("error",md=>fd.emit("error",md)).on("data",md=>{md.isTruncated?cd=md.nextContinuationToken:pd=!0,dd=md.objects,fd._read()})},fd}removeObjects(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!Array.isArray(nd))throw new InvalidArgumentError("objectsList should be a list");if(!isFunction(od))throw new TypeError('callback should be of type "function"');const ld=1e3,ud="delete",cd="POST";let dd=nd.reduce((md,vd)=>(md.list.push(vd),md.list.length===ld&&(md.listOfList.push(md.list),md.list=[]),md),{listOfList:[],list:[]});dd.list.length>0&&dd.listOfList.push(dd.list);const pd=new Encoder,fd=[];index.eachSeries(dd.listOfList,(md,vd)=>{var Ad=[];md.forEach(function(Md){isObject(Md)?Ad.push({Key:Md.name,VersionId:Md.versionId}):Ad.push({Key:Md})});let Nd={Delete:{Quiet:!0,Object:Ad}},kd=new xml2js.Builder({headless:!0}).buildObject(Nd);kd=Buffer$4.from(pd.encode(kd));const jd={};jd["Content-MD5"]=toMd5(kd);let Fd;this.makeRequest({method:cd,bucketName:qa,query:ud,headers:jd},kd,[200],"",!0,(Md,Ld)=>{if(Md)return vd(Md);pipesetup(Ld,removeObjectsTransformer()).on("data",Hd=>{Fd=Hd}).on("error",Hd=>vd(Hd,null)).on("end",()=>(fd.push(Fd),vd(null,Fd)))})},()=>{od(null,_.flatten(fd))})}getBucketPolicy(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"policy"},"",[200],"",!0,(ud,cd)=>{if(ud)return nd(ud);let dd=Buffer$4.from("");pipesetup(cd,getConcater()).on("data",pd=>dd=pd).on("error",nd).on("end",()=>{nd(null,dd.toString())})})}setBucketPolicy(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isString(nd))throw new InvalidBucketPolicyError(`Invalid bucket policy: ${nd} - must be "string"`);if(!isFunction(od))throw new TypeError('callback should be of type "function"');let ld="DELETE",ud="policy";nd&&(ld="PUT"),this.makeRequest({method:ld,bucketName:qa,query:ud},nd,[204],"",!1,od)}presignedUrl(qa,nd,od,ld,ud,cd,dd){if(this.anonymous)throw new AnonymousRequestError("Presigned "+qa+" url cannot be generated for anonymous requests");if(isFunction(cd)&&(dd=cd,cd=new Date),isFunction(ud)&&(dd=ud,ud={},cd=new Date),isFunction(ld)&&(dd=ld,ud={},ld=24*60*60*7,cd=new Date),!isNumber(ld))throw new TypeError('expires should be of type "number"');if(!isObject(ud))throw new TypeError('reqParams should be of type "object"');if(!isValidDate(cd))throw new TypeError('requestDate should be of type "Date" and valid');if(!isFunction(dd))throw new TypeError('callback should be of type "function"');var pd=queryString.stringify(ud);this.getBucketRegion(nd,(fd,md)=>{if(fd)return dd(fd);var vd,Ad=this.getRequestOptions({method:qa,region:md,bucketName:nd,objectName:od,query:pd});this.checkAndRefreshCreds();try{vd=presignSignatureV4(Ad,this.accessKey,this.secretKey,this.sessionToken,md,cd,ld)}catch(Nd){return dd(Nd)}dd(null,vd)})}presignedGetObject(qa,nd,od,ld,ud,cd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);isFunction(ld)&&(cd=ld,ld={},ud=new Date);var dd=["response-content-type","response-content-language","response-expires","response-cache-control","response-content-disposition","response-content-encoding"];return dd.forEach(pd=>{if(ld!==void 0&&ld[pd]!==void 0&&!isString(ld[pd]))throw new TypeError(`response header ${pd} should be of type "string"`)}),this.presignedUrl("GET",qa,nd,od,ld,ud,cd)}presignedPutObject(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);return this.presignedUrl("PUT",qa,nd,od,ld)}newPostPolicy(){return new PostPolicy}presignedPostPolicy(qa,nd){if(this.anonymous)throw new AnonymousRequestError("Presigned POST policy cannot be generated for anonymous requests");if(!isObject(qa))throw new TypeError('postPolicy should be of type "object"');if(!isFunction(nd))throw new TypeError('cb should be of type "function"');this.getBucketRegion(qa.formData.bucket,(od,ld)=>{if(od)return nd(od);var ud=new Date,cd=makeDateLong(ud);if(this.checkAndRefreshCreds(),!qa.policy.expiration){var dd=new Date;dd.setSeconds(24*60*60*7),qa.setExpires(dd)}qa.policy.conditions.push(["eq","$x-amz-date",cd]),qa.formData["x-amz-date"]=cd,qa.policy.conditions.push(["eq","$x-amz-algorithm","AWS4-HMAC-SHA256"]),qa.formData["x-amz-algorithm"]="AWS4-HMAC-SHA256",qa.policy.conditions.push(["eq","$x-amz-credential",this.accessKey+"/"+getScope(ld,ud)]),qa.formData["x-amz-credential"]=this.accessKey+"/"+getScope(ld,ud),this.sessionToken&&(qa.policy.conditions.push(["eq","$x-amz-security-token",this.sessionToken]),qa.formData["x-amz-security-token"]=this.sessionToken);var pd=Buffer$4.from(JSON.stringify(qa.policy)).toString("base64");qa.formData.policy=pd;var fd=postPresignSignatureV4(ld,ud,this.secretKey,pd);qa.formData["x-amz-signature"]=fd;var md={};md.region=ld,md.bucketName=qa.formData.bucket;var vd=this.getRequestOptions(md),Ad=this.port==80||this.port===443?"":`:${this.port.toString()}`,Nd=`${vd.protocol}//${vd.host}${Ad}${vd.path}`;nd(null,{postURL:Nd,formData:qa.formData})})}completeMultipartUpload(qa,nd,od,ld,ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isString(od))throw new TypeError('uploadId should be of type "string"');if(!isObject(ld))throw new TypeError('etags should be of type "Array"');if(!isFunction(ud))throw new TypeError('cb should be of type "function"');if(!od)throw new InvalidArgumentError("uploadId cannot be empty");var cd="POST",dd=`uploadId=${uriEscape(od)}`,pd=[];ld.forEach(vd=>{pd.push({Part:[{PartNumber:vd.part},{ETag:vd.etag}]})});var fd={CompleteMultipartUpload:pd},md=Xml(fd);this.makeRequest({method:cd,bucketName:qa,objectName:nd,query:dd},md,[200],"",!0,(vd,Ad)=>{if(vd)return ud(vd);var Nd=getCompleteMultipartTransformer();pipesetup(Ad,Nd).on("error",Id=>ud(Id)).on("data",Id=>{if(Id.errCode)ud(new S3Error(Id.errMessage));else{const kd={etag:Id.etag,versionId:getVersionId(Ad.headers)};ud(null,kd)}})})}listIncompleteUploadsQuery(qa,nd,od,ld,ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isString(nd))throw new TypeError('prefix should be of type "string"');if(!isString(od))throw new TypeError('keyMarker should be of type "string"');if(!isString(ld))throw new TypeError('uploadIdMarker should be of type "string"');if(!isString(ud))throw new TypeError('delimiter should be of type "string"');var cd=[];cd.push(`prefix=${uriEscape(nd)}`),cd.push(`delimiter=${uriEscape(ud)}`),od&&(od=uriEscape(od),cd.push(`key-marker=${od}`)),ld&&cd.push(`upload-id-marker=${ld}`);var dd=1e3;cd.push(`max-uploads=${dd}`),cd.sort(),cd.unshift("uploads");var pd="";cd.length>0&&(pd=`${cd.join("&")}`);var fd="GET",md=getListMultipartTransformer();return this.makeRequest({method:fd,bucketName:qa,query:pd},"",[200],"",!0,(vd,Ad)=>{if(vd)return md.emit("error",vd);pipesetup(Ad,md)}),md}findUploadId(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(!isFunction(od))throw new TypeError('cb should be of type "function"');var ld,ud=(cd,dd)=>{this.listIncompleteUploadsQuery(qa,nd,cd,dd,"").on("error",pd=>od(pd)).on("data",pd=>{if(pd.uploads.forEach(fd=>{if(fd.key===nd&&(!ld||fd.initiated.getTime()>ld.initiated.getTime())){ld=fd;return}}),pd.isTruncated){ud(pd.nextKeyMarker,pd.nextUploadIdMarker);return}if(ld)return od(null,ld.uploadId);od(null,void 0)})};ud("","")}setBucketNotification(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isObject(nd))throw new TypeError('notification config should be of type "Object"');if(!isFunction(od))throw new TypeError('callback should be of type "function"');var ld="PUT",ud="notification",cd=new xml2js.Builder({rootName:"NotificationConfiguration",renderOpts:{pretty:!1},headless:!0}),dd=cd.buildObject(nd);this.makeRequest({method:ld,bucketName:qa,query:ud},dd,[200],"",!1,od)}removeAllBucketNotification(qa,nd){this.setBucketNotification(qa,new NotificationConfig,nd)}getBucketNotification(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');var od="GET",ld="notification";this.makeRequest({method:od,bucketName:qa,query:ld},"",[200],"",!0,(ud,cd)=>{if(ud)return nd(ud);var dd=getBucketNotificationTransformer(),pd;pipesetup(cd,dd).on("data",fd=>pd=fd).on("error",fd=>nd(fd)).on("end",()=>nd(null,pd))})}listenBucketNotification(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isString(nd))throw new TypeError("prefix must be of type string");if(!isString(od))throw new TypeError("suffix must be of type string");if(!Array.isArray(ld))throw new TypeError("events must be of type Array");let ud=new NotificationPoller(this,qa,nd,od,ld);return ud.start(),ud}getBucketVersioning(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');var od="GET",ld="versioning";this.makeRequest({method:od,bucketName:qa,query:ld},"",[200],"",!0,(ud,cd)=>{if(ud)return nd(ud);let dd=Buffer$4.from("");pipesetup(cd,bucketVersioningTransformer()).on("data",pd=>{dd=pd}).on("error",nd).on("end",()=>{nd(null,dd)})})}setBucketVersioning(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!Object.keys(nd).length)throw new InvalidArgumentError('versionConfig should be of type "object"');if(!isFunction(od))throw new TypeError('callback should be of type "function"');var ld="PUT",ud="versioning",cd=new xml2js.Builder({rootName:"VersioningConfiguration",renderOpts:{pretty:!1},headless:!0}),dd=cd.buildObject(nd);this.makeRequest({method:ld,bucketName:qa,query:ud},dd,[200],"",!1,od)}setTagging(qa){const{bucketName:nd,objectName:od,tags:ld,putOpts:ud={},cb:cd}=qa,dd="PUT";let pd="tagging";ud&&ud.versionId&&(pd=`${pd}&versionId=${ud.versionId}`);const fd=[];for(const[jd,Fd]of Object.entries(ld))fd.push({Key:jd,Value:Fd});const md={Tagging:{TagSet:{Tag:fd}}},vd=new Encoder,Ad={};let Id=new xml2js.Builder({headless:!0,renderOpts:{pretty:!1}}).buildObject(md);Id=Buffer$4.from(vd.encode(Id)),Ad["Content-MD5"]=toMd5(Id);const kd={method:dd,bucketName:nd,query:pd,headers:Ad};od&&(kd.objectName=od),Ad["Content-MD5"]=toMd5(Id),this.makeRequest(kd,Id,[200],"",!1,cd)}setBucketTagging(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isObject(nd))throw new InvalidArgumentError('tags should be of type "object"');if(Object.keys(nd).length>10)throw new InvalidArgumentError('maximum tags allowed is 10"');if(!isFunction(od))throw new InvalidArgumentError('callback should be of type "function"');return this.setTagging({bucketName:qa,tags:nd,cb:od})}setObjectTagging(qa,nd,od,ld={},ud){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidBucketNameError("Invalid object name: "+nd);if(isFunction(ld)&&(ud=ld,ld={}),!isObject(od))throw new InvalidArgumentError('tags should be of type "object"');if(Object.keys(od).length>10)throw new InvalidArgumentError('Maximum tags allowed is 10"');if(!isFunction(ud))throw new TypeError('callback should be of type "function"');return this.setTagging({bucketName:qa,objectName:nd,tags:od,putOpts:ld,cb:ud})}removeTagging({bucketName:qa,objectName:nd,removeOpts:od,cb:ld}){const ud="DELETE";let cd="tagging";od&&Object.keys(od).length&&od.versionId&&(cd=`${cd}&versionId=${od.versionId}`);const dd={method:ud,bucketName:qa,objectName:nd,query:cd};nd&&(dd.objectName=nd),this.makeRequest(dd,"",[200,204],"",!0,ld)}removeBucketTagging(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new TypeError('callback should be of type "function"');return this.removeTagging({bucketName:qa,cb:nd})}removeObjectTagging(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidBucketNameError("Invalid object name: "+nd);if(isFunction(od)&&(ld=od,od={}),od&&Object.keys(od).length&&!isObject(od))throw new InvalidArgumentError('removeOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');return this.removeTagging({bucketName:qa,objectName:nd,removeOpts:od,cb:ld})}getBucketTagging(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);const ud={method:"GET",bucketName:qa,query:"tagging"};this.makeRequest(ud,"",[200],"",!0,(cd,dd)=>{var pd=getTagsTransformer();if(cd)return nd(cd);let fd;pipesetup(dd,pd).on("data",md=>fd=md).on("error",md=>nd(md)).on("end",()=>nd(null,fd))})}getObjectTagging(qa,nd,od={},ld=()=>!1){const ud="GET";let cd="tagging";if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidBucketNameError("Invalid object name: "+nd);if(isFunction(od)&&(ld=od,od={}),!isObject(od))throw new InvalidArgumentError('getOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');od&&od.versionId&&(cd=`${cd}&versionId=${od.versionId}`);const dd={method:ud,bucketName:qa,query:cd};nd&&(dd.objectName=nd),this.makeRequest(dd,"",[200],"",!0,(pd,fd)=>{const md=getTagsTransformer();if(pd)return ld(pd);let vd;pipesetup(fd,md).on("data",Ad=>vd=Ad).on("error",Ad=>ld(Ad)).on("end",()=>ld(null,vd))})}applyBucketLifecycle(qa,nd,od){const ld="PUT",ud="lifecycle",cd=new Encoder,dd={};let fd=new xml2js.Builder({rootName:"LifecycleConfiguration",headless:!0,renderOpts:{pretty:!1}}).buildObject(nd);fd=Buffer$4.from(cd.encode(fd));const md={method:ld,bucketName:qa,query:ud,headers:dd};dd["Content-MD5"]=toMd5(fd),this.makeRequest(md,fd,[200],"",!1,od)}removeBucketLifecycle(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);this.makeRequest({method:"DELETE",bucketName:qa,query:"lifecycle"},"",[204],"",!1,nd)}setBucketLifecycle(qa,nd=null,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);_.isEmpty(nd)?this.removeBucketLifecycle(qa,od):this.applyBucketLifecycle(qa,nd,od)}getBucketLifecycle(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);const ud={method:"GET",bucketName:qa,query:"lifecycle"};this.makeRequest(ud,"",[200],"",!0,(cd,dd)=>{const pd=lifecycleTransformer();if(cd)return nd(cd);let fd;pipesetup(dd,pd).on("data",md=>fd=md).on("error",md=>nd(md)).on("end",()=>nd(null,fd))})}setObjectLockConfig(qa,nd={},od){const ld=[RETENTION_MODES.COMPLIANCE,RETENTION_MODES.GOVERNANCE],ud=[RETENTION_VALIDITY_UNITS.DAYS,RETENTION_VALIDITY_UNITS.YEARS];if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(nd.mode&&!ld.includes(nd.mode))throw new TypeError(`lockConfigOpts.mode should be one of ${ld}`);if(nd.unit&&!ud.includes(nd.unit))throw new TypeError(`lockConfigOpts.unit should be one of ${ud}`);if(nd.validity&&!isNumber(nd.validity))throw new TypeError("lockConfigOpts.validity should be a number");const cd="PUT",dd="object-lock";let pd={ObjectLockEnabled:"Enabled"};const fd=Object.keys(nd);if(fd.length>0){if(_.difference(fd,["unit","mode","validity"]).length!==0)throw new TypeError("lockConfigOpts.mode,lockConfigOpts.unit,lockConfigOpts.validity all the properties should be specified.");pd.Rule={DefaultRetention:{}},nd.mode&&(pd.Rule.DefaultRetention.Mode=nd.mode),nd.unit===RETENTION_VALIDITY_UNITS.DAYS?pd.Rule.DefaultRetention.Days=nd.validity:nd.unit===RETENTION_VALIDITY_UNITS.YEARS&&(pd.Rule.DefaultRetention.Years=nd.validity)}const vd=new xml2js.Builder({rootName:"ObjectLockConfiguration",renderOpts:{pretty:!1},headless:!0}).buildObject(pd),Ad={};Ad["Content-MD5"]=toMd5(vd),this.makeRequest({method:cd,bucketName:qa,query:dd,headers:Ad},vd,[200],"",!1,od)}getObjectLockConfig(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"object-lock"},"",[200],"",!0,(ud,cd)=>{if(ud)return nd(ud);let dd=Buffer$4.from("");pipesetup(cd,objectLockTransformer()).on("data",pd=>{dd=pd}).on("error",nd).on("end",()=>{nd(null,dd)})})}putObjectRetention(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isObject(od)){if(od.governanceBypass&&!isBoolean(od.governanceBypass))throw new InvalidArgumentError("Invalid value for governanceBypass",od.governanceBypass);if(od.mode&&![RETENTION_MODES.COMPLIANCE,RETENTION_MODES.GOVERNANCE].includes(od.mode))throw new InvalidArgumentError("Invalid object retention mode ",od.mode);if(od.retainUntilDate&&!isString(od.retainUntilDate))throw new InvalidArgumentError("Invalid value for retainUntilDate",od.retainUntilDate);if(od.versionId&&!isString(od.versionId))throw new InvalidArgumentError("Invalid value for versionId",od.versionId)}else throw new InvalidArgumentError('retentionOpts should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');const ud="PUT";let cd="retention";const dd={};od.governanceBypass&&(dd["X-Amz-Bypass-Governance-Retention"]=!0);const pd=new xml2js.Builder({rootName:"Retention",renderOpts:{pretty:!1},headless:!0}),fd={};od.mode&&(fd.Mode=od.mode),od.retainUntilDate&&(fd.RetainUntilDate=od.retainUntilDate),od.versionId&&(cd+=`&versionId=${od.versionId}`);let md=pd.buildObject(fd);dd["Content-MD5"]=toMd5(md),this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:cd,headers:dd},md,[200,204],"",!1,ld)}getObjectRetention(qa,nd,od,ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isObject(od)){if(od.versionId&&!isString(od.versionId))throw new InvalidArgumentError('VersionID should be of type "string"')}else throw new InvalidArgumentError('callback should be of type "object"');if(ld&&!isFunction(ld))throw new InvalidArgumentError('callback should be of type "function"');const ud="GET";let cd="retention";od.versionId&&(cd+=`&versionId=${od.versionId}`),this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:cd},"",[200],"",!0,(dd,pd)=>{if(dd)return ld(dd);let fd=Buffer$4.from("");pipesetup(pd,objectRetentionTransformer()).on("data",md=>{fd=md}).on("error",ld).on("end",()=>{ld(null,fd)})})}setBucketEncryption(qa,nd,od){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(isFunction(nd)&&(od=nd,nd=null),!_.isEmpty(nd)&&nd.Rule.length>1)throw new InvalidArgumentError("Invalid Rule length. Only one rule is allowed.: "+nd.Rule);if(od&&!isFunction(od))throw new TypeError('callback should be of type "function"');let ld=nd;_.isEmpty(nd)&&(ld={Rule:[{ApplyServerSideEncryptionByDefault:{SSEAlgorithm:"AES256"}}]});let ud="PUT",cd="encryption",pd=new xml2js.Builder({rootName:"ServerSideEncryptionConfiguration",renderOpts:{pretty:!1},headless:!0}).buildObject(ld);const fd={};fd["Content-MD5"]=toMd5(pd),this.makeRequest({method:ud,bucketName:qa,query:cd,headers:fd},pd,[200],"",!1,od)}getBucketEncryption(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"GET",bucketName:qa,query:"encryption"},"",[200],"",!0,(ud,cd)=>{if(ud)return nd(ud);let dd=Buffer$4.from("");pipesetup(cd,bucketEncryptionTransformer()).on("data",pd=>{dd=pd}).on("error",nd).on("end",()=>{nd(null,dd)})})}removeBucketEncryption(qa,nd){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isFunction(nd))throw new InvalidArgumentError('callback should be of type "function"');this.makeRequest({method:"DELETE",bucketName:qa,query:"encryption"},"",[204],"",!1,nd)}getObjectLegalHold(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(isFunction(od)&&(ld=od,od={}),isObject(od)){if(Object.keys(od).length>0&&od.versionId&&!isString(od.versionId))throw new TypeError("versionId should be of type string.:",od.versionId)}else throw new TypeError('getOpts should be of type "Object"');if(!isFunction(ld))throw new InvalidArgumentError('callback should be of type "function"');const ud="GET";let cd="legal-hold";od.versionId&&(cd+=`&versionId=${od.versionId}`),this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:cd},"",[200],"",!0,(dd,pd)=>{if(dd)return ld(dd);let fd=Buffer$4.from("");pipesetup(pd,objectLegalHoldTransformer()).on("data",md=>{fd=md}).on("error",ld).on("end",()=>{ld(null,fd)})})}setObjectLegalHold(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError("Invalid bucket name: "+qa);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);const ud={status:LEGAL_HOLD_STATUS.ENABLED};if(isFunction(od)&&(ld=od,od=ud),isObject(od)){if(![LEGAL_HOLD_STATUS.ENABLED,LEGAL_HOLD_STATUS.DISABLED].includes(od.status))throw new TypeError("Invalid status: "+od.status);if(od.versionId&&!od.versionId.length)throw new TypeError("versionId should be of type string.:"+od.versionId)}else throw new TypeError('setOpts should be of type "Object"');if(!isFunction(ld))throw new InvalidArgumentError('callback should be of type "function"');_.isEmpty(od)&&(od={defaultOpts:ud});const cd="PUT";let dd="legal-hold";od.versionId&&(dd+=`&versionId=${od.versionId}`);let pd={Status:od.status};const md=new xml2js.Builder({rootName:"LegalHold",renderOpts:{pretty:!1},headless:!0}).buildObject(pd),vd={};vd["Content-MD5"]=toMd5(md),this.makeRequest({method:cd,bucketName:qa,objectName:nd,query:dd,headers:vd},md,[200],"",!1,ld)}uploadPartCopy(qa,nd){const{bucketName:od,objectName:ld,uploadID:ud,partNumber:cd,headers:dd}=qa,pd="PUT";let fd=`uploadId=${ud}&partNumber=${cd}`;const md={method:pd,bucketName:od,objectName:ld,query:fd,headers:dd};return this.makeRequest(md,"",[200],"",!0,(vd,Ad)=>{let Nd=Buffer$4.from("");if(vd)return nd(vd);pipesetup(Ad,uploadPartTransformer()).on("data",Id=>{Nd=Id}).on("error",nd).on("end",()=>{let Id={etag:sanitizeETag(Nd.ETag),key:ld,part:cd};nd(null,Id)})})}composeObject(qa={},nd=[],od){const ld=this,ud=nd.length;if(!Array.isArray(nd))throw new InvalidArgumentError("sourceConfig should an array of CopySourceOptions ");if(!(qa instanceof CopyDestinationOptions))throw new InvalidArgumentError("destConfig should of type CopyDestinationOptions ");if(ud<1||ud>PART_CONSTRAINTS.MAX_PARTS_COUNT)throw new InvalidArgumentError(`"There must be as least one and up to ${PART_CONSTRAINTS.MAX_PARTS_COUNT} source objects.`);if(!isFunction(od))throw new TypeError('callback should be of type "function"');for(let vd=0;vd{let Ad={};return _.isEmpty(vd.VersionID)||(Ad={versionId:vd.VersionID}),Ad},dd=[];let pd=0,fd=0;const md=nd.map(vd=>ld.statObject(vd.Bucket,vd.Object,cd(vd)));return Promise.all(md).then(vd=>{const Ad=vd.map((Fd,Md)=>{const Ld=nd[Md];let Hd=Fd.size;if(Ld.MatchRange){const Gd=Ld.Start,Vd=Ld.End;if(Vd>=Hd||Gd<0)throw new InvalidArgumentError(`CopySrcOptions ${Md} has invalid segment-to-copy [${Gd}, ${Vd}] (size is ${Hd})`);Hd=Vd-Gd+1}if(HdPART_CONSTRAINTS.MAX_MULTIPART_PUT_OBJECT_SIZE)throw new InvalidArgumentError(`Cannot compose an object of size ${pd} (> 5TiB)`);if(dd[Md]=Hd,fd+=partsRequired(Hd),fd>PART_CONSTRAINTS.MAX_PARTS_COUNT)throw new InvalidArgumentError(`Your proposed compose object requires more than ${PART_CONSTRAINTS.MAX_PARTS_COUNT} parts`);return Fd});if(fd===1&&pd<=PART_CONSTRAINTS.MAX_PART_SIZE||pd===0)return this.copyObject(nd[0],qa,od);for(let Fd=0;FdcalculateEvenSplits(dd[Md],nd[Md]));function Id(Fd){const Md=[];return Nd.forEach((Ld,Hd)=>{const{startIndex:Gd,endIndex:Vd,objInfo:Kd}=Ld;let mf=Hd+1;const Wd=Array.from(Gd),Zd=nd[Hd].getHeaders();Wd.forEach((Xd,bf)=>{let yf=Vd[bf];const Ef=`${Kd.Bucket}/${Kd.Object}`;Zd["x-amz-copy-source"]=`${Ef}`,Zd["x-amz-copy-source-range"]=`bytes=${Xd}-${yf}`;const gf={bucketName:qa.Bucket,objectName:qa.Object,uploadID:Fd,partNumber:mf,headers:Zd,sourceObj:Ef};Md.push(gf)})}),Md}const kd=Fd=>{const Md=Id(Fd);index.map(Md,ld.uploadPartCopy.bind(ld),(Ld,Hd)=>{if(Ld){this.abortMultipartUpload(qa.Bucket,qa.Object,Fd).then(()=>od(),Vd=>od(Vd));return}const Gd=Hd.map(Vd=>({etag:Vd.etag,part:Vd.part}));return ld.completeMultipartUpload(qa.Bucket,qa.Object,Fd,Gd,od)})},jd=qa.getHeaders();ld.initiateNewMultipartUpload(qa.Bucket,qa.Object,jd).then(Fd=>{kd(Fd)},Fd=>{od(Fd,null)})}).catch(vd=>{od(vd,null)})}selectObjectContent(qa,nd,od={},ld){if(!isValidBucketName(qa))throw new InvalidBucketNameError(`Invalid bucket name: ${qa}`);if(!isValidObjectName(nd))throw new InvalidObjectNameError(`Invalid object name: ${nd}`);if(_.isEmpty(od))throw new TypeError("valid select configuration is required");if(!isString(od.expression))throw new TypeError('sqlExpression should be of type "string"');if(_.isEmpty(od.inputSerialization))throw new TypeError("inputSerialization is required");if(!isObject(od.inputSerialization))throw new TypeError('inputSerialization should be of type "object"');if(_.isEmpty(od.outputSerialization))throw new TypeError("outputSerialization is required");if(!isObject(od.outputSerialization))throw new TypeError('outputSerialization should be of type "object"');if(!isFunction(ld))throw new TypeError('callback should be of type "function"');const ud="POST";let cd="select";cd+="&select-type=2";const dd=[{Expression:od.expression},{ExpressionType:od.expressionType||"SQL"},{InputSerialization:[od.inputSerialization]},{OutputSerialization:[od.outputSerialization]}];od.requestProgress&&dd.push({RequestProgress:od.requestProgress}),od.scanRange&&dd.push({ScanRange:od.scanRange});const fd=new xml2js.Builder({rootName:"SelectObjectContentRequest",renderOpts:{pretty:!1},headless:!0}).buildObject(dd);this.makeRequest({method:ud,bucketName:qa,objectName:nd,query:cd},fd,[200],"",!0,(md,vd)=>{if(md)return ld(md);let Ad;pipesetup(vd,selectObjectContentTransformer()).on("data",Nd=>{Ad=parseSelectObjectContentResponse(Nd)}).on("error",ld).on("end",()=>{ld(null,Ad)})})}}Client.prototype.makeBucket=promisify(Client.prototype.makeBucket);Client.prototype.bucketExists=promisify(Client.prototype.bucketExists);Client.prototype.getObject=promisify(Client.prototype.getObject);Client.prototype.getPartialObject=promisify(Client.prototype.getPartialObject);Client.prototype.fGetObject=promisify(Client.prototype.fGetObject);Client.prototype.putObject=promisify(Client.prototype.putObject);Client.prototype.fPutObject=promisify(Client.prototype.fPutObject);Client.prototype.copyObject=promisify(Client.prototype.copyObject);Client.prototype.removeObjects=promisify(Client.prototype.removeObjects);Client.prototype.presignedUrl=promisify(Client.prototype.presignedUrl);Client.prototype.presignedGetObject=promisify(Client.prototype.presignedGetObject);Client.prototype.presignedPutObject=promisify(Client.prototype.presignedPutObject);Client.prototype.presignedPostPolicy=promisify(Client.prototype.presignedPostPolicy);Client.prototype.getBucketNotification=promisify(Client.prototype.getBucketNotification);Client.prototype.setBucketNotification=promisify(Client.prototype.setBucketNotification);Client.prototype.removeAllBucketNotification=promisify(Client.prototype.removeAllBucketNotification);Client.prototype.getBucketPolicy=promisify(Client.prototype.getBucketPolicy);Client.prototype.setBucketPolicy=promisify(Client.prototype.setBucketPolicy);Client.prototype.removeIncompleteUpload=promisify(Client.prototype.removeIncompleteUpload);Client.prototype.getBucketVersioning=promisify(Client.prototype.getBucketVersioning);Client.prototype.setBucketVersioning=promisify(Client.prototype.setBucketVersioning);Client.prototype.setBucketTagging=promisify(Client.prototype.setBucketTagging);Client.prototype.removeBucketTagging=promisify(Client.prototype.removeBucketTagging);Client.prototype.getBucketTagging=promisify(Client.prototype.getBucketTagging);Client.prototype.setObjectTagging=promisify(Client.prototype.setObjectTagging);Client.prototype.removeObjectTagging=promisify(Client.prototype.removeObjectTagging);Client.prototype.getObjectTagging=promisify(Client.prototype.getObjectTagging);Client.prototype.setBucketLifecycle=promisify(Client.prototype.setBucketLifecycle);Client.prototype.getBucketLifecycle=promisify(Client.prototype.getBucketLifecycle);Client.prototype.removeBucketLifecycle=promisify(Client.prototype.removeBucketLifecycle);Client.prototype.setObjectLockConfig=promisify(Client.prototype.setObjectLockConfig);Client.prototype.getObjectLockConfig=promisify(Client.prototype.getObjectLockConfig);Client.prototype.putObjectRetention=promisify(Client.prototype.putObjectRetention);Client.prototype.getObjectRetention=promisify(Client.prototype.getObjectRetention);Client.prototype.setBucketEncryption=promisify(Client.prototype.setBucketEncryption);Client.prototype.getBucketEncryption=promisify(Client.prototype.getBucketEncryption);Client.prototype.removeBucketEncryption=promisify(Client.prototype.removeBucketEncryption);Client.prototype.setObjectLegalHold=promisify(Client.prototype.setObjectLegalHold);Client.prototype.getObjectLegalHold=promisify(Client.prototype.getObjectLegalHold);Client.prototype.composeObject=promisify(Client.prototype.composeObject);Client.prototype.selectObjectContent=promisify(Client.prototype.selectObjectContent);Client.prototype.removeObject=callbackify(Client.prototype.removeObject);Client.prototype.statObject=callbackify(Client.prototype.statObject);Client.prototype.removeBucket=callbackify(Client.prototype.removeBucket);Client.prototype.listBuckets=callbackify(Client.prototype.listBuckets);Client.prototype.removeBucketReplication=callbackify(Client.prototype.removeBucketReplication);Client.prototype.setBucketReplication=callbackify(Client.prototype.setBucketReplication);Client.prototype.getBucketReplication=callbackify(Client.prototype.getBucketReplication);var __extends$3=function(){var Ra=function(qa,nd){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(od,ld){od.__proto__=ld}||function(od,ld){for(var ud in ld)ld.hasOwnProperty(ud)&&(od[ud]=ld[ud])},Ra(qa,nd)};return function(qa,nd){Ra(qa,nd);function od(){this.constructor=qa}qa.prototype=nd===null?Object.create(nd):(od.prototype=nd.prototype,new od)}}(),QiniuErrorName;(function(Ra){Ra.InvalidFile="InvalidFile",Ra.InvalidToken="InvalidToken",Ra.InvalidMetadata="InvalidMetadata",Ra.InvalidChunkSize="InvalidChunkSize",Ra.InvalidCustomVars="InvalidCustomVars",Ra.NotAvailableUploadHost="NotAvailableUploadHost",Ra.ReadCacheFailed="ReadCacheFailed",Ra.InvalidCacheData="InvalidCacheData",Ra.WriteCacheFailed="WriteCacheFailed",Ra.RemoveCacheFailed="RemoveCacheFailed",Ra.GetCanvasContextFailed="GetCanvasContextFailed",Ra.UnsupportedFileType="UnsupportedFileType",Ra.FileReaderReadFailed="FileReaderReadFailed",Ra.NotAvailableXMLHttpRequest="NotAvailableXMLHttpRequest",Ra.InvalidProgressEventTarget="InvalidProgressEventTarget",Ra.RequestError="RequestError"})(QiniuErrorName||(QiniuErrorName={}));var QiniuError=function(){function Ra(qa,nd){this.name=qa,this.message=nd,this.stack=new Error().stack}return Ra}(),QiniuRequestError=function(Ra){__extends$3(qa,Ra);function qa(nd,od,ld,ud){var cd=Ra.call(this,QiniuErrorName.RequestError,ld)||this;return cd.code=nd,cd.reqId=od,cd.isRequestError=!0,cd.data=ud,cd}return qa}(QiniuError),QiniuNetworkError=function(Ra){__extends$3(qa,Ra);function qa(nd,od){return od===void 0&&(od=""),Ra.call(this,0,od,nd)||this}return qa}(QiniuRequestError),Pool=function(){function Ra(qa,nd){this.runTask=qa,this.limit=nd,this.aborted=!1,this.queue=[],this.processing=[]}return Ra.prototype.enqueue=function(qa){var nd=this;return new Promise(function(od,ld){nd.queue.push({task:qa,resolve:od,reject:ld}),nd.check()})},Ra.prototype.run=function(qa){var nd=this;this.queue=this.queue.filter(function(od){return od!==qa}),this.processing.push(qa),this.runTask(qa.task).then(function(){nd.processing=nd.processing.filter(function(od){return od!==qa}),qa.resolve(),nd.check()},function(od){return qa.reject(od)})},Ra.prototype.check=function(){var qa=this;if(!this.aborted){var nd=this.processing.length,od=this.limit-nd;this.queue.slice(0,od).forEach(function(ld){qa.run(ld)})}},Ra.prototype.abort=function(){this.queue=[],this.aborted=!0},Ra}(),__extends$2=function(){var Ra=function(qa,nd){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(od,ld){od.__proto__=ld}||function(od,ld){for(var ud in ld)ld.hasOwnProperty(ud)&&(od[ud]=ld[ud])},Ra(qa,nd)};return function(qa,nd){Ra(qa,nd);function od(){this.constructor=qa}qa.prototype=nd===null?Object.create(nd):(od.prototype=nd.prototype,new od)}}(),__assign$6=function(){return __assign$6=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd"u")return"";var qa=Ra+"",nd="",od,ld,ud=0;od=ld=0,ud=qa.length;for(var cd=0;cd127&&dd<2048)pd=String.fromCharCode(dd>>6|192,dd&63|128);else if((dd&63488^55296)>0)pd=String.fromCharCode(dd>>12|224,dd>>6&63|128,dd&63|128);else{if((dd&64512^55296)>0)throw new RangeError("Unmatched trail surrogate at "+cd);var fd=qa.charCodeAt(++cd);if((fd&64512^56320)>0)throw new RangeError("Unmatched lead surrogate at "+(cd-1));dd=((dd&1023)<<10)+(fd&1023)+65536,pd=String.fromCharCode(dd>>18|240,dd>>12&63|128,dd>>6&63|128,dd&63|128)}pd!==null&&(ld>od&&(nd+=qa.slice(od,ld)),nd+=pd,od=ld=cd+1)}return ld>od&&(nd+=qa.slice(od,ud)),nd}function utf8Decode(Ra){var qa=[],nd=0,od=0,ld=0;for(Ra+="";nd>10&1023)),qa.push(String.fromCharCode(56320|od&1023))):qa.push(String.fromCharCode(od)),nd+=ld}return qa.join("")}function base64Encode(Ra){var qa="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",nd,od,ld,ud,cd,dd,pd,fd,md=0,vd=0,Ad="",Nd=[];if(!Ra)return Ra;Ra=utf8Encode(Ra+"");do nd=Ra.charCodeAt(md++),od=Ra.charCodeAt(md++),ld=Ra.charCodeAt(md++),fd=nd<<16|od<<8|ld,ud=fd>>18&63,cd=fd>>12&63,dd=fd>>6&63,pd=fd&63,Nd[vd++]=qa.charAt(ud)+qa.charAt(cd)+qa.charAt(dd)+qa.charAt(pd);while(md>16&255,od=fd>>8&255,ld=fd&255,dd===64?Nd[vd++]=String.fromCharCode(nd):pd===64?Nd[vd++]=String.fromCharCode(nd,od):Nd[vd++]=String.fromCharCode(nd,od,ld);while(md>>25)+Hd|0,Vd+=(Ld&Hd|~Ld&Gd)+Md[1]-389564586|0,Vd=(Vd<<12|Vd>>>20)+Ld|0,Gd+=(Vd&Ld|~Vd&Hd)+Md[2]+606105819|0,Gd=(Gd<<17|Gd>>>15)+Vd|0,Hd+=(Gd&Vd|~Gd&Ld)+Md[3]-1044525330|0,Hd=(Hd<<22|Hd>>>10)+Gd|0,Ld+=(Hd&Gd|~Hd&Vd)+Md[4]-176418897|0,Ld=(Ld<<7|Ld>>>25)+Hd|0,Vd+=(Ld&Hd|~Ld&Gd)+Md[5]+1200080426|0,Vd=(Vd<<12|Vd>>>20)+Ld|0,Gd+=(Vd&Ld|~Vd&Hd)+Md[6]-1473231341|0,Gd=(Gd<<17|Gd>>>15)+Vd|0,Hd+=(Gd&Vd|~Gd&Ld)+Md[7]-45705983|0,Hd=(Hd<<22|Hd>>>10)+Gd|0,Ld+=(Hd&Gd|~Hd&Vd)+Md[8]+1770035416|0,Ld=(Ld<<7|Ld>>>25)+Hd|0,Vd+=(Ld&Hd|~Ld&Gd)+Md[9]-1958414417|0,Vd=(Vd<<12|Vd>>>20)+Ld|0,Gd+=(Vd&Ld|~Vd&Hd)+Md[10]-42063|0,Gd=(Gd<<17|Gd>>>15)+Vd|0,Hd+=(Gd&Vd|~Gd&Ld)+Md[11]-1990404162|0,Hd=(Hd<<22|Hd>>>10)+Gd|0,Ld+=(Hd&Gd|~Hd&Vd)+Md[12]+1804603682|0,Ld=(Ld<<7|Ld>>>25)+Hd|0,Vd+=(Ld&Hd|~Ld&Gd)+Md[13]-40341101|0,Vd=(Vd<<12|Vd>>>20)+Ld|0,Gd+=(Vd&Ld|~Vd&Hd)+Md[14]-1502002290|0,Gd=(Gd<<17|Gd>>>15)+Vd|0,Hd+=(Gd&Vd|~Gd&Ld)+Md[15]+1236535329|0,Hd=(Hd<<22|Hd>>>10)+Gd|0,Ld+=(Hd&Vd|Gd&~Vd)+Md[1]-165796510|0,Ld=(Ld<<5|Ld>>>27)+Hd|0,Vd+=(Ld&Gd|Hd&~Gd)+Md[6]-1069501632|0,Vd=(Vd<<9|Vd>>>23)+Ld|0,Gd+=(Vd&Hd|Ld&~Hd)+Md[11]+643717713|0,Gd=(Gd<<14|Gd>>>18)+Vd|0,Hd+=(Gd&Ld|Vd&~Ld)+Md[0]-373897302|0,Hd=(Hd<<20|Hd>>>12)+Gd|0,Ld+=(Hd&Vd|Gd&~Vd)+Md[5]-701558691|0,Ld=(Ld<<5|Ld>>>27)+Hd|0,Vd+=(Ld&Gd|Hd&~Gd)+Md[10]+38016083|0,Vd=(Vd<<9|Vd>>>23)+Ld|0,Gd+=(Vd&Hd|Ld&~Hd)+Md[15]-660478335|0,Gd=(Gd<<14|Gd>>>18)+Vd|0,Hd+=(Gd&Ld|Vd&~Ld)+Md[4]-405537848|0,Hd=(Hd<<20|Hd>>>12)+Gd|0,Ld+=(Hd&Vd|Gd&~Vd)+Md[9]+568446438|0,Ld=(Ld<<5|Ld>>>27)+Hd|0,Vd+=(Ld&Gd|Hd&~Gd)+Md[14]-1019803690|0,Vd=(Vd<<9|Vd>>>23)+Ld|0,Gd+=(Vd&Hd|Ld&~Hd)+Md[3]-187363961|0,Gd=(Gd<<14|Gd>>>18)+Vd|0,Hd+=(Gd&Ld|Vd&~Ld)+Md[8]+1163531501|0,Hd=(Hd<<20|Hd>>>12)+Gd|0,Ld+=(Hd&Vd|Gd&~Vd)+Md[13]-1444681467|0,Ld=(Ld<<5|Ld>>>27)+Hd|0,Vd+=(Ld&Gd|Hd&~Gd)+Md[2]-51403784|0,Vd=(Vd<<9|Vd>>>23)+Ld|0,Gd+=(Vd&Hd|Ld&~Hd)+Md[7]+1735328473|0,Gd=(Gd<<14|Gd>>>18)+Vd|0,Hd+=(Gd&Ld|Vd&~Ld)+Md[12]-1926607734|0,Hd=(Hd<<20|Hd>>>12)+Gd|0,Ld+=(Hd^Gd^Vd)+Md[5]-378558|0,Ld=(Ld<<4|Ld>>>28)+Hd|0,Vd+=(Ld^Hd^Gd)+Md[8]-2022574463|0,Vd=(Vd<<11|Vd>>>21)+Ld|0,Gd+=(Vd^Ld^Hd)+Md[11]+1839030562|0,Gd=(Gd<<16|Gd>>>16)+Vd|0,Hd+=(Gd^Vd^Ld)+Md[14]-35309556|0,Hd=(Hd<<23|Hd>>>9)+Gd|0,Ld+=(Hd^Gd^Vd)+Md[1]-1530992060|0,Ld=(Ld<<4|Ld>>>28)+Hd|0,Vd+=(Ld^Hd^Gd)+Md[4]+1272893353|0,Vd=(Vd<<11|Vd>>>21)+Ld|0,Gd+=(Vd^Ld^Hd)+Md[7]-155497632|0,Gd=(Gd<<16|Gd>>>16)+Vd|0,Hd+=(Gd^Vd^Ld)+Md[10]-1094730640|0,Hd=(Hd<<23|Hd>>>9)+Gd|0,Ld+=(Hd^Gd^Vd)+Md[13]+681279174|0,Ld=(Ld<<4|Ld>>>28)+Hd|0,Vd+=(Ld^Hd^Gd)+Md[0]-358537222|0,Vd=(Vd<<11|Vd>>>21)+Ld|0,Gd+=(Vd^Ld^Hd)+Md[3]-722521979|0,Gd=(Gd<<16|Gd>>>16)+Vd|0,Hd+=(Gd^Vd^Ld)+Md[6]+76029189|0,Hd=(Hd<<23|Hd>>>9)+Gd|0,Ld+=(Hd^Gd^Vd)+Md[9]-640364487|0,Ld=(Ld<<4|Ld>>>28)+Hd|0,Vd+=(Ld^Hd^Gd)+Md[12]-421815835|0,Vd=(Vd<<11|Vd>>>21)+Ld|0,Gd+=(Vd^Ld^Hd)+Md[15]+530742520|0,Gd=(Gd<<16|Gd>>>16)+Vd|0,Hd+=(Gd^Vd^Ld)+Md[2]-995338651|0,Hd=(Hd<<23|Hd>>>9)+Gd|0,Ld+=(Gd^(Hd|~Vd))+Md[0]-198630844|0,Ld=(Ld<<6|Ld>>>26)+Hd|0,Vd+=(Hd^(Ld|~Gd))+Md[7]+1126891415|0,Vd=(Vd<<10|Vd>>>22)+Ld|0,Gd+=(Ld^(Vd|~Hd))+Md[14]-1416354905|0,Gd=(Gd<<15|Gd>>>17)+Vd|0,Hd+=(Vd^(Gd|~Ld))+Md[5]-57434055|0,Hd=(Hd<<21|Hd>>>11)+Gd|0,Ld+=(Gd^(Hd|~Vd))+Md[12]+1700485571|0,Ld=(Ld<<6|Ld>>>26)+Hd|0,Vd+=(Hd^(Ld|~Gd))+Md[3]-1894986606|0,Vd=(Vd<<10|Vd>>>22)+Ld|0,Gd+=(Ld^(Vd|~Hd))+Md[10]-1051523|0,Gd=(Gd<<15|Gd>>>17)+Vd|0,Hd+=(Vd^(Gd|~Ld))+Md[1]-2054922799|0,Hd=(Hd<<21|Hd>>>11)+Gd|0,Ld+=(Gd^(Hd|~Vd))+Md[8]+1873313359|0,Ld=(Ld<<6|Ld>>>26)+Hd|0,Vd+=(Hd^(Ld|~Gd))+Md[15]-30611744|0,Vd=(Vd<<10|Vd>>>22)+Ld|0,Gd+=(Ld^(Vd|~Hd))+Md[6]-1560198380|0,Gd=(Gd<<15|Gd>>>17)+Vd|0,Hd+=(Vd^(Gd|~Ld))+Md[13]+1309151649|0,Hd=(Hd<<21|Hd>>>11)+Gd|0,Ld+=(Gd^(Hd|~Vd))+Md[4]-145523070|0,Ld=(Ld<<6|Ld>>>26)+Hd|0,Vd+=(Hd^(Ld|~Gd))+Md[11]-1120210379|0,Vd=(Vd<<10|Vd>>>22)+Ld|0,Gd+=(Ld^(Vd|~Hd))+Md[2]+718787259|0,Gd=(Gd<<15|Gd>>>17)+Vd|0,Hd+=(Vd^(Gd|~Ld))+Md[9]-343485551|0,Hd=(Hd<<21|Hd>>>11)+Gd|0,Fd[0]=Ld+Fd[0]|0,Fd[1]=Hd+Fd[1]|0,Fd[2]=Gd+Fd[2]|0,Fd[3]=Vd+Fd[3]|0}function ud(Fd){var Md=[],Ld;for(Ld=0;Ld<64;Ld+=4)Md[Ld>>2]=Fd.charCodeAt(Ld)+(Fd.charCodeAt(Ld+1)<<8)+(Fd.charCodeAt(Ld+2)<<16)+(Fd.charCodeAt(Ld+3)<<24);return Md}function cd(Fd){var Md=[],Ld;for(Ld=0;Ld<64;Ld+=4)Md[Ld>>2]=Fd[Ld]+(Fd[Ld+1]<<8)+(Fd[Ld+2]<<16)+(Fd[Ld+3]<<24);return Md}function dd(Fd){var Md=Fd.length,Ld=[1732584193,-271733879,-1732584194,271733878],Hd,Gd,Vd,Kd,mf,Wd;for(Hd=64;Hd<=Md;Hd+=64)ld(Ld,ud(Fd.substring(Hd-64,Hd)));for(Fd=Fd.substring(Hd-64),Gd=Fd.length,Vd=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],Hd=0;Hd>2]|=Fd.charCodeAt(Hd)<<(Hd%4<<3);if(Vd[Hd>>2]|=128<<(Hd%4<<3),Hd>55)for(ld(Ld,Vd),Hd=0;Hd<16;Hd+=1)Vd[Hd]=0;return Kd=Md*8,Kd=Kd.toString(16).match(/(.*?)(.{0,8})$/),mf=parseInt(Kd[2],16),Wd=parseInt(Kd[1],16)||0,Vd[14]=mf,Vd[15]=Wd,ld(Ld,Vd),Ld}function pd(Fd){var Md=Fd.length,Ld=[1732584193,-271733879,-1732584194,271733878],Hd,Gd,Vd,Kd,mf,Wd;for(Hd=64;Hd<=Md;Hd+=64)ld(Ld,cd(Fd.subarray(Hd-64,Hd)));for(Fd=Hd-64>2]|=Fd[Hd]<<(Hd%4<<3);if(Vd[Hd>>2]|=128<<(Hd%4<<3),Hd>55)for(ld(Ld,Vd),Hd=0;Hd<16;Hd+=1)Vd[Hd]=0;return Kd=Md*8,Kd=Kd.toString(16).match(/(.*?)(.{0,8})$/),mf=parseInt(Kd[2],16),Wd=parseInt(Kd[1],16)||0,Vd[14]=mf,Vd[15]=Wd,ld(Ld,Vd),Ld}function fd(Fd){var Md="",Ld;for(Ld=0;Ld<4;Ld+=1)Md+=od[Fd>>Ld*8+4&15]+od[Fd>>Ld*8&15];return Md}function md(Fd){var Md;for(Md=0;MdVd?new ArrayBuffer(0):(Kd=Vd-Gd,mf=new ArrayBuffer(Kd),Wd=new Uint8Array(mf),Zd=new Uint8Array(this,Gd,Kd),Wd.set(Zd),mf)}}();function vd(Fd){return/[\u0080-\uFFFF]/.test(Fd)&&(Fd=unescape(encodeURIComponent(Fd))),Fd}function Ad(Fd,Md){var Ld=Fd.length,Hd=new ArrayBuffer(Ld),Gd=new Uint8Array(Hd),Vd;for(Vd=0;Vd>2]|=Md.charCodeAt(Hd)<<(Hd%4<<3);return this._finish(Gd,Ld),Vd=md(this._hash),Fd&&(Vd=kd(Vd)),this.reset(),Vd},jd.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},jd.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},jd.prototype.setState=function(Fd){return this._buff=Fd.buff,this._length=Fd.length,this._hash=Fd.hash,this},jd.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},jd.prototype._finish=function(Fd,Md){var Ld=Md,Hd,Gd,Vd;if(Fd[Ld>>2]|=128<<(Ld%4<<3),Ld>55)for(ld(this._hash,Fd),Ld=0;Ld<16;Ld+=1)Fd[Ld]=0;Hd=this._length*8,Hd=Hd.toString(16).match(/(.*?)(.{0,8})$/),Gd=parseInt(Hd[2],16),Vd=parseInt(Hd[1],16)||0,Fd[14]=Gd,Fd[15]=Vd,ld(this._hash,Fd)},jd.hash=function(Fd,Md){return jd.hashBinary(vd(Fd),Md)},jd.hashBinary=function(Fd,Md){var Ld=dd(Fd),Hd=md(Ld);return Md?kd(Hd):Hd},jd.ArrayBuffer=function(){this.reset()},jd.ArrayBuffer.prototype.append=function(Fd){var Md=Id(this._buff.buffer,Fd),Ld=Md.length,Hd;for(this._length+=Fd.byteLength,Hd=64;Hd<=Ld;Hd+=64)ld(this._hash,cd(Md.subarray(Hd-64,Hd)));return this._buff=Hd-64>2]|=Md[Gd]<<(Gd%4<<3);return this._finish(Hd,Ld),Vd=md(this._hash),Fd&&(Vd=kd(Vd)),this.reset(),Vd},jd.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},jd.ArrayBuffer.prototype.getState=function(){var Fd=jd.prototype.getState.call(this);return Fd.buff=Nd(Fd.buff),Fd},jd.ArrayBuffer.prototype.setState=function(Fd){return Fd.buff=Ad(Fd.buff,!0),jd.prototype.setState.call(this,Fd)},jd.ArrayBuffer.prototype.destroy=jd.prototype.destroy,jd.ArrayBuffer.prototype._finish=jd.prototype._finish,jd.ArrayBuffer.hash=function(Fd,Md){var Ld=pd(new Uint8Array(Fd)),Hd=md(Ld);return Md?kd(Hd):Hd},jd})})(sparkMd5);var sparkMd5Exports=sparkMd5.exports;const SparkMD5=getDefaultExportFromCjs(sparkMd5Exports);var __assign$5=function(){return __assign$5=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]Ra.size)nd=Ra.size;else for(;Ra.size>nd*1e4;)nd*=2;for(var od=[],ld=Math.ceil(Ra.size/nd),ud=0;ud3?qa[1]:qa[0];if(!nd)throw new QiniuError(QiniuErrorName.InvalidToken,"missing assess key field.");var od=null;try{od=JSON.parse(urlSafeBase64Decode(qa[qa.length-1]))}catch{throw new QiniuError(QiniuErrorName.InvalidToken,"token parse failed.")}if(od==null)throw new QiniuError(QiniuErrorName.InvalidToken,"putPolicy is null.");if(od.scope==null)throw new QiniuError(QiniuErrorName.InvalidToken,"scope field is null.");var ld=od.scope.split(":")[0];if(!ld)throw new QiniuError(QiniuErrorName.InvalidToken,"resolve bucketName failed.");return{assessKey:nd,bucketName:ld,scope:od.scope}}function createObjectURL(Ra){var qa=window.URL||window.webkitURL||window.mozURL;return qa.createObjectURL(Ra)}var _a,region={z0:"z0",z1:"z1",z2:"z2",na0:"na0",as0:"as0",cnEast2:"cn-east-2"},regionUphostMap=(_a={},_a[region.z0]={srcUphost:["up.qiniup.com"],cdnUphost:["upload.qiniup.com"]},_a[region.z1]={srcUphost:["up-z1.qiniup.com"],cdnUphost:["upload-z1.qiniup.com"]},_a[region.z2]={srcUphost:["up-z2.qiniup.com"],cdnUphost:["upload-z2.qiniup.com"]},_a[region.na0]={srcUphost:["up-na0.qiniup.com"],cdnUphost:["upload-na0.qiniup.com"]},_a[region.as0]={srcUphost:["up-as0.qiniup.com"],cdnUphost:["upload-as0.qiniup.com"]},_a[region.cnEast2]={srcUphost:["up-cn-east-2.qiniup.com"],cdnUphost:["upload-cn-east-2.qiniup.com"]},_a),stringifyPrimitive=function(Ra){switch(typeof Ra){case"string":return Ra;case"boolean":return Ra?"true":"false";case"number":return isFinite(Ra)?Ra:"";default:return""}},encode=function(Ra,qa,nd,od){return qa=qa||"&",nd=nd||"=",Ra===null&&(Ra=void 0),typeof Ra=="object"?Object.keys(Ra).map(function(ld){var ud=encodeURIComponent(stringifyPrimitive(ld))+nd;return Array.isArray(Ra[ld])?Ra[ld].map(function(cd){return ud+encodeURIComponent(stringifyPrimitive(cd))}).join(qa):ud+encodeURIComponent(stringifyPrimitive(Ra[ld]))}).filter(Boolean).join(qa):od?encodeURIComponent(stringifyPrimitive(od))+nd+encodeURIComponent(stringifyPrimitive(Ra)):""},stringify;stringify=encode;var __assign$4=function(){return __assign$4=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]0?[2,od+"://"+nd.uphost[0]]:(ld=getPutPolicy(qa),[4,getUpHosts(ld.assessKey,ld.bucketName,od)]);case 1:return ud=dd.sent(),cd=ud.data.up.acc.main,[2,od+"://"+cd[0]]}})})}var __assign$3=function(){return __assign$3=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(dd){cd={error:dd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(cd)throw cd.error}}return ud},__spread$3=function(){for(var Ra=[],qa=0;qa1e4*GB)return this.handleError(new QiniuError(QiniuErrorName.InvalidFile,"file size exceed maximum value 10000G")),[2];if(this.putExtra.customVars&&!isCustomVarsValid(this.putExtra.customVars))return this.handleError(new QiniuError(QiniuErrorName.InvalidCustomVars,"customVars key should start width x:")),[2];if(this.putExtra.metadata&&!isMetaDataValid(this.putExtra.metadata))return this.handleError(new QiniuError(QiniuErrorName.InvalidMetadata,"metadata key should start with x-qn-meta-")),[2];ud.label=1;case 1:return ud.trys.push([1,4,,5]),this.uploadAt=new Date().getTime(),[4,this.checkAndUpdateUploadHost()];case 2:return ud.sent(),[4,this.run()];case 3:return qa=ud.sent(),this.onComplete(qa.data),this.checkAndUnfreezeHost(),this.sendLog(qa.reqId,200),[2];case 4:return nd=ud.sent(),this.aborted?(this.logger.warn("upload is aborted."),this.sendLog("",-2),[2]):(this.clear(),this.logger.error(nd),nd instanceof QiniuRequestError&&(this.sendLog(nd.reqId,nd.code),this.checkAndFreezeHost(nd),od=++this.retryCount<=this.config.retryCount,ld=RETRY_CODE_LIST.includes(nd.code),ld&&od)?(this.logger.warn("error auto retry: "+this.retryCount+"/"+this.config.retryCount+"."),this.putFile(),[2]):(this.onError(nd),[3,5]));case 5:return[2]}})})},Ra.prototype.clear=function(){this.xhrList.forEach(function(qa){qa.onreadystatechange=null,qa.abort()}),this.xhrList=[],this.logger.info("cleanup uploading xhr.")},Ra.prototype.stop=function(){this.logger.info("aborted."),this.clear(),this.aborted=!0},Ra.prototype.addXhr=function(qa){this.xhrList.push(qa)},Ra.prototype.sendLog=function(qa,nd){var od,ld;this.logger.report({code:nd,reqId:qa,remoteIp:"",upType:"jssdk-h5",size:this.file.size,time:Math.floor(this.uploadAt/1e3),port:getPortFromUrl((od=this.uploadHost)===null||od===void 0?void 0:od.getUrl()),host:getDomainFromUrl((ld=this.uploadHost)===null||ld===void 0?void 0:ld.getUrl()),bytesSent:this.progress?this.progress.total.loaded:0,duration:Math.floor((new Date().getTime()-this.uploadAt)/1e3)})},Ra.prototype.getProgressInfoItem=function(qa,nd,od){return __assign$3({size:nd,loaded:qa,percent:qa/nd*100},od==null?{}:{fromCache:od})},Ra}(),__extends$1=function(){var Ra=function(qa,nd){return Ra=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(od,ld){od.__proto__=ld}||function(od,ld){for(var ud in ld)ld.hasOwnProperty(ud)&&(od[ud]=ld[ud])},Ra(qa,nd)};return function(qa,nd){Ra(qa,nd);function od(){this.constructor=qa}qa.prototype=nd===null?Object.create(nd):(od.prototype=nd.prototype,new od)}}(),__assign$2=function(){return __assign$2=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]1024)throw new QiniuError(QiniuErrorName.InvalidChunkSize,"chunkSize maximum value is 1024");return[4,this.initBeforeUploadChunks()];case 1:pd.sent(),nd=new Pool(function(fd){return __awaiter$4(dd,void 0,void 0,function(){return __generator$4(this,function(md){switch(md.label){case 0:if(this.aborted)throw nd.abort(),new Error("pool is aborted");return[4,this.uploadChunk(fd)];case 1:return md.sent(),[2]}})})},this.config.concurrentRequestLimit),od=null,ld=this.getLocalKey(),ud=this.chunks.map(function(fd,md){return nd.enqueue({chunk:fd,index:md})}),pd.label=2;case 2:return pd.trys.push([2,5,,6]),[4,Promise.all(ud)];case 3:return pd.sent(),[4,this.mkFileReq()];case 4:return od=pd.sent(),[3,6];case 5:throw cd=pd.sent(),cd instanceof QiniuRequestError&&(cd.code===612||cd.code===400)&&removeLocalFileInfo(ld,this.logger),cd;case 6:return removeLocalFileInfo(ld,this.logger),[2,od]}})})},qa.prototype.uploadChunk=function(nd){return __awaiter$4(this,void 0,void 0,function(){var od,ld,ud,cd,dd,pd,fd,md,vd,Ad=this;return __generator$4(this,function(Nd){switch(Nd.label){case 0:return od=nd.index,ld=nd.chunk,ud=this.cachedUploadedList[od],this.logger.info("upload part "+od+", cache:",ud),cd=this.config.checkByMD5,dd=function(){Ad.usedCacheList[od]=!0,Ad.updateChunkProgress(ld.size,od),Ad.uploadedList[od]=ud,Ad.updateLocalCache()},ud&&!cd?(dd(),[2]):[4,computeMd5(ld)];case 1:return pd=Nd.sent(),this.logger.info("computed part md5.",pd),ud&&pd===ud.md5?(dd(),[2]):(this.usedCacheList[od]=!1,fd=function(Id){Ad.updateChunkProgress(Id.loaded,od)},md={body:ld,md5:this.config.checkByServer?pd:void 0,onProgress:fd,onCreate:function(Id){return Ad.addXhr(Id)}},this.logger.info("part "+od+" start uploading."),[4,uploadChunk(this.token,this.key,nd.index+1,this.getUploadInfo(),md)]);case 2:return vd=Nd.sent(),this.logger.info("part "+od+" upload completed."),fd({loaded:ld.size,total:ld.size}),this.uploadedList[od]={etag:vd.data.etag,md5:vd.data.md5,size:ld.size},this.updateLocalCache(),[2]}})})},qa.prototype.mkFileReq=function(){return __awaiter$4(this,void 0,void 0,function(){var nd,od,ld=this;return __generator$4(this,function(ud){switch(ud.label){case 0:return nd=__assign$2(__assign$2(__assign$2({parts:this.uploadedList.map(function(cd,dd){return{etag:cd.etag,partNumber:dd+1}}),fname:this.putExtra.fname},this.putExtra.mimeType&&{mimeType:this.putExtra.mimeType}),this.putExtra.customVars&&{customVars:this.putExtra.customVars}),this.putExtra.metadata&&{metadata:this.putExtra.metadata}),this.logger.info("parts upload completed, make file.",nd),[4,uploadComplete(this.token,this.key,this.getUploadInfo(),{onCreate:function(cd){return ld.addXhr(cd)},body:JSON.stringify(nd)})];case 1:return od=ud.sent(),this.logger.info("finish Resume Progress."),this.updateMkFileProgress(1),[2,od]}})})},qa.prototype.initBeforeUploadChunks=function(){return __awaiter$4(this,void 0,void 0,function(){var nd,od,ld;return __generator$4(this,function(ud){switch(ud.label){case 0:return this.uploadedList=[],this.usedCacheList=[],nd=getLocalFileInfo(this.getLocalKey(),this.logger),nd?[3,2]:(this.logger.info("init upload parts from api."),[4,initUploadParts(this.token,this.bucketName,this.key,this.uploadHost.getUrl())]);case 1:return od=ud.sent(),this.logger.info("initd upload parts of id: "+od.data.uploadId+"."),this.uploadId=od.data.uploadId,this.cachedUploadedList=[],[3,3];case 2:ld=["resume upload parts from local cache,","total "+nd.data.length+" part,","id is "+nd.id+"."],this.logger.info(ld.join(" ")),this.cachedUploadedList=nd.data,this.uploadId=nd.id,ud.label=3;case 3:return this.chunks=getChunks(this.file,this.config.chunkSize),this.loaded={mkFileProgress:0,chunks:this.chunks.map(function(cd){return 0})},this.notifyResumeProgress(),[2]}})})},qa.prototype.getUploadInfo=function(){return{id:this.uploadId,url:this.uploadHost.getUrl()}},qa.prototype.getLocalKey=function(){return createLocalKey(this.file.name,this.key,this.file.size)},qa.prototype.updateLocalCache=function(){setLocalFileInfo(this.getLocalKey(),{id:this.uploadId,data:this.uploadedList},this.logger)},qa.prototype.updateChunkProgress=function(nd,od){this.loaded.chunks[od]=nd,this.notifyResumeProgress()},qa.prototype.updateMkFileProgress=function(nd){this.loaded.mkFileProgress=nd,this.notifyResumeProgress()},qa.prototype.notifyResumeProgress=function(){var nd=this;this.progress={total:this.getProgressInfoItem(sum(this.loaded.chunks)+this.loaded.mkFileProgress,this.file.size+1),chunks:this.chunks.map(function(od,ld){var ud=nd.usedCacheList[ld];return nd.getProgressInfoItem(nd.loaded.chunks[ld],od.size,ud)}),uploadInfo:{id:this.uploadId,url:this.uploadHost.getUrl()}},this.onData(this.progress)},qa}(Base),__awaiter$3=function(Ra,qa,nd,od){function ld(ud){return ud instanceof nd?ud:new nd(function(cd){cd(ud)})}return new(nd||(nd=Promise))(function(ud,cd){function dd(md){try{fd(od.next(md))}catch(vd){cd(vd)}}function pd(md){try{fd(od.throw(md))}catch(vd){cd(vd)}}function fd(md){md.done?ud(md.value):ld(md.value).then(dd,pd)}fd((od=od.apply(Ra,qa||[])).next())})},__generator$3=function(Ra,qa){var nd={label:0,sent:function(){if(ud[0]&1)throw ud[1];return ud[1]},trys:[],ops:[]},od,ld,ud,cd;return cd={next:dd(0),throw:dd(1),return:dd(2)},typeof Symbol=="function"&&(cd[Symbol.iterator]=function(){return this}),cd;function dd(fd){return function(md){return pd([fd,md])}}function pd(fd){if(od)throw new TypeError("Generator is already executing.");for(;nd;)try{if(od=1,ld&&(ud=fd[0]&2?ld.return:fd[0]?ld.throw||((ud=ld.return)&&ud.call(ld),0):ld.next)&&!(ud=ud.call(ld,fd[1])).done)return ud;switch(ld=0,ud&&(fd=[fd[0]&2,ud.value]),fd[0]){case 0:case 1:ud=fd;break;case 4:return nd.label++,{value:fd[1],done:!1};case 5:nd.label++,ld=fd[1],fd=[0];continue;case 7:fd=nd.ops.pop(),nd.trys.pop();continue;default:if(ud=nd.trys,!(ud=ud.length>0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]>>1^3988292384:od>>>=1;qa[nd]=od}return qa},Ra.prototype.append=function(qa){for(var nd=this.crc,od=0;od>>8^this.table[(nd^qa[od])&255];this.crc=nd},Ra.prototype.compute=function(){return(this.crc^-1)>>>0},Ra.prototype.readAsUint8Array=function(qa){return __awaiter$3(this,void 0,void 0,function(){var nd;return __generator$3(this,function(od){switch(od.label){case 0:return typeof qa.arrayBuffer!="function"?[3,2]:(nd=Uint8Array.bind,[4,qa.arrayBuffer()]);case 1:return[2,new(nd.apply(Uint8Array,[void 0,od.sent()]))];case 2:return[2,new Promise(function(ld,ud){var cd=new FileReader;cd.onload=function(){if(cd.result==null){ud();return}if(typeof cd.result=="string"){ud();return}ld(new Uint8Array(cd.result))},cd.readAsArrayBuffer(qa)})]}})})},Ra.prototype.file=function(qa){return __awaiter$3(this,void 0,void 0,function(){var nd,od,ld,ud,cd,dd;return __generator$3(this,function(pd){switch(pd.label){case 0:return qa.size<=MB?(nd=this.append,[4,this.readAsUint8Array(qa)]):[3,2];case 1:return nd.apply(this,[pd.sent()]),[2,this.compute()];case 2:od=Math.ceil(qa.size/MB),ld=0,pd.label=3;case 3:return ld0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]0&&reportV3(Ra,qa,nd-1)};var ld=[qa.code||"",qa.reqId||"",qa.host||"",qa.remoteIp||"",qa.port||"",qa.duration||"",qa.time||"",qa.bytesSent||"",qa.upType||"",qa.size||""].join(",");od.send(ld)}var __read$2=function(Ra,qa){var nd=typeof Symbol=="function"&&Ra[Symbol.iterator];if(!nd)return Ra;var od=nd.call(Ra),ld,ud=[],cd;try{for(;(qa===void 0||qa-- >0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(dd){cd={error:dd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(cd)throw cd.error}}return ud},__spread$2=function(){for(var Ra=[],qa=0;qa0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(dd){cd={error:dd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(cd)throw cd.error}}return ud},__spread$1=function(){for(var Ra=[],qa=0;qa=qa},Ra.prototype.freeze=function(qa){qa===void 0&&(qa=20);var nd=new Date().getTime()+qa*1e3;unfreezeTimeMap.set(this.host,nd)},Ra.prototype.unfreeze=function(){unfreezeTimeMap.delete(this.host)},Ra.prototype.getUrl=function(){return this.protocol+"://"+this.host},Ra.prototype.getUnfreezeTime=function(){return unfreezeTimeMap.get(this.host)},Ra}(),HostPool=function(){function Ra(qa){qa===void 0&&(qa=[]),this.initHosts=qa,this.cachedHostsMap=new Map}return Ra.prototype.register=function(qa,nd,od,ld){this.cachedHostsMap.set(qa+"@"+nd,od.map(function(ud){return new Host(ud,ld)}))},Ra.prototype.refresh=function(qa,nd,od){var ld,ud,cd,dd;return __awaiter$1(this,void 0,void 0,function(){var pd,fd,md;return __generator$1(this,function(vd){switch(vd.label){case 0:return pd=this.cachedHostsMap.get(qa+"@"+nd)||[],pd.length>0?[2]:this.initHosts.length>0?(this.register(qa,nd,this.initHosts,od),[2]):[4,getUpHosts(qa,nd,od)];case 1:return fd=vd.sent(),(fd==null?void 0:fd.data)!=null&&(md=__spread$1(((ud=(ld=fd.data.up)===null||ld===void 0?void 0:ld.acc)===null||ud===void 0?void 0:ud.main)||[],((dd=(cd=fd.data.up)===null||cd===void 0?void 0:cd.acc)===null||dd===void 0?void 0:dd.backup)||[]),this.register(qa,nd,md,od)),[2]}})})},Ra.prototype.getUp=function(qa,nd,od){return __awaiter$1(this,void 0,void 0,function(){var ld,ud,cd;return __generator$1(this,function(dd){switch(dd.label){case 0:return[4,this.refresh(qa,nd,od)];case 1:return dd.sent(),ld=this.cachedHostsMap.get(qa+"@"+nd)||[],ld.length===0?[2,null]:(ud=ld.filter(function(pd){return!pd.isFrozen()}),ud.length>0?[2,ud[0]]:(cd=ld.slice().sort(function(pd,fd){return(pd.getUnfreezeTime()||0)-(fd.getUnfreezeTime()||0)}),[2,cd[0]]))}})})},Ra}();function createUploadManager(Ra,qa,nd,od){return Ra.config&&Ra.config.forceDirect?(od.info("ues forceDirect mode."),new Direct(Ra,qa,nd,od)):Ra.file.size>4*MB?(od.info("file size over 4M, use Resume."),new Resume(Ra,qa,nd,od)):(od.info("file size less or equal than 4M, use Direct."),new Direct(Ra,qa,nd,od))}function upload(Ra,qa,nd,od,ld){var ud=new Logger(nd,ld==null?void 0:ld.disableStatisticsReport,ld==null?void 0:ld.debugLogLevel,Ra.name),cd={file:Ra,key:qa,token:nd,putExtra:od,config:normalizeUploadConfig(ld,ud)},dd=new HostPool(cd.config.uphost);return new Observable(function(pd){var fd=createUploadManager(cd,{onData:function(md){return pd.next(md)},onError:function(md){return pd.error(md)},onComplete:function(md){return pd.complete(md)}},dd,ud);return fd.putFile(),fd.stop.bind(fd)})}var __assign$1=function(){return __assign$1=Object.assign||function(Ra){for(var qa,nd=1,od=arguments.length;nd0)&&!(ld=od.next()).done;)ud.push(ld.value)}catch(dd){cd={error:dd}}finally{try{ld&&!ld.done&&(nd=od.return)&&nd.call(od)}finally{if(cd)throw cd.error}}return ud},__spread=function(){for(var Ra=[],qa=0;qa0&&ud[ud.length-1])&&(fd[0]===6||fd[0]===2)){nd=0;continue}if(fd[0]===3&&(!ud||fd[1]>ud[0]&&fd[1]this.file.size&&this.config.noCompressIfLarger?[2,{dist:this.file,width:qa.width,height:qa.height}]:[2,{dist:cd,width:ud.width,height:ud.height}]}})})},Ra.prototype.clear=function(qa,nd,od){this.outputType===defaultType?(qa.fillStyle="#fff",qa.fillRect(0,0,nd,od)):qa.clearRect(0,0,nd,od)},Ra.prototype.getOriginImage=function(){var qa=this;return new Promise(function(nd,od){var ld=createObjectURL(qa.file),ud=new Image;ud.onload=function(){nd(ud)},ud.onerror=function(){od("image load error")},ud.src=ld})},Ra.prototype.getCanvas=function(qa){var nd=this;return new Promise(function(od,ld){var ud=document.createElement("canvas"),cd=ud.getContext("2d");if(!cd){ld(new QiniuError(QiniuErrorName.GetCanvasContextFailed,"context is null"));return}var dd=qa.width,pd=qa.height;ud.height=pd,ud.width=dd,nd.clear(cd,dd,pd),cd.drawImage(qa,0,0),od(ud)})},Ra.prototype.doScale=function(qa,nd){return __awaiter(this,void 0,void 0,function(){var od,ld,ud,cd,dd,pd,fd,md,vd,Ad,Nd,Id,kd,jd,Fd,Md;return __generator(this,function(Ld){if(nd===1)return[2,qa];if(od=qa.getContext("2d"),ld=Math.min(maxSteps,Math.ceil(1/nd/scaleFactor)),ud=Math.pow(nd,1/ld),cd=document.createElement("canvas"),dd=cd.getContext("2d"),pd=qa.width,fd=qa.height,md=pd,vd=fd,cd.width=pd,cd.height=fd,!dd||!od)throw new QiniuError(QiniuErrorName.GetCanvasContextFailed,"mctx or sctx can't be null");for(Id=0;Id>>31);for(Md=0;Md<80;Md++)Fd=(vd<<5|vd>>>27)+kd+jd[Md],Md<20?Fd+=(Ad&Nd|~Ad&Id)+1518500249|0:Md<40?Fd+=(Ad^Nd^Id)+1859775393|0:Md<60?Fd+=(Ad&Nd|Ad&Id|Nd&Id)+2400959708|0:Fd+=(Ad^Nd^Id)+3395469782|0,kd=Id,Id=Nd,Nd=Ad<<30|Ad>>>2,Ad=vd,vd=Fd;this.current[0]+=vd,this.current[1]+=Ad,this.current[2]+=Nd,this.current[3]+=Id,this.current[4]+=kd,this.currentLen+=64},od.prototype.doPadding=function(){var md=(this.inLen+this.currentLen)*8,vd=0,Ad=md&4294967295,Nd=this.inLen<=55?55-this.inLen:119-this.inLen,Id=new Uint8Array(new ArrayBuffer(Nd+1+8));return Id[0]=128,Id[Id.length-1]=Ad&255,Id[Id.length-2]=Ad>>>8&255,Id[Id.length-3]=Ad>>>16&255,Id[Id.length-4]=Ad>>>24&255,Id[Id.length-5]=vd&255,Id[Id.length-6]=vd>>>8&255,Id[Id.length-7]=vd>>>16&255,Id[Id.length-8]=vd>>>24&255,Id},od.prototype.getDigest=function(){var md=new Uint8Array(new ArrayBuffer(20));return md[3]=this.current[0]&255,md[2]=this.current[0]>>>8&255,md[1]=this.current[0]>>>16&255,md[0]=this.current[0]>>>24&255,md[7]=this.current[1]&255,md[6]=this.current[1]>>>8&255,md[5]=this.current[1]>>>16&255,md[4]=this.current[1]>>>24&255,md[11]=this.current[2]&255,md[10]=this.current[2]>>>8&255,md[9]=this.current[2]>>>16&255,md[8]=this.current[2]>>>24&255,md[15]=this.current[3]&255,md[14]=this.current[3]>>>8&255,md[13]=this.current[3]>>>16&255,md[12]=this.current[3]>>>24&255,md[19]=this.current[4]&255,md[18]=this.current[4]>>>8&255,md[17]=this.current[4]>>>16&255,md[16]=this.current[4]>>>24&255,md.buffer},od.prototype.reset=function(){this.currentLen=0,this.inLen=0,this.current=new Uint32Array(new ArrayBuffer(20)),this.current[0]=1732584193,this.current[1]=4023233417,this.current[2]=2562383102,this.current[3]=271733878,this.current[4]=3285377520},od.prototype.blockLen=64,od.prototype.digestLen=20;var ld=function(md){var vd=new ArrayBuffer(md.length),Ad=new Uint8Array(vd),Nd;for(Nd=0;Nd255)throw"For more than one byte, use an array buffer";if(md<0)throw"Input value must be positive";return ud(md)}else throw"Unsupported type"},dd=function(md){var vd=function(Id){for(var kd=Id.length,jd=0;kd>0;){var Fd=this.blockLen-this.inLen;Fd>kd&&(Fd=kd);var Md=Id.subarray(jd,jd+Fd);this.inbuf.set(Md,this.inLen),jd+=Fd,kd-=Fd,this.inLen+=Fd,this.inLen===this.blockLen&&(this.processBlock(this.inbuf),this.inLen=0)}},Ad=function(){var Id=this.doPadding();this.update(Id);var kd=this.getDigest();return this.reset(),kd},Nd=function(){if(!md)throw"Unsupported algorithm: "+md.toString();md.prototype.update=vd,md.prototype.finalize=Ad;var Id=new md;return Id.inbuf=new Uint8Array(new ArrayBuffer(Id.blockLen)),Id.reset(),Id}();return{update:function(Id){Nd.update(cd(Id))},finalize:function(){return Nd.finalize()},digest:function(Id){return Nd.update(cd(Id)),Nd.finalize()},reset:function(){Nd.reset()},digestLength:function(){return Nd.digestLen}}},pd=function(md){var vd=!1,Ad,Nd,Id,kd=function(){var Ld,Hd;if(!vd){if(Ad===void 0)throw"MAC key is not defined";for(Ad.byteLength>64?Hd=new Uint8Array(md.digest(Ad)):Hd=new Uint8Array(Ad),Nd=new Uint8Array(new ArrayBuffer(64)),Ld=0;LdQd[0]?1:Vd[0]"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");getRandomValues=crypto.getRandomValues.bind(crypto)}return getRandomValues(rnds8)}const randomUUID=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),native={randomUUID};function v4(Ra,qa,nd){if(native.randomUUID&&!qa&&!Ra)return native.randomUUID();Ra=Ra||{};const od=Ra.random||(Ra.rng||rng)();if(od[6]=od[6]&15|64,od[8]=od[8]&63|128,qa){nd=nd||0;for(let ld=0;ld<16;++ld)qa[nd+ld]=od[ld];return qa}return unsafeStringify(od)}function getConfig(Ra,qa){if(Ra){const ld=qa==="github"?githubConfig:giteeConfig,{username:ud,repoList:cd,branch:dd,accessTokenList:pd}=ld,fd=Math.floor(Math.random()*pd.length),md=pd[fd].replace("doocsmd",""),vd=Math.floor(Math.random()*cd.length),Ad=cd[vd];return{username:ud,repo:Ad,branch:dd,accessToken:md}}const nd=JSON.parse(localStorage.getItem(`${qa}Config`)),od=nd.repo.replace(`https://${qa}.com/`,"").replace(`http://${qa}.com/`,"").replace(`${qa}.com/`,"").split("/");return{username:od[0],repo:od[1],branch:nd.branch||"master",accessToken:nd.accessToken}}function getDir(){const Ra=new Date,qa=Ra.getFullYear(),nd=(Ra.getMonth()+1).toString().padStart(2,"0"),od=Ra.getDate().toString().padStart(2,"0");return`${qa}/${nd}/${od}`}function getDateFilename(Ra){const qa=new Date().getTime(),nd=Ra.split(".")[1];return`${qa}-${v4()}.${nd}`}async function ghFileUpload(Ra,qa){var Nd;const nd=localStorage.getItem("imgHost")==="default",{username:od,repo:ld,branch:ud,accessToken:cd}=getConfig(nd,"github"),dd=getDir(),pd=`https://api.github.com/repos/${od}/${ld}/contents/${dd}/`,fd=getDateFilename(qa),md=await service({url:pd+fd,method:"put",headers:{Authorization:`token ${cd}`},data:{content:Ra,branch:ud,message:`Upload by ${window.location.href}`}}),vd=`raw.githubusercontent.com/${od}/${ld}/${ud}/`,Ad=`fastly.jsdelivr.net/gh/${od}/${ld}@${ud}/`;return md.content=((Nd=md.data)==null?void 0:Nd.content)||md.content,nd?md.content.download_url.replace(vd,Ad):md.content.download_url}async function giteeUpload(Ra,qa){var vd;const nd=localStorage.getItem("imgHost")==="default",{username:od,repo:ld,branch:ud,accessToken:cd}=getConfig(nd,"gitee"),dd=getDir(),pd=getDateFilename(qa),fd=`https://gitee.com/api/v5/repos/${od}/${ld}/contents/${dd}/${pd}`,md=await service({url:fd,method:"POST",data:{content:Ra,branch:ud,access_token:cd,message:`Upload by ${window.location.href}`}});return md.content=((vd=md.data)==null?void 0:vd.content)||md.content,encodeURI(md.content.download_url)}function getQiniuToken(Ra,qa,nd){const od=JSON.stringify(nd),ld=base64encode(utf16to8(od)),cd=CryptoJS.HmacSHA1(ld,qa).toString(CryptoJS.enc.Base64);return`${Ra}:${safe64(cd)}:${ld}`}async function qiniuUpload(Ra){const{accessKey:qa,secretKey:nd,bucket:od,region:ld,path:ud,domain:cd}=JSON.parse(localStorage.getItem("qiniuConfig")),dd=getQiniuToken(qa,nd,{scope:od,deadline:Math.trunc(new Date().getTime()/1e3)+3600}),fd=(ud?`${ud}/`:"")+getDateFilename(Ra.name),md=upload(Ra,fd,dd,{},{region:ld});return new Promise((vd,Ad)=>{md.subscribe({next:Nd=>{console.log(Nd)},error:Nd=>{Ad(Nd.message)},complete:Nd=>{vd(`${cd}/${Nd.key}`)}})})}async function aliOSSFileUpload(Ra){const qa=getDateFilename(Ra.name),{region:nd,bucket:od,accessKeyId:ld,accessKeySecret:ud,useSSL:cd,cdnHost:dd,path:pd}=JSON.parse(localStorage.getItem("aliOSSConfig")),fd=pd?`${pd}/${qa}`:qa,md=cd===void 0||cd,vd=md?"https":"http",Ad=new OSS({region:nd,bucket:od,accessKeyId:ld,accessKeySecret:ud,secure:md});try{return await Ad.put(fd,Ra),dd?`${dd}/${fd}`:`${vd}://${od}.${nd}.aliyuncs.com/${fd}`}catch(Nd){return Promise.reject(Nd)}}async function txCOSFileUpload(Ra){const qa=getDateFilename(Ra.name),{secretId:nd,secretKey:od,bucket:ld,region:ud,path:cd,cdnHost:dd}=JSON.parse(localStorage.getItem("txCOSConfig")),pd=new COS({SecretId:nd,SecretKey:od});return new Promise((fd,md)=>{pd.putObject({Bucket:ld,Region:ud,Key:`${cd}/${qa}`,Body:Ra},(vd,Ad)=>{vd?md(vd):fd(dd?cd===""?`${dd}/${qa}`:`${dd}/${cd}/${qa}`:`https://${Ad.Location}`)})})}async function minioFileUpload(Ra,qa){const nd=getDateFilename(qa),{endpoint:od,port:ld,useSSL:ud,bucket:cd,accessKey:dd,secretKey:pd}=JSON.parse(localStorage.getItem("minioConfig")),fd=Buffer$1(Ra,"base64"),md={endPoint:od,useSSL:ud,accessKey:dd,secretKey:pd},vd=Number(ld||0),Ad=vd>0&&vd!==80&&vd!==443;return Ad&&(md.port=vd),new Promise((Nd,Id)=>{const kd=new Client(md);try{kd.putObject(cd,nd,fd,jd=>{jd&&Id(jd);const Md=`${`${ud?"https://":"http://"}${od}${Ad?`:${ld}`:""}`}/${cd}/${nd}`;Nd(Md)})}catch(jd){Id(jd)}})}async function getMpToken(Ra,qa,nd){const od=localStorage.getItem(`mpToken:${Ra}`);if(od){const dd=JSON.parse(od);if(dd.expire&&dd.expire>new Date().getTime())return dd.access_token}const ld={method:"POST",data:{grant_type:"client_credential",appid:Ra,secret:qa}};let ud="https://api.weixin.qq.com/cgi-bin/stable_token";nd&&(ud=`${nd}/cgi-bin/stable_token`);const cd=await service(ud,ld);if(cd.access_token){const dd={...cd,expire:new Date().getTime()+cd.expires_in*1e3};return localStorage.setItem(`mpToken:${Ra}`,JSON.stringify(dd)),cd.access_token}return""}async function mpFileUpload(Ra){const{appID:qa,appsecret:nd,proxyOrigin:od}=JSON.parse(localStorage.getItem("mpConfig"));return new Promise(async(ld,ud)=>{try{const cd=await getMpToken(qa,nd,od).catch(Ad=>console.error(Ad));if(!cd){ud(new Error("获取 access_token 失败,请检查console日志"));return}const dd=new FormData;dd.append("media",Ra,Ra.name);const pd={method:"POST",data:dd};let fd=`https://api.weixin.qq.com/cgi-bin/material/add_material?access_token=${cd}&type=image`;od&&(fd=`${od}/cgi-bin/material/add_material?access_token=${cd}&type=image`);let vd=(await service(fd,pd)).url;od&&window.location.href.startsWith("http")&&(vd=`https://wsrv.nl?url=${encodeURIComponent(vd)}`),ld(vd)}catch(cd){ud(cd)}})}async function formCustomUpload(content,file){const str=` +`)}),Id}function vd(Nd,Id,kd){Nd===void 0&&(Nd=""),Id===void 0&&(Id="");var jd="";Nd&&(jd+="/"+Nd),Id&&(Id.charAt(0)!=="/"&&(jd+="/"),jd+=Id);var Fd=""+jd,Md="?";if(kd){var Ld=function(Vd,Kd){return Vd[0]>Kd[0]?1:Vd[0]"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");getRandomValues=crypto.getRandomValues.bind(crypto)}return getRandomValues(rnds8)}const randomUUID=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),native={randomUUID};function v4(Ra,qa,nd){if(native.randomUUID&&!qa&&!Ra)return native.randomUUID();Ra=Ra||{};const od=Ra.random||(Ra.rng||rng)();if(od[6]=od[6]&15|64,od[8]=od[8]&63|128,qa){nd=nd||0;for(let ld=0;ld<16;++ld)qa[nd+ld]=od[ld];return qa}return unsafeStringify(od)}function getConfig(Ra,qa){if(Ra){const ld=qa==="github"?githubConfig:giteeConfig,{username:ud,repoList:cd,branch:dd,accessTokenList:pd}=ld,fd=Math.floor(Math.random()*pd.length),md=pd[fd].replace("doocsmd",""),vd=Math.floor(Math.random()*cd.length),Ad=cd[vd];return{username:ud,repo:Ad,branch:dd,accessToken:md}}const nd=JSON.parse(localStorage.getItem(`${qa}Config`)),od=nd.repo.replace(`https://${qa}.com/`,"").replace(`http://${qa}.com/`,"").replace(`${qa}.com/`,"").split("/");return{username:od[0],repo:od[1],branch:nd.branch||"master",accessToken:nd.accessToken}}function getDir(){const Ra=new Date,qa=Ra.getFullYear(),nd=(Ra.getMonth()+1).toString().padStart(2,"0"),od=Ra.getDate().toString().padStart(2,"0");return`${qa}/${nd}/${od}`}function getDateFilename(Ra){const qa=new Date().getTime(),nd=Ra.split(".")[1];return`${qa}-${v4()}.${nd}`}async function ghFileUpload(Ra,qa){var Nd;const nd=localStorage.getItem("imgHost")==="default",{username:od,repo:ld,branch:ud,accessToken:cd}=getConfig(nd,"github"),dd=getDir(),pd=`https://api.github.com/repos/${od}/${ld}/contents/${dd}/`,fd=getDateFilename(qa),md=await service({url:pd+fd,method:"put",headers:{Authorization:`token ${cd}`},data:{content:Ra,branch:ud,message:`Upload by ${window.location.href}`}}),vd=`raw.githubusercontent.com/${od}/${ld}/${ud}/`,Ad=`fastly.jsdelivr.net/gh/${od}/${ld}@${ud}/`;return md.content=((Nd=md.data)==null?void 0:Nd.content)||md.content,nd?md.content.download_url.replace(vd,Ad):md.content.download_url}async function giteeUpload(Ra,qa){var vd;const nd=localStorage.getItem("imgHost")==="default",{username:od,repo:ld,branch:ud,accessToken:cd}=getConfig(nd,"gitee"),dd=getDir(),pd=getDateFilename(qa),fd=`https://gitee.com/api/v5/repos/${od}/${ld}/contents/${dd}/${pd}`,md=await service({url:fd,method:"POST",data:{content:Ra,branch:ud,access_token:cd,message:`Upload by ${window.location.href}`}});return md.content=((vd=md.data)==null?void 0:vd.content)||md.content,encodeURI(md.content.download_url)}function getQiniuToken(Ra,qa,nd){const od=JSON.stringify(nd),ld=base64encode(utf16to8(od)),cd=CryptoJS.HmacSHA1(ld,qa).toString(CryptoJS.enc.Base64);return`${Ra}:${safe64(cd)}:${ld}`}async function qiniuUpload(Ra){const{accessKey:qa,secretKey:nd,bucket:od,region:ld,path:ud,domain:cd}=JSON.parse(localStorage.getItem("qiniuConfig")),dd=getQiniuToken(qa,nd,{scope:od,deadline:Math.trunc(new Date().getTime()/1e3)+3600}),fd=(ud?`${ud}/`:"")+getDateFilename(Ra.name),md=upload(Ra,fd,dd,{},{region:ld});return new Promise((vd,Ad)=>{md.subscribe({next:Nd=>{console.log(Nd)},error:Nd=>{Ad(Nd.message)},complete:Nd=>{vd(`${cd}/${Nd.key}`)}})})}async function aliOSSFileUpload(Ra){const qa=getDateFilename(Ra.name),{region:nd,bucket:od,accessKeyId:ld,accessKeySecret:ud,useSSL:cd,cdnHost:dd,path:pd}=JSON.parse(localStorage.getItem("aliOSSConfig")),fd=pd?`${pd}/${qa}`:qa,md=cd===void 0||cd,vd=md?"https":"http",Ad=new OSS({region:nd,bucket:od,accessKeyId:ld,accessKeySecret:ud,secure:md});try{return await Ad.put(fd,Ra),dd?`${dd}/${fd}`:`${vd}://${od}.${nd}.aliyuncs.com/${fd}`}catch(Nd){return Promise.reject(Nd)}}async function txCOSFileUpload(Ra){const qa=getDateFilename(Ra.name),{secretId:nd,secretKey:od,bucket:ld,region:ud,path:cd,cdnHost:dd}=JSON.parse(localStorage.getItem("txCOSConfig")),pd=new COS({SecretId:nd,SecretKey:od});return new Promise((fd,md)=>{pd.putObject({Bucket:ld,Region:ud,Key:`${cd}/${qa}`,Body:Ra},(vd,Ad)=>{vd?md(vd):fd(dd?cd===""?`${dd}/${qa}`:`${dd}/${cd}/${qa}`:`https://${Ad.Location}`)})})}async function minioFileUpload(Ra,qa){const nd=getDateFilename(qa),{endpoint:od,port:ld,useSSL:ud,bucket:cd,accessKey:dd,secretKey:pd}=JSON.parse(localStorage.getItem("minioConfig")),fd=Buffer$1(Ra,"base64"),md={endPoint:od,useSSL:ud,accessKey:dd,secretKey:pd},vd=Number(ld||0),Ad=vd>0&&vd!==80&&vd!==443;return Ad&&(md.port=vd),new Promise((Nd,Id)=>{const kd=new Client(md);try{kd.putObject(cd,nd,fd,jd=>{jd&&Id(jd);const Md=`${`${ud?"https://":"http://"}${od}${Ad?`:${ld}`:""}`}/${cd}/${nd}`;Nd(Md)})}catch(jd){Id(jd)}})}async function getMpToken(Ra,qa,nd){const od=localStorage.getItem(`mpToken:${Ra}`);if(od){const dd=JSON.parse(od);if(dd.expire&&dd.expire>new Date().getTime())return dd.access_token}const ld={method:"POST",data:{grant_type:"client_credential",appid:Ra,secret:qa}};let ud="https://api.weixin.qq.com/cgi-bin/stable_token";nd&&(ud=`${nd}/cgi-bin/stable_token`);const cd=await service(ud,ld);if(cd.access_token){const dd={...cd,expire:new Date().getTime()+cd.expires_in*1e3};return localStorage.setItem(`mpToken:${Ra}`,JSON.stringify(dd)),cd.access_token}return""}async function mpFileUpload(Ra){const{appID:qa,appsecret:nd,proxyOrigin:od}=JSON.parse(localStorage.getItem("mpConfig"));return new Promise(async(ld,ud)=>{try{const cd=await getMpToken(qa,nd,od).catch(Ad=>console.error(Ad));if(!cd){ud(new Error("获取 access_token 失败,请检查console日志"));return}const dd=new FormData;dd.append("media",Ra,Ra.name);const pd={method:"POST",data:dd};let fd=`https://api.weixin.qq.com/cgi-bin/material/add_material?access_token=${cd}&type=image`;od&&(fd=`${od}/cgi-bin/material/add_material?access_token=${cd}&type=image`);let vd=(await service(fd,pd)).url;od&&window.location.href.startsWith("http")&&(vd=`https://wsrv.nl?url=${encodeURIComponent(vd)}`),ld(vd)}catch(cd){ud(cd)}})}async function formCustomUpload(content,file){const str=` async (CUSTOM_ARG) => { ${localStorage.getItem("formCustomConfig")} } - `;return new Promise((resolve,reject)=>{const exportObj={content,file,util:{axios:service,CryptoJS,OSS,COS,Buffer:Buffer$1,uuidv4:v4,qiniu,tokenTools,getDir,getDateFilename},okCb:resolve,errCb:reject};eval(str)(exportObj).catch(Ra=>{console.error(Ra),reject(Ra)})})}function fileUpload(Ra,qa){const nd=localStorage.getItem("imgHost");switch(nd||localStorage.setItem("imgHost","default"),nd){case"aliOSS":return aliOSSFileUpload(qa);case"minio":return minioFileUpload(Ra,qa.name);case"txCOS":return txCOSFileUpload(qa);case"qiniu":return qiniuUpload(qa);case"gitee":return giteeUpload(Ra,qa.name);case"github":return ghFileUpload(Ra,qa.name);case"mp":return mpFileUpload(qa);case"formCustom":return formCustomUpload(Ra,qa);default:return ghFileUpload(Ra,qa.name)}}const fileApi={fileUpload},_hoisted_1={class:"container-main flex-1"},_hoisted_2={class:"container-main-section h-full flex border-1"},_hoisted_3=["span"],_hoisted_4={class:"preview border shadow-xl"},_hoisted_5=["innerHTML"],_hoisted_6={key:0,class:"loading-mask"},_sfc_main$1=defineComponent({__name:"CodemirrorEditor",setup(Ra){const qa=useStore(),nd=useDisplayStore(),{isDark:od,output:ld,editor:ud}=storeToRefs(qa),{isShowCssEditor:cd}=storeToRefs(nd),{editorRefresh:dd,exportEditorContent2HTML:pd,exportEditorContent2MD:fd,formatContent:md,importMarkdownContent:vd,resetStyleConfirm:Ad}=qa,{toggleShowInsertFormDialog:Nd,toggleShowUploadImgDialog:Id}=nd,kd=ref$1(!1),jd=ref$1(),Fd=ref$1(null);function Md(){const Af=ih=>{let Zf,jf;clearTimeout(jd.value),ih==="preview"?(Zf=Fd.value,jf=document.querySelector(".CodeMirror-scroll"),ud.value.off("scroll",Lf),jd.value=setTimeout(()=>{ud.value.on("scroll",Lf)},300)):(Zf=document.querySelector(".CodeMirror-scroll"),jf=Fd.value,jf.removeEventListener("scroll",Xf,!1),jd.value=setTimeout(()=>{jf.addEventListener("scroll",Xf,!1)},300));const Uf=Zf.scrollTop/(Zf.scrollHeight-Zf.offsetHeight)*(jf.scrollHeight-jf.offsetHeight);jf.scrollTo(0,Uf)};function Lf(){Af("editor")}function Xf(){Af("preview")}Fd.value.addEventListener("scroll",Xf,!1),ud.value.on("scroll",Lf)}onMounted(()=>{setTimeout(()=>{Md()},300)});function Ld(){dd()}const Hd=ref$1(!1),Gd=ref$1(!1);function Vd(){Gd.value=!0,Hd.value=!0}function Qd(){Hd.value=!1,setTimeout(()=>{Gd.value=!1},800)}function mf(Af){const Lf=checkImage(Af);if(!Lf.ok)return Ke$1.error(Lf.msg),!1;const Xf=localStorage.getItem("imgHost")||"default";localStorage.setItem("imgHost",Xf);const ih=localStorage.getItem(`${Xf}Config`);return Xf==="default"||ih?!0:(Ke$1.error(`请先配置 ${Xf} 图床参数`),!1)}function Yd(Af){if(!Af){Ke$1.error("上传图片未知异常");return}Id(!1);const Lf=ud.value.getCursor(),Xf=`![](${Af})`;toRaw(qa.editor).replaceSelection(` + `;return new Promise((resolve,reject)=>{const exportObj={content,file,util:{axios:service,CryptoJS,OSS,COS,Buffer:Buffer$1,uuidv4:v4,qiniu,tokenTools,getDir,getDateFilename},okCb:resolve,errCb:reject};eval(str)(exportObj).catch(Ra=>{console.error(Ra),reject(Ra)})})}function fileUpload(Ra,qa){const nd=localStorage.getItem("imgHost");switch(nd||localStorage.setItem("imgHost","default"),nd){case"aliOSS":return aliOSSFileUpload(qa);case"minio":return minioFileUpload(Ra,qa.name);case"txCOS":return txCOSFileUpload(qa);case"qiniu":return qiniuUpload(qa);case"gitee":return giteeUpload(Ra,qa.name);case"github":return ghFileUpload(Ra,qa.name);case"mp":return mpFileUpload(qa);case"formCustom":return formCustomUpload(Ra,qa);default:return ghFileUpload(Ra,qa.name)}}const fileApi={fileUpload},_hoisted_1={class:"container-main flex-1"},_hoisted_2={class:"container-main-section h-full flex border-1"},_hoisted_3=["span"],_hoisted_4={class:"preview border shadow-xl"},_hoisted_5=["innerHTML"],_hoisted_6={key:0,class:"loading-mask"},_sfc_main$1=defineComponent({__name:"CodemirrorEditor",setup(Ra){const qa=useStore(),nd=useDisplayStore(),{isDark:od,output:ld,editor:ud}=storeToRefs(qa),{isShowCssEditor:cd}=storeToRefs(nd),{editorRefresh:dd,exportEditorContent2HTML:pd,exportEditorContent2MD:fd,formatContent:md,importMarkdownContent:vd,resetStyleConfirm:Ad}=qa,{toggleShowInsertFormDialog:Nd,toggleShowUploadImgDialog:Id}=nd,kd=ref$1(!1),jd=ref$1(),Fd=ref$1(null);function Md(){const Af=Jf=>{let Zf,Bf;clearTimeout(jd.value),Jf==="preview"?(Zf=Fd.value,Bf=document.querySelector(".CodeMirror-scroll"),ud.value.off("scroll",Lf),jd.value=setTimeout(()=>{ud.value.on("scroll",Lf)},300)):(Zf=document.querySelector(".CodeMirror-scroll"),Bf=Fd.value,Bf.removeEventListener("scroll",Xf,!1),jd.value=setTimeout(()=>{Bf.addEventListener("scroll",Xf,!1)},300));const Uf=Zf.scrollTop/(Zf.scrollHeight-Zf.offsetHeight)*(Bf.scrollHeight-Bf.offsetHeight);Bf.scrollTo(0,Uf)};function Lf(){Af("editor")}function Xf(){Af("preview")}Fd.value.addEventListener("scroll",Xf,!1),ud.value.on("scroll",Lf)}onMounted(()=>{setTimeout(()=>{Md()},300)});function Ld(){dd()}const Hd=ref$1(!1),Gd=ref$1(!1);function Vd(){Gd.value=!0,Hd.value=!0}function Kd(){Hd.value=!1,setTimeout(()=>{Gd.value=!1},800)}function mf(Af){const Lf=checkImage(Af);if(!Lf.ok)return Ke$1.error(Lf.msg),!1;const Xf=localStorage.getItem("imgHost")||"default";localStorage.setItem("imgHost",Xf);const Jf=localStorage.getItem(`${Xf}Config`);return Xf==="default"||Jf?!0:(Ke$1.error(`请先配置 ${Xf} 图床参数`),!1)}function Wd(Af){if(!Af){Ke$1.error("上传图片未知异常");return}Id(!1);const Lf=ud.value.getCursor(),Xf=`![](${Af})`;toRaw(qa.editor).replaceSelection(` ${Xf} -`,Lf),Ke$1.success("图片上传成功")}function Zd(Af,Lf){kd.value=!0,toBase64$1(Af).then(Xf=>fileApi.fileUpload(Xf,Af)).then(Xf=>{Lf?Lf(Xf):Yd(Xf)}).catch(Xf=>{Ke$1.error(Xf.message)}).finally(()=>{kd.value=!1})}const Kd=ref$1();watch(od,()=>{var Lf,Xf;const Af=od.value?"darcula":"xq-light";(Xf=(Lf=toRaw(ud.value))==null?void 0:Lf.setOption)==null||Xf.call(Lf,"theme",Af)});function bf(){const Af=document.querySelector("#editor");Af.value||(Af.value=qa.posts[qa.currentPostIndex].content),ud.value=CodeMirror.fromTextArea(Af,{mode:"text/x-markdown",theme:od.value?"darcula":"xq-light",lineNumbers:!1,lineWrapping:!0,styleActiveLine:!0,autoCloseBrackets:!0,extraKeys:{[`${shiftKey}-${altKey}-F`]:function(Xf){formatDoc(Xf.getValue()).then(ih=>{Xf.setValue(ih)})},[`${ctrlKey}-B`]:function(Xf){const ih=Xf.getSelection();Xf.replaceSelection(`**${ih}**`)},[`${ctrlKey}-I`]:function(Xf){const ih=Xf.getSelection();Xf.replaceSelection(`*${ih}*`)},[`${ctrlKey}-D`]:function(Xf){const ih=Xf.getSelection();Xf.replaceSelection(`~~${ih}~~`)},[`${ctrlKey}-K`]:function(Xf){const ih=Xf.getSelection();Xf.replaceSelection(`[${ih}]()`)},[`${ctrlKey}-E`]:function(Xf){const ih=Xf.getSelection();Xf.replaceSelection(`\`${ih}\``)},[`${ctrlKey}-L`]:function(Xf){const ih=Xf.getSelection();Xf.replaceSelection(`\`${ih}\``)}}}),ud.value.on("change",Lf=>{clearTimeout(Kd.value),Kd.value=setTimeout(()=>{Ld(),qa.posts[qa.currentPostIndex].content=Lf.getValue()},300)}),ud.value.on("paste",(Lf,Xf)=>{if(!(!(Xf.clipboardData&&Xf.clipboardData.items)||kd.value))for(let ih=0,Zf=Xf.clipboardData.items.length;ih{const If=[...Zf.str.matchAll(/!\[(.*?)\]\((.*?)\)/g)||[]].filter(Kf=>Kf),Uf=Zf.path.match(/.+?\//)[0];(await Promise.all(If.map(Kf=>new Promise(Tf=>{let[,,vf]=Kf;vf=vf.replace(/^.\//,"");const{file:Gf}=jf.find(Jf=>Jf.path===`${Uf}${vf}`)||{};Zd(Gf,Jf=>{Tf({matchStr:vf,url:Jf})})})))).forEach(Kf=>{Zf.str=Zf.str.replace(`](./${Kf.matchStr})`,`](${Kf.url})`).replace(`](${Kf.matchStr})`,`](${Kf.url})`)}),ud.value.setValue(Zf.str)};Af.ondragover=Zf=>Zf.preventDefault(),Af.ondrop=async Zf=>{Zf.preventDefault();for(const jf of Zf.dataTransfer.items)jf.getAsFileSystemHandle().then(async If=>{if(If.kind==="directory"){const Uf=await ih(If),qf=await Xf({list:Uf});Lf({md:qf,list:Uf})}else{const Uf=await If.getFile();console.log("file",Uf)}})};async function Xf({list:Zf}){return new Promise(jf=>{const{path:If,file:Uf}=Zf.find(Kf=>Kf.path.match(/\.md$/)),qf=new FileReader;qf.readAsText(Uf,"UTF-8"),qf.onload=Kf=>{jf({str:Kf.target.result,file:Uf,path:If})}})}async function ih(Zf){const jf=[];let If="";try{const Uf=[Zf];for(const qf of Uf){If+=`${qf.name}/`;for await(const[,Kf]of qf)Kf.kind==="file"?jf.push({path:If+Kf.name,file:await Kf.getFile()}):(jf.push({path:`${If+Kf.name}/`}),Uf.push(Kf))}}catch(Uf){console.error(Uf)}return jf}}return onMounted(()=>{bf(),Ld(),xf()}),(Af,Lf)=>(openBlock(),createElementBlock("div",{ref_key:"container",ref:gf,class:"container flex flex-col"},[createVNode(EditorHeader,{onAddFormat:Ef,onFormatContent:unref(md),onStartCopy:Vd,onEndCopy:Qd},null,8,["onFormatContent"]),createBaseVNode("main",_hoisted_1,[createBaseVNode("div",_hoisted_2,[createVNode(_sfc_main$d),createBaseVNode("div",{ref_key:"codeMirrorWrapper",ref:yf,class:normalizeClass(["codeMirror-wrapper flex-1 border-r-1",{"order-1":!unref(qa).isEditOnLeft}])},[createVNode(unref(_sfc_main$7),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$2),null,{default:withCtx(()=>Lf[9]||(Lf[9]=[createBaseVNode("textarea",{id:"editor",type:"textarea",placeholder:"Your markdown text here."},null,-1)])),_:1}),createVNode(unref(_sfc_main$6),{class:"w-64"},{default:withCtx(()=>[createVNode(unref(_sfc_main$5),{inset:"",onClick:Lf[0]||(Lf[0]=Xf=>unref(Id)())},{default:withCtx(()=>Lf[10]||(Lf[10]=[createTextVNode(" 上传图片 ")])),_:1}),createVNode(unref(_sfc_main$5),{inset:"",onClick:Lf[1]||(Lf[1]=Xf=>unref(Nd)())},{default:withCtx(()=>Lf[11]||(Lf[11]=[createTextVNode(" 插入表格 ")])),_:1}),createVNode(unref(_sfc_main$5),{inset:"",onClick:Lf[2]||(Lf[2]=Xf=>unref(Ad)())},{default:withCtx(()=>Lf[12]||(Lf[12]=[createTextVNode(" 恢复默认样式 ")])),_:1}),createVNode(unref(_sfc_main$4)),createVNode(unref(_sfc_main$5),{inset:"",onClick:Lf[3]||(Lf[3]=Xf=>unref(vd)())},{default:withCtx(()=>Lf[13]||(Lf[13]=[createTextVNode(" 导入 .md 文档 ")])),_:1}),createVNode(unref(_sfc_main$5),{inset:"",onClick:Lf[4]||(Lf[4]=Xf=>unref(fd)())},{default:withCtx(()=>Lf[14]||(Lf[14]=[createTextVNode(" 导出 .md 文档 ")])),_:1}),createVNode(unref(_sfc_main$5),{inset:"",onClick:Lf[5]||(Lf[5]=Xf=>unref(pd)())},{default:withCtx(()=>Lf[15]||(Lf[15]=[createTextVNode(" 导出 .html ")])),_:1}),createVNode(unref(_sfc_main$5),{inset:"",onClick:Lf[6]||(Lf[6]=Xf=>unref(md)())},{default:withCtx(()=>[Lf[16]||(Lf[16]=createTextVNode(" 格式化 ")),createVNode(unref(_sfc_main$3),null,{default:withCtx(()=>[createTextVNode(toDisplayString(unref(altSign))+" + "+toDisplayString(unref(shiftSign))+" + F",1)]),_:1})]),_:1})]),_:1})]),_:1})],2),createBaseVNode("div",{id:"preview",ref_key:"preview",ref:Fd,span:unref(cd)?8:12,class:"preview-wrapper flex-1 p-5"},[createBaseVNode("div",{id:"output-wrapper",class:normalizeClass({output_night:!Hd.value})},[createBaseVNode("div",_hoisted_4,[createBaseVNode("section",{id:"output",innerHTML:unref(ld)},null,8,_hoisted_5),Gd.value?(openBlock(),createElementBlock("div",_hoisted_6,Lf[17]||(Lf[17]=[createBaseVNode("div",{class:"loading-mask-box"},[createBaseVNode("div",{class:"loading__img"}),createBaseVNode("span",null,"正在生成")],-1)]))):createCommentVNode("",!0)])],2)],8,_hoisted_3),createVNode(CssEditor,{class:"flex-1"})])]),createVNode(_sfc_main$9,{onUploadImage:Zd}),createVNode(_sfc_main$i),createVNode(RunLoading),createVNode(unref(_sfc_main$1k),{open:unref(qa).isOpenConfirmDialog,"onUpdate:open":Lf[8]||(Lf[8]=Xf=>unref(qa).isOpenConfirmDialog=Xf)},{default:withCtx(()=>[createVNode(unref(_sfc_main$1g),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$1d),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$1c),null,{default:withCtx(()=>Lf[18]||(Lf[18]=[createTextVNode("提示")])),_:1}),createVNode(unref(_sfc_main$1f),null,{default:withCtx(()=>Lf[19]||(Lf[19]=[createTextVNode(" 此操作将丢失本地自定义样式,是否继续? ")])),_:1})]),_:1}),createVNode(unref(_sfc_main$1e),null,{default:withCtx(()=>[createVNode(unref(_sfc_main$1h),null,{default:withCtx(()=>Lf[20]||(Lf[20]=[createTextVNode("取消")])),_:1}),createVNode(unref(_sfc_main$1i),{onClick:Lf[7]||(Lf[7]=Xf=>unref(qa).resetStyle())},{default:withCtx(()=>Lf[21]||(Lf[21]=[createTextVNode(" 确认 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])],512))}}),CodemirrorEditor=_export_sfc(_sfc_main$1,[["__scopeId","data-v-90d03d29"]]),_sfc_main=defineComponent({__name:"App",setup(Ra){return(qa,nd)=>(openBlock(),createBlock(CodemirrorEditor))}});var css={exports:{}};(function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){nd.defineMode("css",function(Zd,Kd){var bf=Kd.inline;Kd.propertyKeywords||(Kd=nd.resolveMode("text/css"));var gf=Zd.indentUnit,Ef=Kd.tokenHooks,yf=Kd.documentTypes||{},xf=Kd.mediaTypes||{},Af=Kd.mediaFeatures||{},Lf=Kd.mediaValueKeywords||{},Xf=Kd.propertyKeywords||{},ih=Kd.nonStandardPropertyKeywords||{},Zf=Kd.fontProperties||{},jf=Kd.counterDescriptors||{},If=Kd.colorKeywords||{},Uf=Kd.valueKeywords||{},qf=Kd.allowNested,Kf=Kd.lineComment,Tf=Kd.supportsAtComponent===!0,vf=Zd.highlightNonStandardPropertyKeywords!==!1,Gf,Jf;function gh(dh,Vh){return Gf=Vh,dh}function th(dh,Vh){var wh=dh.next();if(Ef[wh]){var fm=Ef[wh](dh,Vh);if(fm!==!1)return fm}if(wh=="@")return dh.eatWhile(/[\w\\\-]/),gh("def",dh.current());if(wh=="="||(wh=="~"||wh=="|")&&dh.eat("="))return gh(null,"compare");if(wh=='"'||wh=="'")return Vh.tokenize=Pf(wh),Vh.tokenize(dh,Vh);if(wh=="#")return dh.eatWhile(/[\w\\\-]/),gh("atom","hash");if(wh=="!")return dh.match(/^\s*\w*/),gh("keyword","important");if(/\d/.test(wh)||wh=="."&&dh.eat(/\d/))return dh.eatWhile(/[\w.%]/),gh("number","unit");if(wh==="-"){if(/[\d.]/.test(dh.peek()))return dh.eatWhile(/[\w.%]/),gh("number","unit");if(dh.match(/^-[\w\\\-]*/))return dh.eatWhile(/[\w\\\-]/),dh.match(/^\s*:/,!1)?gh("variable-2","variable-definition"):gh("variable-2","variable");if(dh.match(/^\w+-/))return gh("meta","meta")}else return/[,+>*\/]/.test(wh)?gh(null,"select-op"):wh=="."&&dh.match(/^-?[_a-z][_a-z0-9-]*/i)?gh("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(wh)?gh(null,wh):dh.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(dh.current())&&(Vh.tokenize=uh),gh("variable callee","variable")):/[\w\\\-]/.test(wh)?(dh.eatWhile(/[\w\\\-]/),gh("property","word")):gh(null,null)}function Pf(dh){return function(Vh,wh){for(var fm=!1,Nm;(Nm=Vh.next())!=null;){if(Nm==dh&&!fm){dh==")"&&Vh.backUp(1);break}fm=!fm&&Nm=="\\"}return(Nm==dh||!fm&&dh!=")")&&(wh.tokenize=null),gh("string","string")}}function uh(dh,Vh){return dh.next(),dh.match(/^\s*[\"\')]/,!1)?Vh.tokenize=null:Vh.tokenize=Pf(")"),gh(null,"(")}function xh(dh,Vh,wh){this.type=dh,this.indent=Vh,this.prev=wh}function Qf(dh,Vh,wh,fm){return dh.context=new xh(wh,Vh.indentation()+(fm===!1?0:gf),dh.context),wh}function Nf(dh){return dh.context.prev&&(dh.context=dh.context.prev),dh.context.type}function $f(dh,Vh,wh){return Th[wh.context.type](dh,Vh,wh)}function Wf(dh,Vh,wh,fm){for(var Nm=fm||1;Nm>0;Nm--)wh.context=wh.context.prev;return $f(dh,Vh,wh)}function vh(dh){var Vh=dh.current().toLowerCase();Uf.hasOwnProperty(Vh)?Jf="atom":If.hasOwnProperty(Vh)?Jf="keyword":Jf="variable"}var Th={};return Th.top=function(dh,Vh,wh){if(dh=="{")return Qf(wh,Vh,"block");if(dh=="}"&&wh.context.prev)return Nf(wh);if(Tf&&/@component/i.test(dh))return Qf(wh,Vh,"atComponentBlock");if(/^@(-moz-)?document$/i.test(dh))return Qf(wh,Vh,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(dh))return Qf(wh,Vh,"atBlock");if(/^@(font-face|counter-style)/i.test(dh))return wh.stateArg=dh,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(dh))return"keyframes";if(dh&&dh.charAt(0)=="@")return Qf(wh,Vh,"at");if(dh=="hash")Jf="builtin";else if(dh=="word")Jf="tag";else{if(dh=="variable-definition")return"maybeprop";if(dh=="interpolation")return Qf(wh,Vh,"interpolation");if(dh==":")return"pseudo";if(qf&&dh=="(")return Qf(wh,Vh,"parens")}return wh.context.type},Th.block=function(dh,Vh,wh){if(dh=="word"){var fm=Vh.current().toLowerCase();return Xf.hasOwnProperty(fm)?(Jf="property","maybeprop"):ih.hasOwnProperty(fm)?(Jf=vf?"string-2":"property","maybeprop"):qf?(Jf=Vh.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(Jf+=" error","maybeprop")}else return dh=="meta"?"block":!qf&&(dh=="hash"||dh=="qualifier")?(Jf="error","block"):Th.top(dh,Vh,wh)},Th.maybeprop=function(dh,Vh,wh){return dh==":"?Qf(wh,Vh,"prop"):$f(dh,Vh,wh)},Th.prop=function(dh,Vh,wh){if(dh==";")return Nf(wh);if(dh=="{"&&qf)return Qf(wh,Vh,"propBlock");if(dh=="}"||dh=="{")return Wf(dh,Vh,wh);if(dh=="(")return Qf(wh,Vh,"parens");if(dh=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(Vh.current()))Jf+=" error";else if(dh=="word")vh(Vh);else if(dh=="interpolation")return Qf(wh,Vh,"interpolation");return"prop"},Th.propBlock=function(dh,Vh,wh){return dh=="}"?Nf(wh):dh=="word"?(Jf="property","maybeprop"):wh.context.type},Th.parens=function(dh,Vh,wh){return dh=="{"||dh=="}"?Wf(dh,Vh,wh):dh==")"?Nf(wh):dh=="("?Qf(wh,Vh,"parens"):dh=="interpolation"?Qf(wh,Vh,"interpolation"):(dh=="word"&&vh(Vh),"parens")},Th.pseudo=function(dh,Vh,wh){return dh=="meta"?"pseudo":dh=="word"?(Jf="variable-3",wh.context.type):$f(dh,Vh,wh)},Th.documentTypes=function(dh,Vh,wh){return dh=="word"&&yf.hasOwnProperty(Vh.current())?(Jf="tag",wh.context.type):Th.atBlock(dh,Vh,wh)},Th.atBlock=function(dh,Vh,wh){if(dh=="(")return Qf(wh,Vh,"atBlock_parens");if(dh=="}"||dh==";")return Wf(dh,Vh,wh);if(dh=="{")return Nf(wh)&&Qf(wh,Vh,qf?"block":"top");if(dh=="interpolation")return Qf(wh,Vh,"interpolation");if(dh=="word"){var fm=Vh.current().toLowerCase();fm=="only"||fm=="not"||fm=="and"||fm=="or"?Jf="keyword":xf.hasOwnProperty(fm)?Jf="attribute":Af.hasOwnProperty(fm)?Jf="property":Lf.hasOwnProperty(fm)?Jf="keyword":Xf.hasOwnProperty(fm)?Jf="property":ih.hasOwnProperty(fm)?Jf=vf?"string-2":"property":Uf.hasOwnProperty(fm)?Jf="atom":If.hasOwnProperty(fm)?Jf="keyword":Jf="error"}return wh.context.type},Th.atComponentBlock=function(dh,Vh,wh){return dh=="}"?Wf(dh,Vh,wh):dh=="{"?Nf(wh)&&Qf(wh,Vh,qf?"block":"top",!1):(dh=="word"&&(Jf="error"),wh.context.type)},Th.atBlock_parens=function(dh,Vh,wh){return dh==")"?Nf(wh):dh=="{"||dh=="}"?Wf(dh,Vh,wh,2):Th.atBlock(dh,Vh,wh)},Th.restricted_atBlock_before=function(dh,Vh,wh){return dh=="{"?Qf(wh,Vh,"restricted_atBlock"):dh=="word"&&wh.stateArg=="@counter-style"?(Jf="variable","restricted_atBlock_before"):$f(dh,Vh,wh)},Th.restricted_atBlock=function(dh,Vh,wh){return dh=="}"?(wh.stateArg=null,Nf(wh)):dh=="word"?(wh.stateArg=="@font-face"&&!Zf.hasOwnProperty(Vh.current().toLowerCase())||wh.stateArg=="@counter-style"&&!jf.hasOwnProperty(Vh.current().toLowerCase())?Jf="error":Jf="property","maybeprop"):"restricted_atBlock"},Th.keyframes=function(dh,Vh,wh){return dh=="word"?(Jf="variable","keyframes"):dh=="{"?Qf(wh,Vh,"top"):$f(dh,Vh,wh)},Th.at=function(dh,Vh,wh){return dh==";"?Nf(wh):dh=="{"||dh=="}"?Wf(dh,Vh,wh):(dh=="word"?Jf="tag":dh=="hash"&&(Jf="builtin"),"at")},Th.interpolation=function(dh,Vh,wh){return dh=="}"?Nf(wh):dh=="{"||dh==";"?Wf(dh,Vh,wh):(dh=="word"?Jf="variable":dh!="variable"&&dh!="("&&dh!=")"&&(Jf="error"),"interpolation")},{startState:function(dh){return{tokenize:null,state:bf?"block":"top",stateArg:null,context:new xh(bf?"block":"top",dh||0,null)}},token:function(dh,Vh){if(!Vh.tokenize&&dh.eatSpace())return null;var wh=(Vh.tokenize||th)(dh,Vh);return wh&&typeof wh=="object"&&(Gf=wh[1],wh=wh[0]),Jf=wh,Gf!="comment"&&(Vh.state=Th[Vh.state](Gf,dh,Vh)),Jf},indent:function(dh,Vh){var wh=dh.context,fm=Vh&&Vh.charAt(0),Nm=wh.indent;return wh.type=="prop"&&(fm=="}"||fm==")")&&(wh=wh.prev),wh.prev&&(fm=="}"&&(wh.type=="block"||wh.type=="top"||wh.type=="interpolation"||wh.type=="restricted_atBlock")?(wh=wh.prev,Nm=wh.indent):(fm==")"&&(wh.type=="parens"||wh.type=="atBlock_parens")||fm=="{"&&(wh.type=="at"||wh.type=="atBlock"))&&(Nm=Math.max(0,wh.indent-gf))),Nm},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:Kf,fold:"brace"}});function od(Zd){for(var Kd={},bf=0;bf!?|~^@]/,Id=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function kd(fh){for(var Bh=!1,Mm,zm=!1;(Mm=fh.next())!=null;){if(!Bh){if(Mm=="/"&&!zm)return;Mm=="["?zm=!0:zm&&Mm=="]"&&(zm=!1)}Bh=!Bh&&Mm=="\\"}}var jd,Fd;function Md(fh,Bh,Mm){return jd=fh,Fd=Mm,Bh}function Ld(fh,Bh){var Mm=fh.next();if(Mm=='"'||Mm=="'")return Bh.tokenize=Hd(Mm),Bh.tokenize(fh,Bh);if(Mm=="."&&fh.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return Md("number","number");if(Mm=="."&&fh.match(".."))return Md("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(Mm))return Md(Mm);if(Mm=="="&&fh.eat(">"))return Md("=>","operator");if(Mm=="0"&&fh.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return Md("number","number");if(/\d/.test(Mm))return fh.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),Md("number","number");if(Mm=="/")return fh.eat("*")?(Bh.tokenize=Gd,Gd(fh,Bh)):fh.eat("/")?(fh.skipToEnd(),Md("comment","comment")):y_(fh,Bh,1)?(kd(fh),fh.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),Md("regexp","string-2")):(fh.eat("="),Md("operator","operator",fh.current()));if(Mm=="`")return Bh.tokenize=Vd,Vd(fh,Bh);if(Mm=="#"&&fh.peek()=="!")return fh.skipToEnd(),Md("meta","meta");if(Mm=="#"&&fh.eatWhile(vd))return Md("variable","property");if(Mm=="<"&&fh.match("!--")||Mm=="-"&&fh.match("->")&&!/\S/.test(fh.string.slice(0,fh.start)))return fh.skipToEnd(),Md("comment","comment");if(Nd.test(Mm))return(Mm!=">"||!Bh.lexical||Bh.lexical.type!=">")&&(fh.eat("=")?(Mm=="!"||Mm=="=")&&fh.eat("="):/[<>*+\-|&?]/.test(Mm)&&(fh.eat(Mm),Mm==">"&&fh.eat(Mm))),Mm=="?"&&fh.eat(".")?Md("."):Md("operator","operator",fh.current());if(vd.test(Mm)){fh.eatWhile(vd);var zm=fh.current();if(Bh.lastType!="."){if(Ad.propertyIsEnumerable(zm)){var Tm=Ad[zm];return Md(Tm.type,Tm.style,zm)}if(zm=="async"&&fh.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return Md("async","keyword",zm)}return Md("variable","variable",zm)}}function Hd(fh){return function(Bh,Mm){var zm=!1,Tm;if(dd&&Bh.peek()=="@"&&Bh.match(Id))return Mm.tokenize=Ld,Md("jsonld-keyword","meta");for(;(Tm=Bh.next())!=null&&!(Tm==fh&&!zm);)zm=!zm&&Tm=="\\";return zm||(Mm.tokenize=Ld),Md("string","string")}}function Gd(fh,Bh){for(var Mm=!1,zm;zm=fh.next();){if(zm=="/"&&Mm){Bh.tokenize=Ld;break}Mm=zm=="*"}return Md("comment","comment")}function Vd(fh,Bh){for(var Mm=!1,zm;(zm=fh.next())!=null;){if(!Mm&&(zm=="`"||zm=="$"&&fh.eat("{"))){Bh.tokenize=Ld;break}Mm=!Mm&&zm=="\\"}return Md("quasi","string-2",fh.current())}var Qd="([{}])";function mf(fh,Bh){Bh.fatArrowAt&&(Bh.fatArrowAt=null);var Mm=fh.string.indexOf("=>",fh.start);if(!(Mm<0)){if(md){var zm=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(fh.string.slice(fh.start,Mm));zm&&(Mm=zm.index)}for(var Tm=0,e_=!1,O_=Mm-1;O_>=0;--O_){var og=fh.string.charAt(O_),Cg=Qd.indexOf(og);if(Cg>=0&&Cg<3){if(!Tm){++O_;break}if(--Tm==0){og=="("&&(e_=!0);break}}else if(Cg>=3&&Cg<6)++Tm;else if(vd.test(og))e_=!0;else if(/["'\/`]/.test(og))for(;;--O_){if(O_==0)return;var rb=fh.string.charAt(O_-1);if(rb==og&&fh.string.charAt(O_-2)!="\\"){O_--;break}}else if(e_&&!Tm){++O_;break}}e_&&!Tm&&(Bh.fatArrowAt=O_)}}var Yd={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function Zd(fh,Bh,Mm,zm,Tm,e_){this.indented=fh,this.column=Bh,this.type=Mm,this.prev=Tm,this.info=e_,zm!=null&&(this.align=zm)}function Kd(fh,Bh){if(!fd)return!1;for(var Mm=fh.localVars;Mm;Mm=Mm.next)if(Mm.name==Bh)return!0;for(var zm=fh.context;zm;zm=zm.prev)for(var Mm=zm.vars;Mm;Mm=Mm.next)if(Mm.name==Bh)return!0}function bf(fh,Bh,Mm,zm,Tm){var e_=fh.cc;for(gf.state=fh,gf.stream=Tm,gf.marked=null,gf.cc=e_,gf.style=Bh,fh.lexical.hasOwnProperty("align")||(fh.lexical.align=!0);;){var O_=e_.length?e_.pop():pd?gh:Gf;if(O_(Mm,zm)){for(;e_.length&&e_[e_.length-1].lex;)e_.pop()();return gf.marked?gf.marked:Mm=="variable"&&Kd(fh,zm)?"variable-2":Bh}}}var gf={state:null,column:null,marked:null,cc:null};function Ef(){for(var fh=arguments.length-1;fh>=0;fh--)gf.cc.push(arguments[fh])}function yf(){return Ef.apply(null,arguments),!0}function xf(fh,Bh){for(var Mm=Bh;Mm;Mm=Mm.next)if(Mm.name==fh)return!0;return!1}function Af(fh){var Bh=gf.state;if(gf.marked="def",!!fd){if(Bh.context){if(Bh.lexical.info=="var"&&Bh.context&&Bh.context.block){var Mm=Lf(fh,Bh.context);if(Mm!=null){Bh.context=Mm;return}}else if(!xf(fh,Bh.localVars)){Bh.localVars=new Zf(fh,Bh.localVars);return}}ld.globalVars&&!xf(fh,Bh.globalVars)&&(Bh.globalVars=new Zf(fh,Bh.globalVars))}}function Lf(fh,Bh){if(Bh)if(Bh.block){var Mm=Lf(fh,Bh.prev);return Mm?Mm==Bh.prev?Bh:new ih(Mm,Bh.vars,!0):null}else return xf(fh,Bh.vars)?Bh:new ih(Bh.prev,new Zf(fh,Bh.vars),!1);else return null}function Xf(fh){return fh=="public"||fh=="private"||fh=="protected"||fh=="abstract"||fh=="readonly"}function ih(fh,Bh,Mm){this.prev=fh,this.vars=Bh,this.block=Mm}function Zf(fh,Bh){this.name=fh,this.next=Bh}var jf=new Zf("this",new Zf("arguments",null));function If(){gf.state.context=new ih(gf.state.context,gf.state.localVars,!1),gf.state.localVars=jf}function Uf(){gf.state.context=new ih(gf.state.context,gf.state.localVars,!0),gf.state.localVars=null}If.lex=Uf.lex=!0;function qf(){gf.state.localVars=gf.state.context.vars,gf.state.context=gf.state.context.prev}qf.lex=!0;function Kf(fh,Bh){var Mm=function(){var zm=gf.state,Tm=zm.indented;if(zm.lexical.type=="stat")Tm=zm.lexical.indented;else for(var e_=zm.lexical;e_&&e_.type==")"&&e_.align;e_=e_.prev)Tm=e_.indented;zm.lexical=new Zd(Tm,gf.stream.column(),fh,null,zm.lexical,Bh)};return Mm.lex=!0,Mm}function Tf(){var fh=gf.state;fh.lexical.prev&&(fh.lexical.type==")"&&(fh.indented=fh.lexical.indented),fh.lexical=fh.lexical.prev)}Tf.lex=!0;function vf(fh){function Bh(Mm){return Mm==fh?yf():fh==";"||Mm=="}"||Mm==")"||Mm=="]"?Ef():yf(Bh)}return Bh}function Gf(fh,Bh){return fh=="var"?yf(Kf("vardef",Bh),tg,vf(";"),Tf):fh=="keyword a"?yf(Kf("form"),Pf,Gf,Tf):fh=="keyword b"?yf(Kf("form"),Gf,Tf):fh=="keyword d"?gf.stream.match(/^\s*$/,!1)?yf():yf(Kf("stat"),xh,vf(";"),Tf):fh=="debugger"?yf(vf(";")):fh=="{"?yf(Kf("}"),Uf,wf,Tf,qf):fh==";"?yf():fh=="if"?(gf.state.lexical.info=="else"&&gf.state.cc[gf.state.cc.length-1]==Tf&&gf.state.cc.pop()(),yf(Kf("form"),Pf,Gf,Tf,Qm)):fh=="function"?yf(Of):fh=="for"?yf(Kf("form"),Uf,Zg,Gf,qf,Tf):fh=="class"||md&&Bh=="interface"?(gf.marked="keyword",yf(Kf("form",fh=="class"?fh:Bh),Fh,Tf)):fh=="variable"?md&&Bh=="declare"?(gf.marked="keyword",yf(Gf)):md&&(Bh=="module"||Bh=="enum"||Bh=="type")&&gf.stream.match(/^\s*\w/,!1)?(gf.marked="keyword",Bh=="enum"?yf(Km):Bh=="type"?yf(mh,vf("operator"),_m,vf(";")):yf(Kf("form"),L_,vf("{"),Kf("}"),wf,Tf,Tf)):md&&Bh=="namespace"?(gf.marked="keyword",yf(Kf("form"),gh,Gf,Tf)):md&&Bh=="abstract"?(gf.marked="keyword",yf(Gf)):yf(Kf("stat"),fm):fh=="switch"?yf(Kf("form"),Pf,vf("{"),Kf("}","switch"),Uf,wf,Tf,Tf,qf):fh=="case"?yf(gh,vf(":")):fh=="default"?yf(vf(":")):fh=="catch"?yf(Kf("form"),If,Jf,Gf,Tf,qf):fh=="export"?yf(Kf("stat"),Im,Tf):fh=="import"?yf(Kf("stat"),i_,Tf):fh=="async"?yf(Gf):Bh=="@"?yf(gh,Gf):Ef(Kf("stat"),gh,vf(";"),Tf)}function Jf(fh){if(fh=="(")return yf(Sh,vf(")"))}function gh(fh,Bh){return uh(fh,Bh,!1)}function th(fh,Bh){return uh(fh,Bh,!0)}function Pf(fh){return fh!="("?Ef():yf(Kf(")"),xh,vf(")"),Tf)}function uh(fh,Bh,Mm){if(gf.state.fatArrowAt==gf.stream.start){var zm=Mm?Th:vh;if(fh=="(")return yf(If,Kf(")"),ph(Sh,")"),Tf,vf("=>"),zm,qf);if(fh=="variable")return Ef(If,L_,vf("=>"),zm,qf)}var Tm=Mm?Nf:Qf;return Yd.hasOwnProperty(fh)?yf(Tm):fh=="function"?yf(Of,Tm):fh=="class"||md&&Bh=="interface"?(gf.marked="keyword",yf(Kf("form"),Wh,Tf)):fh=="keyword c"||fh=="async"?yf(Mm?th:gh):fh=="("?yf(Kf(")"),xh,vf(")"),Tf,Tm):fh=="operator"||fh=="spread"?yf(Mm?th:gh):fh=="["?yf(Kf("]"),C_,Tf,Tm):fh=="{"?Rf(cm,"}",null,Tm):fh=="quasi"?Ef($f,Tm):fh=="new"?yf(dh(Mm)):yf()}function xh(fh){return fh.match(/[;\}\)\],]/)?Ef():Ef(gh)}function Qf(fh,Bh){return fh==","?yf(xh):Nf(fh,Bh,!1)}function Nf(fh,Bh,Mm){var zm=Mm==!1?Qf:Nf,Tm=Mm==!1?gh:th;if(fh=="=>")return yf(If,Mm?Th:vh,qf);if(fh=="operator")return/\+\+|--/.test(Bh)||md&&Bh=="!"?yf(zm):md&&Bh=="<"&&gf.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?yf(Kf(">"),ph(_m,">"),Tf,zm):Bh=="?"?yf(gh,vf(":"),Tm):yf(Tm);if(fh=="quasi")return Ef($f,zm);if(fh!=";"){if(fh=="(")return Rf(th,")","call",zm);if(fh==".")return yf(Nm,zm);if(fh=="[")return yf(Kf("]"),xh,vf("]"),Tf,zm);if(md&&Bh=="as")return gf.marked="keyword",yf(_m,zm);if(fh=="regexp")return gf.state.lastType=gf.marked="operator",gf.stream.backUp(gf.stream.pos-gf.stream.start-1),yf(Tm)}}function $f(fh,Bh){return fh!="quasi"?Ef():Bh.slice(Bh.length-2)!="${"?yf($f):yf(xh,Wf)}function Wf(fh){if(fh=="}")return gf.marked="string-2",gf.state.tokenize=Vd,yf($f)}function vh(fh){return mf(gf.stream,gf.state),Ef(fh=="{"?Gf:gh)}function Th(fh){return mf(gf.stream,gf.state),Ef(fh=="{"?Gf:th)}function dh(fh){return function(Bh){return Bh=="."?yf(fh?wh:Vh):Bh=="variable"&&md?yf(x_,fh?Nf:Qf):Ef(fh?th:gh)}}function Vh(fh,Bh){if(Bh=="target")return gf.marked="keyword",yf(Qf)}function wh(fh,Bh){if(Bh=="target")return gf.marked="keyword",yf(Nf)}function fm(fh){return fh==":"?yf(Tf,Gf):Ef(Qf,vf(";"),Tf)}function Nm(fh){if(fh=="variable")return gf.marked="property",yf()}function cm(fh,Bh){if(fh=="async")return gf.marked="property",yf(cm);if(fh=="variable"||gf.style=="keyword"){if(gf.marked="property",Bh=="get"||Bh=="set")return yf(Sm);var Mm;return md&&gf.state.fatArrowAt==gf.stream.start&&(Mm=gf.stream.match(/^\s*:\s*/,!1))&&(gf.state.fatArrowAt=gf.stream.pos+Mm[0].length),yf($m)}else{if(fh=="number"||fh=="string")return gf.marked=dd?"property":gf.style+" property",yf($m);if(fh=="jsonld-keyword")return yf($m);if(md&&Xf(Bh))return gf.marked="keyword",yf(cm);if(fh=="[")return yf(gh,ch,vf("]"),$m);if(fh=="spread")return yf(th,$m);if(Bh=="*")return gf.marked="keyword",yf(cm);if(fh==":")return Ef($m)}}function Sm(fh){return fh!="variable"?Ef($m):(gf.marked="property",yf(Of))}function $m(fh){if(fh==":")return yf(th);if(fh=="(")return Ef(Of)}function ph(fh,Bh,Mm){function zm(Tm,e_){if(Mm?Mm.indexOf(Tm)>-1:Tm==","){var O_=gf.state.lexical;return O_.info=="call"&&(O_.pos=(O_.pos||0)+1),yf(function(og,Cg){return og==Bh||Cg==Bh?Ef():Ef(fh)},zm)}return Tm==Bh||e_==Bh?yf():Mm&&Mm.indexOf(";")>-1?Ef(fh):yf(vf(Bh))}return function(Tm,e_){return Tm==Bh||e_==Bh?yf():Ef(fh,zm)}}function Rf(fh,Bh,Mm){for(var zm=3;zm"),_m);if(fh=="quasi")return Ef(Xm,H_)}function Um(fh){if(fh=="=>")return yf(_m)}function Om(fh){return fh.match(/[\}\)\]]/)?yf():fh==","||fh==";"?yf(Om):Ef(r_,Om)}function r_(fh,Bh){if(fh=="variable"||gf.style=="keyword")return gf.marked="property",yf(r_);if(Bh=="?"||fh=="number"||fh=="string")return yf(r_);if(fh==":")return yf(_m);if(fh=="[")return yf(vf("variable"),yh,vf("]"),r_);if(fh=="(")return Ef(Ch,r_);if(!fh.match(/[;\}\)\],]/))return yf()}function Xm(fh,Bh){return fh!="quasi"?Ef():Bh.slice(Bh.length-2)!="${"?yf(Xm):yf(_m,s_)}function s_(fh){if(fh=="}")return gf.marked="string-2",gf.state.tokenize=Vd,yf(Xm)}function b_(fh,Bh){return fh=="variable"&&gf.stream.match(/^\s*[?:]/,!1)||Bh=="?"?yf(b_):fh==":"?yf(_m):fh=="spread"?yf(b_):Ef(_m)}function H_(fh,Bh){if(Bh=="<")return yf(Kf(">"),ph(_m,">"),Tf,H_);if(Bh=="|"||fh=="."||Bh=="&")return yf(_m);if(fh=="[")return yf(_m,vf("]"),H_);if(Bh=="extends"||Bh=="implements")return gf.marked="keyword",yf(_m);if(Bh=="?")return yf(_m,vf(":"),_m)}function x_(fh,Bh){if(Bh=="<")return yf(Kf(">"),ph(_m,">"),Tf,H_)}function M_(){return Ef(_m,h_)}function h_(fh,Bh){if(Bh=="=")return yf(_m)}function tg(fh,Bh){return Bh=="enum"?(gf.marked="keyword",yf(Km)):Ef(L_,ch,q_,Y_)}function L_(fh,Bh){if(md&&Xf(Bh))return gf.marked="keyword",yf(L_);if(fh=="variable")return Af(Bh),yf();if(fh=="spread")return yf(L_);if(fh=="[")return Rf(yg,"]");if(fh=="{")return Rf(dg,"}")}function dg(fh,Bh){return fh=="variable"&&!gf.stream.match(/^\s*:/,!1)?(Af(Bh),yf(q_)):(fh=="variable"&&(gf.marked="property"),fh=="spread"?yf(L_):fh=="}"?Ef():fh=="["?yf(gh,vf("]"),vf(":"),dg):yf(vf(":"),L_,q_))}function yg(){return Ef(L_,q_)}function q_(fh,Bh){if(Bh=="=")return yf(th)}function Y_(fh){if(fh==",")return yf(tg)}function Qm(fh,Bh){if(fh=="keyword b"&&Bh=="else")return yf(Kf("form","else"),Gf,Tf)}function Zg(fh,Bh){if(Bh=="await")return yf(Zg);if(fh=="(")return yf(Kf(")"),db,Tf)}function db(fh){return fh=="var"?yf(tg,$g):fh=="variable"?yf($g):Ef($g)}function $g(fh,Bh){return fh==")"?yf():fh==";"?yf($g):Bh=="in"||Bh=="of"?(gf.marked="keyword",yf(gh,$g)):Ef(gh,$g)}function Of(fh,Bh){if(Bh=="*")return gf.marked="keyword",yf(Of);if(fh=="variable")return Af(Bh),yf(Of);if(fh=="(")return yf(If,Kf(")"),ph(Sh,")"),Tf,Uh,Gf,qf);if(md&&Bh=="<")return yf(Kf(">"),ph(M_,">"),Tf,Of)}function Ch(fh,Bh){if(Bh=="*")return gf.marked="keyword",yf(Ch);if(fh=="variable")return Af(Bh),yf(Ch);if(fh=="(")return yf(If,Kf(")"),ph(Sh,")"),Tf,Uh,qf);if(md&&Bh=="<")return yf(Kf(">"),ph(M_,">"),Tf,Ch)}function mh(fh,Bh){if(fh=="keyword"||fh=="variable")return gf.marked="type",yf(mh);if(Bh=="<")return yf(Kf(">"),ph(M_,">"),Tf)}function Sh(fh,Bh){return Bh=="@"&&yf(gh,Sh),fh=="spread"?yf(Sh):md&&Xf(Bh)?(gf.marked="keyword",yf(Sh)):md&&fh=="this"?yf(ch,q_):Ef(L_,ch,q_)}function Wh(fh,Bh){return fh=="variable"?Fh(fh,Bh):om(fh,Bh)}function Fh(fh,Bh){if(fh=="variable")return Af(Bh),yf(om)}function om(fh,Bh){if(Bh=="<")return yf(Kf(">"),ph(M_,">"),Tf,om);if(Bh=="extends"||Bh=="implements"||md&&fh==",")return Bh=="implements"&&(gf.marked="keyword"),yf(md?_m:gh,om);if(fh=="{")return yf(Kf("}"),im,Tf)}function im(fh,Bh){if(fh=="async"||fh=="variable"&&(Bh=="static"||Bh=="get"||Bh=="set"||md&&Xf(Bh))&&gf.stream.match(/^\s+#?[\w$\xa1-\uffff]/,!1))return gf.marked="keyword",yf(im);if(fh=="variable"||gf.style=="keyword")return gf.marked="property",yf(Rh,im);if(fh=="number"||fh=="string")return yf(Rh,im);if(fh=="[")return yf(gh,ch,vf("]"),Rh,im);if(Bh=="*")return gf.marked="keyword",yf(im);if(md&&fh=="(")return Ef(Ch,im);if(fh==";"||fh==",")return yf(im);if(fh=="}")return yf();if(Bh=="@")return yf(gh,im)}function Rh(fh,Bh){if(Bh=="!"||Bh=="?")return yf(Rh);if(fh==":")return yf(_m,q_);if(Bh=="=")return yf(th);var Mm=gf.state.lexical.prev,zm=Mm&&Mm.info=="interface";return Ef(zm?Ch:Of)}function Im(fh,Bh){return Bh=="*"?(gf.marked="keyword",yf(B_,vf(";"))):Bh=="default"?(gf.marked="keyword",yf(gh,vf(";"))):fh=="{"?yf(ph(Pm,"}"),B_,vf(";")):Ef(Gf)}function Pm(fh,Bh){if(Bh=="as")return gf.marked="keyword",yf(vf("variable"));if(fh=="variable")return Ef(th,Pm)}function i_(fh){return fh=="string"?yf():fh=="("?Ef(gh):fh=="."?Ef(Qf):Ef(Hm,o_,B_)}function Hm(fh,Bh){return fh=="{"?Rf(Hm,"}"):(fh=="variable"&&Af(Bh),Bh=="*"&&(gf.marked="keyword"),yf(j_))}function o_(fh){if(fh==",")return yf(Hm,o_)}function j_(fh,Bh){if(Bh=="as")return gf.marked="keyword",yf(Hm)}function B_(fh,Bh){if(Bh=="from")return gf.marked="keyword",yf(gh)}function C_(fh){return fh=="]"?yf():Ef(ph(th,"]"))}function Km(){return Ef(Kf("form"),L_,vf("{"),Kf("}"),ph(ig,"}"),Tf,Tf)}function ig(){return Ef(L_,q_)}function N_(fh,Bh){return fh.lastType=="operator"||fh.lastType==","||Nd.test(Bh.charAt(0))||/[,.]/.test(Bh.charAt(0))}function y_(fh,Bh,Mm){return Bh.tokenize==Ld&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(Bh.lastType)||Bh.lastType=="quasi"&&/\{\s*$/.test(fh.string.slice(0,fh.pos-(Mm||0)))}return{startState:function(fh){var Bh={tokenize:Ld,lastType:"sof",cc:[],lexical:new Zd((fh||0)-ud,0,"block",!1),localVars:ld.localVars,context:ld.localVars&&new ih(null,null,!1),indented:fh||0};return ld.globalVars&&typeof ld.globalVars=="object"&&(Bh.globalVars=ld.globalVars),Bh},token:function(fh,Bh){if(fh.sol()&&(Bh.lexical.hasOwnProperty("align")||(Bh.lexical.align=!1),Bh.indented=fh.indentation(),mf(fh,Bh)),Bh.tokenize!=Gd&&fh.eatSpace())return null;var Mm=Bh.tokenize(fh,Bh);return jd=="comment"?Mm:(Bh.lastType=jd=="operator"&&(Fd=="++"||Fd=="--")?"incdec":jd,bf(Bh,Mm,jd,Fd,fh))},indent:function(fh,Bh){if(fh.tokenize==Gd||fh.tokenize==Vd)return nd.Pass;if(fh.tokenize!=Ld)return 0;var Mm=Bh&&Bh.charAt(0),zm=fh.lexical,Tm;if(!/^\s*else\b/.test(Bh))for(var e_=fh.cc.length-1;e_>=0;--e_){var O_=fh.cc[e_];if(O_==Tf)zm=zm.prev;else if(O_!=Qm&&O_!=qf)break}for(;(zm.type=="stat"||zm.type=="form")&&(Mm=="}"||(Tm=fh.cc[fh.cc.length-1])&&(Tm==Qf||Tm==Nf)&&!/^[,\.=+\-*:?[\(]/.test(Bh));)zm=zm.prev;cd&&zm.type==")"&&zm.prev.type=="stat"&&(zm=zm.prev);var og=zm.type,Cg=Mm==og;return og=="vardef"?zm.indented+(fh.lastType=="operator"||fh.lastType==","?zm.info.length+1:0):og=="form"&&Mm=="{"?zm.indented:og=="form"?zm.indented+ud:og=="stat"?zm.indented+(N_(fh,Bh)?cd||ud:0):zm.info=="switch"&&!Cg&&ld.doubleIndentSwitch!=!1?zm.indented+(/^(?:case|default)\b/.test(Bh)?ud:2*ud):zm.align?zm.column+(Cg?0:1):zm.indented+(Cg?0:ud)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:pd?null:"/*",blockCommentEnd:pd?null:"*/",blockCommentContinue:pd?null:" * ",lineComment:pd?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:pd?"json":"javascript",jsonldMode:dd,jsonMode:pd,expressionAllowed:y_,skipExpression:function(fh){bf(fh,"atom","atom","true",new nd.StringStream("",2,null))}}}),nd.registerHelper("wordChars","javascript",/[\w$]/),nd.defineMIME("text/javascript","javascript"),nd.defineMIME("text/ecmascript","javascript"),nd.defineMIME("application/javascript","javascript"),nd.defineMIME("application/x-javascript","javascript"),nd.defineMIME("application/ecmascript","javascript"),nd.defineMIME("application/json",{name:"javascript",json:!0}),nd.defineMIME("application/x-json",{name:"javascript",json:!0}),nd.defineMIME("application/manifest+json",{name:"javascript",json:!0}),nd.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),nd.defineMIME("text/typescript",{name:"javascript",typescript:!0}),nd.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var xml={exports:{}},hasRequiredXml;function requireXml(){return hasRequiredXml||(hasRequiredXml=1,function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){var od={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},ld={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};nd.defineMode("xml",function(ud,cd){var dd=ud.indentUnit,pd={},fd=cd.htmlMode?od:ld;for(var md in fd)pd[md]=fd[md];for(var md in cd)pd[md]=cd[md];var vd,Ad;function Nd(yf,xf){function Af(ih){return xf.tokenize=ih,ih(yf,xf)}var Lf=yf.next();if(Lf=="<")return yf.eat("!")?yf.eat("[")?yf.match("CDATA[")?Af(jd("atom","]]>")):null:yf.match("--")?Af(jd("comment","-->")):yf.match("DOCTYPE",!0,!0)?(yf.eatWhile(/[\w\._\-]/),Af(Fd(1))):null:yf.eat("?")?(yf.eatWhile(/[\w\._\-]/),xf.tokenize=jd("meta","?>"),"meta"):(vd=yf.eat("/")?"closeTag":"openTag",xf.tokenize=Id,"tag bracket");if(Lf=="&"){var Xf;return yf.eat("#")?yf.eat("x")?Xf=yf.eatWhile(/[a-fA-F\d]/)&&yf.eat(";"):Xf=yf.eatWhile(/[\d]/)&&yf.eat(";"):Xf=yf.eatWhile(/[\w\.\-:]/)&&yf.eat(";"),Xf?"atom":"error"}else return yf.eatWhile(/[^&<]/),null}Nd.isInText=!0;function Id(yf,xf){var Af=yf.next();if(Af==">"||Af=="/"&&yf.eat(">"))return xf.tokenize=Nd,vd=Af==">"?"endTag":"selfcloseTag","tag bracket";if(Af=="=")return vd="equals",null;if(Af=="<"){xf.tokenize=Nd,xf.state=Vd,xf.tagName=xf.tagStart=null;var Lf=xf.tokenize(yf,xf);return Lf?Lf+" tag error":"tag error"}else return/[\'\"]/.test(Af)?(xf.tokenize=kd(Af),xf.stringStartCol=yf.column(),xf.tokenize(yf,xf)):(yf.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function kd(yf){var xf=function(Af,Lf){for(;!Af.eol();)if(Af.next()==yf){Lf.tokenize=Id;break}return"string"};return xf.isInAttribute=!0,xf}function jd(yf,xf){return function(Af,Lf){for(;!Af.eol();){if(Af.match(xf)){Lf.tokenize=Nd;break}Af.next()}return yf}}function Fd(yf){return function(xf,Af){for(var Lf;(Lf=xf.next())!=null;){if(Lf=="<")return Af.tokenize=Fd(yf+1),Af.tokenize(xf,Af);if(Lf==">")if(yf==1){Af.tokenize=Nd;break}else return Af.tokenize=Fd(yf-1),Af.tokenize(xf,Af)}return"meta"}}function Md(yf){return yf&&yf.toLowerCase()}function Ld(yf,xf,Af){this.prev=yf.context,this.tagName=xf||"",this.indent=yf.indented,this.startOfLine=Af,(pd.doNotIndent.hasOwnProperty(xf)||yf.context&&yf.context.noIndent)&&(this.noIndent=!0)}function Hd(yf){yf.context&&(yf.context=yf.context.prev)}function Gd(yf,xf){for(var Af;;){if(!yf.context||(Af=yf.context.tagName,!pd.contextGrabbers.hasOwnProperty(Md(Af))||!pd.contextGrabbers[Md(Af)].hasOwnProperty(Md(xf))))return;Hd(yf)}}function Vd(yf,xf,Af){return yf=="openTag"?(Af.tagStart=xf.column(),Qd):yf=="closeTag"?mf:Vd}function Qd(yf,xf,Af){return yf=="word"?(Af.tagName=xf.current(),Ad="tag",Kd):pd.allowMissingTagName&&yf=="endTag"?(Ad="tag bracket",Kd(yf,xf,Af)):(Ad="error",Qd)}function mf(yf,xf,Af){if(yf=="word"){var Lf=xf.current();return Af.context&&Af.context.tagName!=Lf&&pd.implicitlyClosed.hasOwnProperty(Md(Af.context.tagName))&&Hd(Af),Af.context&&Af.context.tagName==Lf||pd.matchClosing===!1?(Ad="tag",Yd):(Ad="tag error",Zd)}else return pd.allowMissingTagName&&yf=="endTag"?(Ad="tag bracket",Yd(yf,xf,Af)):(Ad="error",Zd)}function Yd(yf,xf,Af){return yf!="endTag"?(Ad="error",Yd):(Hd(Af),Vd)}function Zd(yf,xf,Af){return Ad="error",Yd(yf,xf,Af)}function Kd(yf,xf,Af){if(yf=="word")return Ad="attribute",bf;if(yf=="endTag"||yf=="selfcloseTag"){var Lf=Af.tagName,Xf=Af.tagStart;return Af.tagName=Af.tagStart=null,yf=="selfcloseTag"||pd.autoSelfClosers.hasOwnProperty(Md(Lf))?Gd(Af,Lf):(Gd(Af,Lf),Af.context=new Ld(Af,Lf,Xf==Af.indented)),Vd}return Ad="error",Kd}function bf(yf,xf,Af){return yf=="equals"?gf:(pd.allowMissing||(Ad="error"),Kd(yf,xf,Af))}function gf(yf,xf,Af){return yf=="string"?Ef:yf=="word"&&pd.allowUnquoted?(Ad="string",Kd):(Ad="error",Kd(yf,xf,Af))}function Ef(yf,xf,Af){return yf=="string"?Ef:Kd(yf,xf,Af)}return{startState:function(yf){var xf={tokenize:Nd,state:Vd,indented:yf||0,tagName:null,tagStart:null,context:null};return yf!=null&&(xf.baseIndent=yf),xf},token:function(yf,xf){if(!xf.tagName&&yf.sol()&&(xf.indented=yf.indentation()),yf.eatSpace())return null;vd=null;var Af=xf.tokenize(yf,xf);return(Af||vd)&&Af!="comment"&&(Ad=null,xf.state=xf.state(vd||Af,yf,xf),Ad&&(Af=Ad=="error"?Af+" error":Ad)),Af},indent:function(yf,xf,Af){var Lf=yf.context;if(yf.tokenize.isInAttribute)return yf.tagStart==yf.indented?yf.stringStartCol+1:yf.indented+dd;if(Lf&&Lf.noIndent)return nd.Pass;if(yf.tokenize!=Id&&yf.tokenize!=Nd)return Af?Af.match(/^(\s*)/)[0].length:0;if(yf.tagName)return pd.multilineTagIndentPastTag!==!1?yf.tagStart+yf.tagName.length+2:yf.tagStart+dd*(pd.multilineTagIndentFactor||1);if(pd.alignCDATA&&/$/,blockCommentStart:"",configuration:pd.htmlMode?"html":"xml",helperType:pd.htmlMode?"html":"xml",skipAttribute:function(yf){yf.state==gf&&(yf.state=Kd)},xmlCurrentTag:function(yf){return yf.tagName?{name:yf.tagName,close:yf.type=="closeTag"}:null},xmlCurrentContext:function(yf){for(var xf=[],Af=yf.context;Af;Af=Af.prev)xf.push(Af.tagName);return xf.reverse()}}}),nd.defineMIME("text/xml","xml"),nd.defineMIME("application/xml","xml"),nd.mimeModes.hasOwnProperty("text/html")||nd.defineMIME("text/html",{name:"xml",htmlMode:!0})})}()),xml.exports}var meta={exports:{}},hasRequiredMeta;function requireMeta(){return hasRequiredMeta||(hasRequiredMeta=1,function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){nd.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy","cbl"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded JavaScript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"],alias:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var od=0;od-1&&ud.substring(pd+1,ud.length);if(fd)return nd.findModeByExtension(fd)},nd.findModeByName=function(ud){ud=ud.toLowerCase();for(var cd=0;cd` "'(~:]+/,jd=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Fd=/^\s*\[[^\]]+?\]:.*$/,Md=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,Ld=" ";function Hd(jf,If,Uf){return If.f=If.inline=Uf,Uf(jf,If)}function Gd(jf,If,Uf){return If.f=If.block=Uf,Uf(jf,If)}function Vd(jf){return!jf||!/\S/.test(jf.string)}function Qd(jf){if(jf.linkTitle=!1,jf.linkHref=!1,jf.linkText=!1,jf.em=!1,jf.strong=!1,jf.strikethrough=!1,jf.quote=0,jf.indentedCode=!1,jf.f==Yd){var If=cd;if(!If){var Uf=nd.innerMode(ud,jf.htmlState);If=Uf.mode.name=="xml"&&Uf.state.tagStart===null&&!Uf.state.context&&Uf.state.tokenize.isInText}If&&(jf.f=gf,jf.block=mf,jf.htmlState=null)}return jf.trailingSpace=0,jf.trailingSpaceNewLine=!1,jf.prevLine=jf.thisLine,jf.thisLine={stream:null},null}function mf(jf,If){var Uf=jf.column()===If.indentation,qf=Vd(If.prevLine.stream),Kf=If.indentedCode,Tf=If.prevLine.hr,vf=If.list!==!1,Gf=(If.listStack[If.listStack.length-1]||0)+3;If.indentedCode=!1;var Jf=If.indentation;if(If.indentationDiff===null&&(If.indentationDiff=If.indentation,vf)){for(If.list=null;Jf=4&&(Kf||If.prevLine.fencedCodeEnd||If.prevLine.header||qf))return jf.skipToEnd(),If.indentedCode=!0,pd.code;if(jf.eatSpace())return null;if(Uf&&If.indentation<=Gf&&(Pf=jf.match(Nd))&&Pf[1].length<=6)return If.quote=0,If.header=Pf[1].length,If.thisLine.header=!0,ld.highlightFormatting&&(If.formatting="header"),If.f=If.inline,Kd(If);if(If.indentation<=Gf&&jf.eat(">"))return If.quote=Uf?1:If.quote+1,ld.highlightFormatting&&(If.formatting="quote"),jf.eatSpace(),Kd(If);if(!th&&!If.setext&&Uf&&If.indentation<=Gf&&(Pf=jf.match(vd))){var uh=Pf[1]?"ol":"ul";return If.indentation=Jf+jf.current().length,If.list=!0,If.quote=0,If.listStack.push(If.indentation),If.em=!1,If.strong=!1,If.code=!1,If.strikethrough=!1,ld.taskLists&&jf.match(Ad,!1)&&(If.taskList=!0),If.f=If.inline,ld.highlightFormatting&&(If.formatting=["list","list-"+uh]),Kd(If)}else{if(Uf&&If.indentation<=Gf&&(Pf=jf.match(jd,!0)))return If.quote=0,If.fencedEndRE=new RegExp(Pf[1]+"+ *$"),If.localMode=ld.fencedCodeBlockHighlighting&&dd(Pf[2]||ld.fencedCodeBlockDefaultMode),If.localMode&&(If.localState=nd.startState(If.localMode)),If.f=If.block=Zd,ld.highlightFormatting&&(If.formatting="code-block"),If.code=-1,Kd(If);if(If.setext||(!gh||!vf)&&!If.quote&&If.list===!1&&!If.code&&!th&&!Fd.test(jf.string)&&(Pf=jf.lookAhead(1))&&(Pf=Pf.match(Id)))return If.setext?(If.header=If.setext,If.setext=0,jf.skipToEnd(),ld.highlightFormatting&&(If.formatting="header")):(If.header=Pf[0].charAt(0)=="="?1:2,If.setext=If.header),If.thisLine.header=!0,If.f=If.inline,Kd(If);if(th)return jf.skipToEnd(),If.hr=!0,If.thisLine.hr=!0,pd.hr;if(jf.peek()==="[")return Hd(jf,If,Lf)}return Hd(jf,If,If.inline)}function Yd(jf,If){var Uf=ud.token(jf,If.htmlState);if(!cd){var qf=nd.innerMode(ud,If.htmlState);(qf.mode.name=="xml"&&qf.state.tagStart===null&&!qf.state.context&&qf.state.tokenize.isInText||If.md_inside&&jf.current().indexOf(">")>-1)&&(If.f=gf,If.block=mf,If.htmlState=null)}return Uf}function Zd(jf,If){var Uf=If.listStack[If.listStack.length-1]||0,qf=If.indentation=jf.quote?If.push(pd.formatting+"-"+jf.formatting[Uf]+"-"+jf.quote):If.push("error"))}if(jf.taskOpen)return If.push("meta"),If.length?If.join(" "):null;if(jf.taskClosed)return If.push("property"),If.length?If.join(" "):null;if(jf.linkHref?If.push(pd.linkHref,"url"):(jf.strong&&If.push(pd.strong),jf.em&&If.push(pd.em),jf.strikethrough&&If.push(pd.strikethrough),jf.emoji&&If.push(pd.emoji),jf.linkText&&If.push(pd.linkText),jf.code&&If.push(pd.code),jf.image&&If.push(pd.image),jf.imageAltText&&If.push(pd.imageAltText,"link"),jf.imageMarker&&If.push(pd.imageMarker)),jf.header&&If.push(pd.header,pd.header+"-"+jf.header),jf.quote&&(If.push(pd.quote),!ld.maxBlockquoteDepth||ld.maxBlockquoteDepth>=jf.quote?If.push(pd.quote+"-"+jf.quote):If.push(pd.quote+"-"+ld.maxBlockquoteDepth)),jf.list!==!1){var qf=(jf.listStack.length-1)%3;qf?qf===1?If.push(pd.list2):If.push(pd.list3):If.push(pd.list1)}return jf.trailingSpaceNewLine?If.push("trailing-space-new-line"):jf.trailingSpace&&If.push("trailing-space-"+(jf.trailingSpace%2?"a":"b")),If.length?If.join(" "):null}function bf(jf,If){if(jf.match(kd,!0))return Kd(If)}function gf(jf,If){var Uf=If.text(jf,If);if(typeof Uf<"u")return Uf;if(If.list)return If.list=null,Kd(If);if(If.taskList){var qf=jf.match(Ad,!0)[1]===" ";return qf?If.taskOpen=!0:If.taskClosed=!0,ld.highlightFormatting&&(If.formatting="task"),If.taskList=!1,Kd(If)}if(If.taskOpen=!1,If.taskClosed=!1,If.header&&jf.match(/^#+$/,!0))return ld.highlightFormatting&&(If.formatting="header"),Kd(If);var Kf=jf.next();if(If.linkTitle){If.linkTitle=!1;var Tf=Kf;Kf==="("&&(Tf=")"),Tf=(Tf+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var vf="^\\s*(?:[^"+Tf+"\\\\]+|\\\\\\\\|\\\\.)"+Tf;if(jf.match(new RegExp(vf),!0))return pd.linkHref}if(Kf==="`"){var Gf=If.formatting;ld.highlightFormatting&&(If.formatting="code"),jf.eatWhile("`");var Jf=jf.current().length;if(If.code==0&&(!If.quote||Jf==1))return If.code=Jf,Kd(If);if(Jf==If.code){var gh=Kd(If);return If.code=0,gh}else return If.formatting=Gf,Kd(If)}else if(If.code)return Kd(If);if(Kf==="\\"&&(jf.next(),ld.highlightFormatting)){var th=Kd(If),Pf=pd.formatting+"-escape";return th?th+" "+Pf:Pf}if(Kf==="!"&&jf.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return If.imageMarker=!0,If.image=!0,ld.highlightFormatting&&(If.formatting="image"),Kd(If);if(Kf==="["&&If.imageMarker&&jf.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return If.imageMarker=!1,If.imageAltText=!0,ld.highlightFormatting&&(If.formatting="image"),Kd(If);if(Kf==="]"&&If.imageAltText){ld.highlightFormatting&&(If.formatting="image");var th=Kd(If);return If.imageAltText=!1,If.image=!1,If.inline=If.f=yf,th}if(Kf==="["&&!If.image)return If.linkText&&jf.match(/^.*?\]/)||(If.linkText=!0,ld.highlightFormatting&&(If.formatting="link")),Kd(If);if(Kf==="]"&&If.linkText){ld.highlightFormatting&&(If.formatting="link");var th=Kd(If);return If.linkText=!1,If.inline=If.f=jf.match(/\(.*?\)| ?\[.*?\]/,!1)?yf:gf,th}if(Kf==="<"&&jf.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){If.f=If.inline=Ef,ld.highlightFormatting&&(If.formatting="link");var th=Kd(If);return th?th+=" ":th="",th+pd.linkInline}if(Kf==="<"&&jf.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){If.f=If.inline=Ef,ld.highlightFormatting&&(If.formatting="link");var th=Kd(If);return th?th+=" ":th="",th+pd.linkEmail}if(ld.xml&&Kf==="<"&&jf.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var uh=jf.string.indexOf(">",jf.pos);if(uh!=-1){var xh=jf.string.substring(jf.start,uh);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(xh)&&(If.md_inside=!0)}return jf.backUp(1),If.htmlState=nd.startState(ud),Gd(jf,If,Yd)}if(ld.xml&&Kf==="<"&&jf.match(/^\/\w*?>/))return If.md_inside=!1,"tag";if(Kf==="*"||Kf==="_"){for(var Qf=1,Nf=jf.pos==1?" ":jf.string.charAt(jf.pos-2);Qf<3&&jf.eat(Kf);)Qf++;var $f=jf.peek()||" ",Wf=!/\s/.test($f)&&(!Md.test($f)||/\s/.test(Nf)||Md.test(Nf)),vh=!/\s/.test(Nf)&&(!Md.test(Nf)||/\s/.test($f)||Md.test($f)),Th=null,dh=null;if(Qf%2&&(!If.em&&Wf&&(Kf==="*"||!vh||Md.test(Nf))?Th=!0:If.em==Kf&&vh&&(Kf==="*"||!Wf||Md.test($f))&&(Th=!1)),Qf>1&&(!If.strong&&Wf&&(Kf==="*"||!vh||Md.test(Nf))?dh=!0:If.strong==Kf&&vh&&(Kf==="*"||!Wf||Md.test($f))&&(dh=!1)),dh!=null||Th!=null){ld.highlightFormatting&&(If.formatting=Th==null?"strong":dh==null?"em":"strong em"),Th===!0&&(If.em=Kf),dh===!0&&(If.strong=Kf);var gh=Kd(If);return Th===!1&&(If.em=!1),dh===!1&&(If.strong=!1),gh}}else if(Kf===" "&&(jf.eat("*")||jf.eat("_"))){if(jf.peek()===" ")return Kd(If);jf.backUp(1)}if(ld.strikethrough){if(Kf==="~"&&jf.eatWhile(Kf)){if(If.strikethrough){ld.highlightFormatting&&(If.formatting="strikethrough");var gh=Kd(If);return If.strikethrough=!1,gh}else if(jf.match(/^[^\s]/,!1))return If.strikethrough=!0,ld.highlightFormatting&&(If.formatting="strikethrough"),Kd(If)}else if(Kf===" "&&jf.match("~~",!0)){if(jf.peek()===" ")return Kd(If);jf.backUp(2)}}if(ld.emoji&&Kf===":"&&jf.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){If.emoji=!0,ld.highlightFormatting&&(If.formatting="emoji");var Vh=Kd(If);return If.emoji=!1,Vh}return Kf===" "&&(jf.match(/^ +$/,!1)?If.trailingSpace++:If.trailingSpace&&(If.trailingSpaceNewLine=!0)),Kd(If)}function Ef(jf,If){var Uf=jf.next();if(Uf===">"){If.f=If.inline=gf,ld.highlightFormatting&&(If.formatting="link");var qf=Kd(If);return qf?qf+=" ":qf="",qf+pd.linkInline}return jf.match(/^[^>]+/,!0),pd.linkInline}function yf(jf,If){if(jf.eatSpace())return null;var Uf=jf.next();return Uf==="("||Uf==="["?(If.f=If.inline=Af(Uf==="("?")":"]"),ld.highlightFormatting&&(If.formatting="link-string"),If.linkHref=!0,Kd(If)):"error"}var xf={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Af(jf){return function(If,Uf){var qf=If.next();if(qf===jf){Uf.f=Uf.inline=gf,ld.highlightFormatting&&(Uf.formatting="link-string");var Kf=Kd(Uf);return Uf.linkHref=!1,Kf}return If.match(xf[jf]),Uf.linkHref=!0,Kd(Uf)}}function Lf(jf,If){return jf.match(/^([^\]\\]|\\.)*\]:/,!1)?(If.f=Xf,jf.next(),ld.highlightFormatting&&(If.formatting="link"),If.linkText=!0,Kd(If)):Hd(jf,If,gf)}function Xf(jf,If){if(jf.match("]:",!0)){If.f=If.inline=ih,ld.highlightFormatting&&(If.formatting="link");var Uf=Kd(If);return If.linkText=!1,Uf}return jf.match(/^([^\]\\]|\\.)+/,!0),pd.linkText}function ih(jf,If){return jf.eatSpace()?null:(jf.match(/^[^\s]+/,!0),jf.peek()===void 0?If.linkTitle=!0:jf.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),If.f=If.inline=gf,pd.linkHref+" url")}var Zf={startState:function(){return{f:mf,prevLine:{stream:null},thisLine:{stream:null},block:mf,htmlState:null,indentation:0,inline:gf,text:bf,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(jf){return{f:jf.f,prevLine:jf.prevLine,thisLine:jf.thisLine,block:jf.block,htmlState:jf.htmlState&&nd.copyState(ud,jf.htmlState),indentation:jf.indentation,localMode:jf.localMode,localState:jf.localMode?nd.copyState(jf.localMode,jf.localState):null,inline:jf.inline,text:jf.text,formatting:!1,linkText:jf.linkText,linkTitle:jf.linkTitle,linkHref:jf.linkHref,code:jf.code,em:jf.em,strong:jf.strong,strikethrough:jf.strikethrough,emoji:jf.emoji,header:jf.header,setext:jf.setext,hr:jf.hr,taskList:jf.taskList,list:jf.list,listStack:jf.listStack.slice(0),quote:jf.quote,indentedCode:jf.indentedCode,trailingSpace:jf.trailingSpace,trailingSpaceNewLine:jf.trailingSpaceNewLine,md_inside:jf.md_inside,fencedEndRE:jf.fencedEndRE}},token:function(jf,If){if(If.formatting=!1,jf!=If.thisLine.stream){if(If.header=0,If.hr=!1,jf.match(/^\s*$/,!0))return Qd(If),null;if(If.prevLine=If.thisLine,If.thisLine={stream:jf},If.taskList=!1,If.trailingSpace=0,If.trailingSpaceNewLine=!1,!If.localState&&(If.f=If.block,If.f!=Yd)){var Uf=jf.match(/^\s*/,!0)[0].replace(/\t/g,Ld).length;if(If.indentation=Uf,If.indentationDiff=null,Uf>0)return null}}return If.f(jf,If)},innerMode:function(jf){return jf.block==Yd?{state:jf.htmlState,mode:ud}:jf.localState?{state:jf.localState,mode:jf.localMode}:{state:jf,mode:Zf}},indent:function(jf,If,Uf){return jf.block==Yd&&ud.indent?ud.indent(jf.htmlState,If,Uf):jf.localState&&jf.localMode.indent?jf.localMode.indent(jf.localState,If,Uf):nd.Pass},blankLine:Qd,getType:Kd,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Zf},"xml"),nd.defineMIME("text/markdown","markdown"),nd.defineMIME("text/x-markdown","markdown")})})();(function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){var od={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},ld=nd.Pos;nd.defineOption("autoCloseBrackets",!1,function(Fd,Md,Ld){Ld&&Ld!=nd.Init&&(Fd.removeKeyMap(cd),Fd.state.closeBrackets=null),Md&&(dd(ud(Md,"pairs")),Fd.state.closeBrackets=Md,Fd.addKeyMap(cd))});function ud(Fd,Md){return Md=="pairs"&&typeof Fd=="string"?Fd:typeof Fd=="object"&&Fd[Md]!=null?Fd[Md]:od[Md]}var cd={Backspace:md,Enter:vd};function dd(Fd){for(var Md=0;Md=0;Gd--){var Qd=Hd[Gd].head;Fd.replaceRange("",ld(Qd.line,Qd.ch-1),ld(Qd.line,Qd.ch+1),"+delete")}}function vd(Fd){var Md=fd(Fd),Ld=Md&&ud(Md,"explode");if(!Ld||Fd.getOption("disableInput"))return nd.Pass;for(var Hd=Fd.listSelections(),Gd=0;Gd0?{line:Qd.head.line,ch:Qd.head.ch+Md}:{line:Qd.head.line-1};Ld.push({anchor:mf,head:mf})}Fd.setSelections(Ld,Gd)}function Nd(Fd){var Md=nd.cmpPos(Fd.anchor,Fd.head)>0;return{anchor:new ld(Fd.anchor.line,Fd.anchor.ch+(Md?-1:1)),head:new ld(Fd.head.line,Fd.head.ch+(Md?1:-1))}}function Id(Fd,Md){var Ld=fd(Fd);if(!Ld||Fd.getOption("disableInput"))return nd.Pass;var Hd=ud(Ld,"pairs"),Gd=Hd.indexOf(Md);if(Gd==-1)return nd.Pass;for(var Vd=ud(Ld,"closeBefore"),Qd=ud(Ld,"triples"),mf=Hd.charAt(Gd+1)==Md,Yd=Fd.listSelections(),Zd=Gd%2==0,Kd,bf=0;bf=0&&Fd.getRange(Ef,ld(Ef.line,Ef.ch+3))==Md+Md+Md?yf="skipThree":yf="skip";else if(mf&&Ef.ch>1&&Qd.indexOf(Md)>=0&&Fd.getRange(ld(Ef.line,Ef.ch-2),Ef)==Md+Md){if(Ef.ch>2&&/\bstring/.test(Fd.getTokenTypeAt(ld(Ef.line,Ef.ch-2))))return nd.Pass;yf="addFour"}else if(mf){var Af=Ef.ch==0?" ":Fd.getRange(ld(Ef.line,Ef.ch-1),Ef);if(!nd.isWordChar(xf)&&Af!=Md&&!nd.isWordChar(Af))yf="both";else return nd.Pass}else if(Zd&&(xf.length===0||/\s/.test(xf)||Vd.indexOf(xf)>-1))yf="both";else return nd.Pass;if(!Kd)Kd=yf;else if(Kd!=yf)return nd.Pass}var Lf=Gd%2?Hd.charAt(Gd-1):Md,Xf=Gd%2?Md:Hd.charAt(Gd+1);Fd.operation(function(){if(Kd=="skip")Ad(Fd,1);else if(Kd=="skipThree")Ad(Fd,3);else if(Kd=="surround"){for(var ih=Fd.getSelections(),Zf=0;Zf",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function cd(Ad){return Ad&&Ad.bracketRegex||/[(){}[\]]/}function dd(Ad,Nd,Id){var kd=Ad.getLineHandle(Nd.line),jd=Nd.ch-1,Fd=Id&&Id.afterCursor;Fd==null&&(Fd=/(^| )cm-fat-cursor($| )/.test(Ad.getWrapperElement().className));var Md=cd(Id),Ld=!Fd&&jd>=0&&Md.test(kd.text.charAt(jd))&&ud[kd.text.charAt(jd)]||Md.test(kd.text.charAt(jd+1))&&ud[kd.text.charAt(++jd)];if(!Ld)return null;var Hd=Ld.charAt(1)==">"?1:-1;if(Id&&Id.strict&&Hd>0!=(jd==Nd.ch))return null;var Gd=Ad.getTokenTypeAt(ld(Nd.line,jd+1)),Vd=pd(Ad,ld(Nd.line,jd+(Hd>0?1:0)),Hd,Gd,Id);return Vd==null?null:{from:ld(Nd.line,jd),to:Vd&&Vd.pos,match:Vd&&Vd.ch==Ld.charAt(0),forward:Hd>0}}function pd(Ad,Nd,Id,kd,jd){for(var Fd=jd&&jd.maxScanLineLength||1e4,Md=jd&&jd.maxScanLines||1e3,Ld=[],Hd=cd(jd),Gd=Id>0?Math.min(Nd.line+Md,Ad.lastLine()+1):Math.max(Ad.firstLine()-1,Nd.line-Md),Vd=Nd.line;Vd!=Gd;Vd+=Id){var Qd=Ad.getLine(Vd);if(Qd){var mf=Id>0?0:Qd.length-1,Yd=Id>0?Qd.length:-1;if(!(Qd.length>Fd))for(Vd==Nd.line&&(mf=Nd.ch-(Id<0?1:0));mf!=Yd;mf+=Id){var Zd=Qd.charAt(mf);if(Hd.test(Zd)&&(kd===void 0||(Ad.getTokenTypeAt(ld(Vd,mf+1))||"")==(kd||""))){var Kd=ud[Zd];if(Kd&&Kd.charAt(1)==">"==Id>0)Ld.push(Zd);else if(Ld.length)Ld.pop();else return{pos:ld(Vd,mf),ch:Zd}}}}}return Vd-Id==(Id>0?Ad.lastLine():Ad.firstLine())?!1:null}function fd(Ad,Nd,Id){for(var kd=Ad.state.matchBrackets.maxHighlightLineLength||1e3,jd=Id&&Id.highlightNonMatching,Fd=[],Md=Ad.listSelections(),Ld=0;Ld1)){if(this.somethingSelected()){if(!Fd.hint.supportsSelection)return;for(var Ld=0;LdQd.clientHeight+1:!1,Gf;setTimeout(function(){Gf=Hd.getScrollInfo()});var Jf=Tf.bottom-Kf;if(Jf>0){var gh=Tf.bottom-Tf.top,th=Tf.top-(yf.bottom-yf.top)-2;Kf-Tf.topth&&(Qd.style.height=(gh=th)+"px"),Qd.style.top=(Af=yf.top-gh)+ih+"px",Lf=!1):Qd.style.height=Kf-Tf.top-2+"px"}var Pf=Tf.right-qf;if(vf&&(Pf+=Hd.display.nativeBarWidth),Pf>0&&(Tf.right-Tf.left>qf&&(Qd.style.width=qf-5+"px",Pf-=Tf.right-Tf.left-qf),Qd.style.left=(xf=Math.max(yf.left-Pf-Xf,0))+"px"),vf)for(var uh=Qd.firstChild;uh;uh=uh.nextSibling)uh.style.paddingRight=Hd.display.nativeBarWidth+"px";if(Hd.addKeyMap(this.keyMap=md(Fd,{moveFocus:function(Nf,$f){Ld.changeActive(Ld.selectedHint+Nf,$f)},setFocus:function(Nf){Ld.changeActive(Nf)},menuSize:function(){return Ld.screenAmount()},length:Yd.length,close:function(){Fd.close()},pick:function(){Ld.pick()},data:Md})),Fd.options.closeOnUnfocus){var xh;Hd.on("blur",this.onBlur=function(){xh=setTimeout(function(){Fd.close()},100)}),Hd.on("focus",this.onFocus=function(){clearTimeout(xh)})}Hd.on("scroll",this.onScroll=function(){var Nf=Hd.getScrollInfo(),$f=Hd.getWrapperElement().getBoundingClientRect();Gf||(Gf=Hd.getScrollInfo());var Wf=Af+Gf.top-Nf.top,vh=Wf-(Vd.pageYOffset||(Gd.documentElement||Gd.body).scrollTop);if(Lf||(vh+=Qd.offsetHeight),vh<=$f.top||vh>=$f.bottom)return Fd.close();Qd.style.top=Wf+"px",Qd.style.left=xf+Gf.left-Nf.left+"px"}),nd.on(Qd,"dblclick",function(Nf){var $f=vd(Qd,Nf.target||Nf.srcElement);$f&&$f.hintId!=null&&(Ld.changeActive($f.hintId),Ld.pick())}),nd.on(Qd,"click",function(Nf){var $f=vd(Qd,Nf.target||Nf.srcElement);$f&&$f.hintId!=null&&(Ld.changeActive($f.hintId),Fd.options.completeOnSingleClick&&Ld.pick())}),nd.on(Qd,"mousedown",function(){setTimeout(function(){Hd.focus()},20)});var Qf=this.getSelectedHintRange();return(Qf.from!==0||Qf.to!==0)&&this.scrollToActive(),nd.signal(Md,"select",Yd[this.selectedHint],Qd.childNodes[this.selectedHint]),!0}Ad.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var Fd=this.completion.cm.getInputField();Fd.removeAttribute("aria-activedescendant"),Fd.removeAttribute("aria-owns");var Md=this.completion.cm;this.completion.options.closeOnUnfocus&&(Md.off("blur",this.onBlur),Md.off("focus",this.onFocus)),Md.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var Fd=this;this.keyMap={Enter:function(){Fd.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(Fd,Md){if(Fd>=this.data.list.length?Fd=Md?this.data.list.length-1:0:Fd<0&&(Fd=Md?0:this.data.list.length-1),this.selectedHint!=Fd){var Ld=this.hints.childNodes[this.selectedHint];Ld&&(Ld.className=Ld.className.replace(" "+ld,""),Ld.removeAttribute("aria-selected")),Ld=this.hints.childNodes[this.selectedHint=Fd],Ld.className+=" "+ld,Ld.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",Ld.id),this.scrollToActive(),nd.signal(this.data,"select",this.data.list[this.selectedHint],Ld)}},scrollToActive:function(){var Fd=this.getSelectedHintRange(),Md=this.hints.childNodes[Fd.from],Ld=this.hints.childNodes[Fd.to],Hd=this.hints.firstChild;Md.offsetTopthis.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=Ld.offsetTop+Ld.offsetHeight-this.hints.clientHeight+Hd.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var Fd=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-Fd),to:Math.min(this.data.list.length-1,this.selectedHint+Fd)}}};function Nd(Fd,Md){if(!Fd.somethingSelected())return Md;for(var Ld=[],Hd=0;Hd0?Qd(bf):Zd(Kd+1)})}Zd(0)};return Gd.async=!0,Gd.supportsSelection=!0,Gd}else return(Hd=Fd.getHelper(Fd.getCursor(),"hintWords"))?function(Vd){return nd.hint.fromList(Vd,{words:Hd})}:nd.hint.anyword?function(Vd,Qd){return nd.hint.anyword(Vd,Qd)}:function(){}}nd.registerHelper("hint","auto",{resolve:kd}),nd.registerHelper("hint","fromList",function(Fd,Md){var Ld=Fd.getCursor(),Hd=Fd.getTokenAt(Ld),Gd,Vd=nd.Pos(Ld.line,Hd.start),Qd=Ld;Hd.start,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};nd.defineOption("hintOptions",null)})})();(function(Ra,qa){(function(nd){nd(requireCodemirror(),cssExports)})(function(nd){var od={active:1,after:1,before:1,checked:1,default:1,disabled:1,empty:1,enabled:1,"first-child":1,"first-letter":1,"first-line":1,"first-of-type":1,focus:1,hover:1,"in-range":1,indeterminate:1,invalid:1,lang:1,"last-child":1,"last-of-type":1,link:1,not:1,"nth-child":1,"nth-last-child":1,"nth-last-of-type":1,"nth-of-type":1,"only-of-type":1,"only-child":1,optional:1,"out-of-range":1,placeholder:1,"read-only":1,"read-write":1,required:1,root:1,selection:1,target:1,valid:1,visited:1};nd.registerHelper("hint","css",function(ld){var ud=ld.getCursor(),cd=ld.getTokenAt(ud),dd=nd.innerMode(ld.getMode(),cd.state);if(dd.mode.name!="css")return;if(cd.type=="keyword"&&"!important".indexOf(cd.string)==0)return{list:["!important"],from:nd.Pos(ud.line,cd.start),to:nd.Pos(ud.line,cd.end)};var pd=cd.start,fd=ud.ch,md=cd.string.slice(0,fd-pd);/[^\w$_-]/.test(md)&&(md="",pd=fd=ud.ch);var vd=nd.resolveMode("text/css"),Ad=[];function Nd(kd){for(var jd in kd)(!md||jd.lastIndexOf(md,0)==0)&&Ad.push(jd)}var Id=dd.state.state;if(Id=="pseudo"||cd.type=="variable-3"?Nd(od):Id=="block"||Id=="maybeprop"?Nd(vd.propertyKeywords):Id=="prop"||Id=="parens"||Id=="at"||Id=="params"?(Nd(vd.valueKeywords),Nd(vd.colorKeywords)):(Id=="media"||Id=="media_parens")&&(Nd(vd.mediaTypes),Nd(vd.mediaFeatures)),Ad.length)return{list:Ad,from:nd.Pos(ud.line,pd),to:nd.Pos(ud.line,fd)}})})})();const app=createApp(_sfc_main);app.use(createPinia());app.mount("#app");export{withPath as $,rgba$1 as A,defaultConfig_default as B,cleanAndMerge as C,getConfig$1 as D,random as E,setupGraphViewbox2 as F,selectSvgElement as G,version as H,getThemeVariables3 as I,JSON_SCHEMA as J,line$1 as K,hasKatex as L,calculateMathMLDimensions as M,renderKatex as N,parseFontSize as O,parseGenericTypes as P,curveBasis as Q,generateId as R,lineBreakRegex as S,__export as T,commonDb_exports as U,setupGraphViewbox as V,isDark as W,lighten as X,darken as Y,ZERO_WIDTH_SPACE as Z,__name as _,assignWithDepth_default as a,hue as a$,halfPi as a0,epsilon as a1,tau as a2,cos as a3,sin as a4,min as a5,abs$1 as a6,pi as a7,sqrt as a8,atan2 as a9,baseRest as aA,isArrayLikeObject as aB,constant$2 as aC,isFunction$2 as aD,isEmpty$1 as aE,computeDimensionOfText as aF,array as aG,commonjsGlobal as aH,getDefaultExportFromCjs as aI,unknownIcon as aJ,registerIconPacks as aK,getIconSVG as aL,isObject$2 as aM,isIterateeCall as aN,keysIn as aO,eq as aP,isArrayLike$1 as aQ,isArray$1 as aR,identity as aS,isIndex as aT,assignValue as aU,define$1 as aV,extend$1 as aW,Rgb as aX,Color as aY,rgbConvert as aZ,nogamma as a_,constant$3 as aa,asin as ab,acos as ac,max$1 as ad,insertCluster as ae,insertNode as af,positionNode as ag,getStylesFromArray as ah,evaluate as ai,createText as aj,getSubGraphTitleMargins as ak,getLineFunctionsWithOffset as al,replaceIconSubstring as am,decodeEntities as an,Utils as ao,Color$1 as ap,global$1 as aq,markers_default as ar,clear2 as as,clear as at,clear$1 as au,updateNodeBounds as av,setNodeElem as aw,insertEdge as ax,positionEdgeLabel as ay,insertEdgeLabel as az,getAccDescription as b,dayjs2 as b0,constant$4 as b1,interpolateNumber as b2,color as b3,interpolateRgb as b4,interpolateString as b5,setToString as b6,overRest as b7,baseFor as b8,baseAssignValue as b9,isPrototype as bA,__vitePreload as bB,baseUnary as ba,merge$1 as bb,isObjectLike as bc,baseGetTag as bd,Symbol$1 as be,arrayLikeKeys as bf,baseKeys as bg,memoize$1 as bh,isArguments$1 as bi,copyObject as bj,getPrototype as bk,cloneArrayBuffer as bl,cloneTypedArray as bm,getTag as bn,nodeUtil as bo,copyArray as bp,isBuffer$1 as bq,cloneBuffer as br,initCloneObject as bs,Stack as bt,MapCache as bu,Uint8Array$1 as bv,isTypedArray$2 as bw,isLength as bx,Set$1 as by,createAssigner as bz,setAccDescription as c,getConfig2 as d,common_default as e,calculateTextHeight as f,getAccTitle as g,calculateTextWidth as h,sanitizeText as i,select as j,configureSvgSize as k,log$1 as l,sanitizeUrl_1 as m,setConfig2 as n,defaultConfig2 as o,setDiagramTitle as p,getDiagramTitle as q,load as r,setAccTitle as s,isValidShape as t,utils_default as u,clear$2 as v,wrapLabel as w,getEdgeId as x,getRegisteredLayoutAlgorithm as y,render$1 as z}; +`,Lf),Ke$1.success("图片上传成功")}function Zd(Af,Lf){kd.value=!0,toBase64$1(Af).then(Xf=>fileApi.fileUpload(Xf,Af)).then(Xf=>{Lf?Lf(Xf):Wd(Xf)}).catch(Xf=>{Ke$1.error(Xf.message)}).finally(()=>{kd.value=!1})}const Xd=ref$1();watch(od,()=>{var Lf,Xf;const Af=od.value?"darcula":"xq-light";(Xf=(Lf=toRaw(ud.value))==null?void 0:Lf.setOption)==null||Xf.call(Lf,"theme",Af)});function bf(){const Af=document.querySelector("#editor");Af.value||(Af.value=qa.posts[qa.currentPostIndex].content),ud.value=CodeMirror.fromTextArea(Af,{mode:"text/x-markdown",theme:od.value?"darcula":"xq-light",lineNumbers:!1,lineWrapping:!0,styleActiveLine:!0,autoCloseBrackets:!0,extraKeys:{[`${shiftKey}-${altKey}-F`]:function(Xf){formatDoc(Xf.getValue()).then(Jf=>{Xf.setValue(Jf)})},[`${ctrlKey}-B`]:function(Xf){const Jf=Xf.getSelection();Xf.replaceSelection(`**${Jf}**`)},[`${ctrlKey}-I`]:function(Xf){const Jf=Xf.getSelection();Xf.replaceSelection(`*${Jf}*`)},[`${ctrlKey}-D`]:function(Xf){const Jf=Xf.getSelection();Xf.replaceSelection(`~~${Jf}~~`)},[`${ctrlKey}-K`]:function(Xf){const Jf=Xf.getSelection();Xf.replaceSelection(`[${Jf}]()`)},[`${ctrlKey}-E`]:function(Xf){const Jf=Xf.getSelection();Xf.replaceSelection(`\`${Jf}\``)},[`${ctrlKey}-L`]:function(Xf){const Jf=Xf.getSelection();Xf.replaceSelection(`\`${Jf}\``)}}}),ud.value.on("change",Lf=>{clearTimeout(Xd.value),Xd.value=setTimeout(()=>{Ld(),qa.posts[qa.currentPostIndex].content=Lf.getValue()},300)}),ud.value.on("paste",(Lf,Xf)=>{if(!(!(Xf.clipboardData&&Xf.clipboardData.items)||kd.value))for(let Jf=0,Zf=Xf.clipboardData.items.length;Jf{const Df=[...Zf.str.matchAll(/!\[(.*?)\]\((.*?)\)/g)||[]].filter(zf=>zf),Uf=Zf.path.match(/.+?\//)[0];(await Promise.all(Df.map(zf=>new Promise(Tf=>{let[,,vf]=zf;vf=vf.replace(/^.\//,"");const{file:qf}=Bf.find(eh=>eh.path===`${Uf}${vf}`)||{};Zd(qf,eh=>{Tf({matchStr:vf,url:eh})})})))).forEach(zf=>{Zf.str=Zf.str.replace(`](./${zf.matchStr})`,`](${zf.url})`).replace(`](${zf.matchStr})`,`](${zf.url})`)}),ud.value.setValue(Zf.str)};Af.ondragover=Zf=>Zf.preventDefault(),Af.ondrop=async Zf=>{Zf.preventDefault();for(const Bf of Zf.dataTransfer.items)Bf.getAsFileSystemHandle().then(async Df=>{if(Df.kind==="directory"){const Uf=await Jf(Df),Gf=await Xf({list:Uf});Lf({md:Gf,list:Uf})}else{const Uf=await Df.getFile();console.log("file",Uf)}})};async function Xf({list:Zf}){return new Promise(Bf=>{const{path:Df,file:Uf}=Zf.find(zf=>zf.path.match(/\.md$/)),Gf=new FileReader;Gf.readAsText(Uf,"UTF-8"),Gf.onload=zf=>{Bf({str:zf.target.result,file:Uf,path:Df})}})}async function Jf(Zf){const Bf=[];let Df="";try{const Uf=[Zf];for(const Gf of Uf){Df+=`${Gf.name}/`;for await(const[,zf]of Gf)zf.kind==="file"?Bf.push({path:Df+zf.name,file:await zf.getFile()}):(Bf.push({path:`${Df+zf.name}/`}),Uf.push(zf))}}catch(Uf){console.error(Uf)}return Bf}}return onMounted(()=>{bf(),Ld(),xf()}),(Af,Lf)=>{const Xf=__unplugin_components_0,Jf=_sfc_main$x,Zf=_sfc_main$D,Bf=_sfc_main$E,Df=_sfc_main$F,Uf=_sfc_main$G,Gf=_sfc_main$H,zf=_sfc_main$I,Tf=__unplugin_components_8,vf=_sfc_main$L,qf=_sfc_main$_,eh=__unplugin_components_11,ch=_sfc_main$1c,ih=_sfc_main$1d,Pf=_sfc_main$1e,uh=_sfc_main$1f,xh=_sfc_main$1g,Qf=_sfc_main$1i,wf=_sfc_main$1j,$f=_sfc_main$1k;return openBlock(),createElementBlock("div",{ref_key:"container",ref:yf,class:"container flex flex-col"},[createVNode(Xf,{onAddFormat:Ef,onFormatContent:unref(md),onStartCopy:Vd,onEndCopy:Kd},null,8,["onFormatContent"]),createBaseVNode("main",_hoisted_1,[createBaseVNode("div",_hoisted_2,[createVNode(Jf),createBaseVNode("div",{ref_key:"codeMirrorWrapper",ref:gf,class:normalizeClass(["codeMirror-wrapper flex-1 border-r-1",{"order-1":!unref(qa).isEditOnLeft}])},[createVNode(zf,null,{default:withCtx(()=>[createVNode(Zf,null,{default:withCtx(()=>Lf[9]||(Lf[9]=[createBaseVNode("textarea",{id:"editor",type:"textarea",placeholder:"Your markdown text here."},null,-1)])),_:1}),createVNode(Gf,{class:"w-64"},{default:withCtx(()=>[createVNode(Bf,{inset:"",onClick:Lf[0]||(Lf[0]=Wf=>unref(Id)())},{default:withCtx(()=>Lf[10]||(Lf[10]=[createTextVNode(" 上传图片 ")])),_:1}),createVNode(Bf,{inset:"",onClick:Lf[1]||(Lf[1]=Wf=>unref(Nd)())},{default:withCtx(()=>Lf[11]||(Lf[11]=[createTextVNode(" 插入表格 ")])),_:1}),createVNode(Bf,{inset:"",onClick:Lf[2]||(Lf[2]=Wf=>unref(Ad)())},{default:withCtx(()=>Lf[12]||(Lf[12]=[createTextVNode(" 恢复默认样式 ")])),_:1}),createVNode(Df),createVNode(Bf,{inset:"",onClick:Lf[3]||(Lf[3]=Wf=>unref(vd)())},{default:withCtx(()=>Lf[13]||(Lf[13]=[createTextVNode(" 导入 .md 文档 ")])),_:1}),createVNode(Bf,{inset:"",onClick:Lf[4]||(Lf[4]=Wf=>unref(fd)())},{default:withCtx(()=>Lf[14]||(Lf[14]=[createTextVNode(" 导出 .md 文档 ")])),_:1}),createVNode(Bf,{inset:"",onClick:Lf[5]||(Lf[5]=Wf=>unref(pd)())},{default:withCtx(()=>Lf[15]||(Lf[15]=[createTextVNode(" 导出 .html ")])),_:1}),createVNode(Bf,{inset:"",onClick:Lf[6]||(Lf[6]=Wf=>unref(md)())},{default:withCtx(()=>[Lf[16]||(Lf[16]=createTextVNode(" 格式化 ")),createVNode(Uf,null,{default:withCtx(()=>[createTextVNode(toDisplayString(unref(altSign))+" + "+toDisplayString(unref(shiftSign))+" + F",1)]),_:1})]),_:1})]),_:1})]),_:1})],2),createBaseVNode("div",{id:"preview",ref_key:"preview",ref:Fd,span:unref(cd)?8:12,class:"preview-wrapper flex-1 p-5"},[createBaseVNode("div",{id:"output-wrapper",class:normalizeClass({output_night:!unref(Hd)})},[createBaseVNode("div",_hoisted_4,[createBaseVNode("section",{id:"output",innerHTML:unref(ld)},null,8,_hoisted_5),unref(Gd)?(openBlock(),createElementBlock("div",_hoisted_6,Lf[17]||(Lf[17]=[createBaseVNode("div",{class:"loading-mask-box"},[createBaseVNode("div",{class:"loading__img"}),createBaseVNode("span",null,"正在生成")],-1)]))):createCommentVNode("",!0)])],2)],8,_hoisted_3),createVNode(Tf,{class:"flex-1"})])]),createVNode(vf,{onUploadImage:Zd}),createVNode(qf),createVNode(eh),createVNode($f,{open:unref(qa).isOpenConfirmDialog,"onUpdate:open":Lf[8]||(Lf[8]=Wf=>unref(qa).isOpenConfirmDialog=Wf)},{default:withCtx(()=>[createVNode(wf,null,{default:withCtx(()=>[createVNode(Pf,null,{default:withCtx(()=>[createVNode(ch,null,{default:withCtx(()=>Lf[18]||(Lf[18]=[createTextVNode("提示")])),_:1}),createVNode(ih,null,{default:withCtx(()=>Lf[19]||(Lf[19]=[createTextVNode(" 此操作将丢失本地自定义样式,是否继续? ")])),_:1})]),_:1}),createVNode(Qf,null,{default:withCtx(()=>[createVNode(uh,null,{default:withCtx(()=>Lf[20]||(Lf[20]=[createTextVNode("取消")])),_:1}),createVNode(xh,{onClick:Lf[7]||(Lf[7]=Wf=>unref(qa).resetStyle())},{default:withCtx(()=>Lf[21]||(Lf[21]=[createTextVNode(" 确认 ")])),_:1})]),_:1})]),_:1})]),_:1},8,["open"])],512)}}}),CodemirrorEditor=_export_sfc(_sfc_main$1,[["__scopeId","data-v-f0c9436f"]]),_sfc_main=defineComponent({__name:"App",setup(Ra){return(qa,nd)=>(openBlock(),createBlock(CodemirrorEditor))}});var css={exports:{}};(function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){nd.defineMode("css",function(Zd,Xd){var bf=Xd.inline;Xd.propertyKeywords||(Xd=nd.resolveMode("text/css"));var yf=Zd.indentUnit,Ef=Xd.tokenHooks,gf=Xd.documentTypes||{},xf=Xd.mediaTypes||{},Af=Xd.mediaFeatures||{},Lf=Xd.mediaValueKeywords||{},Xf=Xd.propertyKeywords||{},Jf=Xd.nonStandardPropertyKeywords||{},Zf=Xd.fontProperties||{},Bf=Xd.counterDescriptors||{},Df=Xd.colorKeywords||{},Uf=Xd.valueKeywords||{},Gf=Xd.allowNested,zf=Xd.lineComment,Tf=Xd.supportsAtComponent===!0,vf=Zd.highlightNonStandardPropertyKeywords!==!1,qf,eh;function ch(ph,Vh){return qf=Vh,ph}function ih(ph,Vh){var wh=ph.next();if(Ef[wh]){var fm=Ef[wh](ph,Vh);if(fm!==!1)return fm}if(wh=="@")return ph.eatWhile(/[\w\\\-]/),ch("def",ph.current());if(wh=="="||(wh=="~"||wh=="|")&&ph.eat("="))return ch(null,"compare");if(wh=='"'||wh=="'")return Vh.tokenize=Pf(wh),Vh.tokenize(ph,Vh);if(wh=="#")return ph.eatWhile(/[\w\\\-]/),ch("atom","hash");if(wh=="!")return ph.match(/^\s*\w*/),ch("keyword","important");if(/\d/.test(wh)||wh=="."&&ph.eat(/\d/))return ph.eatWhile(/[\w.%]/),ch("number","unit");if(wh==="-"){if(/[\d.]/.test(ph.peek()))return ph.eatWhile(/[\w.%]/),ch("number","unit");if(ph.match(/^-[\w\\\-]*/))return ph.eatWhile(/[\w\\\-]/),ph.match(/^\s*:/,!1)?ch("variable-2","variable-definition"):ch("variable-2","variable");if(ph.match(/^\w+-/))return ch("meta","meta")}else return/[,+>*\/]/.test(wh)?ch(null,"select-op"):wh=="."&&ph.match(/^-?[_a-z][_a-z0-9-]*/i)?ch("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(wh)?ch(null,wh):ph.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(ph.current())&&(Vh.tokenize=uh),ch("variable callee","variable")):/[\w\\\-]/.test(wh)?(ph.eatWhile(/[\w\\\-]/),ch("property","word")):ch(null,null)}function Pf(ph){return function(Vh,wh){for(var fm=!1,Nm;(Nm=Vh.next())!=null;){if(Nm==ph&&!fm){ph==")"&&Vh.backUp(1);break}fm=!fm&&Nm=="\\"}return(Nm==ph||!fm&&ph!=")")&&(wh.tokenize=null),ch("string","string")}}function uh(ph,Vh){return ph.next(),ph.match(/^\s*[\"\')]/,!1)?Vh.tokenize=null:Vh.tokenize=Pf(")"),ch(null,"(")}function xh(ph,Vh,wh){this.type=ph,this.indent=Vh,this.prev=wh}function Qf(ph,Vh,wh,fm){return ph.context=new xh(wh,Vh.indentation()+(fm===!1?0:yf),ph.context),wh}function wf(ph){return ph.context.prev&&(ph.context=ph.context.prev),ph.context.type}function $f(ph,Vh,wh){return Th[wh.context.type](ph,Vh,wh)}function Wf(ph,Vh,wh,fm){for(var Nm=fm||1;Nm>0;Nm--)wh.context=wh.context.prev;return $f(ph,Vh,wh)}function vh(ph){var Vh=ph.current().toLowerCase();Uf.hasOwnProperty(Vh)?eh="atom":Df.hasOwnProperty(Vh)?eh="keyword":eh="variable"}var Th={};return Th.top=function(ph,Vh,wh){if(ph=="{")return Qf(wh,Vh,"block");if(ph=="}"&&wh.context.prev)return wf(wh);if(Tf&&/@component/i.test(ph))return Qf(wh,Vh,"atComponentBlock");if(/^@(-moz-)?document$/i.test(ph))return Qf(wh,Vh,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(ph))return Qf(wh,Vh,"atBlock");if(/^@(font-face|counter-style)/i.test(ph))return wh.stateArg=ph,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(ph))return"keyframes";if(ph&&ph.charAt(0)=="@")return Qf(wh,Vh,"at");if(ph=="hash")eh="builtin";else if(ph=="word")eh="tag";else{if(ph=="variable-definition")return"maybeprop";if(ph=="interpolation")return Qf(wh,Vh,"interpolation");if(ph==":")return"pseudo";if(Gf&&ph=="(")return Qf(wh,Vh,"parens")}return wh.context.type},Th.block=function(ph,Vh,wh){if(ph=="word"){var fm=Vh.current().toLowerCase();return Xf.hasOwnProperty(fm)?(eh="property","maybeprop"):Jf.hasOwnProperty(fm)?(eh=vf?"string-2":"property","maybeprop"):Gf?(eh=Vh.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(eh+=" error","maybeprop")}else return ph=="meta"?"block":!Gf&&(ph=="hash"||ph=="qualifier")?(eh="error","block"):Th.top(ph,Vh,wh)},Th.maybeprop=function(ph,Vh,wh){return ph==":"?Qf(wh,Vh,"prop"):$f(ph,Vh,wh)},Th.prop=function(ph,Vh,wh){if(ph==";")return wf(wh);if(ph=="{"&&Gf)return Qf(wh,Vh,"propBlock");if(ph=="}"||ph=="{")return Wf(ph,Vh,wh);if(ph=="(")return Qf(wh,Vh,"parens");if(ph=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(Vh.current()))eh+=" error";else if(ph=="word")vh(Vh);else if(ph=="interpolation")return Qf(wh,Vh,"interpolation");return"prop"},Th.propBlock=function(ph,Vh,wh){return ph=="}"?wf(wh):ph=="word"?(eh="property","maybeprop"):wh.context.type},Th.parens=function(ph,Vh,wh){return ph=="{"||ph=="}"?Wf(ph,Vh,wh):ph==")"?wf(wh):ph=="("?Qf(wh,Vh,"parens"):ph=="interpolation"?Qf(wh,Vh,"interpolation"):(ph=="word"&&vh(Vh),"parens")},Th.pseudo=function(ph,Vh,wh){return ph=="meta"?"pseudo":ph=="word"?(eh="variable-3",wh.context.type):$f(ph,Vh,wh)},Th.documentTypes=function(ph,Vh,wh){return ph=="word"&&gf.hasOwnProperty(Vh.current())?(eh="tag",wh.context.type):Th.atBlock(ph,Vh,wh)},Th.atBlock=function(ph,Vh,wh){if(ph=="(")return Qf(wh,Vh,"atBlock_parens");if(ph=="}"||ph==";")return Wf(ph,Vh,wh);if(ph=="{")return wf(wh)&&Qf(wh,Vh,Gf?"block":"top");if(ph=="interpolation")return Qf(wh,Vh,"interpolation");if(ph=="word"){var fm=Vh.current().toLowerCase();fm=="only"||fm=="not"||fm=="and"||fm=="or"?eh="keyword":xf.hasOwnProperty(fm)?eh="attribute":Af.hasOwnProperty(fm)?eh="property":Lf.hasOwnProperty(fm)?eh="keyword":Xf.hasOwnProperty(fm)?eh="property":Jf.hasOwnProperty(fm)?eh=vf?"string-2":"property":Uf.hasOwnProperty(fm)?eh="atom":Df.hasOwnProperty(fm)?eh="keyword":eh="error"}return wh.context.type},Th.atComponentBlock=function(ph,Vh,wh){return ph=="}"?Wf(ph,Vh,wh):ph=="{"?wf(wh)&&Qf(wh,Vh,Gf?"block":"top",!1):(ph=="word"&&(eh="error"),wh.context.type)},Th.atBlock_parens=function(ph,Vh,wh){return ph==")"?wf(wh):ph=="{"||ph=="}"?Wf(ph,Vh,wh,2):Th.atBlock(ph,Vh,wh)},Th.restricted_atBlock_before=function(ph,Vh,wh){return ph=="{"?Qf(wh,Vh,"restricted_atBlock"):ph=="word"&&wh.stateArg=="@counter-style"?(eh="variable","restricted_atBlock_before"):$f(ph,Vh,wh)},Th.restricted_atBlock=function(ph,Vh,wh){return ph=="}"?(wh.stateArg=null,wf(wh)):ph=="word"?(wh.stateArg=="@font-face"&&!Zf.hasOwnProperty(Vh.current().toLowerCase())||wh.stateArg=="@counter-style"&&!Bf.hasOwnProperty(Vh.current().toLowerCase())?eh="error":eh="property","maybeprop"):"restricted_atBlock"},Th.keyframes=function(ph,Vh,wh){return ph=="word"?(eh="variable","keyframes"):ph=="{"?Qf(wh,Vh,"top"):$f(ph,Vh,wh)},Th.at=function(ph,Vh,wh){return ph==";"?wf(wh):ph=="{"||ph=="}"?Wf(ph,Vh,wh):(ph=="word"?eh="tag":ph=="hash"&&(eh="builtin"),"at")},Th.interpolation=function(ph,Vh,wh){return ph=="}"?wf(wh):ph=="{"||ph==";"?Wf(ph,Vh,wh):(ph=="word"?eh="variable":ph!="variable"&&ph!="("&&ph!=")"&&(eh="error"),"interpolation")},{startState:function(ph){return{tokenize:null,state:bf?"block":"top",stateArg:null,context:new xh(bf?"block":"top",ph||0,null)}},token:function(ph,Vh){if(!Vh.tokenize&&ph.eatSpace())return null;var wh=(Vh.tokenize||ih)(ph,Vh);return wh&&typeof wh=="object"&&(qf=wh[1],wh=wh[0]),eh=wh,qf!="comment"&&(Vh.state=Th[Vh.state](qf,ph,Vh)),eh},indent:function(ph,Vh){var wh=ph.context,fm=Vh&&Vh.charAt(0),Nm=wh.indent;return wh.type=="prop"&&(fm=="}"||fm==")")&&(wh=wh.prev),wh.prev&&(fm=="}"&&(wh.type=="block"||wh.type=="top"||wh.type=="interpolation"||wh.type=="restricted_atBlock")?(wh=wh.prev,Nm=wh.indent):(fm==")"&&(wh.type=="parens"||wh.type=="atBlock_parens")||fm=="{"&&(wh.type=="at"||wh.type=="atBlock"))&&(Nm=Math.max(0,wh.indent-yf))),Nm},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:zf,fold:"brace"}});function od(Zd){for(var Xd={},bf=0;bf!?|~^@]/,Id=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function kd(hh){for(var Bh=!1,Mm,zm=!1;(Mm=hh.next())!=null;){if(!Bh){if(Mm=="/"&&!zm)return;Mm=="["?zm=!0:zm&&Mm=="]"&&(zm=!1)}Bh=!Bh&&Mm=="\\"}}var jd,Fd;function Md(hh,Bh,Mm){return jd=hh,Fd=Mm,Bh}function Ld(hh,Bh){var Mm=hh.next();if(Mm=='"'||Mm=="'")return Bh.tokenize=Hd(Mm),Bh.tokenize(hh,Bh);if(Mm=="."&&hh.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return Md("number","number");if(Mm=="."&&hh.match(".."))return Md("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(Mm))return Md(Mm);if(Mm=="="&&hh.eat(">"))return Md("=>","operator");if(Mm=="0"&&hh.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return Md("number","number");if(/\d/.test(Mm))return hh.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),Md("number","number");if(Mm=="/")return hh.eat("*")?(Bh.tokenize=Gd,Gd(hh,Bh)):hh.eat("/")?(hh.skipToEnd(),Md("comment","comment")):y_(hh,Bh,1)?(kd(hh),hh.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),Md("regexp","string-2")):(hh.eat("="),Md("operator","operator",hh.current()));if(Mm=="`")return Bh.tokenize=Vd,Vd(hh,Bh);if(Mm=="#"&&hh.peek()=="!")return hh.skipToEnd(),Md("meta","meta");if(Mm=="#"&&hh.eatWhile(vd))return Md("variable","property");if(Mm=="<"&&hh.match("!--")||Mm=="-"&&hh.match("->")&&!/\S/.test(hh.string.slice(0,hh.start)))return hh.skipToEnd(),Md("comment","comment");if(Nd.test(Mm))return(Mm!=">"||!Bh.lexical||Bh.lexical.type!=">")&&(hh.eat("=")?(Mm=="!"||Mm=="=")&&hh.eat("="):/[<>*+\-|&?]/.test(Mm)&&(hh.eat(Mm),Mm==">"&&hh.eat(Mm))),Mm=="?"&&hh.eat(".")?Md("."):Md("operator","operator",hh.current());if(vd.test(Mm)){hh.eatWhile(vd);var zm=hh.current();if(Bh.lastType!="."){if(Ad.propertyIsEnumerable(zm)){var Tm=Ad[zm];return Md(Tm.type,Tm.style,zm)}if(zm=="async"&&hh.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return Md("async","keyword",zm)}return Md("variable","variable",zm)}}function Hd(hh){return function(Bh,Mm){var zm=!1,Tm;if(dd&&Bh.peek()=="@"&&Bh.match(Id))return Mm.tokenize=Ld,Md("jsonld-keyword","meta");for(;(Tm=Bh.next())!=null&&!(Tm==hh&&!zm);)zm=!zm&&Tm=="\\";return zm||(Mm.tokenize=Ld),Md("string","string")}}function Gd(hh,Bh){for(var Mm=!1,zm;zm=hh.next();){if(zm=="/"&&Mm){Bh.tokenize=Ld;break}Mm=zm=="*"}return Md("comment","comment")}function Vd(hh,Bh){for(var Mm=!1,zm;(zm=hh.next())!=null;){if(!Mm&&(zm=="`"||zm=="$"&&hh.eat("{"))){Bh.tokenize=Ld;break}Mm=!Mm&&zm=="\\"}return Md("quasi","string-2",hh.current())}var Kd="([{}])";function mf(hh,Bh){Bh.fatArrowAt&&(Bh.fatArrowAt=null);var Mm=hh.string.indexOf("=>",hh.start);if(!(Mm<0)){if(md){var zm=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(hh.string.slice(hh.start,Mm));zm&&(Mm=zm.index)}for(var Tm=0,e_=!1,O_=Mm-1;O_>=0;--O_){var og=hh.string.charAt(O_),Cg=Kd.indexOf(og);if(Cg>=0&&Cg<3){if(!Tm){++O_;break}if(--Tm==0){og=="("&&(e_=!0);break}}else if(Cg>=3&&Cg<6)++Tm;else if(vd.test(og))e_=!0;else if(/["'\/`]/.test(og))for(;;--O_){if(O_==0)return;var rb=hh.string.charAt(O_-1);if(rb==og&&hh.string.charAt(O_-2)!="\\"){O_--;break}}else if(e_&&!Tm){++O_;break}}e_&&!Tm&&(Bh.fatArrowAt=O_)}}var Wd={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function Zd(hh,Bh,Mm,zm,Tm,e_){this.indented=hh,this.column=Bh,this.type=Mm,this.prev=Tm,this.info=e_,zm!=null&&(this.align=zm)}function Xd(hh,Bh){if(!fd)return!1;for(var Mm=hh.localVars;Mm;Mm=Mm.next)if(Mm.name==Bh)return!0;for(var zm=hh.context;zm;zm=zm.prev)for(var Mm=zm.vars;Mm;Mm=Mm.next)if(Mm.name==Bh)return!0}function bf(hh,Bh,Mm,zm,Tm){var e_=hh.cc;for(yf.state=hh,yf.stream=Tm,yf.marked=null,yf.cc=e_,yf.style=Bh,hh.lexical.hasOwnProperty("align")||(hh.lexical.align=!0);;){var O_=e_.length?e_.pop():pd?ch:qf;if(O_(Mm,zm)){for(;e_.length&&e_[e_.length-1].lex;)e_.pop()();return yf.marked?yf.marked:Mm=="variable"&&Xd(hh,zm)?"variable-2":Bh}}}var yf={state:null,column:null,marked:null,cc:null};function Ef(){for(var hh=arguments.length-1;hh>=0;hh--)yf.cc.push(arguments[hh])}function gf(){return Ef.apply(null,arguments),!0}function xf(hh,Bh){for(var Mm=Bh;Mm;Mm=Mm.next)if(Mm.name==hh)return!0;return!1}function Af(hh){var Bh=yf.state;if(yf.marked="def",!!fd){if(Bh.context){if(Bh.lexical.info=="var"&&Bh.context&&Bh.context.block){var Mm=Lf(hh,Bh.context);if(Mm!=null){Bh.context=Mm;return}}else if(!xf(hh,Bh.localVars)){Bh.localVars=new Zf(hh,Bh.localVars);return}}ld.globalVars&&!xf(hh,Bh.globalVars)&&(Bh.globalVars=new Zf(hh,Bh.globalVars))}}function Lf(hh,Bh){if(Bh)if(Bh.block){var Mm=Lf(hh,Bh.prev);return Mm?Mm==Bh.prev?Bh:new Jf(Mm,Bh.vars,!0):null}else return xf(hh,Bh.vars)?Bh:new Jf(Bh.prev,new Zf(hh,Bh.vars),!1);else return null}function Xf(hh){return hh=="public"||hh=="private"||hh=="protected"||hh=="abstract"||hh=="readonly"}function Jf(hh,Bh,Mm){this.prev=hh,this.vars=Bh,this.block=Mm}function Zf(hh,Bh){this.name=hh,this.next=Bh}var Bf=new Zf("this",new Zf("arguments",null));function Df(){yf.state.context=new Jf(yf.state.context,yf.state.localVars,!1),yf.state.localVars=Bf}function Uf(){yf.state.context=new Jf(yf.state.context,yf.state.localVars,!0),yf.state.localVars=null}Df.lex=Uf.lex=!0;function Gf(){yf.state.localVars=yf.state.context.vars,yf.state.context=yf.state.context.prev}Gf.lex=!0;function zf(hh,Bh){var Mm=function(){var zm=yf.state,Tm=zm.indented;if(zm.lexical.type=="stat")Tm=zm.lexical.indented;else for(var e_=zm.lexical;e_&&e_.type==")"&&e_.align;e_=e_.prev)Tm=e_.indented;zm.lexical=new Zd(Tm,yf.stream.column(),hh,null,zm.lexical,Bh)};return Mm.lex=!0,Mm}function Tf(){var hh=yf.state;hh.lexical.prev&&(hh.lexical.type==")"&&(hh.indented=hh.lexical.indented),hh.lexical=hh.lexical.prev)}Tf.lex=!0;function vf(hh){function Bh(Mm){return Mm==hh?gf():hh==";"||Mm=="}"||Mm==")"||Mm=="]"?Ef():gf(Bh)}return Bh}function qf(hh,Bh){return hh=="var"?gf(zf("vardef",Bh),tg,vf(";"),Tf):hh=="keyword a"?gf(zf("form"),Pf,qf,Tf):hh=="keyword b"?gf(zf("form"),qf,Tf):hh=="keyword d"?yf.stream.match(/^\s*$/,!1)?gf():gf(zf("stat"),xh,vf(";"),Tf):hh=="debugger"?gf(vf(";")):hh=="{"?gf(zf("}"),Uf,If,Tf,Gf):hh==";"?gf():hh=="if"?(yf.state.lexical.info=="else"&&yf.state.cc[yf.state.cc.length-1]==Tf&&yf.state.cc.pop()(),gf(zf("form"),Pf,qf,Tf,Qm)):hh=="function"?gf(Of):hh=="for"?gf(zf("form"),Uf,Zg,qf,Gf,Tf):hh=="class"||md&&Bh=="interface"?(yf.marked="keyword",gf(zf("form",hh=="class"?hh:Bh),Fh,Tf)):hh=="variable"?md&&Bh=="declare"?(yf.marked="keyword",gf(qf)):md&&(Bh=="module"||Bh=="enum"||Bh=="type")&&yf.stream.match(/^\s*\w/,!1)?(yf.marked="keyword",Bh=="enum"?gf(Km):Bh=="type"?gf(_h,vf("operator"),_m,vf(";")):gf(zf("form"),L_,vf("{"),zf("}"),If,Tf,Tf)):md&&Bh=="namespace"?(yf.marked="keyword",gf(zf("form"),ch,qf,Tf)):md&&Bh=="abstract"?(yf.marked="keyword",gf(qf)):gf(zf("stat"),fm):hh=="switch"?gf(zf("form"),Pf,vf("{"),zf("}","switch"),Uf,If,Tf,Tf,Gf):hh=="case"?gf(ch,vf(":")):hh=="default"?gf(vf(":")):hh=="catch"?gf(zf("form"),Df,eh,qf,Tf,Gf):hh=="export"?gf(zf("stat"),Im,Tf):hh=="import"?gf(zf("stat"),i_,Tf):hh=="async"?gf(qf):Bh=="@"?gf(ch,qf):Ef(zf("stat"),ch,vf(";"),Tf)}function eh(hh){if(hh=="(")return gf(Sh,vf(")"))}function ch(hh,Bh){return uh(hh,Bh,!1)}function ih(hh,Bh){return uh(hh,Bh,!0)}function Pf(hh){return hh!="("?Ef():gf(zf(")"),xh,vf(")"),Tf)}function uh(hh,Bh,Mm){if(yf.state.fatArrowAt==yf.stream.start){var zm=Mm?Th:vh;if(hh=="(")return gf(Df,zf(")"),fh(Sh,")"),Tf,vf("=>"),zm,Gf);if(hh=="variable")return Ef(Df,L_,vf("=>"),zm,Gf)}var Tm=Mm?wf:Qf;return Wd.hasOwnProperty(hh)?gf(Tm):hh=="function"?gf(Of,Tm):hh=="class"||md&&Bh=="interface"?(yf.marked="keyword",gf(zf("form"),Wh,Tf)):hh=="keyword c"||hh=="async"?gf(Mm?ih:ch):hh=="("?gf(zf(")"),xh,vf(")"),Tf,Tm):hh=="operator"||hh=="spread"?gf(Mm?ih:ch):hh=="["?gf(zf("]"),C_,Tf,Tm):hh=="{"?Rf(cm,"}",null,Tm):hh=="quasi"?Ef($f,Tm):hh=="new"?gf(ph(Mm)):gf()}function xh(hh){return hh.match(/[;\}\)\],]/)?Ef():Ef(ch)}function Qf(hh,Bh){return hh==","?gf(xh):wf(hh,Bh,!1)}function wf(hh,Bh,Mm){var zm=Mm==!1?Qf:wf,Tm=Mm==!1?ch:ih;if(hh=="=>")return gf(Df,Mm?Th:vh,Gf);if(hh=="operator")return/\+\+|--/.test(Bh)||md&&Bh=="!"?gf(zm):md&&Bh=="<"&&yf.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?gf(zf(">"),fh(_m,">"),Tf,zm):Bh=="?"?gf(ch,vf(":"),Tm):gf(Tm);if(hh=="quasi")return Ef($f,zm);if(hh!=";"){if(hh=="(")return Rf(ih,")","call",zm);if(hh==".")return gf(Nm,zm);if(hh=="[")return gf(zf("]"),xh,vf("]"),Tf,zm);if(md&&Bh=="as")return yf.marked="keyword",gf(_m,zm);if(hh=="regexp")return yf.state.lastType=yf.marked="operator",yf.stream.backUp(yf.stream.pos-yf.stream.start-1),gf(Tm)}}function $f(hh,Bh){return hh!="quasi"?Ef():Bh.slice(Bh.length-2)!="${"?gf($f):gf(xh,Wf)}function Wf(hh){if(hh=="}")return yf.marked="string-2",yf.state.tokenize=Vd,gf($f)}function vh(hh){return mf(yf.stream,yf.state),Ef(hh=="{"?qf:ch)}function Th(hh){return mf(yf.stream,yf.state),Ef(hh=="{"?qf:ih)}function ph(hh){return function(Bh){return Bh=="."?gf(hh?wh:Vh):Bh=="variable"&&md?gf(x_,hh?wf:Qf):Ef(hh?ih:ch)}}function Vh(hh,Bh){if(Bh=="target")return yf.marked="keyword",gf(Qf)}function wh(hh,Bh){if(Bh=="target")return yf.marked="keyword",gf(wf)}function fm(hh){return hh==":"?gf(Tf,qf):Ef(Qf,vf(";"),Tf)}function Nm(hh){if(hh=="variable")return yf.marked="property",gf()}function cm(hh,Bh){if(hh=="async")return yf.marked="property",gf(cm);if(hh=="variable"||yf.style=="keyword"){if(yf.marked="property",Bh=="get"||Bh=="set")return gf(Sm);var Mm;return md&&yf.state.fatArrowAt==yf.stream.start&&(Mm=yf.stream.match(/^\s*:\s*/,!1))&&(yf.state.fatArrowAt=yf.stream.pos+Mm[0].length),gf($m)}else{if(hh=="number"||hh=="string")return yf.marked=dd?"property":yf.style+" property",gf($m);if(hh=="jsonld-keyword")return gf($m);if(md&&Xf(Bh))return yf.marked="keyword",gf(cm);if(hh=="[")return gf(ch,dh,vf("]"),$m);if(hh=="spread")return gf(ih,$m);if(Bh=="*")return yf.marked="keyword",gf(cm);if(hh==":")return Ef($m)}}function Sm(hh){return hh!="variable"?Ef($m):(yf.marked="property",gf(Of))}function $m(hh){if(hh==":")return gf(ih);if(hh=="(")return Ef(Of)}function fh(hh,Bh,Mm){function zm(Tm,e_){if(Mm?Mm.indexOf(Tm)>-1:Tm==","){var O_=yf.state.lexical;return O_.info=="call"&&(O_.pos=(O_.pos||0)+1),gf(function(og,Cg){return og==Bh||Cg==Bh?Ef():Ef(hh)},zm)}return Tm==Bh||e_==Bh?gf():Mm&&Mm.indexOf(";")>-1?Ef(hh):gf(vf(Bh))}return function(Tm,e_){return Tm==Bh||e_==Bh?gf():Ef(hh,zm)}}function Rf(hh,Bh,Mm){for(var zm=3;zm"),_m);if(hh=="quasi")return Ef(Xm,H_)}function Um(hh){if(hh=="=>")return gf(_m)}function Om(hh){return hh.match(/[\}\)\]]/)?gf():hh==","||hh==";"?gf(Om):Ef(r_,Om)}function r_(hh,Bh){if(hh=="variable"||yf.style=="keyword")return yf.marked="property",gf(r_);if(Bh=="?"||hh=="number"||hh=="string")return gf(r_);if(hh==":")return gf(_m);if(hh=="[")return gf(vf("variable"),yh,vf("]"),r_);if(hh=="(")return Ef(Ch,r_);if(!hh.match(/[;\}\)\],]/))return gf()}function Xm(hh,Bh){return hh!="quasi"?Ef():Bh.slice(Bh.length-2)!="${"?gf(Xm):gf(_m,s_)}function s_(hh){if(hh=="}")return yf.marked="string-2",yf.state.tokenize=Vd,gf(Xm)}function b_(hh,Bh){return hh=="variable"&&yf.stream.match(/^\s*[?:]/,!1)||Bh=="?"?gf(b_):hh==":"?gf(_m):hh=="spread"?gf(b_):Ef(_m)}function H_(hh,Bh){if(Bh=="<")return gf(zf(">"),fh(_m,">"),Tf,H_);if(Bh=="|"||hh=="."||Bh=="&")return gf(_m);if(hh=="[")return gf(_m,vf("]"),H_);if(Bh=="extends"||Bh=="implements")return yf.marked="keyword",gf(_m);if(Bh=="?")return gf(_m,vf(":"),_m)}function x_(hh,Bh){if(Bh=="<")return gf(zf(">"),fh(_m,">"),Tf,H_)}function M_(){return Ef(_m,h_)}function h_(hh,Bh){if(Bh=="=")return gf(_m)}function tg(hh,Bh){return Bh=="enum"?(yf.marked="keyword",gf(Km)):Ef(L_,dh,q_,Y_)}function L_(hh,Bh){if(md&&Xf(Bh))return yf.marked="keyword",gf(L_);if(hh=="variable")return Af(Bh),gf();if(hh=="spread")return gf(L_);if(hh=="[")return Rf(yg,"]");if(hh=="{")return Rf(dg,"}")}function dg(hh,Bh){return hh=="variable"&&!yf.stream.match(/^\s*:/,!1)?(Af(Bh),gf(q_)):(hh=="variable"&&(yf.marked="property"),hh=="spread"?gf(L_):hh=="}"?Ef():hh=="["?gf(ch,vf("]"),vf(":"),dg):gf(vf(":"),L_,q_))}function yg(){return Ef(L_,q_)}function q_(hh,Bh){if(Bh=="=")return gf(ih)}function Y_(hh){if(hh==",")return gf(tg)}function Qm(hh,Bh){if(hh=="keyword b"&&Bh=="else")return gf(zf("form","else"),qf,Tf)}function Zg(hh,Bh){if(Bh=="await")return gf(Zg);if(hh=="(")return gf(zf(")"),db,Tf)}function db(hh){return hh=="var"?gf(tg,$g):hh=="variable"?gf($g):Ef($g)}function $g(hh,Bh){return hh==")"?gf():hh==";"?gf($g):Bh=="in"||Bh=="of"?(yf.marked="keyword",gf(ch,$g)):Ef(ch,$g)}function Of(hh,Bh){if(Bh=="*")return yf.marked="keyword",gf(Of);if(hh=="variable")return Af(Bh),gf(Of);if(hh=="(")return gf(Df,zf(")"),fh(Sh,")"),Tf,Uh,qf,Gf);if(md&&Bh=="<")return gf(zf(">"),fh(M_,">"),Tf,Of)}function Ch(hh,Bh){if(Bh=="*")return yf.marked="keyword",gf(Ch);if(hh=="variable")return Af(Bh),gf(Ch);if(hh=="(")return gf(Df,zf(")"),fh(Sh,")"),Tf,Uh,Gf);if(md&&Bh=="<")return gf(zf(">"),fh(M_,">"),Tf,Ch)}function _h(hh,Bh){if(hh=="keyword"||hh=="variable")return yf.marked="type",gf(_h);if(Bh=="<")return gf(zf(">"),fh(M_,">"),Tf)}function Sh(hh,Bh){return Bh=="@"&&gf(ch,Sh),hh=="spread"?gf(Sh):md&&Xf(Bh)?(yf.marked="keyword",gf(Sh)):md&&hh=="this"?gf(dh,q_):Ef(L_,dh,q_)}function Wh(hh,Bh){return hh=="variable"?Fh(hh,Bh):om(hh,Bh)}function Fh(hh,Bh){if(hh=="variable")return Af(Bh),gf(om)}function om(hh,Bh){if(Bh=="<")return gf(zf(">"),fh(M_,">"),Tf,om);if(Bh=="extends"||Bh=="implements"||md&&hh==",")return Bh=="implements"&&(yf.marked="keyword"),gf(md?_m:ch,om);if(hh=="{")return gf(zf("}"),im,Tf)}function im(hh,Bh){if(hh=="async"||hh=="variable"&&(Bh=="static"||Bh=="get"||Bh=="set"||md&&Xf(Bh))&&yf.stream.match(/^\s+#?[\w$\xa1-\uffff]/,!1))return yf.marked="keyword",gf(im);if(hh=="variable"||yf.style=="keyword")return yf.marked="property",gf(Rh,im);if(hh=="number"||hh=="string")return gf(Rh,im);if(hh=="[")return gf(ch,dh,vf("]"),Rh,im);if(Bh=="*")return yf.marked="keyword",gf(im);if(md&&hh=="(")return Ef(Ch,im);if(hh==";"||hh==",")return gf(im);if(hh=="}")return gf();if(Bh=="@")return gf(ch,im)}function Rh(hh,Bh){if(Bh=="!"||Bh=="?")return gf(Rh);if(hh==":")return gf(_m,q_);if(Bh=="=")return gf(ih);var Mm=yf.state.lexical.prev,zm=Mm&&Mm.info=="interface";return Ef(zm?Ch:Of)}function Im(hh,Bh){return Bh=="*"?(yf.marked="keyword",gf(B_,vf(";"))):Bh=="default"?(yf.marked="keyword",gf(ch,vf(";"))):hh=="{"?gf(fh(Pm,"}"),B_,vf(";")):Ef(qf)}function Pm(hh,Bh){if(Bh=="as")return yf.marked="keyword",gf(vf("variable"));if(hh=="variable")return Ef(ih,Pm)}function i_(hh){return hh=="string"?gf():hh=="("?Ef(ch):hh=="."?Ef(Qf):Ef(Hm,o_,B_)}function Hm(hh,Bh){return hh=="{"?Rf(Hm,"}"):(hh=="variable"&&Af(Bh),Bh=="*"&&(yf.marked="keyword"),gf(j_))}function o_(hh){if(hh==",")return gf(Hm,o_)}function j_(hh,Bh){if(Bh=="as")return yf.marked="keyword",gf(Hm)}function B_(hh,Bh){if(Bh=="from")return yf.marked="keyword",gf(ch)}function C_(hh){return hh=="]"?gf():Ef(fh(ih,"]"))}function Km(){return Ef(zf("form"),L_,vf("{"),zf("}"),fh(ig,"}"),Tf,Tf)}function ig(){return Ef(L_,q_)}function N_(hh,Bh){return hh.lastType=="operator"||hh.lastType==","||Nd.test(Bh.charAt(0))||/[,.]/.test(Bh.charAt(0))}function y_(hh,Bh,Mm){return Bh.tokenize==Ld&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(Bh.lastType)||Bh.lastType=="quasi"&&/\{\s*$/.test(hh.string.slice(0,hh.pos-(Mm||0)))}return{startState:function(hh){var Bh={tokenize:Ld,lastType:"sof",cc:[],lexical:new Zd((hh||0)-ud,0,"block",!1),localVars:ld.localVars,context:ld.localVars&&new Jf(null,null,!1),indented:hh||0};return ld.globalVars&&typeof ld.globalVars=="object"&&(Bh.globalVars=ld.globalVars),Bh},token:function(hh,Bh){if(hh.sol()&&(Bh.lexical.hasOwnProperty("align")||(Bh.lexical.align=!1),Bh.indented=hh.indentation(),mf(hh,Bh)),Bh.tokenize!=Gd&&hh.eatSpace())return null;var Mm=Bh.tokenize(hh,Bh);return jd=="comment"?Mm:(Bh.lastType=jd=="operator"&&(Fd=="++"||Fd=="--")?"incdec":jd,bf(Bh,Mm,jd,Fd,hh))},indent:function(hh,Bh){if(hh.tokenize==Gd||hh.tokenize==Vd)return nd.Pass;if(hh.tokenize!=Ld)return 0;var Mm=Bh&&Bh.charAt(0),zm=hh.lexical,Tm;if(!/^\s*else\b/.test(Bh))for(var e_=hh.cc.length-1;e_>=0;--e_){var O_=hh.cc[e_];if(O_==Tf)zm=zm.prev;else if(O_!=Qm&&O_!=Gf)break}for(;(zm.type=="stat"||zm.type=="form")&&(Mm=="}"||(Tm=hh.cc[hh.cc.length-1])&&(Tm==Qf||Tm==wf)&&!/^[,\.=+\-*:?[\(]/.test(Bh));)zm=zm.prev;cd&&zm.type==")"&&zm.prev.type=="stat"&&(zm=zm.prev);var og=zm.type,Cg=Mm==og;return og=="vardef"?zm.indented+(hh.lastType=="operator"||hh.lastType==","?zm.info.length+1:0):og=="form"&&Mm=="{"?zm.indented:og=="form"?zm.indented+ud:og=="stat"?zm.indented+(N_(hh,Bh)?cd||ud:0):zm.info=="switch"&&!Cg&&ld.doubleIndentSwitch!=!1?zm.indented+(/^(?:case|default)\b/.test(Bh)?ud:2*ud):zm.align?zm.column+(Cg?0:1):zm.indented+(Cg?0:ud)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:pd?null:"/*",blockCommentEnd:pd?null:"*/",blockCommentContinue:pd?null:" * ",lineComment:pd?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:pd?"json":"javascript",jsonldMode:dd,jsonMode:pd,expressionAllowed:y_,skipExpression:function(hh){bf(hh,"atom","atom","true",new nd.StringStream("",2,null))}}}),nd.registerHelper("wordChars","javascript",/[\w$]/),nd.defineMIME("text/javascript","javascript"),nd.defineMIME("text/ecmascript","javascript"),nd.defineMIME("application/javascript","javascript"),nd.defineMIME("application/x-javascript","javascript"),nd.defineMIME("application/ecmascript","javascript"),nd.defineMIME("application/json",{name:"javascript",json:!0}),nd.defineMIME("application/x-json",{name:"javascript",json:!0}),nd.defineMIME("application/manifest+json",{name:"javascript",json:!0}),nd.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),nd.defineMIME("text/typescript",{name:"javascript",typescript:!0}),nd.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var xml={exports:{}},hasRequiredXml;function requireXml(){return hasRequiredXml||(hasRequiredXml=1,function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){var od={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},ld={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};nd.defineMode("xml",function(ud,cd){var dd=ud.indentUnit,pd={},fd=cd.htmlMode?od:ld;for(var md in fd)pd[md]=fd[md];for(var md in cd)pd[md]=cd[md];var vd,Ad;function Nd(gf,xf){function Af(Jf){return xf.tokenize=Jf,Jf(gf,xf)}var Lf=gf.next();if(Lf=="<")return gf.eat("!")?gf.eat("[")?gf.match("CDATA[")?Af(jd("atom","]]>")):null:gf.match("--")?Af(jd("comment","-->")):gf.match("DOCTYPE",!0,!0)?(gf.eatWhile(/[\w\._\-]/),Af(Fd(1))):null:gf.eat("?")?(gf.eatWhile(/[\w\._\-]/),xf.tokenize=jd("meta","?>"),"meta"):(vd=gf.eat("/")?"closeTag":"openTag",xf.tokenize=Id,"tag bracket");if(Lf=="&"){var Xf;return gf.eat("#")?gf.eat("x")?Xf=gf.eatWhile(/[a-fA-F\d]/)&&gf.eat(";"):Xf=gf.eatWhile(/[\d]/)&&gf.eat(";"):Xf=gf.eatWhile(/[\w\.\-:]/)&&gf.eat(";"),Xf?"atom":"error"}else return gf.eatWhile(/[^&<]/),null}Nd.isInText=!0;function Id(gf,xf){var Af=gf.next();if(Af==">"||Af=="/"&&gf.eat(">"))return xf.tokenize=Nd,vd=Af==">"?"endTag":"selfcloseTag","tag bracket";if(Af=="=")return vd="equals",null;if(Af=="<"){xf.tokenize=Nd,xf.state=Vd,xf.tagName=xf.tagStart=null;var Lf=xf.tokenize(gf,xf);return Lf?Lf+" tag error":"tag error"}else return/[\'\"]/.test(Af)?(xf.tokenize=kd(Af),xf.stringStartCol=gf.column(),xf.tokenize(gf,xf)):(gf.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function kd(gf){var xf=function(Af,Lf){for(;!Af.eol();)if(Af.next()==gf){Lf.tokenize=Id;break}return"string"};return xf.isInAttribute=!0,xf}function jd(gf,xf){return function(Af,Lf){for(;!Af.eol();){if(Af.match(xf)){Lf.tokenize=Nd;break}Af.next()}return gf}}function Fd(gf){return function(xf,Af){for(var Lf;(Lf=xf.next())!=null;){if(Lf=="<")return Af.tokenize=Fd(gf+1),Af.tokenize(xf,Af);if(Lf==">")if(gf==1){Af.tokenize=Nd;break}else return Af.tokenize=Fd(gf-1),Af.tokenize(xf,Af)}return"meta"}}function Md(gf){return gf&&gf.toLowerCase()}function Ld(gf,xf,Af){this.prev=gf.context,this.tagName=xf||"",this.indent=gf.indented,this.startOfLine=Af,(pd.doNotIndent.hasOwnProperty(xf)||gf.context&&gf.context.noIndent)&&(this.noIndent=!0)}function Hd(gf){gf.context&&(gf.context=gf.context.prev)}function Gd(gf,xf){for(var Af;;){if(!gf.context||(Af=gf.context.tagName,!pd.contextGrabbers.hasOwnProperty(Md(Af))||!pd.contextGrabbers[Md(Af)].hasOwnProperty(Md(xf))))return;Hd(gf)}}function Vd(gf,xf,Af){return gf=="openTag"?(Af.tagStart=xf.column(),Kd):gf=="closeTag"?mf:Vd}function Kd(gf,xf,Af){return gf=="word"?(Af.tagName=xf.current(),Ad="tag",Xd):pd.allowMissingTagName&&gf=="endTag"?(Ad="tag bracket",Xd(gf,xf,Af)):(Ad="error",Kd)}function mf(gf,xf,Af){if(gf=="word"){var Lf=xf.current();return Af.context&&Af.context.tagName!=Lf&&pd.implicitlyClosed.hasOwnProperty(Md(Af.context.tagName))&&Hd(Af),Af.context&&Af.context.tagName==Lf||pd.matchClosing===!1?(Ad="tag",Wd):(Ad="tag error",Zd)}else return pd.allowMissingTagName&&gf=="endTag"?(Ad="tag bracket",Wd(gf,xf,Af)):(Ad="error",Zd)}function Wd(gf,xf,Af){return gf!="endTag"?(Ad="error",Wd):(Hd(Af),Vd)}function Zd(gf,xf,Af){return Ad="error",Wd(gf,xf,Af)}function Xd(gf,xf,Af){if(gf=="word")return Ad="attribute",bf;if(gf=="endTag"||gf=="selfcloseTag"){var Lf=Af.tagName,Xf=Af.tagStart;return Af.tagName=Af.tagStart=null,gf=="selfcloseTag"||pd.autoSelfClosers.hasOwnProperty(Md(Lf))?Gd(Af,Lf):(Gd(Af,Lf),Af.context=new Ld(Af,Lf,Xf==Af.indented)),Vd}return Ad="error",Xd}function bf(gf,xf,Af){return gf=="equals"?yf:(pd.allowMissing||(Ad="error"),Xd(gf,xf,Af))}function yf(gf,xf,Af){return gf=="string"?Ef:gf=="word"&&pd.allowUnquoted?(Ad="string",Xd):(Ad="error",Xd(gf,xf,Af))}function Ef(gf,xf,Af){return gf=="string"?Ef:Xd(gf,xf,Af)}return{startState:function(gf){var xf={tokenize:Nd,state:Vd,indented:gf||0,tagName:null,tagStart:null,context:null};return gf!=null&&(xf.baseIndent=gf),xf},token:function(gf,xf){if(!xf.tagName&&gf.sol()&&(xf.indented=gf.indentation()),gf.eatSpace())return null;vd=null;var Af=xf.tokenize(gf,xf);return(Af||vd)&&Af!="comment"&&(Ad=null,xf.state=xf.state(vd||Af,gf,xf),Ad&&(Af=Ad=="error"?Af+" error":Ad)),Af},indent:function(gf,xf,Af){var Lf=gf.context;if(gf.tokenize.isInAttribute)return gf.tagStart==gf.indented?gf.stringStartCol+1:gf.indented+dd;if(Lf&&Lf.noIndent)return nd.Pass;if(gf.tokenize!=Id&&gf.tokenize!=Nd)return Af?Af.match(/^(\s*)/)[0].length:0;if(gf.tagName)return pd.multilineTagIndentPastTag!==!1?gf.tagStart+gf.tagName.length+2:gf.tagStart+dd*(pd.multilineTagIndentFactor||1);if(pd.alignCDATA&&/$/,blockCommentStart:"",configuration:pd.htmlMode?"html":"xml",helperType:pd.htmlMode?"html":"xml",skipAttribute:function(gf){gf.state==yf&&(gf.state=Xd)},xmlCurrentTag:function(gf){return gf.tagName?{name:gf.tagName,close:gf.type=="closeTag"}:null},xmlCurrentContext:function(gf){for(var xf=[],Af=gf.context;Af;Af=Af.prev)xf.push(Af.tagName);return xf.reverse()}}}),nd.defineMIME("text/xml","xml"),nd.defineMIME("application/xml","xml"),nd.mimeModes.hasOwnProperty("text/html")||nd.defineMIME("text/html",{name:"xml",htmlMode:!0})})}()),xml.exports}var meta={exports:{}},hasRequiredMeta;function requireMeta(){return hasRequiredMeta||(hasRequiredMeta=1,function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){nd.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy","cbl"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded JavaScript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"],alias:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var od=0;od-1&&ud.substring(pd+1,ud.length);if(fd)return nd.findModeByExtension(fd)},nd.findModeByName=function(ud){ud=ud.toLowerCase();for(var cd=0;cd` "'(~:]+/,jd=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Fd=/^\s*\[[^\]]+?\]:.*$/,Md=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,Ld=" ";function Hd(Bf,Df,Uf){return Df.f=Df.inline=Uf,Uf(Bf,Df)}function Gd(Bf,Df,Uf){return Df.f=Df.block=Uf,Uf(Bf,Df)}function Vd(Bf){return!Bf||!/\S/.test(Bf.string)}function Kd(Bf){if(Bf.linkTitle=!1,Bf.linkHref=!1,Bf.linkText=!1,Bf.em=!1,Bf.strong=!1,Bf.strikethrough=!1,Bf.quote=0,Bf.indentedCode=!1,Bf.f==Wd){var Df=cd;if(!Df){var Uf=nd.innerMode(ud,Bf.htmlState);Df=Uf.mode.name=="xml"&&Uf.state.tagStart===null&&!Uf.state.context&&Uf.state.tokenize.isInText}Df&&(Bf.f=yf,Bf.block=mf,Bf.htmlState=null)}return Bf.trailingSpace=0,Bf.trailingSpaceNewLine=!1,Bf.prevLine=Bf.thisLine,Bf.thisLine={stream:null},null}function mf(Bf,Df){var Uf=Bf.column()===Df.indentation,Gf=Vd(Df.prevLine.stream),zf=Df.indentedCode,Tf=Df.prevLine.hr,vf=Df.list!==!1,qf=(Df.listStack[Df.listStack.length-1]||0)+3;Df.indentedCode=!1;var eh=Df.indentation;if(Df.indentationDiff===null&&(Df.indentationDiff=Df.indentation,vf)){for(Df.list=null;eh=4&&(zf||Df.prevLine.fencedCodeEnd||Df.prevLine.header||Gf))return Bf.skipToEnd(),Df.indentedCode=!0,pd.code;if(Bf.eatSpace())return null;if(Uf&&Df.indentation<=qf&&(Pf=Bf.match(Nd))&&Pf[1].length<=6)return Df.quote=0,Df.header=Pf[1].length,Df.thisLine.header=!0,ld.highlightFormatting&&(Df.formatting="header"),Df.f=Df.inline,Xd(Df);if(Df.indentation<=qf&&Bf.eat(">"))return Df.quote=Uf?1:Df.quote+1,ld.highlightFormatting&&(Df.formatting="quote"),Bf.eatSpace(),Xd(Df);if(!ih&&!Df.setext&&Uf&&Df.indentation<=qf&&(Pf=Bf.match(vd))){var uh=Pf[1]?"ol":"ul";return Df.indentation=eh+Bf.current().length,Df.list=!0,Df.quote=0,Df.listStack.push(Df.indentation),Df.em=!1,Df.strong=!1,Df.code=!1,Df.strikethrough=!1,ld.taskLists&&Bf.match(Ad,!1)&&(Df.taskList=!0),Df.f=Df.inline,ld.highlightFormatting&&(Df.formatting=["list","list-"+uh]),Xd(Df)}else{if(Uf&&Df.indentation<=qf&&(Pf=Bf.match(jd,!0)))return Df.quote=0,Df.fencedEndRE=new RegExp(Pf[1]+"+ *$"),Df.localMode=ld.fencedCodeBlockHighlighting&&dd(Pf[2]||ld.fencedCodeBlockDefaultMode),Df.localMode&&(Df.localState=nd.startState(Df.localMode)),Df.f=Df.block=Zd,ld.highlightFormatting&&(Df.formatting="code-block"),Df.code=-1,Xd(Df);if(Df.setext||(!ch||!vf)&&!Df.quote&&Df.list===!1&&!Df.code&&!ih&&!Fd.test(Bf.string)&&(Pf=Bf.lookAhead(1))&&(Pf=Pf.match(Id)))return Df.setext?(Df.header=Df.setext,Df.setext=0,Bf.skipToEnd(),ld.highlightFormatting&&(Df.formatting="header")):(Df.header=Pf[0].charAt(0)=="="?1:2,Df.setext=Df.header),Df.thisLine.header=!0,Df.f=Df.inline,Xd(Df);if(ih)return Bf.skipToEnd(),Df.hr=!0,Df.thisLine.hr=!0,pd.hr;if(Bf.peek()==="[")return Hd(Bf,Df,Lf)}return Hd(Bf,Df,Df.inline)}function Wd(Bf,Df){var Uf=ud.token(Bf,Df.htmlState);if(!cd){var Gf=nd.innerMode(ud,Df.htmlState);(Gf.mode.name=="xml"&&Gf.state.tagStart===null&&!Gf.state.context&&Gf.state.tokenize.isInText||Df.md_inside&&Bf.current().indexOf(">")>-1)&&(Df.f=yf,Df.block=mf,Df.htmlState=null)}return Uf}function Zd(Bf,Df){var Uf=Df.listStack[Df.listStack.length-1]||0,Gf=Df.indentation=Bf.quote?Df.push(pd.formatting+"-"+Bf.formatting[Uf]+"-"+Bf.quote):Df.push("error"))}if(Bf.taskOpen)return Df.push("meta"),Df.length?Df.join(" "):null;if(Bf.taskClosed)return Df.push("property"),Df.length?Df.join(" "):null;if(Bf.linkHref?Df.push(pd.linkHref,"url"):(Bf.strong&&Df.push(pd.strong),Bf.em&&Df.push(pd.em),Bf.strikethrough&&Df.push(pd.strikethrough),Bf.emoji&&Df.push(pd.emoji),Bf.linkText&&Df.push(pd.linkText),Bf.code&&Df.push(pd.code),Bf.image&&Df.push(pd.image),Bf.imageAltText&&Df.push(pd.imageAltText,"link"),Bf.imageMarker&&Df.push(pd.imageMarker)),Bf.header&&Df.push(pd.header,pd.header+"-"+Bf.header),Bf.quote&&(Df.push(pd.quote),!ld.maxBlockquoteDepth||ld.maxBlockquoteDepth>=Bf.quote?Df.push(pd.quote+"-"+Bf.quote):Df.push(pd.quote+"-"+ld.maxBlockquoteDepth)),Bf.list!==!1){var Gf=(Bf.listStack.length-1)%3;Gf?Gf===1?Df.push(pd.list2):Df.push(pd.list3):Df.push(pd.list1)}return Bf.trailingSpaceNewLine?Df.push("trailing-space-new-line"):Bf.trailingSpace&&Df.push("trailing-space-"+(Bf.trailingSpace%2?"a":"b")),Df.length?Df.join(" "):null}function bf(Bf,Df){if(Bf.match(kd,!0))return Xd(Df)}function yf(Bf,Df){var Uf=Df.text(Bf,Df);if(typeof Uf<"u")return Uf;if(Df.list)return Df.list=null,Xd(Df);if(Df.taskList){var Gf=Bf.match(Ad,!0)[1]===" ";return Gf?Df.taskOpen=!0:Df.taskClosed=!0,ld.highlightFormatting&&(Df.formatting="task"),Df.taskList=!1,Xd(Df)}if(Df.taskOpen=!1,Df.taskClosed=!1,Df.header&&Bf.match(/^#+$/,!0))return ld.highlightFormatting&&(Df.formatting="header"),Xd(Df);var zf=Bf.next();if(Df.linkTitle){Df.linkTitle=!1;var Tf=zf;zf==="("&&(Tf=")"),Tf=(Tf+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var vf="^\\s*(?:[^"+Tf+"\\\\]+|\\\\\\\\|\\\\.)"+Tf;if(Bf.match(new RegExp(vf),!0))return pd.linkHref}if(zf==="`"){var qf=Df.formatting;ld.highlightFormatting&&(Df.formatting="code"),Bf.eatWhile("`");var eh=Bf.current().length;if(Df.code==0&&(!Df.quote||eh==1))return Df.code=eh,Xd(Df);if(eh==Df.code){var ch=Xd(Df);return Df.code=0,ch}else return Df.formatting=qf,Xd(Df)}else if(Df.code)return Xd(Df);if(zf==="\\"&&(Bf.next(),ld.highlightFormatting)){var ih=Xd(Df),Pf=pd.formatting+"-escape";return ih?ih+" "+Pf:Pf}if(zf==="!"&&Bf.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Df.imageMarker=!0,Df.image=!0,ld.highlightFormatting&&(Df.formatting="image"),Xd(Df);if(zf==="["&&Df.imageMarker&&Bf.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Df.imageMarker=!1,Df.imageAltText=!0,ld.highlightFormatting&&(Df.formatting="image"),Xd(Df);if(zf==="]"&&Df.imageAltText){ld.highlightFormatting&&(Df.formatting="image");var ih=Xd(Df);return Df.imageAltText=!1,Df.image=!1,Df.inline=Df.f=gf,ih}if(zf==="["&&!Df.image)return Df.linkText&&Bf.match(/^.*?\]/)||(Df.linkText=!0,ld.highlightFormatting&&(Df.formatting="link")),Xd(Df);if(zf==="]"&&Df.linkText){ld.highlightFormatting&&(Df.formatting="link");var ih=Xd(Df);return Df.linkText=!1,Df.inline=Df.f=Bf.match(/\(.*?\)| ?\[.*?\]/,!1)?gf:yf,ih}if(zf==="<"&&Bf.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Df.f=Df.inline=Ef,ld.highlightFormatting&&(Df.formatting="link");var ih=Xd(Df);return ih?ih+=" ":ih="",ih+pd.linkInline}if(zf==="<"&&Bf.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Df.f=Df.inline=Ef,ld.highlightFormatting&&(Df.formatting="link");var ih=Xd(Df);return ih?ih+=" ":ih="",ih+pd.linkEmail}if(ld.xml&&zf==="<"&&Bf.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var uh=Bf.string.indexOf(">",Bf.pos);if(uh!=-1){var xh=Bf.string.substring(Bf.start,uh);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(xh)&&(Df.md_inside=!0)}return Bf.backUp(1),Df.htmlState=nd.startState(ud),Gd(Bf,Df,Wd)}if(ld.xml&&zf==="<"&&Bf.match(/^\/\w*?>/))return Df.md_inside=!1,"tag";if(zf==="*"||zf==="_"){for(var Qf=1,wf=Bf.pos==1?" ":Bf.string.charAt(Bf.pos-2);Qf<3&&Bf.eat(zf);)Qf++;var $f=Bf.peek()||" ",Wf=!/\s/.test($f)&&(!Md.test($f)||/\s/.test(wf)||Md.test(wf)),vh=!/\s/.test(wf)&&(!Md.test(wf)||/\s/.test($f)||Md.test($f)),Th=null,ph=null;if(Qf%2&&(!Df.em&&Wf&&(zf==="*"||!vh||Md.test(wf))?Th=!0:Df.em==zf&&vh&&(zf==="*"||!Wf||Md.test($f))&&(Th=!1)),Qf>1&&(!Df.strong&&Wf&&(zf==="*"||!vh||Md.test(wf))?ph=!0:Df.strong==zf&&vh&&(zf==="*"||!Wf||Md.test($f))&&(ph=!1)),ph!=null||Th!=null){ld.highlightFormatting&&(Df.formatting=Th==null?"strong":ph==null?"em":"strong em"),Th===!0&&(Df.em=zf),ph===!0&&(Df.strong=zf);var ch=Xd(Df);return Th===!1&&(Df.em=!1),ph===!1&&(Df.strong=!1),ch}}else if(zf===" "&&(Bf.eat("*")||Bf.eat("_"))){if(Bf.peek()===" ")return Xd(Df);Bf.backUp(1)}if(ld.strikethrough){if(zf==="~"&&Bf.eatWhile(zf)){if(Df.strikethrough){ld.highlightFormatting&&(Df.formatting="strikethrough");var ch=Xd(Df);return Df.strikethrough=!1,ch}else if(Bf.match(/^[^\s]/,!1))return Df.strikethrough=!0,ld.highlightFormatting&&(Df.formatting="strikethrough"),Xd(Df)}else if(zf===" "&&Bf.match("~~",!0)){if(Bf.peek()===" ")return Xd(Df);Bf.backUp(2)}}if(ld.emoji&&zf===":"&&Bf.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Df.emoji=!0,ld.highlightFormatting&&(Df.formatting="emoji");var Vh=Xd(Df);return Df.emoji=!1,Vh}return zf===" "&&(Bf.match(/^ +$/,!1)?Df.trailingSpace++:Df.trailingSpace&&(Df.trailingSpaceNewLine=!0)),Xd(Df)}function Ef(Bf,Df){var Uf=Bf.next();if(Uf===">"){Df.f=Df.inline=yf,ld.highlightFormatting&&(Df.formatting="link");var Gf=Xd(Df);return Gf?Gf+=" ":Gf="",Gf+pd.linkInline}return Bf.match(/^[^>]+/,!0),pd.linkInline}function gf(Bf,Df){if(Bf.eatSpace())return null;var Uf=Bf.next();return Uf==="("||Uf==="["?(Df.f=Df.inline=Af(Uf==="("?")":"]"),ld.highlightFormatting&&(Df.formatting="link-string"),Df.linkHref=!0,Xd(Df)):"error"}var xf={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Af(Bf){return function(Df,Uf){var Gf=Df.next();if(Gf===Bf){Uf.f=Uf.inline=yf,ld.highlightFormatting&&(Uf.formatting="link-string");var zf=Xd(Uf);return Uf.linkHref=!1,zf}return Df.match(xf[Bf]),Uf.linkHref=!0,Xd(Uf)}}function Lf(Bf,Df){return Bf.match(/^([^\]\\]|\\.)*\]:/,!1)?(Df.f=Xf,Bf.next(),ld.highlightFormatting&&(Df.formatting="link"),Df.linkText=!0,Xd(Df)):Hd(Bf,Df,yf)}function Xf(Bf,Df){if(Bf.match("]:",!0)){Df.f=Df.inline=Jf,ld.highlightFormatting&&(Df.formatting="link");var Uf=Xd(Df);return Df.linkText=!1,Uf}return Bf.match(/^([^\]\\]|\\.)+/,!0),pd.linkText}function Jf(Bf,Df){return Bf.eatSpace()?null:(Bf.match(/^[^\s]+/,!0),Bf.peek()===void 0?Df.linkTitle=!0:Bf.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),Df.f=Df.inline=yf,pd.linkHref+" url")}var Zf={startState:function(){return{f:mf,prevLine:{stream:null},thisLine:{stream:null},block:mf,htmlState:null,indentation:0,inline:yf,text:bf,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(Bf){return{f:Bf.f,prevLine:Bf.prevLine,thisLine:Bf.thisLine,block:Bf.block,htmlState:Bf.htmlState&&nd.copyState(ud,Bf.htmlState),indentation:Bf.indentation,localMode:Bf.localMode,localState:Bf.localMode?nd.copyState(Bf.localMode,Bf.localState):null,inline:Bf.inline,text:Bf.text,formatting:!1,linkText:Bf.linkText,linkTitle:Bf.linkTitle,linkHref:Bf.linkHref,code:Bf.code,em:Bf.em,strong:Bf.strong,strikethrough:Bf.strikethrough,emoji:Bf.emoji,header:Bf.header,setext:Bf.setext,hr:Bf.hr,taskList:Bf.taskList,list:Bf.list,listStack:Bf.listStack.slice(0),quote:Bf.quote,indentedCode:Bf.indentedCode,trailingSpace:Bf.trailingSpace,trailingSpaceNewLine:Bf.trailingSpaceNewLine,md_inside:Bf.md_inside,fencedEndRE:Bf.fencedEndRE}},token:function(Bf,Df){if(Df.formatting=!1,Bf!=Df.thisLine.stream){if(Df.header=0,Df.hr=!1,Bf.match(/^\s*$/,!0))return Kd(Df),null;if(Df.prevLine=Df.thisLine,Df.thisLine={stream:Bf},Df.taskList=!1,Df.trailingSpace=0,Df.trailingSpaceNewLine=!1,!Df.localState&&(Df.f=Df.block,Df.f!=Wd)){var Uf=Bf.match(/^\s*/,!0)[0].replace(/\t/g,Ld).length;if(Df.indentation=Uf,Df.indentationDiff=null,Uf>0)return null}}return Df.f(Bf,Df)},innerMode:function(Bf){return Bf.block==Wd?{state:Bf.htmlState,mode:ud}:Bf.localState?{state:Bf.localState,mode:Bf.localMode}:{state:Bf,mode:Zf}},indent:function(Bf,Df,Uf){return Bf.block==Wd&&ud.indent?ud.indent(Bf.htmlState,Df,Uf):Bf.localState&&Bf.localMode.indent?Bf.localMode.indent(Bf.localState,Df,Uf):nd.Pass},blankLine:Kd,getType:Xd,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return Zf},"xml"),nd.defineMIME("text/markdown","markdown"),nd.defineMIME("text/x-markdown","markdown")})})();(function(Ra,qa){(function(nd){nd(requireCodemirror())})(function(nd){var od={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},ld=nd.Pos;nd.defineOption("autoCloseBrackets",!1,function(Fd,Md,Ld){Ld&&Ld!=nd.Init&&(Fd.removeKeyMap(cd),Fd.state.closeBrackets=null),Md&&(dd(ud(Md,"pairs")),Fd.state.closeBrackets=Md,Fd.addKeyMap(cd))});function ud(Fd,Md){return Md=="pairs"&&typeof Fd=="string"?Fd:typeof Fd=="object"&&Fd[Md]!=null?Fd[Md]:od[Md]}var cd={Backspace:md,Enter:vd};function dd(Fd){for(var Md=0;Md=0;Gd--){var Kd=Hd[Gd].head;Fd.replaceRange("",ld(Kd.line,Kd.ch-1),ld(Kd.line,Kd.ch+1),"+delete")}}function vd(Fd){var Md=fd(Fd),Ld=Md&&ud(Md,"explode");if(!Ld||Fd.getOption("disableInput"))return nd.Pass;for(var Hd=Fd.listSelections(),Gd=0;Gd0?{line:Kd.head.line,ch:Kd.head.ch+Md}:{line:Kd.head.line-1};Ld.push({anchor:mf,head:mf})}Fd.setSelections(Ld,Gd)}function Nd(Fd){var Md=nd.cmpPos(Fd.anchor,Fd.head)>0;return{anchor:new ld(Fd.anchor.line,Fd.anchor.ch+(Md?-1:1)),head:new ld(Fd.head.line,Fd.head.ch+(Md?1:-1))}}function Id(Fd,Md){var Ld=fd(Fd);if(!Ld||Fd.getOption("disableInput"))return nd.Pass;var Hd=ud(Ld,"pairs"),Gd=Hd.indexOf(Md);if(Gd==-1)return nd.Pass;for(var Vd=ud(Ld,"closeBefore"),Kd=ud(Ld,"triples"),mf=Hd.charAt(Gd+1)==Md,Wd=Fd.listSelections(),Zd=Gd%2==0,Xd,bf=0;bf=0&&Fd.getRange(Ef,ld(Ef.line,Ef.ch+3))==Md+Md+Md?gf="skipThree":gf="skip";else if(mf&&Ef.ch>1&&Kd.indexOf(Md)>=0&&Fd.getRange(ld(Ef.line,Ef.ch-2),Ef)==Md+Md){if(Ef.ch>2&&/\bstring/.test(Fd.getTokenTypeAt(ld(Ef.line,Ef.ch-2))))return nd.Pass;gf="addFour"}else if(mf){var Af=Ef.ch==0?" ":Fd.getRange(ld(Ef.line,Ef.ch-1),Ef);if(!nd.isWordChar(xf)&&Af!=Md&&!nd.isWordChar(Af))gf="both";else return nd.Pass}else if(Zd&&(xf.length===0||/\s/.test(xf)||Vd.indexOf(xf)>-1))gf="both";else return nd.Pass;if(!Xd)Xd=gf;else if(Xd!=gf)return nd.Pass}var Lf=Gd%2?Hd.charAt(Gd-1):Md,Xf=Gd%2?Md:Hd.charAt(Gd+1);Fd.operation(function(){if(Xd=="skip")Ad(Fd,1);else if(Xd=="skipThree")Ad(Fd,3);else if(Xd=="surround"){for(var Jf=Fd.getSelections(),Zf=0;Zf",")":"(<","[":"]>","]":"[<","{":"}>","}":"{<","<":">>",">":"<<"};function cd(Ad){return Ad&&Ad.bracketRegex||/[(){}[\]]/}function dd(Ad,Nd,Id){var kd=Ad.getLineHandle(Nd.line),jd=Nd.ch-1,Fd=Id&&Id.afterCursor;Fd==null&&(Fd=/(^| )cm-fat-cursor($| )/.test(Ad.getWrapperElement().className));var Md=cd(Id),Ld=!Fd&&jd>=0&&Md.test(kd.text.charAt(jd))&&ud[kd.text.charAt(jd)]||Md.test(kd.text.charAt(jd+1))&&ud[kd.text.charAt(++jd)];if(!Ld)return null;var Hd=Ld.charAt(1)==">"?1:-1;if(Id&&Id.strict&&Hd>0!=(jd==Nd.ch))return null;var Gd=Ad.getTokenTypeAt(ld(Nd.line,jd+1)),Vd=pd(Ad,ld(Nd.line,jd+(Hd>0?1:0)),Hd,Gd,Id);return Vd==null?null:{from:ld(Nd.line,jd),to:Vd&&Vd.pos,match:Vd&&Vd.ch==Ld.charAt(0),forward:Hd>0}}function pd(Ad,Nd,Id,kd,jd){for(var Fd=jd&&jd.maxScanLineLength||1e4,Md=jd&&jd.maxScanLines||1e3,Ld=[],Hd=cd(jd),Gd=Id>0?Math.min(Nd.line+Md,Ad.lastLine()+1):Math.max(Ad.firstLine()-1,Nd.line-Md),Vd=Nd.line;Vd!=Gd;Vd+=Id){var Kd=Ad.getLine(Vd);if(Kd){var mf=Id>0?0:Kd.length-1,Wd=Id>0?Kd.length:-1;if(!(Kd.length>Fd))for(Vd==Nd.line&&(mf=Nd.ch-(Id<0?1:0));mf!=Wd;mf+=Id){var Zd=Kd.charAt(mf);if(Hd.test(Zd)&&(kd===void 0||(Ad.getTokenTypeAt(ld(Vd,mf+1))||"")==(kd||""))){var Xd=ud[Zd];if(Xd&&Xd.charAt(1)==">"==Id>0)Ld.push(Zd);else if(Ld.length)Ld.pop();else return{pos:ld(Vd,mf),ch:Zd}}}}}return Vd-Id==(Id>0?Ad.lastLine():Ad.firstLine())?!1:null}function fd(Ad,Nd,Id){for(var kd=Ad.state.matchBrackets.maxHighlightLineLength||1e3,jd=Id&&Id.highlightNonMatching,Fd=[],Md=Ad.listSelections(),Ld=0;Ld1)){if(this.somethingSelected()){if(!Fd.hint.supportsSelection)return;for(var Ld=0;LdKd.clientHeight+1:!1,qf;setTimeout(function(){qf=Hd.getScrollInfo()});var eh=Tf.bottom-zf;if(eh>0){var ch=Tf.bottom-Tf.top,ih=Tf.top-(gf.bottom-gf.top)-2;zf-Tf.topih&&(Kd.style.height=(ch=ih)+"px"),Kd.style.top=(Af=gf.top-ch)+Jf+"px",Lf=!1):Kd.style.height=zf-Tf.top-2+"px"}var Pf=Tf.right-Gf;if(vf&&(Pf+=Hd.display.nativeBarWidth),Pf>0&&(Tf.right-Tf.left>Gf&&(Kd.style.width=Gf-5+"px",Pf-=Tf.right-Tf.left-Gf),Kd.style.left=(xf=Math.max(gf.left-Pf-Xf,0))+"px"),vf)for(var uh=Kd.firstChild;uh;uh=uh.nextSibling)uh.style.paddingRight=Hd.display.nativeBarWidth+"px";if(Hd.addKeyMap(this.keyMap=md(Fd,{moveFocus:function(wf,$f){Ld.changeActive(Ld.selectedHint+wf,$f)},setFocus:function(wf){Ld.changeActive(wf)},menuSize:function(){return Ld.screenAmount()},length:Wd.length,close:function(){Fd.close()},pick:function(){Ld.pick()},data:Md})),Fd.options.closeOnUnfocus){var xh;Hd.on("blur",this.onBlur=function(){xh=setTimeout(function(){Fd.close()},100)}),Hd.on("focus",this.onFocus=function(){clearTimeout(xh)})}Hd.on("scroll",this.onScroll=function(){var wf=Hd.getScrollInfo(),$f=Hd.getWrapperElement().getBoundingClientRect();qf||(qf=Hd.getScrollInfo());var Wf=Af+qf.top-wf.top,vh=Wf-(Vd.pageYOffset||(Gd.documentElement||Gd.body).scrollTop);if(Lf||(vh+=Kd.offsetHeight),vh<=$f.top||vh>=$f.bottom)return Fd.close();Kd.style.top=Wf+"px",Kd.style.left=xf+qf.left-wf.left+"px"}),nd.on(Kd,"dblclick",function(wf){var $f=vd(Kd,wf.target||wf.srcElement);$f&&$f.hintId!=null&&(Ld.changeActive($f.hintId),Ld.pick())}),nd.on(Kd,"click",function(wf){var $f=vd(Kd,wf.target||wf.srcElement);$f&&$f.hintId!=null&&(Ld.changeActive($f.hintId),Fd.options.completeOnSingleClick&&Ld.pick())}),nd.on(Kd,"mousedown",function(){setTimeout(function(){Hd.focus()},20)});var Qf=this.getSelectedHintRange();return(Qf.from!==0||Qf.to!==0)&&this.scrollToActive(),nd.signal(Md,"select",Wd[this.selectedHint],Kd.childNodes[this.selectedHint]),!0}Ad.prototype={close:function(){if(this.completion.widget==this){this.completion.widget=null,this.hints.parentNode&&this.hints.parentNode.removeChild(this.hints),this.completion.cm.removeKeyMap(this.keyMap);var Fd=this.completion.cm.getInputField();Fd.removeAttribute("aria-activedescendant"),Fd.removeAttribute("aria-owns");var Md=this.completion.cm;this.completion.options.closeOnUnfocus&&(Md.off("blur",this.onBlur),Md.off("focus",this.onFocus)),Md.off("scroll",this.onScroll)}},disable:function(){this.completion.cm.removeKeyMap(this.keyMap);var Fd=this;this.keyMap={Enter:function(){Fd.picked=!0}},this.completion.cm.addKeyMap(this.keyMap)},pick:function(){this.completion.pick(this.data,this.selectedHint)},changeActive:function(Fd,Md){if(Fd>=this.data.list.length?Fd=Md?this.data.list.length-1:0:Fd<0&&(Fd=Md?0:this.data.list.length-1),this.selectedHint!=Fd){var Ld=this.hints.childNodes[this.selectedHint];Ld&&(Ld.className=Ld.className.replace(" "+ld,""),Ld.removeAttribute("aria-selected")),Ld=this.hints.childNodes[this.selectedHint=Fd],Ld.className+=" "+ld,Ld.setAttribute("aria-selected","true"),this.completion.cm.getInputField().setAttribute("aria-activedescendant",Ld.id),this.scrollToActive(),nd.signal(this.data,"select",this.data.list[this.selectedHint],Ld)}},scrollToActive:function(){var Fd=this.getSelectedHintRange(),Md=this.hints.childNodes[Fd.from],Ld=this.hints.childNodes[Fd.to],Hd=this.hints.firstChild;Md.offsetTopthis.hints.scrollTop+this.hints.clientHeight&&(this.hints.scrollTop=Ld.offsetTop+Ld.offsetHeight-this.hints.clientHeight+Hd.offsetTop)},screenAmount:function(){return Math.floor(this.hints.clientHeight/this.hints.firstChild.offsetHeight)||1},getSelectedHintRange:function(){var Fd=this.completion.options.scrollMargin||0;return{from:Math.max(0,this.selectedHint-Fd),to:Math.min(this.data.list.length-1,this.selectedHint+Fd)}}};function Nd(Fd,Md){if(!Fd.somethingSelected())return Md;for(var Ld=[],Hd=0;Hd0?Kd(bf):Zd(Xd+1)})}Zd(0)};return Gd.async=!0,Gd.supportsSelection=!0,Gd}else return(Hd=Fd.getHelper(Fd.getCursor(),"hintWords"))?function(Vd){return nd.hint.fromList(Vd,{words:Hd})}:nd.hint.anyword?function(Vd,Kd){return nd.hint.anyword(Vd,Kd)}:function(){}}nd.registerHelper("hint","auto",{resolve:kd}),nd.registerHelper("hint","fromList",function(Fd,Md){var Ld=Fd.getCursor(),Hd=Fd.getTokenAt(Ld),Gd,Vd=nd.Pos(Ld.line,Hd.start),Kd=Ld;Hd.start,]/,closeOnPick:!0,closeOnUnfocus:!0,updateOnCursorActivity:!0,completeOnSingleClick:!0,container:null,customKeys:null,extraKeys:null,paddingForScrollbar:!0,moveOnOverlap:!0};nd.defineOption("hintOptions",null)})})();(function(Ra,qa){(function(nd){nd(requireCodemirror(),cssExports)})(function(nd){var od={active:1,after:1,before:1,checked:1,default:1,disabled:1,empty:1,enabled:1,"first-child":1,"first-letter":1,"first-line":1,"first-of-type":1,focus:1,hover:1,"in-range":1,indeterminate:1,invalid:1,lang:1,"last-child":1,"last-of-type":1,link:1,not:1,"nth-child":1,"nth-last-child":1,"nth-last-of-type":1,"nth-of-type":1,"only-of-type":1,"only-child":1,optional:1,"out-of-range":1,placeholder:1,"read-only":1,"read-write":1,required:1,root:1,selection:1,target:1,valid:1,visited:1};nd.registerHelper("hint","css",function(ld){var ud=ld.getCursor(),cd=ld.getTokenAt(ud),dd=nd.innerMode(ld.getMode(),cd.state);if(dd.mode.name!="css")return;if(cd.type=="keyword"&&"!important".indexOf(cd.string)==0)return{list:["!important"],from:nd.Pos(ud.line,cd.start),to:nd.Pos(ud.line,cd.end)};var pd=cd.start,fd=ud.ch,md=cd.string.slice(0,fd-pd);/[^\w$_-]/.test(md)&&(md="",pd=fd=ud.ch);var vd=nd.resolveMode("text/css"),Ad=[];function Nd(kd){for(var jd in kd)(!md||jd.lastIndexOf(md,0)==0)&&Ad.push(jd)}var Id=dd.state.state;if(Id=="pseudo"||cd.type=="variable-3"?Nd(od):Id=="block"||Id=="maybeprop"?Nd(vd.propertyKeywords):Id=="prop"||Id=="parens"||Id=="at"||Id=="params"?(Nd(vd.valueKeywords),Nd(vd.colorKeywords)):(Id=="media"||Id=="media_parens")&&(Nd(vd.mediaTypes),Nd(vd.mediaFeatures)),Ad.length)return{list:Ad,from:nd.Pos(ud.line,pd),to:nd.Pos(ud.line,fd)}})})})();const app=createApp(_sfc_main);app.use(createPinia());app.mount("#app");export{withPath as $,rgba$1 as A,defaultConfig_default as B,cleanAndMerge as C,getConfig$1 as D,random as E,setupGraphViewbox2 as F,selectSvgElement as G,version as H,getThemeVariables3 as I,JSON_SCHEMA as J,line$1 as K,hasKatex as L,calculateMathMLDimensions as M,renderKatex as N,parseFontSize as O,parseGenericTypes as P,curveBasis as Q,generateId as R,lineBreakRegex as S,__export as T,commonDb_exports as U,setupGraphViewbox as V,isDark as W,lighten as X,darken as Y,ZERO_WIDTH_SPACE as Z,__name as _,assignWithDepth_default as a,hue as a$,halfPi as a0,epsilon as a1,tau as a2,cos as a3,sin as a4,min as a5,abs$1 as a6,pi as a7,sqrt as a8,atan2 as a9,baseRest as aA,isArrayLikeObject as aB,constant$2 as aC,isFunction$2 as aD,isEmpty$1 as aE,computeDimensionOfText as aF,array as aG,commonjsGlobal as aH,getDefaultExportFromCjs as aI,unknownIcon as aJ,registerIconPacks as aK,getIconSVG as aL,isObject$2 as aM,isIterateeCall as aN,keysIn as aO,eq as aP,isArrayLike$1 as aQ,isArray$1 as aR,identity as aS,isIndex as aT,assignValue as aU,define$1 as aV,extend$1 as aW,Rgb as aX,Color as aY,rgbConvert as aZ,nogamma as a_,constant$3 as aa,asin as ab,acos as ac,max$1 as ad,insertCluster as ae,insertNode as af,positionNode as ag,getStylesFromArray as ah,evaluate as ai,createText as aj,getSubGraphTitleMargins as ak,getLineFunctionsWithOffset as al,replaceIconSubstring as am,decodeEntities as an,Utils as ao,Color$1 as ap,global$1 as aq,markers_default as ar,clear2 as as,clear as at,clear$1 as au,updateNodeBounds as av,setNodeElem as aw,insertEdge as ax,positionEdgeLabel as ay,insertEdgeLabel as az,getAccDescription as b,dayjs2 as b0,constant$4 as b1,interpolateNumber as b2,color as b3,interpolateRgb as b4,interpolateString as b5,setToString as b6,overRest as b7,baseFor as b8,baseAssignValue as b9,isPrototype as bA,__vitePreload as bB,baseUnary as ba,merge$1 as bb,isObjectLike as bc,baseGetTag as bd,Symbol$1 as be,arrayLikeKeys as bf,baseKeys as bg,memoize$1 as bh,isArguments$1 as bi,copyObject as bj,getPrototype as bk,cloneArrayBuffer as bl,cloneTypedArray as bm,getTag as bn,nodeUtil as bo,copyArray as bp,isBuffer$1 as bq,cloneBuffer as br,initCloneObject as bs,Stack as bt,MapCache as bu,Uint8Array$1 as bv,isTypedArray$2 as bw,isLength as bx,Set$1 as by,createAssigner as bz,setAccDescription as c,getConfig2 as d,common_default as e,calculateTextHeight as f,getAccTitle as g,calculateTextWidth as h,sanitizeText as i,select as j,configureSvgSize as k,log$1 as l,sanitizeUrl_1 as m,setConfig2 as n,defaultConfig2 as o,setDiagramTitle as p,getDiagramTitle as q,load as r,setAccTitle as s,isValidShape as t,utils_default as u,clear$2 as v,wrapLabel as w,getEdgeId as x,getRegisteredLayoutAlgorithm as y,render$1 as z}; diff --git a/assets/index-CiX9I5OB.css b/assets/index-CiX9I5OB.css deleted file mode 100644 index 2c5158d4e..000000000 --- a/assets/index-CiX9I5OB.css +++ /dev/null @@ -1 +0,0 @@ -.bounceInRight[data-v-902e17d4]{animation-name:bounceInRight-902e17d4;animation-duration:1s;animation-fill-mode:both}@keyframes bounceInRight-902e17d4{0%,60%,75%,90%,to{transition-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}.menubar[data-v-050674e5]{-webkit-user-select:none;-moz-user-select:none;user-select:none}kbd[data-v-050674e5]{display:inline-flex;justify-content:center;align-items:center;border:1px solid #a8a8a8;padding:1px 4px;border-radius:2px}.required[data-v-2dfc19c6]:before{content:"*";color:red;margin-right:.25em}.loading[data-v-407c965f]{position:fixed;top:0;left:0;z-index:99999;display:flex;flex-direction:column;justify-content:center;align-items:center;width:100vw;height:100vh;font-size:18px;background-color:hsl(var(--background))}.loading[data-v-407c965f]:before{content:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAAAt1BMVEX///8AAABIz0hHzkdIzkhIz0hIz0hHzkdIzkhFz0VAz0BHzUdIz0hHzkdIzkhIzUhHzUdHzUdIzkhEzEREzERGz0ZIz0hHzUdIzkhIzUhHzkdHzkdHzUdGz0ZIzkhHzkdKzkpIzUhGzUZD00NIzUhGzUZIzkhIzkhHzkdHzkdIzkhHz0dIzUhK1UpHzUdC0EJHzkdHzkdIz0hH1UdHzUdGzkZIzUhJ20lD10NJzklIzkhIzkj////r6/fCAAAAO3RSTlMAACDvoEBg0MAwEI9fz9+A8JDgDx5Ff/r9i+VdbHSDkx9RTRdce+6q6brLb58YSBvtd0oScFTxBxM/v5xq7LMAAAABYktHRACIBR1IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4wwcCBssFsYwawAAAe9JREFUaN7t2tlywiAUBmABiQY1W6vWbna1i6Z2sYs97/9eNcQ6U40kEMhoh/824qeAxwSo1Wx2MUgimAAQLNNCAanDInWzCAUeahRxUsQx212NxGgaHhMq21sqCHIpdZFpRDoW2ROEtdpY/S1xu8XyEdZZ/BA8VcNbNO6wPIQbAK6akZa2v0rWN0mLk6+G+Gnr3O5qgnR1EjfOQviHCRS7yw02uyELwWGkbHAlCnGR3wkuM4WxLSuGkQNfmLYW5BDE8fUgXcHVXv9oYB45PoGBeQSd5ioaEHSWp+hA0DkMzSNoKFZKI78zuWsQuaA8l3BlEFnm2iL/FrlpZqanFbntZxmjO73IfdbVh31ERjQjj1LImEyYGMn+9xUjbELGKyRObviJI57CTzBdu/b8Ip7CDkkeQuIlQrffY5dB0rtvuqvINHnpqwISR8nTQsExSWbVW7ExSZ4jong1u2ZByJDu7kKsHszkCqQCIl+FLbKLyPtaefwwgWxEP2LvVixiEYtoQgqlHPJJC+XLLqoZRsyvpuKJB0R9XZiA18pfF+Yr3KqKS4qtcFeyVl/FrgNrlN8/aeTun3AlUh34aMPYsqcVOmWmsBMyW1Ysooi487nx/fhKThbwDdVvs0glpz0qObdSyQkchAOAQOUskU3h/AAe7qmqtAqp/QAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxOS0xMi0yOFQwODoyNzo0NCswMDowMPJYdAwAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTktMTItMjhUMDg6Mjc6NDQrMDA6MDCDBcywAAAAAElFTkSuQmCC);width:100px;height:100px;margin-bottom:26px}.fade-enter[data-v-407c965f],.fade-leave-to[data-v-407c965f]{opacity:0}.fade-enter-to[data-v-407c965f],.fade-leave[data-v-407c965f]{opacity:1}.fade-enter-active[data-v-407c965f],.fade-leave-active[data-v-407c965f]{transition:opacity 1s}[data-v-90d03d29]{box-sizing:border-box;margin:0;padding:0}html[data-v-90d03d29],body[data-v-90d03d29]{height:100%;font-family:PingFang SC,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif}input[data-v-90d03d29],button[data-v-90d03d29],textarea[data-v-90d03d29]{font-family:inherit}h1[data-v-90d03d29],h2[data-v-90d03d29],h3[data-v-90d03d29],h4[data-v-90d03d29],h5[data-v-90d03d29],h6[data-v-90d03d29]{font-weight:400}em[data-v-90d03d29]{font-style:normal!important}section[data-v-90d03d29]{height:100%}.web-title[data-v-90d03d29]{margin:0 15px 0 5px}.web-icon[data-v-90d03d29]{width:auto;height:1.5rem;vertical-align:middle}#editor[data-v-90d03d29]{display:block;height:100%;width:100%;padding:10px;border:none}.ctrl[data-v-90d03d29]{flex-basis:60px;flex-grow:1;flex-shrink:1;display:flex;align-items:center}.preview-wrapper[data-v-90d03d29]{display:flex;align-items:center;justify-content:center;padding:0;overflow-y:scroll}.hint[data-v-90d03d29]{opacity:.6;margin:20px 0}.preview[data-v-90d03d29]{position:relative;margin:0 -20px;width:375px;padding:20px;font-size:14px;box-sizing:border-box;outline:none}.preview table[data-v-90d03d29]{margin-bottom:10px;border-collapse:collapse;display:table;width:100%!important}.container[data-v-90d03d29]{height:100vh;min-width:100%;padding:0}.container-main[data-v-90d03d29]{overflow:hidden;padding:0 20px 20px}#output-wrapper[data-v-90d03d29]{position:relative;-webkit-user-select:text;-moz-user-select:text;user-select:text;height:100%}.loading-mask[data-v-90d03d29]{position:absolute;left:0;top:0;width:100%;height:100%;text-align:center;color:hsl(var(--foreground));background-color:hsl(var(--background))}.loading-mask .loading-mask-box[data-v-90d03d29]{position:sticky;top:50%;transform:translateY(-50%)}.loading-mask .loading-mask-box .loading__img[data-v-90d03d29]{width:75px;height:75px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAAAt1BMVEX///8AAABIz0hHzkdIzkhIz0hIz0hHzkdIzkhFz0VAz0BHzUdIz0hHzkdIzkhIzUhHzUdHzUdIzkhEzEREzERGz0ZIz0hHzUdIzkhIzUhHzkdHzkdHzUdGz0ZIzkhHzkdKzkpIzUhGzUZD00NIzUhGzUZIzkhIzkhHzkdHzkdIzkhHz0dIzUhK1UpHzUdC0EJHzkdHzkdIz0hH1UdHzUdGzkZIzUhJ20lD10NJzklIzkhIzkj////r6/fCAAAAO3RSTlMAACDvoEBg0MAwEI9fz9+A8JDgDx5Ff/r9i+VdbHSDkx9RTRdce+6q6brLb58YSBvtd0oScFTxBxM/v5xq7LMAAAABYktHRACIBR1IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4wwcCBssFsYwawAAAe9JREFUaN7t2tlywiAUBmABiQY1W6vWbna1i6Z2sYs97/9eNcQ6U40kEMhoh/824qeAxwSo1Wx2MUgimAAQLNNCAanDInWzCAUeahRxUsQx212NxGgaHhMq21sqCHIpdZFpRDoW2ROEtdpY/S1xu8XyEdZZ/BA8VcNbNO6wPIQbAK6akZa2v0rWN0mLk6+G+Gnr3O5qgnR1EjfOQviHCRS7yw02uyELwWGkbHAlCnGR3wkuM4WxLSuGkQNfmLYW5BDE8fUgXcHVXv9oYB45PoGBeQSd5ioaEHSWp+hA0DkMzSNoKFZKI78zuWsQuaA8l3BlEFnm2iL/FrlpZqanFbntZxmjO73IfdbVh31ERjQjj1LImEyYGMn+9xUjbELGKyRObviJI57CTzBdu/b8Ip7CDkkeQuIlQrffY5dB0rtvuqvINHnpqwISR8nTQsExSWbVW7ExSZ4jong1u2ZByJDu7kKsHszkCqQCIl+FLbKLyPtaefwwgWxEP2LvVixiEYtoQgqlHPJJC+XLLqoZRsyvpuKJB0R9XZiA18pfF+Yr3KqKS4qtcFeyVl/FrgNrlN8/aeTun3AlUh34aMPYsqcVOmWmsBMyW1Ysooi487nx/fhKThbwDdVvs0glpz0qObdSyQkchAOAQOUskU3h/AAe7qmqtAqp/QAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxOS0xMi0yOFQwODoyNzo0NCswMDowMPJYdAwAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTktMTItMjhUMDg6Mjc6NDQrMDA6MDCDBcywAAAAAElFTkSuQmCC) no-repeat;margin:1em auto;background-size:cover}[data-v-90d03d29] .preview-table{border-spacing:0}.codeMirror-wrapper[data-v-90d03d29],.preview-wrapper[data-v-90d03d29]{height:100%}.codeMirror-wrapper[data-v-90d03d29]{overflow-x:auto}html,body,#app{width:100vw;height:100vh;margin:0;padding:0}body{pointer-events:initial!important}::-webkit-scrollbar{width:6px;height:6px;background-color:#fff}::-webkit-scrollbar-track{border-radius:6px;background-color:#c8c8c84d}::-webkit-scrollbar-thumb{border-radius:6px;background-color:#90929880}.CodeMirror-hints{position:absolute;z-index:10;overflow-y:auto;margin:0;padding:2px;border-radius:4px;max-height:20em;min-width:200px;font-size:12px;font-family:monospace;color:#333;background-color:#fff;box-shadow:0 4px 8px #0000001f,0 2px 4px #00000014}.CodeMirror-hint{margin-top:10px;padding:4px 6px;border-radius:2px;white-space:pre;color:#000;cursor:pointer}.CodeMirror-hint:first-of-type{margin-top:0}.CodeMirror-hint:hover{background:#f0f0f0}.data-\[disabled\]\:pointer-events-none[data-disabled],.pointer-events-none{pointer-events:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.left-0{left:0}.left-1\/2{left:50%}.left-2{left:.5rem}.right-0{right:0}.right-3{right:.75rem}.right-4{right:1rem}.top-1\/2{top:50%}.top-3{top:.75rem}.top-4{top:1rem}.z-50{z-index:50}.order-1{order:1}.grid{display:grid}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.my-8{margin-top:2rem;margin-bottom:2rem}.mb-1{margin-bottom:.25rem}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.mr-auto{margin-right:auto}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.inline{display:inline}.block{display:block}.inline-block{display:inline-block}.hidden{display:none}.size-20{width:5rem;height:5rem}.size-4{width:1rem;height:1rem}.h-\[--radix-select-trigger-height\]{height:var(--radix-select-trigger-height)}.h-10{height:2.5rem}.h-100{height:25rem}.h-15{height:3.75rem}.h-2,.h2{height:.5rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5,.h5{height:1.25rem}.h-50{height:12.5rem}.h-6{height:1.5rem}.h-60{height:15rem}.h-8{height:2rem}.h-full{height:100%}.h-px{height:1px}.h3{height:.75rem}.max-h-56{max-height:14rem}.max-h-96{max-height:24rem}.max-w-lg{max-width:32rem}.max-w-max{max-width:-moz-max-content;max-width:max-content}.min-h-20{min-height:5rem}.min-h-4{min-height:1rem}.min-w-\[--radix-select-trigger-width\]{min-width:var(--radix-select-trigger-width)}.min-w-32{min-width:8rem}.min-w-48{min-width:12rem}.w-\[150px\]{width:150px}.w-0{width:0}.w-10{width:2.5rem}.w-100{width:25rem}.w-11{width:2.75rem}.w-2{width:.5rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-50{width:12.5rem}.w-56{width:14rem}.w-60{width:15rem}.w-64{width:16rem}.w-72{width:18rem}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-min{width:-moz-min-content;width:min-content}.flex{display:flex}.inline-flex{display:inline-flex}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.-translate-x-1\/2{--un-translate-x:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-1\/2{--un-translate-y:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--un-translate-y:.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--un-translate-x:-.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--un-translate-x:.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--un-translate-y:-.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--un-translate-x:1.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.place-items-center{place-items:center}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-evenly{justify-content:space-evenly}.justify-items-center{justify-items:center}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-y-1\.5{row-gap:.375rem}.gap-y-2{row-gap:.5rem}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.\[\&\>span\]\:truncate>span,.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.border,.border-1{border-width:1px}.border-2{border-width:2px}.file\:border-0::file-selector-button{border-width:0px}.border-l-1{border-left-width:1px}.border-r,.border-r-1{border-right-width:1px}.border-black{--un-border-opacity:1;border-color:rgb(0 0 0 / var(--un-border-opacity))}.border-gray-700{--un-border-opacity:1;border-color:rgb(55 65 81 / var(--un-border-opacity))}.border-transparent{border-color:transparent}.dark .dark\:border-gray-200{--un-border-opacity:1;border-color:rgb(229 231 235 / var(--un-border-opacity))}.dark .dark\:border-white{--un-border-opacity:1;border-color:rgb(255 255 255 / var(--un-border-opacity))}.dark .dark\:hover\:border-gray-200:hover{--un-border-opacity:1;border-color:rgb(229 231 235 / var(--un-border-opacity))}.hover\:border-gray-700:hover{--un-border-opacity:1;border-color:rgb(55 65 81 / var(--un-border-opacity))}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.border-dashed{border-style:dashed}.bg-black\/80{background-color:#000c}.bg-gray-100{--un-bg-opacity:1;background-color:rgb(243 244 246 / var(--un-bg-opacity))}.bg-gray-2{--un-bg-opacity:1;background-color:rgb(229 231 235 / var(--un-bg-opacity))}.bg-gray-400\/50{background-color:#9ca3af80}.bg-gray\/20{background-color:#9ca3af33}.dark .dark\:bg-gray-500\/50{background-color:#6b728080}.dark .dark\:bg-gray-900{--un-bg-opacity:1;background-color:rgb(17 24 39 / var(--un-bg-opacity))}.dark .dark\:bg-gray\/40{background-color:#9ca3af66}.dark .dark\:bg-stone-9{--un-bg-opacity:1;background-color:rgb(28 25 23 / var(--un-bg-opacity))}.dark .dark\:hover\:bg-gray-500\/50:hover{background-color:#6b728080}.dark .dark\:hover\:bg-gray-600:hover{--un-bg-opacity:1;background-color:rgb(75 85 99 / var(--un-bg-opacity))}.hover\:bg-gray-200:hover{--un-bg-opacity:1;background-color:rgb(229 231 235 / var(--un-bg-opacity))}.hover\:bg-gray-400\/50:hover{background-color:#9ca3af80}.file\:bg-transparent::file-selector-button{background-color:transparent}.fill-current{fill:currentColor}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.\[\&\>\[data-slot\=input\]\]\:has-\[\[data-slot\=decrement\]\]\:pl-5:has([data-slot=decrement])>[data-slot=input]{padding-left:1.25rem}.\[\&\>\[data-slot\=input\]\]\:has-\[\[data-slot\=increment\]\]\:pr-5:has([data-slot=increment])>[data-slot=input]{padding-right:1.25rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.text-center{text-align:center}.text-right{text-align:right}.text-start{text-align:start}.text-end{text-align:end}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.dark .dark\:text-white,.dark .dark\:hover\:text-white:hover{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.file\:font-medium::file-selector-button{font-weight:500}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.data-\[disabled\]\:opacity-50[data-disabled],.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70,.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.hover\:opacity-100:hover{opacity:1}.disabled\:opacity-20:disabled{opacity:.2}.disabled\:opacity-50:disabled{opacity:.5}.group.toaster .group-\[\.toaster\]\:shadow-lg,.shadow-lg{--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.data-\[state\=active\]\:shadow-sm[data-state=active]{--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color, rgb(0 0 0 / .05));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-md{--un-shadow:var(--un-shadow-inset) 0 4px 6px -1px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 2px 4px -2px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-xl{--un-shadow:var(--un-shadow-inset) 0 20px 25px -5px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 8px 10px -6px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.outline{outline-style:solid}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.ring-0{--un-ring-width:0px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.focus\:ring-2:focus{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.focus-visible\:ring-2:focus-visible{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.focus\:ring-offset-2:focus{--un-ring-offset-width:2px}.focus-visible\:ring-offset-2:focus-visible{--un-ring-offset-width:2px}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-color{transition-property:color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-width{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}@media (min-width: 640px){.sm\:mt-0{margin-top:0}.sm\:max-w-\[425px\]{max-width:425px}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:justify-evenly{justify-content:space-evenly}.sm\:gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.sm\:rounded-lg{border-radius:.5rem}.sm\:text-left{text-align:left}}@media (min-width: 768px){.md\:w-full{width:100%}}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor .CodeMirror-line::selection,.cm-fat-cursor .CodeMirror-line>span::selection,.cm-fat-cursor .CodeMirror-line>span>span::selection{background:transparent}.cm-fat-cursor .CodeMirror-line::-moz-selection,.cm-fat-cursor .CodeMirror-line>span::-moz-selection,.cm-fat-cursor .CodeMirror-line>span>span::-moz-selection{background:transparent}.cm-fat-cursor{caret-color:transparent}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3,.cm-s-default .cm-type{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-s-default .cm-error,.cm-invalidchar{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:#ff96004d}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative;z-index:0}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none;outline:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors,.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.cm-s-xq-light span.cm-keyword{line-height:1em;font-weight:700;color:#5a5cad}.cm-s-xq-light span.cm-atom{color:#6c8cd5}.cm-s-xq-light span.cm-number{color:#164}.cm-s-xq-light span.cm-def{text-decoration:underline}.cm-s-xq-light span.cm-variable,.cm-s-xq-light span.cm-variable-2,.cm-s-xq-light span.cm-variable-3,.cm-s-xq-light span.cm-type{color:#000}.cm-s-xq-light span.cm-comment{color:#0080ff;font-style:italic}.cm-s-xq-light span.cm-string{color:red}.cm-s-xq-light span.cm-meta{color:#ff0}.cm-s-xq-light span.cm-qualifier{color:gray}.cm-s-xq-light span.cm-builtin{color:#7ea656}.cm-s-xq-light span.cm-bracket{color:#cc7}.cm-s-xq-light span.cm-tag{color:#3f7f7f}.cm-s-xq-light span.cm-attribute{color:#7f007f}.cm-s-xq-light span.cm-error{color:red}.cm-s-xq-light .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-xq-light .CodeMirror-matchingbracket{outline:1px solid grey;color:#000!important;background:#ff0}.cm-s-darcula{font-family:Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif}.cm-s-darcula.CodeMirror{background:#2b2b2b;color:#a9b7c6}.cm-s-darcula span.cm-meta{color:#bbb529}.cm-s-darcula span.cm-number{color:#6897bb}.cm-s-darcula span.cm-keyword{color:#cc7832;line-height:1em;font-weight:700}.cm-s-darcula span.cm-def{color:#a9b7c6;font-style:italic}.cm-s-darcula span.cm-variable,.cm-s-darcula span.cm-variable-2{color:#a9b7c6}.cm-s-darcula span.cm-variable-3{color:#9876aa}.cm-s-darcula span.cm-type{color:#abc;font-weight:700}.cm-s-darcula span.cm-property{color:#ffc66d}.cm-s-darcula span.cm-operator{color:#a9b7c6}.cm-s-darcula span.cm-string,.cm-s-darcula span.cm-string-2{color:#6a8759}.cm-s-darcula span.cm-comment{color:#61a151;font-style:italic}.cm-s-darcula span.cm-link,.cm-s-darcula span.cm-atom{color:#cc7832}.cm-s-darcula span.cm-error{color:#bc3f3c}.cm-s-darcula span.cm-tag{color:#629755;font-weight:700;font-style:italic;text-decoration:underline}.cm-s-darcula span.cm-attribute{color:#6897bb}.cm-s-darcula span.cm-qualifier{color:#6a8759}.cm-s-darcula span.cm-bracket{color:#a9b7c6}.cm-s-darcula span.cm-builtin,.cm-s-darcula span.cm-special{color:#ff9e59}.cm-s-darcula span.cm-matchhighlight{color:#fff;background-color:#325930b3;font-weight:400}.cm-s-darcula span.cm-searching{color:#fff;background-color:#3d733bb3;font-weight:400}.cm-s-darcula .CodeMirror-cursor{border-left:1px solid #A9B7C6}.cm-s-darcula .CodeMirror-activeline-background{background:#323232}.cm-s-darcula .CodeMirror-gutters{background:#313335;border-right:1px solid #313335}.cm-s-darcula .CodeMirror-guttermarker{color:#ffee80}.cm-s-darcula .CodeMirror-guttermarker-subtle{color:#d0d0d0}.cm-s-darcula .CodeMirrir-linenumber{color:#606366}.cm-s-darcula .CodeMirror-matchingbracket{background-color:#3b514d;color:#ffef28!important;font-weight:700}.cm-s-darcula div.CodeMirror-selected{background:#214283}.CodeMirror-hints.darcula{font-family:Menlo,Monaco,Consolas,Courier New,monospace;color:#9c9e9e;background-color:#3b3e3f!important}.CodeMirror-hints.darcula .CodeMirror-hint-active{background-color:#494d4e!important;color:#9c9e9e!important}.-translate-x-1\/2,.-translate-y-1\/2,.transform,[data-side=bottom],[data-side=left],[data-side=right],[data-side=top],[data-state=checked],div{--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1}.shadow-lg,.shadow-md,.shadow-xl,.group-\[\.toaster\]\:shadow-lg,[data-state=active]{--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000}.ring-0,.focus\:ring-2,.focus-visible\:ring-2{--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000}.grayscale,.filter{--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--background: 0 0% 100%;--foreground: 0 0% 3.9%;--card: 0 0% 100%;--card-foreground: 0 0% 3.9%;--popover: 0 0% 100%;--popover-foreground: 0 0% 3.9%;--primary: 0 0% 9%;--primary-foreground: 0 0% 98%;--secondary: 0 0% 96.1%;--secondary-foreground: 0 0% 9%;--muted: 0 0% 96.1%;--muted-foreground: 0 0% 45.1%;--accent: 0 0% 96.1%;--accent-foreground: 0 0% 9%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 0 0% 98%;--border:0 0% 89.8%;--input:0 0% 89.8%;--ring:0 0% 3.9%;--radius: .5rem;--blockquote-background: #f7f7f7}.dark{--background:0 0% 3.9%;--foreground:0 0% 98%;--card:0 0% 3.9%;--card-foreground:0 0% 98%;--popover:0 0% 3.9%;--popover-foreground:0 0% 98%;--primary:0 0% 98%;--primary-foreground:0 0% 9%;--secondary:0 0% 14.9%;--secondary-foreground:0 0% 98%;--muted:0 0% 14.9%;--muted-foreground:0 0% 63.9%;--accent:0 0% 14.9%;--accent-foreground:0 0% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:0 0% 98%;--border:0 0% 14.9%;--input:0 0% 14.9%;--ring:0 0% 83.1%;--blockquote-background: #212121}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.table{display:table}.h-11{height:2.75rem}.h-2{height:.5rem}.h-5{height:1.25rem}.h-7{height:1.75rem}.h-9{height:2.25rem}.w-0{width:0px}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-all{word-break:break-all}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.border{border-width:1px}.border-r{border-right-width:1px}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity, 1))}.border-border{border-color:hsl(var(--border))}.border-destructive\/50{border-color:hsl(var(--destructive) / .5)}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.border-input{border-color:hsl(var(--input))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.bg-background{background-color:hsl(var(--background))}.bg-border{background-color:hsl(var(--border))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-500\/50{background-color:#6b728080}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-muted{background-color:hsl(var(--muted))}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-clip-padding{background-clip:padding-box}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.italic{font-style:italic}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.underline-offset-4{text-underline-offset:4px}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-80{--tw-enter-opacity: .8}.duration-200{animation-duration:.2s}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.hover\:border-gray-700:hover{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-secondary:hover{background-color:hsl(var(--secondary))}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}.hover\:underline:hover{text-decoration-line:underline}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--background))}.group.toaster .group-\[\.toaster\]\:border-border{border-color:hsl(var(--border))}.group.toast .group-\[\.toast\]\:bg-muted{background-color:hsl(var(--muted))}.group.toast .group-\[\.toast\]\:bg-primary{background-color:hsl(var(--primary))}.group.toaster .group-\[\.toaster\]\:bg-background{background-color:hsl(var(--background))}.group.toast .group-\[\.toast\]\:text-muted-foreground{color:hsl(var(--muted-foreground))}.group.toast .group-\[\.toast\]\:text-primary-foreground{color:hsl(var(--primary-foreground))}.group.toaster .group-\[\.toaster\]\:text-foreground{color:hsl(var(--foreground))}.group.toaster .group-\[\.toaster\]\:shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:hsl(var(--accent-foreground))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:shadow-sm[data-state=active]{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y: -48%}.dark\:border-destructive:is(.dark *){border-color:hsl(var(--destructive))}.dark\:border-gray-200:is(.dark *){--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.dark\:border-white:is(.dark *){--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.dark\:bg-gray-500\/50:is(.dark *){background-color:#6b728080}.dark\:bg-gray-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.dark\:bg-muted:is(.dark *){background-color:hsl(var(--muted))}.dark\:text-white:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.dark\:hover\:border-gray-200:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.dark\:hover\:bg-gray-500\/50:hover:is(.dark *){background-color:#6b728080}.dark\:hover\:bg-gray-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-muted:hover:is(.dark *){background-color:hsl(var(--muted))}.dark\:hover\:text-white:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}@media (min-width: 640px){.sm\:mt-0{margin-top:0}.sm\:max-w-\[425px\]{max-width:425px}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:justify-evenly{justify-content:space-evenly}.sm\:gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:text-left{text-align:left}}.\[\&\>span\]\:truncate>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y: -3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.dark .container .output_night .preview{background-color:#191919;box-shadow:0 0 70px #0000004d}.dark .container .output_night .preview-wrapper{background-color:#191919;box-shadow:inset 0 0 0 1px #e9e7e71a}.dark .container .output_night .code-snippet__fix{background-color:#eee}.dark .container ::-webkit-scrollbar{background-color:#191919}.CodeMirror{padding-bottom:0;height:100%!important;font-size:14px;font-family:PingFang SC,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif!important}.CodeMirror-vscrollbar:focus{outline:none}.CodeMirror-scroll{padding:0 20px;overflow-x:hidden!important;overflow-y:scroll!important}.CodeMirror-vscrollbar{width:0px;height:0px}.CodeMirror-wrap{padding-top:20px;padding-bottom:20px;box-sizing:border-box}.cm-em{font-style:normal}.cm-comment{font-style:normal!important} diff --git a/assets/index-g6-4yl7n.css b/assets/index-g6-4yl7n.css new file mode 100644 index 000000000..672422605 --- /dev/null +++ b/assets/index-g6-4yl7n.css @@ -0,0 +1 @@ +.loading[data-v-8781f9ec]{position:fixed;top:0;left:0;z-index:99999;display:flex;flex-direction:column;justify-content:center;align-items:center;width:100vw;height:100vh;font-size:18px;background-color:hsl(var(--background))}.loading[data-v-8781f9ec]:before{content:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAAAt1BMVEX///8AAABIz0hHzkdIzkhIz0hIz0hHzkdIzkhFz0VAz0BHzUdIz0hHzkdIzkhIzUhHzUdHzUdIzkhEzEREzERGz0ZIz0hHzUdIzkhIzUhHzkdHzkdHzUdGz0ZIzkhHzkdKzkpIzUhGzUZD00NIzUhGzUZIzkhIzkhHzkdHzkdIzkhHz0dIzUhK1UpHzUdC0EJHzkdHzkdIz0hH1UdHzUdGzkZIzUhJ20lD10NJzklIzkhIzkj////r6/fCAAAAO3RSTlMAACDvoEBg0MAwEI9fz9+A8JDgDx5Ff/r9i+VdbHSDkx9RTRdce+6q6brLb58YSBvtd0oScFTxBxM/v5xq7LMAAAABYktHRACIBR1IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4wwcCBssFsYwawAAAe9JREFUaN7t2tlywiAUBmABiQY1W6vWbna1i6Z2sYs97/9eNcQ6U40kEMhoh/824qeAxwSo1Wx2MUgimAAQLNNCAanDInWzCAUeahRxUsQx212NxGgaHhMq21sqCHIpdZFpRDoW2ROEtdpY/S1xu8XyEdZZ/BA8VcNbNO6wPIQbAK6akZa2v0rWN0mLk6+G+Gnr3O5qgnR1EjfOQviHCRS7yw02uyELwWGkbHAlCnGR3wkuM4WxLSuGkQNfmLYW5BDE8fUgXcHVXv9oYB45PoGBeQSd5ioaEHSWp+hA0DkMzSNoKFZKI78zuWsQuaA8l3BlEFnm2iL/FrlpZqanFbntZxmjO73IfdbVh31ERjQjj1LImEyYGMn+9xUjbELGKyRObviJI57CTzBdu/b8Ip7CDkkeQuIlQrffY5dB0rtvuqvINHnpqwISR8nTQsExSWbVW7ExSZ4jong1u2ZByJDu7kKsHszkCqQCIl+FLbKLyPtaefwwgWxEP2LvVixiEYtoQgqlHPJJC+XLLqoZRsyvpuKJB0R9XZiA18pfF+Yr3KqKS4qtcFeyVl/FrgNrlN8/aeTun3AlUh34aMPYsqcVOmWmsBMyW1Ysooi487nx/fhKThbwDdVvs0glpz0qObdSyQkchAOAQOUskU3h/AAe7qmqtAqp/QAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxOS0xMi0yOFQwODoyNzo0NCswMDowMPJYdAwAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTktMTItMjhUMDg6Mjc6NDQrMDA6MDCDBcywAAAAAElFTkSuQmCC);width:100px;height:100px;margin-bottom:26px}.fade-enter[data-v-8781f9ec],.fade-leave-to[data-v-8781f9ec]{opacity:0}.fade-enter-to[data-v-8781f9ec],.fade-leave[data-v-8781f9ec]{opacity:1}.fade-enter-active[data-v-8781f9ec],.fade-leave-active[data-v-8781f9ec]{transition:opacity 1s}.required[data-v-a66ad4e0]:before{content:"*";color:red;margin-right:.25em}.bounceInRight[data-v-13972d5d]{animation-name:bounceInRight-13972d5d;animation-duration:1s;animation-fill-mode:both}@keyframes bounceInRight-13972d5d{0%,60%,75%,90%,to{transition-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}.menubar[data-v-1417df7b]{-webkit-user-select:none;-moz-user-select:none;user-select:none}kbd[data-v-1417df7b]{display:inline-flex;justify-content:center;align-items:center;border:1px solid #a8a8a8;padding:1px 4px;border-radius:2px}[data-v-f0c9436f]{box-sizing:border-box;margin:0;padding:0}html[data-v-f0c9436f],body[data-v-f0c9436f]{height:100%;font-family:PingFang SC,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif}input[data-v-f0c9436f],button[data-v-f0c9436f],textarea[data-v-f0c9436f]{font-family:inherit}h1[data-v-f0c9436f],h2[data-v-f0c9436f],h3[data-v-f0c9436f],h4[data-v-f0c9436f],h5[data-v-f0c9436f],h6[data-v-f0c9436f]{font-weight:400}em[data-v-f0c9436f]{font-style:normal!important}section[data-v-f0c9436f]{height:100%}.web-title[data-v-f0c9436f]{margin:0 15px 0 5px}.web-icon[data-v-f0c9436f]{width:auto;height:1.5rem;vertical-align:middle}#editor[data-v-f0c9436f]{display:block;height:100%;width:100%;padding:10px;border:none}.ctrl[data-v-f0c9436f]{flex-basis:60px;flex-grow:1;flex-shrink:1;display:flex;align-items:center}.preview-wrapper[data-v-f0c9436f]{display:flex;align-items:center;justify-content:center;padding:0;overflow-y:scroll}.hint[data-v-f0c9436f]{opacity:.6;margin:20px 0}.preview[data-v-f0c9436f]{position:relative;margin:0 -20px;width:375px;padding:20px;font-size:14px;box-sizing:border-box;outline:none}.preview table[data-v-f0c9436f]{margin-bottom:10px;border-collapse:collapse;display:table;width:100%!important}.container[data-v-f0c9436f]{height:100vh;min-width:100%;padding:0}.container-main[data-v-f0c9436f]{overflow:hidden;padding:0 20px 20px}#output-wrapper[data-v-f0c9436f]{position:relative;-webkit-user-select:text;-moz-user-select:text;user-select:text;height:100%}.loading-mask[data-v-f0c9436f]{position:absolute;left:0;top:0;width:100%;height:100%;text-align:center;color:hsl(var(--foreground));background-color:hsl(var(--background))}.loading-mask .loading-mask-box[data-v-f0c9436f]{position:sticky;top:50%;transform:translateY(-50%)}.loading-mask .loading-mask-box .loading__img[data-v-f0c9436f]{width:75px;height:75px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAAAt1BMVEX///8AAABIz0hHzkdIzkhIz0hIz0hHzkdIzkhFz0VAz0BHzUdIz0hHzkdIzkhIzUhHzUdHzUdIzkhEzEREzERGz0ZIz0hHzUdIzkhIzUhHzkdHzkdHzUdGz0ZIzkhHzkdKzkpIzUhGzUZD00NIzUhGzUZIzkhIzkhHzkdHzkdIzkhHz0dIzUhK1UpHzUdC0EJHzkdHzkdIz0hH1UdHzUdGzkZIzUhJ20lD10NJzklIzkhIzkj////r6/fCAAAAO3RSTlMAACDvoEBg0MAwEI9fz9+A8JDgDx5Ff/r9i+VdbHSDkx9RTRdce+6q6brLb58YSBvtd0oScFTxBxM/v5xq7LMAAAABYktHRACIBR1IAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4wwcCBssFsYwawAAAe9JREFUaN7t2tlywiAUBmABiQY1W6vWbna1i6Z2sYs97/9eNcQ6U40kEMhoh/824qeAxwSo1Wx2MUgimAAQLNNCAanDInWzCAUeahRxUsQx212NxGgaHhMq21sqCHIpdZFpRDoW2ROEtdpY/S1xu8XyEdZZ/BA8VcNbNO6wPIQbAK6akZa2v0rWN0mLk6+G+Gnr3O5qgnR1EjfOQviHCRS7yw02uyELwWGkbHAlCnGR3wkuM4WxLSuGkQNfmLYW5BDE8fUgXcHVXv9oYB45PoGBeQSd5ioaEHSWp+hA0DkMzSNoKFZKI78zuWsQuaA8l3BlEFnm2iL/FrlpZqanFbntZxmjO73IfdbVh31ERjQjj1LImEyYGMn+9xUjbELGKyRObviJI57CTzBdu/b8Ip7CDkkeQuIlQrffY5dB0rtvuqvINHnpqwISR8nTQsExSWbVW7ExSZ4jong1u2ZByJDu7kKsHszkCqQCIl+FLbKLyPtaefwwgWxEP2LvVixiEYtoQgqlHPJJC+XLLqoZRsyvpuKJB0R9XZiA18pfF+Yr3KqKS4qtcFeyVl/FrgNrlN8/aeTun3AlUh34aMPYsqcVOmWmsBMyW1Ysooi487nx/fhKThbwDdVvs0glpz0qObdSyQkchAOAQOUskU3h/AAe7qmqtAqp/QAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxOS0xMi0yOFQwODoyNzo0NCswMDowMPJYdAwAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTktMTItMjhUMDg6Mjc6NDQrMDA6MDCDBcywAAAAAElFTkSuQmCC) no-repeat;margin:1em auto;background-size:cover}[data-v-f0c9436f] .preview-table{border-spacing:0}.codeMirror-wrapper[data-v-f0c9436f],.preview-wrapper[data-v-f0c9436f]{height:100%}.codeMirror-wrapper[data-v-f0c9436f]{overflow-x:auto}html,body,#app{width:100vw;height:100vh;margin:0;padding:0}body{pointer-events:initial!important}::-webkit-scrollbar{width:6px;height:6px;background-color:#fff}::-webkit-scrollbar-track{border-radius:6px;background-color:#c8c8c84d}::-webkit-scrollbar-thumb{border-radius:6px;background-color:#90929880}.CodeMirror-hints{position:absolute;z-index:10;overflow-y:auto;margin:0;padding:2px;border-radius:4px;max-height:20em;min-width:200px;font-size:12px;font-family:monospace;color:#333;background-color:#fff;box-shadow:0 4px 8px #0000001f,0 2px 4px #00000014}.CodeMirror-hint{margin-top:10px;padding:4px 6px;border-radius:2px;white-space:pre;color:#000;cursor:pointer}.CodeMirror-hint:first-of-type{margin-top:0}.CodeMirror-hint:hover{background:#f0f0f0}.data-\[disabled\]\:pointer-events-none[data-disabled],.pointer-events-none{pointer-events:none}.disabled\:pointer-events-none:disabled{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.left-0{left:0}.left-1\/2{left:50%}.left-2{left:.5rem}.right-0{right:0}.right-4{right:1rem}.top-1\/2{top:50%}.top-4{top:1rem}.z-50{z-index:50}.order-1{order:1}.grid{display:grid}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.mb-1{margin-bottom:.25rem}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.mr-auto{margin-right:auto}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.inline{display:inline}.block{display:block}.inline-block{display:inline-block}.hidden{display:none}.size-20{width:5rem;height:5rem}.size-4{width:1rem;height:1rem}.h-\[--radix-select-trigger-height\]{height:var(--radix-select-trigger-height)}.h-10{height:2.5rem}.h-100{height:25rem}.h-15{height:3.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5,.h5{height:1.25rem}.h-50{height:12.5rem}.h-6{height:1.5rem}.h-60{height:15rem}.h-8{height:2rem}.h-full{height:100%}.h-px{height:1px}.h2{height:.5rem}.h3{height:.75rem}.max-h-56{max-height:14rem}.max-h-96{max-height:24rem}.max-w-lg{max-width:32rem}.max-w-max{max-width:-moz-max-content;max-width:max-content}.min-h-20{min-height:5rem}.min-h-4{min-height:1rem}.min-w-\[--radix-select-trigger-width\]{min-width:var(--radix-select-trigger-width)}.min-w-32{min-width:8rem}.min-w-48{min-width:12rem}.w-\[150px\]{width:150px}.w-0{width:0}.w-10{width:2.5rem}.w-100{width:25rem}.w-11{width:2.75rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-50{width:12.5rem}.w-56{width:14rem}.w-60{width:15rem}.w-64{width:16rem}.w-72{width:18rem}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-min{width:-moz-min-content;width:min-content}.flex{display:flex}.inline-flex{display:inline-flex}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.-translate-x-1\/2{--un-translate-x:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-1\/2{--un-translate-y:-50%;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--un-translate-y:.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--un-translate-x:-.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--un-translate-x:.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--un-translate-y:-.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--un-translate-x:1.25rem;transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-evenly{justify-content:space-evenly}.justify-items-center{justify-items:center}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-y-1\.5{row-gap:.375rem}.gap-y-2{row-gap:.5rem}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.\[\&\>span\]\:truncate>span,.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.border,.border-1{border-width:1px}.border-2{border-width:2px}.file\:border-0::file-selector-button{border-width:0px}.border-l-1{border-left-width:1px}.border-r,.border-r-1{border-right-width:1px}.border-black{--un-border-opacity:1;border-color:rgb(0 0 0 / var(--un-border-opacity))}.border-gray-700{--un-border-opacity:1;border-color:rgb(55 65 81 / var(--un-border-opacity))}.border-transparent{border-color:transparent}.dark .dark\:border-gray-200{--un-border-opacity:1;border-color:rgb(229 231 235 / var(--un-border-opacity))}.dark .dark\:border-white{--un-border-opacity:1;border-color:rgb(255 255 255 / var(--un-border-opacity))}.dark .dark\:hover\:border-gray-200:hover{--un-border-opacity:1;border-color:rgb(229 231 235 / var(--un-border-opacity))}.hover\:border-gray-700:hover{--un-border-opacity:1;border-color:rgb(55 65 81 / var(--un-border-opacity))}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.border-dashed{border-style:dashed}.bg-black\/80{background-color:#000c}.bg-gray-100{--un-bg-opacity:1;background-color:rgb(243 244 246 / var(--un-bg-opacity))}.bg-gray-2{--un-bg-opacity:1;background-color:rgb(229 231 235 / var(--un-bg-opacity))}.bg-gray-400\/50{background-color:#9ca3af80}.bg-gray\/20{background-color:#9ca3af33}.dark .dark\:bg-gray-500\/50{background-color:#6b728080}.dark .dark\:bg-gray-900{--un-bg-opacity:1;background-color:rgb(17 24 39 / var(--un-bg-opacity))}.dark .dark\:bg-gray\/40{background-color:#9ca3af66}.dark .dark\:bg-stone-9{--un-bg-opacity:1;background-color:rgb(28 25 23 / var(--un-bg-opacity))}.dark .dark\:hover\:bg-gray-500\/50:hover{background-color:#6b728080}.dark .dark\:hover\:bg-gray-600:hover{--un-bg-opacity:1;background-color:rgb(75 85 99 / var(--un-bg-opacity))}.hover\:bg-gray-200:hover{--un-bg-opacity:1;background-color:rgb(229 231 235 / var(--un-bg-opacity))}.hover\:bg-gray-400\/50:hover{background-color:#9ca3af80}.file\:bg-transparent::file-selector-button{background-color:transparent}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.\[\&\>\[data-slot\=input\]\]\:has-\[\[data-slot\=decrement\]\]\:pl-5:has([data-slot=decrement])>[data-slot=input]{padding-left:1.25rem}.\[\&\>\[data-slot\=input\]\]\:has-\[\[data-slot\=increment\]\]\:pr-5:has([data-slot=increment])>[data-slot=input]{padding-right:1.25rem}.pl-8{padding-left:2rem}.pr-2{padding-right:.5rem}.text-center{text-align:center}.text-right{text-align:right}.text-start{text-align:start}.text-end{text-align:end}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.dark .dark\:text-white,.dark .dark\:hover\:text-white:hover{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.file\:font-medium::file-selector-button{font-weight:500}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.data-\[disabled\]\:opacity-50[data-disabled],.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70,.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.hover\:opacity-100:hover{opacity:1}.disabled\:opacity-20:disabled{opacity:.2}.disabled\:opacity-50:disabled{opacity:.5}.group.toaster .group-\[\.toaster\]\:shadow-lg,.shadow-lg{--un-shadow:var(--un-shadow-inset) 0 10px 15px -3px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 4px 6px -4px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.data-\[state\=active\]\:shadow-sm[data-state=active]{--un-shadow:var(--un-shadow-inset) 0 1px 2px 0 var(--un-shadow-color, rgb(0 0 0 / .05));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-md{--un-shadow:var(--un-shadow-inset) 0 4px 6px -1px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 2px 4px -2px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.shadow-xl{--un-shadow:var(--un-shadow-inset) 0 20px 25px -5px var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 8px 10px -6px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.outline{outline-style:solid}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.ring-0{--un-ring-width:0px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.focus\:ring-2:focus{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.focus-visible\:ring-2:focus-visible{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.focus\:ring-offset-2:focus{--un-ring-offset-width:2px}.focus-visible\:ring-offset-2:focus-visible{--un-ring-offset-width:2px}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-color{transition-property:color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-width{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}@media (min-width: 640px){.sm\:mt-0{margin-top:0}.sm\:max-w-\[425px\]{max-width:425px}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:justify-evenly{justify-content:space-evenly}.sm\:gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.sm\:rounded-lg{border-radius:.5rem}.sm\:text-left{text-align:left}}.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid black;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor .CodeMirror-line::selection,.cm-fat-cursor .CodeMirror-line>span::selection,.cm-fat-cursor .CodeMirror-line>span>span::selection{background:transparent}.cm-fat-cursor .CodeMirror-line::-moz-selection,.cm-fat-cursor .CodeMirror-line>span::-moz-selection,.cm-fat-cursor .CodeMirror-line>span>span::-moz-selection{background:transparent}.cm-fat-cursor{caret-color:transparent}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3,.cm-s-default .cm-type{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-s-default .cm-error,.cm-invalidchar{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:#ff96004d}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative;z-index:0}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none;outline:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors,.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.cm-s-xq-light span.cm-keyword{line-height:1em;font-weight:700;color:#5a5cad}.cm-s-xq-light span.cm-atom{color:#6c8cd5}.cm-s-xq-light span.cm-number{color:#164}.cm-s-xq-light span.cm-def{text-decoration:underline}.cm-s-xq-light span.cm-variable,.cm-s-xq-light span.cm-variable-2,.cm-s-xq-light span.cm-variable-3,.cm-s-xq-light span.cm-type{color:#000}.cm-s-xq-light span.cm-comment{color:#0080ff;font-style:italic}.cm-s-xq-light span.cm-string{color:red}.cm-s-xq-light span.cm-meta{color:#ff0}.cm-s-xq-light span.cm-qualifier{color:gray}.cm-s-xq-light span.cm-builtin{color:#7ea656}.cm-s-xq-light span.cm-bracket{color:#cc7}.cm-s-xq-light span.cm-tag{color:#3f7f7f}.cm-s-xq-light span.cm-attribute{color:#7f007f}.cm-s-xq-light span.cm-error{color:red}.cm-s-xq-light .CodeMirror-activeline-background{background:#e8f2ff}.cm-s-xq-light .CodeMirror-matchingbracket{outline:1px solid grey;color:#000!important;background:#ff0}.cm-s-darcula{font-family:Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif}.cm-s-darcula.CodeMirror{background:#2b2b2b;color:#a9b7c6}.cm-s-darcula span.cm-meta{color:#bbb529}.cm-s-darcula span.cm-number{color:#6897bb}.cm-s-darcula span.cm-keyword{color:#cc7832;line-height:1em;font-weight:700}.cm-s-darcula span.cm-def{color:#a9b7c6;font-style:italic}.cm-s-darcula span.cm-variable,.cm-s-darcula span.cm-variable-2{color:#a9b7c6}.cm-s-darcula span.cm-variable-3{color:#9876aa}.cm-s-darcula span.cm-type{color:#abc;font-weight:700}.cm-s-darcula span.cm-property{color:#ffc66d}.cm-s-darcula span.cm-operator{color:#a9b7c6}.cm-s-darcula span.cm-string,.cm-s-darcula span.cm-string-2{color:#6a8759}.cm-s-darcula span.cm-comment{color:#61a151;font-style:italic}.cm-s-darcula span.cm-link,.cm-s-darcula span.cm-atom{color:#cc7832}.cm-s-darcula span.cm-error{color:#bc3f3c}.cm-s-darcula span.cm-tag{color:#629755;font-weight:700;font-style:italic;text-decoration:underline}.cm-s-darcula span.cm-attribute{color:#6897bb}.cm-s-darcula span.cm-qualifier{color:#6a8759}.cm-s-darcula span.cm-bracket{color:#a9b7c6}.cm-s-darcula span.cm-builtin,.cm-s-darcula span.cm-special{color:#ff9e59}.cm-s-darcula span.cm-matchhighlight{color:#fff;background-color:#325930b3;font-weight:400}.cm-s-darcula span.cm-searching{color:#fff;background-color:#3d733bb3;font-weight:400}.cm-s-darcula .CodeMirror-cursor{border-left:1px solid #A9B7C6}.cm-s-darcula .CodeMirror-activeline-background{background:#323232}.cm-s-darcula .CodeMirror-gutters{background:#313335;border-right:1px solid #313335}.cm-s-darcula .CodeMirror-guttermarker{color:#ffee80}.cm-s-darcula .CodeMirror-guttermarker-subtle{color:#d0d0d0}.cm-s-darcula .CodeMirrir-linenumber{color:#606366}.cm-s-darcula .CodeMirror-matchingbracket{background-color:#3b514d;color:#ffef28!important;font-weight:700}.cm-s-darcula div.CodeMirror-selected{background:#214283}.CodeMirror-hints.darcula{font-family:Menlo,Monaco,Consolas,Courier New,monospace;color:#9c9e9e;background-color:#3b3e3f!important}.CodeMirror-hints.darcula .CodeMirror-hint-active{background-color:#494d4e!important;color:#9c9e9e!important}.-translate-x-1\/2,.-translate-y-1\/2,.transform,[data-side=bottom],[data-side=left],[data-side=right],[data-side=top],[data-state=checked],div{--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1}.shadow-lg,.shadow-md,.shadow-xl,.group-\[\.toaster\]\:shadow-lg,[data-state=active]{--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000}.ring-0,.focus\:ring-2,.focus-visible\:ring-2{--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000}.grayscale,.filter{--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{--background: 0 0% 100%;--foreground: 0 0% 3.9%;--card: 0 0% 100%;--card-foreground: 0 0% 3.9%;--popover: 0 0% 100%;--popover-foreground: 0 0% 3.9%;--primary: 0 0% 9%;--primary-foreground: 0 0% 98%;--secondary: 0 0% 96.1%;--secondary-foreground: 0 0% 9%;--muted: 0 0% 96.1%;--muted-foreground: 0 0% 45.1%;--accent: 0 0% 96.1%;--accent-foreground: 0 0% 9%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 0 0% 98%;--border:0 0% 89.8%;--input:0 0% 89.8%;--ring:0 0% 3.9%;--radius: .5rem;--blockquote-background: #f7f7f7}.dark{--background:0 0% 3.9%;--foreground:0 0% 98%;--card:0 0% 3.9%;--card-foreground:0 0% 98%;--popover:0 0% 3.9%;--popover-foreground:0 0% 98%;--primary:0 0% 98%;--primary-foreground:0 0% 9%;--secondary:0 0% 14.9%;--secondary-foreground:0 0% 98%;--muted:0 0% 14.9%;--muted-foreground:0 0% 63.9%;--accent:0 0% 14.9%;--accent-foreground:0 0% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:0 0% 98%;--border:0 0% 14.9%;--input:0 0% 14.9%;--ring:0 0% 83.1%;--blockquote-background: #212121}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground))}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.right-3{right:.75rem}.top-3{top:.75rem}.my-8{margin-top:2rem;margin-bottom:2rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.table{display:table}.h-11{height:2.75rem}.h-2{height:.5rem}.h-5{height:1.25rem}.h-7{height:1.75rem}.h-9{height:2.25rem}.w-0{width:0px}.w-2{width:.5rem}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.place-items-center{place-items:center}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.break-all{word-break:break-all}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.border{border-width:1px}.border-r{border-right-width:1px}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity, 1))}.border-border{border-color:hsl(var(--border))}.border-destructive\/50{border-color:hsl(var(--destructive) / .5)}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.border-input{border-color:hsl(var(--input))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.bg-background{background-color:hsl(var(--background))}.bg-border{background-color:hsl(var(--border))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-500\/50{background-color:#6b728080}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-muted{background-color:hsl(var(--muted))}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-clip-padding{background-clip:padding-box}.fill-current{fill:currentColor}.px-4{padding-left:1rem;padding-right:1rem}.px-8{padding-left:2rem;padding-right:2rem}.italic{font-style:italic}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-foreground{color:hsl(var(--foreground))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.underline-offset-4{text-underline-offset:4px}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.fade-in-80{--tw-enter-opacity: .8}.duration-200{animation-duration:.2s}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.hover\:border-gray-700:hover{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity, 1))}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)}.hover\:bg-secondary:hover{background-color:hsl(var(--secondary))}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}.hover\:underline:hover{text-decoration-line:underline}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--background))}.group.toaster .group-\[\.toaster\]\:border-border{border-color:hsl(var(--border))}.group.toast .group-\[\.toast\]\:bg-muted{background-color:hsl(var(--muted))}.group.toast .group-\[\.toast\]\:bg-primary{background-color:hsl(var(--primary))}.group.toaster .group-\[\.toaster\]\:bg-background{background-color:hsl(var(--background))}.group.toast .group-\[\.toast\]\:text-muted-foreground{color:hsl(var(--muted-foreground))}.group.toast .group-\[\.toast\]\:text-primary-foreground{color:hsl(var(--primary-foreground))}.group.toaster .group-\[\.toaster\]\:text-foreground{color:hsl(var(--foreground))}.group.toaster .group-\[\.toaster\]\:shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=checked\]\:translate-x-5[data-state=checked]{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:hsl(var(--accent-foreground))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:shadow-sm[data-state=active]{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y: -48%}.dark\:border-destructive:is(.dark *){border-color:hsl(var(--destructive))}.dark\:border-gray-200:is(.dark *){--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.dark\:border-white:is(.dark *){--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.dark\:bg-gray-500\/50:is(.dark *){background-color:#6b728080}.dark\:bg-gray-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.dark\:bg-muted:is(.dark *){background-color:hsl(var(--muted))}.dark\:text-white:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.dark\:hover\:border-gray-200:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.dark\:hover\:bg-gray-500\/50:hover:is(.dark *){background-color:#6b728080}.dark\:hover\:bg-gray-600:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-muted:hover:is(.dark *){background-color:hsl(var(--muted))}.dark\:hover\:text-white:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}@media (min-width: 640px){.sm\:mt-0{margin-top:0}.sm\:max-w-\[425px\]{max-width:425px}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:justify-evenly{justify-content:space-evenly}.sm\:gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:text-left{text-align:left}}@media (min-width: 768px){.md\:w-full{width:100%}}.\[\&\>span\]\:truncate>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y: -3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\>svg\~\*\]\:pl-7>svg~*{padding-left:1.75rem}.dark .container .output_night .preview{background-color:#191919;box-shadow:0 0 70px #0000004d}.dark .container .output_night .preview-wrapper{background-color:#191919;box-shadow:inset 0 0 0 1px #e9e7e71a}.dark .container .output_night .code-snippet__fix{background-color:#eee}.dark .container ::-webkit-scrollbar{background-color:#191919}.CodeMirror{padding-bottom:0;height:100%!important;font-size:14px;font-family:PingFang SC,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif!important}.CodeMirror-vscrollbar:focus{outline:none}.CodeMirror-scroll{padding:0 20px;overflow-x:hidden!important;overflow-y:scroll!important}.CodeMirror-vscrollbar{width:0px;height:0px}.CodeMirror-wrap{padding-top:20px;padding-bottom:20px;box-sizing:border-box}.cm-em{font-style:normal}.cm-comment{font-style:normal!important} diff --git a/assets/infoDiagram-A4XQUW5V-CoidIO8K.js b/assets/infoDiagram-A4XQUW5V-BqFBV1cP.js similarity index 60% rename from assets/infoDiagram-A4XQUW5V-CoidIO8K.js rename to assets/infoDiagram-A4XQUW5V-BqFBV1cP.js index 94044878e..f42d0cbc8 100644 --- a/assets/infoDiagram-A4XQUW5V-CoidIO8K.js +++ b/assets/infoDiagram-A4XQUW5V-BqFBV1cP.js @@ -1,2 +1,2 @@ -import{_ as e,l as s,G as n,k as i,H as p}from"./index-Dq-yb_Rq.js";import{p as g}from"./gitGraph-YCYPL57B-DpeDajKN.js";import"./_baseUniq-4k_gUsXm.js";import"./_basePickBy-DFtYmPO_.js";import"./clone-BJk3Zf2Y.js";var v={parse:e(async r=>{const a=await g("info",r);s.debug(a)},"parse")},d={version:p},m=e(()=>d.version,"getVersion"),c={getVersion:m},l=e((r,a,o)=>{s.debug(`rendering info diagram +import{_ as e,l as s,G as n,k as i,H as p}from"./index-BxMsVRSP.js";import{p as g}from"./gitGraph-YCYPL57B-XVjt0la2.js";import"./_baseUniq-QkQtF8Yx.js";import"./_basePickBy-DAcC5mcM.js";import"./clone-BKg_06cU.js";var v={parse:e(async r=>{const a=await g("info",r);s.debug(a)},"parse")},d={version:p},m=e(()=>d.version,"getVersion"),c={getVersion:m},l=e((r,a,o)=>{s.debug(`rendering info diagram `+r);const t=n(a);i(t,100,400,!0),t.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${o}`)},"draw"),f={draw:l},S={parser:v,db:c,renderer:f};export{S as diagram}; diff --git a/assets/journeyDiagram-G5WM74LC-DDbuibT0.js b/assets/journeyDiagram-G5WM74LC-D0VsFZ7P.js similarity index 98% rename from assets/journeyDiagram-G5WM74LC-DDbuibT0.js rename to assets/journeyDiagram-G5WM74LC-D0VsFZ7P.js index d5c5a859e..6abc6bfa9 100644 --- a/assets/journeyDiagram-G5WM74LC-DDbuibT0.js +++ b/assets/journeyDiagram-G5WM74LC-D0VsFZ7P.js @@ -1,4 +1,4 @@ -import{d as ft,f as gt,g as at,b as mt}from"./chunk-ASOPGD6M-CUw5NolE.js";import{_ as i,d as A,p as xt,q as kt,s as _t,g as vt,c as bt,b as wt,v as Tt,j as W,k as St}from"./index-Dq-yb_Rq.js";import{d as tt}from"./arc-CLrr7Muw.js";var H=function(){var t=i(function(g,r,a,l){for(a=a||{},l=g.length;l--;a[g[l]]=r);return a},"o"),e=[6,8,10,11,12,14,16,17,18],n=[1,9],c=[1,10],s=[1,11],u=[1,12],h=[1,13],p=[1,14],d={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:i(function(r,a,l,y,f,o,S){var _=o.length-1;switch(f){case 1:return o[_-1];case 2:this.$=[];break;case 3:o[_-1].push(o[_]),this.$=o[_-1];break;case 4:case 5:this.$=o[_];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(o[_].substr(6)),this.$=o[_].substr(6);break;case 9:this.$=o[_].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=o[_].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(o[_].substr(8)),this.$=o[_].substr(8);break;case 13:y.addTask(o[_-1],o[_]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:c,14:s,16:u,17:h,18:p},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:n,12:c,14:s,16:u,17:h,18:p},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:i(function(r,a){if(a.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=a,l}},"parseError"),parse:i(function(r){var a=this,l=[0],y=[],f=[null],o=[],S=this.table,_="",B=0,J=0,ut=2,K=1,yt=o.slice.call(arguments,1),k=Object.create(this.lexer),E={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(E.yy[O]=this.yy[O]);k.setInput(r,E.yy),E.yy.lexer=k,E.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var Y=k.yylloc;o.push(Y);var dt=k.options&&k.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(b){l.length=l.length-2*b,f.length=f.length-b,o.length=o.length-b}i(pt,"popStack");function Q(){var b;return b=y.pop()||k.lex()||K,typeof b!="number"&&(b instanceof Array&&(y=b,b=y.pop()),b=a.symbols_[b]||b),b}i(Q,"lex");for(var v,P,w,q,C={},j,M,D,N;;){if(P=l[l.length-1],this.defaultActions[P]?w=this.defaultActions[P]:((v===null||typeof v>"u")&&(v=Q()),w=S[P]&&S[P][v]),typeof w>"u"||!w.length||!w[0]){var G="";N=[];for(j in S[P])this.terminals_[j]&&j>ut&&N.push("'"+this.terminals_[j]+"'");k.showPosition?G="Parse error on line "+(B+1)+`: +import{d as ft,f as gt,g as at,b as mt}from"./chunk-ASOPGD6M-CSgx0Qv3.js";import{_ as i,d as A,p as xt,q as kt,s as _t,g as vt,c as bt,b as wt,v as Tt,j as W,k as St}from"./index-BxMsVRSP.js";import{d as tt}from"./arc-B3F-a6Ej.js";var H=function(){var t=i(function(g,r,a,l){for(a=a||{},l=g.length;l--;a[g[l]]=r);return a},"o"),e=[6,8,10,11,12,14,16,17,18],n=[1,9],c=[1,10],s=[1,11],u=[1,12],h=[1,13],p=[1,14],d={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:i(function(r,a,l,y,f,o,S){var _=o.length-1;switch(f){case 1:return o[_-1];case 2:this.$=[];break;case 3:o[_-1].push(o[_]),this.$=o[_-1];break;case 4:case 5:this.$=o[_];break;case 6:case 7:this.$=[];break;case 8:y.setDiagramTitle(o[_].substr(6)),this.$=o[_].substr(6);break;case 9:this.$=o[_].trim(),y.setAccTitle(this.$);break;case 10:case 11:this.$=o[_].trim(),y.setAccDescription(this.$);break;case 12:y.addSection(o[_].substr(8)),this.$=o[_].substr(8);break;case 13:y.addTask(o[_-1],o[_]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:c,14:s,16:u,17:h,18:p},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:n,12:c,14:s,16:u,17:h,18:p},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:i(function(r,a){if(a.recoverable)this.trace(r);else{var l=new Error(r);throw l.hash=a,l}},"parseError"),parse:i(function(r){var a=this,l=[0],y=[],f=[null],o=[],S=this.table,_="",B=0,J=0,ut=2,K=1,yt=o.slice.call(arguments,1),k=Object.create(this.lexer),E={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(E.yy[O]=this.yy[O]);k.setInput(r,E.yy),E.yy.lexer=k,E.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var Y=k.yylloc;o.push(Y);var dt=k.options&&k.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(b){l.length=l.length-2*b,f.length=f.length-b,o.length=o.length-b}i(pt,"popStack");function Q(){var b;return b=y.pop()||k.lex()||K,typeof b!="number"&&(b instanceof Array&&(y=b,b=y.pop()),b=a.symbols_[b]||b),b}i(Q,"lex");for(var v,P,w,q,C={},j,M,D,N;;){if(P=l[l.length-1],this.defaultActions[P]?w=this.defaultActions[P]:((v===null||typeof v>"u")&&(v=Q()),w=S[P]&&S[P][v]),typeof w>"u"||!w.length||!w[0]){var G="";N=[];for(j in S[P])this.terminals_[j]&&j>ut&&N.push("'"+this.terminals_[j]+"'");k.showPosition?G="Parse error on line "+(B+1)+`: `+k.showPosition()+` Expecting `+N.join(", ")+", got '"+(this.terminals_[v]||v)+"'":G="Parse error on line "+(B+1)+": Unexpected "+(v==K?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(G,{text:k.match,token:this.terminals_[v]||v,line:k.yylineno,loc:Y,expected:N})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+v);switch(w[0]){case 1:l.push(v),f.push(k.yytext),o.push(k.yylloc),l.push(w[1]),v=null,J=k.yyleng,_=k.yytext,B=k.yylineno,Y=k.yylloc;break;case 2:if(M=this.productions_[w[1]][1],C.$=f[f.length-M],C._$={first_line:o[o.length-(M||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(M||1)].first_column,last_column:o[o.length-1].last_column},dt&&(C._$.range=[o[o.length-(M||1)].range[0],o[o.length-1].range[1]]),q=this.performAction.apply(C,[_,J,B,E.yy,w[1],f,o].concat(yt)),typeof q<"u")return q;M&&(l=l.slice(0,-1*M*2),f=f.slice(0,-1*M),o=o.slice(0,-1*M)),l.push(this.productions_[w[1]][0]),f.push(C.$),o.push(C._$),D=S[l[l.length-2]][l[l.length-1]],l.push(D);break;case 3:return!0}}return!0},"parse")},x=function(){var g={EOF:1,parseError:i(function(a,l){if(this.yy.parser)this.yy.parser.parseError(a,l);else throw new Error(a)},"parseError"),setInput:i(function(r,a){return this.yy=a||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var a=r.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:i(function(r){var a=r.length,l=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var f=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===y.length?this.yylloc.first_column:0)+y[y.length-l.length].length-l[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(r){this.unput(this.match.slice(r))},"less"),pastInput:i(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var r=this.pastInput(),a=new Array(r.length+1).join("-");return r+this.upcomingInput()+` diff --git a/assets/kanban-definition-QRCXZQQD-DNlu3Ryd.js b/assets/kanban-definition-QRCXZQQD-o8G4FPD2.js similarity index 99% rename from assets/kanban-definition-QRCXZQQD-DNlu3Ryd.js rename to assets/kanban-definition-QRCXZQQD-o8G4FPD2.js index 65ed7dd7b..6dc4b3348 100644 --- a/assets/kanban-definition-QRCXZQQD-DNlu3Ryd.js +++ b/assets/kanban-definition-QRCXZQQD-o8G4FPD2.js @@ -1,4 +1,4 @@ -import{_ as c,l as te,d as W,G as fe,ae as ye,af as be,ag as me,V as _e,B as K,i as F,r as Ee,J as ke,W as Se,X as le,Y as ce}from"./index-Dq-yb_Rq.js";var $=function(){var t=c(function(_,s,n,a){for(n=n||{},a=_.length;a--;n[_[a]]=s);return n},"o"),g=[1,4],d=[1,13],r=[1,12],p=[1,15],E=[1,16],f=[1,20],h=[1,19],L=[6,7,8],C=[1,26],w=[1,24],N=[1,25],i=[6,7,11],M=[1,31],x=[6,7,11,24],P=[1,6,13,16,17,20,23],U=[1,35],j=[1,36],A=[1,6,7,11,13,16,17,20,23],H=[1,38],V={trace:c(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:c(function(s,n,a,o,u,e,B){var l=e.length-1;switch(u){case 6:case 7:return o;case 8:o.getLogger().trace("Stop NL ");break;case 9:o.getLogger().trace("Stop EOF ");break;case 11:o.getLogger().trace("Stop NL2 ");break;case 12:o.getLogger().trace("Stop EOF2 ");break;case 15:o.getLogger().info("Node: ",e[l-1].id),o.addNode(e[l-2].length,e[l-1].id,e[l-1].descr,e[l-1].type,e[l]);break;case 16:o.getLogger().info("Node: ",e[l].id),o.addNode(e[l-1].length,e[l].id,e[l].descr,e[l].type);break;case 17:o.getLogger().trace("Icon: ",e[l]),o.decorateNode({icon:e[l]});break;case 18:case 23:o.decorateNode({class:e[l]});break;case 19:o.getLogger().trace("SPACELIST");break;case 20:o.getLogger().trace("Node: ",e[l-1].id),o.addNode(0,e[l-1].id,e[l-1].descr,e[l-1].type,e[l]);break;case 21:o.getLogger().trace("Node: ",e[l].id),o.addNode(0,e[l].id,e[l].descr,e[l].type);break;case 22:o.decorateNode({icon:e[l]});break;case 27:o.getLogger().trace("node found ..",e[l-2]),this.$={id:e[l-1],descr:e[l-1],type:o.getType(e[l-2],e[l])};break;case 28:this.$={id:e[l],descr:e[l],type:0};break;case 29:o.getLogger().trace("node found ..",e[l-3]),this.$={id:e[l-3],descr:e[l-1],type:o.getType(e[l-2],e[l])};break;case 30:this.$=e[l-1]+e[l];break;case 31:this.$=e[l];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:g},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:g},{6:d,7:[1,10],9:9,12:11,13:r,14:14,16:p,17:E,18:17,19:18,20:f,23:h},t(L,[2,3]),{1:[2,2]},t(L,[2,4]),t(L,[2,5]),{1:[2,6],6:d,12:21,13:r,14:14,16:p,17:E,18:17,19:18,20:f,23:h},{6:d,9:22,12:11,13:r,14:14,16:p,17:E,18:17,19:18,20:f,23:h},{6:C,7:w,10:23,11:N},t(i,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:f,23:h}),t(i,[2,19]),t(i,[2,21],{15:30,24:M}),t(i,[2,22]),t(i,[2,23]),t(x,[2,25]),t(x,[2,26]),t(x,[2,28],{20:[1,32]}),{21:[1,33]},{6:C,7:w,10:34,11:N},{1:[2,7],6:d,12:21,13:r,14:14,16:p,17:E,18:17,19:18,20:f,23:h},t(P,[2,14],{7:U,11:j}),t(A,[2,8]),t(A,[2,9]),t(A,[2,10]),t(i,[2,16],{15:37,24:M}),t(i,[2,17]),t(i,[2,18]),t(i,[2,20],{24:H}),t(x,[2,31]),{21:[1,39]},{22:[1,40]},t(P,[2,13],{7:U,11:j}),t(A,[2,11]),t(A,[2,12]),t(i,[2,15],{24:H}),t(x,[2,30]),{22:[1,41]},t(x,[2,27]),t(x,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:c(function(s,n){if(n.recoverable)this.trace(s);else{var a=new Error(s);throw a.hash=n,a}},"parseError"),parse:c(function(s){var n=this,a=[0],o=[],u=[null],e=[],B=this.table,l="",z=0,ie=0,ue=2,re=1,ge=e.slice.call(arguments,1),b=Object.create(this.lexer),T={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(T.yy[J]=this.yy[J]);b.setInput(s,T.yy),T.yy.lexer=b,T.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var q=b.yylloc;e.push(q);var de=b.options&&b.options.ranges;typeof T.yy.parseError=="function"?this.parseError=T.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(S){a.length=a.length-2*S,u.length=u.length-S,e.length=e.length-S}c(pe,"popStack");function ae(){var S;return S=o.pop()||b.lex()||re,typeof S!="number"&&(S instanceof Array&&(o=S,S=o.pop()),S=n.symbols_[S]||S),S}c(ae,"lex");for(var k,R,v,Q,G={},X,I,oe,Y;;){if(R=a[a.length-1],this.defaultActions[R]?v=this.defaultActions[R]:((k===null||typeof k>"u")&&(k=ae()),v=B[R]&&B[R][k]),typeof v>"u"||!v.length||!v[0]){var Z="";Y=[];for(X in B[R])this.terminals_[X]&&X>ue&&Y.push("'"+this.terminals_[X]+"'");b.showPosition?Z="Parse error on line "+(z+1)+`: +import{_ as c,l as te,d as W,G as fe,ae as ye,af as be,ag as me,V as _e,B as K,i as F,r as Ee,J as ke,W as Se,X as le,Y as ce}from"./index-BxMsVRSP.js";var $=function(){var t=c(function(_,s,n,a){for(n=n||{},a=_.length;a--;n[_[a]]=s);return n},"o"),g=[1,4],d=[1,13],r=[1,12],p=[1,15],E=[1,16],f=[1,20],h=[1,19],L=[6,7,8],C=[1,26],w=[1,24],N=[1,25],i=[6,7,11],M=[1,31],x=[6,7,11,24],P=[1,6,13,16,17,20,23],U=[1,35],j=[1,36],A=[1,6,7,11,13,16,17,20,23],H=[1,38],V={trace:c(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:c(function(s,n,a,o,u,e,B){var l=e.length-1;switch(u){case 6:case 7:return o;case 8:o.getLogger().trace("Stop NL ");break;case 9:o.getLogger().trace("Stop EOF ");break;case 11:o.getLogger().trace("Stop NL2 ");break;case 12:o.getLogger().trace("Stop EOF2 ");break;case 15:o.getLogger().info("Node: ",e[l-1].id),o.addNode(e[l-2].length,e[l-1].id,e[l-1].descr,e[l-1].type,e[l]);break;case 16:o.getLogger().info("Node: ",e[l].id),o.addNode(e[l-1].length,e[l].id,e[l].descr,e[l].type);break;case 17:o.getLogger().trace("Icon: ",e[l]),o.decorateNode({icon:e[l]});break;case 18:case 23:o.decorateNode({class:e[l]});break;case 19:o.getLogger().trace("SPACELIST");break;case 20:o.getLogger().trace("Node: ",e[l-1].id),o.addNode(0,e[l-1].id,e[l-1].descr,e[l-1].type,e[l]);break;case 21:o.getLogger().trace("Node: ",e[l].id),o.addNode(0,e[l].id,e[l].descr,e[l].type);break;case 22:o.decorateNode({icon:e[l]});break;case 27:o.getLogger().trace("node found ..",e[l-2]),this.$={id:e[l-1],descr:e[l-1],type:o.getType(e[l-2],e[l])};break;case 28:this.$={id:e[l],descr:e[l],type:0};break;case 29:o.getLogger().trace("node found ..",e[l-3]),this.$={id:e[l-3],descr:e[l-1],type:o.getType(e[l-2],e[l])};break;case 30:this.$=e[l-1]+e[l];break;case 31:this.$=e[l];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:g},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:g},{6:d,7:[1,10],9:9,12:11,13:r,14:14,16:p,17:E,18:17,19:18,20:f,23:h},t(L,[2,3]),{1:[2,2]},t(L,[2,4]),t(L,[2,5]),{1:[2,6],6:d,12:21,13:r,14:14,16:p,17:E,18:17,19:18,20:f,23:h},{6:d,9:22,12:11,13:r,14:14,16:p,17:E,18:17,19:18,20:f,23:h},{6:C,7:w,10:23,11:N},t(i,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:f,23:h}),t(i,[2,19]),t(i,[2,21],{15:30,24:M}),t(i,[2,22]),t(i,[2,23]),t(x,[2,25]),t(x,[2,26]),t(x,[2,28],{20:[1,32]}),{21:[1,33]},{6:C,7:w,10:34,11:N},{1:[2,7],6:d,12:21,13:r,14:14,16:p,17:E,18:17,19:18,20:f,23:h},t(P,[2,14],{7:U,11:j}),t(A,[2,8]),t(A,[2,9]),t(A,[2,10]),t(i,[2,16],{15:37,24:M}),t(i,[2,17]),t(i,[2,18]),t(i,[2,20],{24:H}),t(x,[2,31]),{21:[1,39]},{22:[1,40]},t(P,[2,13],{7:U,11:j}),t(A,[2,11]),t(A,[2,12]),t(i,[2,15],{24:H}),t(x,[2,30]),{22:[1,41]},t(x,[2,27]),t(x,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:c(function(s,n){if(n.recoverable)this.trace(s);else{var a=new Error(s);throw a.hash=n,a}},"parseError"),parse:c(function(s){var n=this,a=[0],o=[],u=[null],e=[],B=this.table,l="",z=0,ie=0,ue=2,re=1,ge=e.slice.call(arguments,1),b=Object.create(this.lexer),T={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(T.yy[J]=this.yy[J]);b.setInput(s,T.yy),T.yy.lexer=b,T.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var q=b.yylloc;e.push(q);var de=b.options&&b.options.ranges;typeof T.yy.parseError=="function"?this.parseError=T.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(S){a.length=a.length-2*S,u.length=u.length-S,e.length=e.length-S}c(pe,"popStack");function ae(){var S;return S=o.pop()||b.lex()||re,typeof S!="number"&&(S instanceof Array&&(o=S,S=o.pop()),S=n.symbols_[S]||S),S}c(ae,"lex");for(var k,R,v,Q,G={},X,I,oe,Y;;){if(R=a[a.length-1],this.defaultActions[R]?v=this.defaultActions[R]:((k===null||typeof k>"u")&&(k=ae()),v=B[R]&&B[R][k]),typeof v>"u"||!v.length||!v[0]){var Z="";Y=[];for(X in B[R])this.terminals_[X]&&X>ue&&Y.push("'"+this.terminals_[X]+"'");b.showPosition?Z="Parse error on line "+(z+1)+`: `+b.showPosition()+` Expecting `+Y.join(", ")+", got '"+(this.terminals_[k]||k)+"'":Z="Parse error on line "+(z+1)+": Unexpected "+(k==re?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(Z,{text:b.match,token:this.terminals_[k]||k,line:b.yylineno,loc:q,expected:Y})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+R+", token: "+k);switch(v[0]){case 1:a.push(k),u.push(b.yytext),e.push(b.yylloc),a.push(v[1]),k=null,ie=b.yyleng,l=b.yytext,z=b.yylineno,q=b.yylloc;break;case 2:if(I=this.productions_[v[1]][1],G.$=u[u.length-I],G._$={first_line:e[e.length-(I||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(I||1)].first_column,last_column:e[e.length-1].last_column},de&&(G._$.range=[e[e.length-(I||1)].range[0],e[e.length-1].range[1]]),Q=this.performAction.apply(G,[l,ie,z,T.yy,v[1],u,e].concat(ge)),typeof Q<"u")return Q;I&&(a=a.slice(0,-1*I*2),u=u.slice(0,-1*I),e=e.slice(0,-1*I)),a.push(this.productions_[v[1]][0]),u.push(G.$),e.push(G._$),oe=B[a[a.length-2]][a[a.length-1]],a.push(oe);break;case 3:return!0}}return!0},"parse")},m=function(){var _={EOF:1,parseError:c(function(n,a){if(this.yy.parser)this.yy.parser.parseError(n,a);else throw new Error(n)},"parseError"),setInput:c(function(s,n){return this.yy=n||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:c(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var n=s.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:c(function(s){var n=s.length,a=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var o=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===o.length?this.yylloc.first_column:0)+o[o.length-a.length].length-a[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:c(function(){return this._more=!0,this},"more"),reject:c(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:c(function(s){this.unput(this.match.slice(s))},"less"),pastInput:c(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:c(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:c(function(){var s=this.pastInput(),n=new Array(s.length+1).join("-");return s+this.upcomingInput()+` diff --git a/assets/layout-DmYEI147.js b/assets/layout-BVquG3NB.js similarity index 99% rename from assets/layout-DmYEI147.js rename to assets/layout-BVquG3NB.js index 77ef66bce..d8a59a478 100644 --- a/assets/layout-DmYEI147.js +++ b/assets/layout-BVquG3NB.js @@ -1 +1 @@ -import{G as g}from"./graph-IuN8xJxa.js";import{b as Te,p as ce,q as le,g as z,e as ee,l as j,o as Ie,s as Me,c as Se,u as Fe,d as f,i as m,f as _,v as x,r as M}from"./_baseUniq-4k_gUsXm.js";import{f as O,b as he,a as je,c as Ve,d as Ae,t as V,m as w,e as P,h as ve,g as U,l as T,i as Be}from"./_basePickBy-DFtYmPO_.js";import{b6 as Ge,b7 as Ye,b8 as De,aO as qe,b9 as $e,aS as pe,aR as we,ba as We,aN as q,aA as ze,aU as Ue,aC as Xe,bb as $}from"./index-Dq-yb_Rq.js";function He(e){return Ge(Ye(e,void 0,O),e+"")}var Je=1,Ze=4;function Ke(e){return Te(e,Je|Ze)}function Qe(e,n){return e==null?e:De(e,ce(n),qe)}function en(e,n){return e&&le(e,ce(n))}function nn(e,n){return e>n}function S(e,n){var r={};return n=z(n),le(e,function(t,a,i){$e(r,a,n(t,a,i))}),r}function y(e){return e&&e.length?he(e,pe,nn):void 0}function X(e,n){return e&&e.length?he(e,z(n),je):void 0}function rn(e,n){var r=e.length;for(e.sort(n);r--;)e[r]=e[r].value;return e}function tn(e,n){if(e!==n){var r=e!==void 0,t=e===null,a=e===e,i=ee(e),o=n!==void 0,u=n===null,d=n===n,s=ee(n);if(!u&&!s&&!i&&e>n||i&&o&&d&&!u&&!s||t&&o&&d||!r&&d||!a)return 1;if(!t&&!i&&!s&&e=u)return d;var s=r[t];return d*(s=="desc"?-1:1)}}return e.index-n.index}function on(e,n,r){n.length?n=j(n,function(i){return we(i)?function(o){return Ie(o,i.length===1?i[0]:i)}:i}):n=[pe];var t=-1;n=j(n,We(z));var a=Ve(e,function(i,o,u){var d=j(n,function(s){return s(i)});return{criteria:d,index:++t,value:i}});return rn(a,function(i,o){return an(i,o,r)})}function un(e,n){return Ae(e,n,function(r,t){return Me(e,t)})}var I=He(function(e,n){return e==null?{}:un(e,n)}),dn=Math.ceil,sn=Math.max;function fn(e,n,r,t){for(var a=-1,i=sn(dn((n-e)/(r||1)),0),o=Array(i);i--;)o[++a]=e,e+=r;return o}function cn(e){return function(n,r,t){return t&&typeof t!="number"&&q(n,r,t)&&(r=t=void 0),n=V(n),r===void 0?(r=n,n=0):r=V(r),t=t===void 0?n1&&q(e,n[0],n[1])?n=[]:r>2&&q(n[0],n[1],n[2])&&(n=[n[0]]),on(e,Se(n),[])}),ln=0;function H(e){var n=++ln;return Fe(e)+n}function hn(e,n,r){for(var t=-1,a=e.length,i=n.length,o={};++t0;--u)if(o=n[u].dequeue(),o){t=t.concat(A(e,n,r,o,!0));break}}}return t}function A(e,n,r,t,a){var i=a?[]:void 0;return f(e.inEdges(t.v),function(o){var u=e.edge(o),d=e.node(o.v);a&&i.push({v:o.v,w:o.w}),d.out-=u,W(n,r,d)}),f(e.outEdges(t.v),function(o){var u=e.edge(o),d=o.w,s=e.node(d);s.in-=u,W(n,r,s)}),e.removeNode(t.v),i}function yn(e,n){var r=new g,t=0,a=0;f(e.nodes(),function(u){r.setNode(u,{v:u,in:0,out:0})}),f(e.edges(),function(u){var d=r.edge(u.v,u.w)||0,s=n(u),c=d+s;r.setEdge(u.v,u.w,c),a=Math.max(a,r.node(u.v).out+=s),t=Math.max(t,r.node(u.w).in+=s)});var i=E(a+t+3).map(function(){return new pn}),o=t+1;return f(r.nodes(),function(u){W(i,o,r.node(u))}),{graph:r,buckets:i,zeroIdx:o}}function W(e,n,r){r.out?r.in?e[r.out-r.in+n].enqueue(r):e[e.length-1].enqueue(r):e[0].enqueue(r)}function kn(e){var n=e.graph().acyclicer==="greedy"?mn(e,r(e)):xn(e);f(n,function(t){var a=e.edge(t);e.removeEdge(t),a.forwardName=t.name,a.reversed=!0,e.setEdge(t.w,t.v,a,H("rev"))});function r(t){return function(a){return t.edge(a).weight}}}function xn(e){var n=[],r={},t={};function a(i){Object.prototype.hasOwnProperty.call(t,i)||(t[i]=!0,r[i]=!0,f(e.outEdges(i),function(o){Object.prototype.hasOwnProperty.call(r,o.w)?n.push(o):a(o.w)}),delete r[i])}return f(e.nodes(),a),n}function En(e){f(e.edges(),function(n){var r=e.edge(n);if(r.reversed){e.removeEdge(n);var t=r.forwardName;delete r.reversed,delete r.forwardName,e.setEdge(n.w,n.v,r,t)}})}function L(e,n,r,t){var a;do a=H(t);while(e.hasNode(a));return r.dummy=n,e.setNode(a,r),a}function On(e){var n=new g().setGraph(e.graph());return f(e.nodes(),function(r){n.setNode(r,e.node(r))}),f(e.edges(),function(r){var t=n.edge(r.v,r.w)||{weight:0,minlen:1},a=e.edge(r);n.setEdge(r.v,r.w,{weight:t.weight+a.weight,minlen:Math.max(t.minlen,a.minlen)})}),n}function be(e){var n=new g({multigraph:e.isMultigraph()}).setGraph(e.graph());return f(e.nodes(),function(r){e.children(r).length||n.setNode(r,e.node(r))}),f(e.edges(),function(r){n.setEdge(r,e.edge(r))}),n}function re(e,n){var r=e.x,t=e.y,a=n.x-r,i=n.y-t,o=e.width/2,u=e.height/2;if(!a&&!i)throw new Error("Not possible to find intersection inside of the rectangle");var d,s;return Math.abs(i)*o>Math.abs(a)*u?(i<0&&(u=-u),d=u*a/i,s=u):(a<0&&(o=-o),d=o,s=o*i/a),{x:r+d,y:t+s}}function F(e){var n=w(E(me(e)+1),function(){return[]});return f(e.nodes(),function(r){var t=e.node(r),a=t.rank;m(a)||(n[a][t.order]=r)}),n}function Ln(e){var n=P(w(e.nodes(),function(r){return e.node(r).rank}));f(e.nodes(),function(r){var t=e.node(r);ve(t,"rank")&&(t.rank-=n)})}function Nn(e){var n=P(w(e.nodes(),function(i){return e.node(i).rank})),r=[];f(e.nodes(),function(i){var o=e.node(i).rank-n;r[o]||(r[o]=[]),r[o].push(i)});var t=0,a=e.graph().nodeRankFactor;f(r,function(i,o){m(i)&&o%a!==0?--t:t&&f(i,function(u){e.node(u).rank+=t})})}function te(e,n,r,t){var a={width:0,height:0};return arguments.length>=4&&(a.rank=r,a.order=t),L(e,"border",a,n)}function me(e){return y(w(e.nodes(),function(n){var r=e.node(n).rank;if(!m(r))return r}))}function Pn(e,n){var r={lhs:[],rhs:[]};return f(e,function(t){n(t)?r.lhs.push(t):r.rhs.push(t)}),r}function Cn(e,n){return n()}function _n(e){function n(r){var t=e.children(r),a=e.node(r);if(t.length&&f(t,n),Object.prototype.hasOwnProperty.call(a,"minRank")){a.borderLeft=[],a.borderRight=[];for(var i=a.minRank,o=a.maxRank+1;io.lim&&(u=o,d=!0);var s=_(n.edges(),function(c){return d===oe(e,e.node(c.v),u)&&d!==oe(e,e.node(c.w),u)});return X(s,function(c){return C(n,c)})}function Pe(e,n,r,t){var a=r.v,i=r.w;e.removeEdge(a,i),e.setEdge(t.v,t.w,{}),K(e),Z(e,n),$n(e,n)}function $n(e,n){var r=U(e.nodes(),function(a){return!n.node(a).parent}),t=Dn(e,r);t=t.slice(1),f(t,function(a){var i=e.node(a).parent,o=n.edge(a,i),u=!1;o||(o=n.edge(i,a),u=!0),n.node(a).rank=n.node(i).rank+(u?o.minlen:-o.minlen)})}function Wn(e,n,r){return e.hasEdge(n,r)}function oe(e,n,r){return r.low<=n.lim&&n.lim<=r.lim}function zn(e){switch(e.graph().ranker){case"network-simplex":ue(e);break;case"tight-tree":Xn(e);break;case"longest-path":Un(e);break;default:ue(e)}}var Un=J;function Xn(e){J(e),ye(e)}function ue(e){k(e)}function Hn(e){var n=L(e,"root",{},"_root"),r=Jn(e),t=y(x(r))-1,a=2*t+1;e.graph().nestingRoot=n,f(e.edges(),function(o){e.edge(o).minlen*=a});var i=Zn(e)+1;f(e.children(),function(o){Ce(e,n,a,i,t,r,o)}),e.graph().nodeRankFactor=a}function Ce(e,n,r,t,a,i,o){var u=e.children(o);if(!u.length){o!==n&&e.setEdge(n,o,{weight:0,minlen:r});return}var d=te(e,"_bt"),s=te(e,"_bb"),c=e.node(o);e.setParent(d,o),c.borderTop=d,e.setParent(s,o),c.borderBottom=s,f(u,function(l){Ce(e,n,r,t,a,i,l);var h=e.node(l),v=h.borderTop?h.borderTop:l,p=h.borderBottom?h.borderBottom:l,b=h.borderTop?t:2*t,N=v!==p?1:a-i[o]+1;e.setEdge(d,v,{weight:b,minlen:N,nestingEdge:!0}),e.setEdge(p,s,{weight:b,minlen:N,nestingEdge:!0})}),e.parent(o)||e.setEdge(n,d,{weight:0,minlen:a+i[o]})}function Jn(e){var n={};function r(t,a){var i=e.children(t);i&&i.length&&f(i,function(o){r(o,a+1)}),n[t]=a}return f(e.children(),function(t){r(t,1)}),n}function Zn(e){return M(e.edges(),function(n,r){return n+e.edge(r).weight},0)}function Kn(e){var n=e.graph();e.removeNode(n.nestingRoot),delete n.nestingRoot,f(e.edges(),function(r){var t=e.edge(r);t.nestingEdge&&e.removeEdge(r)})}function Qn(e,n,r){var t={},a;f(r,function(i){for(var o=e.parent(i),u,d;o;){if(u=e.parent(o),u?(d=t[u],t[u]=o):(d=a,a=o),d&&d!==o){n.setEdge(d,o);return}o=u}})}function er(e,n,r){var t=nr(e),a=new g({compound:!0}).setGraph({root:t}).setDefaultNodeLabel(function(i){return e.node(i)});return f(e.nodes(),function(i){var o=e.node(i),u=e.parent(i);(o.rank===n||o.minRank<=n&&n<=o.maxRank)&&(a.setNode(i),a.setParent(i,u||t),f(e[r](i),function(d){var s=d.v===i?d.w:d.v,c=a.edge(s,i),l=m(c)?0:c.weight;a.setEdge(s,i,{weight:e.edge(d).weight+l})}),Object.prototype.hasOwnProperty.call(o,"minRank")&&a.setNode(i,{borderLeft:o.borderLeft[n],borderRight:o.borderRight[n]}))}),a}function nr(e){for(var n;e.hasNode(n=H("_root")););return n}function rr(e,n){for(var r=0,t=1;t0;)c%2&&(l+=u[c+1]),c=c-1>>1,u[c]+=s.weight;d+=s.weight*l})),d}function ar(e){var n={},r=_(e.nodes(),function(u){return!e.children(u).length}),t=y(w(r,function(u){return e.node(u).rank})),a=w(E(t+1),function(){return[]});function i(u){if(!ve(n,u)){n[u]=!0;var d=e.node(u);a[d.rank].push(u),f(e.successors(u),i)}}var o=R(r,function(u){return e.node(u).rank});return f(o,i),a}function ir(e,n){return w(n,function(r){var t=e.inEdges(r);if(t.length){var a=M(t,function(i,o){var u=e.edge(o),d=e.node(o.v);return{sum:i.sum+u.weight*d.order,weight:i.weight+u.weight}},{sum:0,weight:0});return{v:r,barycenter:a.sum/a.weight,weight:a.weight}}else return{v:r}})}function or(e,n){var r={};f(e,function(a,i){var o=r[a.v]={indegree:0,in:[],out:[],vs:[a.v],i};m(a.barycenter)||(o.barycenter=a.barycenter,o.weight=a.weight)}),f(n.edges(),function(a){var i=r[a.v],o=r[a.w];!m(i)&&!m(o)&&(o.indegree++,i.out.push(r[a.w]))});var t=_(r,function(a){return!a.indegree});return ur(t)}function ur(e){var n=[];function r(i){return function(o){o.merged||(m(o.barycenter)||m(i.barycenter)||o.barycenter>=i.barycenter)&&dr(i,o)}}function t(i){return function(o){o.in.push(i),--o.indegree===0&&e.push(o)}}for(;e.length;){var a=e.pop();n.push(a),f(a.in.reverse(),r(a)),f(a.out,t(a))}return w(_(n,function(i){return!i.merged}),function(i){return I(i,["vs","i","barycenter","weight"])})}function dr(e,n){var r=0,t=0;e.weight&&(r+=e.barycenter*e.weight,t+=e.weight),n.weight&&(r+=n.barycenter*n.weight,t+=n.weight),e.vs=n.vs.concat(e.vs),e.barycenter=r/t,e.weight=t,e.i=Math.min(n.i,e.i),n.merged=!0}function sr(e,n){var r=Pn(e,function(c){return Object.prototype.hasOwnProperty.call(c,"barycenter")}),t=r.lhs,a=R(r.rhs,function(c){return-c.i}),i=[],o=0,u=0,d=0;t.sort(fr(!!n)),d=de(i,a,d),f(t,function(c){d+=c.vs.length,i.push(c.vs),o+=c.barycenter*c.weight,u+=c.weight,d=de(i,a,d)});var s={vs:O(i)};return u&&(s.barycenter=o/u,s.weight=u),s}function de(e,n,r){for(var t;n.length&&(t=T(n)).i<=r;)n.pop(),e.push(t.vs),r++;return r}function fr(e){return function(n,r){return n.barycenterr.barycenter?1:e?r.i-n.i:n.i-r.i}}function _e(e,n,r,t){var a=e.children(n),i=e.node(n),o=i?i.borderLeft:void 0,u=i?i.borderRight:void 0,d={};o&&(a=_(a,function(p){return p!==o&&p!==u}));var s=ir(e,a);f(s,function(p){if(e.children(p.v).length){var b=_e(e,p.v,r,t);d[p.v]=b,Object.prototype.hasOwnProperty.call(b,"barycenter")&&lr(p,b)}});var c=or(s,r);cr(c,d);var l=sr(c,t);if(o&&(l.vs=O([o,l.vs,u]),e.predecessors(o).length)){var h=e.node(e.predecessors(o)[0]),v=e.node(e.predecessors(u)[0]);Object.prototype.hasOwnProperty.call(l,"barycenter")||(l.barycenter=0,l.weight=0),l.barycenter=(l.barycenter*l.weight+h.order+v.order)/(l.weight+2),l.weight+=2}return l}function cr(e,n){f(e,function(r){r.vs=O(r.vs.map(function(t){return n[t]?n[t].vs:t}))})}function lr(e,n){m(e.barycenter)?(e.barycenter=n.barycenter,e.weight=n.weight):(e.barycenter=(e.barycenter*e.weight+n.barycenter*n.weight)/(e.weight+n.weight),e.weight+=n.weight)}function hr(e){var n=me(e),r=se(e,E(1,n+1),"inEdges"),t=se(e,E(n-1,-1,-1),"outEdges"),a=ar(e);fe(e,a);for(var i=Number.POSITIVE_INFINITY,o,u=0,d=0;d<4;++u,++d){vr(u%2?r:t,u%4>=2),a=F(e);var s=rr(e,a);so||u>n[d].lim));for(s=d,d=t;(d=e.parent(d))!==s;)i.push(d);return{path:a.concat(i.reverse()),lca:s}}function br(e){var n={},r=0;function t(a){var i=r;f(e.children(a),t),n[a]={low:i,lim:r++}}return f(e.children(),t),n}function mr(e,n){var r={};function t(a,i){var o=0,u=0,d=a.length,s=T(i);return f(i,function(c,l){var h=yr(e,c),v=h?e.node(h).order:d;(h||c===s)&&(f(i.slice(u,l+1),function(p){f(e.predecessors(p),function(b){var N=e.node(b),Q=N.order;(Qs)&&Re(r,h,c)})})}function a(i,o){var u=-1,d,s=0;return f(o,function(c,l){if(e.node(c).dummy==="border"){var h=e.predecessors(c);h.length&&(d=e.node(h[0]).order,t(o,s,l,u,d),s=l,u=d)}t(o,s,o.length,d,i.length)}),o}return M(n,a),r}function yr(e,n){if(e.node(n).dummy)return U(e.predecessors(n),function(r){return e.node(r).dummy})}function Re(e,n,r){if(n>r){var t=n;n=r,r=t}var a=e[n];a||(e[n]=a={}),a[r]=!0}function kr(e,n,r){if(n>r){var t=n;n=r,r=t}return!!e[n]&&Object.prototype.hasOwnProperty.call(e[n],r)}function xr(e,n,r,t){var a={},i={},o={};return f(n,function(u){f(u,function(d,s){a[d]=d,i[d]=d,o[d]=s})}),f(n,function(u){var d=-1;f(u,function(s){var c=t(s);if(c.length){c=R(c,function(b){return o[b]});for(var l=(c.length-1)/2,h=Math.floor(l),v=Math.ceil(l);h<=v;++h){var p=c[h];i[s]===s&&d{var t=r(" buildLayoutGraph",()=>qr(e));r(" runLayout",()=>Mr(t,r)),r(" updateInputGraph",()=>Sr(e,t))})}function Mr(e,n){n(" makeSpaceForEdgeLabels",()=>$r(e)),n(" removeSelfEdges",()=>Qr(e)),n(" acyclic",()=>kn(e)),n(" nestingGraph.run",()=>Hn(e)),n(" rank",()=>zn(be(e))),n(" injectEdgeLabelProxies",()=>Wr(e)),n(" removeEmptyRanks",()=>Nn(e)),n(" nestingGraph.cleanup",()=>Kn(e)),n(" normalizeRanks",()=>Ln(e)),n(" assignRankMinMax",()=>zr(e)),n(" removeEdgeLabelProxies",()=>Ur(e)),n(" normalize.run",()=>Sn(e)),n(" parentDummyChains",()=>pr(e)),n(" addBorderSegments",()=>_n(e)),n(" order",()=>hr(e)),n(" insertSelfEdges",()=>et(e)),n(" adjustCoordinateSystem",()=>Rn(e)),n(" position",()=>Tr(e)),n(" positionSelfEdges",()=>nt(e)),n(" removeBorderNodes",()=>Kr(e)),n(" normalize.undo",()=>jn(e)),n(" fixupEdgeLabelCoords",()=>Jr(e)),n(" undoCoordinateSystem",()=>Tn(e)),n(" translateGraph",()=>Xr(e)),n(" assignNodeIntersects",()=>Hr(e)),n(" reversePoints",()=>Zr(e)),n(" acyclic.undo",()=>En(e))}function Sr(e,n){f(e.nodes(),function(r){var t=e.node(r),a=n.node(r);t&&(t.x=a.x,t.y=a.y,n.children(r).length&&(t.width=a.width,t.height=a.height))}),f(e.edges(),function(r){var t=e.edge(r),a=n.edge(r);t.points=a.points,Object.prototype.hasOwnProperty.call(a,"x")&&(t.x=a.x,t.y=a.y)}),e.graph().width=n.graph().width,e.graph().height=n.graph().height}var Fr=["nodesep","edgesep","ranksep","marginx","marginy"],jr={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},Vr=["acyclicer","ranker","rankdir","align"],Ar=["width","height"],Br={width:0,height:0},Gr=["minlen","weight","width","height","labeloffset"],Yr={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},Dr=["labelpos"];function qr(e){var n=new g({multigraph:!0,compound:!0}),r=D(e.graph());return n.setGraph($({},jr,Y(r,Fr),I(r,Vr))),f(e.nodes(),function(t){var a=D(e.node(t));n.setNode(t,Be(Y(a,Ar),Br)),n.setParent(t,e.parent(t))}),f(e.edges(),function(t){var a=D(e.edge(t));n.setEdge(t,$({},Yr,Y(a,Gr),I(a,Dr)))}),n}function $r(e){var n=e.graph();n.ranksep/=2,f(e.edges(),function(r){var t=e.edge(r);t.minlen*=2,t.labelpos.toLowerCase()!=="c"&&(n.rankdir==="TB"||n.rankdir==="BT"?t.width+=t.labeloffset:t.height+=t.labeloffset)})}function Wr(e){f(e.edges(),function(n){var r=e.edge(n);if(r.width&&r.height){var t=e.node(n.v),a=e.node(n.w),i={rank:(a.rank-t.rank)/2+t.rank,e:n};L(e,"edge-proxy",i,"_ep")}})}function zr(e){var n=0;f(e.nodes(),function(r){var t=e.node(r);t.borderTop&&(t.minRank=e.node(t.borderTop).rank,t.maxRank=e.node(t.borderBottom).rank,n=y(n,t.maxRank))}),e.graph().maxRank=n}function Ur(e){f(e.nodes(),function(n){var r=e.node(n);r.dummy==="edge-proxy"&&(e.edge(r.e).labelRank=r.rank,e.removeNode(n))})}function Xr(e){var n=Number.POSITIVE_INFINITY,r=0,t=Number.POSITIVE_INFINITY,a=0,i=e.graph(),o=i.marginx||0,u=i.marginy||0;function d(s){var c=s.x,l=s.y,h=s.width,v=s.height;n=Math.min(n,c-h/2),r=Math.max(r,c+h/2),t=Math.min(t,l-v/2),a=Math.max(a,l+v/2)}f(e.nodes(),function(s){d(e.node(s))}),f(e.edges(),function(s){var c=e.edge(s);Object.prototype.hasOwnProperty.call(c,"x")&&d(c)}),n-=o,t-=u,f(e.nodes(),function(s){var c=e.node(s);c.x-=n,c.y-=t}),f(e.edges(),function(s){var c=e.edge(s);f(c.points,function(l){l.x-=n,l.y-=t}),Object.prototype.hasOwnProperty.call(c,"x")&&(c.x-=n),Object.prototype.hasOwnProperty.call(c,"y")&&(c.y-=t)}),i.width=r-n+o,i.height=a-t+u}function Hr(e){f(e.edges(),function(n){var r=e.edge(n),t=e.node(n.v),a=e.node(n.w),i,o;r.points?(i=r.points[0],o=r.points[r.points.length-1]):(r.points=[],i=a,o=t),r.points.unshift(re(t,i)),r.points.push(re(a,o))})}function Jr(e){f(e.edges(),function(n){var r=e.edge(n);if(Object.prototype.hasOwnProperty.call(r,"x"))switch((r.labelpos==="l"||r.labelpos==="r")&&(r.width-=r.labeloffset),r.labelpos){case"l":r.x-=r.width/2+r.labeloffset;break;case"r":r.x+=r.width/2+r.labeloffset;break}})}function Zr(e){f(e.edges(),function(n){var r=e.edge(n);r.reversed&&r.points.reverse()})}function Kr(e){f(e.nodes(),function(n){if(e.children(n).length){var r=e.node(n),t=e.node(r.borderTop),a=e.node(r.borderBottom),i=e.node(T(r.borderLeft)),o=e.node(T(r.borderRight));r.width=Math.abs(o.x-i.x),r.height=Math.abs(a.y-t.y),r.x=i.x+r.width/2,r.y=t.y+r.height/2}}),f(e.nodes(),function(n){e.node(n).dummy==="border"&&e.removeNode(n)})}function Qr(e){f(e.edges(),function(n){if(n.v===n.w){var r=e.node(n.v);r.selfEdges||(r.selfEdges=[]),r.selfEdges.push({e:n,label:e.edge(n)}),e.removeEdge(n)}})}function et(e){var n=F(e);f(n,function(r){var t=0;f(r,function(a,i){var o=e.node(a);o.order=i+t,f(o.selfEdges,function(u){L(e,"selfedge",{width:u.label.width,height:u.label.height,rank:o.rank,order:i+ ++t,e:u.e,label:u.label},"_se")}),delete o.selfEdges})})}function nt(e){f(e.nodes(),function(n){var r=e.node(n);if(r.dummy==="selfedge"){var t=e.node(r.e.v),a=t.x+t.width/2,i=t.y,o=r.x-a,u=t.height/2;e.setEdge(r.e,r.label),e.removeNode(n),r.label.points=[{x:a+2*o/3,y:i-u},{x:a+5*o/6,y:i-u},{x:a+o,y:i},{x:a+5*o/6,y:i+u},{x:a+2*o/3,y:i+u}],r.label.x=r.x,r.label.y=r.y}})}function Y(e,n){return S(I(e,n),Number)}function D(e){var n={};return f(e,function(r,t){n[t.toLowerCase()]=r}),n}export{ot as l}; +import{G as g}from"./graph-CIloxWRz.js";import{b as Te,p as ce,q as le,g as z,e as ee,l as j,o as Ie,s as Me,c as Se,u as Fe,d as f,i as m,f as _,v as x,r as M}from"./_baseUniq-QkQtF8Yx.js";import{f as O,b as he,a as je,c as Ve,d as Ae,t as V,m as w,e as P,h as ve,g as U,l as T,i as Be}from"./_basePickBy-DAcC5mcM.js";import{b6 as Ge,b7 as Ye,b8 as De,aO as qe,b9 as $e,aS as pe,aR as we,ba as We,aN as q,aA as ze,aU as Ue,aC as Xe,bb as $}from"./index-BxMsVRSP.js";function He(e){return Ge(Ye(e,void 0,O),e+"")}var Je=1,Ze=4;function Ke(e){return Te(e,Je|Ze)}function Qe(e,n){return e==null?e:De(e,ce(n),qe)}function en(e,n){return e&&le(e,ce(n))}function nn(e,n){return e>n}function S(e,n){var r={};return n=z(n),le(e,function(t,a,i){$e(r,a,n(t,a,i))}),r}function y(e){return e&&e.length?he(e,pe,nn):void 0}function X(e,n){return e&&e.length?he(e,z(n),je):void 0}function rn(e,n){var r=e.length;for(e.sort(n);r--;)e[r]=e[r].value;return e}function tn(e,n){if(e!==n){var r=e!==void 0,t=e===null,a=e===e,i=ee(e),o=n!==void 0,u=n===null,d=n===n,s=ee(n);if(!u&&!s&&!i&&e>n||i&&o&&d&&!u&&!s||t&&o&&d||!r&&d||!a)return 1;if(!t&&!i&&!s&&e=u)return d;var s=r[t];return d*(s=="desc"?-1:1)}}return e.index-n.index}function on(e,n,r){n.length?n=j(n,function(i){return we(i)?function(o){return Ie(o,i.length===1?i[0]:i)}:i}):n=[pe];var t=-1;n=j(n,We(z));var a=Ve(e,function(i,o,u){var d=j(n,function(s){return s(i)});return{criteria:d,index:++t,value:i}});return rn(a,function(i,o){return an(i,o,r)})}function un(e,n){return Ae(e,n,function(r,t){return Me(e,t)})}var I=He(function(e,n){return e==null?{}:un(e,n)}),dn=Math.ceil,sn=Math.max;function fn(e,n,r,t){for(var a=-1,i=sn(dn((n-e)/(r||1)),0),o=Array(i);i--;)o[++a]=e,e+=r;return o}function cn(e){return function(n,r,t){return t&&typeof t!="number"&&q(n,r,t)&&(r=t=void 0),n=V(n),r===void 0?(r=n,n=0):r=V(r),t=t===void 0?n1&&q(e,n[0],n[1])?n=[]:r>2&&q(n[0],n[1],n[2])&&(n=[n[0]]),on(e,Se(n),[])}),ln=0;function H(e){var n=++ln;return Fe(e)+n}function hn(e,n,r){for(var t=-1,a=e.length,i=n.length,o={};++t0;--u)if(o=n[u].dequeue(),o){t=t.concat(A(e,n,r,o,!0));break}}}return t}function A(e,n,r,t,a){var i=a?[]:void 0;return f(e.inEdges(t.v),function(o){var u=e.edge(o),d=e.node(o.v);a&&i.push({v:o.v,w:o.w}),d.out-=u,W(n,r,d)}),f(e.outEdges(t.v),function(o){var u=e.edge(o),d=o.w,s=e.node(d);s.in-=u,W(n,r,s)}),e.removeNode(t.v),i}function yn(e,n){var r=new g,t=0,a=0;f(e.nodes(),function(u){r.setNode(u,{v:u,in:0,out:0})}),f(e.edges(),function(u){var d=r.edge(u.v,u.w)||0,s=n(u),c=d+s;r.setEdge(u.v,u.w,c),a=Math.max(a,r.node(u.v).out+=s),t=Math.max(t,r.node(u.w).in+=s)});var i=E(a+t+3).map(function(){return new pn}),o=t+1;return f(r.nodes(),function(u){W(i,o,r.node(u))}),{graph:r,buckets:i,zeroIdx:o}}function W(e,n,r){r.out?r.in?e[r.out-r.in+n].enqueue(r):e[e.length-1].enqueue(r):e[0].enqueue(r)}function kn(e){var n=e.graph().acyclicer==="greedy"?mn(e,r(e)):xn(e);f(n,function(t){var a=e.edge(t);e.removeEdge(t),a.forwardName=t.name,a.reversed=!0,e.setEdge(t.w,t.v,a,H("rev"))});function r(t){return function(a){return t.edge(a).weight}}}function xn(e){var n=[],r={},t={};function a(i){Object.prototype.hasOwnProperty.call(t,i)||(t[i]=!0,r[i]=!0,f(e.outEdges(i),function(o){Object.prototype.hasOwnProperty.call(r,o.w)?n.push(o):a(o.w)}),delete r[i])}return f(e.nodes(),a),n}function En(e){f(e.edges(),function(n){var r=e.edge(n);if(r.reversed){e.removeEdge(n);var t=r.forwardName;delete r.reversed,delete r.forwardName,e.setEdge(n.w,n.v,r,t)}})}function L(e,n,r,t){var a;do a=H(t);while(e.hasNode(a));return r.dummy=n,e.setNode(a,r),a}function On(e){var n=new g().setGraph(e.graph());return f(e.nodes(),function(r){n.setNode(r,e.node(r))}),f(e.edges(),function(r){var t=n.edge(r.v,r.w)||{weight:0,minlen:1},a=e.edge(r);n.setEdge(r.v,r.w,{weight:t.weight+a.weight,minlen:Math.max(t.minlen,a.minlen)})}),n}function be(e){var n=new g({multigraph:e.isMultigraph()}).setGraph(e.graph());return f(e.nodes(),function(r){e.children(r).length||n.setNode(r,e.node(r))}),f(e.edges(),function(r){n.setEdge(r,e.edge(r))}),n}function re(e,n){var r=e.x,t=e.y,a=n.x-r,i=n.y-t,o=e.width/2,u=e.height/2;if(!a&&!i)throw new Error("Not possible to find intersection inside of the rectangle");var d,s;return Math.abs(i)*o>Math.abs(a)*u?(i<0&&(u=-u),d=u*a/i,s=u):(a<0&&(o=-o),d=o,s=o*i/a),{x:r+d,y:t+s}}function F(e){var n=w(E(me(e)+1),function(){return[]});return f(e.nodes(),function(r){var t=e.node(r),a=t.rank;m(a)||(n[a][t.order]=r)}),n}function Ln(e){var n=P(w(e.nodes(),function(r){return e.node(r).rank}));f(e.nodes(),function(r){var t=e.node(r);ve(t,"rank")&&(t.rank-=n)})}function Nn(e){var n=P(w(e.nodes(),function(i){return e.node(i).rank})),r=[];f(e.nodes(),function(i){var o=e.node(i).rank-n;r[o]||(r[o]=[]),r[o].push(i)});var t=0,a=e.graph().nodeRankFactor;f(r,function(i,o){m(i)&&o%a!==0?--t:t&&f(i,function(u){e.node(u).rank+=t})})}function te(e,n,r,t){var a={width:0,height:0};return arguments.length>=4&&(a.rank=r,a.order=t),L(e,"border",a,n)}function me(e){return y(w(e.nodes(),function(n){var r=e.node(n).rank;if(!m(r))return r}))}function Pn(e,n){var r={lhs:[],rhs:[]};return f(e,function(t){n(t)?r.lhs.push(t):r.rhs.push(t)}),r}function Cn(e,n){return n()}function _n(e){function n(r){var t=e.children(r),a=e.node(r);if(t.length&&f(t,n),Object.prototype.hasOwnProperty.call(a,"minRank")){a.borderLeft=[],a.borderRight=[];for(var i=a.minRank,o=a.maxRank+1;io.lim&&(u=o,d=!0);var s=_(n.edges(),function(c){return d===oe(e,e.node(c.v),u)&&d!==oe(e,e.node(c.w),u)});return X(s,function(c){return C(n,c)})}function Pe(e,n,r,t){var a=r.v,i=r.w;e.removeEdge(a,i),e.setEdge(t.v,t.w,{}),K(e),Z(e,n),$n(e,n)}function $n(e,n){var r=U(e.nodes(),function(a){return!n.node(a).parent}),t=Dn(e,r);t=t.slice(1),f(t,function(a){var i=e.node(a).parent,o=n.edge(a,i),u=!1;o||(o=n.edge(i,a),u=!0),n.node(a).rank=n.node(i).rank+(u?o.minlen:-o.minlen)})}function Wn(e,n,r){return e.hasEdge(n,r)}function oe(e,n,r){return r.low<=n.lim&&n.lim<=r.lim}function zn(e){switch(e.graph().ranker){case"network-simplex":ue(e);break;case"tight-tree":Xn(e);break;case"longest-path":Un(e);break;default:ue(e)}}var Un=J;function Xn(e){J(e),ye(e)}function ue(e){k(e)}function Hn(e){var n=L(e,"root",{},"_root"),r=Jn(e),t=y(x(r))-1,a=2*t+1;e.graph().nestingRoot=n,f(e.edges(),function(o){e.edge(o).minlen*=a});var i=Zn(e)+1;f(e.children(),function(o){Ce(e,n,a,i,t,r,o)}),e.graph().nodeRankFactor=a}function Ce(e,n,r,t,a,i,o){var u=e.children(o);if(!u.length){o!==n&&e.setEdge(n,o,{weight:0,minlen:r});return}var d=te(e,"_bt"),s=te(e,"_bb"),c=e.node(o);e.setParent(d,o),c.borderTop=d,e.setParent(s,o),c.borderBottom=s,f(u,function(l){Ce(e,n,r,t,a,i,l);var h=e.node(l),v=h.borderTop?h.borderTop:l,p=h.borderBottom?h.borderBottom:l,b=h.borderTop?t:2*t,N=v!==p?1:a-i[o]+1;e.setEdge(d,v,{weight:b,minlen:N,nestingEdge:!0}),e.setEdge(p,s,{weight:b,minlen:N,nestingEdge:!0})}),e.parent(o)||e.setEdge(n,d,{weight:0,minlen:a+i[o]})}function Jn(e){var n={};function r(t,a){var i=e.children(t);i&&i.length&&f(i,function(o){r(o,a+1)}),n[t]=a}return f(e.children(),function(t){r(t,1)}),n}function Zn(e){return M(e.edges(),function(n,r){return n+e.edge(r).weight},0)}function Kn(e){var n=e.graph();e.removeNode(n.nestingRoot),delete n.nestingRoot,f(e.edges(),function(r){var t=e.edge(r);t.nestingEdge&&e.removeEdge(r)})}function Qn(e,n,r){var t={},a;f(r,function(i){for(var o=e.parent(i),u,d;o;){if(u=e.parent(o),u?(d=t[u],t[u]=o):(d=a,a=o),d&&d!==o){n.setEdge(d,o);return}o=u}})}function er(e,n,r){var t=nr(e),a=new g({compound:!0}).setGraph({root:t}).setDefaultNodeLabel(function(i){return e.node(i)});return f(e.nodes(),function(i){var o=e.node(i),u=e.parent(i);(o.rank===n||o.minRank<=n&&n<=o.maxRank)&&(a.setNode(i),a.setParent(i,u||t),f(e[r](i),function(d){var s=d.v===i?d.w:d.v,c=a.edge(s,i),l=m(c)?0:c.weight;a.setEdge(s,i,{weight:e.edge(d).weight+l})}),Object.prototype.hasOwnProperty.call(o,"minRank")&&a.setNode(i,{borderLeft:o.borderLeft[n],borderRight:o.borderRight[n]}))}),a}function nr(e){for(var n;e.hasNode(n=H("_root")););return n}function rr(e,n){for(var r=0,t=1;t0;)c%2&&(l+=u[c+1]),c=c-1>>1,u[c]+=s.weight;d+=s.weight*l})),d}function ar(e){var n={},r=_(e.nodes(),function(u){return!e.children(u).length}),t=y(w(r,function(u){return e.node(u).rank})),a=w(E(t+1),function(){return[]});function i(u){if(!ve(n,u)){n[u]=!0;var d=e.node(u);a[d.rank].push(u),f(e.successors(u),i)}}var o=R(r,function(u){return e.node(u).rank});return f(o,i),a}function ir(e,n){return w(n,function(r){var t=e.inEdges(r);if(t.length){var a=M(t,function(i,o){var u=e.edge(o),d=e.node(o.v);return{sum:i.sum+u.weight*d.order,weight:i.weight+u.weight}},{sum:0,weight:0});return{v:r,barycenter:a.sum/a.weight,weight:a.weight}}else return{v:r}})}function or(e,n){var r={};f(e,function(a,i){var o=r[a.v]={indegree:0,in:[],out:[],vs:[a.v],i};m(a.barycenter)||(o.barycenter=a.barycenter,o.weight=a.weight)}),f(n.edges(),function(a){var i=r[a.v],o=r[a.w];!m(i)&&!m(o)&&(o.indegree++,i.out.push(r[a.w]))});var t=_(r,function(a){return!a.indegree});return ur(t)}function ur(e){var n=[];function r(i){return function(o){o.merged||(m(o.barycenter)||m(i.barycenter)||o.barycenter>=i.barycenter)&&dr(i,o)}}function t(i){return function(o){o.in.push(i),--o.indegree===0&&e.push(o)}}for(;e.length;){var a=e.pop();n.push(a),f(a.in.reverse(),r(a)),f(a.out,t(a))}return w(_(n,function(i){return!i.merged}),function(i){return I(i,["vs","i","barycenter","weight"])})}function dr(e,n){var r=0,t=0;e.weight&&(r+=e.barycenter*e.weight,t+=e.weight),n.weight&&(r+=n.barycenter*n.weight,t+=n.weight),e.vs=n.vs.concat(e.vs),e.barycenter=r/t,e.weight=t,e.i=Math.min(n.i,e.i),n.merged=!0}function sr(e,n){var r=Pn(e,function(c){return Object.prototype.hasOwnProperty.call(c,"barycenter")}),t=r.lhs,a=R(r.rhs,function(c){return-c.i}),i=[],o=0,u=0,d=0;t.sort(fr(!!n)),d=de(i,a,d),f(t,function(c){d+=c.vs.length,i.push(c.vs),o+=c.barycenter*c.weight,u+=c.weight,d=de(i,a,d)});var s={vs:O(i)};return u&&(s.barycenter=o/u,s.weight=u),s}function de(e,n,r){for(var t;n.length&&(t=T(n)).i<=r;)n.pop(),e.push(t.vs),r++;return r}function fr(e){return function(n,r){return n.barycenterr.barycenter?1:e?r.i-n.i:n.i-r.i}}function _e(e,n,r,t){var a=e.children(n),i=e.node(n),o=i?i.borderLeft:void 0,u=i?i.borderRight:void 0,d={};o&&(a=_(a,function(p){return p!==o&&p!==u}));var s=ir(e,a);f(s,function(p){if(e.children(p.v).length){var b=_e(e,p.v,r,t);d[p.v]=b,Object.prototype.hasOwnProperty.call(b,"barycenter")&&lr(p,b)}});var c=or(s,r);cr(c,d);var l=sr(c,t);if(o&&(l.vs=O([o,l.vs,u]),e.predecessors(o).length)){var h=e.node(e.predecessors(o)[0]),v=e.node(e.predecessors(u)[0]);Object.prototype.hasOwnProperty.call(l,"barycenter")||(l.barycenter=0,l.weight=0),l.barycenter=(l.barycenter*l.weight+h.order+v.order)/(l.weight+2),l.weight+=2}return l}function cr(e,n){f(e,function(r){r.vs=O(r.vs.map(function(t){return n[t]?n[t].vs:t}))})}function lr(e,n){m(e.barycenter)?(e.barycenter=n.barycenter,e.weight=n.weight):(e.barycenter=(e.barycenter*e.weight+n.barycenter*n.weight)/(e.weight+n.weight),e.weight+=n.weight)}function hr(e){var n=me(e),r=se(e,E(1,n+1),"inEdges"),t=se(e,E(n-1,-1,-1),"outEdges"),a=ar(e);fe(e,a);for(var i=Number.POSITIVE_INFINITY,o,u=0,d=0;d<4;++u,++d){vr(u%2?r:t,u%4>=2),a=F(e);var s=rr(e,a);so||u>n[d].lim));for(s=d,d=t;(d=e.parent(d))!==s;)i.push(d);return{path:a.concat(i.reverse()),lca:s}}function br(e){var n={},r=0;function t(a){var i=r;f(e.children(a),t),n[a]={low:i,lim:r++}}return f(e.children(),t),n}function mr(e,n){var r={};function t(a,i){var o=0,u=0,d=a.length,s=T(i);return f(i,function(c,l){var h=yr(e,c),v=h?e.node(h).order:d;(h||c===s)&&(f(i.slice(u,l+1),function(p){f(e.predecessors(p),function(b){var N=e.node(b),Q=N.order;(Qs)&&Re(r,h,c)})})}function a(i,o){var u=-1,d,s=0;return f(o,function(c,l){if(e.node(c).dummy==="border"){var h=e.predecessors(c);h.length&&(d=e.node(h[0]).order,t(o,s,l,u,d),s=l,u=d)}t(o,s,o.length,d,i.length)}),o}return M(n,a),r}function yr(e,n){if(e.node(n).dummy)return U(e.predecessors(n),function(r){return e.node(r).dummy})}function Re(e,n,r){if(n>r){var t=n;n=r,r=t}var a=e[n];a||(e[n]=a={}),a[r]=!0}function kr(e,n,r){if(n>r){var t=n;n=r,r=t}return!!e[n]&&Object.prototype.hasOwnProperty.call(e[n],r)}function xr(e,n,r,t){var a={},i={},o={};return f(n,function(u){f(u,function(d,s){a[d]=d,i[d]=d,o[d]=s})}),f(n,function(u){var d=-1;f(u,function(s){var c=t(s);if(c.length){c=R(c,function(b){return o[b]});for(var l=(c.length-1)/2,h=Math.floor(l),v=Math.ceil(l);h<=v;++h){var p=c[h];i[s]===s&&d{var t=r(" buildLayoutGraph",()=>qr(e));r(" runLayout",()=>Mr(t,r)),r(" updateInputGraph",()=>Sr(e,t))})}function Mr(e,n){n(" makeSpaceForEdgeLabels",()=>$r(e)),n(" removeSelfEdges",()=>Qr(e)),n(" acyclic",()=>kn(e)),n(" nestingGraph.run",()=>Hn(e)),n(" rank",()=>zn(be(e))),n(" injectEdgeLabelProxies",()=>Wr(e)),n(" removeEmptyRanks",()=>Nn(e)),n(" nestingGraph.cleanup",()=>Kn(e)),n(" normalizeRanks",()=>Ln(e)),n(" assignRankMinMax",()=>zr(e)),n(" removeEdgeLabelProxies",()=>Ur(e)),n(" normalize.run",()=>Sn(e)),n(" parentDummyChains",()=>pr(e)),n(" addBorderSegments",()=>_n(e)),n(" order",()=>hr(e)),n(" insertSelfEdges",()=>et(e)),n(" adjustCoordinateSystem",()=>Rn(e)),n(" position",()=>Tr(e)),n(" positionSelfEdges",()=>nt(e)),n(" removeBorderNodes",()=>Kr(e)),n(" normalize.undo",()=>jn(e)),n(" fixupEdgeLabelCoords",()=>Jr(e)),n(" undoCoordinateSystem",()=>Tn(e)),n(" translateGraph",()=>Xr(e)),n(" assignNodeIntersects",()=>Hr(e)),n(" reversePoints",()=>Zr(e)),n(" acyclic.undo",()=>En(e))}function Sr(e,n){f(e.nodes(),function(r){var t=e.node(r),a=n.node(r);t&&(t.x=a.x,t.y=a.y,n.children(r).length&&(t.width=a.width,t.height=a.height))}),f(e.edges(),function(r){var t=e.edge(r),a=n.edge(r);t.points=a.points,Object.prototype.hasOwnProperty.call(a,"x")&&(t.x=a.x,t.y=a.y)}),e.graph().width=n.graph().width,e.graph().height=n.graph().height}var Fr=["nodesep","edgesep","ranksep","marginx","marginy"],jr={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},Vr=["acyclicer","ranker","rankdir","align"],Ar=["width","height"],Br={width:0,height:0},Gr=["minlen","weight","width","height","labeloffset"],Yr={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},Dr=["labelpos"];function qr(e){var n=new g({multigraph:!0,compound:!0}),r=D(e.graph());return n.setGraph($({},jr,Y(r,Fr),I(r,Vr))),f(e.nodes(),function(t){var a=D(e.node(t));n.setNode(t,Be(Y(a,Ar),Br)),n.setParent(t,e.parent(t))}),f(e.edges(),function(t){var a=D(e.edge(t));n.setEdge(t,$({},Yr,Y(a,Gr),I(a,Dr)))}),n}function $r(e){var n=e.graph();n.ranksep/=2,f(e.edges(),function(r){var t=e.edge(r);t.minlen*=2,t.labelpos.toLowerCase()!=="c"&&(n.rankdir==="TB"||n.rankdir==="BT"?t.width+=t.labeloffset:t.height+=t.labeloffset)})}function Wr(e){f(e.edges(),function(n){var r=e.edge(n);if(r.width&&r.height){var t=e.node(n.v),a=e.node(n.w),i={rank:(a.rank-t.rank)/2+t.rank,e:n};L(e,"edge-proxy",i,"_ep")}})}function zr(e){var n=0;f(e.nodes(),function(r){var t=e.node(r);t.borderTop&&(t.minRank=e.node(t.borderTop).rank,t.maxRank=e.node(t.borderBottom).rank,n=y(n,t.maxRank))}),e.graph().maxRank=n}function Ur(e){f(e.nodes(),function(n){var r=e.node(n);r.dummy==="edge-proxy"&&(e.edge(r.e).labelRank=r.rank,e.removeNode(n))})}function Xr(e){var n=Number.POSITIVE_INFINITY,r=0,t=Number.POSITIVE_INFINITY,a=0,i=e.graph(),o=i.marginx||0,u=i.marginy||0;function d(s){var c=s.x,l=s.y,h=s.width,v=s.height;n=Math.min(n,c-h/2),r=Math.max(r,c+h/2),t=Math.min(t,l-v/2),a=Math.max(a,l+v/2)}f(e.nodes(),function(s){d(e.node(s))}),f(e.edges(),function(s){var c=e.edge(s);Object.prototype.hasOwnProperty.call(c,"x")&&d(c)}),n-=o,t-=u,f(e.nodes(),function(s){var c=e.node(s);c.x-=n,c.y-=t}),f(e.edges(),function(s){var c=e.edge(s);f(c.points,function(l){l.x-=n,l.y-=t}),Object.prototype.hasOwnProperty.call(c,"x")&&(c.x-=n),Object.prototype.hasOwnProperty.call(c,"y")&&(c.y-=t)}),i.width=r-n+o,i.height=a-t+u}function Hr(e){f(e.edges(),function(n){var r=e.edge(n),t=e.node(n.v),a=e.node(n.w),i,o;r.points?(i=r.points[0],o=r.points[r.points.length-1]):(r.points=[],i=a,o=t),r.points.unshift(re(t,i)),r.points.push(re(a,o))})}function Jr(e){f(e.edges(),function(n){var r=e.edge(n);if(Object.prototype.hasOwnProperty.call(r,"x"))switch((r.labelpos==="l"||r.labelpos==="r")&&(r.width-=r.labeloffset),r.labelpos){case"l":r.x-=r.width/2+r.labeloffset;break;case"r":r.x+=r.width/2+r.labeloffset;break}})}function Zr(e){f(e.edges(),function(n){var r=e.edge(n);r.reversed&&r.points.reverse()})}function Kr(e){f(e.nodes(),function(n){if(e.children(n).length){var r=e.node(n),t=e.node(r.borderTop),a=e.node(r.borderBottom),i=e.node(T(r.borderLeft)),o=e.node(T(r.borderRight));r.width=Math.abs(o.x-i.x),r.height=Math.abs(a.y-t.y),r.x=i.x+r.width/2,r.y=t.y+r.height/2}}),f(e.nodes(),function(n){e.node(n).dummy==="border"&&e.removeNode(n)})}function Qr(e){f(e.edges(),function(n){if(n.v===n.w){var r=e.node(n.v);r.selfEdges||(r.selfEdges=[]),r.selfEdges.push({e:n,label:e.edge(n)}),e.removeEdge(n)}})}function et(e){var n=F(e);f(n,function(r){var t=0;f(r,function(a,i){var o=e.node(a);o.order=i+t,f(o.selfEdges,function(u){L(e,"selfedge",{width:u.label.width,height:u.label.height,rank:o.rank,order:i+ ++t,e:u.e,label:u.label},"_se")}),delete o.selfEdges})})}function nt(e){f(e.nodes(),function(n){var r=e.node(n);if(r.dummy==="selfedge"){var t=e.node(r.e.v),a=t.x+t.width/2,i=t.y,o=r.x-a,u=t.height/2;e.setEdge(r.e,r.label),e.removeNode(n),r.label.points=[{x:a+2*o/3,y:i-u},{x:a+5*o/6,y:i-u},{x:a+o,y:i},{x:a+5*o/6,y:i+u},{x:a+2*o/3,y:i+u}],r.label.x=r.x,r.label.y=r.y}})}function Y(e,n){return S(I(e,n),Number)}function D(e){var n={};return f(e,function(r,t){n[t.toLowerCase()]=r}),n}export{ot as l}; diff --git a/assets/linear-CcPs0ftO.js b/assets/linear-BP5rAFKr.js similarity index 98% rename from assets/linear-CcPs0ftO.js rename to assets/linear-BP5rAFKr.js index 5d5162793..b295faea2 100644 --- a/assets/linear-CcPs0ftO.js +++ b/assets/linear-BP5rAFKr.js @@ -1 +1 @@ -import{b1 as un,b2 as I,b3 as U,b4 as Y,b5 as fn}from"./index-Dq-yb_Rq.js";import{i as cn}from"./init-Gi6I4Gst.js";function F(n,t){return n==null||t==null?NaN:nt?1:n>=t?0:NaN}function hn(n,t){return n==null||t==null?NaN:tn?1:t>=n?0:NaN}function _(n){let t,e,r;n.length!==2?(t=F,e=(u,c)=>F(n(u),c),r=(u,c)=>n(u)-c):(t=n===F||n===hn?n:mn,e=n,r=n);function i(u,c,o=0,s=u.length){if(o>>1;e(u[h],c)<0?o=h+1:s=h}while(o>>1;e(u[h],c)<=0?o=h+1:s=h}while(oo&&r(u[h-1],c)>-r(u[h],c)?h-1:h}return{left:i,center:a,right:f}}function mn(){return 0}function ln(n){return n===null?NaN:+n}const sn=_(F),dn=sn.right;_(ln).center;const gn=Math.sqrt(50),yn=Math.sqrt(10),Mn=Math.sqrt(2);function R(n,t,e){const r=(t-n)/Math.max(0,e),i=Math.floor(Math.log10(r)),f=r/Math.pow(10,i),a=f>=gn?10:f>=yn?5:f>=Mn?2:1;let u,c,o;return i<0?(o=Math.pow(10,-i)/a,u=Math.round(n*o),c=Math.round(t*o),u/ot&&--c,o=-o):(o=Math.pow(10,i)*a,u=Math.round(n/o),c=Math.round(t/o),u*ot&&--c),c0))return[];if(n===t)return[n];const r=t=i))return[];const u=f-i+1,c=new Array(u);if(r)if(a<0)for(let o=0;o=1e21?n.toLocaleString("en").replace(/,/g,""):n.toString(10)}function E(n,t){if((e=(n=t?n.toExponential(t-1):n.toExponential()).indexOf("e"))<0)return null;var e,r=n.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+n.slice(e+1)]}function v(n){return n=E(Math.abs(n)),n?n[1]:NaN}function jn(n,t){return function(e,r){for(var i=e.length,f=[],a=0,u=n[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),f.push(e.substring(i-=u,i+u)),!((c+=u+1)>r));)u=n[a=(a+1)%n.length];return f.reverse().join(t)}}function Pn(n){return function(t){return t.replace(/[0-9]/g,function(e){return n[+e]})}}var zn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function D(n){if(!(t=zn.exec(n)))throw new Error("invalid format: "+n);var t;return new B({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}D.prototype=B.prototype;function B(n){this.fill=n.fill===void 0?" ":n.fill+"",this.align=n.align===void 0?">":n.align+"",this.sign=n.sign===void 0?"-":n.sign+"",this.symbol=n.symbol===void 0?"":n.symbol+"",this.zero=!!n.zero,this.width=n.width===void 0?void 0:+n.width,this.comma=!!n.comma,this.precision=n.precision===void 0?void 0:+n.precision,this.trim=!!n.trim,this.type=n.type===void 0?"":n.type+""}B.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function $n(n){n:for(var t=n.length,e=1,r=-1,i;e0&&(r=0);break}return r>0?n.slice(0,r)+n.slice(i+1):n}var nn;function Fn(n,t){var e=E(n,t);if(!e)return n+"";var r=e[0],i=e[1],f=i-(nn=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=r.length;return f===a?r:f>a?r+new Array(f-a+1).join("0"):f>0?r.slice(0,f)+"."+r.slice(f):"0."+new Array(1-f).join("0")+E(n,Math.max(0,t+f-1))[0]}function Z(n,t){var e=E(n,t);if(!e)return n+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const H={"%":(n,t)=>(n*100).toFixed(t),b:n=>Math.round(n).toString(2),c:n=>n+"",d:Sn,e:(n,t)=>n.toExponential(t),f:(n,t)=>n.toFixed(t),g:(n,t)=>n.toPrecision(t),o:n=>Math.round(n).toString(8),p:(n,t)=>Z(n*100,t),r:Z,s:Fn,X:n=>Math.round(n).toString(16).toUpperCase(),x:n=>Math.round(n).toString(16)};function J(n){return n}var K=Array.prototype.map,Q=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Rn(n){var t=n.grouping===void 0||n.thousands===void 0?J:jn(K.call(n.grouping,Number),n.thousands+""),e=n.currency===void 0?"":n.currency[0]+"",r=n.currency===void 0?"":n.currency[1]+"",i=n.decimal===void 0?".":n.decimal+"",f=n.numerals===void 0?J:Pn(K.call(n.numerals,String)),a=n.percent===void 0?"%":n.percent+"",u=n.minus===void 0?"−":n.minus+"",c=n.nan===void 0?"NaN":n.nan+"";function o(h){h=D(h);var l=h.fill,p=h.align,y=h.sign,b=h.symbol,k=h.zero,S=h.width,T=h.comma,w=h.precision,G=h.trim,d=h.type;d==="n"?(T=!0,d="g"):H[d]||(w===void 0&&(w=12),G=!0,d="g"),(k||l==="0"&&p==="=")&&(k=!0,l="0",p="=");var en=b==="$"?e:b==="#"&&/[boxX]/.test(d)?"0"+d.toLowerCase():"",on=b==="$"?r:/[%p]/.test(d)?a:"",O=H[d],an=/[defgprs%]/.test(d);w=w===void 0?6:/[gprs]/.test(d)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w));function V(m){var N=en,g=on,x,X,j;if(d==="c")g=O(m)+g,m="";else{m=+m;var P=m<0||1/m<0;if(m=isNaN(m)?c:O(Math.abs(m),w),G&&(m=$n(m)),P&&+m==0&&y!=="+"&&(P=!1),N=(P?y==="("?y:u:y==="-"||y==="("?"":y)+N,g=(d==="s"?Q[8+nn/3]:"")+g+(P&&y==="("?")":""),an){for(x=-1,X=m.length;++xj||j>57){g=(j===46?i+m.slice(x+1):m.slice(x))+g,m=m.slice(0,x);break}}}T&&!k&&(m=t(m,1/0));var z=N.length+m.length+g.length,M=z>1)+N+m+g+M.slice(z);break;default:m=M+N+m+g;break}return f(m)}return V.toString=function(){return h+""},V}function s(h,l){var p=o((h=D(h),h.type="f",h)),y=Math.max(-8,Math.min(8,Math.floor(v(l)/3)))*3,b=Math.pow(10,-y),k=Q[8+y/3];return function(S){return p(b*S)+k}}return{format:o,formatPrefix:s}}var $,tn,rn;En({thousands:",",grouping:[3],currency:["$",""]});function En(n){return $=Rn(n),tn=$.format,rn=$.formatPrefix,$}function Dn(n){return Math.max(0,-v(Math.abs(n)))}function Tn(n,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(v(t)/3)))*3-v(Math.abs(n)))}function In(n,t){return n=Math.abs(n),t=Math.abs(t)-n,Math.max(0,v(t)-v(n))+1}function Ln(n){return function(){return n}}function qn(n){return+n}var W=[0,1];function A(n){return n}function q(n,t){return(t-=n=+n)?function(e){return(e-n)/t}:Ln(isNaN(t)?NaN:.5)}function Cn(n,t){var e;return n>t&&(e=n,n=t,t=e),function(r){return Math.max(n,Math.min(t,r))}}function Bn(n,t,e){var r=n[0],i=n[1],f=t[0],a=t[1];return i2?Gn:Bn,c=o=null,h}function h(l){return l==null||isNaN(l=+l)?f:(c||(c=u(n.map(r),t,e)))(r(a(l)))}return h.invert=function(l){return a(i((o||(o=u(t,n.map(r),I)))(l)))},h.domain=function(l){return arguments.length?(n=Array.from(l,qn),s()):n.slice()},h.range=function(l){return arguments.length?(t=Array.from(l),s()):t.slice()},h.rangeRound=function(l){return t=Array.from(l),e=bn,s()},h.clamp=function(l){return arguments.length?(a=l?!0:A,s()):a!==A},h.interpolate=function(l){return arguments.length?(e=l,s()):e},h.unknown=function(l){return arguments.length?(f=l,h):f},function(l,p){return r=l,i=p,s()}}function Xn(){return Vn()(A,A)}function Un(n,t,e,r){var i=wn(n,t,e),f;switch(r=D(r??",f"),r.type){case"s":{var a=Math.max(Math.abs(n),Math.abs(t));return r.precision==null&&!isNaN(f=Tn(i,a))&&(r.precision=f),rn(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(f=In(i,Math.max(Math.abs(n),Math.abs(t))))&&(r.precision=f-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(f=Dn(i))&&(r.precision=f-(r.type==="%")*2);break}}return tn(r)}function Yn(n){var t=n.domain;return n.ticks=function(e){var r=t();return pn(r[0],r[r.length-1],e??10)},n.tickFormat=function(e,r){var i=t();return Un(i[0],i[i.length-1],e??10,r)},n.nice=function(e){e==null&&(e=10);var r=t(),i=0,f=r.length-1,a=r[i],u=r[f],c,o,s=10;for(u0;){if(o=L(a,u,e),o===c)return r[i]=a,r[f]=u,t(r);if(o>0)a=Math.floor(a/o)*o,u=Math.ceil(u/o)*o;else if(o<0)a=Math.ceil(a*o)/o,u=Math.floor(u*o)/o;else break;c=o}return n},n}function Zn(){var n=Xn();return n.copy=function(){return On(n,Zn())},cn.apply(n,arguments),Yn(n)}export{On as a,_ as b,Xn as c,Zn as l,wn as t}; +import{b1 as un,b2 as I,b3 as U,b4 as Y,b5 as fn}from"./index-BxMsVRSP.js";import{i as cn}from"./init-Gi6I4Gst.js";function F(n,t){return n==null||t==null?NaN:nt?1:n>=t?0:NaN}function hn(n,t){return n==null||t==null?NaN:tn?1:t>=n?0:NaN}function _(n){let t,e,r;n.length!==2?(t=F,e=(u,c)=>F(n(u),c),r=(u,c)=>n(u)-c):(t=n===F||n===hn?n:mn,e=n,r=n);function i(u,c,o=0,s=u.length){if(o>>1;e(u[h],c)<0?o=h+1:s=h}while(o>>1;e(u[h],c)<=0?o=h+1:s=h}while(oo&&r(u[h-1],c)>-r(u[h],c)?h-1:h}return{left:i,center:a,right:f}}function mn(){return 0}function ln(n){return n===null?NaN:+n}const sn=_(F),dn=sn.right;_(ln).center;const gn=Math.sqrt(50),yn=Math.sqrt(10),Mn=Math.sqrt(2);function R(n,t,e){const r=(t-n)/Math.max(0,e),i=Math.floor(Math.log10(r)),f=r/Math.pow(10,i),a=f>=gn?10:f>=yn?5:f>=Mn?2:1;let u,c,o;return i<0?(o=Math.pow(10,-i)/a,u=Math.round(n*o),c=Math.round(t*o),u/ot&&--c,o=-o):(o=Math.pow(10,i)*a,u=Math.round(n/o),c=Math.round(t/o),u*ot&&--c),c0))return[];if(n===t)return[n];const r=t=i))return[];const u=f-i+1,c=new Array(u);if(r)if(a<0)for(let o=0;o=1e21?n.toLocaleString("en").replace(/,/g,""):n.toString(10)}function E(n,t){if((e=(n=t?n.toExponential(t-1):n.toExponential()).indexOf("e"))<0)return null;var e,r=n.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+n.slice(e+1)]}function v(n){return n=E(Math.abs(n)),n?n[1]:NaN}function jn(n,t){return function(e,r){for(var i=e.length,f=[],a=0,u=n[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),f.push(e.substring(i-=u,i+u)),!((c+=u+1)>r));)u=n[a=(a+1)%n.length];return f.reverse().join(t)}}function Pn(n){return function(t){return t.replace(/[0-9]/g,function(e){return n[+e]})}}var zn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function D(n){if(!(t=zn.exec(n)))throw new Error("invalid format: "+n);var t;return new B({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}D.prototype=B.prototype;function B(n){this.fill=n.fill===void 0?" ":n.fill+"",this.align=n.align===void 0?">":n.align+"",this.sign=n.sign===void 0?"-":n.sign+"",this.symbol=n.symbol===void 0?"":n.symbol+"",this.zero=!!n.zero,this.width=n.width===void 0?void 0:+n.width,this.comma=!!n.comma,this.precision=n.precision===void 0?void 0:+n.precision,this.trim=!!n.trim,this.type=n.type===void 0?"":n.type+""}B.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function $n(n){n:for(var t=n.length,e=1,r=-1,i;e0&&(r=0);break}return r>0?n.slice(0,r)+n.slice(i+1):n}var nn;function Fn(n,t){var e=E(n,t);if(!e)return n+"";var r=e[0],i=e[1],f=i-(nn=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=r.length;return f===a?r:f>a?r+new Array(f-a+1).join("0"):f>0?r.slice(0,f)+"."+r.slice(f):"0."+new Array(1-f).join("0")+E(n,Math.max(0,t+f-1))[0]}function Z(n,t){var e=E(n,t);if(!e)return n+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const H={"%":(n,t)=>(n*100).toFixed(t),b:n=>Math.round(n).toString(2),c:n=>n+"",d:Sn,e:(n,t)=>n.toExponential(t),f:(n,t)=>n.toFixed(t),g:(n,t)=>n.toPrecision(t),o:n=>Math.round(n).toString(8),p:(n,t)=>Z(n*100,t),r:Z,s:Fn,X:n=>Math.round(n).toString(16).toUpperCase(),x:n=>Math.round(n).toString(16)};function J(n){return n}var K=Array.prototype.map,Q=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Rn(n){var t=n.grouping===void 0||n.thousands===void 0?J:jn(K.call(n.grouping,Number),n.thousands+""),e=n.currency===void 0?"":n.currency[0]+"",r=n.currency===void 0?"":n.currency[1]+"",i=n.decimal===void 0?".":n.decimal+"",f=n.numerals===void 0?J:Pn(K.call(n.numerals,String)),a=n.percent===void 0?"%":n.percent+"",u=n.minus===void 0?"−":n.minus+"",c=n.nan===void 0?"NaN":n.nan+"";function o(h){h=D(h);var l=h.fill,p=h.align,y=h.sign,b=h.symbol,k=h.zero,S=h.width,T=h.comma,w=h.precision,G=h.trim,d=h.type;d==="n"?(T=!0,d="g"):H[d]||(w===void 0&&(w=12),G=!0,d="g"),(k||l==="0"&&p==="=")&&(k=!0,l="0",p="=");var en=b==="$"?e:b==="#"&&/[boxX]/.test(d)?"0"+d.toLowerCase():"",on=b==="$"?r:/[%p]/.test(d)?a:"",O=H[d],an=/[defgprs%]/.test(d);w=w===void 0?6:/[gprs]/.test(d)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w));function V(m){var N=en,g=on,x,X,j;if(d==="c")g=O(m)+g,m="";else{m=+m;var P=m<0||1/m<0;if(m=isNaN(m)?c:O(Math.abs(m),w),G&&(m=$n(m)),P&&+m==0&&y!=="+"&&(P=!1),N=(P?y==="("?y:u:y==="-"||y==="("?"":y)+N,g=(d==="s"?Q[8+nn/3]:"")+g+(P&&y==="("?")":""),an){for(x=-1,X=m.length;++xj||j>57){g=(j===46?i+m.slice(x+1):m.slice(x))+g,m=m.slice(0,x);break}}}T&&!k&&(m=t(m,1/0));var z=N.length+m.length+g.length,M=z>1)+N+m+g+M.slice(z);break;default:m=M+N+m+g;break}return f(m)}return V.toString=function(){return h+""},V}function s(h,l){var p=o((h=D(h),h.type="f",h)),y=Math.max(-8,Math.min(8,Math.floor(v(l)/3)))*3,b=Math.pow(10,-y),k=Q[8+y/3];return function(S){return p(b*S)+k}}return{format:o,formatPrefix:s}}var $,tn,rn;En({thousands:",",grouping:[3],currency:["$",""]});function En(n){return $=Rn(n),tn=$.format,rn=$.formatPrefix,$}function Dn(n){return Math.max(0,-v(Math.abs(n)))}function Tn(n,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(v(t)/3)))*3-v(Math.abs(n)))}function In(n,t){return n=Math.abs(n),t=Math.abs(t)-n,Math.max(0,v(t)-v(n))+1}function Ln(n){return function(){return n}}function qn(n){return+n}var W=[0,1];function A(n){return n}function q(n,t){return(t-=n=+n)?function(e){return(e-n)/t}:Ln(isNaN(t)?NaN:.5)}function Cn(n,t){var e;return n>t&&(e=n,n=t,t=e),function(r){return Math.max(n,Math.min(t,r))}}function Bn(n,t,e){var r=n[0],i=n[1],f=t[0],a=t[1];return i2?Gn:Bn,c=o=null,h}function h(l){return l==null||isNaN(l=+l)?f:(c||(c=u(n.map(r),t,e)))(r(a(l)))}return h.invert=function(l){return a(i((o||(o=u(t,n.map(r),I)))(l)))},h.domain=function(l){return arguments.length?(n=Array.from(l,qn),s()):n.slice()},h.range=function(l){return arguments.length?(t=Array.from(l),s()):t.slice()},h.rangeRound=function(l){return t=Array.from(l),e=bn,s()},h.clamp=function(l){return arguments.length?(a=l?!0:A,s()):a!==A},h.interpolate=function(l){return arguments.length?(e=l,s()):e},h.unknown=function(l){return arguments.length?(f=l,h):f},function(l,p){return r=l,i=p,s()}}function Xn(){return Vn()(A,A)}function Un(n,t,e,r){var i=wn(n,t,e),f;switch(r=D(r??",f"),r.type){case"s":{var a=Math.max(Math.abs(n),Math.abs(t));return r.precision==null&&!isNaN(f=Tn(i,a))&&(r.precision=f),rn(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(f=In(i,Math.max(Math.abs(n),Math.abs(t))))&&(r.precision=f-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(f=Dn(i))&&(r.precision=f-(r.type==="%")*2);break}}return tn(r)}function Yn(n){var t=n.domain;return n.ticks=function(e){var r=t();return pn(r[0],r[r.length-1],e??10)},n.tickFormat=function(e,r){var i=t();return Un(i[0],i[i.length-1],e??10,r)},n.nice=function(e){e==null&&(e=10);var r=t(),i=0,f=r.length-1,a=r[i],u=r[f],c,o,s=10;for(u0;){if(o=L(a,u,e),o===c)return r[i]=a,r[f]=u,t(r);if(o>0)a=Math.floor(a/o)*o,u=Math.ceil(u/o)*o;else if(o<0)a=Math.ceil(a*o)/o,u=Math.floor(u*o)/o;else break;c=o}return n},n}function Zn(){var n=Xn();return n.copy=function(){return On(n,Zn())},cn.apply(n,arguments),Yn(n)}export{On as a,_ as b,Xn as c,Zn as l,wn as t}; diff --git a/assets/mindmap-definition-GWI6TPTV-CQ2MtWvi.js b/assets/mindmap-definition-GWI6TPTV-BGV2PEp3.js similarity index 99% rename from assets/mindmap-definition-GWI6TPTV-CQ2MtWvi.js rename to assets/mindmap-definition-GWI6TPTV-BGV2PEp3.js index 4b75077e7..d1cba7bc2 100644 --- a/assets/mindmap-definition-GWI6TPTV-CQ2MtWvi.js +++ b/assets/mindmap-definition-GWI6TPTV-BGV2PEp3.js @@ -1,4 +1,4 @@ -import{aH as at,aI as Nt,_ as S,l as z,j as Dt,aj as mt,O as Ot,d as ot,G as At,V as It,B as tt,i as et,W as Ct,X as Rt,Y as xt}from"./index-Dq-yb_Rq.js";import{c as pt}from"./cytoscape.esm-68h7XOLx.js";var dt={exports:{}},it={exports:{}},nt={exports:{}},ut;function Mt(){return ut||(ut=1,function(I,w){(function(m,y){I.exports=y()})(at,function(){return function(f){var m={};function y(r){if(m[r])return m[r].exports;var t=m[r]={i:r,l:!1,exports:{}};return f[r].call(t.exports,t,t.exports,y),t.l=!0,t.exports}return y.m=f,y.c=m,y.i=function(r){return r},y.d=function(r,t,e){y.o(r,t)||Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:e})},y.n=function(r){var t=r&&r.__esModule?function(){return r.default}:function(){return r};return y.d(t,"a",t),t},y.o=function(r,t){return Object.prototype.hasOwnProperty.call(r,t)},y.p="",y(y.s=26)}([function(f,m,y){function r(){}r.QUALITY=1,r.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,r.DEFAULT_INCREMENTAL=!1,r.DEFAULT_ANIMATION_ON_LAYOUT=!0,r.DEFAULT_ANIMATION_DURING_LAYOUT=!1,r.DEFAULT_ANIMATION_PERIOD=50,r.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,r.DEFAULT_GRAPH_MARGIN=15,r.NODE_DIMENSIONS_INCLUDE_LABELS=!1,r.SIMPLE_NODE_SIZE=40,r.SIMPLE_NODE_HALF_SIZE=r.SIMPLE_NODE_SIZE/2,r.EMPTY_COMPOUND_NODE_SIZE=40,r.MIN_EDGE_LENGTH=1,r.WORLD_BOUNDARY=1e6,r.INITIAL_WORLD_BOUNDARY=r.WORLD_BOUNDARY/1e3,r.WORLD_CENTER_X=1200,r.WORLD_CENTER_Y=900,f.exports=r},function(f,m,y){var r=y(2),t=y(8),e=y(9);function i(g,a,v){r.call(this,v),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=v,this.bendpoints=[],this.source=g,this.target=a}i.prototype=Object.create(r.prototype);for(var o in r)i[o]=r[o];i.prototype.getSource=function(){return this.source},i.prototype.getTarget=function(){return this.target},i.prototype.isInterGraph=function(){return this.isInterGraph},i.prototype.getLength=function(){return this.length},i.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},i.prototype.getBendpoints=function(){return this.bendpoints},i.prototype.getLca=function(){return this.lca},i.prototype.getSourceInLca=function(){return this.sourceInLca},i.prototype.getTargetInLca=function(){return this.targetInLca},i.prototype.getOtherEnd=function(g){if(this.source===g)return this.target;if(this.target===g)return this.source;throw"Node is not incident with this edge"},i.prototype.getOtherEndInGraph=function(g,a){for(var v=this.getOtherEnd(g),n=a.getGraphManager().getRoot();;){if(v.getOwner()==a)return v;if(v.getOwner()==n)break;v=v.getOwner().getParent()}return null},i.prototype.updateLength=function(){var g=new Array(4);this.isOverlapingSourceAndTarget=t.getIntersection(this.target.getRect(),this.source.getRect(),g),this.isOverlapingSourceAndTarget||(this.lengthX=g[0]-g[2],this.lengthY=g[1]-g[3],Math.abs(this.lengthX)<1&&(this.lengthX=e.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=e.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},i.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=e.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=e.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},f.exports=i},function(f,m,y){function r(t){this.vGraphObject=t}f.exports=r},function(f,m,y){var r=y(2),t=y(10),e=y(13),i=y(0),o=y(16),g=y(4);function a(n,c,l,E){l==null&&E==null&&(E=c),r.call(this,E),n.graphManager!=null&&(n=n.graphManager),this.estimatedSize=t.MIN_VALUE,this.inclusionTreeDepth=t.MAX_VALUE,this.vGraphObject=E,this.edges=[],this.graphManager=n,l!=null&&c!=null?this.rect=new e(c.x,c.y,l.width,l.height):this.rect=new e}a.prototype=Object.create(r.prototype);for(var v in r)a[v]=r[v];a.prototype.getEdges=function(){return this.edges},a.prototype.getChild=function(){return this.child},a.prototype.getOwner=function(){return this.owner},a.prototype.getWidth=function(){return this.rect.width},a.prototype.setWidth=function(n){this.rect.width=n},a.prototype.getHeight=function(){return this.rect.height},a.prototype.setHeight=function(n){this.rect.height=n},a.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},a.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},a.prototype.getCenter=function(){return new g(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},a.prototype.getLocation=function(){return new g(this.rect.x,this.rect.y)},a.prototype.getRect=function(){return this.rect},a.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},a.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},a.prototype.setRect=function(n,c){this.rect.x=n.x,this.rect.y=n.y,this.rect.width=c.width,this.rect.height=c.height},a.prototype.setCenter=function(n,c){this.rect.x=n-this.rect.width/2,this.rect.y=c-this.rect.height/2},a.prototype.setLocation=function(n,c){this.rect.x=n,this.rect.y=c},a.prototype.moveBy=function(n,c){this.rect.x+=n,this.rect.y+=c},a.prototype.getEdgeListToNode=function(n){var c=[],l=this;return l.edges.forEach(function(E){if(E.target==n){if(E.source!=l)throw"Incorrect edge source!";c.push(E)}}),c},a.prototype.getEdgesBetween=function(n){var c=[],l=this;return l.edges.forEach(function(E){if(!(E.source==l||E.target==l))throw"Incorrect edge source and/or target";(E.target==n||E.source==n)&&c.push(E)}),c},a.prototype.getNeighborsList=function(){var n=new Set,c=this;return c.edges.forEach(function(l){if(l.source==c)n.add(l.target);else{if(l.target!=c)throw"Incorrect incidency!";n.add(l.source)}}),n},a.prototype.withChildren=function(){var n=new Set,c,l;if(n.add(this),this.child!=null)for(var E=this.child.getNodes(),T=0;Tc&&(this.rect.x-=(this.labelWidth-c)/2,this.setWidth(this.labelWidth)),this.labelHeight>l&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-l)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-l),this.setHeight(this.labelHeight))}}},a.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==t.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},a.prototype.transform=function(n){var c=this.rect.x;c>i.WORLD_BOUNDARY?c=i.WORLD_BOUNDARY:c<-i.WORLD_BOUNDARY&&(c=-i.WORLD_BOUNDARY);var l=this.rect.y;l>i.WORLD_BOUNDARY?l=i.WORLD_BOUNDARY:l<-i.WORLD_BOUNDARY&&(l=-i.WORLD_BOUNDARY);var E=new g(c,l),T=n.inverseTransformPoint(E);this.setLocation(T.x,T.y)},a.prototype.getLeft=function(){return this.rect.x},a.prototype.getRight=function(){return this.rect.x+this.rect.width},a.prototype.getTop=function(){return this.rect.y},a.prototype.getBottom=function(){return this.rect.y+this.rect.height},a.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},f.exports=a},function(f,m,y){function r(t,e){t==null&&e==null?(this.x=0,this.y=0):(this.x=t,this.y=e)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.setX=function(t){this.x=t},r.prototype.setY=function(t){this.y=t},r.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},r.prototype.getCopy=function(){return new r(this.x,this.y)},r.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},f.exports=r},function(f,m,y){var r=y(2),t=y(10),e=y(0),i=y(6),o=y(3),g=y(1),a=y(13),v=y(12),n=y(11);function c(E,T,D){r.call(this,D),this.estimatedSize=t.MIN_VALUE,this.margin=e.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=E,T!=null&&T instanceof i?this.graphManager=T:T!=null&&T instanceof Layout&&(this.graphManager=T.graphManager)}c.prototype=Object.create(r.prototype);for(var l in r)c[l]=r[l];c.prototype.getNodes=function(){return this.nodes},c.prototype.getEdges=function(){return this.edges},c.prototype.getGraphManager=function(){return this.graphManager},c.prototype.getParent=function(){return this.parent},c.prototype.getLeft=function(){return this.left},c.prototype.getRight=function(){return this.right},c.prototype.getTop=function(){return this.top},c.prototype.getBottom=function(){return this.bottom},c.prototype.isConnected=function(){return this.isConnected},c.prototype.add=function(E,T,D){if(T==null&&D==null){var L=E;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(L)>-1)throw"Node already in graph!";return L.owner=this,this.getNodes().push(L),L}else{var O=E;if(!(this.getNodes().indexOf(T)>-1&&this.getNodes().indexOf(D)>-1))throw"Source or target not in graph!";if(!(T.owner==D.owner&&T.owner==this))throw"Both owners must be this graph!";return T.owner!=D.owner?null:(O.source=T,O.target=D,O.isInterGraph=!1,this.getEdges().push(O),T.edges.push(O),D!=T&&D.edges.push(O),O)}},c.prototype.remove=function(E){var T=E;if(E instanceof o){if(T==null)throw"Node is null!";if(!(T.owner!=null&&T.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var D=T.edges.slice(),L,O=D.length,d=0;d-1&&h>-1))throw"Source and/or target doesn't know this edge!";L.source.edges.splice(s,1),L.target!=L.source&&L.target.edges.splice(h,1);var N=L.source.owner.getEdges().indexOf(L);if(N==-1)throw"Not in owner's edge list!";L.source.owner.getEdges().splice(N,1)}},c.prototype.updateLeftTop=function(){for(var E=t.MAX_VALUE,T=t.MAX_VALUE,D,L,O,d=this.getNodes(),N=d.length,s=0;sD&&(E=D),T>L&&(T=L)}return E==t.MAX_VALUE?null:(d[0].getParent().paddingLeft!=null?O=d[0].getParent().paddingLeft:O=this.margin,this.left=T-O,this.top=E-O,new v(this.left,this.top))},c.prototype.updateBounds=function(E){for(var T=t.MAX_VALUE,D=-t.MAX_VALUE,L=t.MAX_VALUE,O=-t.MAX_VALUE,d,N,s,h,u,p=this.nodes,A=p.length,C=0;Cd&&(T=d),Ds&&(L=s),Od&&(T=d),Ds&&(L=s),O=this.nodes.length){var A=0;D.forEach(function(C){C.owner==E&&A++}),A==this.nodes.length&&(this.isConnected=!0)}},f.exports=c},function(f,m,y){var r,t=y(1);function e(i){r=y(5),this.layout=i,this.graphs=[],this.edges=[]}e.prototype.addRoot=function(){var i=this.layout.newGraph(),o=this.layout.newNode(null),g=this.add(i,o);return this.setRootGraph(g),this.rootGraph},e.prototype.add=function(i,o,g,a,v){if(g==null&&a==null&&v==null){if(i==null)throw"Graph is null!";if(o==null)throw"Parent node is null!";if(this.graphs.indexOf(i)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(i),i.parent!=null)throw"Already has a parent!";if(o.child!=null)throw"Already has a child!";return i.parent=o,o.child=i,i}else{v=g,a=o,g=i;var n=a.getOwner(),c=v.getOwner();if(!(n!=null&&n.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(c!=null&&c.getGraphManager()==this))throw"Target not in this graph mgr!";if(n==c)return g.isInterGraph=!1,n.add(g,a,v);if(g.isInterGraph=!0,g.source=a,g.target=v,this.edges.indexOf(g)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(g),!(g.source!=null&&g.target!=null))throw"Edge source and/or target is null!";if(!(g.source.edges.indexOf(g)==-1&&g.target.edges.indexOf(g)==-1))throw"Edge already in source and/or target incidency list!";return g.source.edges.push(g),g.target.edges.push(g),g}},e.prototype.remove=function(i){if(i instanceof r){var o=i;if(o.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(o==this.rootGraph||o.parent!=null&&o.parent.graphManager==this))throw"Invalid parent node!";var g=[];g=g.concat(o.getEdges());for(var a,v=g.length,n=0;n=i.getRight()?o[0]+=Math.min(i.getX()-e.getX(),e.getRight()-i.getRight()):i.getX()<=e.getX()&&i.getRight()>=e.getRight()&&(o[0]+=Math.min(e.getX()-i.getX(),i.getRight()-e.getRight())),e.getY()<=i.getY()&&e.getBottom()>=i.getBottom()?o[1]+=Math.min(i.getY()-e.getY(),e.getBottom()-i.getBottom()):i.getY()<=e.getY()&&i.getBottom()>=e.getBottom()&&(o[1]+=Math.min(e.getY()-i.getY(),i.getBottom()-e.getBottom()));var v=Math.abs((i.getCenterY()-e.getCenterY())/(i.getCenterX()-e.getCenterX()));i.getCenterY()===e.getCenterY()&&i.getCenterX()===e.getCenterX()&&(v=1);var n=v*o[0],c=o[1]/v;o[0]n)return o[0]=g,o[1]=l,o[2]=v,o[3]=p,!1;if(av)return o[0]=c,o[1]=a,o[2]=h,o[3]=n,!1;if(gv?(o[0]=T,o[1]=D,x=!0):(o[0]=E,o[1]=l,x=!0):U===M&&(g>v?(o[0]=c,o[1]=l,x=!0):(o[0]=L,o[1]=D,x=!0)),-X===M?v>g?(o[2]=u,o[3]=p,_=!0):(o[2]=h,o[3]=s,_=!0):X===M&&(v>g?(o[2]=N,o[3]=s,_=!0):(o[2]=A,o[3]=p,_=!0)),x&&_)return!1;if(g>v?a>n?(G=this.getCardinalDirection(U,M,4),F=this.getCardinalDirection(X,M,2)):(G=this.getCardinalDirection(-U,M,3),F=this.getCardinalDirection(-X,M,1)):a>n?(G=this.getCardinalDirection(-U,M,1),F=this.getCardinalDirection(-X,M,3)):(G=this.getCardinalDirection(U,M,2),F=this.getCardinalDirection(X,M,4)),!x)switch(G){case 1:Y=l,b=g+-d/M,o[0]=b,o[1]=Y;break;case 2:b=L,Y=a+O*M,o[0]=b,o[1]=Y;break;case 3:Y=D,b=g+d/M,o[0]=b,o[1]=Y;break;case 4:b=T,Y=a+-O*M,o[0]=b,o[1]=Y;break}if(!_)switch(F){case 1:H=s,k=v+-R/M,o[2]=k,o[3]=H;break;case 2:k=A,H=n+C*M,o[2]=k,o[3]=H;break;case 3:H=p,k=v+R/M,o[2]=k,o[3]=H;break;case 4:k=u,H=n+-C*M,o[2]=k,o[3]=H;break}}return!1},t.getCardinalDirection=function(e,i,o){return e>i?o:1+o%4},t.getIntersection=function(e,i,o,g){if(g==null)return this.getIntersection2(e,i,o);var a=e.x,v=e.y,n=i.x,c=i.y,l=o.x,E=o.y,T=g.x,D=g.y,L=void 0,O=void 0,d=void 0,N=void 0,s=void 0,h=void 0,u=void 0,p=void 0,A=void 0;return d=c-v,s=a-n,u=n*v-a*c,N=D-E,h=l-T,p=T*E-l*D,A=d*h-N*s,A===0?null:(L=(s*p-h*u)/A,O=(N*u-d*p)/A,new r(L,O))},t.angleOfVector=function(e,i,o,g){var a=void 0;return e!==o?(a=Math.atan((g-i)/(o-e)),o0?1:t<0?-1:0},r.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},r.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},f.exports=r},function(f,m,y){function r(){}r.MAX_VALUE=2147483647,r.MIN_VALUE=-2147483648,f.exports=r},function(f,m,y){var r=function(){function a(v,n){for(var c=0;c"u"?"undefined":r(e);return e==null||i!="object"&&i!="function"},f.exports=t},function(f,m,y){function r(l){if(Array.isArray(l)){for(var E=0,T=Array(l.length);E0&&E;){for(d.push(s[0]);d.length>0&&E;){var h=d[0];d.splice(0,1),O.add(h);for(var u=h.getEdges(),L=0;L-1&&s.splice(R,1)}O=new Set,N=new Map}}return l},c.prototype.createDummyNodesForBendpoints=function(l){for(var E=[],T=l.source,D=this.graphManager.calcLowestCommonAncestor(l.source,l.target),L=0;L0){for(var D=this.edgeToDummyNodes.get(T),L=0;L=0&&E.splice(p,1);var A=N.getNeighborsList();A.forEach(function(x){if(T.indexOf(x)<0){var _=D.get(x),U=_-1;U==1&&h.push(x),D.set(x,U)}})}T=T.concat(h),(E.length==1||E.length==2)&&(L=!0,O=E[0])}return O},c.prototype.setGraphManager=function(l){this.graphManager=l},f.exports=c},function(f,m,y){function r(){}r.seed=1,r.x=0,r.nextDouble=function(){return r.x=Math.sin(r.seed++)*1e4,r.x-Math.floor(r.x)},f.exports=r},function(f,m,y){var r=y(4);function t(e,i){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}t.prototype.getWorldOrgX=function(){return this.lworldOrgX},t.prototype.setWorldOrgX=function(e){this.lworldOrgX=e},t.prototype.getWorldOrgY=function(){return this.lworldOrgY},t.prototype.setWorldOrgY=function(e){this.lworldOrgY=e},t.prototype.getWorldExtX=function(){return this.lworldExtX},t.prototype.setWorldExtX=function(e){this.lworldExtX=e},t.prototype.getWorldExtY=function(){return this.lworldExtY},t.prototype.setWorldExtY=function(e){this.lworldExtY=e},t.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},t.prototype.setDeviceOrgX=function(e){this.ldeviceOrgX=e},t.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},t.prototype.setDeviceOrgY=function(e){this.ldeviceOrgY=e},t.prototype.getDeviceExtX=function(){return this.ldeviceExtX},t.prototype.setDeviceExtX=function(e){this.ldeviceExtX=e},t.prototype.getDeviceExtY=function(){return this.ldeviceExtY},t.prototype.setDeviceExtY=function(e){this.ldeviceExtY=e},t.prototype.transformX=function(e){var i=0,o=this.lworldExtX;return o!=0&&(i=this.ldeviceOrgX+(e-this.lworldOrgX)*this.ldeviceExtX/o),i},t.prototype.transformY=function(e){var i=0,o=this.lworldExtY;return o!=0&&(i=this.ldeviceOrgY+(e-this.lworldOrgY)*this.ldeviceExtY/o),i},t.prototype.inverseTransformX=function(e){var i=0,o=this.ldeviceExtX;return o!=0&&(i=this.lworldOrgX+(e-this.ldeviceOrgX)*this.lworldExtX/o),i},t.prototype.inverseTransformY=function(e){var i=0,o=this.ldeviceExtY;return o!=0&&(i=this.lworldOrgY+(e-this.ldeviceOrgY)*this.lworldExtY/o),i},t.prototype.inverseTransformPoint=function(e){var i=new r(this.inverseTransformX(e.x),this.inverseTransformY(e.y));return i},f.exports=t},function(f,m,y){function r(n){if(Array.isArray(n)){for(var c=0,l=Array(n.length);ce.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*e.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(n-e.ADAPTATION_LOWER_NODE_LIMIT)/(e.ADAPTATION_UPPER_NODE_LIMIT-e.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-e.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=e.MAX_NODE_DISPLACEMENT_INCREMENTAL):(n>e.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(e.COOLING_ADAPTATION_FACTOR,1-(n-e.ADAPTATION_LOWER_NODE_LIMIT)/(e.ADAPTATION_UPPER_NODE_LIMIT-e.ADAPTATION_LOWER_NODE_LIMIT)*(1-e.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=e.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},a.prototype.calcSpringForces=function(){for(var n=this.getAllEdges(),c,l=0;l0&&arguments[0]!==void 0?arguments[0]:!0,c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l,E,T,D,L=this.getAllNodes(),O;if(this.useFRGridVariant)for(this.totalIterations%e.GRID_CALCULATION_CHECK_PERIOD==1&&n&&this.updateGrid(),O=new Set,l=0;ld||O>d)&&(n.gravitationForceX=-this.gravityConstant*T,n.gravitationForceY=-this.gravityConstant*D)):(d=c.getEstimatedSize()*this.compoundGravityRangeFactor,(L>d||O>d)&&(n.gravitationForceX=-this.gravityConstant*T*this.compoundGravityConstant,n.gravitationForceY=-this.gravityConstant*D*this.compoundGravityConstant))},a.prototype.isConverged=function(){var n,c=!1;return this.totalIterations>this.maxIterations/3&&(c=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),n=this.totalDisplacement=L.length||d>=L[0].length)){for(var N=0;Na}}]),o}();f.exports=i},function(f,m,y){var r=function(){function i(o,g){for(var a=0;a2&&arguments[2]!==void 0?arguments[2]:1,v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;t(this,i),this.sequence1=o,this.sequence2=g,this.match_score=a,this.mismatch_penalty=v,this.gap_penalty=n,this.iMax=o.length+1,this.jMax=g.length+1,this.grid=new Array(this.iMax);for(var c=0;c=0;o--){var g=this.listeners[o];g.event===e&&g.callback===i&&this.listeners.splice(o,1)}},t.emit=function(e,i){for(var o=0;og.coolingFactor*g.maxNodeDisplacement&&(this.displacementX=g.coolingFactor*g.maxNodeDisplacement*e.sign(this.displacementX)),Math.abs(this.displacementY)>g.coolingFactor*g.maxNodeDisplacement&&(this.displacementY=g.coolingFactor*g.maxNodeDisplacement*e.sign(this.displacementY)),this.child==null?this.moveBy(this.displacementX,this.displacementY):this.child.getNodes().length==0?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),g.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},i.prototype.propogateDisplacementToChildren=function(g,a){for(var v=this.getChild().getNodes(),n,c=0;c0)this.positionNodesRadially(s);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var h=new Set(this.getAllNodes()),u=this.nodesWithGravity.filter(function(p){return h.has(p)});this.graphManager.setAllNodesToApplyGravitation(u),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},d.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%v.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var s=new Set(this.getAllNodes()),h=this.nodesWithGravity.filter(function(A){return s.has(A)});this.graphManager.setAllNodesToApplyGravitation(h),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=v.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=v.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var u=!this.isTreeGrowing&&!this.isGrowthFinished,p=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(u,p),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},d.prototype.getPositionsData=function(){for(var s=this.graphManager.getAllNodes(),h={},u=0;u1){var x;for(x=0;xp&&(p=Math.floor(R.y)),C=Math.floor(R.x+a.DEFAULT_COMPONENT_SEPERATION)}this.transform(new l(n.WORLD_CENTER_X-R.x/2,n.WORLD_CENTER_Y-R.y/2))},d.radialLayout=function(s,h,u){var p=Math.max(this.maxDiagonalInTree(s),a.DEFAULT_RADIAL_SEPARATION);d.branchRadialLayout(h,null,0,359,0,p);var A=L.calculateBounds(s),C=new O;C.setDeviceOrgX(A.getMinX()),C.setDeviceOrgY(A.getMinY()),C.setWorldOrgX(u.x),C.setWorldOrgY(u.y);for(var R=0;R1;){var H=k[0];k.splice(0,1);var P=M.indexOf(H);P>=0&&M.splice(P,1),b--,G--}h!=null?Y=(M.indexOf(k[0])+1)%b:Y=0;for(var B=Math.abs(p-u)/G,$=Y;F!=G;$=++$%b){var K=M[$].getOtherEnd(s);if(K!=h){var Q=(u+F*B)%360,J=(Q+B)%360;d.branchRadialLayout(K,s,Q,J,A+C,C),F++}}},d.maxDiagonalInTree=function(s){for(var h=T.MIN_VALUE,u=0;uh&&(h=A)}return h},d.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},d.prototype.groupZeroDegreeMembers=function(){var s=this,h={};this.memberGroups={},this.idToDummyNode={};for(var u=[],p=this.graphManager.getAllNodes(),A=0;A"u"&&(h[x]=[]),h[x]=h[x].concat(C)}Object.keys(h).forEach(function(_){if(h[_].length>1){var U="DummyCompound_"+_;s.memberGroups[U]=h[_];var X=h[_][0].getParent(),M=new o(s.graphManager);M.id=U,M.paddingLeft=X.paddingLeft||0,M.paddingRight=X.paddingRight||0,M.paddingBottom=X.paddingBottom||0,M.paddingTop=X.paddingTop||0,s.idToDummyNode[U]=M;var G=s.getGraphManager().add(s.newGraph(),M),F=X.getChild();F.add(M);for(var b=0;b=0;s--){var h=this.compoundOrder[s],u=h.id,p=h.paddingLeft,A=h.paddingTop;this.adjustLocations(this.tiledMemberPack[u],h.rect.x,h.rect.y,p,A)}},d.prototype.repopulateZeroDegreeMembers=function(){var s=this,h=this.tiledZeroDegreePack;Object.keys(h).forEach(function(u){var p=s.idToDummyNode[u],A=p.paddingLeft,C=p.paddingTop;s.adjustLocations(h[u],p.rect.x,p.rect.y,A,C)})},d.prototype.getToBeTiled=function(s){var h=s.id;if(this.toBeTiled[h]!=null)return this.toBeTiled[h];var u=s.getChild();if(u==null)return this.toBeTiled[h]=!1,!1;for(var p=u.getNodes(),A=0;A0)return this.toBeTiled[h]=!1,!1;if(C.getChild()==null){this.toBeTiled[C.id]=!1;continue}if(!this.getToBeTiled(C))return this.toBeTiled[h]=!1,!1}return this.toBeTiled[h]=!0,!0},d.prototype.getNodeDegree=function(s){s.id;for(var h=s.getEdges(),u=0,p=0;p_&&(_=X.rect.height)}u+=_+s.verticalPadding}},d.prototype.tileCompoundMembers=function(s,h){var u=this;this.tiledMemberPack=[],Object.keys(s).forEach(function(p){var A=h[p];u.tiledMemberPack[p]=u.tileNodes(s[p],A.paddingLeft+A.paddingRight),A.rect.width=u.tiledMemberPack[p].width,A.rect.height=u.tiledMemberPack[p].height})},d.prototype.tileNodes=function(s,h){var u=a.TILING_PADDING_VERTICAL,p=a.TILING_PADDING_HORIZONTAL,A={rows:[],rowWidth:[],rowHeight:[],width:0,height:h,verticalPadding:u,horizontalPadding:p};s.sort(function(x,_){return x.rect.width*x.rect.height>_.rect.width*_.rect.height?-1:x.rect.width*x.rect.height<_.rect.width*_.rect.height?1:0});for(var C=0;C0&&(R+=s.horizontalPadding),s.rowWidth[u]=R,s.width0&&(x+=s.verticalPadding);var _=0;x>s.rowHeight[u]&&(_=s.rowHeight[u],s.rowHeight[u]=x,_=s.rowHeight[u]-_),s.height+=_,s.rows[u].push(h)},d.prototype.getShortestRowIndex=function(s){for(var h=-1,u=Number.MAX_VALUE,p=0;pu&&(h=p,u=s.rowWidth[p]);return h},d.prototype.canAddHorizontal=function(s,h,u){var p=this.getShortestRowIndex(s);if(p<0)return!0;var A=s.rowWidth[p];if(A+s.horizontalPadding+h<=s.width)return!0;var C=0;s.rowHeight[p]0&&(C=u+s.verticalPadding-s.rowHeight[p]);var R;s.width-A>=h+s.horizontalPadding?R=(s.height+C)/(A+h+s.horizontalPadding):R=(s.height+C)/s.width,C=u+s.verticalPadding;var x;return s.widthC&&h!=u){p.splice(-1,1),s.rows[u].push(A),s.rowWidth[h]=s.rowWidth[h]-C,s.rowWidth[u]=s.rowWidth[u]+C,s.width=s.rowWidth[instance.getLongestRowIndex(s)];for(var R=Number.MIN_VALUE,x=0;xR&&(R=p[x].height);h>0&&(R+=s.verticalPadding);var _=s.rowHeight[h]+s.rowHeight[u];s.rowHeight[h]=R,s.rowHeight[u]0)for(var F=A;F<=C;F++)G[0]+=this.grid[F][R-1].length+this.grid[F][R].length-1;if(C0)for(var F=R;F<=x;F++)G[3]+=this.grid[A-1][F].length+this.grid[A][F].length-1;for(var b=T.MAX_VALUE,Y,k,H=0;H0){var x;x=O.getGraphManager().add(O.newGraph(),u),this.processChildrenList(x,h,O)}}},l.prototype.stop=function(){return this.stopped=!0,this};var T=function(L){L("layout","cose-bilkent",l)};typeof cytoscape<"u"&&T(cytoscape),m.exports=T}])})})(dt);var St=dt.exports;const Gt=Nt(St);var st=function(){var I=S(function(O,d,N,s){for(N=N||{},s=O.length;s--;N[O[s]]=d);return N},"o"),w=[1,4],f=[1,13],m=[1,12],y=[1,15],r=[1,16],t=[1,20],e=[1,19],i=[6,7,8],o=[1,26],g=[1,24],a=[1,25],v=[6,7,11],n=[1,6,13,15,16,19,22],c=[1,33],l=[1,34],E=[1,6,7,11,13,15,16,19,22],T={trace:S(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:S(function(d,N,s,h,u,p,A){var C=p.length-1;switch(u){case 6:case 7:return h;case 8:h.getLogger().trace("Stop NL ");break;case 9:h.getLogger().trace("Stop EOF ");break;case 11:h.getLogger().trace("Stop NL2 ");break;case 12:h.getLogger().trace("Stop EOF2 ");break;case 15:h.getLogger().info("Node: ",p[C].id),h.addNode(p[C-1].length,p[C].id,p[C].descr,p[C].type);break;case 16:h.getLogger().trace("Icon: ",p[C]),h.decorateNode({icon:p[C]});break;case 17:case 21:h.decorateNode({class:p[C]});break;case 18:h.getLogger().trace("SPACELIST");break;case 19:h.getLogger().trace("Node: ",p[C].id),h.addNode(0,p[C].id,p[C].descr,p[C].type);break;case 20:h.decorateNode({icon:p[C]});break;case 25:h.getLogger().trace("node found ..",p[C-2]),this.$={id:p[C-1],descr:p[C-1],type:h.getType(p[C-2],p[C])};break;case 26:this.$={id:p[C],descr:p[C],type:h.nodeType.DEFAULT};break;case 27:h.getLogger().trace("node found ..",p[C-3]),this.$={id:p[C-3],descr:p[C-1],type:h.getType(p[C-2],p[C])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:w},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:w},{6:f,7:[1,10],9:9,12:11,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},I(i,[2,3]),{1:[2,2]},I(i,[2,4]),I(i,[2,5]),{1:[2,6],6:f,12:21,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},{6:f,9:22,12:11,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},{6:o,7:g,10:23,11:a},I(v,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:t,22:e}),I(v,[2,18]),I(v,[2,19]),I(v,[2,20]),I(v,[2,21]),I(v,[2,23]),I(v,[2,24]),I(v,[2,26],{19:[1,30]}),{20:[1,31]},{6:o,7:g,10:32,11:a},{1:[2,7],6:f,12:21,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},I(n,[2,14],{7:c,11:l}),I(E,[2,8]),I(E,[2,9]),I(E,[2,10]),I(v,[2,15]),I(v,[2,16]),I(v,[2,17]),{20:[1,35]},{21:[1,36]},I(n,[2,13],{7:c,11:l}),I(E,[2,11]),I(E,[2,12]),{21:[1,37]},I(v,[2,25]),I(v,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:S(function(d,N){if(N.recoverable)this.trace(d);else{var s=new Error(d);throw s.hash=N,s}},"parseError"),parse:S(function(d){var N=this,s=[0],h=[],u=[null],p=[],A=this.table,C="",R=0,x=0,_=2,U=1,X=p.slice.call(arguments,1),M=Object.create(this.lexer),G={yy:{}};for(var F in this.yy)Object.prototype.hasOwnProperty.call(this.yy,F)&&(G.yy[F]=this.yy[F]);M.setInput(d,G.yy),G.yy.lexer=M,G.yy.parser=this,typeof M.yylloc>"u"&&(M.yylloc={});var b=M.yylloc;p.push(b);var Y=M.options&&M.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(V){s.length=s.length-2*V,u.length=u.length-V,p.length=p.length-V}S(k,"popStack");function H(){var V;return V=h.pop()||M.lex()||U,typeof V!="number"&&(V instanceof Array&&(h=V,V=h.pop()),V=N.symbols_[V]||V),V}S(H,"lex");for(var P,B,$,K,Q={},J,j,gt,q;;){if(B=s[s.length-1],this.defaultActions[B]?$=this.defaultActions[B]:((P===null||typeof P>"u")&&(P=H()),$=A[B]&&A[B][P]),typeof $>"u"||!$.length||!$[0]){var rt="";q=[];for(J in A[B])this.terminals_[J]&&J>_&&q.push("'"+this.terminals_[J]+"'");M.showPosition?rt="Parse error on line "+(R+1)+`: +import{aH as at,aI as Nt,_ as S,l as z,j as Dt,aj as mt,O as Ot,d as ot,G as At,V as It,B as tt,i as et,W as Ct,X as Rt,Y as xt}from"./index-BxMsVRSP.js";import{c as pt}from"./cytoscape.esm-CIjMI8L_.js";var dt={exports:{}},it={exports:{}},nt={exports:{}},ut;function Mt(){return ut||(ut=1,function(I,w){(function(m,y){I.exports=y()})(at,function(){return function(f){var m={};function y(r){if(m[r])return m[r].exports;var t=m[r]={i:r,l:!1,exports:{}};return f[r].call(t.exports,t,t.exports,y),t.l=!0,t.exports}return y.m=f,y.c=m,y.i=function(r){return r},y.d=function(r,t,e){y.o(r,t)||Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:e})},y.n=function(r){var t=r&&r.__esModule?function(){return r.default}:function(){return r};return y.d(t,"a",t),t},y.o=function(r,t){return Object.prototype.hasOwnProperty.call(r,t)},y.p="",y(y.s=26)}([function(f,m,y){function r(){}r.QUALITY=1,r.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,r.DEFAULT_INCREMENTAL=!1,r.DEFAULT_ANIMATION_ON_LAYOUT=!0,r.DEFAULT_ANIMATION_DURING_LAYOUT=!1,r.DEFAULT_ANIMATION_PERIOD=50,r.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,r.DEFAULT_GRAPH_MARGIN=15,r.NODE_DIMENSIONS_INCLUDE_LABELS=!1,r.SIMPLE_NODE_SIZE=40,r.SIMPLE_NODE_HALF_SIZE=r.SIMPLE_NODE_SIZE/2,r.EMPTY_COMPOUND_NODE_SIZE=40,r.MIN_EDGE_LENGTH=1,r.WORLD_BOUNDARY=1e6,r.INITIAL_WORLD_BOUNDARY=r.WORLD_BOUNDARY/1e3,r.WORLD_CENTER_X=1200,r.WORLD_CENTER_Y=900,f.exports=r},function(f,m,y){var r=y(2),t=y(8),e=y(9);function i(g,a,v){r.call(this,v),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=v,this.bendpoints=[],this.source=g,this.target=a}i.prototype=Object.create(r.prototype);for(var o in r)i[o]=r[o];i.prototype.getSource=function(){return this.source},i.prototype.getTarget=function(){return this.target},i.prototype.isInterGraph=function(){return this.isInterGraph},i.prototype.getLength=function(){return this.length},i.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},i.prototype.getBendpoints=function(){return this.bendpoints},i.prototype.getLca=function(){return this.lca},i.prototype.getSourceInLca=function(){return this.sourceInLca},i.prototype.getTargetInLca=function(){return this.targetInLca},i.prototype.getOtherEnd=function(g){if(this.source===g)return this.target;if(this.target===g)return this.source;throw"Node is not incident with this edge"},i.prototype.getOtherEndInGraph=function(g,a){for(var v=this.getOtherEnd(g),n=a.getGraphManager().getRoot();;){if(v.getOwner()==a)return v;if(v.getOwner()==n)break;v=v.getOwner().getParent()}return null},i.prototype.updateLength=function(){var g=new Array(4);this.isOverlapingSourceAndTarget=t.getIntersection(this.target.getRect(),this.source.getRect(),g),this.isOverlapingSourceAndTarget||(this.lengthX=g[0]-g[2],this.lengthY=g[1]-g[3],Math.abs(this.lengthX)<1&&(this.lengthX=e.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=e.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},i.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=e.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=e.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},f.exports=i},function(f,m,y){function r(t){this.vGraphObject=t}f.exports=r},function(f,m,y){var r=y(2),t=y(10),e=y(13),i=y(0),o=y(16),g=y(4);function a(n,c,l,E){l==null&&E==null&&(E=c),r.call(this,E),n.graphManager!=null&&(n=n.graphManager),this.estimatedSize=t.MIN_VALUE,this.inclusionTreeDepth=t.MAX_VALUE,this.vGraphObject=E,this.edges=[],this.graphManager=n,l!=null&&c!=null?this.rect=new e(c.x,c.y,l.width,l.height):this.rect=new e}a.prototype=Object.create(r.prototype);for(var v in r)a[v]=r[v];a.prototype.getEdges=function(){return this.edges},a.prototype.getChild=function(){return this.child},a.prototype.getOwner=function(){return this.owner},a.prototype.getWidth=function(){return this.rect.width},a.prototype.setWidth=function(n){this.rect.width=n},a.prototype.getHeight=function(){return this.rect.height},a.prototype.setHeight=function(n){this.rect.height=n},a.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},a.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},a.prototype.getCenter=function(){return new g(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},a.prototype.getLocation=function(){return new g(this.rect.x,this.rect.y)},a.prototype.getRect=function(){return this.rect},a.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},a.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},a.prototype.setRect=function(n,c){this.rect.x=n.x,this.rect.y=n.y,this.rect.width=c.width,this.rect.height=c.height},a.prototype.setCenter=function(n,c){this.rect.x=n-this.rect.width/2,this.rect.y=c-this.rect.height/2},a.prototype.setLocation=function(n,c){this.rect.x=n,this.rect.y=c},a.prototype.moveBy=function(n,c){this.rect.x+=n,this.rect.y+=c},a.prototype.getEdgeListToNode=function(n){var c=[],l=this;return l.edges.forEach(function(E){if(E.target==n){if(E.source!=l)throw"Incorrect edge source!";c.push(E)}}),c},a.prototype.getEdgesBetween=function(n){var c=[],l=this;return l.edges.forEach(function(E){if(!(E.source==l||E.target==l))throw"Incorrect edge source and/or target";(E.target==n||E.source==n)&&c.push(E)}),c},a.prototype.getNeighborsList=function(){var n=new Set,c=this;return c.edges.forEach(function(l){if(l.source==c)n.add(l.target);else{if(l.target!=c)throw"Incorrect incidency!";n.add(l.source)}}),n},a.prototype.withChildren=function(){var n=new Set,c,l;if(n.add(this),this.child!=null)for(var E=this.child.getNodes(),T=0;Tc&&(this.rect.x-=(this.labelWidth-c)/2,this.setWidth(this.labelWidth)),this.labelHeight>l&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-l)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-l),this.setHeight(this.labelHeight))}}},a.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==t.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},a.prototype.transform=function(n){var c=this.rect.x;c>i.WORLD_BOUNDARY?c=i.WORLD_BOUNDARY:c<-i.WORLD_BOUNDARY&&(c=-i.WORLD_BOUNDARY);var l=this.rect.y;l>i.WORLD_BOUNDARY?l=i.WORLD_BOUNDARY:l<-i.WORLD_BOUNDARY&&(l=-i.WORLD_BOUNDARY);var E=new g(c,l),T=n.inverseTransformPoint(E);this.setLocation(T.x,T.y)},a.prototype.getLeft=function(){return this.rect.x},a.prototype.getRight=function(){return this.rect.x+this.rect.width},a.prototype.getTop=function(){return this.rect.y},a.prototype.getBottom=function(){return this.rect.y+this.rect.height},a.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},f.exports=a},function(f,m,y){function r(t,e){t==null&&e==null?(this.x=0,this.y=0):(this.x=t,this.y=e)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.setX=function(t){this.x=t},r.prototype.setY=function(t){this.y=t},r.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},r.prototype.getCopy=function(){return new r(this.x,this.y)},r.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},f.exports=r},function(f,m,y){var r=y(2),t=y(10),e=y(0),i=y(6),o=y(3),g=y(1),a=y(13),v=y(12),n=y(11);function c(E,T,D){r.call(this,D),this.estimatedSize=t.MIN_VALUE,this.margin=e.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=E,T!=null&&T instanceof i?this.graphManager=T:T!=null&&T instanceof Layout&&(this.graphManager=T.graphManager)}c.prototype=Object.create(r.prototype);for(var l in r)c[l]=r[l];c.prototype.getNodes=function(){return this.nodes},c.prototype.getEdges=function(){return this.edges},c.prototype.getGraphManager=function(){return this.graphManager},c.prototype.getParent=function(){return this.parent},c.prototype.getLeft=function(){return this.left},c.prototype.getRight=function(){return this.right},c.prototype.getTop=function(){return this.top},c.prototype.getBottom=function(){return this.bottom},c.prototype.isConnected=function(){return this.isConnected},c.prototype.add=function(E,T,D){if(T==null&&D==null){var L=E;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(L)>-1)throw"Node already in graph!";return L.owner=this,this.getNodes().push(L),L}else{var O=E;if(!(this.getNodes().indexOf(T)>-1&&this.getNodes().indexOf(D)>-1))throw"Source or target not in graph!";if(!(T.owner==D.owner&&T.owner==this))throw"Both owners must be this graph!";return T.owner!=D.owner?null:(O.source=T,O.target=D,O.isInterGraph=!1,this.getEdges().push(O),T.edges.push(O),D!=T&&D.edges.push(O),O)}},c.prototype.remove=function(E){var T=E;if(E instanceof o){if(T==null)throw"Node is null!";if(!(T.owner!=null&&T.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var D=T.edges.slice(),L,O=D.length,d=0;d-1&&h>-1))throw"Source and/or target doesn't know this edge!";L.source.edges.splice(s,1),L.target!=L.source&&L.target.edges.splice(h,1);var N=L.source.owner.getEdges().indexOf(L);if(N==-1)throw"Not in owner's edge list!";L.source.owner.getEdges().splice(N,1)}},c.prototype.updateLeftTop=function(){for(var E=t.MAX_VALUE,T=t.MAX_VALUE,D,L,O,d=this.getNodes(),N=d.length,s=0;sD&&(E=D),T>L&&(T=L)}return E==t.MAX_VALUE?null:(d[0].getParent().paddingLeft!=null?O=d[0].getParent().paddingLeft:O=this.margin,this.left=T-O,this.top=E-O,new v(this.left,this.top))},c.prototype.updateBounds=function(E){for(var T=t.MAX_VALUE,D=-t.MAX_VALUE,L=t.MAX_VALUE,O=-t.MAX_VALUE,d,N,s,h,u,p=this.nodes,A=p.length,C=0;Cd&&(T=d),Ds&&(L=s),Od&&(T=d),Ds&&(L=s),O=this.nodes.length){var A=0;D.forEach(function(C){C.owner==E&&A++}),A==this.nodes.length&&(this.isConnected=!0)}},f.exports=c},function(f,m,y){var r,t=y(1);function e(i){r=y(5),this.layout=i,this.graphs=[],this.edges=[]}e.prototype.addRoot=function(){var i=this.layout.newGraph(),o=this.layout.newNode(null),g=this.add(i,o);return this.setRootGraph(g),this.rootGraph},e.prototype.add=function(i,o,g,a,v){if(g==null&&a==null&&v==null){if(i==null)throw"Graph is null!";if(o==null)throw"Parent node is null!";if(this.graphs.indexOf(i)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(i),i.parent!=null)throw"Already has a parent!";if(o.child!=null)throw"Already has a child!";return i.parent=o,o.child=i,i}else{v=g,a=o,g=i;var n=a.getOwner(),c=v.getOwner();if(!(n!=null&&n.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(c!=null&&c.getGraphManager()==this))throw"Target not in this graph mgr!";if(n==c)return g.isInterGraph=!1,n.add(g,a,v);if(g.isInterGraph=!0,g.source=a,g.target=v,this.edges.indexOf(g)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(g),!(g.source!=null&&g.target!=null))throw"Edge source and/or target is null!";if(!(g.source.edges.indexOf(g)==-1&&g.target.edges.indexOf(g)==-1))throw"Edge already in source and/or target incidency list!";return g.source.edges.push(g),g.target.edges.push(g),g}},e.prototype.remove=function(i){if(i instanceof r){var o=i;if(o.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(o==this.rootGraph||o.parent!=null&&o.parent.graphManager==this))throw"Invalid parent node!";var g=[];g=g.concat(o.getEdges());for(var a,v=g.length,n=0;n=i.getRight()?o[0]+=Math.min(i.getX()-e.getX(),e.getRight()-i.getRight()):i.getX()<=e.getX()&&i.getRight()>=e.getRight()&&(o[0]+=Math.min(e.getX()-i.getX(),i.getRight()-e.getRight())),e.getY()<=i.getY()&&e.getBottom()>=i.getBottom()?o[1]+=Math.min(i.getY()-e.getY(),e.getBottom()-i.getBottom()):i.getY()<=e.getY()&&i.getBottom()>=e.getBottom()&&(o[1]+=Math.min(e.getY()-i.getY(),i.getBottom()-e.getBottom()));var v=Math.abs((i.getCenterY()-e.getCenterY())/(i.getCenterX()-e.getCenterX()));i.getCenterY()===e.getCenterY()&&i.getCenterX()===e.getCenterX()&&(v=1);var n=v*o[0],c=o[1]/v;o[0]n)return o[0]=g,o[1]=l,o[2]=v,o[3]=p,!1;if(av)return o[0]=c,o[1]=a,o[2]=h,o[3]=n,!1;if(gv?(o[0]=T,o[1]=D,x=!0):(o[0]=E,o[1]=l,x=!0):U===M&&(g>v?(o[0]=c,o[1]=l,x=!0):(o[0]=L,o[1]=D,x=!0)),-X===M?v>g?(o[2]=u,o[3]=p,_=!0):(o[2]=h,o[3]=s,_=!0):X===M&&(v>g?(o[2]=N,o[3]=s,_=!0):(o[2]=A,o[3]=p,_=!0)),x&&_)return!1;if(g>v?a>n?(G=this.getCardinalDirection(U,M,4),F=this.getCardinalDirection(X,M,2)):(G=this.getCardinalDirection(-U,M,3),F=this.getCardinalDirection(-X,M,1)):a>n?(G=this.getCardinalDirection(-U,M,1),F=this.getCardinalDirection(-X,M,3)):(G=this.getCardinalDirection(U,M,2),F=this.getCardinalDirection(X,M,4)),!x)switch(G){case 1:Y=l,b=g+-d/M,o[0]=b,o[1]=Y;break;case 2:b=L,Y=a+O*M,o[0]=b,o[1]=Y;break;case 3:Y=D,b=g+d/M,o[0]=b,o[1]=Y;break;case 4:b=T,Y=a+-O*M,o[0]=b,o[1]=Y;break}if(!_)switch(F){case 1:H=s,k=v+-R/M,o[2]=k,o[3]=H;break;case 2:k=A,H=n+C*M,o[2]=k,o[3]=H;break;case 3:H=p,k=v+R/M,o[2]=k,o[3]=H;break;case 4:k=u,H=n+-C*M,o[2]=k,o[3]=H;break}}return!1},t.getCardinalDirection=function(e,i,o){return e>i?o:1+o%4},t.getIntersection=function(e,i,o,g){if(g==null)return this.getIntersection2(e,i,o);var a=e.x,v=e.y,n=i.x,c=i.y,l=o.x,E=o.y,T=g.x,D=g.y,L=void 0,O=void 0,d=void 0,N=void 0,s=void 0,h=void 0,u=void 0,p=void 0,A=void 0;return d=c-v,s=a-n,u=n*v-a*c,N=D-E,h=l-T,p=T*E-l*D,A=d*h-N*s,A===0?null:(L=(s*p-h*u)/A,O=(N*u-d*p)/A,new r(L,O))},t.angleOfVector=function(e,i,o,g){var a=void 0;return e!==o?(a=Math.atan((g-i)/(o-e)),o0?1:t<0?-1:0},r.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},r.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},f.exports=r},function(f,m,y){function r(){}r.MAX_VALUE=2147483647,r.MIN_VALUE=-2147483648,f.exports=r},function(f,m,y){var r=function(){function a(v,n){for(var c=0;c"u"?"undefined":r(e);return e==null||i!="object"&&i!="function"},f.exports=t},function(f,m,y){function r(l){if(Array.isArray(l)){for(var E=0,T=Array(l.length);E0&&E;){for(d.push(s[0]);d.length>0&&E;){var h=d[0];d.splice(0,1),O.add(h);for(var u=h.getEdges(),L=0;L-1&&s.splice(R,1)}O=new Set,N=new Map}}return l},c.prototype.createDummyNodesForBendpoints=function(l){for(var E=[],T=l.source,D=this.graphManager.calcLowestCommonAncestor(l.source,l.target),L=0;L0){for(var D=this.edgeToDummyNodes.get(T),L=0;L=0&&E.splice(p,1);var A=N.getNeighborsList();A.forEach(function(x){if(T.indexOf(x)<0){var _=D.get(x),U=_-1;U==1&&h.push(x),D.set(x,U)}})}T=T.concat(h),(E.length==1||E.length==2)&&(L=!0,O=E[0])}return O},c.prototype.setGraphManager=function(l){this.graphManager=l},f.exports=c},function(f,m,y){function r(){}r.seed=1,r.x=0,r.nextDouble=function(){return r.x=Math.sin(r.seed++)*1e4,r.x-Math.floor(r.x)},f.exports=r},function(f,m,y){var r=y(4);function t(e,i){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}t.prototype.getWorldOrgX=function(){return this.lworldOrgX},t.prototype.setWorldOrgX=function(e){this.lworldOrgX=e},t.prototype.getWorldOrgY=function(){return this.lworldOrgY},t.prototype.setWorldOrgY=function(e){this.lworldOrgY=e},t.prototype.getWorldExtX=function(){return this.lworldExtX},t.prototype.setWorldExtX=function(e){this.lworldExtX=e},t.prototype.getWorldExtY=function(){return this.lworldExtY},t.prototype.setWorldExtY=function(e){this.lworldExtY=e},t.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},t.prototype.setDeviceOrgX=function(e){this.ldeviceOrgX=e},t.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},t.prototype.setDeviceOrgY=function(e){this.ldeviceOrgY=e},t.prototype.getDeviceExtX=function(){return this.ldeviceExtX},t.prototype.setDeviceExtX=function(e){this.ldeviceExtX=e},t.prototype.getDeviceExtY=function(){return this.ldeviceExtY},t.prototype.setDeviceExtY=function(e){this.ldeviceExtY=e},t.prototype.transformX=function(e){var i=0,o=this.lworldExtX;return o!=0&&(i=this.ldeviceOrgX+(e-this.lworldOrgX)*this.ldeviceExtX/o),i},t.prototype.transformY=function(e){var i=0,o=this.lworldExtY;return o!=0&&(i=this.ldeviceOrgY+(e-this.lworldOrgY)*this.ldeviceExtY/o),i},t.prototype.inverseTransformX=function(e){var i=0,o=this.ldeviceExtX;return o!=0&&(i=this.lworldOrgX+(e-this.ldeviceOrgX)*this.lworldExtX/o),i},t.prototype.inverseTransformY=function(e){var i=0,o=this.ldeviceExtY;return o!=0&&(i=this.lworldOrgY+(e-this.ldeviceOrgY)*this.lworldExtY/o),i},t.prototype.inverseTransformPoint=function(e){var i=new r(this.inverseTransformX(e.x),this.inverseTransformY(e.y));return i},f.exports=t},function(f,m,y){function r(n){if(Array.isArray(n)){for(var c=0,l=Array(n.length);ce.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*e.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(n-e.ADAPTATION_LOWER_NODE_LIMIT)/(e.ADAPTATION_UPPER_NODE_LIMIT-e.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-e.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=e.MAX_NODE_DISPLACEMENT_INCREMENTAL):(n>e.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(e.COOLING_ADAPTATION_FACTOR,1-(n-e.ADAPTATION_LOWER_NODE_LIMIT)/(e.ADAPTATION_UPPER_NODE_LIMIT-e.ADAPTATION_LOWER_NODE_LIMIT)*(1-e.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=e.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},a.prototype.calcSpringForces=function(){for(var n=this.getAllEdges(),c,l=0;l0&&arguments[0]!==void 0?arguments[0]:!0,c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,l,E,T,D,L=this.getAllNodes(),O;if(this.useFRGridVariant)for(this.totalIterations%e.GRID_CALCULATION_CHECK_PERIOD==1&&n&&this.updateGrid(),O=new Set,l=0;ld||O>d)&&(n.gravitationForceX=-this.gravityConstant*T,n.gravitationForceY=-this.gravityConstant*D)):(d=c.getEstimatedSize()*this.compoundGravityRangeFactor,(L>d||O>d)&&(n.gravitationForceX=-this.gravityConstant*T*this.compoundGravityConstant,n.gravitationForceY=-this.gravityConstant*D*this.compoundGravityConstant))},a.prototype.isConverged=function(){var n,c=!1;return this.totalIterations>this.maxIterations/3&&(c=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),n=this.totalDisplacement=L.length||d>=L[0].length)){for(var N=0;Na}}]),o}();f.exports=i},function(f,m,y){var r=function(){function i(o,g){for(var a=0;a2&&arguments[2]!==void 0?arguments[2]:1,v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;t(this,i),this.sequence1=o,this.sequence2=g,this.match_score=a,this.mismatch_penalty=v,this.gap_penalty=n,this.iMax=o.length+1,this.jMax=g.length+1,this.grid=new Array(this.iMax);for(var c=0;c=0;o--){var g=this.listeners[o];g.event===e&&g.callback===i&&this.listeners.splice(o,1)}},t.emit=function(e,i){for(var o=0;og.coolingFactor*g.maxNodeDisplacement&&(this.displacementX=g.coolingFactor*g.maxNodeDisplacement*e.sign(this.displacementX)),Math.abs(this.displacementY)>g.coolingFactor*g.maxNodeDisplacement&&(this.displacementY=g.coolingFactor*g.maxNodeDisplacement*e.sign(this.displacementY)),this.child==null?this.moveBy(this.displacementX,this.displacementY):this.child.getNodes().length==0?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),g.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},i.prototype.propogateDisplacementToChildren=function(g,a){for(var v=this.getChild().getNodes(),n,c=0;c0)this.positionNodesRadially(s);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var h=new Set(this.getAllNodes()),u=this.nodesWithGravity.filter(function(p){return h.has(p)});this.graphManager.setAllNodesToApplyGravitation(u),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},d.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%v.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var s=new Set(this.getAllNodes()),h=this.nodesWithGravity.filter(function(A){return s.has(A)});this.graphManager.setAllNodesToApplyGravitation(h),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=v.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=v.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var u=!this.isTreeGrowing&&!this.isGrowthFinished,p=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(u,p),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},d.prototype.getPositionsData=function(){for(var s=this.graphManager.getAllNodes(),h={},u=0;u1){var x;for(x=0;xp&&(p=Math.floor(R.y)),C=Math.floor(R.x+a.DEFAULT_COMPONENT_SEPERATION)}this.transform(new l(n.WORLD_CENTER_X-R.x/2,n.WORLD_CENTER_Y-R.y/2))},d.radialLayout=function(s,h,u){var p=Math.max(this.maxDiagonalInTree(s),a.DEFAULT_RADIAL_SEPARATION);d.branchRadialLayout(h,null,0,359,0,p);var A=L.calculateBounds(s),C=new O;C.setDeviceOrgX(A.getMinX()),C.setDeviceOrgY(A.getMinY()),C.setWorldOrgX(u.x),C.setWorldOrgY(u.y);for(var R=0;R1;){var H=k[0];k.splice(0,1);var P=M.indexOf(H);P>=0&&M.splice(P,1),b--,G--}h!=null?Y=(M.indexOf(k[0])+1)%b:Y=0;for(var B=Math.abs(p-u)/G,$=Y;F!=G;$=++$%b){var K=M[$].getOtherEnd(s);if(K!=h){var Q=(u+F*B)%360,J=(Q+B)%360;d.branchRadialLayout(K,s,Q,J,A+C,C),F++}}},d.maxDiagonalInTree=function(s){for(var h=T.MIN_VALUE,u=0;uh&&(h=A)}return h},d.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},d.prototype.groupZeroDegreeMembers=function(){var s=this,h={};this.memberGroups={},this.idToDummyNode={};for(var u=[],p=this.graphManager.getAllNodes(),A=0;A"u"&&(h[x]=[]),h[x]=h[x].concat(C)}Object.keys(h).forEach(function(_){if(h[_].length>1){var U="DummyCompound_"+_;s.memberGroups[U]=h[_];var X=h[_][0].getParent(),M=new o(s.graphManager);M.id=U,M.paddingLeft=X.paddingLeft||0,M.paddingRight=X.paddingRight||0,M.paddingBottom=X.paddingBottom||0,M.paddingTop=X.paddingTop||0,s.idToDummyNode[U]=M;var G=s.getGraphManager().add(s.newGraph(),M),F=X.getChild();F.add(M);for(var b=0;b=0;s--){var h=this.compoundOrder[s],u=h.id,p=h.paddingLeft,A=h.paddingTop;this.adjustLocations(this.tiledMemberPack[u],h.rect.x,h.rect.y,p,A)}},d.prototype.repopulateZeroDegreeMembers=function(){var s=this,h=this.tiledZeroDegreePack;Object.keys(h).forEach(function(u){var p=s.idToDummyNode[u],A=p.paddingLeft,C=p.paddingTop;s.adjustLocations(h[u],p.rect.x,p.rect.y,A,C)})},d.prototype.getToBeTiled=function(s){var h=s.id;if(this.toBeTiled[h]!=null)return this.toBeTiled[h];var u=s.getChild();if(u==null)return this.toBeTiled[h]=!1,!1;for(var p=u.getNodes(),A=0;A0)return this.toBeTiled[h]=!1,!1;if(C.getChild()==null){this.toBeTiled[C.id]=!1;continue}if(!this.getToBeTiled(C))return this.toBeTiled[h]=!1,!1}return this.toBeTiled[h]=!0,!0},d.prototype.getNodeDegree=function(s){s.id;for(var h=s.getEdges(),u=0,p=0;p_&&(_=X.rect.height)}u+=_+s.verticalPadding}},d.prototype.tileCompoundMembers=function(s,h){var u=this;this.tiledMemberPack=[],Object.keys(s).forEach(function(p){var A=h[p];u.tiledMemberPack[p]=u.tileNodes(s[p],A.paddingLeft+A.paddingRight),A.rect.width=u.tiledMemberPack[p].width,A.rect.height=u.tiledMemberPack[p].height})},d.prototype.tileNodes=function(s,h){var u=a.TILING_PADDING_VERTICAL,p=a.TILING_PADDING_HORIZONTAL,A={rows:[],rowWidth:[],rowHeight:[],width:0,height:h,verticalPadding:u,horizontalPadding:p};s.sort(function(x,_){return x.rect.width*x.rect.height>_.rect.width*_.rect.height?-1:x.rect.width*x.rect.height<_.rect.width*_.rect.height?1:0});for(var C=0;C0&&(R+=s.horizontalPadding),s.rowWidth[u]=R,s.width0&&(x+=s.verticalPadding);var _=0;x>s.rowHeight[u]&&(_=s.rowHeight[u],s.rowHeight[u]=x,_=s.rowHeight[u]-_),s.height+=_,s.rows[u].push(h)},d.prototype.getShortestRowIndex=function(s){for(var h=-1,u=Number.MAX_VALUE,p=0;pu&&(h=p,u=s.rowWidth[p]);return h},d.prototype.canAddHorizontal=function(s,h,u){var p=this.getShortestRowIndex(s);if(p<0)return!0;var A=s.rowWidth[p];if(A+s.horizontalPadding+h<=s.width)return!0;var C=0;s.rowHeight[p]0&&(C=u+s.verticalPadding-s.rowHeight[p]);var R;s.width-A>=h+s.horizontalPadding?R=(s.height+C)/(A+h+s.horizontalPadding):R=(s.height+C)/s.width,C=u+s.verticalPadding;var x;return s.widthC&&h!=u){p.splice(-1,1),s.rows[u].push(A),s.rowWidth[h]=s.rowWidth[h]-C,s.rowWidth[u]=s.rowWidth[u]+C,s.width=s.rowWidth[instance.getLongestRowIndex(s)];for(var R=Number.MIN_VALUE,x=0;xR&&(R=p[x].height);h>0&&(R+=s.verticalPadding);var _=s.rowHeight[h]+s.rowHeight[u];s.rowHeight[h]=R,s.rowHeight[u]0)for(var F=A;F<=C;F++)G[0]+=this.grid[F][R-1].length+this.grid[F][R].length-1;if(C0)for(var F=R;F<=x;F++)G[3]+=this.grid[A-1][F].length+this.grid[A][F].length-1;for(var b=T.MAX_VALUE,Y,k,H=0;H0){var x;x=O.getGraphManager().add(O.newGraph(),u),this.processChildrenList(x,h,O)}}},l.prototype.stop=function(){return this.stopped=!0,this};var T=function(L){L("layout","cose-bilkent",l)};typeof cytoscape<"u"&&T(cytoscape),m.exports=T}])})})(dt);var St=dt.exports;const Gt=Nt(St);var st=function(){var I=S(function(O,d,N,s){for(N=N||{},s=O.length;s--;N[O[s]]=d);return N},"o"),w=[1,4],f=[1,13],m=[1,12],y=[1,15],r=[1,16],t=[1,20],e=[1,19],i=[6,7,8],o=[1,26],g=[1,24],a=[1,25],v=[6,7,11],n=[1,6,13,15,16,19,22],c=[1,33],l=[1,34],E=[1,6,7,11,13,15,16,19,22],T={trace:S(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:S(function(d,N,s,h,u,p,A){var C=p.length-1;switch(u){case 6:case 7:return h;case 8:h.getLogger().trace("Stop NL ");break;case 9:h.getLogger().trace("Stop EOF ");break;case 11:h.getLogger().trace("Stop NL2 ");break;case 12:h.getLogger().trace("Stop EOF2 ");break;case 15:h.getLogger().info("Node: ",p[C].id),h.addNode(p[C-1].length,p[C].id,p[C].descr,p[C].type);break;case 16:h.getLogger().trace("Icon: ",p[C]),h.decorateNode({icon:p[C]});break;case 17:case 21:h.decorateNode({class:p[C]});break;case 18:h.getLogger().trace("SPACELIST");break;case 19:h.getLogger().trace("Node: ",p[C].id),h.addNode(0,p[C].id,p[C].descr,p[C].type);break;case 20:h.decorateNode({icon:p[C]});break;case 25:h.getLogger().trace("node found ..",p[C-2]),this.$={id:p[C-1],descr:p[C-1],type:h.getType(p[C-2],p[C])};break;case 26:this.$={id:p[C],descr:p[C],type:h.nodeType.DEFAULT};break;case 27:h.getLogger().trace("node found ..",p[C-3]),this.$={id:p[C-3],descr:p[C-1],type:h.getType(p[C-2],p[C])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:w},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:w},{6:f,7:[1,10],9:9,12:11,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},I(i,[2,3]),{1:[2,2]},I(i,[2,4]),I(i,[2,5]),{1:[2,6],6:f,12:21,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},{6:f,9:22,12:11,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},{6:o,7:g,10:23,11:a},I(v,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:t,22:e}),I(v,[2,18]),I(v,[2,19]),I(v,[2,20]),I(v,[2,21]),I(v,[2,23]),I(v,[2,24]),I(v,[2,26],{19:[1,30]}),{20:[1,31]},{6:o,7:g,10:32,11:a},{1:[2,7],6:f,12:21,13:m,14:14,15:y,16:r,17:17,18:18,19:t,22:e},I(n,[2,14],{7:c,11:l}),I(E,[2,8]),I(E,[2,9]),I(E,[2,10]),I(v,[2,15]),I(v,[2,16]),I(v,[2,17]),{20:[1,35]},{21:[1,36]},I(n,[2,13],{7:c,11:l}),I(E,[2,11]),I(E,[2,12]),{21:[1,37]},I(v,[2,25]),I(v,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:S(function(d,N){if(N.recoverable)this.trace(d);else{var s=new Error(d);throw s.hash=N,s}},"parseError"),parse:S(function(d){var N=this,s=[0],h=[],u=[null],p=[],A=this.table,C="",R=0,x=0,_=2,U=1,X=p.slice.call(arguments,1),M=Object.create(this.lexer),G={yy:{}};for(var F in this.yy)Object.prototype.hasOwnProperty.call(this.yy,F)&&(G.yy[F]=this.yy[F]);M.setInput(d,G.yy),G.yy.lexer=M,G.yy.parser=this,typeof M.yylloc>"u"&&(M.yylloc={});var b=M.yylloc;p.push(b);var Y=M.options&&M.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function k(V){s.length=s.length-2*V,u.length=u.length-V,p.length=p.length-V}S(k,"popStack");function H(){var V;return V=h.pop()||M.lex()||U,typeof V!="number"&&(V instanceof Array&&(h=V,V=h.pop()),V=N.symbols_[V]||V),V}S(H,"lex");for(var P,B,$,K,Q={},J,j,gt,q;;){if(B=s[s.length-1],this.defaultActions[B]?$=this.defaultActions[B]:((P===null||typeof P>"u")&&(P=H()),$=A[B]&&A[B][P]),typeof $>"u"||!$.length||!$[0]){var rt="";q=[];for(J in A[B])this.terminals_[J]&&J>_&&q.push("'"+this.terminals_[J]+"'");M.showPosition?rt="Parse error on line "+(R+1)+`: `+M.showPosition()+` Expecting `+q.join(", ")+", got '"+(this.terminals_[P]||P)+"'":rt="Parse error on line "+(R+1)+": Unexpected "+(P==U?"end of input":"'"+(this.terminals_[P]||P)+"'"),this.parseError(rt,{text:M.match,token:this.terminals_[P]||P,line:M.yylineno,loc:b,expected:q})}if($[0]instanceof Array&&$.length>1)throw new Error("Parse Error: multiple actions possible at state: "+B+", token: "+P);switch($[0]){case 1:s.push(P),u.push(M.yytext),p.push(M.yylloc),s.push($[1]),P=null,x=M.yyleng,C=M.yytext,R=M.yylineno,b=M.yylloc;break;case 2:if(j=this.productions_[$[1]][1],Q.$=u[u.length-j],Q._$={first_line:p[p.length-(j||1)].first_line,last_line:p[p.length-1].last_line,first_column:p[p.length-(j||1)].first_column,last_column:p[p.length-1].last_column},Y&&(Q._$.range=[p[p.length-(j||1)].range[0],p[p.length-1].range[1]]),K=this.performAction.apply(Q,[C,x,R,G.yy,$[1],u,p].concat(X)),typeof K<"u")return K;j&&(s=s.slice(0,-1*j*2),u=u.slice(0,-1*j),p=p.slice(0,-1*j)),s.push(this.productions_[$[1]][0]),u.push(Q.$),p.push(Q._$),gt=A[s[s.length-2]][s[s.length-1]],s.push(gt);break;case 3:return!0}}return!0},"parse")},D=function(){var O={EOF:1,parseError:S(function(N,s){if(this.yy.parser)this.yy.parser.parseError(N,s);else throw new Error(N)},"parseError"),setInput:S(function(d,N){return this.yy=N||this.yy||{},this._input=d,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:S(function(){var d=this._input[0];this.yytext+=d,this.yyleng++,this.offset++,this.match+=d,this.matched+=d;var N=d.match(/(?:\r\n?|\n).*/g);return N?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),d},"input"),unput:S(function(d){var N=d.length,s=d.split(/(?:\r\n?|\n)/g);this._input=d+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-N),this.offset-=N;var h=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1&&(this.yylineno-=s.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===h.length?this.yylloc.first_column:0)+h[h.length-s.length].length-s[0].length:this.yylloc.first_column-N},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-N]),this.yyleng=this.yytext.length,this},"unput"),more:S(function(){return this._more=!0,this},"more"),reject:S(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:S(function(d){this.unput(this.match.slice(d))},"less"),pastInput:S(function(){var d=this.matched.substr(0,this.matched.length-this.match.length);return(d.length>20?"...":"")+d.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:S(function(){var d=this.match;return d.length<20&&(d+=this._input.substr(0,20-d.length)),(d.substr(0,20)+(d.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:S(function(){var d=this.pastInput(),N=new Array(d.length+1).join("-");return d+this.upcomingInput()+` diff --git a/assets/pieDiagram-YF2LJOPJ-BEpyx4VT.js b/assets/pieDiagram-YF2LJOPJ-DGRy5v3C.js similarity index 93% rename from assets/pieDiagram-YF2LJOPJ-BEpyx4VT.js rename to assets/pieDiagram-YF2LJOPJ-DGRy5v3C.js index 1238fd58a..40587aaae 100644 --- a/assets/pieDiagram-YF2LJOPJ-BEpyx4VT.js +++ b/assets/pieDiagram-YF2LJOPJ-DGRy5v3C.js @@ -1,4 +1,4 @@ -import{p as U}from"./chunk-TMUBEWPD-DKkhX1hR.js";import{aa as y,a2 as G,aG as j,B as q,p as Z,q as H,s as J,g as K,c as Q,b as X,_ as p,l as z,v as Y,d as tt,C as et,G as at,O as rt,k as nt}from"./index-Dq-yb_Rq.js";import{p as it}from"./gitGraph-YCYPL57B-DpeDajKN.js";import{d as P}from"./arc-CLrr7Muw.js";import{o as st}from"./ordinal-Cboi1Yqb.js";import"./_baseUniq-4k_gUsXm.js";import"./_basePickBy-DFtYmPO_.js";import"./clone-BJk3Zf2Y.js";import"./init-Gi6I4Gst.js";function ot(t,a){return at?1:a>=t?0:NaN}function lt(t){return t}function ct(){var t=lt,a=ot,m=null,o=y(0),g=y(G),x=y(0);function i(e){var r,l=(e=j(e)).length,c,A,h=0,u=new Array(l),n=new Array(l),v=+o.apply(this,arguments),w=Math.min(G,Math.max(-G,g.apply(this,arguments)-v)),f,T=Math.min(Math.abs(w)/l,x.apply(this,arguments)),$=T*(w<0?-1:1),d;for(r=0;r0&&(h+=d);for(a!=null?u.sort(function(S,C){return a(n[S],n[C])}):m!=null&&u.sort(function(S,C){return m(e[S],e[C])}),r=0,A=h?(w-l*$)/h:0;r0?d*A:0)+$,n[c]={data:e[c],index:r,value:d,startAngle:v,endAngle:f,padAngle:T};return n}return i.value=function(e){return arguments.length?(t=typeof e=="function"?e:y(+e),i):t},i.sortValues=function(e){return arguments.length?(a=e,m=null,i):a},i.sort=function(e){return arguments.length?(m=e,a=null,i):m},i.startAngle=function(e){return arguments.length?(o=typeof e=="function"?e:y(+e),i):o},i.endAngle=function(e){return arguments.length?(g=typeof e=="function"?e:y(+e),i):g},i.padAngle=function(e){return arguments.length?(x=typeof e=="function"?e:y(+e),i):x},i}var R=q.pie,F={sections:new Map,showData:!1,config:R},b=F.sections,O=F.showData,ut=structuredClone(R),pt=p(()=>structuredClone(ut),"getConfig"),gt=p(()=>{b=new Map,O=F.showData,Y()},"clear"),dt=p(({label:t,value:a})=>{b.has(t)||(b.set(t,a),z.debug(`added new section: ${t}, with value: ${a}`))},"addSection"),ft=p(()=>b,"getSections"),mt=p(t=>{O=t},"setShowData"),ht=p(()=>O,"getShowData"),I={getConfig:pt,clear:gt,setDiagramTitle:Z,getDiagramTitle:H,setAccTitle:J,getAccTitle:K,setAccDescription:Q,getAccDescription:X,addSection:dt,getSections:ft,setShowData:mt,getShowData:ht},vt=p((t,a)=>{U(t,a),a.setShowData(t.showData),t.sections.map(a.addSection)},"populateDb"),St={parse:p(async t=>{const a=await it("pie",t);z.debug(a),vt(a,I)},"parse")},yt=p(t=>` +import{p as U}from"./chunk-TMUBEWPD-DJMHR1yx.js";import{aa as y,a2 as G,aG as j,B as q,p as Z,q as H,s as J,g as K,c as Q,b as X,_ as p,l as z,v as Y,d as tt,C as et,G as at,O as rt,k as nt}from"./index-BxMsVRSP.js";import{p as it}from"./gitGraph-YCYPL57B-XVjt0la2.js";import{d as P}from"./arc-B3F-a6Ej.js";import{o as st}from"./ordinal-Cboi1Yqb.js";import"./_baseUniq-QkQtF8Yx.js";import"./_basePickBy-DAcC5mcM.js";import"./clone-BKg_06cU.js";import"./init-Gi6I4Gst.js";function ot(t,a){return at?1:a>=t?0:NaN}function lt(t){return t}function ct(){var t=lt,a=ot,m=null,o=y(0),g=y(G),x=y(0);function i(e){var r,l=(e=j(e)).length,c,A,h=0,u=new Array(l),n=new Array(l),v=+o.apply(this,arguments),w=Math.min(G,Math.max(-G,g.apply(this,arguments)-v)),f,T=Math.min(Math.abs(w)/l,x.apply(this,arguments)),$=T*(w<0?-1:1),d;for(r=0;r0&&(h+=d);for(a!=null?u.sort(function(S,C){return a(n[S],n[C])}):m!=null&&u.sort(function(S,C){return m(e[S],e[C])}),r=0,A=h?(w-l*$)/h:0;r0?d*A:0)+$,n[c]={data:e[c],index:r,value:d,startAngle:v,endAngle:f,padAngle:T};return n}return i.value=function(e){return arguments.length?(t=typeof e=="function"?e:y(+e),i):t},i.sortValues=function(e){return arguments.length?(a=e,m=null,i):a},i.sort=function(e){return arguments.length?(m=e,a=null,i):m},i.startAngle=function(e){return arguments.length?(o=typeof e=="function"?e:y(+e),i):o},i.endAngle=function(e){return arguments.length?(g=typeof e=="function"?e:y(+e),i):g},i.padAngle=function(e){return arguments.length?(x=typeof e=="function"?e:y(+e),i):x},i}var R=q.pie,F={sections:new Map,showData:!1,config:R},b=F.sections,O=F.showData,ut=structuredClone(R),pt=p(()=>structuredClone(ut),"getConfig"),gt=p(()=>{b=new Map,O=F.showData,Y()},"clear"),dt=p(({label:t,value:a})=>{b.has(t)||(b.set(t,a),z.debug(`added new section: ${t}, with value: ${a}`))},"addSection"),ft=p(()=>b,"getSections"),mt=p(t=>{O=t},"setShowData"),ht=p(()=>O,"getShowData"),I={getConfig:pt,clear:gt,setDiagramTitle:Z,getDiagramTitle:H,setAccTitle:J,getAccTitle:K,setAccDescription:Q,getAccDescription:X,addSection:dt,getSections:ft,setShowData:mt,getShowData:ht},vt=p((t,a)=>{U(t,a),a.setShowData(t.showData),t.sections.map(a.addSection)},"populateDb"),St={parse:p(async t=>{const a=await it("pie",t);z.debug(a),vt(a,I)},"parse")},yt=p(t=>` .pieCircle{ stroke: ${t.pieStrokeColor}; stroke-width : ${t.pieStrokeWidth}; diff --git a/assets/quadrantDiagram-OS5C2QUG-CdtJmL4_.js b/assets/quadrantDiagram-OS5C2QUG-IN1gHsx9.js similarity index 99% rename from assets/quadrantDiagram-OS5C2QUG-CdtJmL4_.js rename to assets/quadrantDiagram-OS5C2QUG-IN1gHsx9.js index 7ca32e8ea..bcccd707d 100644 --- a/assets/quadrantDiagram-OS5C2QUG-CdtJmL4_.js +++ b/assets/quadrantDiagram-OS5C2QUG-IN1gHsx9.js @@ -1,4 +1,4 @@ -import{_ as o,I as _e,B as D,l as At,d as wt,i as Ae,q as ie,s as ke,g as Fe,p as Pe,b as ve,c as Ce,v as Le,j as zt,k as Ee}from"./index-Dq-yb_Rq.js";import{l as ee}from"./linear-CcPs0ftO.js";import"./init-Gi6I4Gst.js";var Vt=function(){var t=o(function(j,r,l,g){for(l=l||{},g=j.length;g--;l[j[g]]=r);return l},"o"),n=[1,3],u=[1,4],c=[1,5],h=[1,6],p=[1,7],y=[1,4,5,10,12,13,14,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],S=[1,4,5,10,12,13,14,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],a=[55,56,57],A=[2,36],d=[1,37],T=[1,36],q=[1,38],m=[1,35],b=[1,43],x=[1,41],O=[1,14],Y=[1,23],G=[1,18],yt=[1,19],Tt=[1,20],dt=[1,21],Ft=[1,22],ut=[1,24],xt=[1,25],ft=[1,26],gt=[1,27],i=[1,28],Bt=[1,29],W=[1,32],U=[1,33],k=[1,34],F=[1,39],P=[1,40],v=[1,42],C=[1,44],H=[1,62],X=[1,61],L=[4,5,8,10,12,13,14,18,44,47,49,55,56,57,63,64,65,66,67],Rt=[1,65],Nt=[1,66],Wt=[1,67],Ut=[1,68],Qt=[1,69],Ot=[1,70],Ht=[1,71],Xt=[1,72],Mt=[1,73],Yt=[1,74],jt=[1,75],Gt=[1,76],I=[4,5,6,7,8,9,10,11,12,13,14,15,18],J=[1,90],$=[1,91],tt=[1,92],et=[1,99],it=[1,93],at=[1,96],nt=[1,94],st=[1,95],rt=[1,97],ot=[1,98],Pt=[1,102],Kt=[10,55,56,57],R=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],vt={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:o(function(r,l,g,f,_,e,pt){var s=e.length-1;switch(_){case 23:this.$=e[s];break;case 24:this.$=e[s-1]+""+e[s];break;case 26:this.$=e[s-1]+e[s];break;case 27:this.$=[e[s].trim()];break;case 28:e[s-2].push(e[s].trim()),this.$=e[s-2];break;case 29:this.$=e[s-4],f.addClass(e[s-2],e[s]);break;case 37:this.$=[];break;case 42:this.$=e[s].trim(),f.setDiagramTitle(this.$);break;case 43:this.$=e[s].trim(),f.setAccTitle(this.$);break;case 44:case 45:this.$=e[s].trim(),f.setAccDescription(this.$);break;case 46:f.addSection(e[s].substr(8)),this.$=e[s].substr(8);break;case 47:f.addPoint(e[s-3],"",e[s-1],e[s],[]);break;case 48:f.addPoint(e[s-4],e[s-3],e[s-1],e[s],[]);break;case 49:f.addPoint(e[s-4],"",e[s-2],e[s-1],e[s]);break;case 50:f.addPoint(e[s-5],e[s-4],e[s-2],e[s-1],e[s]);break;case 51:f.setXAxisLeftText(e[s-2]),f.setXAxisRightText(e[s]);break;case 52:e[s-1].text+=" ⟶ ",f.setXAxisLeftText(e[s-1]);break;case 53:f.setXAxisLeftText(e[s]);break;case 54:f.setYAxisBottomText(e[s-2]),f.setYAxisTopText(e[s]);break;case 55:e[s-1].text+=" ⟶ ",f.setYAxisBottomText(e[s-1]);break;case 56:f.setYAxisBottomText(e[s]);break;case 57:f.setQuadrant1Text(e[s]);break;case 58:f.setQuadrant2Text(e[s]);break;case 59:f.setQuadrant3Text(e[s]);break;case 60:f.setQuadrant4Text(e[s]);break;case 64:this.$={text:e[s],type:"text"};break;case 65:this.$={text:e[s-1].text+""+e[s],type:e[s-1].type};break;case 66:this.$={text:e[s],type:"text"};break;case 67:this.$={text:e[s],type:"markdown"};break;case 68:this.$=e[s];break;case 69:this.$=e[s-1]+""+e[s];break}},"anonymous"),table:[{18:n,26:1,27:2,28:u,55:c,56:h,57:p},{1:[3]},{18:n,26:8,27:2,28:u,55:c,56:h,57:p},{18:n,26:9,27:2,28:u,55:c,56:h,57:p},t(y,[2,33],{29:10}),t(S,[2,61]),t(S,[2,62]),t(S,[2,63]),{1:[2,30]},{1:[2,31]},t(a,A,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:d,5:T,10:q,12:m,13:b,14:x,18:O,25:Y,35:G,37:yt,39:Tt,41:dt,42:Ft,48:ut,50:xt,51:ft,52:gt,53:i,54:Bt,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),t(y,[2,34]),{27:45,55:c,56:h,57:p},t(a,[2,37]),t(a,A,{24:13,32:15,33:16,34:17,43:30,58:31,31:46,4:d,5:T,10:q,12:m,13:b,14:x,18:O,25:Y,35:G,37:yt,39:Tt,41:dt,42:Ft,48:ut,50:xt,51:ft,52:gt,53:i,54:Bt,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),t(a,[2,39]),t(a,[2,40]),t(a,[2,41]),{36:[1,47]},{38:[1,48]},{40:[1,49]},t(a,[2,45]),t(a,[2,46]),{18:[1,50]},{4:d,5:T,10:q,12:m,13:b,14:x,43:51,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:52,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:53,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:54,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:55,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:56,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,44:[1,57],47:[1,58],58:60,59:59,63:k,64:F,65:P,66:v,67:C},t(L,[2,64]),t(L,[2,66]),t(L,[2,67]),t(L,[2,70]),t(L,[2,71]),t(L,[2,72]),t(L,[2,73]),t(L,[2,74]),t(L,[2,75]),t(L,[2,76]),t(L,[2,77]),t(L,[2,78]),t(L,[2,79]),t(L,[2,80]),t(y,[2,35]),t(a,[2,38]),t(a,[2,42]),t(a,[2,43]),t(a,[2,44]),{3:64,4:Rt,5:Nt,6:Wt,7:Ut,8:Qt,9:Ot,10:Ht,11:Xt,12:Mt,13:Yt,14:jt,15:Gt,21:63},t(a,[2,53],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,49:[1,77],63:k,64:F,65:P,66:v,67:C}),t(a,[2,56],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,49:[1,78],63:k,64:F,65:P,66:v,67:C}),t(a,[2,57],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,58],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,59],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,60],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),{45:[1,79]},{44:[1,80]},t(L,[2,65]),t(L,[2,81]),t(L,[2,82]),t(L,[2,83]),{3:82,4:Rt,5:Nt,6:Wt,7:Ut,8:Qt,9:Ot,10:Ht,11:Xt,12:Mt,13:Yt,14:jt,15:Gt,18:[1,81]},t(I,[2,23]),t(I,[2,1]),t(I,[2,2]),t(I,[2,3]),t(I,[2,4]),t(I,[2,5]),t(I,[2,6]),t(I,[2,7]),t(I,[2,8]),t(I,[2,9]),t(I,[2,10]),t(I,[2,11]),t(I,[2,12]),t(a,[2,52],{58:31,43:83,4:d,5:T,10:q,12:m,13:b,14:x,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),t(a,[2,55],{58:31,43:84,4:d,5:T,10:q,12:m,13:b,14:x,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),{46:[1,85]},{45:[1,86]},{4:J,5:$,6:tt,8:et,11:it,13:at,16:89,17:nt,18:st,19:rt,20:ot,22:88,23:87},t(I,[2,24]),t(a,[2,51],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,54],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,47],{22:88,16:89,23:100,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),{46:[1,101]},t(a,[2,29],{10:Pt}),t(Kt,[2,27],{16:103,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),t(R,[2,25]),t(R,[2,13]),t(R,[2,14]),t(R,[2,15]),t(R,[2,16]),t(R,[2,17]),t(R,[2,18]),t(R,[2,19]),t(R,[2,20]),t(R,[2,21]),t(R,[2,22]),t(a,[2,49],{10:Pt}),t(a,[2,48],{22:88,16:89,23:104,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),{4:J,5:$,6:tt,8:et,11:it,13:at,16:89,17:nt,18:st,19:rt,20:ot,22:105},t(R,[2,26]),t(a,[2,50],{10:Pt}),t(Kt,[2,28],{16:103,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot})],defaultActions:{8:[2,30],9:[2,31]},parseError:o(function(r,l){if(l.recoverable)this.trace(r);else{var g=new Error(r);throw g.hash=l,g}},"parseError"),parse:o(function(r){var l=this,g=[0],f=[],_=[null],e=[],pt=this.table,s="",mt=0,Zt=0,qe=2,Jt=1,me=e.slice.call(arguments,1),E=Object.create(this.lexer),K={yy:{}};for(var Ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ct)&&(K.yy[Ct]=this.yy[Ct]);E.setInput(r,K.yy),K.yy.lexer=E,K.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var Lt=E.yylloc;e.push(Lt);var be=E.options&&E.options.ranges;typeof K.yy.parseError=="function"?this.parseError=K.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Se(B){g.length=g.length-2*B,_.length=_.length-B,e.length=e.length-B}o(Se,"popStack");function $t(){var B;return B=f.pop()||E.lex()||Jt,typeof B!="number"&&(B instanceof Array&&(f=B,B=f.pop()),B=l.symbols_[B]||B),B}o($t,"lex");for(var w,Z,N,Et,lt={},bt,M,te,St;;){if(Z=g[g.length-1],this.defaultActions[Z]?N=this.defaultActions[Z]:((w===null||typeof w>"u")&&(w=$t()),N=pt[Z]&&pt[Z][w]),typeof N>"u"||!N.length||!N[0]){var Dt="";St=[];for(bt in pt[Z])this.terminals_[bt]&&bt>qe&&St.push("'"+this.terminals_[bt]+"'");E.showPosition?Dt="Parse error on line "+(mt+1)+`: +import{_ as o,I as _e,B as D,l as At,d as wt,i as Ae,q as ie,s as ke,g as Fe,p as Pe,b as ve,c as Ce,v as Le,j as zt,k as Ee}from"./index-BxMsVRSP.js";import{l as ee}from"./linear-BP5rAFKr.js";import"./init-Gi6I4Gst.js";var Vt=function(){var t=o(function(j,r,l,g){for(l=l||{},g=j.length;g--;l[j[g]]=r);return l},"o"),n=[1,3],u=[1,4],c=[1,5],h=[1,6],p=[1,7],y=[1,4,5,10,12,13,14,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],S=[1,4,5,10,12,13,14,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],a=[55,56,57],A=[2,36],d=[1,37],T=[1,36],q=[1,38],m=[1,35],b=[1,43],x=[1,41],O=[1,14],Y=[1,23],G=[1,18],yt=[1,19],Tt=[1,20],dt=[1,21],Ft=[1,22],ut=[1,24],xt=[1,25],ft=[1,26],gt=[1,27],i=[1,28],Bt=[1,29],W=[1,32],U=[1,33],k=[1,34],F=[1,39],P=[1,40],v=[1,42],C=[1,44],H=[1,62],X=[1,61],L=[4,5,8,10,12,13,14,18,44,47,49,55,56,57,63,64,65,66,67],Rt=[1,65],Nt=[1,66],Wt=[1,67],Ut=[1,68],Qt=[1,69],Ot=[1,70],Ht=[1,71],Xt=[1,72],Mt=[1,73],Yt=[1,74],jt=[1,75],Gt=[1,76],I=[4,5,6,7,8,9,10,11,12,13,14,15,18],J=[1,90],$=[1,91],tt=[1,92],et=[1,99],it=[1,93],at=[1,96],nt=[1,94],st=[1,95],rt=[1,97],ot=[1,98],Pt=[1,102],Kt=[10,55,56,57],R=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],vt={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:o(function(r,l,g,f,_,e,pt){var s=e.length-1;switch(_){case 23:this.$=e[s];break;case 24:this.$=e[s-1]+""+e[s];break;case 26:this.$=e[s-1]+e[s];break;case 27:this.$=[e[s].trim()];break;case 28:e[s-2].push(e[s].trim()),this.$=e[s-2];break;case 29:this.$=e[s-4],f.addClass(e[s-2],e[s]);break;case 37:this.$=[];break;case 42:this.$=e[s].trim(),f.setDiagramTitle(this.$);break;case 43:this.$=e[s].trim(),f.setAccTitle(this.$);break;case 44:case 45:this.$=e[s].trim(),f.setAccDescription(this.$);break;case 46:f.addSection(e[s].substr(8)),this.$=e[s].substr(8);break;case 47:f.addPoint(e[s-3],"",e[s-1],e[s],[]);break;case 48:f.addPoint(e[s-4],e[s-3],e[s-1],e[s],[]);break;case 49:f.addPoint(e[s-4],"",e[s-2],e[s-1],e[s]);break;case 50:f.addPoint(e[s-5],e[s-4],e[s-2],e[s-1],e[s]);break;case 51:f.setXAxisLeftText(e[s-2]),f.setXAxisRightText(e[s]);break;case 52:e[s-1].text+=" ⟶ ",f.setXAxisLeftText(e[s-1]);break;case 53:f.setXAxisLeftText(e[s]);break;case 54:f.setYAxisBottomText(e[s-2]),f.setYAxisTopText(e[s]);break;case 55:e[s-1].text+=" ⟶ ",f.setYAxisBottomText(e[s-1]);break;case 56:f.setYAxisBottomText(e[s]);break;case 57:f.setQuadrant1Text(e[s]);break;case 58:f.setQuadrant2Text(e[s]);break;case 59:f.setQuadrant3Text(e[s]);break;case 60:f.setQuadrant4Text(e[s]);break;case 64:this.$={text:e[s],type:"text"};break;case 65:this.$={text:e[s-1].text+""+e[s],type:e[s-1].type};break;case 66:this.$={text:e[s],type:"text"};break;case 67:this.$={text:e[s],type:"markdown"};break;case 68:this.$=e[s];break;case 69:this.$=e[s-1]+""+e[s];break}},"anonymous"),table:[{18:n,26:1,27:2,28:u,55:c,56:h,57:p},{1:[3]},{18:n,26:8,27:2,28:u,55:c,56:h,57:p},{18:n,26:9,27:2,28:u,55:c,56:h,57:p},t(y,[2,33],{29:10}),t(S,[2,61]),t(S,[2,62]),t(S,[2,63]),{1:[2,30]},{1:[2,31]},t(a,A,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:d,5:T,10:q,12:m,13:b,14:x,18:O,25:Y,35:G,37:yt,39:Tt,41:dt,42:Ft,48:ut,50:xt,51:ft,52:gt,53:i,54:Bt,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),t(y,[2,34]),{27:45,55:c,56:h,57:p},t(a,[2,37]),t(a,A,{24:13,32:15,33:16,34:17,43:30,58:31,31:46,4:d,5:T,10:q,12:m,13:b,14:x,18:O,25:Y,35:G,37:yt,39:Tt,41:dt,42:Ft,48:ut,50:xt,51:ft,52:gt,53:i,54:Bt,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),t(a,[2,39]),t(a,[2,40]),t(a,[2,41]),{36:[1,47]},{38:[1,48]},{40:[1,49]},t(a,[2,45]),t(a,[2,46]),{18:[1,50]},{4:d,5:T,10:q,12:m,13:b,14:x,43:51,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:52,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:53,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:54,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:55,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,10:q,12:m,13:b,14:x,43:56,58:31,60:W,61:U,63:k,64:F,65:P,66:v,67:C},{4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,44:[1,57],47:[1,58],58:60,59:59,63:k,64:F,65:P,66:v,67:C},t(L,[2,64]),t(L,[2,66]),t(L,[2,67]),t(L,[2,70]),t(L,[2,71]),t(L,[2,72]),t(L,[2,73]),t(L,[2,74]),t(L,[2,75]),t(L,[2,76]),t(L,[2,77]),t(L,[2,78]),t(L,[2,79]),t(L,[2,80]),t(y,[2,35]),t(a,[2,38]),t(a,[2,42]),t(a,[2,43]),t(a,[2,44]),{3:64,4:Rt,5:Nt,6:Wt,7:Ut,8:Qt,9:Ot,10:Ht,11:Xt,12:Mt,13:Yt,14:jt,15:Gt,21:63},t(a,[2,53],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,49:[1,77],63:k,64:F,65:P,66:v,67:C}),t(a,[2,56],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,49:[1,78],63:k,64:F,65:P,66:v,67:C}),t(a,[2,57],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,58],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,59],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,60],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),{45:[1,79]},{44:[1,80]},t(L,[2,65]),t(L,[2,81]),t(L,[2,82]),t(L,[2,83]),{3:82,4:Rt,5:Nt,6:Wt,7:Ut,8:Qt,9:Ot,10:Ht,11:Xt,12:Mt,13:Yt,14:jt,15:Gt,18:[1,81]},t(I,[2,23]),t(I,[2,1]),t(I,[2,2]),t(I,[2,3]),t(I,[2,4]),t(I,[2,5]),t(I,[2,6]),t(I,[2,7]),t(I,[2,8]),t(I,[2,9]),t(I,[2,10]),t(I,[2,11]),t(I,[2,12]),t(a,[2,52],{58:31,43:83,4:d,5:T,10:q,12:m,13:b,14:x,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),t(a,[2,55],{58:31,43:84,4:d,5:T,10:q,12:m,13:b,14:x,60:W,61:U,63:k,64:F,65:P,66:v,67:C}),{46:[1,85]},{45:[1,86]},{4:J,5:$,6:tt,8:et,11:it,13:at,16:89,17:nt,18:st,19:rt,20:ot,22:88,23:87},t(I,[2,24]),t(a,[2,51],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,54],{59:59,58:60,4:d,5:T,8:H,10:q,12:m,13:b,14:x,18:X,63:k,64:F,65:P,66:v,67:C}),t(a,[2,47],{22:88,16:89,23:100,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),{46:[1,101]},t(a,[2,29],{10:Pt}),t(Kt,[2,27],{16:103,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),t(R,[2,25]),t(R,[2,13]),t(R,[2,14]),t(R,[2,15]),t(R,[2,16]),t(R,[2,17]),t(R,[2,18]),t(R,[2,19]),t(R,[2,20]),t(R,[2,21]),t(R,[2,22]),t(a,[2,49],{10:Pt}),t(a,[2,48],{22:88,16:89,23:104,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot}),{4:J,5:$,6:tt,8:et,11:it,13:at,16:89,17:nt,18:st,19:rt,20:ot,22:105},t(R,[2,26]),t(a,[2,50],{10:Pt}),t(Kt,[2,28],{16:103,4:J,5:$,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:ot})],defaultActions:{8:[2,30],9:[2,31]},parseError:o(function(r,l){if(l.recoverable)this.trace(r);else{var g=new Error(r);throw g.hash=l,g}},"parseError"),parse:o(function(r){var l=this,g=[0],f=[],_=[null],e=[],pt=this.table,s="",mt=0,Zt=0,qe=2,Jt=1,me=e.slice.call(arguments,1),E=Object.create(this.lexer),K={yy:{}};for(var Ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ct)&&(K.yy[Ct]=this.yy[Ct]);E.setInput(r,K.yy),K.yy.lexer=E,K.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var Lt=E.yylloc;e.push(Lt);var be=E.options&&E.options.ranges;typeof K.yy.parseError=="function"?this.parseError=K.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Se(B){g.length=g.length-2*B,_.length=_.length-B,e.length=e.length-B}o(Se,"popStack");function $t(){var B;return B=f.pop()||E.lex()||Jt,typeof B!="number"&&(B instanceof Array&&(f=B,B=f.pop()),B=l.symbols_[B]||B),B}o($t,"lex");for(var w,Z,N,Et,lt={},bt,M,te,St;;){if(Z=g[g.length-1],this.defaultActions[Z]?N=this.defaultActions[Z]:((w===null||typeof w>"u")&&(w=$t()),N=pt[Z]&&pt[Z][w]),typeof N>"u"||!N.length||!N[0]){var Dt="";St=[];for(bt in pt[Z])this.terminals_[bt]&&bt>qe&&St.push("'"+this.terminals_[bt]+"'");E.showPosition?Dt="Parse error on line "+(mt+1)+`: `+E.showPosition()+` Expecting `+St.join(", ")+", got '"+(this.terminals_[w]||w)+"'":Dt="Parse error on line "+(mt+1)+": Unexpected "+(w==Jt?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(Dt,{text:E.match,token:this.terminals_[w]||w,line:E.yylineno,loc:Lt,expected:St})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Z+", token: "+w);switch(N[0]){case 1:g.push(w),_.push(E.yytext),e.push(E.yylloc),g.push(N[1]),w=null,Zt=E.yyleng,s=E.yytext,mt=E.yylineno,Lt=E.yylloc;break;case 2:if(M=this.productions_[N[1]][1],lt.$=_[_.length-M],lt._$={first_line:e[e.length-(M||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(M||1)].first_column,last_column:e[e.length-1].last_column},be&&(lt._$.range=[e[e.length-(M||1)].range[0],e[e.length-1].range[1]]),Et=this.performAction.apply(lt,[s,Zt,mt,K.yy,N[1],_,e].concat(me)),typeof Et<"u")return Et;M&&(g=g.slice(0,-1*M*2),_=_.slice(0,-1*M),e=e.slice(0,-1*M)),g.push(this.productions_[N[1]][0]),_.push(lt.$),e.push(lt._$),te=pt[g[g.length-2]][g[g.length-1]],g.push(te);break;case 3:return!0}}return!0},"parse")},Te=function(){var j={EOF:1,parseError:o(function(l,g){if(this.yy.parser)this.yy.parser.parseError(l,g);else throw new Error(l)},"parseError"),setInput:o(function(r,l){return this.yy=l||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var l=r.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:o(function(r){var l=r.length,g=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var f=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),g.length-1&&(this.yylineno-=g.length-1);var _=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:g?(g.length===f.length?this.yylloc.first_column:0)+f[f.length-g.length].length-g[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(r){this.unput(this.match.slice(r))},"less"),pastInput:o(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var r=this.pastInput(),l=new Array(r.length+1).join("-");return r+this.upcomingInput()+` diff --git a/assets/requirementDiagram-MIRIMTAZ-BBKXnwh3.js b/assets/requirementDiagram-MIRIMTAZ-X82VVPdG.js similarity index 99% rename from assets/requirementDiagram-MIRIMTAZ-BBKXnwh3.js rename to assets/requirementDiagram-MIRIMTAZ-X82VVPdG.js index 4d3f3fad3..95fb436ac 100644 --- a/assets/requirementDiagram-MIRIMTAZ-BBKXnwh3.js +++ b/assets/requirementDiagram-MIRIMTAZ-X82VVPdG.js @@ -1,4 +1,4 @@ -import{_ as r,d as ve,s as Fe,g as De,c as Pe,b as Ye,l as xe,v as Ue,j as ce,k as Be,K as Qe,e as Te}from"./index-Dq-yb_Rq.js";import{G as He}from"./graph-IuN8xJxa.js";import{l as We}from"./layout-DmYEI147.js";import"./_baseUniq-4k_gUsXm.js";import"./_basePickBy-DFtYmPO_.js";var he=function(){var e=r(function($,i,a,l){for(a=a||{},l=$.length;l--;a[$[l]]=i);return a},"o"),t=[1,3],c=[1,4],d=[1,5],u=[1,6],p=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],y=[1,18],h=[2,7],o=[1,22],g=[1,23],R=[1,24],I=[1,25],b=[1,26],w=[1,27],q=[1,20],v=[1,28],A=[1,29],F=[62,63],pe=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],fe=[1,47],ye=[1,48],_e=[1,49],ge=[1,50],Ee=[1,51],Re=[1,52],me=[1,53],O=[53,54],D=[1,64],P=[1,60],Y=[1,61],U=[1,62],B=[1,63],Q=[1,65],j=[1,69],X=[1,70],J=[1,67],Z=[1,68],S=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],ne={trace:r(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:r(function(i,a,l,n,f,s,K){var E=s.length-1;switch(f){case 4:this.$=s[E].trim(),n.setAccTitle(this.$);break;case 5:case 6:this.$=s[E].trim(),n.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:n.addRequirement(s[E-3],s[E-4]);break;case 14:n.setNewReqId(s[E-2]);break;case 15:n.setNewReqText(s[E-2]);break;case 16:n.setNewReqRisk(s[E-2]);break;case 17:n.setNewReqVerifyMethod(s[E-2]);break;case 20:this.$=n.RequirementType.REQUIREMENT;break;case 21:this.$=n.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=n.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=n.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=n.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=n.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=n.RiskLevel.LOW_RISK;break;case 27:this.$=n.RiskLevel.MED_RISK;break;case 28:this.$=n.RiskLevel.HIGH_RISK;break;case 29:this.$=n.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=n.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=n.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=n.VerifyType.VERIFY_TEST;break;case 33:n.addElement(s[E-3]);break;case 34:n.setNewElementType(s[E-2]);break;case 35:n.setNewElementDocRef(s[E-2]);break;case 38:n.addRelationship(s[E-2],s[E],s[E-4]);break;case 39:n.addRelationship(s[E-2],s[E-4],s[E]);break;case 40:this.$=n.Relationships.CONTAINS;break;case 41:this.$=n.Relationships.COPIES;break;case 42:this.$=n.Relationships.DERIVES;break;case 43:this.$=n.Relationships.SATISFIES;break;case 44:this.$=n.Relationships.VERIFIES;break;case 45:this.$=n.Relationships.REFINES;break;case 46:this.$=n.Relationships.TRACES;break}},"anonymous"),table:[{3:1,4:2,6:t,9:c,11:d,13:u},{1:[3]},{3:8,4:2,5:[1,7],6:t,9:c,11:d,13:u},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(p,[2,6]),{3:12,4:2,6:t,9:c,11:d,13:u},{1:[2,2]},{4:17,5:y,7:13,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},e(p,[2,4]),e(p,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:y,7:31,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:32,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:33,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:34,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:35,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},e(F,[2,20]),e(F,[2,21]),e(F,[2,22]),e(F,[2,23]),e(F,[2,24]),e(F,[2,25]),e(pe,[2,49]),e(pe,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:fe,56:ye,57:_e,58:ge,59:Ee,60:Re,61:me},{52:54,55:fe,56:ye,57:_e,58:ge,59:Ee,60:Re,61:me},{5:[1,55]},{5:[1,56]},{53:[1,57]},e(O,[2,40]),e(O,[2,41]),e(O,[2,42]),e(O,[2,43]),e(O,[2,44]),e(O,[2,45]),e(O,[2,46]),{54:[1,58]},{5:D,20:59,21:P,24:Y,26:U,28:B,30:Q},{5:j,30:X,46:66,47:J,49:Z},{23:71,62:v,63:A},{23:72,62:v,63:A},e(S,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:D,20:77,21:P,24:Y,26:U,28:B,30:Q},e(S,[2,19]),e(S,[2,33]),{22:[1,78]},{22:[1,79]},{5:j,30:X,46:80,47:J,49:Z},e(S,[2,37]),e(S,[2,38]),e(S,[2,39]),{23:81,62:v,63:A},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},e(S,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},e(S,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:D,20:106,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:107,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:108,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:109,21:P,24:Y,26:U,28:B,30:Q},{5:j,30:X,46:110,47:J,49:Z},{5:j,30:X,46:111,47:J,49:Z},e(S,[2,14]),e(S,[2,15]),e(S,[2,16]),e(S,[2,17]),e(S,[2,34]),e(S,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:r(function(i,a){if(a.recoverable)this.trace(i);else{var l=new Error(i);throw l.hash=a,l}},"parseError"),parse:r(function(i){var a=this,l=[0],n=[],f=[null],s=[],K=this.table,E="",te=0,Ie=0,Le=2,be=1,Oe=s.slice.call(arguments,1),m=Object.create(this.lexer),C={yy:{}};for(var se in this.yy)Object.prototype.hasOwnProperty.call(this.yy,se)&&(C.yy[se]=this.yy[se]);m.setInput(i,C.yy),C.yy.lexer=m,C.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var ae=m.yylloc;s.push(ae);var Ce=m.options&&m.options.ranges;typeof C.yy.parseError=="function"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Me(N){l.length=l.length-2*N,f.length=f.length-N,s.length=s.length-N}r(Me,"popStack");function Se(){var N;return N=n.pop()||m.lex()||be,typeof N!="number"&&(N instanceof Array&&(n=N,N=n.pop()),N=a.symbols_[N]||N),N}r(Se,"lex");for(var k,M,x,le,H={},ie,V,ke,re;;){if(M=l[l.length-1],this.defaultActions[M]?x=this.defaultActions[M]:((k===null||typeof k>"u")&&(k=Se()),x=K[M]&&K[M][k]),typeof x>"u"||!x.length||!x[0]){var oe="";re=[];for(ie in K[M])this.terminals_[ie]&&ie>Le&&re.push("'"+this.terminals_[ie]+"'");m.showPosition?oe="Parse error on line "+(te+1)+`: +import{_ as r,d as ve,s as Fe,g as De,c as Pe,b as Ye,l as xe,v as Ue,j as ce,k as Be,K as Qe,e as Te}from"./index-BxMsVRSP.js";import{G as He}from"./graph-CIloxWRz.js";import{l as We}from"./layout-BVquG3NB.js";import"./_baseUniq-QkQtF8Yx.js";import"./_basePickBy-DAcC5mcM.js";var he=function(){var e=r(function($,i,a,l){for(a=a||{},l=$.length;l--;a[$[l]]=i);return a},"o"),t=[1,3],c=[1,4],d=[1,5],u=[1,6],p=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],y=[1,18],h=[2,7],o=[1,22],g=[1,23],R=[1,24],I=[1,25],b=[1,26],w=[1,27],q=[1,20],v=[1,28],A=[1,29],F=[62,63],pe=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],fe=[1,47],ye=[1,48],_e=[1,49],ge=[1,50],Ee=[1,51],Re=[1,52],me=[1,53],O=[53,54],D=[1,64],P=[1,60],Y=[1,61],U=[1,62],B=[1,63],Q=[1,65],j=[1,69],X=[1,70],J=[1,67],Z=[1,68],S=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],ne={trace:r(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:r(function(i,a,l,n,f,s,K){var E=s.length-1;switch(f){case 4:this.$=s[E].trim(),n.setAccTitle(this.$);break;case 5:case 6:this.$=s[E].trim(),n.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:n.addRequirement(s[E-3],s[E-4]);break;case 14:n.setNewReqId(s[E-2]);break;case 15:n.setNewReqText(s[E-2]);break;case 16:n.setNewReqRisk(s[E-2]);break;case 17:n.setNewReqVerifyMethod(s[E-2]);break;case 20:this.$=n.RequirementType.REQUIREMENT;break;case 21:this.$=n.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=n.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=n.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=n.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=n.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=n.RiskLevel.LOW_RISK;break;case 27:this.$=n.RiskLevel.MED_RISK;break;case 28:this.$=n.RiskLevel.HIGH_RISK;break;case 29:this.$=n.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=n.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=n.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=n.VerifyType.VERIFY_TEST;break;case 33:n.addElement(s[E-3]);break;case 34:n.setNewElementType(s[E-2]);break;case 35:n.setNewElementDocRef(s[E-2]);break;case 38:n.addRelationship(s[E-2],s[E],s[E-4]);break;case 39:n.addRelationship(s[E-2],s[E-4],s[E]);break;case 40:this.$=n.Relationships.CONTAINS;break;case 41:this.$=n.Relationships.COPIES;break;case 42:this.$=n.Relationships.DERIVES;break;case 43:this.$=n.Relationships.SATISFIES;break;case 44:this.$=n.Relationships.VERIFIES;break;case 45:this.$=n.Relationships.REFINES;break;case 46:this.$=n.Relationships.TRACES;break}},"anonymous"),table:[{3:1,4:2,6:t,9:c,11:d,13:u},{1:[3]},{3:8,4:2,5:[1,7],6:t,9:c,11:d,13:u},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(p,[2,6]),{3:12,4:2,6:t,9:c,11:d,13:u},{1:[2,2]},{4:17,5:y,7:13,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},e(p,[2,4]),e(p,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:y,7:31,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:32,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:33,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:34,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{4:17,5:y,7:35,8:h,9:c,11:d,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:I,35:b,36:w,44:q,62:v,63:A},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},e(F,[2,20]),e(F,[2,21]),e(F,[2,22]),e(F,[2,23]),e(F,[2,24]),e(F,[2,25]),e(pe,[2,49]),e(pe,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:fe,56:ye,57:_e,58:ge,59:Ee,60:Re,61:me},{52:54,55:fe,56:ye,57:_e,58:ge,59:Ee,60:Re,61:me},{5:[1,55]},{5:[1,56]},{53:[1,57]},e(O,[2,40]),e(O,[2,41]),e(O,[2,42]),e(O,[2,43]),e(O,[2,44]),e(O,[2,45]),e(O,[2,46]),{54:[1,58]},{5:D,20:59,21:P,24:Y,26:U,28:B,30:Q},{5:j,30:X,46:66,47:J,49:Z},{23:71,62:v,63:A},{23:72,62:v,63:A},e(S,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:D,20:77,21:P,24:Y,26:U,28:B,30:Q},e(S,[2,19]),e(S,[2,33]),{22:[1,78]},{22:[1,79]},{5:j,30:X,46:80,47:J,49:Z},e(S,[2,37]),e(S,[2,38]),e(S,[2,39]),{23:81,62:v,63:A},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},e(S,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},e(S,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:D,20:106,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:107,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:108,21:P,24:Y,26:U,28:B,30:Q},{5:D,20:109,21:P,24:Y,26:U,28:B,30:Q},{5:j,30:X,46:110,47:J,49:Z},{5:j,30:X,46:111,47:J,49:Z},e(S,[2,14]),e(S,[2,15]),e(S,[2,16]),e(S,[2,17]),e(S,[2,34]),e(S,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:r(function(i,a){if(a.recoverable)this.trace(i);else{var l=new Error(i);throw l.hash=a,l}},"parseError"),parse:r(function(i){var a=this,l=[0],n=[],f=[null],s=[],K=this.table,E="",te=0,Ie=0,Le=2,be=1,Oe=s.slice.call(arguments,1),m=Object.create(this.lexer),C={yy:{}};for(var se in this.yy)Object.prototype.hasOwnProperty.call(this.yy,se)&&(C.yy[se]=this.yy[se]);m.setInput(i,C.yy),C.yy.lexer=m,C.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var ae=m.yylloc;s.push(ae);var Ce=m.options&&m.options.ranges;typeof C.yy.parseError=="function"?this.parseError=C.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Me(N){l.length=l.length-2*N,f.length=f.length-N,s.length=s.length-N}r(Me,"popStack");function Se(){var N;return N=n.pop()||m.lex()||be,typeof N!="number"&&(N instanceof Array&&(n=N,N=n.pop()),N=a.symbols_[N]||N),N}r(Se,"lex");for(var k,M,x,le,H={},ie,V,ke,re;;){if(M=l[l.length-1],this.defaultActions[M]?x=this.defaultActions[M]:((k===null||typeof k>"u")&&(k=Se()),x=K[M]&&K[M][k]),typeof x>"u"||!x.length||!x[0]){var oe="";re=[];for(ie in K[M])this.terminals_[ie]&&ie>Le&&re.push("'"+this.terminals_[ie]+"'");m.showPosition?oe="Parse error on line "+(te+1)+`: `+m.showPosition()+` Expecting `+re.join(", ")+", got '"+(this.terminals_[k]||k)+"'":oe="Parse error on line "+(te+1)+": Unexpected "+(k==be?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(oe,{text:m.match,token:this.terminals_[k]||k,line:m.yylineno,loc:ae,expected:re})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+M+", token: "+k);switch(x[0]){case 1:l.push(k),f.push(m.yytext),s.push(m.yylloc),l.push(x[1]),k=null,Ie=m.yyleng,E=m.yytext,te=m.yylineno,ae=m.yylloc;break;case 2:if(V=this.productions_[x[1]][1],H.$=f[f.length-V],H._$={first_line:s[s.length-(V||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(V||1)].first_column,last_column:s[s.length-1].last_column},Ce&&(H._$.range=[s[s.length-(V||1)].range[0],s[s.length-1].range[1]]),le=this.performAction.apply(H,[E,Ie,te,C.yy,x[1],f,s].concat(Oe)),typeof le<"u")return le;V&&(l=l.slice(0,-1*V*2),f=f.slice(0,-1*V),s=s.slice(0,-1*V)),l.push(this.productions_[x[1]][0]),f.push(H.$),s.push(H._$),ke=K[l[l.length-2]][l[l.length-1]],l.push(ke);break;case 3:return!0}}return!0},"parse")},$e=function(){var $={EOF:1,parseError:r(function(a,l){if(this.yy.parser)this.yy.parser.parseError(a,l);else throw new Error(a)},"parseError"),setInput:r(function(i,a){return this.yy=a||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:r(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:r(function(i){var a=i.length,l=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var f=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===n.length?this.yylloc.first_column:0)+n[n.length-l.length].length-l[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:r(function(){return this._more=!0,this},"more"),reject:r(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:r(function(i){this.unput(this.match.slice(i))},"less"),pastInput:r(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+` diff --git a/assets/sankeyDiagram-Y46BX6SQ-BK-15gPt.js b/assets/sankeyDiagram-Y46BX6SQ-DCVYh-1b.js similarity index 99% rename from assets/sankeyDiagram-Y46BX6SQ-BK-15gPt.js rename to assets/sankeyDiagram-Y46BX6SQ-DCVYh-1b.js index ee5c23111..2dbba750c 100644 --- a/assets/sankeyDiagram-Y46BX6SQ-BK-15gPt.js +++ b/assets/sankeyDiagram-Y46BX6SQ-DCVYh-1b.js @@ -1,4 +1,4 @@ -import{_ as m,d as lt,g as _t,s as xt,b as vt,c as bt,q as wt,p as St,v as Lt,e as Et,o as At,j as H,V as Tt}from"./index-Dq-yb_Rq.js";import{o as Mt}from"./ordinal-Cboi1Yqb.js";import"./init-Gi6I4Gst.js";function Nt(t){for(var e=t.length/6|0,i=new Array(e),a=0;a=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i=h)&&(i=h)}return i}function pt(t,e){let i;if(e===void 0)for(const a of t)a!=null&&(i>a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i>h||i===void 0&&h>=h)&&(i=h)}return i}function nt(t,e){let i=0;if(e===void 0)for(let a of t)(a=+a)&&(i+=a);else{let a=-1;for(let h of t)(h=+e(h,++a,t))&&(i+=h)}return i}function Pt(t){return t.target.depth}function Ct(t){return t.depth}function Ot(t,e){return e-1-t.height}function mt(t,e){return t.sourceLinks.length?t.depth:e-1}function Dt(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?pt(t.sourceLinks,Pt)-1:0}function X(t){return function(){return t}}function ut(t,e){return Q(t.source,e.source)||t.index-e.index}function ht(t,e){return Q(t.target,e.target)||t.index-e.index}function Q(t,e){return t.y0-e.y0}function it(t){return t.value}function jt(t){return t.index}function zt(t){return t.nodes}function $t(t){return t.links}function ft(t,e){const i=t.get(e);if(!i)throw new Error("missing: "+e);return i}function yt({nodes:t}){for(const e of t){let i=e.y0,a=i;for(const h of e.sourceLinks)h.y0=i+h.width/2,i+=h.width;for(const h of e.targetLinks)h.y1=a+h.width/2,a+=h.width}}function Bt(){let t=0,e=0,i=1,a=1,h=24,d=8,p,_=jt,s=mt,o,l,x=zt,v=$t,y=6;function b(){const n={nodes:x.apply(null,arguments),links:v.apply(null,arguments)};return M(n),T(n),N(n),C(n),S(n),yt(n),n}b.update=function(n){return yt(n),n},b.nodeId=function(n){return arguments.length?(_=typeof n=="function"?n:X(n),b):_},b.nodeAlign=function(n){return arguments.length?(s=typeof n=="function"?n:X(n),b):s},b.nodeSort=function(n){return arguments.length?(o=n,b):o},b.nodeWidth=function(n){return arguments.length?(h=+n,b):h},b.nodePadding=function(n){return arguments.length?(d=p=+n,b):d},b.nodes=function(n){return arguments.length?(x=typeof n=="function"?n:X(n),b):x},b.links=function(n){return arguments.length?(v=typeof n=="function"?n:X(n),b):v},b.linkSort=function(n){return arguments.length?(l=n,b):l},b.size=function(n){return arguments.length?(t=e=0,i=+n[0],a=+n[1],b):[i-t,a-e]},b.extent=function(n){return arguments.length?(t=+n[0][0],i=+n[1][0],e=+n[0][1],a=+n[1][1],b):[[t,e],[i,a]]},b.iterations=function(n){return arguments.length?(y=+n,b):y};function M({nodes:n,links:f}){for(const[c,r]of n.entries())r.index=c,r.sourceLinks=[],r.targetLinks=[];const u=new Map(n.map((c,r)=>[_(c,r,n),c]));for(const[c,r]of f.entries()){r.index=c;let{source:k,target:w}=r;typeof k!="object"&&(k=r.source=ft(u,k)),typeof w!="object"&&(w=r.target=ft(u,w)),k.sourceLinks.push(r),w.targetLinks.push(r)}if(l!=null)for(const{sourceLinks:c,targetLinks:r}of n)c.sort(l),r.sort(l)}function T({nodes:n}){for(const f of n)f.value=f.fixedValue===void 0?Math.max(nt(f.sourceLinks,it),nt(f.targetLinks,it)):f.fixedValue}function N({nodes:n}){const f=n.length;let u=new Set(n),c=new Set,r=0;for(;u.size;){for(const k of u){k.depth=r;for(const{target:w}of k.sourceLinks)c.add(w)}if(++r>f)throw new Error("circular link");u=c,c=new Set}}function C({nodes:n}){const f=n.length;let u=new Set(n),c=new Set,r=0;for(;u.size;){for(const k of u){k.height=r;for(const{source:w}of k.targetLinks)c.add(w)}if(++r>f)throw new Error("circular link");u=c,c=new Set}}function j({nodes:n}){const f=ct(n,r=>r.depth)+1,u=(i-t-h)/(f-1),c=new Array(f);for(const r of n){const k=Math.max(0,Math.min(f-1,Math.floor(s.call(null,r,f))));r.layer=k,r.x0=t+k*u,r.x1=r.x0+h,c[k]?c[k].push(r):c[k]=[r]}if(o)for(const r of c)r.sort(o);return c}function R(n){const f=pt(n,u=>(a-e-(u.length-1)*p)/nt(u,it));for(const u of n){let c=e;for(const r of u){r.y0=c,r.y1=c+r.value*f,c=r.y1+p;for(const k of r.sourceLinks)k.width=k.value*f}c=(a-c+p)/(u.length+1);for(let r=0;ru.length)-1)),R(f);for(let u=0;u0))continue;let G=(L/V-w.y0)*f;w.y0+=G,w.y1+=G,E(w)}o===void 0&&k.sort(Q),O(k,u)}}function B(n,f,u){for(let c=n.length,r=c-2;r>=0;--r){const k=n[r];for(const w of k){let L=0,V=0;for(const{target:Y,value:et}of w.sourceLinks){let q=et*(Y.layer-w.layer);L+=I(w,Y)*q,V+=q}if(!(V>0))continue;let G=(L/V-w.y0)*f;w.y0+=G,w.y1+=G,E(w)}o===void 0&&k.sort(Q),O(k,u)}}function O(n,f){const u=n.length>>1,c=n[u];g(n,c.y0-p,u-1,f),D(n,c.y1+p,u+1,f),g(n,a,n.length-1,f),D(n,e,0,f)}function D(n,f,u,c){for(;u1e-6&&(r.y0+=k,r.y1+=k),f=r.y1+p}}function g(n,f,u,c){for(;u>=0;--u){const r=n[u],k=(r.y1-f)*c;k>1e-6&&(r.y0-=k,r.y1-=k),f=r.y0-p}}function E({sourceLinks:n,targetLinks:f}){if(l===void 0){for(const{source:{sourceLinks:u}}of f)u.sort(ht);for(const{target:{targetLinks:u}}of n)u.sort(ut)}}function A(n){if(l===void 0)for(const{sourceLinks:f,targetLinks:u}of n)f.sort(ht),u.sort(ut)}function z(n,f){let u=n.y0-(n.sourceLinks.length-1)*p/2;for(const{target:c,width:r}of n.sourceLinks){if(c===f)break;u+=r+p}for(const{source:c,width:r}of f.targetLinks){if(c===n)break;u-=r}return u}function I(n,f){let u=f.y0-(f.targetLinks.length-1)*p/2;for(const{source:c,width:r}of f.targetLinks){if(c===n)break;u+=r+p}for(const{target:c,width:r}of n.sourceLinks){if(c===f)break;u-=r}return u}return b}var st=Math.PI,rt=2*st,F=1e-6,Rt=rt-F;function ot(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function kt(){return new ot}ot.prototype=kt.prototype={constructor:ot,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,i,a){this._+="Q"+ +t+","+ +e+","+(this._x1=+i)+","+(this._y1=+a)},bezierCurveTo:function(t,e,i,a,h,d){this._+="C"+ +t+","+ +e+","+ +i+","+ +a+","+(this._x1=+h)+","+(this._y1=+d)},arcTo:function(t,e,i,a,h){t=+t,e=+e,i=+i,a=+a,h=+h;var d=this._x1,p=this._y1,_=i-t,s=a-e,o=d-t,l=p-e,x=o*o+l*l;if(h<0)throw new Error("negative radius: "+h);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(x>F)if(!(Math.abs(l*_-s*o)>F)||!h)this._+="L"+(this._x1=t)+","+(this._y1=e);else{var v=i-d,y=a-p,b=_*_+s*s,M=v*v+y*y,T=Math.sqrt(b),N=Math.sqrt(x),C=h*Math.tan((st-Math.acos((b+x-M)/(2*T*N)))/2),j=C/N,R=C/T;Math.abs(j-1)>F&&(this._+="L"+(t+j*o)+","+(e+j*l)),this._+="A"+h+","+h+",0,0,"+ +(l*v>o*y)+","+(this._x1=t+R*_)+","+(this._y1=e+R*s)}},arc:function(t,e,i,a,h,d){t=+t,e=+e,i=+i,d=!!d;var p=i*Math.cos(a),_=i*Math.sin(a),s=t+p,o=e+_,l=1^d,x=d?a-h:h-a;if(i<0)throw new Error("negative radius: "+i);this._x1===null?this._+="M"+s+","+o:(Math.abs(this._x1-s)>F||Math.abs(this._y1-o)>F)&&(this._+="L"+s+","+o),i&&(x<0&&(x=x%rt+rt),x>Rt?this._+="A"+i+","+i+",0,1,"+l+","+(t-p)+","+(e-_)+"A"+i+","+i+",0,1,"+l+","+(this._x1=s)+","+(this._y1=o):x>F&&(this._+="A"+i+","+i+",0,"+ +(x>=st)+","+l+","+(this._x1=t+i*Math.cos(h))+","+(this._y1=e+i*Math.sin(h))))},rect:function(t,e,i,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +i+"v"+ +a+"h"+-i+"Z"},toString:function(){return this._}};function dt(t){return function(){return t}}function Vt(t){return t[0]}function Ft(t){return t[1]}var Wt=Array.prototype.slice;function Ut(t){return t.source}function Gt(t){return t.target}function Yt(t){var e=Ut,i=Gt,a=Vt,h=Ft,d=null;function p(){var _,s=Wt.call(arguments),o=e.apply(this,s),l=i.apply(this,s);if(d||(d=_=kt()),t(d,+a.apply(this,(s[0]=o,s)),+h.apply(this,s),+a.apply(this,(s[0]=l,s)),+h.apply(this,s)),_)return d=null,_+""||null}return p.source=function(_){return arguments.length?(e=_,p):e},p.target=function(_){return arguments.length?(i=_,p):i},p.x=function(_){return arguments.length?(a=typeof _=="function"?_:dt(+_),p):a},p.y=function(_){return arguments.length?(h=typeof _=="function"?_:dt(+_),p):h},p.context=function(_){return arguments.length?(d=_??null,p):d},p}function qt(t,e,i,a,h){t.moveTo(e,i),t.bezierCurveTo(e=(e+a)/2,i,e,h,a,h)}function Ht(){return Yt(qt)}function Xt(t){return[t.source.x1,t.y0]}function Qt(t){return[t.target.x0,t.y1]}function Kt(){return Ht().source(Xt).target(Qt)}var at=function(){var t=m(function(_,s,o,l){for(o=o||{},l=_.length;l--;o[_[l]]=s);return o},"o"),e=[1,9],i=[1,10],a=[1,5,10,12],h={trace:m(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:m(function(s,o,l,x,v,y,b){var M=y.length-1;switch(v){case 7:const T=x.findOrCreateNode(y[M-4].trim().replaceAll('""','"')),N=x.findOrCreateNode(y[M-2].trim().replaceAll('""','"')),C=parseFloat(y[M].trim());x.addLink(T,N,C);break;case 8:case 9:case 11:this.$=y[M];break;case 10:this.$=y[M-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:e,20:i},{1:[2,6],7:11,10:[1,12]},t(i,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(a,[2,8]),t(a,[2,9]),{19:[1,16]},t(a,[2,11]),{1:[2,1]},{1:[2,5]},t(i,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:e,20:i},{15:18,16:7,17:8,18:e,20:i},{18:[1,19]},t(i,[2,3]),{12:[1,20]},t(a,[2,10]),{15:21,16:7,17:8,18:e,20:i},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:m(function(s,o){if(o.recoverable)this.trace(s);else{var l=new Error(s);throw l.hash=o,l}},"parseError"),parse:m(function(s){var o=this,l=[0],x=[],v=[null],y=[],b=this.table,M="",T=0,N=0,C=2,j=1,R=y.slice.call(arguments,1),S=Object.create(this.lexer),P={yy:{}};for(var B in this.yy)Object.prototype.hasOwnProperty.call(this.yy,B)&&(P.yy[B]=this.yy[B]);S.setInput(s,P.yy),P.yy.lexer=S,P.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var O=S.yylloc;y.push(O);var D=S.options&&S.options.ranges;typeof P.yy.parseError=="function"?this.parseError=P.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function g(L){l.length=l.length-2*L,v.length=v.length-L,y.length=y.length-L}m(g,"popStack");function E(){var L;return L=x.pop()||S.lex()||j,typeof L!="number"&&(L instanceof Array&&(x=L,L=x.pop()),L=o.symbols_[L]||L),L}m(E,"lex");for(var A,z,I,n,f={},u,c,r,k;;){if(z=l[l.length-1],this.defaultActions[z]?I=this.defaultActions[z]:((A===null||typeof A>"u")&&(A=E()),I=b[z]&&b[z][A]),typeof I>"u"||!I.length||!I[0]){var w="";k=[];for(u in b[z])this.terminals_[u]&&u>C&&k.push("'"+this.terminals_[u]+"'");S.showPosition?w="Parse error on line "+(T+1)+`: +import{_ as m,d as lt,g as _t,s as xt,b as vt,c as bt,q as wt,p as St,v as Lt,e as Et,o as At,j as H,V as Tt}from"./index-BxMsVRSP.js";import{o as Mt}from"./ordinal-Cboi1Yqb.js";import"./init-Gi6I4Gst.js";function Nt(t){for(var e=t.length/6|0,i=new Array(e),a=0;a=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i=h)&&(i=h)}return i}function pt(t,e){let i;if(e===void 0)for(const a of t)a!=null&&(i>a||i===void 0&&a>=a)&&(i=a);else{let a=-1;for(let h of t)(h=e(h,++a,t))!=null&&(i>h||i===void 0&&h>=h)&&(i=h)}return i}function nt(t,e){let i=0;if(e===void 0)for(let a of t)(a=+a)&&(i+=a);else{let a=-1;for(let h of t)(h=+e(h,++a,t))&&(i+=h)}return i}function Pt(t){return t.target.depth}function Ct(t){return t.depth}function Ot(t,e){return e-1-t.height}function mt(t,e){return t.sourceLinks.length?t.depth:e-1}function Dt(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?pt(t.sourceLinks,Pt)-1:0}function X(t){return function(){return t}}function ut(t,e){return Q(t.source,e.source)||t.index-e.index}function ht(t,e){return Q(t.target,e.target)||t.index-e.index}function Q(t,e){return t.y0-e.y0}function it(t){return t.value}function jt(t){return t.index}function zt(t){return t.nodes}function $t(t){return t.links}function ft(t,e){const i=t.get(e);if(!i)throw new Error("missing: "+e);return i}function yt({nodes:t}){for(const e of t){let i=e.y0,a=i;for(const h of e.sourceLinks)h.y0=i+h.width/2,i+=h.width;for(const h of e.targetLinks)h.y1=a+h.width/2,a+=h.width}}function Bt(){let t=0,e=0,i=1,a=1,h=24,d=8,p,_=jt,s=mt,o,l,x=zt,v=$t,y=6;function b(){const n={nodes:x.apply(null,arguments),links:v.apply(null,arguments)};return M(n),T(n),N(n),C(n),S(n),yt(n),n}b.update=function(n){return yt(n),n},b.nodeId=function(n){return arguments.length?(_=typeof n=="function"?n:X(n),b):_},b.nodeAlign=function(n){return arguments.length?(s=typeof n=="function"?n:X(n),b):s},b.nodeSort=function(n){return arguments.length?(o=n,b):o},b.nodeWidth=function(n){return arguments.length?(h=+n,b):h},b.nodePadding=function(n){return arguments.length?(d=p=+n,b):d},b.nodes=function(n){return arguments.length?(x=typeof n=="function"?n:X(n),b):x},b.links=function(n){return arguments.length?(v=typeof n=="function"?n:X(n),b):v},b.linkSort=function(n){return arguments.length?(l=n,b):l},b.size=function(n){return arguments.length?(t=e=0,i=+n[0],a=+n[1],b):[i-t,a-e]},b.extent=function(n){return arguments.length?(t=+n[0][0],i=+n[1][0],e=+n[0][1],a=+n[1][1],b):[[t,e],[i,a]]},b.iterations=function(n){return arguments.length?(y=+n,b):y};function M({nodes:n,links:f}){for(const[c,r]of n.entries())r.index=c,r.sourceLinks=[],r.targetLinks=[];const u=new Map(n.map((c,r)=>[_(c,r,n),c]));for(const[c,r]of f.entries()){r.index=c;let{source:k,target:w}=r;typeof k!="object"&&(k=r.source=ft(u,k)),typeof w!="object"&&(w=r.target=ft(u,w)),k.sourceLinks.push(r),w.targetLinks.push(r)}if(l!=null)for(const{sourceLinks:c,targetLinks:r}of n)c.sort(l),r.sort(l)}function T({nodes:n}){for(const f of n)f.value=f.fixedValue===void 0?Math.max(nt(f.sourceLinks,it),nt(f.targetLinks,it)):f.fixedValue}function N({nodes:n}){const f=n.length;let u=new Set(n),c=new Set,r=0;for(;u.size;){for(const k of u){k.depth=r;for(const{target:w}of k.sourceLinks)c.add(w)}if(++r>f)throw new Error("circular link");u=c,c=new Set}}function C({nodes:n}){const f=n.length;let u=new Set(n),c=new Set,r=0;for(;u.size;){for(const k of u){k.height=r;for(const{source:w}of k.targetLinks)c.add(w)}if(++r>f)throw new Error("circular link");u=c,c=new Set}}function j({nodes:n}){const f=ct(n,r=>r.depth)+1,u=(i-t-h)/(f-1),c=new Array(f);for(const r of n){const k=Math.max(0,Math.min(f-1,Math.floor(s.call(null,r,f))));r.layer=k,r.x0=t+k*u,r.x1=r.x0+h,c[k]?c[k].push(r):c[k]=[r]}if(o)for(const r of c)r.sort(o);return c}function R(n){const f=pt(n,u=>(a-e-(u.length-1)*p)/nt(u,it));for(const u of n){let c=e;for(const r of u){r.y0=c,r.y1=c+r.value*f,c=r.y1+p;for(const k of r.sourceLinks)k.width=k.value*f}c=(a-c+p)/(u.length+1);for(let r=0;ru.length)-1)),R(f);for(let u=0;u0))continue;let G=(L/V-w.y0)*f;w.y0+=G,w.y1+=G,E(w)}o===void 0&&k.sort(Q),O(k,u)}}function B(n,f,u){for(let c=n.length,r=c-2;r>=0;--r){const k=n[r];for(const w of k){let L=0,V=0;for(const{target:Y,value:et}of w.sourceLinks){let q=et*(Y.layer-w.layer);L+=I(w,Y)*q,V+=q}if(!(V>0))continue;let G=(L/V-w.y0)*f;w.y0+=G,w.y1+=G,E(w)}o===void 0&&k.sort(Q),O(k,u)}}function O(n,f){const u=n.length>>1,c=n[u];g(n,c.y0-p,u-1,f),D(n,c.y1+p,u+1,f),g(n,a,n.length-1,f),D(n,e,0,f)}function D(n,f,u,c){for(;u1e-6&&(r.y0+=k,r.y1+=k),f=r.y1+p}}function g(n,f,u,c){for(;u>=0;--u){const r=n[u],k=(r.y1-f)*c;k>1e-6&&(r.y0-=k,r.y1-=k),f=r.y0-p}}function E({sourceLinks:n,targetLinks:f}){if(l===void 0){for(const{source:{sourceLinks:u}}of f)u.sort(ht);for(const{target:{targetLinks:u}}of n)u.sort(ut)}}function A(n){if(l===void 0)for(const{sourceLinks:f,targetLinks:u}of n)f.sort(ht),u.sort(ut)}function z(n,f){let u=n.y0-(n.sourceLinks.length-1)*p/2;for(const{target:c,width:r}of n.sourceLinks){if(c===f)break;u+=r+p}for(const{source:c,width:r}of f.targetLinks){if(c===n)break;u-=r}return u}function I(n,f){let u=f.y0-(f.targetLinks.length-1)*p/2;for(const{source:c,width:r}of f.targetLinks){if(c===n)break;u+=r+p}for(const{target:c,width:r}of n.sourceLinks){if(c===f)break;u-=r}return u}return b}var st=Math.PI,rt=2*st,F=1e-6,Rt=rt-F;function ot(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function kt(){return new ot}ot.prototype=kt.prototype={constructor:ot,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,i,a){this._+="Q"+ +t+","+ +e+","+(this._x1=+i)+","+(this._y1=+a)},bezierCurveTo:function(t,e,i,a,h,d){this._+="C"+ +t+","+ +e+","+ +i+","+ +a+","+(this._x1=+h)+","+(this._y1=+d)},arcTo:function(t,e,i,a,h){t=+t,e=+e,i=+i,a=+a,h=+h;var d=this._x1,p=this._y1,_=i-t,s=a-e,o=d-t,l=p-e,x=o*o+l*l;if(h<0)throw new Error("negative radius: "+h);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(x>F)if(!(Math.abs(l*_-s*o)>F)||!h)this._+="L"+(this._x1=t)+","+(this._y1=e);else{var v=i-d,y=a-p,b=_*_+s*s,M=v*v+y*y,T=Math.sqrt(b),N=Math.sqrt(x),C=h*Math.tan((st-Math.acos((b+x-M)/(2*T*N)))/2),j=C/N,R=C/T;Math.abs(j-1)>F&&(this._+="L"+(t+j*o)+","+(e+j*l)),this._+="A"+h+","+h+",0,0,"+ +(l*v>o*y)+","+(this._x1=t+R*_)+","+(this._y1=e+R*s)}},arc:function(t,e,i,a,h,d){t=+t,e=+e,i=+i,d=!!d;var p=i*Math.cos(a),_=i*Math.sin(a),s=t+p,o=e+_,l=1^d,x=d?a-h:h-a;if(i<0)throw new Error("negative radius: "+i);this._x1===null?this._+="M"+s+","+o:(Math.abs(this._x1-s)>F||Math.abs(this._y1-o)>F)&&(this._+="L"+s+","+o),i&&(x<0&&(x=x%rt+rt),x>Rt?this._+="A"+i+","+i+",0,1,"+l+","+(t-p)+","+(e-_)+"A"+i+","+i+",0,1,"+l+","+(this._x1=s)+","+(this._y1=o):x>F&&(this._+="A"+i+","+i+",0,"+ +(x>=st)+","+l+","+(this._x1=t+i*Math.cos(h))+","+(this._y1=e+i*Math.sin(h))))},rect:function(t,e,i,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +i+"v"+ +a+"h"+-i+"Z"},toString:function(){return this._}};function dt(t){return function(){return t}}function Vt(t){return t[0]}function Ft(t){return t[1]}var Wt=Array.prototype.slice;function Ut(t){return t.source}function Gt(t){return t.target}function Yt(t){var e=Ut,i=Gt,a=Vt,h=Ft,d=null;function p(){var _,s=Wt.call(arguments),o=e.apply(this,s),l=i.apply(this,s);if(d||(d=_=kt()),t(d,+a.apply(this,(s[0]=o,s)),+h.apply(this,s),+a.apply(this,(s[0]=l,s)),+h.apply(this,s)),_)return d=null,_+""||null}return p.source=function(_){return arguments.length?(e=_,p):e},p.target=function(_){return arguments.length?(i=_,p):i},p.x=function(_){return arguments.length?(a=typeof _=="function"?_:dt(+_),p):a},p.y=function(_){return arguments.length?(h=typeof _=="function"?_:dt(+_),p):h},p.context=function(_){return arguments.length?(d=_??null,p):d},p}function qt(t,e,i,a,h){t.moveTo(e,i),t.bezierCurveTo(e=(e+a)/2,i,e,h,a,h)}function Ht(){return Yt(qt)}function Xt(t){return[t.source.x1,t.y0]}function Qt(t){return[t.target.x0,t.y1]}function Kt(){return Ht().source(Xt).target(Qt)}var at=function(){var t=m(function(_,s,o,l){for(o=o||{},l=_.length;l--;o[_[l]]=s);return o},"o"),e=[1,9],i=[1,10],a=[1,5,10,12],h={trace:m(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:m(function(s,o,l,x,v,y,b){var M=y.length-1;switch(v){case 7:const T=x.findOrCreateNode(y[M-4].trim().replaceAll('""','"')),N=x.findOrCreateNode(y[M-2].trim().replaceAll('""','"')),C=parseFloat(y[M].trim());x.addLink(T,N,C);break;case 8:case 9:case 11:this.$=y[M];break;case 10:this.$=y[M-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:e,20:i},{1:[2,6],7:11,10:[1,12]},t(i,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(a,[2,8]),t(a,[2,9]),{19:[1,16]},t(a,[2,11]),{1:[2,1]},{1:[2,5]},t(i,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:e,20:i},{15:18,16:7,17:8,18:e,20:i},{18:[1,19]},t(i,[2,3]),{12:[1,20]},t(a,[2,10]),{15:21,16:7,17:8,18:e,20:i},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:m(function(s,o){if(o.recoverable)this.trace(s);else{var l=new Error(s);throw l.hash=o,l}},"parseError"),parse:m(function(s){var o=this,l=[0],x=[],v=[null],y=[],b=this.table,M="",T=0,N=0,C=2,j=1,R=y.slice.call(arguments,1),S=Object.create(this.lexer),P={yy:{}};for(var B in this.yy)Object.prototype.hasOwnProperty.call(this.yy,B)&&(P.yy[B]=this.yy[B]);S.setInput(s,P.yy),P.yy.lexer=S,P.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var O=S.yylloc;y.push(O);var D=S.options&&S.options.ranges;typeof P.yy.parseError=="function"?this.parseError=P.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function g(L){l.length=l.length-2*L,v.length=v.length-L,y.length=y.length-L}m(g,"popStack");function E(){var L;return L=x.pop()||S.lex()||j,typeof L!="number"&&(L instanceof Array&&(x=L,L=x.pop()),L=o.symbols_[L]||L),L}m(E,"lex");for(var A,z,I,n,f={},u,c,r,k;;){if(z=l[l.length-1],this.defaultActions[z]?I=this.defaultActions[z]:((A===null||typeof A>"u")&&(A=E()),I=b[z]&&b[z][A]),typeof I>"u"||!I.length||!I[0]){var w="";k=[];for(u in b[z])this.terminals_[u]&&u>C&&k.push("'"+this.terminals_[u]+"'");S.showPosition?w="Parse error on line "+(T+1)+`: `+S.showPosition()+` Expecting `+k.join(", ")+", got '"+(this.terminals_[A]||A)+"'":w="Parse error on line "+(T+1)+": Unexpected "+(A==j?"end of input":"'"+(this.terminals_[A]||A)+"'"),this.parseError(w,{text:S.match,token:this.terminals_[A]||A,line:S.yylineno,loc:O,expected:k})}if(I[0]instanceof Array&&I.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+A);switch(I[0]){case 1:l.push(A),v.push(S.yytext),y.push(S.yylloc),l.push(I[1]),A=null,N=S.yyleng,M=S.yytext,T=S.yylineno,O=S.yylloc;break;case 2:if(c=this.productions_[I[1]][1],f.$=v[v.length-c],f._$={first_line:y[y.length-(c||1)].first_line,last_line:y[y.length-1].last_line,first_column:y[y.length-(c||1)].first_column,last_column:y[y.length-1].last_column},D&&(f._$.range=[y[y.length-(c||1)].range[0],y[y.length-1].range[1]]),n=this.performAction.apply(f,[M,N,T,P.yy,I[1],v,y].concat(R)),typeof n<"u")return n;c&&(l=l.slice(0,-1*c*2),v=v.slice(0,-1*c),y=y.slice(0,-1*c)),l.push(this.productions_[I[1]][0]),v.push(f.$),y.push(f._$),r=b[l[l.length-2]][l[l.length-1]],l.push(r);break;case 3:return!0}}return!0},"parse")},d=function(){var _={EOF:1,parseError:m(function(o,l){if(this.yy.parser)this.yy.parser.parseError(o,l);else throw new Error(o)},"parseError"),setInput:m(function(s,o){return this.yy=o||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:m(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var o=s.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:m(function(s){var o=s.length,l=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var x=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var v=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===x.length?this.yylloc.first_column:0)+x[x.length-l.length].length-l[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[v[0],v[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},"unput"),more:m(function(){return this._more=!0,this},"more"),reject:m(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:m(function(s){this.unput(this.match.slice(s))},"less"),pastInput:m(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:m(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:m(function(){var s=this.pastInput(),o=new Array(s.length+1).join("-");return s+this.upcomingInput()+` diff --git a/assets/sequenceDiagram-G6AWOVSC-CVRturCJ.js b/assets/sequenceDiagram-G6AWOVSC-DWLHp1zH.js similarity index 99% rename from assets/sequenceDiagram-G6AWOVSC-CVRturCJ.js rename to assets/sequenceDiagram-G6AWOVSC-DWLHp1zH.js index 280a81ced..e68911f28 100644 --- a/assets/sequenceDiagram-G6AWOVSC-CVRturCJ.js +++ b/assets/sequenceDiagram-G6AWOVSC-DWLHp1zH.js @@ -1,4 +1,4 @@ -import{g as St,a as Kt,d as Se,b as Me,c as Re,e as De}from"./chunk-ASOPGD6M-CUw5NolE.js";import{I as Ce}from"./chunk-KFBOBJHC-CGCgZoFv.js";import{_ as d,g as Oe,q as Be,p as Ve,d as at,s as se,c as Ye,b as Fe,e as _,L as lt,M as wt,u as F,l as J,v as We,i as Mt,a as qe,j as kt,k as ze,m as ae,N as ie,D as Ft,O as ne,Z as He}from"./index-Dq-yb_Rq.js";var Wt=function(){var t=d(function(pt,I,L,A){for(L=L||{},A=pt.length;A--;L[pt[A]]=I);return L},"o"),e=[1,2],o=[1,3],r=[1,4],a=[2,4],i=[1,9],c=[1,11],h=[1,13],p=[1,14],s=[1,16],f=[1,17],E=[1,18],g=[1,24],T=[1,25],m=[1,26],w=[1,27],k=[1,28],V=[1,29],M=[1,30],Y=[1,31],C=[1,32],z=[1,33],H=[1,34],Z=[1,35],et=[1,36],K=[1,37],U=[1,38],q=[1,39],R=[1,41],Q=[1,42],G=[1,43],j=[1,44],rt=[1,45],S=[1,46],y=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],P=[4,5,16,50,52,53],$=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],it=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],N=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],Jt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],ot=[68,69,70],dt=[1,122],Ct={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,BIDIRECTIONAL_SOLID_ARROW:74,DOTTED_ARROW:75,BIDIRECTIONAL_DOTTED_ARROW:76,SOLID_CROSS:77,DOTTED_CROSS:78,SOLID_POINT:79,DOTTED_POINT:80,TXT:81,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"BIDIRECTIONAL_SOLID_ARROW",75:"DOTTED_ARROW",76:"BIDIRECTIONAL_DOTTED_ARROW",77:"SOLID_CROSS",78:"DOTTED_CROSS",79:"SOLID_POINT",80:"DOTTED_POINT",81:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:d(function(I,L,A,b,D,l,mt){var u=l.length-1;switch(D){case 3:return b.apply(l[u]),l[u];case 4:case 9:this.$=[];break;case 5:case 10:l[u-1].push(l[u]),this.$=l[u-1];break;case 6:case 7:case 11:case 12:this.$=l[u];break;case 8:case 13:this.$=[];break;case 15:l[u].type="createParticipant",this.$=l[u];break;case 16:l[u-1].unshift({type:"boxStart",boxData:b.parseBoxData(l[u-2])}),l[u-1].push({type:"boxEnd",boxText:l[u-2]}),this.$=l[u-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(l[u-2]),sequenceIndexStep:Number(l[u-1]),sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(l[u-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:b.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:l[u-1].actor};break;case 23:this.$={type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:l[u-1].actor};break;case 29:b.setDiagramTitle(l[u].substring(6)),this.$=l[u].substring(6);break;case 30:b.setDiagramTitle(l[u].substring(7)),this.$=l[u].substring(7);break;case 31:this.$=l[u].trim(),b.setAccTitle(this.$);break;case 32:case 33:this.$=l[u].trim(),b.setAccDescription(this.$);break;case 34:l[u-1].unshift({type:"loopStart",loopText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.LOOP_START}),l[u-1].push({type:"loopEnd",loopText:l[u-2],signalType:b.LINETYPE.LOOP_END}),this.$=l[u-1];break;case 35:l[u-1].unshift({type:"rectStart",color:b.parseMessage(l[u-2]),signalType:b.LINETYPE.RECT_START}),l[u-1].push({type:"rectEnd",color:b.parseMessage(l[u-2]),signalType:b.LINETYPE.RECT_END}),this.$=l[u-1];break;case 36:l[u-1].unshift({type:"optStart",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.OPT_START}),l[u-1].push({type:"optEnd",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.OPT_END}),this.$=l[u-1];break;case 37:l[u-1].unshift({type:"altStart",altText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.ALT_START}),l[u-1].push({type:"altEnd",signalType:b.LINETYPE.ALT_END}),this.$=l[u-1];break;case 38:l[u-1].unshift({type:"parStart",parText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.PAR_START}),l[u-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=l[u-1];break;case 39:l[u-1].unshift({type:"parStart",parText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.PAR_OVER_START}),l[u-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=l[u-1];break;case 40:l[u-1].unshift({type:"criticalStart",criticalText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.CRITICAL_START}),l[u-1].push({type:"criticalEnd",signalType:b.LINETYPE.CRITICAL_END}),this.$=l[u-1];break;case 41:l[u-1].unshift({type:"breakStart",breakText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.BREAK_START}),l[u-1].push({type:"breakEnd",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.BREAK_END}),this.$=l[u-1];break;case 43:this.$=l[u-3].concat([{type:"option",optionText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.CRITICAL_OPTION},l[u]]);break;case 45:this.$=l[u-3].concat([{type:"and",parText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.PAR_AND},l[u]]);break;case 47:this.$=l[u-3].concat([{type:"else",altText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.ALT_ELSE},l[u]]);break;case 48:l[u-3].draw="participant",l[u-3].type="addParticipant",l[u-3].description=b.parseMessage(l[u-1]),this.$=l[u-3];break;case 49:l[u-1].draw="participant",l[u-1].type="addParticipant",this.$=l[u-1];break;case 50:l[u-3].draw="actor",l[u-3].type="addParticipant",l[u-3].description=b.parseMessage(l[u-1]),this.$=l[u-3];break;case 51:l[u-1].draw="actor",l[u-1].type="addParticipant",this.$=l[u-1];break;case 52:l[u-1].type="destroyParticipant",this.$=l[u-1];break;case 53:this.$=[l[u-1],{type:"addNote",placement:l[u-2],actor:l[u-1].actor,text:l[u]}];break;case 54:l[u-2]=[].concat(l[u-1],l[u-1]).slice(0,2),l[u-2][0]=l[u-2][0].actor,l[u-2][1]=l[u-2][1].actor,this.$=[l[u-1],{type:"addNote",placement:b.PLACEMENT.OVER,actor:l[u-2].slice(0,2),text:l[u]}];break;case 55:this.$=[l[u-1],{type:"addLinks",actor:l[u-1].actor,text:l[u]}];break;case 56:this.$=[l[u-1],{type:"addALink",actor:l[u-1].actor,text:l[u]}];break;case 57:this.$=[l[u-1],{type:"addProperties",actor:l[u-1].actor,text:l[u]}];break;case 58:this.$=[l[u-1],{type:"addDetails",actor:l[u-1].actor,text:l[u]}];break;case 61:this.$=[l[u-2],l[u]];break;case 62:this.$=l[u];break;case 63:this.$=b.PLACEMENT.LEFTOF;break;case 64:this.$=b.PLACEMENT.RIGHTOF;break;case 65:this.$=[l[u-4],l[u-1],{type:"addMessage",from:l[u-4].actor,to:l[u-1].actor,signalType:l[u-3],msg:l[u],activate:!0},{type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:l[u-1].actor}];break;case 66:this.$=[l[u-4],l[u-1],{type:"addMessage",from:l[u-4].actor,to:l[u-1].actor,signalType:l[u-3],msg:l[u]},{type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:l[u-4].actor}];break;case 67:this.$=[l[u-3],l[u-1],{type:"addMessage",from:l[u-3].actor,to:l[u-1].actor,signalType:l[u-2],msg:l[u]}];break;case 68:this.$={type:"addParticipant",actor:l[u]};break;case 69:this.$=b.LINETYPE.SOLID_OPEN;break;case 70:this.$=b.LINETYPE.DOTTED_OPEN;break;case 71:this.$=b.LINETYPE.SOLID;break;case 72:this.$=b.LINETYPE.BIDIRECTIONAL_SOLID;break;case 73:this.$=b.LINETYPE.DOTTED;break;case 74:this.$=b.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 75:this.$=b.LINETYPE.SOLID_CROSS;break;case 76:this.$=b.LINETYPE.DOTTED_CROSS;break;case 77:this.$=b.LINETYPE.SOLID_POINT;break;case 78:this.$=b.LINETYPE.DOTTED_POINT;break;case 79:this.$=b.parseMessage(l[u].trim().substring(1));break}},"anonymous"),table:[{3:1,4:e,5:o,6:r},{1:[3]},{3:5,4:e,5:o,6:r},{3:6,4:e,5:o,6:r},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],a,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:i,5:c,8:8,9:10,12:12,13:h,14:p,17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},t(y,[2,5]),{9:47,12:12,13:h,14:p,17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},t(y,[2,7]),t(y,[2,8]),t(y,[2,14]),{12:48,50:K,52:U,53:q},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:S},{22:55,70:S},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(y,[2,29]),t(y,[2,30]),{32:[1,61]},{34:[1,62]},t(y,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:S},{22:72,70:S},{22:73,70:S},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82],79:[1,83],80:[1,84]},{55:85,57:[1,86],65:[1,87],66:[1,88]},{22:89,70:S},{22:90,70:S},{22:91,70:S},{22:92,70:S},t([5,51,64,71,72,73,74,75,76,77,78,79,80,81],[2,68]),t(y,[2,6]),t(y,[2,15]),t(P,[2,9],{10:93}),t(y,[2,17]),{5:[1,95],19:[1,94]},{5:[1,96]},t(y,[2,21]),{5:[1,97]},{5:[1,98]},t(y,[2,24]),t(y,[2,25]),t(y,[2,26]),t(y,[2,27]),t(y,[2,28]),t(y,[2,31]),t(y,[2,32]),t($,a,{7:99}),t($,a,{7:100}),t($,a,{7:101}),t(it,a,{40:102,7:103}),t(N,a,{42:104,7:105}),t(N,a,{7:105,42:106}),t(Jt,a,{45:107,7:108}),t($,a,{7:109}),{5:[1,111],51:[1,110]},{5:[1,113],51:[1,112]},{5:[1,114]},{22:117,68:[1,115],69:[1,116],70:S},t(ot,[2,69]),t(ot,[2,70]),t(ot,[2,71]),t(ot,[2,72]),t(ot,[2,73]),t(ot,[2,74]),t(ot,[2,75]),t(ot,[2,76]),t(ot,[2,77]),t(ot,[2,78]),{22:118,70:S},{22:120,58:119,70:S},{70:[2,63]},{70:[2,64]},{56:121,81:dt},{56:123,81:dt},{56:124,81:dt},{56:125,81:dt},{4:[1,128],5:[1,130],11:127,12:129,16:[1,126],50:K,52:U,53:q},{5:[1,131]},t(y,[2,19]),t(y,[2,20]),t(y,[2,22]),t(y,[2,23]),{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,132],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,133],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,134],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{16:[1,135]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,46],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,49:[1,136],50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{16:[1,137]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,44],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,48:[1,138],50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{16:[1,139]},{16:[1,140]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,42],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,47:[1,141],50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,142],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{15:[1,143]},t(y,[2,49]),{15:[1,144]},t(y,[2,51]),t(y,[2,52]),{22:145,70:S},{22:146,70:S},{56:147,81:dt},{56:148,81:dt},{56:149,81:dt},{64:[1,150],81:[2,62]},{5:[2,55]},{5:[2,79]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(y,[2,16]),t(P,[2,10]),{12:151,50:K,52:U,53:q},t(P,[2,12]),t(P,[2,13]),t(y,[2,18]),t(y,[2,34]),t(y,[2,35]),t(y,[2,36]),t(y,[2,37]),{15:[1,152]},t(y,[2,38]),{15:[1,153]},t(y,[2,39]),t(y,[2,40]),{15:[1,154]},t(y,[2,41]),{5:[1,155]},{5:[1,156]},{56:157,81:dt},{56:158,81:dt},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:159,70:S},t(P,[2,11]),t(it,a,{7:103,40:160}),t(N,a,{7:105,42:161}),t(Jt,a,{7:108,45:162}),t(y,[2,48]),t(y,[2,50]),{5:[2,65]},{5:[2,66]},{81:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],87:[2,63],88:[2,64],121:[2,55],122:[2,79],123:[2,56],124:[2,57],125:[2,58],147:[2,67],148:[2,53],149:[2,54],157:[2,65],158:[2,66],159:[2,61],160:[2,47],161:[2,45],162:[2,43]},parseError:d(function(I,L){if(L.recoverable)this.trace(I);else{var A=new Error(I);throw A.hash=L,A}},"parseError"),parse:d(function(I){var L=this,A=[0],b=[],D=[null],l=[],mt=this.table,u="",Lt=0,Zt=0,Pe=2,Qt=1,Ae=l.slice.call(arguments,1),W=Object.create(this.lexer),ut={yy:{}};for(var Ot in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ot)&&(ut.yy[Ot]=this.yy[Ot]);W.setInput(I,ut.yy),ut.yy.lexer=W,ut.yy.parser=this,typeof W.yylloc>"u"&&(W.yylloc={});var Bt=W.yylloc;l.push(Bt);var ke=W.options&&W.options.ranges;typeof ut.yy.parseError=="function"?this.parseError=ut.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ne(tt){A.length=A.length-2*tt,D.length=D.length-tt,l.length=l.length-tt}d(Ne,"popStack");function jt(){var tt;return tt=b.pop()||W.lex()||Qt,typeof tt!="number"&&(tt instanceof Array&&(b=tt,tt=b.pop()),tt=L.symbols_[tt]||tt),tt}d(jt,"lex");for(var X,gt,st,Vt,yt={},Pt,ht,$t,At;;){if(gt=A[A.length-1],this.defaultActions[gt]?st=this.defaultActions[gt]:((X===null||typeof X>"u")&&(X=jt()),st=mt[gt]&&mt[gt][X]),typeof st>"u"||!st.length||!st[0]){var Yt="";At=[];for(Pt in mt[gt])this.terminals_[Pt]&&Pt>Pe&&At.push("'"+this.terminals_[Pt]+"'");W.showPosition?Yt="Parse error on line "+(Lt+1)+`: +import{g as St,a as Kt,d as Se,b as Me,c as Re,e as De}from"./chunk-ASOPGD6M-CSgx0Qv3.js";import{I as Ce}from"./chunk-KFBOBJHC-K9iYjR43.js";import{_ as d,g as Oe,q as Be,p as Ve,d as at,s as se,c as Ye,b as Fe,e as _,L as lt,M as wt,u as F,l as J,v as We,i as Mt,a as qe,j as kt,k as ze,m as ae,N as ie,D as Ft,O as ne,Z as He}from"./index-BxMsVRSP.js";var Wt=function(){var t=d(function(pt,I,L,A){for(L=L||{},A=pt.length;A--;L[pt[A]]=I);return L},"o"),e=[1,2],o=[1,3],r=[1,4],a=[2,4],i=[1,9],c=[1,11],h=[1,13],p=[1,14],s=[1,16],f=[1,17],E=[1,18],g=[1,24],T=[1,25],m=[1,26],w=[1,27],k=[1,28],V=[1,29],M=[1,30],Y=[1,31],C=[1,32],z=[1,33],H=[1,34],Z=[1,35],et=[1,36],K=[1,37],U=[1,38],q=[1,39],R=[1,41],Q=[1,42],G=[1,43],j=[1,44],rt=[1,45],S=[1,46],y=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],P=[4,5,16,50,52,53],$=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],it=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],N=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],Jt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],ot=[68,69,70],dt=[1,122],Ct={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,BIDIRECTIONAL_SOLID_ARROW:74,DOTTED_ARROW:75,BIDIRECTIONAL_DOTTED_ARROW:76,SOLID_CROSS:77,DOTTED_CROSS:78,SOLID_POINT:79,DOTTED_POINT:80,TXT:81,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"BIDIRECTIONAL_SOLID_ARROW",75:"DOTTED_ARROW",76:"BIDIRECTIONAL_DOTTED_ARROW",77:"SOLID_CROSS",78:"DOTTED_CROSS",79:"SOLID_POINT",80:"DOTTED_POINT",81:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:d(function(I,L,A,b,D,l,mt){var u=l.length-1;switch(D){case 3:return b.apply(l[u]),l[u];case 4:case 9:this.$=[];break;case 5:case 10:l[u-1].push(l[u]),this.$=l[u-1];break;case 6:case 7:case 11:case 12:this.$=l[u];break;case 8:case 13:this.$=[];break;case 15:l[u].type="createParticipant",this.$=l[u];break;case 16:l[u-1].unshift({type:"boxStart",boxData:b.parseBoxData(l[u-2])}),l[u-1].push({type:"boxEnd",boxText:l[u-2]}),this.$=l[u-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(l[u-2]),sequenceIndexStep:Number(l[u-1]),sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(l[u-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:b.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:l[u-1].actor};break;case 23:this.$={type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:l[u-1].actor};break;case 29:b.setDiagramTitle(l[u].substring(6)),this.$=l[u].substring(6);break;case 30:b.setDiagramTitle(l[u].substring(7)),this.$=l[u].substring(7);break;case 31:this.$=l[u].trim(),b.setAccTitle(this.$);break;case 32:case 33:this.$=l[u].trim(),b.setAccDescription(this.$);break;case 34:l[u-1].unshift({type:"loopStart",loopText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.LOOP_START}),l[u-1].push({type:"loopEnd",loopText:l[u-2],signalType:b.LINETYPE.LOOP_END}),this.$=l[u-1];break;case 35:l[u-1].unshift({type:"rectStart",color:b.parseMessage(l[u-2]),signalType:b.LINETYPE.RECT_START}),l[u-1].push({type:"rectEnd",color:b.parseMessage(l[u-2]),signalType:b.LINETYPE.RECT_END}),this.$=l[u-1];break;case 36:l[u-1].unshift({type:"optStart",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.OPT_START}),l[u-1].push({type:"optEnd",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.OPT_END}),this.$=l[u-1];break;case 37:l[u-1].unshift({type:"altStart",altText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.ALT_START}),l[u-1].push({type:"altEnd",signalType:b.LINETYPE.ALT_END}),this.$=l[u-1];break;case 38:l[u-1].unshift({type:"parStart",parText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.PAR_START}),l[u-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=l[u-1];break;case 39:l[u-1].unshift({type:"parStart",parText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.PAR_OVER_START}),l[u-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=l[u-1];break;case 40:l[u-1].unshift({type:"criticalStart",criticalText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.CRITICAL_START}),l[u-1].push({type:"criticalEnd",signalType:b.LINETYPE.CRITICAL_END}),this.$=l[u-1];break;case 41:l[u-1].unshift({type:"breakStart",breakText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.BREAK_START}),l[u-1].push({type:"breakEnd",optText:b.parseMessage(l[u-2]),signalType:b.LINETYPE.BREAK_END}),this.$=l[u-1];break;case 43:this.$=l[u-3].concat([{type:"option",optionText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.CRITICAL_OPTION},l[u]]);break;case 45:this.$=l[u-3].concat([{type:"and",parText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.PAR_AND},l[u]]);break;case 47:this.$=l[u-3].concat([{type:"else",altText:b.parseMessage(l[u-1]),signalType:b.LINETYPE.ALT_ELSE},l[u]]);break;case 48:l[u-3].draw="participant",l[u-3].type="addParticipant",l[u-3].description=b.parseMessage(l[u-1]),this.$=l[u-3];break;case 49:l[u-1].draw="participant",l[u-1].type="addParticipant",this.$=l[u-1];break;case 50:l[u-3].draw="actor",l[u-3].type="addParticipant",l[u-3].description=b.parseMessage(l[u-1]),this.$=l[u-3];break;case 51:l[u-1].draw="actor",l[u-1].type="addParticipant",this.$=l[u-1];break;case 52:l[u-1].type="destroyParticipant",this.$=l[u-1];break;case 53:this.$=[l[u-1],{type:"addNote",placement:l[u-2],actor:l[u-1].actor,text:l[u]}];break;case 54:l[u-2]=[].concat(l[u-1],l[u-1]).slice(0,2),l[u-2][0]=l[u-2][0].actor,l[u-2][1]=l[u-2][1].actor,this.$=[l[u-1],{type:"addNote",placement:b.PLACEMENT.OVER,actor:l[u-2].slice(0,2),text:l[u]}];break;case 55:this.$=[l[u-1],{type:"addLinks",actor:l[u-1].actor,text:l[u]}];break;case 56:this.$=[l[u-1],{type:"addALink",actor:l[u-1].actor,text:l[u]}];break;case 57:this.$=[l[u-1],{type:"addProperties",actor:l[u-1].actor,text:l[u]}];break;case 58:this.$=[l[u-1],{type:"addDetails",actor:l[u-1].actor,text:l[u]}];break;case 61:this.$=[l[u-2],l[u]];break;case 62:this.$=l[u];break;case 63:this.$=b.PLACEMENT.LEFTOF;break;case 64:this.$=b.PLACEMENT.RIGHTOF;break;case 65:this.$=[l[u-4],l[u-1],{type:"addMessage",from:l[u-4].actor,to:l[u-1].actor,signalType:l[u-3],msg:l[u],activate:!0},{type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:l[u-1].actor}];break;case 66:this.$=[l[u-4],l[u-1],{type:"addMessage",from:l[u-4].actor,to:l[u-1].actor,signalType:l[u-3],msg:l[u]},{type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:l[u-4].actor}];break;case 67:this.$=[l[u-3],l[u-1],{type:"addMessage",from:l[u-3].actor,to:l[u-1].actor,signalType:l[u-2],msg:l[u]}];break;case 68:this.$={type:"addParticipant",actor:l[u]};break;case 69:this.$=b.LINETYPE.SOLID_OPEN;break;case 70:this.$=b.LINETYPE.DOTTED_OPEN;break;case 71:this.$=b.LINETYPE.SOLID;break;case 72:this.$=b.LINETYPE.BIDIRECTIONAL_SOLID;break;case 73:this.$=b.LINETYPE.DOTTED;break;case 74:this.$=b.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 75:this.$=b.LINETYPE.SOLID_CROSS;break;case 76:this.$=b.LINETYPE.DOTTED_CROSS;break;case 77:this.$=b.LINETYPE.SOLID_POINT;break;case 78:this.$=b.LINETYPE.DOTTED_POINT;break;case 79:this.$=b.parseMessage(l[u].trim().substring(1));break}},"anonymous"),table:[{3:1,4:e,5:o,6:r},{1:[3]},{3:5,4:e,5:o,6:r},{3:6,4:e,5:o,6:r},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],a,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:i,5:c,8:8,9:10,12:12,13:h,14:p,17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},t(y,[2,5]),{9:47,12:12,13:h,14:p,17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},t(y,[2,7]),t(y,[2,8]),t(y,[2,14]),{12:48,50:K,52:U,53:q},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:S},{22:55,70:S},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(y,[2,29]),t(y,[2,30]),{32:[1,61]},{34:[1,62]},t(y,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:S},{22:72,70:S},{22:73,70:S},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82],79:[1,83],80:[1,84]},{55:85,57:[1,86],65:[1,87],66:[1,88]},{22:89,70:S},{22:90,70:S},{22:91,70:S},{22:92,70:S},t([5,51,64,71,72,73,74,75,76,77,78,79,80,81],[2,68]),t(y,[2,6]),t(y,[2,15]),t(P,[2,9],{10:93}),t(y,[2,17]),{5:[1,95],19:[1,94]},{5:[1,96]},t(y,[2,21]),{5:[1,97]},{5:[1,98]},t(y,[2,24]),t(y,[2,25]),t(y,[2,26]),t(y,[2,27]),t(y,[2,28]),t(y,[2,31]),t(y,[2,32]),t($,a,{7:99}),t($,a,{7:100}),t($,a,{7:101}),t(it,a,{40:102,7:103}),t(N,a,{42:104,7:105}),t(N,a,{7:105,42:106}),t(Jt,a,{45:107,7:108}),t($,a,{7:109}),{5:[1,111],51:[1,110]},{5:[1,113],51:[1,112]},{5:[1,114]},{22:117,68:[1,115],69:[1,116],70:S},t(ot,[2,69]),t(ot,[2,70]),t(ot,[2,71]),t(ot,[2,72]),t(ot,[2,73]),t(ot,[2,74]),t(ot,[2,75]),t(ot,[2,76]),t(ot,[2,77]),t(ot,[2,78]),{22:118,70:S},{22:120,58:119,70:S},{70:[2,63]},{70:[2,64]},{56:121,81:dt},{56:123,81:dt},{56:124,81:dt},{56:125,81:dt},{4:[1,128],5:[1,130],11:127,12:129,16:[1,126],50:K,52:U,53:q},{5:[1,131]},t(y,[2,19]),t(y,[2,20]),t(y,[2,22]),t(y,[2,23]),{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,132],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,133],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,134],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{16:[1,135]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,46],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,49:[1,136],50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{16:[1,137]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,44],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,48:[1,138],50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{16:[1,139]},{16:[1,140]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,42],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,47:[1,141],50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,142],17:15,18:s,21:f,22:40,23:E,24:19,25:20,26:21,27:22,28:23,29:g,30:T,31:m,33:w,35:k,36:V,37:M,38:Y,39:C,41:z,43:H,44:Z,46:et,50:K,52:U,53:q,54:R,59:Q,60:G,61:j,62:rt,70:S},{15:[1,143]},t(y,[2,49]),{15:[1,144]},t(y,[2,51]),t(y,[2,52]),{22:145,70:S},{22:146,70:S},{56:147,81:dt},{56:148,81:dt},{56:149,81:dt},{64:[1,150],81:[2,62]},{5:[2,55]},{5:[2,79]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(y,[2,16]),t(P,[2,10]),{12:151,50:K,52:U,53:q},t(P,[2,12]),t(P,[2,13]),t(y,[2,18]),t(y,[2,34]),t(y,[2,35]),t(y,[2,36]),t(y,[2,37]),{15:[1,152]},t(y,[2,38]),{15:[1,153]},t(y,[2,39]),t(y,[2,40]),{15:[1,154]},t(y,[2,41]),{5:[1,155]},{5:[1,156]},{56:157,81:dt},{56:158,81:dt},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:159,70:S},t(P,[2,11]),t(it,a,{7:103,40:160}),t(N,a,{7:105,42:161}),t(Jt,a,{7:108,45:162}),t(y,[2,48]),t(y,[2,50]),{5:[2,65]},{5:[2,66]},{81:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],87:[2,63],88:[2,64],121:[2,55],122:[2,79],123:[2,56],124:[2,57],125:[2,58],147:[2,67],148:[2,53],149:[2,54],157:[2,65],158:[2,66],159:[2,61],160:[2,47],161:[2,45],162:[2,43]},parseError:d(function(I,L){if(L.recoverable)this.trace(I);else{var A=new Error(I);throw A.hash=L,A}},"parseError"),parse:d(function(I){var L=this,A=[0],b=[],D=[null],l=[],mt=this.table,u="",Lt=0,Zt=0,Pe=2,Qt=1,Ae=l.slice.call(arguments,1),W=Object.create(this.lexer),ut={yy:{}};for(var Ot in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ot)&&(ut.yy[Ot]=this.yy[Ot]);W.setInput(I,ut.yy),ut.yy.lexer=W,ut.yy.parser=this,typeof W.yylloc>"u"&&(W.yylloc={});var Bt=W.yylloc;l.push(Bt);var ke=W.options&&W.options.ranges;typeof ut.yy.parseError=="function"?this.parseError=ut.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ne(tt){A.length=A.length-2*tt,D.length=D.length-tt,l.length=l.length-tt}d(Ne,"popStack");function jt(){var tt;return tt=b.pop()||W.lex()||Qt,typeof tt!="number"&&(tt instanceof Array&&(b=tt,tt=b.pop()),tt=L.symbols_[tt]||tt),tt}d(jt,"lex");for(var X,gt,st,Vt,yt={},Pt,ht,$t,At;;){if(gt=A[A.length-1],this.defaultActions[gt]?st=this.defaultActions[gt]:((X===null||typeof X>"u")&&(X=jt()),st=mt[gt]&&mt[gt][X]),typeof st>"u"||!st.length||!st[0]){var Yt="";At=[];for(Pt in mt[gt])this.terminals_[Pt]&&Pt>Pe&&At.push("'"+this.terminals_[Pt]+"'");W.showPosition?Yt="Parse error on line "+(Lt+1)+`: `+W.showPosition()+` Expecting `+At.join(", ")+", got '"+(this.terminals_[X]||X)+"'":Yt="Parse error on line "+(Lt+1)+": Unexpected "+(X==Qt?"end of input":"'"+(this.terminals_[X]||X)+"'"),this.parseError(Yt,{text:W.match,token:this.terminals_[X]||X,line:W.yylineno,loc:Bt,expected:At})}if(st[0]instanceof Array&&st.length>1)throw new Error("Parse Error: multiple actions possible at state: "+gt+", token: "+X);switch(st[0]){case 1:A.push(X),D.push(W.yytext),l.push(W.yylloc),A.push(st[1]),X=null,Zt=W.yyleng,u=W.yytext,Lt=W.yylineno,Bt=W.yylloc;break;case 2:if(ht=this.productions_[st[1]][1],yt.$=D[D.length-ht],yt._$={first_line:l[l.length-(ht||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(ht||1)].first_column,last_column:l[l.length-1].last_column},ke&&(yt._$.range=[l[l.length-(ht||1)].range[0],l[l.length-1].range[1]]),Vt=this.performAction.apply(yt,[u,Zt,Lt,ut.yy,st[1],D,l].concat(Ae)),typeof Vt<"u")return Vt;ht&&(A=A.slice(0,-1*ht*2),D=D.slice(0,-1*ht),l=l.slice(0,-1*ht)),A.push(this.productions_[st[1]][0]),D.push(yt.$),l.push(yt._$),$t=mt[A[A.length-2]][A[A.length-1]],A.push($t);break;case 3:return!0}}return!0},"parse")},Le=function(){var pt={EOF:1,parseError:d(function(L,A){if(this.yy.parser)this.yy.parser.parseError(L,A);else throw new Error(L)},"parseError"),setInput:d(function(I,L){return this.yy=L||this.yy||{},this._input=I,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:d(function(){var I=this._input[0];this.yytext+=I,this.yyleng++,this.offset++,this.match+=I,this.matched+=I;var L=I.match(/(?:\r\n?|\n).*/g);return L?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),I},"input"),unput:d(function(I){var L=I.length,A=I.split(/(?:\r\n?|\n)/g);this._input=I+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-L),this.offset-=L;var b=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),A.length-1&&(this.yylineno-=A.length-1);var D=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:A?(A.length===b.length?this.yylloc.first_column:0)+b[b.length-A.length].length-A[0].length:this.yylloc.first_column-L},this.options.ranges&&(this.yylloc.range=[D[0],D[0]+this.yyleng-L]),this.yyleng=this.yytext.length,this},"unput"),more:d(function(){return this._more=!0,this},"more"),reject:d(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:d(function(I){this.unput(this.match.slice(I))},"less"),pastInput:d(function(){var I=this.matched.substr(0,this.matched.length-this.match.length);return(I.length>20?"...":"")+I.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d(function(){var I=this.match;return I.length<20&&(I+=this._input.substr(0,20-I.length)),(I.substr(0,20)+(I.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d(function(){var I=this.pastInput(),L=new Array(I.length+1).join("-");return I+this.upcomingInput()+` diff --git a/assets/stateDiagram-MAYHULR4-C8Lys57U.js b/assets/stateDiagram-MAYHULR4-BipN3LkY.js similarity index 96% rename from assets/stateDiagram-MAYHULR4-C8Lys57U.js rename to assets/stateDiagram-MAYHULR4-BipN3LkY.js index 1f793d9dd..3551fffba 100644 --- a/assets/stateDiagram-MAYHULR4-C8Lys57U.js +++ b/assets/stateDiagram-MAYHULR4-BipN3LkY.js @@ -1 +1 @@ -import{s as W,a as N,b as P}from"./chunk-7U56Z5CX-svwneYgX.js";import{_ as u,d as t,j as H,l as S,k as C,e as z,K as U,Q as F,u as O}from"./index-Dq-yb_Rq.js";import{G as J}from"./graph-IuN8xJxa.js";import{l as X}from"./layout-DmYEI147.js";import"./chunk-5HRBRIJM-C3cKZcXu.js";import"./_baseUniq-4k_gUsXm.js";import"./_basePickBy-DFtYmPO_.js";var L={},D=u((e,i)=>{L[e]=i},"set"),Y=u(e=>L[e],"get"),G=u(()=>Object.keys(L),"keys"),I=u(()=>G().length,"size"),$={get:Y,set:D,keys:G,size:I},j=u(e=>e.append("circle").attr("class","start-state").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit).attr("cy",t().state.padding+t().state.sizeUnit),"drawStartState"),q=u(e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t().state.textHeight).attr("class","divider").attr("x2",t().state.textHeight*2).attr("y1",0).attr("y2",0),"drawDivider"),K=u((e,i)=>{const d=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+2*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),o=d.node().getBBox();return e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",o.width+2*t().state.padding).attr("height",o.height+2*t().state.padding).attr("rx",t().state.radius),d},"drawSimpleState"),Q=u((e,i)=>{const d=u(function(l,B,m){const k=l.append("tspan").attr("x",2*t().state.padding).text(B);m||k.attr("dy",t().state.textHeight)},"addTspan"),n=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+1.3*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),g=n.height,p=e.append("text").attr("x",t().state.padding).attr("y",g+t().state.padding*.4+t().state.dividerMargin+t().state.textHeight).attr("class","state-description");let a=!0,s=!0;i.descriptions.forEach(function(l){a||(d(p,l,s),s=!1),a=!1});const y=e.append("line").attr("x1",t().state.padding).attr("y1",t().state.padding+g+t().state.dividerMargin/2).attr("y2",t().state.padding+g+t().state.dividerMargin/2).attr("class","descr-divider"),x=p.node().getBBox(),c=Math.max(x.width,n.width);return y.attr("x2",c+3*t().state.padding),e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",c+2*t().state.padding).attr("height",x.height+g+2*t().state.padding).attr("rx",t().state.radius),e},"drawDescrState"),Z=u((e,i,d)=>{const o=t().state.padding,n=2*t().state.padding,g=e.node().getBBox(),p=g.width,a=g.x,s=e.append("text").attr("x",0).attr("y",t().state.titleShift).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),x=s.node().getBBox().width+n;let c=Math.max(x,p);c===p&&(c=c+n);let l;const B=e.node().getBBox();i.doc,l=a-o,x>p&&(l=(p-c)/2+o),Math.abs(a-B.x)p&&(l=a-(x-p)/2);const m=1-t().state.textHeight;return e.insert("rect",":first-child").attr("x",l).attr("y",m).attr("class",d?"alt-composit":"composit").attr("width",c).attr("height",B.height+t().state.textHeight+t().state.titleShift+1).attr("rx","0"),s.attr("x",l+o),x<=p&&s.attr("x",a+(c-n)/2-x/2+o),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",c).attr("height",t().state.textHeight*3).attr("rx",t().state.radius),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",c).attr("height",B.height+3+2*t().state.textHeight).attr("rx",t().state.radius),e},"addTitleAndBox"),V=u(e=>(e.append("circle").attr("class","end-state-outer").attr("r",t().state.sizeUnit+t().state.miniPadding).attr("cx",t().state.padding+t().state.sizeUnit+t().state.miniPadding).attr("cy",t().state.padding+t().state.sizeUnit+t().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit+2).attr("cy",t().state.padding+t().state.sizeUnit+2)),"drawEndState"),tt=u((e,i)=>{let d=t().state.forkWidth,o=t().state.forkHeight;if(i.parentId){let n=d;d=o,o=n}return e.append("rect").style("stroke","black").style("fill","black").attr("width",d).attr("height",o).attr("x",t().state.padding).attr("y",t().state.padding)},"drawForkJoinState"),et=u((e,i,d,o)=>{let n=0;const g=o.append("text");g.style("text-anchor","start"),g.attr("class","noteText");let p=e.replace(/\r\n/g,"
");p=p.replace(/\n/g,"
");const a=p.split(z.lineBreakRegex);let s=1.25*t().state.noteMargin;for(const y of a){const x=y.trim();if(x.length>0){const c=g.append("tspan");if(c.text(x),s===0){const l=c.node().getBBox();s+=l.height}n+=s,c.attr("x",i+t().state.noteMargin),c.attr("y",d+n+1.25*t().state.noteMargin)}}return{textWidth:g.node().getBBox().width,textHeight:n}},"_drawLongText"),at=u((e,i)=>{i.attr("class","state-note");const d=i.append("rect").attr("x",0).attr("y",t().state.padding),o=i.append("g"),{textWidth:n,textHeight:g}=et(e,0,0,o);return d.attr("height",g+2*t().state.noteMargin),d.attr("width",n+t().state.noteMargin*2),d},"drawNote"),_=u(function(e,i){const d=i.id,o={id:d,label:i.id,width:0,height:0},n=e.append("g").attr("id",d).attr("class","stateGroup");i.type==="start"&&j(n),i.type==="end"&&V(n),(i.type==="fork"||i.type==="join")&&tt(n,i),i.type==="note"&&at(i.note.text,n),i.type==="divider"&&q(n),i.type==="default"&&i.descriptions.length===0&&K(n,i),i.type==="default"&&i.descriptions.length>0&&Q(n,i);const g=n.node().getBBox();return o.width=g.width+2*t().state.padding,o.height=g.height+2*t().state.padding,$.set(d,o),o},"drawState"),A=0,it=u(function(e,i,d){const o=u(function(s){switch(s){case N.relationType.AGGREGATION:return"aggregation";case N.relationType.EXTENSION:return"extension";case N.relationType.COMPOSITION:return"composition";case N.relationType.DEPENDENCY:return"dependency"}},"getRelationType");i.points=i.points.filter(s=>!Number.isNaN(s.y));const n=i.points,g=U().x(function(s){return s.x}).y(function(s){return s.y}).curve(F),p=e.append("path").attr("d",g(n)).attr("id","edge"+A).attr("class","transition");let a="";if(t().state.arrowMarkerAbsolute&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),p.attr("marker-end","url("+a+"#"+o(N.relationType.DEPENDENCY)+"End)"),d.title!==void 0){const s=e.append("g").attr("class","stateLabel"),{x:y,y:x}=O.calcLabelPosition(i.points),c=z.getRows(d.title);let l=0;const B=[];let m=0,k=0;for(let f=0;f<=c.length;f++){const h=s.append("text").attr("text-anchor","middle").text(c[f]).attr("x",y).attr("y",x+l),w=h.node().getBBox();m=Math.max(m,w.width),k=Math.min(k,w.x),S.info(w.x,y,x+l),l===0&&(l=h.node().getBBox().height,S.info("Title height",l,x)),B.push(h)}let E=l*c.length;if(c.length>1){const f=(c.length-1)*l*.5;B.forEach((h,w)=>h.attr("y",x+w*l-f)),E=l*c.length}const r=s.node().getBBox();s.insert("rect",":first-child").attr("class","box").attr("x",y-m/2-t().state.padding/2).attr("y",x-E/2-t().state.padding/2-3.5).attr("width",m+t().state.padding).attr("height",E+t().state.padding),S.info(r)}A++},"drawEdge"),b,T={},rt=u(function(){},"setConf"),nt=u(function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),st=u(function(e,i,d,o){b=t().state;const n=t().securityLevel;let g;n==="sandbox"&&(g=H("#i"+i));const p=n==="sandbox"?H(g.nodes()[0].contentDocument.body):H("body"),a=n==="sandbox"?g.nodes()[0].contentDocument:document;S.debug("Rendering diagram "+e);const s=p.select(`[id='${i}']`);nt(s);const y=o.db.getRootDoc();R(y,s,void 0,!1,p,a,o);const x=b.padding,c=s.node().getBBox(),l=c.width+x*2,B=c.height+x*2,m=l*1.75;C(s,B,m,b.useMaxWidth),s.attr("viewBox",`${c.x-b.padding} ${c.y-b.padding} `+l+" "+B)},"draw"),dt=u(e=>e?e.length*b.fontSizeFactor:1,"getLabelWidth"),R=u((e,i,d,o,n,g,p)=>{const a=new J({compound:!0,multigraph:!0});let s,y=!0;for(s=0;s{const w=h.parentElement;let v=0,M=0;w&&(w.parentElement&&(v=w.parentElement.getBBox().width),M=parseInt(w.getAttribute("data-x-shift"),10),Number.isNaN(M)&&(M=0)),h.setAttribute("x1",0-M+8),h.setAttribute("x2",v-M-8)})):S.debug("No Node "+r+": "+JSON.stringify(a.node(r)))});let k=m.getBBox();a.edges().forEach(function(r){r!==void 0&&a.edge(r)!==void 0&&(S.debug("Edge "+r.v+" -> "+r.w+": "+JSON.stringify(a.edge(r))),it(i,a.edge(r),a.edge(r).relation))}),k=m.getBBox();const E={id:d||"root",label:d||"root",width:0,height:0};return E.width=k.width+2*b.padding,E.height=k.height+2*b.padding,S.debug("Doc rendered",E,a),E},"renderDoc"),ot={setConf:rt,draw:st},ft={parser:W,db:N,renderer:ot,styles:P,init:u(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,N.clear()},"init")};export{ft as diagram}; +import{s as W,a as N,b as P}from"./chunk-7U56Z5CX-CtkcuCGQ.js";import{_ as u,d as t,j as H,l as S,k as C,e as z,K as U,Q as F,u as O}from"./index-BxMsVRSP.js";import{G as J}from"./graph-CIloxWRz.js";import{l as X}from"./layout-BVquG3NB.js";import"./chunk-5HRBRIJM-BsvwIDm-.js";import"./_baseUniq-QkQtF8Yx.js";import"./_basePickBy-DAcC5mcM.js";var L={},D=u((e,i)=>{L[e]=i},"set"),Y=u(e=>L[e],"get"),G=u(()=>Object.keys(L),"keys"),I=u(()=>G().length,"size"),$={get:Y,set:D,keys:G,size:I},j=u(e=>e.append("circle").attr("class","start-state").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit).attr("cy",t().state.padding+t().state.sizeUnit),"drawStartState"),q=u(e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t().state.textHeight).attr("class","divider").attr("x2",t().state.textHeight*2).attr("y1",0).attr("y2",0),"drawDivider"),K=u((e,i)=>{const d=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+2*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),o=d.node().getBBox();return e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",o.width+2*t().state.padding).attr("height",o.height+2*t().state.padding).attr("rx",t().state.radius),d},"drawSimpleState"),Q=u((e,i)=>{const d=u(function(l,B,m){const k=l.append("tspan").attr("x",2*t().state.padding).text(B);m||k.attr("dy",t().state.textHeight)},"addTspan"),n=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+1.3*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),g=n.height,p=e.append("text").attr("x",t().state.padding).attr("y",g+t().state.padding*.4+t().state.dividerMargin+t().state.textHeight).attr("class","state-description");let a=!0,s=!0;i.descriptions.forEach(function(l){a||(d(p,l,s),s=!1),a=!1});const y=e.append("line").attr("x1",t().state.padding).attr("y1",t().state.padding+g+t().state.dividerMargin/2).attr("y2",t().state.padding+g+t().state.dividerMargin/2).attr("class","descr-divider"),x=p.node().getBBox(),c=Math.max(x.width,n.width);return y.attr("x2",c+3*t().state.padding),e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",c+2*t().state.padding).attr("height",x.height+g+2*t().state.padding).attr("rx",t().state.radius),e},"drawDescrState"),Z=u((e,i,d)=>{const o=t().state.padding,n=2*t().state.padding,g=e.node().getBBox(),p=g.width,a=g.x,s=e.append("text").attr("x",0).attr("y",t().state.titleShift).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),x=s.node().getBBox().width+n;let c=Math.max(x,p);c===p&&(c=c+n);let l;const B=e.node().getBBox();i.doc,l=a-o,x>p&&(l=(p-c)/2+o),Math.abs(a-B.x)p&&(l=a-(x-p)/2);const m=1-t().state.textHeight;return e.insert("rect",":first-child").attr("x",l).attr("y",m).attr("class",d?"alt-composit":"composit").attr("width",c).attr("height",B.height+t().state.textHeight+t().state.titleShift+1).attr("rx","0"),s.attr("x",l+o),x<=p&&s.attr("x",a+(c-n)/2-x/2+o),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",c).attr("height",t().state.textHeight*3).attr("rx",t().state.radius),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",c).attr("height",B.height+3+2*t().state.textHeight).attr("rx",t().state.radius),e},"addTitleAndBox"),V=u(e=>(e.append("circle").attr("class","end-state-outer").attr("r",t().state.sizeUnit+t().state.miniPadding).attr("cx",t().state.padding+t().state.sizeUnit+t().state.miniPadding).attr("cy",t().state.padding+t().state.sizeUnit+t().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit+2).attr("cy",t().state.padding+t().state.sizeUnit+2)),"drawEndState"),tt=u((e,i)=>{let d=t().state.forkWidth,o=t().state.forkHeight;if(i.parentId){let n=d;d=o,o=n}return e.append("rect").style("stroke","black").style("fill","black").attr("width",d).attr("height",o).attr("x",t().state.padding).attr("y",t().state.padding)},"drawForkJoinState"),et=u((e,i,d,o)=>{let n=0;const g=o.append("text");g.style("text-anchor","start"),g.attr("class","noteText");let p=e.replace(/\r\n/g,"
");p=p.replace(/\n/g,"
");const a=p.split(z.lineBreakRegex);let s=1.25*t().state.noteMargin;for(const y of a){const x=y.trim();if(x.length>0){const c=g.append("tspan");if(c.text(x),s===0){const l=c.node().getBBox();s+=l.height}n+=s,c.attr("x",i+t().state.noteMargin),c.attr("y",d+n+1.25*t().state.noteMargin)}}return{textWidth:g.node().getBBox().width,textHeight:n}},"_drawLongText"),at=u((e,i)=>{i.attr("class","state-note");const d=i.append("rect").attr("x",0).attr("y",t().state.padding),o=i.append("g"),{textWidth:n,textHeight:g}=et(e,0,0,o);return d.attr("height",g+2*t().state.noteMargin),d.attr("width",n+t().state.noteMargin*2),d},"drawNote"),_=u(function(e,i){const d=i.id,o={id:d,label:i.id,width:0,height:0},n=e.append("g").attr("id",d).attr("class","stateGroup");i.type==="start"&&j(n),i.type==="end"&&V(n),(i.type==="fork"||i.type==="join")&&tt(n,i),i.type==="note"&&at(i.note.text,n),i.type==="divider"&&q(n),i.type==="default"&&i.descriptions.length===0&&K(n,i),i.type==="default"&&i.descriptions.length>0&&Q(n,i);const g=n.node().getBBox();return o.width=g.width+2*t().state.padding,o.height=g.height+2*t().state.padding,$.set(d,o),o},"drawState"),A=0,it=u(function(e,i,d){const o=u(function(s){switch(s){case N.relationType.AGGREGATION:return"aggregation";case N.relationType.EXTENSION:return"extension";case N.relationType.COMPOSITION:return"composition";case N.relationType.DEPENDENCY:return"dependency"}},"getRelationType");i.points=i.points.filter(s=>!Number.isNaN(s.y));const n=i.points,g=U().x(function(s){return s.x}).y(function(s){return s.y}).curve(F),p=e.append("path").attr("d",g(n)).attr("id","edge"+A).attr("class","transition");let a="";if(t().state.arrowMarkerAbsolute&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),p.attr("marker-end","url("+a+"#"+o(N.relationType.DEPENDENCY)+"End)"),d.title!==void 0){const s=e.append("g").attr("class","stateLabel"),{x:y,y:x}=O.calcLabelPosition(i.points),c=z.getRows(d.title);let l=0;const B=[];let m=0,k=0;for(let f=0;f<=c.length;f++){const h=s.append("text").attr("text-anchor","middle").text(c[f]).attr("x",y).attr("y",x+l),w=h.node().getBBox();m=Math.max(m,w.width),k=Math.min(k,w.x),S.info(w.x,y,x+l),l===0&&(l=h.node().getBBox().height,S.info("Title height",l,x)),B.push(h)}let E=l*c.length;if(c.length>1){const f=(c.length-1)*l*.5;B.forEach((h,w)=>h.attr("y",x+w*l-f)),E=l*c.length}const r=s.node().getBBox();s.insert("rect",":first-child").attr("class","box").attr("x",y-m/2-t().state.padding/2).attr("y",x-E/2-t().state.padding/2-3.5).attr("width",m+t().state.padding).attr("height",E+t().state.padding),S.info(r)}A++},"drawEdge"),b,T={},rt=u(function(){},"setConf"),nt=u(function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),st=u(function(e,i,d,o){b=t().state;const n=t().securityLevel;let g;n==="sandbox"&&(g=H("#i"+i));const p=n==="sandbox"?H(g.nodes()[0].contentDocument.body):H("body"),a=n==="sandbox"?g.nodes()[0].contentDocument:document;S.debug("Rendering diagram "+e);const s=p.select(`[id='${i}']`);nt(s);const y=o.db.getRootDoc();R(y,s,void 0,!1,p,a,o);const x=b.padding,c=s.node().getBBox(),l=c.width+x*2,B=c.height+x*2,m=l*1.75;C(s,B,m,b.useMaxWidth),s.attr("viewBox",`${c.x-b.padding} ${c.y-b.padding} `+l+" "+B)},"draw"),dt=u(e=>e?e.length*b.fontSizeFactor:1,"getLabelWidth"),R=u((e,i,d,o,n,g,p)=>{const a=new J({compound:!0,multigraph:!0});let s,y=!0;for(s=0;s{const w=h.parentElement;let v=0,M=0;w&&(w.parentElement&&(v=w.parentElement.getBBox().width),M=parseInt(w.getAttribute("data-x-shift"),10),Number.isNaN(M)&&(M=0)),h.setAttribute("x1",0-M+8),h.setAttribute("x2",v-M-8)})):S.debug("No Node "+r+": "+JSON.stringify(a.node(r)))});let k=m.getBBox();a.edges().forEach(function(r){r!==void 0&&a.edge(r)!==void 0&&(S.debug("Edge "+r.v+" -> "+r.w+": "+JSON.stringify(a.edge(r))),it(i,a.edge(r),a.edge(r).relation))}),k=m.getBBox();const E={id:d||"root",label:d||"root",width:0,height:0};return E.width=k.width+2*b.padding,E.height=k.height+2*b.padding,S.debug("Doc rendered",E,a),E},"renderDoc"),ot={setConf:rt,draw:st},ft={parser:W,db:N,renderer:ot,styles:P,init:u(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,N.clear()},"init")};export{ft as diagram}; diff --git a/assets/stateDiagram-v2-4JROLMXI-DVegFWL5.js b/assets/stateDiagram-v2-4JROLMXI-DVegFWL5.js new file mode 100644 index 000000000..24d29887e --- /dev/null +++ b/assets/stateDiagram-v2-4JROLMXI-DVegFWL5.js @@ -0,0 +1 @@ +import{s as t,a as e,c as r,b as s}from"./chunk-7U56Z5CX-CtkcuCGQ.js";import{_ as i}from"./index-BxMsVRSP.js";import"./chunk-5HRBRIJM-BsvwIDm-.js";var _={parser:t,db:e,renderer:r,styles:s,init:i(a=>{a.state||(a.state={}),a.state.arrowMarkerAbsolute=a.arrowMarkerAbsolute,e.clear()},"init")};export{_ as diagram}; diff --git a/assets/stateDiagram-v2-4JROLMXI-Dm8_0oIV.js b/assets/stateDiagram-v2-4JROLMXI-Dm8_0oIV.js deleted file mode 100644 index 51d429ee6..000000000 --- a/assets/stateDiagram-v2-4JROLMXI-Dm8_0oIV.js +++ /dev/null @@ -1 +0,0 @@ -import{s as t,a as e,c as r,b as s}from"./chunk-7U56Z5CX-svwneYgX.js";import{_ as i}from"./index-Dq-yb_Rq.js";import"./chunk-5HRBRIJM-C3cKZcXu.js";var _={parser:t,db:e,renderer:r,styles:s,init:i(a=>{a.state||(a.state={}),a.state.arrowMarkerAbsolute=a.arrowMarkerAbsolute,e.clear()},"init")};export{_ as diagram}; diff --git a/assets/timeline-definition-U7ZMHBDA-CqKQ3g42.js b/assets/timeline-definition-U7ZMHBDA-B9XL_Ldh.js similarity index 99% rename from assets/timeline-definition-U7ZMHBDA-CqKQ3g42.js rename to assets/timeline-definition-U7ZMHBDA-B9XL_Ldh.js index 1bb4c3445..aeecf0d00 100644 --- a/assets/timeline-definition-U7ZMHBDA-CqKQ3g42.js +++ b/assets/timeline-definition-U7ZMHBDA-B9XL_Ldh.js @@ -1,4 +1,4 @@ -import{_ as s,T as xt,U as kt,v as vt,j as U,d as _t,l as T,V as bt,W as wt,X as St,Y as Et}from"./index-Dq-yb_Rq.js";import{d as nt}from"./arc-CLrr7Muw.js";var X=function(){var n=s(function(f,i,a,d){for(a=a||{},d=f.length;d--;a[f[d]]=i);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],r=[1,11],h=[1,12],c=[1,13],g=[1,16],m=[1,17],p={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:s(function(i,a,d,u,y,o,S){var k=o.length-1;switch(y){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.getCommonDb().setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.getCommonDb().setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 15:u.addTask(o[k],0,""),this.$=o[k];break;case 16:u.addEvent(o[k].substr(2)),this.$=o[k];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:l,14:r,16:h,17:c,18:14,19:15,20:g,21:m},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:l,14:r,16:h,17:c,18:14,19:15,20:g,21:m},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:s(function(i,a){if(a.recoverable)this.trace(i);else{var d=new Error(i);throw d.hash=a,d}},"parseError"),parse:s(function(i){var a=this,d=[0],u=[],y=[null],o=[],S=this.table,k="",M=0,P=0,B=2,J=1,O=o.slice.call(arguments,1),v=Object.create(this.lexer),E={yy:{}};for(var b in this.yy)Object.prototype.hasOwnProperty.call(this.yy,b)&&(E.yy[b]=this.yy[b]);v.setInput(i,E.yy),E.yy.lexer=v,E.yy.parser=this,typeof v.yylloc>"u"&&(v.yylloc={});var L=v.yylloc;o.push(L);var A=v.options&&v.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function R(I){d.length=d.length-2*I,y.length=y.length-I,o.length=o.length-I}s(R,"popStack");function F(){var I;return I=u.pop()||v.lex()||J,typeof I!="number"&&(I instanceof Array&&(u=I,I=u.pop()),I=a.symbols_[I]||I),I}s(F,"lex");for(var w,C,N,K,V={},j,$,et,G;;){if(C=d[d.length-1],this.defaultActions[C]?N=this.defaultActions[C]:((w===null||typeof w>"u")&&(w=F()),N=S[C]&&S[C][w]),typeof N>"u"||!N.length||!N[0]){var Q="";G=[];for(j in S[C])this.terminals_[j]&&j>B&&G.push("'"+this.terminals_[j]+"'");v.showPosition?Q="Parse error on line "+(M+1)+`: +import{_ as s,T as xt,U as kt,v as vt,j as U,d as _t,l as T,V as bt,W as wt,X as St,Y as Et}from"./index-BxMsVRSP.js";import{d as nt}from"./arc-B3F-a6Ej.js";var X=function(){var n=s(function(f,i,a,d){for(a=a||{},d=f.length;d--;a[f[d]]=i);return a},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],l=[1,10],r=[1,11],h=[1,12],c=[1,13],g=[1,16],m=[1,17],p={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:s(function(i,a,d,u,y,o,S){var k=o.length-1;switch(y){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.getCommonDb().setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.getCommonDb().setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 15:u.addTask(o[k],0,""),this.$=o[k];break;case 16:u.addEvent(o[k].substr(2)),this.$=o[k];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:l,14:r,16:h,17:c,18:14,19:15,20:g,21:m},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:l,14:r,16:h,17:c,18:14,19:15,20:g,21:m},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:s(function(i,a){if(a.recoverable)this.trace(i);else{var d=new Error(i);throw d.hash=a,d}},"parseError"),parse:s(function(i){var a=this,d=[0],u=[],y=[null],o=[],S=this.table,k="",M=0,P=0,B=2,J=1,O=o.slice.call(arguments,1),v=Object.create(this.lexer),E={yy:{}};for(var b in this.yy)Object.prototype.hasOwnProperty.call(this.yy,b)&&(E.yy[b]=this.yy[b]);v.setInput(i,E.yy),E.yy.lexer=v,E.yy.parser=this,typeof v.yylloc>"u"&&(v.yylloc={});var L=v.yylloc;o.push(L);var A=v.options&&v.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function R(I){d.length=d.length-2*I,y.length=y.length-I,o.length=o.length-I}s(R,"popStack");function F(){var I;return I=u.pop()||v.lex()||J,typeof I!="number"&&(I instanceof Array&&(u=I,I=u.pop()),I=a.symbols_[I]||I),I}s(F,"lex");for(var w,C,N,K,V={},j,$,et,G;;){if(C=d[d.length-1],this.defaultActions[C]?N=this.defaultActions[C]:((w===null||typeof w>"u")&&(w=F()),N=S[C]&&S[C][w]),typeof N>"u"||!N.length||!N[0]){var Q="";G=[];for(j in S[C])this.terminals_[j]&&j>B&&G.push("'"+this.terminals_[j]+"'");v.showPosition?Q="Parse error on line "+(M+1)+`: `+v.showPosition()+` Expecting `+G.join(", ")+", got '"+(this.terminals_[w]||w)+"'":Q="Parse error on line "+(M+1)+": Unexpected "+(w==J?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(Q,{text:v.match,token:this.terminals_[w]||w,line:v.yylineno,loc:L,expected:G})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+C+", token: "+w);switch(N[0]){case 1:d.push(w),y.push(v.yytext),o.push(v.yylloc),d.push(N[1]),w=null,P=v.yyleng,k=v.yytext,M=v.yylineno,L=v.yylloc;break;case 2:if($=this.productions_[N[1]][1],V.$=y[y.length-$],V._$={first_line:o[o.length-($||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-($||1)].first_column,last_column:o[o.length-1].last_column},A&&(V._$.range=[o[o.length-($||1)].range[0],o[o.length-1].range[1]]),K=this.performAction.apply(V,[k,P,M,E.yy,N[1],y,o].concat(O)),typeof K<"u")return K;$&&(d=d.slice(0,-1*$*2),y=y.slice(0,-1*$),o=o.slice(0,-1*$)),d.push(this.productions_[N[1]][0]),y.push(V.$),o.push(V._$),et=S[d[d.length-2]][d[d.length-1]],d.push(et);break;case 3:return!0}}return!0},"parse")},x=function(){var f={EOF:1,parseError:s(function(a,d){if(this.yy.parser)this.yy.parser.parseError(a,d);else throw new Error(a)},"parseError"),setInput:s(function(i,a){return this.yy=a||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:s(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:s(function(i){var a=i.length,d=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var y=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===u.length?this.yylloc.first_column:0)+u[u.length-d.length].length-d[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[y[0],y[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:s(function(){return this._more=!0,this},"more"),reject:s(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:s(function(i){this.unput(this.match.slice(i))},"less"),pastInput:s(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+` diff --git a/assets/xychartDiagram-6QU3TZC5-VRiQJkPg.js b/assets/xychartDiagram-6QU3TZC5-qdBpIAS5.js similarity index 99% rename from assets/xychartDiagram-6QU3TZC5-VRiQJkPg.js rename to assets/xychartDiagram-6QU3TZC5-qdBpIAS5.js index 9735263ba..bf6a29e7e 100644 --- a/assets/xychartDiagram-6QU3TZC5-VRiQJkPg.js +++ b/assets/xychartDiagram-6QU3TZC5-qdBpIAS5.js @@ -1,4 +1,4 @@ -import{_ as a,aF as ui,l as Ft,K as Bt,I as gi,D as At,C as Xt,B as xi,i as di,q as Nt,s as pi,g as fi,p as mi,b as yi,c as bi,v as Ai,G as wi,k as Ci}from"./index-Dq-yb_Rq.js";import{i as Si}from"./init-Gi6I4Gst.js";import{o as _i}from"./ordinal-Cboi1Yqb.js";import{l as Wt}from"./linear-CcPs0ftO.js";function ki(e,t,i){e=+e,t=+t,i=(n=arguments.length)<2?(t=e,e=0,1):n<3?1:+i;for(var s=-1,n=Math.max(0,Math.ceil((t-e)/i))|0,o=new Array(n);++s"u"&&(T.yylloc={});var gt=T.yylloc;r.push(gt);var li=T.options&&T.options.ranges;typeof W.yy.parseError=="function"?this.parseError=W.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ci(L){g.length=g.length-2*L,A.length=A.length-L,r.length=r.length-L}a(ci,"popStack");function Mt(){var L;return L=x.pop()||T.lex()||It,typeof L!="number"&&(L instanceof Array&&(x=L,L=x.pop()),L=c.symbols_[L]||L),L}a(Mt,"lex");for(var P,O,M,xt,z={},at,V,Vt,rt;;){if(O=g[g.length-1],this.defaultActions[O]?M=this.defaultActions[O]:((P===null||typeof P>"u")&&(P=Mt()),M=Z[O]&&Z[O][P]),typeof M>"u"||!M.length||!M[0]){var dt="";rt=[];for(at in Z[O])this.terminals_[at]&&at>oi&&rt.push("'"+this.terminals_[at]+"'");T.showPosition?dt="Parse error on line "+(nt+1)+`: +import{_ as a,aF as ui,l as Ft,K as Bt,I as gi,D as At,C as Xt,B as xi,i as di,q as Nt,s as pi,g as fi,p as mi,b as yi,c as bi,v as Ai,G as wi,k as Ci}from"./index-BxMsVRSP.js";import{i as Si}from"./init-Gi6I4Gst.js";import{o as _i}from"./ordinal-Cboi1Yqb.js";import{l as Wt}from"./linear-BP5rAFKr.js";function ki(e,t,i){e=+e,t=+t,i=(n=arguments.length)<2?(t=e,e=0,1):n<3?1:+i;for(var s=-1,n=Math.max(0,Math.ceil((t-e)/i))|0,o=new Array(n);++s"u"&&(T.yylloc={});var gt=T.yylloc;r.push(gt);var li=T.options&&T.options.ranges;typeof W.yy.parseError=="function"?this.parseError=W.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ci(L){g.length=g.length-2*L,A.length=A.length-L,r.length=r.length-L}a(ci,"popStack");function Mt(){var L;return L=x.pop()||T.lex()||It,typeof L!="number"&&(L instanceof Array&&(x=L,L=x.pop()),L=c.symbols_[L]||L),L}a(Mt,"lex");for(var P,O,M,xt,z={},at,V,Vt,rt;;){if(O=g[g.length-1],this.defaultActions[O]?M=this.defaultActions[O]:((P===null||typeof P>"u")&&(P=Mt()),M=Z[O]&&Z[O][P]),typeof M>"u"||!M.length||!M[0]){var dt="";rt=[];for(at in Z[O])this.terminals_[at]&&at>oi&&rt.push("'"+this.terminals_[at]+"'");T.showPosition?dt="Parse error on line "+(nt+1)+`: `+T.showPosition()+` Expecting `+rt.join(", ")+", got '"+(this.terminals_[P]||P)+"'":dt="Parse error on line "+(nt+1)+": Unexpected "+(P==It?"end of input":"'"+(this.terminals_[P]||P)+"'"),this.parseError(dt,{text:T.match,token:this.terminals_[P]||P,line:T.yylineno,loc:gt,expected:rt})}if(M[0]instanceof Array&&M.length>1)throw new Error("Parse Error: multiple actions possible at state: "+O+", token: "+P);switch(M[0]){case 1:g.push(P),A.push(T.yytext),r.push(T.yylloc),g.push(M[1]),P=null,Et=T.yyleng,d=T.yytext,nt=T.yylineno,gt=T.yylloc;break;case 2:if(V=this.productions_[M[1]][1],z.$=A[A.length-V],z._$={first_line:r[r.length-(V||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(V||1)].first_column,last_column:r[r.length-1].last_column},li&&(z._$.range=[r[r.length-(V||1)].range[0],r[r.length-1].range[1]]),xt=this.performAction.apply(z,[d,Et,nt,W.yy,M[1],A,r].concat(hi)),typeof xt<"u")return xt;V&&(g=g.slice(0,-1*V*2),A=A.slice(0,-1*V),r=r.slice(0,-1*V)),g.push(this.productions_[M[1]][0]),A.push(z.$),r.push(z._$),Vt=Z[g[g.length-2]][g[g.length-1]],g.push(Vt);break;case 3:return!0}}return!0},"parse")},ri=function(){var B={EOF:1,parseError:a(function(c,g){if(this.yy.parser)this.yy.parser.parseError(c,g);else throw new Error(c)},"parseError"),setInput:a(function(h,c){return this.yy=c||this.yy||{},this._input=h,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:a(function(){var h=this._input[0];this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h;var c=h.match(/(?:\r\n?|\n).*/g);return c?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),h},"input"),unput:a(function(h){var c=h.length,g=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-c),this.offset-=c;var x=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),g.length-1&&(this.yylineno-=g.length-1);var A=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:g?(g.length===x.length?this.yylloc.first_column:0)+x[x.length-g.length].length-g[0].length:this.yylloc.first_column-c},this.options.ranges&&(this.yylloc.range=[A[0],A[0]+this.yyleng-c]),this.yyleng=this.yytext.length,this},"unput"),more:a(function(){return this._more=!0,this},"more"),reject:a(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:a(function(h){this.unput(this.match.slice(h))},"less"),pastInput:a(function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:a(function(){var h=this.match;return h.length<20&&(h+=this._input.substr(0,20-h.length)),(h.substr(0,20)+(h.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:a(function(){var h=this.pastInput(),c=new Array(h.length+1).join("-");return h+this.upcomingInput()+` diff --git a/index.html b/index.html index b689eb044..34e78dcbe 100644 --- a/index.html +++ b/index.html @@ -67,8 +67,8 @@ } } - - + +