import{jaspt,kasyt}from"./chunk-SWZYHCA4.js";import{$aasC,Fasft,FaasV,Hasut,IasWt,Jaas_t,Yaasmt,basZt,bbasEt,casFt,dbasgt,ebasxt,fbaskt,gbasRt,hasJ,hbasOt,ibasbt,jbasNt}from"./chunk-KR7JTV7U.js";import{hasit}from"./chunk-3V74GZ4F.js";varTt=/^(?:[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;functionUt(t){returntypeoft=="string"&&Tt.test(t)}varAt=Ut;varA=[];for(lett=0;t<256;++t)A.push((t+256).toString(16).slice(1));functionMt(t,e=0){return(A[t[e+0]]+A[t[e+1]]+A[t[e+2]]+A[t[e+3]]+"-"+A[t[e+4]]+A[t[e+5]]+"-"+A[t[e+6]]+A[t[e+7]]+"-"+A[t[e+8]]+A[t[e+9]]+"-"+A[t[e+10]]+A[t[e+11]]+A[t[e+12]]+A[t[e+13]]+A[t[e+14]]+A[t[e+15]]).toLowerCase()}functionHt(t){if(!At(t))throwTypeError("Invalid UUID");lete,r=newUint8Array(16);returnr[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}varvt=Ht;functionzt(t){t=unescape(encodeURIComponent(t));lete=[];for(letr=0;r<t.length;++r)e.push(t.charCodeAt(r));returne}varKt="6ba7b810-9dad-11d1-80b4-00c04fd430c8",Vt="6ba7b811-9dad-11d1-80b4-00c04fd430c8";functionat(t,e,r){functionf(l,y,u,o){varh;if(typeofl=="string"&&(l=zt(l)),typeofy=="string"&&(y=vt(y)),((h=y)===null||h===void0?void0:h.length)!==16)throwTypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let_=newUint8Array(16+l.length);if(_.set(y),_.set(l,y.length),_=r(_),_[6]=_[6]&15|e,_[8]=_[8]&63|128,u){o=o||0;for(letE=0;E<16;++E)u[o+E]=_[E];returnu}returnMt(_)}try{f.name=t}catch(l){}returnf.DNS=Kt,f.URL=Vt,f}functionGt(t,e,r,f){switch(t){case0:returne&r^~e&f;case1:returne^r^f;case2:returne&r^e&f^r&f;case3:returne^r^f}}functionnt(t,e){returnt<<e|t>>>32-e}functionXt(t){lete=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeoft=="string"){letu=unescape(encodeURIComponent(t));t=[];for(leto=0;o<u.length;++o)t.push(u.charCodeAt(o))}elseArray.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);letf=t.length/4+2,l=Math.ceil(f/16),y=newArray(l);for(letu=0;u<l;++u){leto=newUint32Array(16);for(leth=0;h<16;++h)o[h]=t[u*64+h*4]<<24|t[u*64+h*4+1]<<16|t[u*64+h*4+2]<<8|t[u*64+h*4+3];y[u]=o}y[l-1][14]=(t.length-1)*8/Math.pow(2,32),y[l-1][14]=Math.floor(y[l-1][14]),y[l-1][15]=(t.length-1)*8&4294967295;for(letu=0;u<l;++u){leto=newUint32Array(80);for(letp=0;p<16;++p)o[p]=y[u][p];for(letp=16;p<80;++p)o[p]=nt(o[p-3]^o[p-8]^o[p-14]^o[p-16],1);leth=r[0],_=r[1],E=r[2],g=r[3],R=r[4];for(letp=0;p<80;++p){letx=Math.floor(p/20),w=nt(h,5)+Gt(x,_,E,g)+R+e[x]+o[p]>>>0;R=g,g=E,E=nt(_,30)>>>0,_=h,h=w}r[0]=r[0]+h>>>0,r[1]=r[1]+_>>>0,r[2]=r[2]+E>>>0,r[3]=r[3]+g>>>0,r[4]=r[4]+R>>>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]}varSt=Xt;varQt=at("v5",80,St),st=Qt;varFe=it(Zt(),1),We=it(Ft(),1),Ue=it(Wt(),1);varot=function(){vart=function(v,a,n,c){for(n=n||{},c=v.length;c--;n[v[c]]=a);returnn},e=[6,8,10,20,22,24,26,27,28],r=[1,10],f=[1,11],l=[1,12],y=[1,13],u=[1,14],o=[1,15],h=[1,21],_=[1,22],E=[1,23],g=[1,24],R=[1,25],p=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],x=[1,34],w=[27,28,46,47],F=[41,42,43,44,45],W=[17,34],P=[1,54],T=[1,53],M=[17,34,36,38],O={trace:function(){},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,E
`+n+"^"},test_match:function(a,n){var c,d,m;if(this.options.backtrack_lexer&&(m={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(m.yylloc.range=this.yylloc.range.slice(0))),d=a[0].match(/(?:\r\n?|\n).*/g),d&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],c=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack){for(var i in m)this[i]=m[i];return!1}return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var a,n,c,d;this._more||(this.yytext="",this.match="");for(var m=this._currentRules(),i=0;i<m.length;i++)if(c=this._input.match(this.rules[m[i]]),c&&(!n||c[0].length>n[0].length)){if(n=c,d=i,this.options.backtrack_lexer){if(a=this.test_match(c,m[i]),a!==!1)return a;if(this._backtrack){n=!1;continue}else return!1}else if(!this.options.flex)break}return n?(a=this.test_match(n,m[d]),a!==!1?a:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.