Deploying to gh-pages from @ DGP-Studio/Snap.Hutao.Docs@3870989f22 🚀

This commit is contained in:
Masterain98
2023-04-19 08:52:04 +00:00
parent c1fe9d1412
commit c85366161d
123 changed files with 499 additions and 265 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{I as p,f as d,_ as v}from"./app-926488e2.js";import{c,r as n,y as f,h as m,o as y,j as a}from"./framework-caa722f8.js";const g=e=>d({},{showCompileOutput:!1,clearConsole:!1,ssr:!1},JSON.parse(decodeURIComponent(e)));var R=c({name:"VuePlayground",props:{title:{type:String,default:""},files:{type:String,required:!0},settings:{type:String,default:"{}"}},setup(e){const o=n(!0),t=f(),l=n(),s=m(()=>g(e.settings)),r=async()=>{const{ReplStore:u,Repl:i}=await v(()=>import("./vue-repl-7857a097.js"),["assets/vue-repl-7857a097.js","assets/app-926488e2.js","assets/framework-caa722f8.js"]);t.value=i,l.value=new u({serializedState:decodeURIComponent(e.files)}),s.value.vueVersion&&await l.value.setVueVersion(s.value.vueVersion)};return y(async()=>{await r(),o.value=!1}),()=>[a("div",{class:"vue-playground-wrapper"},[e.title?a("div",{class:"header"},decodeURIComponent(e.title)):null,a("div",{class:"repl-container"},[o.value?a(p,{class:"preview-loading",height:192}):null,t.value?a(t.value,{store:l.value,autoResize:!0,...s.value,layout:"horizontal"}):null])])]}});export{R as default};
import{I as p,f as d,_ as v}from"./app-82050f85.js";import{c,r as n,y as f,h as m,o as y,j as a}from"./framework-caa722f8.js";const g=e=>d({},{showCompileOutput:!1,clearConsole:!1,ssr:!1},JSON.parse(decodeURIComponent(e)));var R=c({name:"VuePlayground",props:{title:{type:String,default:""},files:{type:String,required:!0},settings:{type:String,default:"{}"}},setup(e){const o=n(!0),t=f(),l=n(),s=m(()=>g(e.settings)),r=async()=>{const{ReplStore:u,Repl:i}=await v(()=>import("./vue-repl-728a09bb.js"),["assets/vue-repl-728a09bb.js","assets/app-82050f85.js","assets/framework-caa722f8.js"]);t.value=i,l.value=new u({serializedState:decodeURIComponent(e.files)}),s.value.vueVersion&&await l.value.setVueVersion(s.value.vueVersion)};return y(async()=>{await r(),o.value=!1}),()=>[a("div",{class:"vue-playground-wrapper"},[e.title?a("div",{class:"header"},decodeURIComponent(e.title)):null,a("div",{class:"repl-container"},[o.value?a(p,{class:"preview-loading",height:192}):null,t.value?a(t.value,{store:l.value,autoResize:!0,...s.value,layout:"horizontal"}):null])])]}});export{R as default};

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{w as ln,c as B}from"./path-53f90ab3.js";import{ao as an,ap as H,aq as q,ar as rn,as as y,am as on,at as L,au as _,av as un,aw as t,ax as sn,ay as tn,az as fn}from"./mermaid.core-a3ed9136.js";function cn(l){return l.innerRadius}function yn(l){return l.outerRadius}function gn(l){return l.startAngle}function mn(l){return l.endAngle}function pn(l){return l&&l.padAngle}function xn(l,h,E,z,v,A,C,a){var I=E-l,i=z-h,n=C-v,m=a-A,r=m*I-n*i;if(!(r*r<y))return r=(n*(h-A)-m*(l-v))/r,[l+r*I,h+r*i]}function W(l,h,E,z,v,A,C){var a=l-E,I=h-z,i=(C?A:-A)/L(a*a+I*I),n=i*I,m=-i*a,r=l+n,s=h+m,f=E+n,c=z+m,F=(r+f)/2,o=(s+c)/2,p=f-r,g=c-s,R=p*p+g*g,T=v-A,w=r*c-f*s,O=(g<0?-1:1)*L(fn(0,T*T*R-w*w)),S=(w*g-p*O)/R,j=(-w*p-g*O)/R,P=(w*g+p*O)/R,x=(-w*p+g*O)/R,d=S-F,e=j-o,u=P-F,G=x-o;return d*d+e*e>u*u+G*G&&(S=P,j=x),{cx:S,cy:j,x01:-n,y01:-m,x11:S*(v/T-1),y11:j*(v/T-1)}}function vn(){var l=cn,h=yn,E=B(0),z=null,v=gn,A=mn,C=pn,a=null,I=ln(i);function i(){var n,m,r=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-rn,c=A.apply(this,arguments)-rn,F=un(c-f),o=c>f;if(a||(a=n=I()),s<r&&(m=s,s=r,r=m),!(s>y))a.moveTo(0,0);else if(F>on-y)a.moveTo(s*H(f),s*q(f)),a.arc(0,0,s,f,c,!o),r>y&&(a.moveTo(r*H(c),r*q(c)),a.arc(0,0,r,c,f,o));else{var p=f,g=c,R=f,T=c,w=F,O=F,S=C.apply(this,arguments)/2,j=S>y&&(z?+z.apply(this,arguments):L(r*r+s*s)),P=_(un(s-r)/2,+E.apply(this,arguments)),x=P,d=P,e,u;if(j>y){var G=sn(j/r*q(S)),M=sn(j/s*q(S));(w-=G*2)>y?(G*=o?1:-1,R+=G,T-=G):(w=0,R=T=(f+c)/2),(O-=M*2)>y?(M*=o?1:-1,p+=M,g-=M):(O=0,p=g=(f+c)/2)}var J=s*H(p),K=s*q(p),N=r*H(T),Q=r*q(T);if(P>y){var U=s*H(g),V=s*q(g),X=r*H(R),Y=r*q(R),D;if(F<an)if(D=xn(J,K,X,Y,U,V,N,Q)){var Z=J-D[0],$=K-D[1],k=U-D[0],b=V-D[1],nn=1/q(tn((Z*k+$*b)/(L(Z*Z+$*$)*L(k*k+b*b)))/2),en=L(D[0]*D[0]+D[1]*D[1]);x=_(P,(r-en)/(nn-1)),d=_(P,(s-en)/(nn+1))}else x=d=0}O>y?d>y?(e=W(X,Y,J,K,s,d,o),u=W(U,V,N,Q,s,d,o),a.moveTo(e.cx+e.x01,e.cy+e.y01),d<P?a.arc(e.cx,e.cy,d,t(e.y01,e.x01),t(u.y01,u.x01),!o):(a.arc(e.cx,e.cy,d,t(e.y01,e.x01),t(e.y11,e.x11),!o),a.arc(0,0,s,t(e.cy+e.y11,e.cx+e.x11),t(u.cy+u.y11,u.cx+u.x11),!o),a.arc(u.cx,u.cy,d,t(u.y11,u.x11),t(u.y01,u.x01),!o))):(a.moveTo(J,K),a.arc(0,0,s,p,g,!o)):a.moveTo(J,K),!(r>y)||!(w>y)?a.lineTo(N,Q):x>y?(e=W(N,Q,U,V,r,-x,o),u=W(J,K,X,Y,r,-x,o),a.lineTo(e.cx+e.x01,e.cy+e.y01),x<P?a.arc(e.cx,e.cy,x,t(e.y01,e.x01),t(u.y01,u.x01),!o):(a.arc(e.cx,e.cy,x,t(e.y01,e.x01),t(e.y11,e.x11),!o),a.arc(0,0,r,t(e.cy+e.y11,e.cx+e.x11),t(u.cy+u.y11,u.cx+u.x11),o),a.arc(u.cx,u.cy,x,t(u.y11,u.x11),t(u.y01,u.x01),!o))):a.arc(0,0,r,T,R,o)}if(a.closePath(),n)return a=null,n+""||null}return i.centroid=function(){var n=(+l.apply(this,arguments)+ +h.apply(this,arguments))/2,m=(+v.apply(this,arguments)+ +A.apply(this,arguments))/2-an/2;return[H(m)*n,q(m)*n]},i.innerRadius=function(n){return arguments.length?(l=typeof n=="function"?n:B(+n),i):l},i.outerRadius=function(n){return arguments.length?(h=typeof n=="function"?n:B(+n),i):h},i.cornerRadius=function(n){return arguments.length?(E=typeof n=="function"?n:B(+n),i):E},i.padRadius=function(n){return arguments.length?(z=n==null?null:typeof n=="function"?n:B(+n),i):z},i.startAngle=function(n){return arguments.length?(v=typeof n=="function"?n:B(+n),i):v},i.endAngle=function(n){return arguments.length?(A=typeof n=="function"?n:B(+n),i):A},i.padAngle=function(n){return arguments.length?(C=typeof n=="function"?n:B(+n),i):C},i.context=function(n){return arguments.length?(a=n??null,i):a},i}export{vn as a};
import{w as ln,c as B}from"./path-53f90ab3.js";import{ao as an,ap as H,aq as q,ar as rn,as as y,am as on,at as L,au as _,av as un,aw as t,ax as sn,ay as tn,az as fn}from"./mermaid.core-c1267f46.js";function cn(l){return l.innerRadius}function yn(l){return l.outerRadius}function gn(l){return l.startAngle}function mn(l){return l.endAngle}function pn(l){return l&&l.padAngle}function xn(l,h,E,z,v,A,C,a){var I=E-l,i=z-h,n=C-v,m=a-A,r=m*I-n*i;if(!(r*r<y))return r=(n*(h-A)-m*(l-v))/r,[l+r*I,h+r*i]}function W(l,h,E,z,v,A,C){var a=l-E,I=h-z,i=(C?A:-A)/L(a*a+I*I),n=i*I,m=-i*a,r=l+n,s=h+m,f=E+n,c=z+m,F=(r+f)/2,o=(s+c)/2,p=f-r,g=c-s,R=p*p+g*g,T=v-A,w=r*c-f*s,O=(g<0?-1:1)*L(fn(0,T*T*R-w*w)),S=(w*g-p*O)/R,j=(-w*p-g*O)/R,P=(w*g+p*O)/R,x=(-w*p+g*O)/R,d=S-F,e=j-o,u=P-F,G=x-o;return d*d+e*e>u*u+G*G&&(S=P,j=x),{cx:S,cy:j,x01:-n,y01:-m,x11:S*(v/T-1),y11:j*(v/T-1)}}function vn(){var l=cn,h=yn,E=B(0),z=null,v=gn,A=mn,C=pn,a=null,I=ln(i);function i(){var n,m,r=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-rn,c=A.apply(this,arguments)-rn,F=un(c-f),o=c>f;if(a||(a=n=I()),s<r&&(m=s,s=r,r=m),!(s>y))a.moveTo(0,0);else if(F>on-y)a.moveTo(s*H(f),s*q(f)),a.arc(0,0,s,f,c,!o),r>y&&(a.moveTo(r*H(c),r*q(c)),a.arc(0,0,r,c,f,o));else{var p=f,g=c,R=f,T=c,w=F,O=F,S=C.apply(this,arguments)/2,j=S>y&&(z?+z.apply(this,arguments):L(r*r+s*s)),P=_(un(s-r)/2,+E.apply(this,arguments)),x=P,d=P,e,u;if(j>y){var G=sn(j/r*q(S)),M=sn(j/s*q(S));(w-=G*2)>y?(G*=o?1:-1,R+=G,T-=G):(w=0,R=T=(f+c)/2),(O-=M*2)>y?(M*=o?1:-1,p+=M,g-=M):(O=0,p=g=(f+c)/2)}var J=s*H(p),K=s*q(p),N=r*H(T),Q=r*q(T);if(P>y){var U=s*H(g),V=s*q(g),X=r*H(R),Y=r*q(R),D;if(F<an)if(D=xn(J,K,X,Y,U,V,N,Q)){var Z=J-D[0],$=K-D[1],k=U-D[0],b=V-D[1],nn=1/q(tn((Z*k+$*b)/(L(Z*Z+$*$)*L(k*k+b*b)))/2),en=L(D[0]*D[0]+D[1]*D[1]);x=_(P,(r-en)/(nn-1)),d=_(P,(s-en)/(nn+1))}else x=d=0}O>y?d>y?(e=W(X,Y,J,K,s,d,o),u=W(U,V,N,Q,s,d,o),a.moveTo(e.cx+e.x01,e.cy+e.y01),d<P?a.arc(e.cx,e.cy,d,t(e.y01,e.x01),t(u.y01,u.x01),!o):(a.arc(e.cx,e.cy,d,t(e.y01,e.x01),t(e.y11,e.x11),!o),a.arc(0,0,s,t(e.cy+e.y11,e.cx+e.x11),t(u.cy+u.y11,u.cx+u.x11),!o),a.arc(u.cx,u.cy,d,t(u.y11,u.x11),t(u.y01,u.x01),!o))):(a.moveTo(J,K),a.arc(0,0,s,p,g,!o)):a.moveTo(J,K),!(r>y)||!(w>y)?a.lineTo(N,Q):x>y?(e=W(N,Q,U,V,r,-x,o),u=W(J,K,X,Y,r,-x,o),a.lineTo(e.cx+e.x01,e.cy+e.y01),x<P?a.arc(e.cx,e.cy,x,t(e.y01,e.x01),t(u.y01,u.x01),!o):(a.arc(e.cx,e.cy,x,t(e.y01,e.x01),t(e.y11,e.x11),!o),a.arc(0,0,r,t(e.cy+e.y11,e.cx+e.x11),t(u.cy+u.y11,u.cx+u.x11),o),a.arc(u.cx,u.cy,x,t(u.y11,u.x11),t(u.y01,u.x01),!o))):a.arc(0,0,r,T,R,o)}if(a.closePath(),n)return a=null,n+""||null}return i.centroid=function(){var n=(+l.apply(this,arguments)+ +h.apply(this,arguments))/2,m=(+v.apply(this,arguments)+ +A.apply(this,arguments))/2-an/2;return[H(m)*n,q(m)*n]},i.innerRadius=function(n){return arguments.length?(l=typeof n=="function"?n:B(+n),i):l},i.outerRadius=function(n){return arguments.length?(h=typeof n=="function"?n:B(+n),i):h},i.cornerRadius=function(n){return arguments.length?(E=typeof n=="function"?n:B(+n),i):E},i.padRadius=function(n){return arguments.length?(z=n==null?null:typeof n=="function"?n:B(+n),i):z},i.startAngle=function(n){return arguments.length?(v=typeof n=="function"?n:B(+n),i):v},i.endAngle=function(n){return arguments.length?(A=typeof n=="function"?n:B(+n),i):A},i.padAngle=function(n){return arguments.length?(C=typeof n=="function"?n:B(+n),i):C},i.context=function(n){return arguments.length?(a=n??null,i):a},i}export{vn as a};

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{p as W,d as M,s as H}from"./styles-16907e1b-27422cad.js";import{c as S,l as d,h as u,i as X}from"./mermaid.core-a3ed9136.js";import{G as Y,l as Z}from"./layout-31526df9.js";import{s as l}from"./svgDraw-2526cba0-5aead378.js";import"./app-926488e2.js";import"./framework-caa722f8.js";import"./line-6a32ac14.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";let h={};const g=20,p=function(e){const s=Object.entries(h).find(k=>k[1].label===e);if(s)return s[0]},$=function(e){e.append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),e.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),e.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),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 18,7 L9,13 L14,7 L9,1 Z")},D=function(e,s,k,a){const c=S().class;h={},d.info("Rendering diagram "+e);const L=S().securityLevel;let y;L==="sandbox"&&(y=u("#i"+s));const x=L==="sandbox"?u(y.nodes()[0].contentDocument.body):u("body"),n=x.select(`[id='${s}']`);$(n);const r=new Y({multigraph:!0});r.setGraph({isMultiGraph:!0}),r.setDefaultEdgeLabel(function(){return{}});const m=a.db.getClasses(),N=Object.keys(m);for(const t of N){const o=m[t],i=l.drawClass(n,o,c,a);h[i.id]=i,r.setNode(i.id,i),d.info("Org height: "+i.height)}a.db.getRelations().forEach(function(t){d.info("tjoho"+p(t.id1)+p(t.id2)+JSON.stringify(t)),r.setEdge(p(t.id1),p(t.id2),{relation:t},t.title||"DEFAULT")}),a.db.getNotes().forEach(function(t){d.debug(`Adding note: ${JSON.stringify(t)}`);const o=l.drawNote(n,t,c,a);h[o.id]=o,r.setNode(o.id,o),t.class&&t.class in m&&r.setEdge(t.id,p(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),Z(r),r.nodes().forEach(function(t){t!==void 0&&r.node(t)!==void 0&&(d.debug("Node "+t+": "+JSON.stringify(r.node(t))),x.select("#"+(a.db.lookUpDomId(t)||t)).attr("transform","translate("+(r.node(t).x-r.node(t).width/2)+","+(r.node(t).y-r.node(t).height/2)+" )"))}),r.edges().forEach(function(t){t!==void 0&&r.edge(t)!==void 0&&(d.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(r.edge(t))),l.drawEdge(n,r.edge(t),r.edge(t).relation,c,a))});const f=n.node().getBBox(),E=f.width+g*2,b=f.height+g*2;X(n,b,E,c.useMaxWidth);const w=`${f.x-g} ${f.y-g} ${E} ${b}`;d.debug(`viewBox ${w}`),n.attr("viewBox",w)},B={draw:D},z={parser:W,db:M,renderer:B,styles:H,init:e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute,M.clear()}};export{z as diagram};
import{p as W,d as M,s as H}from"./styles-16907e1b-7f0cf986.js";import{c as S,l as d,h as u,i as X}from"./mermaid.core-c1267f46.js";import{G as Y,l as Z}from"./layout-c4baf43e.js";import{s as l}from"./svgDraw-2526cba0-aeb182b3.js";import"./app-82050f85.js";import"./framework-caa722f8.js";import"./line-52bf5936.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";let h={};const g=20,p=function(e){const s=Object.entries(h).find(k=>k[1].label===e);if(s)return s[0]},$=function(e){e.append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),e.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),e.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),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 18,7 L9,13 L14,7 L9,1 Z")},D=function(e,s,k,a){const c=S().class;h={},d.info("Rendering diagram "+e);const L=S().securityLevel;let y;L==="sandbox"&&(y=u("#i"+s));const x=L==="sandbox"?u(y.nodes()[0].contentDocument.body):u("body"),n=x.select(`[id='${s}']`);$(n);const r=new Y({multigraph:!0});r.setGraph({isMultiGraph:!0}),r.setDefaultEdgeLabel(function(){return{}});const m=a.db.getClasses(),N=Object.keys(m);for(const t of N){const o=m[t],i=l.drawClass(n,o,c,a);h[i.id]=i,r.setNode(i.id,i),d.info("Org height: "+i.height)}a.db.getRelations().forEach(function(t){d.info("tjoho"+p(t.id1)+p(t.id2)+JSON.stringify(t)),r.setEdge(p(t.id1),p(t.id2),{relation:t},t.title||"DEFAULT")}),a.db.getNotes().forEach(function(t){d.debug(`Adding note: ${JSON.stringify(t)}`);const o=l.drawNote(n,t,c,a);h[o.id]=o,r.setNode(o.id,o),t.class&&t.class in m&&r.setEdge(t.id,p(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),Z(r),r.nodes().forEach(function(t){t!==void 0&&r.node(t)!==void 0&&(d.debug("Node "+t+": "+JSON.stringify(r.node(t))),x.select("#"+(a.db.lookUpDomId(t)||t)).attr("transform","translate("+(r.node(t).x-r.node(t).width/2)+","+(r.node(t).y-r.node(t).height/2)+" )"))}),r.edges().forEach(function(t){t!==void 0&&r.edge(t)!==void 0&&(d.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(r.edge(t))),l.drawEdge(n,r.edge(t),r.edge(t).relation,c,a))});const f=n.node().getBBox(),E=f.width+g*2,b=f.height+g*2;X(n,b,E,c.useMaxWidth);const w=`${f.x-g} ${f.y-g} ${E} ${b}`;d.debug(`viewBox ${w}`),n.attr("viewBox",w)},B={draw:D},z={parser:W,db:M,renderer:B,styles:H,init:e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute,M.clear()}};export{z as diagram};

View File

@@ -1,2 +1,2 @@
import{p as _,d as T,s as M}from"./styles-16907e1b-27422cad.js";import{l as p,c as a,h as w,y as R,t as B,r as C,o as D,p as G,k as E}from"./mermaid.core-a3ed9136.js";import{G as I}from"./layout-31526df9.js";import{r as $}from"./index-5219d011-9e85afa5.js";import"./createText-1f5f8f92-549bf6d9.js";import"./app-926488e2.js";import"./framework-caa722f8.js";import"./edges-2e77835f-9d74057c.js";import"./svgDraw-2526cba0-5aead378.js";import"./line-6a32ac14.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";const A=s=>E.sanitizeText(s,a());let S={dividerMargin:10,padding:5,textHeight:10,curve:void 0};const z=function(s,o,f,n){const e=Object.keys(s);p.info("keys:",e),p.info(s),e.forEach(function(i){var l,r;const t=s[i];let y="";t.cssClasses.length>0&&(y=y+" "+t.cssClasses.join(" "));const c={labelStyle:"",style:""},m=t.label??t.id,d=0,u="class_box",b={labelStyle:c.labelStyle,shape:u,labelText:A(m),classData:t,rx:d,ry:d,class:y,style:c.style,id:t.id,domId:t.domId,tooltip:n.db.getTooltip(t.id)||"",haveCallback:t.haveCallback,link:t.link,width:t.type==="group"?500:void 0,type:t.type,padding:((l=a().flowchart)==null?void 0:l.padding)??((r=a().class)==null?void 0:r.padding)};o.setNode(t.id,b),p.info("setNode",b)})},q=function(s,o,f,n){p.info(s),s.forEach(function(e,i){var l,r;const t=e,y="",c={labelStyle:"",style:""},m=t.text,d=0,u="note",b={labelStyle:c.labelStyle,shape:u,labelText:A(m),noteData:t,rx:d,ry:d,class:y,style:c.style,id:t.id,domId:t.id,tooltip:"",type:"note",padding:((l=a().flowchart)==null?void 0:l.padding)??((r=a().class)==null?void 0:r.padding)};if(o.setNode(t.id,b),p.info("setNode",b),!t.class||!(t.class in n))return;const v=f+i,g={id:`edgeNote${v}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:C(S.curve,D)};o.setEdge(t.id,t.class,g,v)})},F=function(s,o){const f=a().flowchart;let n=0;s.forEach(function(e){var i;n++;const l={classes:"relation",pattern:e.relation.lineType==1?"dashed":"solid",id:"id"+n,arrowhead:e.type==="arrow_open"?"none":"normal",startLabelRight:e.relationTitle1==="none"?"":e.relationTitle1,endLabelLeft:e.relationTitle2==="none"?"":e.relationTitle2,arrowTypeStart:L(e.relation.type1),arrowTypeEnd:L(e.relation.type2),style:"fill:none",labelStyle:"",curve:C(f==null?void 0:f.curve,D)};if(p.info(l,e),e.style!==void 0){const r=G(e.style);l.style=r.style,l.labelStyle=r.labelStyle}e.text=e.title,e.text===void 0?e.style!==void 0&&(l.arrowheadStyle="fill: #333"):(l.arrowheadStyle="fill: #333",l.labelpos="c",((i=a().flowchart)==null?void 0:i.htmlLabels)??a().htmlLabels?(l.labelType="html",l.label='<span class="edgeLabel">'+e.text+"</span>"):(l.labelType="text",l.label=e.text.replace(E.lineBreakRegex,`
import{p as _,d as T,s as M}from"./styles-16907e1b-7f0cf986.js";import{l as p,c as a,h as w,y as R,t as B,r as C,o as D,p as G,k as E}from"./mermaid.core-c1267f46.js";import{G as I}from"./layout-c4baf43e.js";import{r as $}from"./index-5219d011-7fc0a1c7.js";import"./createText-1f5f8f92-78dfbf76.js";import"./app-82050f85.js";import"./framework-caa722f8.js";import"./edges-2e77835f-df3cc008.js";import"./svgDraw-2526cba0-aeb182b3.js";import"./line-52bf5936.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";const A=s=>E.sanitizeText(s,a());let S={dividerMargin:10,padding:5,textHeight:10,curve:void 0};const z=function(s,o,f,n){const e=Object.keys(s);p.info("keys:",e),p.info(s),e.forEach(function(i){var l,r;const t=s[i];let y="";t.cssClasses.length>0&&(y=y+" "+t.cssClasses.join(" "));const c={labelStyle:"",style:""},m=t.label??t.id,d=0,u="class_box",b={labelStyle:c.labelStyle,shape:u,labelText:A(m),classData:t,rx:d,ry:d,class:y,style:c.style,id:t.id,domId:t.domId,tooltip:n.db.getTooltip(t.id)||"",haveCallback:t.haveCallback,link:t.link,width:t.type==="group"?500:void 0,type:t.type,padding:((l=a().flowchart)==null?void 0:l.padding)??((r=a().class)==null?void 0:r.padding)};o.setNode(t.id,b),p.info("setNode",b)})},q=function(s,o,f,n){p.info(s),s.forEach(function(e,i){var l,r;const t=e,y="",c={labelStyle:"",style:""},m=t.text,d=0,u="note",b={labelStyle:c.labelStyle,shape:u,labelText:A(m),noteData:t,rx:d,ry:d,class:y,style:c.style,id:t.id,domId:t.id,tooltip:"",type:"note",padding:((l=a().flowchart)==null?void 0:l.padding)??((r=a().class)==null?void 0:r.padding)};if(o.setNode(t.id,b),p.info("setNode",b),!t.class||!(t.class in n))return;const v=f+i,g={id:`edgeNote${v}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:C(S.curve,D)};o.setEdge(t.id,t.class,g,v)})},F=function(s,o){const f=a().flowchart;let n=0;s.forEach(function(e){var i;n++;const l={classes:"relation",pattern:e.relation.lineType==1?"dashed":"solid",id:"id"+n,arrowhead:e.type==="arrow_open"?"none":"normal",startLabelRight:e.relationTitle1==="none"?"":e.relationTitle1,endLabelLeft:e.relationTitle2==="none"?"":e.relationTitle2,arrowTypeStart:L(e.relation.type1),arrowTypeEnd:L(e.relation.type2),style:"fill:none",labelStyle:"",curve:C(f==null?void 0:f.curve,D)};if(p.info(l,e),e.style!==void 0){const r=G(e.style);l.style=r.style,l.labelStyle=r.labelStyle}e.text=e.title,e.text===void 0?e.style!==void 0&&(l.arrowheadStyle="fill: #333"):(l.arrowheadStyle="fill: #333",l.labelpos="c",((i=a().flowchart)==null?void 0:i.htmlLabels)??a().htmlLabels?(l.labelType="html",l.label='<span class="edgeLabel">'+e.text+"</span>"):(l.labelType="text",l.label=e.text.replace(E.lineBreakRegex,`
`),e.style===void 0&&(l.style=l.style||"stroke: #333; stroke-width: 1.5px;fill:none"),l.labelStyle=l.labelStyle.replace("color:","fill:"))),o.setEdge(e.id1,e.id2,l,n)})},H=function(s){S={...S,...s}},P=function(s,o,f,n){p.info("Drawing class - ",o);const e=a().flowchart??a().class,i=a().securityLevel;p.info("config:",e);const l=(e==null?void 0:e.nodeSpacing)??50,r=(e==null?void 0:e.rankSpacing)??50,t=new I({multigraph:!0,compound:!0}).setGraph({rankdir:n.db.getDirection(),nodesep:l,ranksep:r,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),y=n.db.getClasses(),c=n.db.getRelations(),m=n.db.getNotes();p.info(c),z(y,t,o,n),F(c,t),q(m,t,c.length+1,y);let d;i==="sandbox"&&(d=w("#i"+o));const u=i==="sandbox"?w(d.nodes()[0].contentDocument.body):w("body"),b=u.select(`[id="${o}"]`),v=u.select("#"+o+" g");if($(v,t,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",o),R.insertTitle(b,"classTitleText",(e==null?void 0:e.titleTopMargin)??5,n.db.getDiagramTitle()),B(t,b,e==null?void 0:e.diagramPadding,e==null?void 0:e.useMaxWidth),!(e!=null&&e.htmlLabels)){const g=i==="sandbox"?d.nodes()[0].contentDocument:document,N=g.querySelectorAll('[id="'+o+'"] .edgeLabel .label');for(const x of N){const k=x.getBBox(),h=g.createElementNS("http://www.w3.org/2000/svg","rect");h.setAttribute("rx",0),h.setAttribute("ry",0),h.setAttribute("width",k.width),h.setAttribute("height",k.height),x.insertBefore(h,x.firstChild)}}};function L(s){let o;switch(s){case 0:o="aggregation";break;case 1:o="extension";break;case 2:o="composition";break;case 3:o="dependency";break;case 4:o="lollipop";break;default:o="none"}return o}const V={setConf:H,draw:P},le={parser:_,db:T,renderer:V,styles:M,init:s=>{s.class||(s.class={}),s.class.arrowMarkerAbsolute=s.arrowMarkerAbsolute,T.clear()}};export{le as diagram};

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
import{l as lt,_ as ut}from"./mermaid.core-a3ed9136.js";var it=/\r\n?/g,ot=/\t/g,ct=/\f/g,J=function(t){return t.replace(it,`
import{l as lt,_ as ut}from"./mermaid.core-c1267f46.js";var it=/\r\n?/g,ot=/\t/g,ct=/\f/g,J=function(t){return t.replace(it,`
`).replace(ct,"").replace(ot," ")},Q=function(t,e){var r=t||{};if(e!=null)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r},V=function(t,e){var r=Object.keys(t).filter(function(i){var u=t[i];if(u==null||u.match==null)return!1;var c=u.order;return(typeof c!="number"||!isFinite(c))&&typeof console<"u"&&console.warn("simple-markdown: Invalid order for rule `"+i+"`: "+String(c)),!0});r.sort(function(i,u){var c=t[i],f=t[u],s=c.order,p=f.order;if(s!==p)return s-p;var h=c.quality?0:1,g=f.quality?0:1;return h!==g?h-g:i<u?-1:i>u?1:0});var a,l=function i(u,c){var f=[];for(c=c||a,a=c;u;){var s=null,p=null,h=null,g=NaN,S=0,x=r[0],y=t[x];do{var E=y.order,b=c.prevCapture==null?"":c.prevCapture[0],k=y.match(u,c,b);if(k){var A=y.quality?y.quality(k,c,b):0;A<=g||(s=x,p=y,h=k,g=A)}S++,x=r[S],y=t[x]}while(y&&(!h||y.order===E&&y.quality));if(p==null||h==null)throw new Error("Could not find a matching rule for the below content. The rule with highest `order` should always match content provided to it. Check the definition of `match` for '"+r[r.length-1]+`'. It seems to not match the following source:
`+u);if(h.index)throw new Error("`match` must return a capture starting at index 0 (the current parse index). Did you forget a ^ at the start of the RegExp?");var w=p.parse(h,i,c);if(Array.isArray(w))Array.prototype.push.apply(f,w);else{if(w==null||typeof w!="object")throw new Error("parse() function returned invalid parse result: '".concat(w,"'"));w.type==null&&(w.type=s),f.push(w)}c.prevCapture=h,u=u.substring(c.prevCapture[0].length)}return f},o=function(u,c){return a=Q(c,e),!a.inline&&!a.disableAutoBlockNewlines&&(u=u+`

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
import{p as e,f as o}from"./flowDb-52e24d17-d5c95e9f.js";import{f as t,g as a}from"./styles-26373982-67f24159.js";import{a4 as i}from"./mermaid.core-c1267f46.js";import"./layout-c4baf43e.js";import"./createText-1f5f8f92-78dfbf76.js";import"./index-5219d011-7fc0a1c7.js";import"./edges-2e77835f-df3cc008.js";import"./svgDraw-2526cba0-aeb182b3.js";import"./line-52bf5936.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";import"./selectAll-458586be.js";import"./app-82050f85.js";import"./framework-caa722f8.js";const n={parser:e,db:o,renderer:t,styles:a,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,i({flowchart:{arrowMarkerAbsolute:r.arrowMarkerAbsolute}}),t.setConf(r.flowchart),o.clear(),o.setGen("gen-2")}};export{n as diagram};

View File

@@ -1 +0,0 @@
import{p as e,f as o}from"./flowDb-52e24d17-099c788e.js";import{f as t,g as a}from"./styles-26373982-20ee82f5.js";import{a4 as i}from"./mermaid.core-a3ed9136.js";import"./layout-31526df9.js";import"./createText-1f5f8f92-549bf6d9.js";import"./index-5219d011-9e85afa5.js";import"./edges-2e77835f-9d74057c.js";import"./svgDraw-2526cba0-5aead378.js";import"./line-6a32ac14.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";import"./selectAll-56d47c92.js";import"./app-926488e2.js";import"./framework-caa722f8.js";const n={parser:e,db:o,renderer:t,styles:a,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,i({flowchart:{arrowMarkerAbsolute:r.arrowMarkerAbsolute}}),t.setConf(r.flowchart),o.clear(),o.setGen("gen-2")}};export{n as diagram};

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
const e=JSON.parse('{"key":"v-7839fe83","path":"/en/features/game-launcher.html","title":"高级启动器","lang":"en-US","frontmatter":{"headerDepth":0,"category":["功能","教程"],"order":1,"description":"胡桃工具箱提供的高级启动器功能中通过多样的设置选项来允许用户以自定义设置启动游戏; 你可以通过点击左侧菜单栏中的启动游戏进入高级启动器功能; 第一次使用时你会被跳转到设置页面以设置你的游戏路径; 选择游戏路径时,请注意此处选择的应是游戏本身; 形如:$\\\\Genshin Impact\\\\Genshin Impact Game\\\\YuanShen.exe; 而...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://hut.ao/zh/features/game-launcher.html"}],["meta",{"property":"og:url","content":"https://hut.ao/en/features/game-launcher.html"}],["meta",{"property":"og:site_name","content":"Snap Hutao"}],["meta",{"property":"og:title","content":"高级启动器"}],["meta",{"property":"og:description","content":"胡桃工具箱提供的高级启动器功能中通过多样的设置选项来允许用户以自定义设置启动游戏; 你可以通过点击左侧菜单栏中的启动游戏进入高级启动器功能; 第一次使用时你会被跳转到设置页面以设置你的游戏路径; 选择游戏路径时,请注意此处选择的应是游戏本身; 形如:$\\\\Genshin Impact\\\\Genshin Impact Game\\\\YuanShen.exe; 而..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-03-18T03:05:27.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-03-18T03:05:27.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"高级启动器\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-03-18T03:05:27.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"视频指南","slug":"视频指南","link":"#视频指南","children":[]},{"level":2,"title":"切换服务器","slug":"切换服务器","link":"#切换服务器","children":[]},{"level":2,"title":"账号保存","slug":"账号保存","link":"#账号保存","children":[]},{"level":2,"title":"外观选项","slug":"外观选项","link":"#外观选项","children":[]},{"level":2,"title":"高级功能","slug":"高级功能","link":"#高级功能","children":[{"level":3,"title":"游戏客户端多开","slug":"游戏客户端多开","link":"#游戏客户端多开","children":[]}]}],"git":{"createdTime":1673484663000,"updatedTime":1679108727000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":3}]},"readingTime":{"minutes":5.63,"words":1688},"filePathRelative":"en/features/game-launcher.md","localizedDate":"January 12, 2023","autoDesc":true}');export{e as data};

View File

@@ -1 +1 @@
const e=JSON.parse('{"key":"v-e2f690f0","path":"/zh/features/game-launcher.html","title":"高级启动器","lang":"zh-CN","frontmatter":{"headerDepth":0,"category":["功能","教程"],"order":1,"redirectFrom":"/features/game-launcher.html","description":"胡桃工具箱提供的高级启动器功能中通过多样的设置选项来允许用户以自定义设置启动游戏; 你可以通过点击左侧菜单栏中的启动游戏进入高级启动器功能; 第一次使用时你会被跳转到设置页面以设置你的游戏路径; 选择游戏路径时,请注意此处选择的应是游戏本身; 形如:$\\\\Genshin Impact\\\\Genshin Impact Game\\\\YuanShen.exe; 而...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://hut.ao/en/features/game-launcher.html"}],["meta",{"property":"og:url","content":"https://hut.ao/zh/features/game-launcher.html"}],["meta",{"property":"og:site_name","content":"胡桃工具箱"}],["meta",{"property":"og:title","content":"高级启动器"}],["meta",{"property":"og:description","content":"胡桃工具箱提供的高级启动器功能中通过多样的设置选项来允许用户以自定义设置启动游戏; 你可以通过点击左侧菜单栏中的启动游戏进入高级启动器功能; 第一次使用时你会被跳转到设置页面以设置你的游戏路径; 选择游戏路径时,请注意此处选择的应是游戏本身; 形如:$\\\\Genshin Impact\\\\Genshin Impact Game\\\\YuanShen.exe; 而..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2023-03-26T04:27:39.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-03-26T04:27:39.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"高级启动器\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-03-26T04:27:39.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"视频指南","slug":"视频指南","link":"#视频指南","children":[]},{"level":2,"title":"切换服务器","slug":"切换服务器","link":"#切换服务器","children":[]},{"level":2,"title":"账号保存","slug":"账号保存","link":"#账号保存","children":[]},{"level":2,"title":"外观选项","slug":"外观选项","link":"#外观选项","children":[]},{"level":2,"title":"高级功能","slug":"高级功能","link":"#高级功能","children":[{"level":3,"title":"解锁帧率上限","slug":"解锁帧率上限","link":"#解锁帧率上限","children":[]},{"level":3,"title":"游戏客户端多开","slug":"游戏客户端多开","link":"#游戏客户端多开","children":[]}]}],"git":{"createdTime":1679366029000,"updatedTime":1679804859000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":2}]},"readingTime":{"minutes":5.49,"words":1646},"filePathRelative":"zh/features/game-launcher.md","localizedDate":"2023年3月21日","autoDesc":true}');export{e as data};
const e=JSON.parse('{"key":"v-e2f690f0","path":"/zh/features/game-launcher.html","title":"高级启动器","lang":"zh-CN","frontmatter":{"headerDepth":0,"category":["功能","教程"],"order":1,"redirectFrom":"/features/game-launcher.html","description":"胡桃工具箱提供的高级启动器功能中通过多样的设置选项来允许用户以自定义设置启动游戏; 你可以通过点击左侧菜单栏中的启动游戏进入高级启动器功能; 第一次使用时你会被跳转到设置页面以设置你的游戏路径; 选择游戏路径时,请注意此处选择的应是游戏本身; 形如:$\\\\Genshin Impact\\\\Genshin Impact Game\\\\YuanShen.exe; 而...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://hut.ao/en/features/game-launcher.html"}],["meta",{"property":"og:url","content":"https://hut.ao/zh/features/game-launcher.html"}],["meta",{"property":"og:site_name","content":"胡桃工具箱"}],["meta",{"property":"og:title","content":"高级启动器"}],["meta",{"property":"og:description","content":"胡桃工具箱提供的高级启动器功能中通过多样的设置选项来允许用户以自定义设置启动游戏; 你可以通过点击左侧菜单栏中的启动游戏进入高级启动器功能; 第一次使用时你会被跳转到设置页面以设置你的游戏路径; 选择游戏路径时,请注意此处选择的应是游戏本身; 形如:$\\\\Genshin Impact\\\\Genshin Impact Game\\\\YuanShen.exe; 而..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2023-04-19T08:49:28.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-04-19T08:49:28.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"高级启动器\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-04-19T08:49:28.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"视频指南","slug":"视频指南","link":"#视频指南","children":[]},{"level":2,"title":"切换服务器","slug":"切换服务器","link":"#切换服务器","children":[]},{"level":2,"title":"账号保存","slug":"账号保存","link":"#账号保存","children":[]},{"level":2,"title":"外观选项","slug":"外观选项","link":"#外观选项","children":[]},{"level":2,"title":"高级功能","slug":"高级功能","link":"#高级功能","children":[{"level":3,"title":"解锁帧率上限","slug":"解锁帧率上限","link":"#解锁帧率上限","children":[]},{"level":3,"title":"游戏客户端多开","slug":"游戏客户端多开","link":"#游戏客户端多开","children":[]}]}],"git":{"createdTime":1679366029000,"updatedTime":1681894168000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":3}]},"readingTime":{"minutes":5.68,"words":1703},"filePathRelative":"zh/features/game-launcher.md","localizedDate":"2023年3月21日","autoDesc":true}');export{e as data};

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
const e=JSON.parse(`{"key":"v-7839fe83","path":"/en/features/game-launcher.html","title":"Game Launcher","lang":"en-US","frontmatter":{"headerDepth":0,"category":["Feature","Tutorial"],"order":1,"description":"Snap Hutao offers advanced game launcher feature allows user to launch the game with self-defined settings; Click on the Game Launcher on the sidebar to get into game launcher's...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://hut.ao/zh/features/game-launcher.html"}],["meta",{"property":"og:url","content":"https://hut.ao/en/features/game-launcher.html"}],["meta",{"property":"og:site_name","content":"Snap Hutao"}],["meta",{"property":"og:title","content":"Game Launcher"}],["meta",{"property":"og:description","content":"Snap Hutao offers advanced game launcher feature allows user to launch the game with self-defined settings; Click on the Game Launcher on the sidebar to get into game launcher's..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-04-19T08:50:02.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-04-19T08:50:02.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Game Launcher\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-04-19T08:50:02.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"Server Switch","slug":"server-switch","link":"#server-switch","children":[]},{"level":2,"title":"Game Account Switch","slug":"game-account-switch","link":"#game-account-switch","children":[]},{"level":2,"title":"Appearance","slug":"appearance","link":"#appearance","children":[]},{"level":2,"title":"Advanced Features","slug":"advanced-features","link":"#advanced-features","children":[{"level":3,"title":"Unlock Frame Rate Limit","slug":"unlock-frame-rate-limit","link":"#unlock-frame-rate-limit","children":[]},{"level":3,"title":"Multi-Client","slug":"multi-client","link":"#multi-client","children":[]}]}],"git":{"createdTime":1673484663000,"updatedTime":1681894202000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":4}]},"readingTime":{"minutes":2.91,"words":874},"filePathRelative":"en/features/game-launcher.md","localizedDate":"January 12, 2023","autoDesc":true}`);export{e as data};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
const e=JSON.parse('{"key":"v-639b3ef9","path":"/en/features/hutao-settings.html","title":"Software Settings","lang":"en-US","frontmatter":{"headerDepth":0,"category":["Feature","Tutorial"],"order":11,"description":"The following feature tutorials are introduced in-program order.; About Snap Hutao This part has the following information: The icon of Snap HutaoYou can find the original imag...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://hut.ao/zh/features/hutao-settings.html"}],["meta",{"property":"og:url","content":"https://hut.ao/en/features/hutao-settings.html"}],["meta",{"property":"og:site_name","content":"Snap Hutao"}],["meta",{"property":"og:title","content":"Software Settings"}],["meta",{"property":"og:description","content":"The following feature tutorials are introduced in-program order.; About Snap Hutao This part has the following information: The icon of Snap HutaoYou can find the original imag..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-04-09T02:07:31.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-04-09T02:07:31.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Software Settings\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-04-09T02:07:31.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"About Snap Hutao","slug":"about-snap-hutao","link":"#about-snap-hutao","children":[]},{"level":2,"title":"Snap Hutao Account","slug":"snap-hutao-account","link":"#snap-hutao-account","children":[]},{"level":2,"title":"Appearance","slug":"appearance","link":"#appearance","children":[]},{"level":2,"title":"Wish History","slug":"wish-history","link":"#wish-history","children":[]},{"level":2,"title":"Game","slug":"game","link":"#game","children":[]},{"level":2,"title":"Storage","slug":"storage","link":"#storage","children":[{"level":3,"title":"MiHoYo BBS/HoYoLab Daily Check-in","slug":"mihoyo-bbs-hoyolab-daily-check-in","link":"#mihoyo-bbs-hoyolab-daily-check-in","children":[]}]},{"level":2,"title":"Dangerous Features","slug":"dangerous-features","link":"#dangerous-features","children":[]}],"git":{"createdTime":1673484663000,"updatedTime":1681006051000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":4}]},"readingTime":{"minutes":1.82,"words":545},"filePathRelative":"en/features/hutao-settings.md","localizedDate":"January 12, 2023","autoDesc":true}');export{e as data};
const e=JSON.parse('{"key":"v-639b3ef9","path":"/en/features/hutao-settings.html","title":"Software Settings","lang":"en-US","frontmatter":{"headerDepth":0,"category":["Feature","Tutorial"],"order":11,"description":"The following feature tutorials are introduced in-program order.; About Snap Hutao This part has the following information: The icon of Snap HutaoYou can find the original imag...","head":[["link",{"rel":"alternate","hreflang":"zh-cn","href":"https://hut.ao/zh/features/hutao-settings.html"}],["meta",{"property":"og:url","content":"https://hut.ao/en/features/hutao-settings.html"}],["meta",{"property":"og:site_name","content":"Snap Hutao"}],["meta",{"property":"og:title","content":"Software Settings"}],["meta",{"property":"og:description","content":"The following feature tutorials are introduced in-program order.; About Snap Hutao This part has the following information: The icon of Snap HutaoYou can find the original imag..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"en-US"}],["meta",{"property":"og:locale:alternate","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2023-04-19T08:49:51.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-04-19T08:49:51.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"Software Settings\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-04-19T08:49:51.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"About Snap Hutao","slug":"about-snap-hutao","link":"#about-snap-hutao","children":[]},{"level":2,"title":"Snap Hutao Account","slug":"snap-hutao-account","link":"#snap-hutao-account","children":[]},{"level":2,"title":"Appearance","slug":"appearance","link":"#appearance","children":[]},{"level":2,"title":"Wish History","slug":"wish-history","link":"#wish-history","children":[]},{"level":2,"title":"Game","slug":"game","link":"#game","children":[]},{"level":2,"title":"Storage","slug":"storage","link":"#storage","children":[{"level":3,"title":"MiHoYo BBS/HoYoLab Daily Check-in","slug":"mihoyo-bbs-hoyolab-daily-check-in","link":"#mihoyo-bbs-hoyolab-daily-check-in","children":[]}]},{"level":2,"title":"Dangerous Features","slug":"dangerous-features","link":"#dangerous-features","children":[]}],"git":{"createdTime":1673484663000,"updatedTime":1681894191000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":5}]},"readingTime":{"minutes":1.9,"words":571},"filePathRelative":"en/features/hutao-settings.md","localizedDate":"January 12, 2023","autoDesc":true}');export{e as data};

View File

@@ -1 +1 @@
const t=JSON.parse('{"key":"v-16a7a694","path":"/zh/features/hutao-settings.html","title":"软件设置","lang":"zh-CN","frontmatter":{"headerDepth":0,"category":["功能","教程"],"order":11,"redirectFrom":"/features/hutao-settings.html","description":"以下内容将以胡桃工具箱内的设置功能的条目排列顺序为介绍顺序; 关于 胡桃 该部分包含以下信息: 胡桃工具箱的图标:您可以在胡桃的首页 (/)查看它的原图; 该图像作品的作者为画画的芦苇 (https://space.bilibili.com/274422134)图标的绘制过程; DGP-Studio (https://github.com/DGP-St...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://hut.ao/en/features/hutao-settings.html"}],["meta",{"property":"og:url","content":"https://hut.ao/zh/features/hutao-settings.html"}],["meta",{"property":"og:site_name","content":"胡桃工具箱"}],["meta",{"property":"og:title","content":"软件设置"}],["meta",{"property":"og:description","content":"以下内容将以胡桃工具箱内的设置功能的条目排列顺序为介绍顺序; 关于 胡桃 该部分包含以下信息: 胡桃工具箱的图标:您可以在胡桃的首页 (/)查看它的原图; 该图像作品的作者为画画的芦苇 (https://space.bilibili.com/274422134)图标的绘制过程; DGP-Studio (https://github.com/DGP-St..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2023-04-09T02:07:19.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-04-09T02:07:19.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"软件设置\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-04-09T02:07:19.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"关于 胡桃","slug":"关于-胡桃","link":"#关于-胡桃","children":[]},{"level":2,"title":"胡桃帐号","slug":"胡桃帐号","link":"#胡桃帐号","children":[]},{"level":2,"title":"外观","slug":"外观","link":"#外观","children":[]},{"level":2,"title":"祈愿记录","slug":"祈愿记录","link":"#祈愿记录","children":[]},{"level":2,"title":"游戏","slug":"游戏","link":"#游戏","children":[]},{"level":2,"title":"储存空间","slug":"储存空间","link":"#储存空间","children":[{"level":3,"title":"米游社每日签到","slug":"米游社每日签到","link":"#米游社每日签到","children":[]}]},{"level":2,"title":"危险功能","slug":"危险功能","link":"#危险功能","children":[]}],"git":{"createdTime":1679366029000,"updatedTime":1681006039000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":4}]},"readingTime":{"minutes":3.17,"words":950},"filePathRelative":"zh/features/hutao-settings.md","localizedDate":"2023年3月21日","autoDesc":true}');export{t as data};
const t=JSON.parse('{"key":"v-16a7a694","path":"/zh/features/hutao-settings.html","title":"软件设置","lang":"zh-CN","frontmatter":{"headerDepth":0,"category":["功能","教程"],"order":11,"redirectFrom":"/features/hutao-settings.html","description":"以下内容将以胡桃工具箱内的设置功能的条目排列顺序为介绍顺序; 关于 胡桃 该部分包含以下信息: 胡桃工具箱的图标:您可以在胡桃的首页 (/)查看它的原图; 该图像作品的作者为画画的芦苇 (https://space.bilibili.com/274422134)图标的绘制过程; DGP-Studio (https://github.com/DGP-St...","head":[["link",{"rel":"alternate","hreflang":"en-us","href":"https://hut.ao/en/features/hutao-settings.html"}],["meta",{"property":"og:url","content":"https://hut.ao/zh/features/hutao-settings.html"}],["meta",{"property":"og:site_name","content":"胡桃工具箱"}],["meta",{"property":"og:title","content":"软件设置"}],["meta",{"property":"og:description","content":"以下内容将以胡桃工具箱内的设置功能的条目排列顺序为介绍顺序; 关于 胡桃 该部分包含以下信息: 胡桃工具箱的图标:您可以在胡桃的首页 (/)查看它的原图; 该图像作品的作者为画画的芦苇 (https://space.bilibili.com/274422134)图标的绘制过程; DGP-Studio (https://github.com/DGP-St..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:locale:alternate","content":"en-US"}],["meta",{"property":"og:updated_time","content":"2023-04-19T08:49:51.000Z"}],["meta",{"property":"article:author","content":"DGP-Studio"}],["meta",{"property":"article:modified_time","content":"2023-04-19T08:49:51.000Z"}],["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"软件设置\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2023-04-19T08:49:51.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"DGP-Studio\\",\\"url\\":\\"https://github.com/DGP-Studio\\"}]}"]]},"headers":[{"level":2,"title":"关于 胡桃","slug":"关于-胡桃","link":"#关于-胡桃","children":[]},{"level":2,"title":"胡桃帐号","slug":"胡桃帐号","link":"#胡桃帐号","children":[]},{"level":2,"title":"外观","slug":"外观","link":"#外观","children":[]},{"level":2,"title":"祈愿记录","slug":"祈愿记录","link":"#祈愿记录","children":[]},{"level":2,"title":"游戏","slug":"游戏","link":"#游戏","children":[]},{"level":2,"title":"储存空间","slug":"储存空间","link":"#储存空间","children":[{"level":3,"title":"米游社每日签到","slug":"米游社每日签到","link":"#米游社每日签到","children":[]}]},{"level":2,"title":"危险功能","slug":"危险功能","link":"#危险功能","children":[]}],"git":{"createdTime":1679366029000,"updatedTime":1681894191000,"contributors":[{"name":"Masterain","email":"i@irain.in","commits":5}]},"readingTime":{"minutes":3.28,"words":985},"filePathRelative":"zh/features/hutao-settings.md","localizedDate":"2023年3月21日","autoDesc":true}');export{t as data};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
import{z as C,l as E,c as D,h as P}from"./mermaid.core-a3ed9136.js";import"./app-926488e2.js";import"./framework-caa722f8.js";var L=function(){var h=function(c,t,e,n){for(e=e||{},n=c.length;n--;e[c[n]]=t);return e},f=[6,9,10],x={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,e,n,s,r,i,k){switch(i.length-1,r){case 1:return s;case 4:break;case 6:s.setInfo(!0);break}},table:[{3:1,4:[1,2]},{1:[3]},h(f,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},h(f,[2,3]),h(f,[2,4]),h(f,[2,5]),h(f,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var n=new Error(t);throw n.hash=e,n}},parse:function(t){var e=this,n=[0],s=[],r=[null],i=[],k=this.table,$="",b=0,T=0,z=2,R=1,M=i.slice.call(arguments,1),o=Object.create(this.lexer),p={yy:{}};for(var w in this.yy)Object.prototype.hasOwnProperty.call(this.yy,w)&&(p.yy[w]=this.yy[w]);o.setInput(t,p.yy),p.yy.lexer=o,p.yy.parser=this,typeof o.yylloc>"u"&&(o.yylloc={});var I=o.yylloc;i.push(I);var Y=o.options&&o.options.ranges;typeof p.yy.parseError=="function"?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function U(){var u;return u=s.pop()||o.lex()||R,typeof u!="number"&&(u instanceof Array&&(s=u,u=s.pop()),u=e.symbols_[u]||u),u}for(var l,g,a,A,d={},v,y,j,S;;){if(g=n[n.length-1],this.defaultActions[g]?a=this.defaultActions[g]:((l===null||typeof l>"u")&&(l=U()),a=k[g]&&k[g][l]),typeof a>"u"||!a.length||!a[0]){var O="";S=[];for(v in k[g])this.terminals_[v]&&v>z&&S.push("'"+this.terminals_[v]+"'");o.showPosition?O="Parse error on line "+(b+1)+`:
import{z as C,l as E,c as D,h as P}from"./mermaid.core-c1267f46.js";import"./app-82050f85.js";import"./framework-caa722f8.js";var L=function(){var h=function(c,t,e,n){for(e=e||{},n=c.length;n--;e[c[n]]=t);return e},f=[6,9,10],x={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,e,n,s,r,i,k){switch(i.length-1,r){case 1:return s;case 4:break;case 6:s.setInfo(!0);break}},table:[{3:1,4:[1,2]},{1:[3]},h(f,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},h(f,[2,3]),h(f,[2,4]),h(f,[2,5]),h(f,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var n=new Error(t);throw n.hash=e,n}},parse:function(t){var e=this,n=[0],s=[],r=[null],i=[],k=this.table,$="",b=0,T=0,z=2,R=1,M=i.slice.call(arguments,1),o=Object.create(this.lexer),p={yy:{}};for(var w in this.yy)Object.prototype.hasOwnProperty.call(this.yy,w)&&(p.yy[w]=this.yy[w]);o.setInput(t,p.yy),p.yy.lexer=o,p.yy.parser=this,typeof o.yylloc>"u"&&(o.yylloc={});var I=o.yylloc;i.push(I);var Y=o.options&&o.options.ranges;typeof p.yy.parseError=="function"?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function U(){var u;return u=s.pop()||o.lex()||R,typeof u!="number"&&(u instanceof Array&&(s=u,u=s.pop()),u=e.symbols_[u]||u),u}for(var l,g,a,A,d={},v,y,j,S;;){if(g=n[n.length-1],this.defaultActions[g]?a=this.defaultActions[g]:((l===null||typeof l>"u")&&(l=U()),a=k[g]&&k[g][l]),typeof a>"u"||!a.length||!a[0]){var O="";S=[];for(v in k[g])this.terminals_[v]&&v>z&&S.push("'"+this.terminals_[v]+"'");o.showPosition?O="Parse error on line "+(b+1)+`:
`+o.showPosition()+`
Expecting `+S.join(", ")+", got '"+(this.terminals_[l]||l)+"'":O="Parse error on line "+(b+1)+": Unexpected "+(l==R?"end of input":"'"+(this.terminals_[l]||l)+"'"),this.parseError(O,{text:o.match,token:this.terminals_[l]||l,line:o.yylineno,loc:I,expected:S})}if(a[0]instanceof Array&&a.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+l);switch(a[0]){case 1:n.push(l),r.push(o.yytext),i.push(o.yylloc),n.push(a[1]),l=null,T=o.yyleng,$=o.yytext,b=o.yylineno,I=o.yylloc;break;case 2:if(y=this.productions_[a[1]][1],d.$=r[r.length-y],d._$={first_line:i[i.length-(y||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(y||1)].first_column,last_column:i[i.length-1].last_column},Y&&(d._$.range=[i[i.length-(y||1)].range[0],i[i.length-1].range[1]]),A=this.performAction.apply(d,[$,T,b,p.yy,a[1],r,i].concat(M)),typeof A<"u")return A;y&&(n=n.slice(0,-1*y*2),r=r.slice(0,-1*y),i=i.slice(0,-1*y)),n.push(this.productions_[a[1]][0]),r.push(d.$),i.push(d._$),j=k[n[n.length-2]][n[n.length-1]],n.push(j);break;case 3:return!0}}return!0}},m=function(){var c={EOF:1,parseError:function(e,n){if(this.yy.parser)this.yy.parser.parseError(e,n);else throw new Error(e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,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},input:function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var e=t.match(/(?:\r\n?|\n).*/g);return e?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var s=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 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:n?(n.length===s.length?this.yylloc.first_column:0)+s[s.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+`

View File

@@ -1 +1 @@
import{aH as c,aI as a}from"./mermaid.core-a3ed9136.js";const e=n=>{const{r,g:t,b:o}=c.parse(n),s=.2126*a.channel.toLinear(r)+.7152*a.channel.toLinear(t)+.0722*a.channel.toLinear(o);return a.lang.round(s)},i=e,l=n=>i(n)>=.5,u=l,h=n=>!u(n),L=h;export{L as i};
import{aH as c,aI as a}from"./mermaid.core-c1267f46.js";const e=n=>{const{r,g:t,b:o}=c.parse(n),s=.2126*a.channel.toLinear(r)+.7152*a.channel.toLinear(t)+.0722*a.channel.toLinear(o);return a.lang.round(s)},i=e,l=n=>i(n)>=.5,u=l,h=n=>!u(n),L=h;export{L as i};

View File

@@ -1,4 +1,4 @@
import{c as V,v as gt,x as mt,s as xt,g as _t,b as kt,a as vt,m as bt,z as wt,h as Z,i as Tt}from"./mermaid.core-a3ed9136.js";import{a as st}from"./arc-dfb7265f.js";import"./app-926488e2.js";import"./framework-caa722f8.js";import"./path-53f90ab3.js";var K=function(){var e=function(_,n,a,h){for(a=a||{},h=_.length;h--;a[_[h]]=n);return a},t=[1,2],i=[1,5],r=[6,9,11,17,18,20,22,23,24,26],s=[1,15],o=[1,16],l=[1,17],y=[1,18],u=[1,19],x=[1,20],g=[1,24],f=[4,6,9,11,17,18,20,22,23,24,26],p={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,taskName:24,taskData:25,open_directive:26,type_directive:27,arg_directive:28,close_directive:29,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",24:"taskName",25:"taskData",26:"open_directive",27:"type_directive",28:"arg_directive",29:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(n,a,h,d,m,c,R){var k=c.length-1;switch(m){case 1:return c[k-1];case 3:this.$=[];break;case 4:c[k-1].push(c[k]),this.$=c[k-1];break;case 5:case 6:this.$=c[k];break;case 7:case 8:this.$=[];break;case 11:d.setDiagramTitle(c[k].substr(6)),this.$=c[k].substr(6);break;case 12:this.$=c[k].trim(),d.setAccTitle(this.$);break;case 13:case 14:this.$=c[k].trim(),d.setAccDescription(this.$);break;case 15:d.addSection(c[k].substr(8)),this.$=c[k].substr(8);break;case 16:d.addTask(c[k-1],c[k]),this.$="task";break;case 18:d.parseDirective("%%{","open_directive");break;case 19:d.parseDirective(c[k],"type_directive");break;case 20:c[k]=c[k].trim().replace(/'/g,'"'),d.parseDirective(c[k],"arg_directive");break;case 21:d.parseDirective("}%%","close_directive","journey");break}},table:[{3:1,4:t,7:3,12:4,26:i},{1:[3]},e(r,[2,3],{5:6}),{3:7,4:t,7:3,12:4,26:i},{13:8,27:[1,9]},{27:[2,18]},{6:[1,10],7:21,8:11,9:[1,12],10:13,11:[1,14],12:4,17:s,18:o,20:l,22:y,23:u,24:x,26:i},{1:[2,2]},{14:22,15:[1,23],29:g},e([15,29],[2,19]),e(r,[2,8],{1:[2,1]}),e(r,[2,4]),{7:21,10:25,12:4,17:s,18:o,20:l,22:y,23:u,24:x,26:i},e(r,[2,6]),e(r,[2,7]),e(r,[2,11]),{19:[1,26]},{21:[1,27]},e(r,[2,14]),e(r,[2,15]),{25:[1,28]},e(r,[2,17]),{11:[1,29]},{16:30,28:[1,31]},{11:[2,21]},e(r,[2,5]),e(r,[2,12]),e(r,[2,13]),e(r,[2,16]),e(f,[2,9]),{14:32,29:g},{29:[2,20]},{11:[1,33]},e(f,[2,10])],defaultActions:{5:[2,18],7:[2,2],24:[2,21],31:[2,20]},parseError:function(n,a){if(a.recoverable)this.trace(n);else{var h=new Error(n);throw h.hash=a,h}},parse:function(n){var a=this,h=[0],d=[],m=[null],c=[],R=this.table,k="",z=0,tt=0,yt=2,et=1,pt=c.slice.call(arguments,1),b=Object.create(this.lexer),I={yy:{}};for(var X in this.yy)Object.prototype.hasOwnProperty.call(this.yy,X)&&(I.yy[X]=this.yy[X]);b.setInput(n,I.yy),I.yy.lexer=b,I.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var G=b.yylloc;c.push(G);var dt=b.options&&b.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ft(){var E;return E=d.pop()||b.lex()||et,typeof E!="number"&&(E instanceof Array&&(d=E,E=d.pop()),E=a.symbols_[E]||E),E}for(var w,A,M,H,F={},Y,$,it,q;;){if(A=h[h.length-1],this.defaultActions[A]?M=this.defaultActions[A]:((w===null||typeof w>"u")&&(w=ft()),M=R[A]&&R[A][w]),typeof M>"u"||!M.length||!M[0]){var U="";q=[];for(Y in R[A])this.terminals_[Y]&&Y>yt&&q.push("'"+this.terminals_[Y]+"'");b.showPosition?U="Parse error on line "+(z+1)+`:
import{c as V,v as gt,x as mt,s as xt,g as _t,b as kt,a as vt,m as bt,z as wt,h as Z,i as Tt}from"./mermaid.core-c1267f46.js";import{a as st}from"./arc-f12e469b.js";import"./app-82050f85.js";import"./framework-caa722f8.js";import"./path-53f90ab3.js";var K=function(){var e=function(_,n,a,h){for(a=a||{},h=_.length;h--;a[_[h]]=n);return a},t=[1,2],i=[1,5],r=[6,9,11,17,18,20,22,23,24,26],s=[1,15],o=[1,16],l=[1,17],y=[1,18],u=[1,19],x=[1,20],g=[1,24],f=[4,6,9,11,17,18,20,22,23,24,26],p={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,taskName:24,taskData:25,open_directive:26,type_directive:27,arg_directive:28,close_directive:29,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",24:"taskName",25:"taskData",26:"open_directive",27:"type_directive",28:"arg_directive",29:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(n,a,h,d,m,c,R){var k=c.length-1;switch(m){case 1:return c[k-1];case 3:this.$=[];break;case 4:c[k-1].push(c[k]),this.$=c[k-1];break;case 5:case 6:this.$=c[k];break;case 7:case 8:this.$=[];break;case 11:d.setDiagramTitle(c[k].substr(6)),this.$=c[k].substr(6);break;case 12:this.$=c[k].trim(),d.setAccTitle(this.$);break;case 13:case 14:this.$=c[k].trim(),d.setAccDescription(this.$);break;case 15:d.addSection(c[k].substr(8)),this.$=c[k].substr(8);break;case 16:d.addTask(c[k-1],c[k]),this.$="task";break;case 18:d.parseDirective("%%{","open_directive");break;case 19:d.parseDirective(c[k],"type_directive");break;case 20:c[k]=c[k].trim().replace(/'/g,'"'),d.parseDirective(c[k],"arg_directive");break;case 21:d.parseDirective("}%%","close_directive","journey");break}},table:[{3:1,4:t,7:3,12:4,26:i},{1:[3]},e(r,[2,3],{5:6}),{3:7,4:t,7:3,12:4,26:i},{13:8,27:[1,9]},{27:[2,18]},{6:[1,10],7:21,8:11,9:[1,12],10:13,11:[1,14],12:4,17:s,18:o,20:l,22:y,23:u,24:x,26:i},{1:[2,2]},{14:22,15:[1,23],29:g},e([15,29],[2,19]),e(r,[2,8],{1:[2,1]}),e(r,[2,4]),{7:21,10:25,12:4,17:s,18:o,20:l,22:y,23:u,24:x,26:i},e(r,[2,6]),e(r,[2,7]),e(r,[2,11]),{19:[1,26]},{21:[1,27]},e(r,[2,14]),e(r,[2,15]),{25:[1,28]},e(r,[2,17]),{11:[1,29]},{16:30,28:[1,31]},{11:[2,21]},e(r,[2,5]),e(r,[2,12]),e(r,[2,13]),e(r,[2,16]),e(f,[2,9]),{14:32,29:g},{29:[2,20]},{11:[1,33]},e(f,[2,10])],defaultActions:{5:[2,18],7:[2,2],24:[2,21],31:[2,20]},parseError:function(n,a){if(a.recoverable)this.trace(n);else{var h=new Error(n);throw h.hash=a,h}},parse:function(n){var a=this,h=[0],d=[],m=[null],c=[],R=this.table,k="",z=0,tt=0,yt=2,et=1,pt=c.slice.call(arguments,1),b=Object.create(this.lexer),I={yy:{}};for(var X in this.yy)Object.prototype.hasOwnProperty.call(this.yy,X)&&(I.yy[X]=this.yy[X]);b.setInput(n,I.yy),I.yy.lexer=b,I.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var G=b.yylloc;c.push(G);var dt=b.options&&b.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ft(){var E;return E=d.pop()||b.lex()||et,typeof E!="number"&&(E instanceof Array&&(d=E,E=d.pop()),E=a.symbols_[E]||E),E}for(var w,A,M,H,F={},Y,$,it,q;;){if(A=h[h.length-1],this.defaultActions[A]?M=this.defaultActions[A]:((w===null||typeof w>"u")&&(w=ft()),M=R[A]&&R[A][w]),typeof M>"u"||!M.length||!M[0]){var U="";q=[];for(Y in R[A])this.terminals_[Y]&&Y>yt&&q.push("'"+this.terminals_[Y]+"'");b.showPosition?U="Parse error on line "+(z+1)+`:
`+b.showPosition()+`
Expecting `+q.join(", ")+", got '"+(this.terminals_[w]||w)+"'":U="Parse error on line "+(z+1)+": Unexpected "+(w==et?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(U,{text:b.match,token:this.terminals_[w]||w,line:b.yylineno,loc:G,expected:q})}if(M[0]instanceof Array&&M.length>1)throw new Error("Parse Error: multiple actions possible at state: "+A+", token: "+w);switch(M[0]){case 1:h.push(w),m.push(b.yytext),c.push(b.yylloc),h.push(M[1]),w=null,tt=b.yyleng,k=b.yytext,z=b.yylineno,G=b.yylloc;break;case 2:if($=this.productions_[M[1]][1],F.$=m[m.length-$],F._$={first_line:c[c.length-($||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-($||1)].first_column,last_column:c[c.length-1].last_column},dt&&(F._$.range=[c[c.length-($||1)].range[0],c[c.length-1].range[1]]),H=this.performAction.apply(F,[k,tt,z,I.yy,M[1],m,c].concat(pt)),typeof H<"u")return H;$&&(h=h.slice(0,-1*$*2),m=m.slice(0,-1*$),c=c.slice(0,-1*$)),h.push(this.productions_[M[1]][0]),m.push(F.$),c.push(F._$),it=R[h[h.length-2]][h[h.length-1]],h.push(it);break;case 3:return!0}}return!0}},T=function(){var _={EOF:1,parseError:function(a,h){if(this.yy.parser)this.yy.parser.parseError(a,h);else throw new Error(a)},setInput:function(n,a){return this.yy=a||this.yy||{},this._input=n,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},input:function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var a=n.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),n},unput:function(n){var a=n.length,h=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;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),h.length-1&&(this.yylineno-=h.length-1);var m=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:h?(h.length===d.length?this.yylloc.first_column:0)+d[d.length-h.length].length-h[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[m[0],m[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject: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},less:function(n){this.unput(this.match.slice(n))},pastInput:function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var n=this.pastInput(),a=new Array(n.length+1).join("-");return n+this.upcomingInput()+`

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{a as h}from"./array-9f3ba611.js";import{w as d,c as o}from"./path-53f90ab3.js";import{o as v}from"./mermaid.core-a3ed9136.js";function w(t){return t[0]}function b(t){return t[1]}function P(t,u){var s=o(!0),i=null,l=v,r=null,m=d(e);t=typeof t=="function"?t:t===void 0?w:o(t),u=typeof u=="function"?u:u===void 0?b:o(u);function e(n){var f,g=(n=h(n)).length,p,c=!1,a;for(i==null&&(r=l(a=m())),f=0;f<=g;++f)!(f<g&&s(p=n[f],f,n))===c&&((c=!c)?r.lineStart():r.lineEnd()),c&&r.point(+t(p,f,n),+u(p,f,n));if(a)return r=null,a+""||null}return e.x=function(n){return arguments.length?(t=typeof n=="function"?n:o(+n),e):t},e.y=function(n){return arguments.length?(u=typeof n=="function"?n:o(+n),e):u},e.defined=function(n){return arguments.length?(s=typeof n=="function"?n:o(!!n),e):s},e.curve=function(n){return arguments.length?(l=n,i!=null&&(r=l(i)),e):l},e.context=function(n){return arguments.length?(n==null?i=r=null:r=l(i=n),e):i},e}export{P as l};
import{a as h}from"./array-9f3ba611.js";import{w as d,c as o}from"./path-53f90ab3.js";import{o as v}from"./mermaid.core-c1267f46.js";function w(t){return t[0]}function b(t){return t[1]}function P(t,u){var s=o(!0),i=null,l=v,r=null,m=d(e);t=typeof t=="function"?t:t===void 0?w:o(t),u=typeof u=="function"?u:u===void 0?b:o(u);function e(n){var f,g=(n=h(n)).length,p,c=!1,a;for(i==null&&(r=l(a=m())),f=0;f<=g;++f)!(f<g&&s(p=n[f],f,n))===c&&((c=!c)?r.lineStart():r.lineEnd()),c&&r.point(+t(p,f,n),+u(p,f,n));if(a)return r=null,a+""||null}return e.x=function(n){return arguments.length?(t=typeof n=="function"?n:o(+n),e):t},e.y=function(n){return arguments.length?(u=typeof n=="function"?n:o(+n),e):u},e.defined=function(n){return arguments.length?(s=typeof n=="function"?n:o(!!n),e):s},e.curve=function(n){return arguments.length?(l=n,i!=null&&(r=l(i)),e):l},e.context=function(n){return arguments.length?(n==null?i=r=null:r=l(i=n),e):i},e}export{P as l};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{$ as t,a0 as n,a1 as o}from"./mermaid.core-a3ed9136.js";function a(e){return typeof e=="string"?new t([document.querySelectorAll(e)],[document.documentElement]):new t([o(e)],n)}export{a as s};
import{$ as t,a0 as n,a1 as o}from"./mermaid.core-c1267f46.js";function a(e){return typeof e=="string"?new t([document.querySelectorAll(e)],[document.documentElement]):new t([o(e)],n)}export{a as s};

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
import{p as Q,d as B,s as X,D as H,a as Z,S as F,b as j,c as I}from"./styles-47a825a5-2b4bd327.js";import{G as tt}from"./layout-31526df9.js";import{l,c as g,h as x,y as et,i as ot,k as G}from"./mermaid.core-a3ed9136.js";import{r as st}from"./index-5219d011-9e85afa5.js";import"./createText-1f5f8f92-549bf6d9.js";import"./app-926488e2.js";import"./framework-caa722f8.js";import"./edges-2e77835f-9d74057c.js";import"./svgDraw-2526cba0-5aead378.js";import"./line-6a32ac14.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";const A="rect",C="rectWithTitle",nt="start",ct="end",it="divider",rt="roundedWithTitle",lt="note",at="noteGroup",_="statediagram",dt="state",Et=`${_}-${dt}`,U="transition",St="note",Tt="note-edge",pt=`${U} ${Tt}`,_t=`${_}-${St}`,ut="cluster",Dt=`${_}-${ut}`,ft="cluster-alt",bt=`${_}-${ft}`,V="parent",Y="note",ht="state",N="----",At=`${N}${Y}`,M=`${N}${V}`,W="fill:none",z="fill: #333",m="c",q="text",K="normal";let y={},E=0;const yt=function(t){const n=Object.keys(t);for(const e of n)t[e]},gt=function(t,n){l.trace("Extracting classes"),n.db.clear();try{return n.parser.parse(t),n.db.extract(n.db.getRootDocV2()),n.db.getClasses()}catch(e){return e}};function $t(t){return t==null?"":t.classes?t.classes.join(" "):""}function R(t="",n=0,e="",c=N){const i=e!==null&&e.length>0?`${c}${e}`:"";return`${ht}-${t}${i}-${n}`}const h=(t,n,e,c,i,r)=>{const o=e.id,u=$t(c[o]);if(o!=="root"){let T=A;e.start===!0&&(T=nt),e.start===!1&&(T=ct),e.type!==H&&(T=e.type),y[o]||(y[o]={id:o,shape:T,description:G.sanitizeText(o,g()),classes:`${u} ${Et}`});const s=y[o];e.description&&(Array.isArray(s.description)?(s.shape=C,s.description.push(e.description)):s.description.length>0?(s.shape=C,s.description===o?s.description=[e.description]:s.description=[s.description,e.description]):(s.shape=A,s.description=e.description),s.description=G.sanitizeTextOrArray(s.description,g())),s.description.length===1&&s.shape===C&&(s.shape=A),!s.type&&e.doc&&(l.info("Setting cluster for ",o,w(e)),s.type="group",s.dir=w(e),s.shape=e.type===Z?it:rt,s.classes=s.classes+" "+Dt+" "+(r?bt:""));const p={labelStyle:"",shape:s.shape,labelText:s.description,classes:s.classes,style:"",id:o,dir:s.dir,domId:R(o,E),type:s.type,padding:15};if(p.centerLabel=!0,e.note){const a={labelStyle:"",shape:lt,labelText:e.note.text,classes:_t,style:"",id:o+At+"-"+E,domId:R(o,E,Y),type:s.type,padding:15},d={labelStyle:"",shape:at,labelText:e.note.text,classes:s.classes,style:"",id:o+M,domId:R(o,E,V),type:"group",padding:0};E++;const D=o+M;t.setNode(D,d),t.setNode(a.id,a),t.setNode(o,p),t.setParent(o,D),t.setParent(a.id,D);let S=o,f=a.id;e.note.position==="left of"&&(S=a.id,f=o),t.setEdge(S,f,{arrowhead:"none",arrowType:"",style:W,labelStyle:"",classes:pt,arrowheadStyle:z,labelpos:m,labelType:q,thickness:K})}else t.setNode(o,p)}n&&n.id!=="root"&&(l.trace("Setting node ",o," to be child of its parent ",n.id),t.setParent(o,n.id)),e.doc&&(l.trace("Adding nodes children "),xt(t,e,e.doc,c,i,!r))},xt=(t,n,e,c,i,r)=>{l.trace("items",e),e.forEach(o=>{switch(o.stmt){case j:h(t,n,o,c,i,r);break;case H:h(t,n,o,c,i,r);break;case F:{h(t,n,o.state1,c,i,r),h(t,n,o.state2,c,i,r);const u={id:"edge"+E,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:W,labelStyle:"",label:G.sanitizeText(o.description,g()),arrowheadStyle:z,labelpos:m,labelType:q,thickness:K,classes:U};t.setEdge(o.state1.id,o.state2.id,u,E),E++}break}})},w=(t,n=I)=>{let e=n;if(t.doc)for(let c=0;c<t.doc.length;c++){const i=t.doc[c];i.stmt==="dir"&&(e=i.value)}return e},Ct=function(t,n,e,c){l.info("Drawing state diagram (v2)",n),y={},c.db.getDirection();const{securityLevel:i,state:r}=g(),o=r.nodeSpacing||50,u=r.rankSpacing||50;l.info(c.db.getRootDocV2()),c.db.extract(c.db.getRootDocV2()),l.info(c.db.getRootDocV2());const T=c.db.getStates(),s=new tt({multigraph:!0,compound:!0}).setGraph({rankdir:w(c.db.getRootDocV2()),nodesep:o,ranksep:u,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});h(s,void 0,c.db.getRootDocV2(),T,c.db,!0);let p;i==="sandbox"&&(p=x("#i"+n));const a=i==="sandbox"?x(p.nodes()[0].contentDocument.body):x("body"),d=a.select(`[id="${n}"]`),D=a.select("#"+n+" g");st(D,s,["barb"],_,n);const S=8;et.insertTitle(d,"statediagramTitleText",r.titleTopMargin,c.db.getDiagramTitle());const f=d.node().getBBox(),L=f.width+S*2,P=f.height+S*2;d.attr("class",_);const k=d.node().getBBox();ot(d,P,L,r.useMaxWidth);const v=`${k.x-S} ${k.y-S} ${L} ${P}`;l.debug(`viewBox ${v}`),d.attr("viewBox",v);const J=document.querySelectorAll('[id="'+n+'"] .edgeLabel .label');for(const $ of J){const O=$.getBBox(),b=document.createElementNS("http://www.w3.org/2000/svg",A);b.setAttribute("rx",0),b.setAttribute("ry",0),b.setAttribute("width",O.width),b.setAttribute("height",O.height),$.insertBefore(b,$.firstChild)}},Rt={setConf:yt,getClasses:gt,draw:Ct},Vt={parser:Q,db:B,renderer:Rt,styles:X,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,B.clear()}};export{Vt as diagram};
import{p as Q,d as B,s as X,D as H,a as Z,S as F,b as j,c as I}from"./styles-47a825a5-e1bc1a4b.js";import{G as tt}from"./layout-c4baf43e.js";import{l,c as g,h as x,y as et,i as ot,k as G}from"./mermaid.core-c1267f46.js";import{r as st}from"./index-5219d011-7fc0a1c7.js";import"./createText-1f5f8f92-78dfbf76.js";import"./app-82050f85.js";import"./framework-caa722f8.js";import"./edges-2e77835f-df3cc008.js";import"./svgDraw-2526cba0-aeb182b3.js";import"./line-52bf5936.js";import"./array-9f3ba611.js";import"./path-53f90ab3.js";const A="rect",C="rectWithTitle",nt="start",ct="end",it="divider",rt="roundedWithTitle",lt="note",at="noteGroup",_="statediagram",dt="state",Et=`${_}-${dt}`,U="transition",St="note",Tt="note-edge",pt=`${U} ${Tt}`,_t=`${_}-${St}`,ut="cluster",Dt=`${_}-${ut}`,ft="cluster-alt",bt=`${_}-${ft}`,V="parent",Y="note",ht="state",N="----",At=`${N}${Y}`,M=`${N}${V}`,W="fill:none",z="fill: #333",m="c",q="text",K="normal";let y={},E=0;const yt=function(t){const n=Object.keys(t);for(const e of n)t[e]},gt=function(t,n){l.trace("Extracting classes"),n.db.clear();try{return n.parser.parse(t),n.db.extract(n.db.getRootDocV2()),n.db.getClasses()}catch(e){return e}};function $t(t){return t==null?"":t.classes?t.classes.join(" "):""}function R(t="",n=0,e="",c=N){const i=e!==null&&e.length>0?`${c}${e}`:"";return`${ht}-${t}${i}-${n}`}const h=(t,n,e,c,i,r)=>{const o=e.id,u=$t(c[o]);if(o!=="root"){let T=A;e.start===!0&&(T=nt),e.start===!1&&(T=ct),e.type!==H&&(T=e.type),y[o]||(y[o]={id:o,shape:T,description:G.sanitizeText(o,g()),classes:`${u} ${Et}`});const s=y[o];e.description&&(Array.isArray(s.description)?(s.shape=C,s.description.push(e.description)):s.description.length>0?(s.shape=C,s.description===o?s.description=[e.description]:s.description=[s.description,e.description]):(s.shape=A,s.description=e.description),s.description=G.sanitizeTextOrArray(s.description,g())),s.description.length===1&&s.shape===C&&(s.shape=A),!s.type&&e.doc&&(l.info("Setting cluster for ",o,w(e)),s.type="group",s.dir=w(e),s.shape=e.type===Z?it:rt,s.classes=s.classes+" "+Dt+" "+(r?bt:""));const p={labelStyle:"",shape:s.shape,labelText:s.description,classes:s.classes,style:"",id:o,dir:s.dir,domId:R(o,E),type:s.type,padding:15};if(p.centerLabel=!0,e.note){const a={labelStyle:"",shape:lt,labelText:e.note.text,classes:_t,style:"",id:o+At+"-"+E,domId:R(o,E,Y),type:s.type,padding:15},d={labelStyle:"",shape:at,labelText:e.note.text,classes:s.classes,style:"",id:o+M,domId:R(o,E,V),type:"group",padding:0};E++;const D=o+M;t.setNode(D,d),t.setNode(a.id,a),t.setNode(o,p),t.setParent(o,D),t.setParent(a.id,D);let S=o,f=a.id;e.note.position==="left of"&&(S=a.id,f=o),t.setEdge(S,f,{arrowhead:"none",arrowType:"",style:W,labelStyle:"",classes:pt,arrowheadStyle:z,labelpos:m,labelType:q,thickness:K})}else t.setNode(o,p)}n&&n.id!=="root"&&(l.trace("Setting node ",o," to be child of its parent ",n.id),t.setParent(o,n.id)),e.doc&&(l.trace("Adding nodes children "),xt(t,e,e.doc,c,i,!r))},xt=(t,n,e,c,i,r)=>{l.trace("items",e),e.forEach(o=>{switch(o.stmt){case j:h(t,n,o,c,i,r);break;case H:h(t,n,o,c,i,r);break;case F:{h(t,n,o.state1,c,i,r),h(t,n,o.state2,c,i,r);const u={id:"edge"+E,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:W,labelStyle:"",label:G.sanitizeText(o.description,g()),arrowheadStyle:z,labelpos:m,labelType:q,thickness:K,classes:U};t.setEdge(o.state1.id,o.state2.id,u,E),E++}break}})},w=(t,n=I)=>{let e=n;if(t.doc)for(let c=0;c<t.doc.length;c++){const i=t.doc[c];i.stmt==="dir"&&(e=i.value)}return e},Ct=function(t,n,e,c){l.info("Drawing state diagram (v2)",n),y={},c.db.getDirection();const{securityLevel:i,state:r}=g(),o=r.nodeSpacing||50,u=r.rankSpacing||50;l.info(c.db.getRootDocV2()),c.db.extract(c.db.getRootDocV2()),l.info(c.db.getRootDocV2());const T=c.db.getStates(),s=new tt({multigraph:!0,compound:!0}).setGraph({rankdir:w(c.db.getRootDocV2()),nodesep:o,ranksep:u,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});h(s,void 0,c.db.getRootDocV2(),T,c.db,!0);let p;i==="sandbox"&&(p=x("#i"+n));const a=i==="sandbox"?x(p.nodes()[0].contentDocument.body):x("body"),d=a.select(`[id="${n}"]`),D=a.select("#"+n+" g");st(D,s,["barb"],_,n);const S=8;et.insertTitle(d,"statediagramTitleText",r.titleTopMargin,c.db.getDiagramTitle());const f=d.node().getBBox(),L=f.width+S*2,P=f.height+S*2;d.attr("class",_);const k=d.node().getBBox();ot(d,P,L,r.useMaxWidth);const v=`${k.x-S} ${k.y-S} ${L} ${P}`;l.debug(`viewBox ${v}`),d.attr("viewBox",v);const J=document.querySelectorAll('[id="'+n+'"] .edgeLabel .label');for(const $ of J){const O=$.getBBox(),b=document.createElementNS("http://www.w3.org/2000/svg",A);b.setAttribute("rx",0),b.setAttribute("ry",0),b.setAttribute("width",O.width),b.setAttribute("height",O.height),$.insertBefore(b,$.firstChild)}},Rt={setConf:yt,getClasses:gt,draw:Ct},Vt={parser:Q,db:B,renderer:Rt,styles:X,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,B.clear()}};export{Vt as diagram};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +1,2 @@
import{a2 as C,y as E,l as b,a3 as w}from"./mermaid.core-a3ed9136.js";import{l as k}from"./line-6a32ac14.js";let S=0;const O=function(i,e,t,n,r){const a=function(o){switch(o){case r.db.relationType.AGGREGATION:return"aggregation";case r.db.relationType.EXTENSION:return"extension";case r.db.relationType.COMPOSITION:return"composition";case r.db.relationType.DEPENDENCY:return"dependency";case r.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter(o=>!Number.isNaN(o.y));const l=e.points,d=k().x(function(o){return o.x}).y(function(o){return o.y}).curve(C),s=i.append("path").attr("d",d(l)).attr("id","edge"+S).attr("class","relation");let g="";n.arrowMarkerAbsolute&&(g=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,g=g.replace(/\(/g,"\\("),g=g.replace(/\)/g,"\\)")),t.relation.lineType==1&&s.attr("class","relation dashed-line"),t.relation.lineType==10&&s.attr("class","relation dotted-line"),t.relation.type1!=="none"&&s.attr("marker-start","url("+g+"#"+a(t.relation.type1)+"Start)"),t.relation.type2!=="none"&&s.attr("marker-end","url("+g+"#"+a(t.relation.type2)+"End)");let f,c;const p=e.points.length;let v=E.calcLabelPosition(e.points);f=v.x,c=v.y;let x,B,N,m;if(p%2!==0&&p>1){let o=E.calcCardinalityPosition(t.relation.type1!=="none",e.points,e.points[0]),u=E.calcCardinalityPosition(t.relation.type2!=="none",e.points,e.points[p-1]);b.debug("cardinality_1_point "+JSON.stringify(o)),b.debug("cardinality_2_point "+JSON.stringify(u)),x=o.x,B=o.y,N=u.x,m=u.y}if(t.title!==void 0){const o=i.append("g").attr("class","classLabel"),u=o.append("text").attr("class","label").attr("x",f).attr("y",c).attr("fill","red").attr("text-anchor","middle").text(t.title);window.label=u;const h=u.node().getBBox();o.insert("rect",":first-child").attr("class","box").attr("x",h.x-n.padding/2).attr("y",h.y-n.padding/2).attr("width",h.width+n.padding).attr("height",h.height+n.padding)}b.info("Rendering relation "+JSON.stringify(t)),t.relationTitle1!==void 0&&t.relationTitle1!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",x).attr("y",B).attr("fill","black").attr("font-size","6").text(t.relationTitle1),t.relationTitle2!==void 0&&t.relationTitle2!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",N).attr("y",m).attr("fill","black").attr("font-size","6").text(t.relationTitle2),S++},P=function(i,e,t,n){b.debug("Rendering class ",e,t);const r=e.id,a={id:r,label:e.id,width:0,height:0},l=i.append("g").attr("id",n.db.lookUpDomId(r)).attr("class","classGroup");let d;e.link?d=l.append("svg:a").attr("xlink:href",e.link).attr("target",e.linkTarget).append("text").attr("y",t.textHeight+t.padding).attr("x",0):d=l.append("text").attr("y",t.textHeight+t.padding).attr("x",0);let s=!0;e.annotations.forEach(function(y){const H=d.append("tspan").text("«"+y+"»");s||H.attr("dy",t.textHeight),s=!1});let g=e.id;e.type!==void 0&&e.type!==""&&(g+="<"+e.type+">");const f=d.append("tspan").text(g).attr("class","title");s||f.attr("dy",t.textHeight);const c=d.node().getBBox().height,p=l.append("line").attr("x1",0).attr("y1",t.padding+c+t.dividerMargin/2).attr("y2",t.padding+c+t.dividerMargin/2),v=l.append("text").attr("x",t.padding).attr("y",c+t.dividerMargin+t.textHeight).attr("fill","white").attr("class","classText");s=!0,e.members.forEach(function(y){_(v,y,s,t),s=!1});const x=v.node().getBBox(),B=l.append("line").attr("x1",0).attr("y1",t.padding+c+t.dividerMargin+x.height).attr("y2",t.padding+c+t.dividerMargin+x.height),N=l.append("text").attr("x",t.padding).attr("y",c+2*t.dividerMargin+x.height+t.textHeight).attr("fill","white").attr("class","classText");s=!0,e.methods.forEach(function(y){_(N,y,s,t),s=!1});const m=l.node().getBBox();var o=" ";e.cssClasses.length>0&&(o=o+e.cssClasses.join(" "));const h=l.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",m.width+2*t.padding).attr("height",m.height+t.padding+.5*t.dividerMargin).attr("class",o).node().getBBox().width;return d.node().childNodes.forEach(function(y){y.setAttribute("x",(h-y.getBBox().width)/2)}),e.tooltip&&d.insert("title").text(e.tooltip),p.attr("x2",h),B.attr("x2",h),a.width=h,a.height=m.height+t.padding+.5*t.dividerMargin,a},I=function(i,e,t,n){b.debug("Rendering note ",e,t);const r=e.id,a={id:r,text:e.text,width:0,height:0},l=i.append("g").attr("id",r).attr("class","classGroup");let d=l.append("text").attr("y",t.textHeight+t.padding).attr("x",0);const s=JSON.parse(`"${e.text}"`).split(`
import{a2 as C,y as E,l as b,a3 as w}from"./mermaid.core-c1267f46.js";import{l as k}from"./line-52bf5936.js";let S=0;const O=function(i,e,t,n,r){const a=function(o){switch(o){case r.db.relationType.AGGREGATION:return"aggregation";case r.db.relationType.EXTENSION:return"extension";case r.db.relationType.COMPOSITION:return"composition";case r.db.relationType.DEPENDENCY:return"dependency";case r.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter(o=>!Number.isNaN(o.y));const l=e.points,d=k().x(function(o){return o.x}).y(function(o){return o.y}).curve(C),s=i.append("path").attr("d",d(l)).attr("id","edge"+S).attr("class","relation");let g="";n.arrowMarkerAbsolute&&(g=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,g=g.replace(/\(/g,"\\("),g=g.replace(/\)/g,"\\)")),t.relation.lineType==1&&s.attr("class","relation dashed-line"),t.relation.lineType==10&&s.attr("class","relation dotted-line"),t.relation.type1!=="none"&&s.attr("marker-start","url("+g+"#"+a(t.relation.type1)+"Start)"),t.relation.type2!=="none"&&s.attr("marker-end","url("+g+"#"+a(t.relation.type2)+"End)");let f,c;const p=e.points.length;let v=E.calcLabelPosition(e.points);f=v.x,c=v.y;let x,B,N,m;if(p%2!==0&&p>1){let o=E.calcCardinalityPosition(t.relation.type1!=="none",e.points,e.points[0]),u=E.calcCardinalityPosition(t.relation.type2!=="none",e.points,e.points[p-1]);b.debug("cardinality_1_point "+JSON.stringify(o)),b.debug("cardinality_2_point "+JSON.stringify(u)),x=o.x,B=o.y,N=u.x,m=u.y}if(t.title!==void 0){const o=i.append("g").attr("class","classLabel"),u=o.append("text").attr("class","label").attr("x",f).attr("y",c).attr("fill","red").attr("text-anchor","middle").text(t.title);window.label=u;const h=u.node().getBBox();o.insert("rect",":first-child").attr("class","box").attr("x",h.x-n.padding/2).attr("y",h.y-n.padding/2).attr("width",h.width+n.padding).attr("height",h.height+n.padding)}b.info("Rendering relation "+JSON.stringify(t)),t.relationTitle1!==void 0&&t.relationTitle1!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",x).attr("y",B).attr("fill","black").attr("font-size","6").text(t.relationTitle1),t.relationTitle2!==void 0&&t.relationTitle2!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",N).attr("y",m).attr("fill","black").attr("font-size","6").text(t.relationTitle2),S++},P=function(i,e,t,n){b.debug("Rendering class ",e,t);const r=e.id,a={id:r,label:e.id,width:0,height:0},l=i.append("g").attr("id",n.db.lookUpDomId(r)).attr("class","classGroup");let d;e.link?d=l.append("svg:a").attr("xlink:href",e.link).attr("target",e.linkTarget).append("text").attr("y",t.textHeight+t.padding).attr("x",0):d=l.append("text").attr("y",t.textHeight+t.padding).attr("x",0);let s=!0;e.annotations.forEach(function(y){const H=d.append("tspan").text("«"+y+"»");s||H.attr("dy",t.textHeight),s=!1});let g=e.id;e.type!==void 0&&e.type!==""&&(g+="<"+e.type+">");const f=d.append("tspan").text(g).attr("class","title");s||f.attr("dy",t.textHeight);const c=d.node().getBBox().height,p=l.append("line").attr("x1",0).attr("y1",t.padding+c+t.dividerMargin/2).attr("y2",t.padding+c+t.dividerMargin/2),v=l.append("text").attr("x",t.padding).attr("y",c+t.dividerMargin+t.textHeight).attr("fill","white").attr("class","classText");s=!0,e.members.forEach(function(y){_(v,y,s,t),s=!1});const x=v.node().getBBox(),B=l.append("line").attr("x1",0).attr("y1",t.padding+c+t.dividerMargin+x.height).attr("y2",t.padding+c+t.dividerMargin+x.height),N=l.append("text").attr("x",t.padding).attr("y",c+2*t.dividerMargin+x.height+t.textHeight).attr("fill","white").attr("class","classText");s=!0,e.methods.forEach(function(y){_(N,y,s,t),s=!1});const m=l.node().getBBox();var o=" ";e.cssClasses.length>0&&(o=o+e.cssClasses.join(" "));const h=l.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",m.width+2*t.padding).attr("height",m.height+t.padding+.5*t.dividerMargin).attr("class",o).node().getBBox().width;return d.node().childNodes.forEach(function(y){y.setAttribute("x",(h-y.getBBox().width)/2)}),e.tooltip&&d.insert("title").text(e.tooltip),p.attr("x2",h),B.attr("x2",h),a.width=h,a.height=m.height+t.padding+.5*t.dividerMargin,a},I=function(i,e,t,n){b.debug("Rendering note ",e,t);const r=e.id,a={id:r,text:e.text,width:0,height:0},l=i.append("g").attr("id",r).attr("class","classGroup");let d=l.append("text").attr("y",t.textHeight+t.padding).attr("x",0);const s=JSON.parse(`"${e.text}"`).split(`
`);s.forEach(function(p){b.debug(`Adding line: ${p}`),d.append("tspan").text(p).attr("class","title").attr("dy",t.textHeight)});const g=l.node().getBBox(),c=l.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",g.width+2*t.padding).attr("height",g.height+s.length*t.textHeight+t.padding+.5*t.dividerMargin).node().getBBox().width;return d.node().childNodes.forEach(function(p){p.setAttribute("x",(c-p.getBBox().width)/2)}),a.width=c,a.height=g.height+s.length*t.textHeight+t.padding+.5*t.dividerMargin,a},T=function(i){const e=/^([#+~-])?(\w+)(~\w+~|\[])?\s+(\w+) *([$*])?$/,t=/^([#+|~-])?(\w+) *\( *(.*)\) *([$*])? *(\w*[[\]|~]*\s*\w*~?)$/;let n=i.match(e),r=i.match(t);return n&&!r?L(n):r?R(r):$(i)},L=function(i){let e="",t="";try{let n=i[1]?i[1].trim():"",r=i[2]?i[2].trim():"",a=i[3]?w(i[3].trim()):"",l=i[4]?i[4].trim():"",d=i[5]?i[5].trim():"";t=n+r+a+" "+l,e=M(d)}catch{t=i}return{displayText:t,cssStyle:e}},R=function(i){let e="",t="";try{let n=i[1]?i[1].trim():"",r=i[2]?i[2].trim():"",a=i[3]?w(i[3].trim()):"",l=i[4]?i[4].trim():"",d=i[5]?" : "+w(i[5]).trim():"";t=n+r+"("+a+")"+d,e=M(l)}catch{t=i}return{displayText:t,cssStyle:e}},$=function(i){let e="",t="",n="",r=i.indexOf("("),a=i.indexOf(")");if(r>1&&a>r&&a<=i.length){let l="",d="",s=i.substring(0,1);s.match(/\w/)?d=i.substring(0,r).trim():(s.match(/[#+~-]/)&&(l=s),d=i.substring(1,r).trim());const g=i.substring(r+1,a);i.substring(a+1,1),t=M(i.substring(a+1,a+2)),e=l+d+"("+w(g.trim())+")",a<i.length&&(n=i.substring(a+2).trim(),n!==""&&(n=" : "+w(n),e+=n))}else e=w(i);return{displayText:e,cssStyle:t}},_=function(i,e,t,n){let r=T(e);const a=i.append("tspan").attr("x",n.padding).text(r.displayText);r.cssStyle!==""&&a.attr("style",r.cssStyle),t||a.attr("dy",n.textHeight)},M=function(i){switch(i){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}},J={drawClass:P,drawEdge:O,drawNote:I,parseMember:T};export{T as p,J as s};

View File

@@ -1,4 +1,4 @@
import{aD as bt,aE as vt,z as kt,c as wt,l as I,h as U,t as St,aF as Et,aG as Tt}from"./mermaid.core-a3ed9136.js";import{i as It}from"./is_dark-ba2ed06e.js";import{a as it}from"./arc-dfb7265f.js";import"./app-926488e2.js";import"./framework-caa722f8.js";import"./path-53f90ab3.js";var Y=function(){var n=function(b,r,a,h){for(a=a||{},h=b.length;h--;a[b[h]]=r);return a},t=[1,2],e=[1,5],s=[6,9,11,17,18,20,22,23,26,27,28],i=[1,15],o=[1,16],l=[1,17],g=[1,18],d=[1,19],y=[1,23],x=[1,24],w=[1,27],v=[4,6,9,11,17,18,20,22,23,26,27,28],_={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,period_statement:24,event_statement:25,period:26,event:27,open_directive:28,type_directive:29,arg_directive:30,close_directive:31,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",26:"period",27:"event",28:"open_directive",29:"type_directive",30:"arg_directive",31:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[24,1],[25,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(r,a,h,u,f,c,T){var m=c.length-1;switch(f){case 1:return c[m-1];case 3:this.$=[];break;case 4:c[m-1].push(c[m]),this.$=c[m-1];break;case 5:case 6:this.$=c[m];break;case 7:case 8:this.$=[];break;case 11:u.getCommonDb().setDiagramTitle(c[m].substr(6)),this.$=c[m].substr(6);break;case 12:this.$=c[m].trim(),u.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=c[m].trim(),u.getCommonDb().setAccDescription(this.$);break;case 15:u.addSection(c[m].substr(8)),this.$=c[m].substr(8);break;case 19:u.addTask(c[m],0,""),this.$=c[m];break;case 20:u.addEvent(c[m].substr(2)),this.$=c[m];break;case 21:u.parseDirective("%%{","open_directive");break;case 22:u.parseDirective(c[m],"type_directive");break;case 23:c[m]=c[m].trim().replace(/'/g,'"'),u.parseDirective(c[m],"arg_directive");break;case 24:u.parseDirective("}%%","close_directive","timeline");break}},table:[{3:1,4:t,7:3,12:4,28:e},{1:[3]},n(s,[2,3],{5:6}),{3:7,4:t,7:3,12:4,28:e},{13:8,29:[1,9]},{29:[2,21]},{6:[1,10],7:22,8:11,9:[1,12],10:13,11:[1,14],12:4,17:i,18:o,20:l,22:g,23:d,24:20,25:21,26:y,27:x,28:e},{1:[2,2]},{14:25,15:[1,26],31:w},n([15,31],[2,22]),n(s,[2,8],{1:[2,1]}),n(s,[2,4]),{7:22,10:28,12:4,17:i,18:o,20:l,22:g,23:d,24:20,25:21,26:y,27:x,28:e},n(s,[2,6]),n(s,[2,7]),n(s,[2,11]),{19:[1,29]},{21:[1,30]},n(s,[2,14]),n(s,[2,15]),n(s,[2,16]),n(s,[2,17]),n(s,[2,18]),n(s,[2,19]),n(s,[2,20]),{11:[1,31]},{16:32,30:[1,33]},{11:[2,24]},n(s,[2,5]),n(s,[2,12]),n(s,[2,13]),n(v,[2,9]),{14:34,31:w},{31:[2,23]},{11:[1,35]},n(v,[2,10])],defaultActions:{5:[2,21],7:[2,2],27:[2,24],33:[2,23]},parseError:function(r,a){if(a.recoverable)this.trace(r);else{var h=new Error(r);throw h.hash=a,h}},parse:function(r){var a=this,h=[0],u=[],f=[null],c=[],T=this.table,m="",M=0,z=0,j=2,K=1,H=c.slice.call(arguments,1),p=Object.create(this.lexer),E={yy:{}};for(var L in this.yy)Object.prototype.hasOwnProperty.call(this.yy,L)&&(E.yy[L]=this.yy[L]);p.setInput(r,E.yy),E.yy.lexer=p,E.yy.parser=this,typeof p.yylloc>"u"&&(p.yylloc={});var C=p.yylloc;c.push(C);var V=p.options&&p.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function et(){var P;return P=u.pop()||p.lex()||K,typeof P!="number"&&(P instanceof Array&&(u=P,P=u.pop()),P=a.symbols_[P]||P),P}for(var k,R,N,Q,W={},G,A,nt,q;;){if(R=h[h.length-1],this.defaultActions[R]?N=this.defaultActions[R]:((k===null||typeof k>"u")&&(k=et()),N=T[R]&&T[R][k]),typeof N>"u"||!N.length||!N[0]){var X="";q=[];for(G in T[R])this.terminals_[G]&&G>j&&q.push("'"+this.terminals_[G]+"'");p.showPosition?X="Parse error on line "+(M+1)+`:
import{aD as bt,aE as vt,z as kt,c as wt,l as I,h as U,t as St,aF as Et,aG as Tt}from"./mermaid.core-c1267f46.js";import{i as It}from"./is_dark-c83e3ef6.js";import{a as it}from"./arc-f12e469b.js";import"./app-82050f85.js";import"./framework-caa722f8.js";import"./path-53f90ab3.js";var Y=function(){var n=function(b,r,a,h){for(a=a||{},h=b.length;h--;a[b[h]]=r);return a},t=[1,2],e=[1,5],s=[6,9,11,17,18,20,22,23,26,27,28],i=[1,15],o=[1,16],l=[1,17],g=[1,18],d=[1,19],y=[1,23],x=[1,24],w=[1,27],v=[4,6,9,11,17,18,20,22,23,26,27,28],_={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,period_statement:24,event_statement:25,period:26,event:27,open_directive:28,type_directive:29,arg_directive:30,close_directive:31,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",26:"period",27:"event",28:"open_directive",29:"type_directive",30:"arg_directive",31:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[24,1],[25,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(r,a,h,u,f,c,T){var m=c.length-1;switch(f){case 1:return c[m-1];case 3:this.$=[];break;case 4:c[m-1].push(c[m]),this.$=c[m-1];break;case 5:case 6:this.$=c[m];break;case 7:case 8:this.$=[];break;case 11:u.getCommonDb().setDiagramTitle(c[m].substr(6)),this.$=c[m].substr(6);break;case 12:this.$=c[m].trim(),u.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=c[m].trim(),u.getCommonDb().setAccDescription(this.$);break;case 15:u.addSection(c[m].substr(8)),this.$=c[m].substr(8);break;case 19:u.addTask(c[m],0,""),this.$=c[m];break;case 20:u.addEvent(c[m].substr(2)),this.$=c[m];break;case 21:u.parseDirective("%%{","open_directive");break;case 22:u.parseDirective(c[m],"type_directive");break;case 23:c[m]=c[m].trim().replace(/'/g,'"'),u.parseDirective(c[m],"arg_directive");break;case 24:u.parseDirective("}%%","close_directive","timeline");break}},table:[{3:1,4:t,7:3,12:4,28:e},{1:[3]},n(s,[2,3],{5:6}),{3:7,4:t,7:3,12:4,28:e},{13:8,29:[1,9]},{29:[2,21]},{6:[1,10],7:22,8:11,9:[1,12],10:13,11:[1,14],12:4,17:i,18:o,20:l,22:g,23:d,24:20,25:21,26:y,27:x,28:e},{1:[2,2]},{14:25,15:[1,26],31:w},n([15,31],[2,22]),n(s,[2,8],{1:[2,1]}),n(s,[2,4]),{7:22,10:28,12:4,17:i,18:o,20:l,22:g,23:d,24:20,25:21,26:y,27:x,28:e},n(s,[2,6]),n(s,[2,7]),n(s,[2,11]),{19:[1,29]},{21:[1,30]},n(s,[2,14]),n(s,[2,15]),n(s,[2,16]),n(s,[2,17]),n(s,[2,18]),n(s,[2,19]),n(s,[2,20]),{11:[1,31]},{16:32,30:[1,33]},{11:[2,24]},n(s,[2,5]),n(s,[2,12]),n(s,[2,13]),n(v,[2,9]),{14:34,31:w},{31:[2,23]},{11:[1,35]},n(v,[2,10])],defaultActions:{5:[2,21],7:[2,2],27:[2,24],33:[2,23]},parseError:function(r,a){if(a.recoverable)this.trace(r);else{var h=new Error(r);throw h.hash=a,h}},parse:function(r){var a=this,h=[0],u=[],f=[null],c=[],T=this.table,m="",M=0,z=0,j=2,K=1,H=c.slice.call(arguments,1),p=Object.create(this.lexer),E={yy:{}};for(var L in this.yy)Object.prototype.hasOwnProperty.call(this.yy,L)&&(E.yy[L]=this.yy[L]);p.setInput(r,E.yy),E.yy.lexer=p,E.yy.parser=this,typeof p.yylloc>"u"&&(p.yylloc={});var C=p.yylloc;c.push(C);var V=p.options&&p.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function et(){var P;return P=u.pop()||p.lex()||K,typeof P!="number"&&(P instanceof Array&&(u=P,P=u.pop()),P=a.symbols_[P]||P),P}for(var k,R,N,Q,W={},G,A,nt,q;;){if(R=h[h.length-1],this.defaultActions[R]?N=this.defaultActions[R]:((k===null||typeof k>"u")&&(k=et()),N=T[R]&&T[R][k]),typeof N>"u"||!N.length||!N[0]){var X="";q=[];for(G in T[R])this.terminals_[G]&&G>j&&q.push("'"+this.terminals_[G]+"'");p.showPosition?X="Parse error on line "+(M+1)+`:
`+p.showPosition()+`
Expecting `+q.join(", ")+", got '"+(this.terminals_[k]||k)+"'":X="Parse error on line "+(M+1)+": Unexpected "+(k==K?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(X,{text:p.match,token:this.terminals_[k]||k,line:p.yylineno,loc:C,expected:q})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+R+", token: "+k);switch(N[0]){case 1:h.push(k),f.push(p.yytext),c.push(p.yylloc),h.push(N[1]),k=null,z=p.yyleng,m=p.yytext,M=p.yylineno,C=p.yylloc;break;case 2:if(A=this.productions_[N[1]][1],W.$=f[f.length-A],W._$={first_line:c[c.length-(A||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(A||1)].first_column,last_column:c[c.length-1].last_column},V&&(W._$.range=[c[c.length-(A||1)].range[0],c[c.length-1].range[1]]),Q=this.performAction.apply(W,[m,z,M,E.yy,N[1],f,c].concat(H)),typeof Q<"u")return Q;A&&(h=h.slice(0,-1*A*2),f=f.slice(0,-1*A),c=c.slice(0,-1*A)),h.push(this.productions_[N[1]][0]),f.push(W.$),c.push(W._$),nt=T[h[h.length-2]][h[h.length-1]],h.push(nt);break;case 3:return!0}}return!0}},S=function(){var b={EOF:1,parseError:function(a,h){if(this.yy.parser)this.yy.parser.parseError(a,h);else throw new Error(a)},setInput: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},input: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},unput:function(r){var a=r.length,h=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 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),h.length-1&&(this.yylineno-=h.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:h?(h.length===u.length?this.yylloc.first_column:0)+u[u.length-h.length].length-h[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},more:function(){return this._more=!0,this},reject: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},less:function(r){this.unput(this.match.slice(r))},pastInput:function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},upcomingInput: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,"")},showPosition:function(){var r=this.pastInput(),a=new Array(r.length+1).join("-");return r+this.upcomingInput()+`

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -6,8 +6,8 @@
<link>https://hut.ao/en/</link>
<description>Super utilitarian Genshin Impact Tool</description>
<language>en-US</language>
<pubDate>Wed, 19 Apr 2023 00:57:06 GMT</pubDate>
<lastBuildDate>Wed, 19 Apr 2023 00:57:06 GMT</lastBuildDate>
<pubDate>Wed, 19 Apr 2023 08:51:59 GMT</pubDate>
<lastBuildDate>Wed, 19 Apr 2023 08:51:59 GMT</lastBuildDate>
<generator>vuepress-plugin-feed2</generator>
<docs>https://validator.w3.org/feed/docs/rss2.html</docs>
<category>Feature</category>
@@ -1163,37 +1163,224 @@ you can check <a href="/en/features/mhy-account-switch.html" target="blank">米
<enclosure url="https://img.alicdn.com/imgextra/i3/1797064093/O1CN01huh2t51g6du5DUiGt_!!1797064093.png" type="image/png"/>
</item>
<item>
<title>高级启动器</title>
<title>Game Launcher</title>
<link>https://hut.ao/en/features/game-launcher.html</link>
<guid>https://hut.ao/en/features/game-launcher.html</guid>
<source url="https://hut.ao/en/rss.xml">高级启动器</source>
<description>胡桃工具箱提供的高级启动器功能中通过多样的设置选项来允许用户以自定义设置启动游戏; 你可以通过点击左侧菜单栏中的启动游戏进入高级启动器功能; 第一次使用时你会被跳转到设置页面以设置你的游戏路径; 选择游戏路径时,请注意此处选择的应是游戏本身; 形如:$\Genshin Impact\Genshin Impact Game\YuanShen.exe; 而...</description>
<category>功能</category>
<category>教程</category>
<source url="https://hut.ao/en/rss.xml">Game Launcher</source>
<description>Snap Hutao offers advanced game launcher feature allows user to launch the game with self-defined settings; Click on the Game Launcher on the sidebar to get into game launcher&amp;apos;s...</description>
<category>Feature</category>
<category>Tutorial</category>
<pubDate>Thu, 12 Jan 2023 00:51:03 GMT</pubDate>
<content:encoded><![CDATA[<h1> 高级启动器</h1>
<content:encoded><![CDATA[<h1> Game Launcher</h1>
<ul>
<li>胡桃工具箱提供的高级启动器功能中通过多样的设置选项来允许用户以自定义设置启动游戏</li>
<li>你可以通过点击左侧菜单栏中的<code>启动游戏</code>进入高级启动器功能
<li>Snap Hutao offers advanced game launcher feature allows user to launch the game with self-defined settings</li>
<li>Click on the <code>Game Launcher</code> on the sidebar to get into game launcher's page
<ul>
<li>第一次使用时你会被跳转到设置页面以设置你的游戏路径</li>
<li>选择游戏路径时,请注意此处选择的应是游戏本身
<li>If you are using it at the first time, you will be redirected to Snap Hutao settings page and asked to set your game path
<ul>
<li>形如:<code>$\Genshin Impact\Genshin Impact Game\YuanShen.exe</code></li>
<li>而官方启动器的目录一般是<code>$\Genshin Impact\launcher.exe</code></li>
<li>When choosing the game path, noticed that you should choose game program instead of launcher program
<ul>
<li>Such as <code>$\Genshin Impact\Genshin Impact Game\YuanShen.exe</code> and <code>$\Genshin Impact\Genshin Impact Game\Genshin Impact.exe</code></li>
<li>Official launcher program is usually <code>$\Genshin Impact\launcher.exe</code></li>
</ul>
</li>
</ul>
</li>
<li>在设置完毕启动游戏所需的附加选项后,点击右下角的<code>启动游戏</code>按钮即可
</ul>
</li>
<li>You can make launcher configuration options in the game launcher's page, and then click <code>Launcher</code> button on the top-right to launch the game
<ul>
<li>附加选项请看本页下方的功能文档</li>
<li>Launcher options is explained in the document below</li>
</ul>
</li>
</ul>
<h2> 视频指南</h2>
<p>对于大多数人而言,遵循本页文档会有更高的效率。</p>
<p>但如果你对其中包含的操作不熟悉,也可以回到这里来跟着视频指南操作。 但如果你对其中包含的操作不熟悉,也可以回到这里来跟着视频指南操作。 ::: details 胡桃工具箱指南 4 - 高级启动器(切换帐号/切换服务器/帧率解锁)</p>
<h2> Server Switch</h2>
<div class="hint-container tip">
<p class="hint-container-title">Privilege Notice</p>
<ol>
<li>You need to run Snap Hutao as administrator to use this feature</li>
<li>Snap Hutao will create <code>ServerCache</code> folder in the data directory to save required sever switch files</li>
</ol>
</div>
<ul>
<li>
<p>Enter Game Launcher page</p>
</li>
<li>
<p>In the <code>General - Server</code> field, select the server you want</p>
<ul>
<li>Current available serves options include:</li>
</ul>
<table>
<thead>
<tr>
<th>Option</th>
<th>Server</th>
</tr>
</thead>
<tbody>
<tr>
<td>CN</td>
<td>Mainland China server</td>
</tr>
<tr>
<td>BiliBili</td>
<td>Chinese server with BiliBili account system</td>
</tr>
<tr>
<td>Global Default</td>
<td>HoYoVerse servers</td>
</tr>
<tr>
<td>Global Epic</td>
<td>HoYoVerse servers with Epic Store payment gateway</td>
</tr>
<tr>
<td>Global Google</td>
<td>HoYoVerse servers with Google Pay payment gateway</td>
</tr>
</tbody>
</table>
</li>
<li>
<p>click <code>Launcher</code> button on the top-right to launch the game, Snap Hutao will download server required files and then launch the game</p>
</li>
</ul>
<h2> Game Account Switch</h2>
<div class="hint-container tip">
<p class="hint-container-title">Tips</p>
<ol>
<li>The <strong>account</strong> mentioned in this feature is Genshin game login account instead of HoYoLAB account</li>
<li>Game account switch feature currently only supporting official CN server</li>
</ol>
</div>
<table>
<thead>
<tr>
<th></th>
<th>CN</th>
<th>BiliBili</th>
<th>Global</th>
</tr>
</thead>
<tbody>
<tr>
<td>Save Login Status</td>
<td>Supported</td>
<td>Supported</td>
<td>Supported</td>
</tr>
<tr>
<td>Switch Account</td>
<td>Supported</td>
<td>Not Supported</td>
<td>Theoretically Supported <br><a href="https://github.com/DGP-Studio/Snap.Hutao/issues/638" target="_blank" rel="noopener noreferrer">We need community's support for this</a></td>
</tr>
</tbody>
</table>
<ol>
<li>Enter Game Launcher page</li>
<li>Click <code>Detect Account</code> field in the <code>General</code> category, Snap Hutao will detect current Genshin Impact's account login status</li>
<li>In this pop-up window, enter an archive name for this account and click <code>Confirm</code></li>
<li>Go back to the game, sign out and sign in to your another account. Repeat step 2 and 3 to add all your account to Snap Hutao
<ul>
<li>Each saved account are selectable</li>
<li>On the right side, there are three buttons, they are:
<ul>
<li><code>Bind current user account</code>, bind current activated MiHoYo BBS account with this game account, an UID will be display on this archive</li>
<li><code>Rename</code>, rename current account archive name</li>
<li><code>Delete</code>, delete current account archive</li>
</ul>
</li>
</ul>
</li>
</ol>
<h2> Appearance</h2>
<div class="hint-container warning">
<p class="hint-container-title">Note</p>
<ul>
<li>In some reported cases, using Snap Hutao with <code>Exclusive Fullscreen</code> mode will cause the game process no response.
<ul>
<li>Suggest to use <code>Borderless</code> or <code>Fullscreen</code> mode if you faced same problem</li>
<li>The problem is caused by failure of game embedded browser cannot run</li>
</ul>
</li>
</ul>
</div>
<ul>
<li>Enter Game Launcher page</li>
<li>In the <code>Appearance</code> category, there are 6 available options:
<ul>
<li><strong>Exclusive Fullscreen</strong>, the game process will run in exclusive fullscreen mode</li>
<li><strong>Fullscreen</strong>, the game display mode is set to fullscreen</li>
<li><strong>Borderless</strong>, the game display mode is set to borderless</li>
<li><strong>Width</strong>, game window width, such as <code>1920</code></li>
<li><strong>Height</strong>, game window height, such as <code>1080</code></li>
<li><strong>Display</strong>, users with multiple displays can use this option to set which display to run the game</li>
</ul>
</li>
</ul>
<h2> Advanced Features</h2>
<div class="hint-container danger">
<p class="hint-container-title">Warning</p>
<ul>
<li>Be aware: all advanced features are labeled as <code>Dangeroud Feature</code>; indicating that enabling them means you choose
to assume any risk on your own.</li>
<li>You need to enable advanced features in Snap Hutao's settings page</li>
</ul>
</div>
<h3> Unlock Frame Rate Limit</h3>
<div class="hint-container danger">
<p class="hint-container-title">Warning</p>
<ul>
<li>The <a href="https://github.com/DGP-Studio/Unlocker" target="_blank" rel="noopener noreferrer">Unlocker project</a> only affects the UnityPlayer itself, directly affecting
the Unity3D engine, and does not have a direct relationship with the game itself. Essentially, it is no different from
settings like 120 FPS in mobile devices. However, you should still use it with caution and read the <a href="/en/statements/tos.html" target="blank">user agreement</a>
on your own.</li>
</ul>
</div>
<ul>
<li>
<p>Run Snap Hutao as administrator</p>
</li>
<li>
<p>Enter Game Launcher page</p>
</li>
<li>
<p>At the bottom of the page, you can find <code>Unlock Frame Rate Limit</code> option</p>
<ul>
<li>Trigger the switch to enable or disable this feature</li>
<li>In the <code>Set Frame Rate Limit</code> field, you can adjust the limit freely</li>
</ul>
</li>
<li>
<p>Fact that may cause <strong>failure in unlocking frame rate limit</strong>:</p>
<ul>
<li>Snap Hutao process is not kept in the background</li>
<li><code>V-Sync</code> is not set to off in the game</li>
<li><code>Max Framerate</code> limit is not changed in your graphic card settings</li>
<li><code>Power Saving</code> mode is not disabled in power settings</li>
<li>Your graphic card is not powerful enough</li>
</ul>
</li>
</ul>
<h3> Multi-Client</h3>
<div class="hint-container danger">
<p class="hint-container-title">Warning</p>
<p>Multiple instances of the game client is a far more dangerous feature compared to unlocking the framerate limit.
You should personally or invite a technically knowledgeable professional to review the code and make your own judgment
on whether to use this feature.</p>
<p><strong>Using this feature may cause the anti-cheat system in Genshin Impact to fail to load, and the game client will report
this situation to miHoYo's servers.</strong></p>
</div>
<ol>
<li>Run Snap Hutao as administrator</li>
<li>Enter Game Launcher page</li>
<li>At the bottom of the page, enable <code>Multi-Client</code> option</li>
<li>Click <code>Launch</code> button on the top-right of the window</li>
<li>Wait for 12 seconds before entering the game (open the gate)</li>
<li>Repeat step 4 and 5 to launch next client instance</li>
</ol>
]]></content:encoded>
</item>
<item>
@@ -1407,7 +1594,14 @@ re-download images resource at next start-up</li>
<ul>
<li>Enable Advanced Features
<ul>
<li>With Snap Hutao running as administrator, you can enable this field to enable advanced features in the game launcher</li>
<li>With Snap Hutao running as administrator, you can enable this field to enable advanced features in the game launcher
<blockquote>
<p>For reference</p>
<p><a href="/en/statements/tos.html" target="blank">Snap Hutao Terms of Service</a></p>
<p><a href="https://ys.mihoyo.com/main/company/agreement" target="_blank" rel="noopener noreferrer">Genshin Impact Terms of Service (CN server/Chinese)</a></p>
<p><a href="https://genshin.hoyoverse.com/en/company/terms" target="_blank" rel="noopener noreferrer">Genshin Impact Terms of Service (Oversea servers/English)</a></p>
</blockquote>
</li>
</ul>
</li>
<li>Delete All Users

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -6,8 +6,8 @@
<link>https://hut.ao/</link>
<description></description>
<language>en-US</language>
<pubDate>Wed, 19 Apr 2023 00:57:06 GMT</pubDate>
<lastBuildDate>Wed, 19 Apr 2023 00:57:06 GMT</lastBuildDate>
<pubDate>Wed, 19 Apr 2023 08:51:59 GMT</pubDate>
<lastBuildDate>Wed, 19 Apr 2023 08:51:59 GMT</lastBuildDate>
<generator>vuepress-plugin-feed2</generator>
<docs>https://validator.w3.org/feed/docs/rss2.html</docs>
</channel>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More