mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-17 13:55:35 +08:00
Compare commits
24 Commits
1eadcc85a3
...
gh-pages
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
faa3ebc4fd | ||
|
|
1da372307e | ||
|
|
2e8a0fcf9a | ||
|
|
cbb9ccd983 | ||
|
|
0ffade7dca | ||
|
|
8d4128c7d2 | ||
|
|
28126e73d8 | ||
|
|
72287d3ff1 | ||
|
|
b822f0af45 | ||
|
|
08bc74febd | ||
|
|
3619e042bc | ||
|
|
4f626e75e8 | ||
|
|
8f20eaca25 | ||
|
|
f022d0b823 | ||
|
|
8490203d59 | ||
|
|
8822b96f18 | ||
|
|
1f31299fbf | ||
|
|
9b356dac9e | ||
|
|
c3997e34be | ||
|
|
688c400dae | ||
|
|
73b937d962 | ||
|
|
93366f82f5 | ||
|
|
5e429a9edc | ||
|
|
763b75d136 |
1
assets/app.Bw02Lh2k.js
Normal file
1
assets/app.Bw02Lh2k.js
Normal file
@@ -0,0 +1 @@
|
||||
import{t as e}from"./chunks/theme.C_odZu9O.js";import{N as t,X as n,Z as r,_ as i,a,b as o,c as s,g as c,h as l,ht as u,i as d,l as f,n as p,nt as m,o as h,p as g,r as _,s as v,t as y,v as b}from"./chunks/framework.DrNIf5Lg.js";function x(e){if(e.extends){let t=x(e.extends);return{...t,...e,async enhanceApp(n){t.enhanceApp&&await t.enhanceApp(n),e.enhanceApp&&await e.enhanceApp(n)}}}return e}var S=x(e),C=n({name:`VitePressApp`,setup(){let{site:e,lang:t,dir:n}=b();return m(()=>{u(()=>{document.documentElement.lang=t.value,document.documentElement.dir=n.value})}),e.value.router.prefetchLinks&&y(),_(),d(),S.setup&&S.setup(),()=>r(S.Layout)}});async function w(){globalThis.__VITEPRESS__=!0;let e=E(),t=T();t.provide(s,e);let n=c(e.route);return t.provide(l,n),t.component(`Content`,v),t.component(`ClientOnly`,a),Object.defineProperties(t.config.globalProperties,{$frontmatter:{get(){return n.frontmatter.value}},$params:{get(){return n.page.value.params}}}),S.enhanceApp&&await S.enhanceApp({app:t,router:e,siteData:i}),{app:t,router:e,data:n}}function T(){return t(C)}function E(){let e=o;return f(t=>{let n=g(t),r=null;return n&&(e&&(n=n.replace(/\.js$/,`.lean.js`)),r=h(()=>import(n),[])),o&&(e=!1),r},S.NotFound)}o&&w().then(({app:e,router:t,data:n})=>{t.go(location.href,{initialLoad:!0}).then(()=>{p(t.route,n.site),e.mount(`#app`)})});export{w as createApp};
|
||||
@@ -1 +0,0 @@
|
||||
import{R as p}from"./chunks/theme.MOrVMOSc.js";import{C as o,a3 as i,a4 as u,a5 as c,a6 as l,a7 as f,a8 as d,a9 as m,aa as h,ab as g,ac as A,d as y,u as C,p as v,y as w,ad as P,ae as R,af as b,ag as E}from"./chunks/framework.Bhsyh9kO.js";function r(e){if(e.extends){const a=r(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const n=r(p),S=y({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=C();return v(()=>{w(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&P(),R(),b(),n.setup&&n.setup(),()=>E(n.Layout)}});async function T(){globalThis.__VITEPRESS__=!0;const e=L(),a=D();a.provide(u,e);const t=c(e.route);return a.provide(l,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),n.enhanceApp&&await n.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function D(){return A(S)}function L(){let e=o;return h(a=>{let t=g(a),s=null;return t&&(e&&(t=t.replace(/\.js$/,".lean.js")),s=import(t)),o&&(e=!1),s},n.NotFound)}o&&T().then(({app:e,router:a,data:t})=>{a.go(location.href,{initialLoad:!0}).then(()=>{i(a.route,t.site),e.mount("#app")})});export{T as createApp};
|
||||
8
assets/chunks/CliGenerator.DKsrx65j.js
Normal file
8
assets/chunks/CliGenerator.DKsrx65j.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
import{d as p,x as i,p as _,c as s,o as e,j as t,t as u,G as h,H as v,_ as g}from"./framework.Bhsyh9kO.js";const f={class:"contributors-container"},b={key:0,class:"loading-state"},m={key:1,class:"error-state"},y={key:2,class:"contributors-grid"},k=["href","title"],w=["src","alt"],C={class:"contributor-name"},x=p({__name:"Contributors",setup(j){const c=i([]),l=i(!0),n=i(""),d=async()=>{try{l.value=!0,n.value="";const a=await fetch("https://api.github.com/repos/crazywhalecc/static-php-cli/contributors?per_page=24");if(!a.ok)throw new Error("Failed to fetch contributors");const o=await a.json();c.value=o}catch(a){n.value="Failed to load contributors. Please try again later.",console.error("Error fetching contributors:",a)}finally{l.value=!1}};return _(()=>{d()}),(a,o)=>(e(),s("div",f,[o[1]||(o[1]=t("div",{class:"contributors-header"},[t("h2",null,"Contributors"),t("p",{class:"contributors-description"}," Thanks to all the amazing people who have contributed to this project! ")],-1)),l.value?(e(),s("div",b,[...o[0]||(o[0]=[t("div",{class:"spinner"},null,-1),t("p",null,"Loading contributors...",-1)])])):n.value?(e(),s("div",m,[t("p",null,u(n.value),1)])):(e(),s("div",y,[(e(!0),s(h,null,v(c.value,r=>(e(),s("a",{key:r.id,href:r.html_url,target:"_blank",rel:"noopener noreferrer",class:"contributor-card",title:r.login},[t("img",{src:r.avatar_url,alt:r.login,class:"contributor-avatar",loading:"lazy"},null,8,w),t("div",C,u(r.login),1)],8,k))),128))]))]))}}),B=g(x,[["__scopeId","data-v-d508f059"]]);export{B as C};
|
||||
1
assets/chunks/Contributors.gAo8B4qF.js
Normal file
1
assets/chunks/Contributors.gAo8B4qF.js
Normal file
@@ -0,0 +1 @@
|
||||
import{B as e,Ct as t,G as n,H as r,X as i,at as a,j as o,nt as s,st as c,xt as l}from"./framework.DrNIf5Lg.js";var u={class:`contributors-container`},d={key:0,class:`loading-state`},f={key:1,class:`error-state`},p={key:2,class:`contributors-grid`},m=[`href`,`title`],h=[`src`,`alt`],g={class:`contributor-name`},_=o(i({__name:`Contributors`,setup(i){let o=t([]),_=t(!0),v=t(``),y=async()=>{try{_.value=!0,v.value=``;let e=await fetch(`https://api.github.com/repos/crazywhalecc/static-php-cli/contributors?per_page=24`);if(!e.ok)throw Error(`Failed to fetch contributors`);let t=await e.json();o.value=t}catch(e){v.value=`Failed to load contributors. Please try again later.`,console.error(`Error fetching contributors:`,e)}finally{_.value=!1}};return s(()=>{y()}),(t,i)=>(a(),n(`div`,u,[i[1]||=r(`div`,{class:`contributors-header`},[r(`h2`,null,`Contributors`),r(`p`,{class:`contributors-description`},` Thanks to all the amazing people who have contributed to this project! `)],-1),_.value?(a(),n(`div`,d,[...i[0]||=[r(`div`,{class:`spinner`},null,-1),r(`p`,null,`Loading contributors...`,-1)]])):v.value?(a(),n(`div`,f,[r(`p`,null,l(v.value),1)])):(a(),n(`div`,p,[(a(!0),n(e,null,c(o.value,e=>(a(),n(`a`,{key:e.id,href:e.html_url,target:`_blank`,rel:`noopener noreferrer`,class:`contributor-card`,title:e.login},[r(`img`,{src:e.avatar_url,alt:e.login,class:`contributor-avatar`,loading:`lazy`},null,8,h),r(`div`,g,l(e.login),1)],8,m))),128))]))]))}}),[[`__scopeId`,`data-v-d508f059`]]);export{_ as t};
|
||||
File diff suppressed because one or more lines are too long
1
assets/chunks/SearchTable.Ca3zh6We.js
Normal file
1
assets/chunks/SearchTable.Ca3zh6We.js
Normal file
@@ -0,0 +1 @@
|
||||
import{B as e,Ct as t,Et as n,G as r,H as i,L as a,W as o,at as s,q as c,st as l,vt as u,xt as d}from"./framework.DrNIf5Lg.js";import{t as f}from"./extensions.data.jgJx1dMD.js";var p={key:0,class:`warning custom-block`,style:{"margin-bottom":`16px`}},m={class:`DocSearch-SearchBar`,style:{padding:`0`}},h={class:`DocSearch-Form searchinput`},g={key:0},_=[`href`],v=[`href`],y={key:0,style:{margin:`0 4px 20px 4px`,color:`var(--vp-c-text-2)`,"font-size":`14px`}},b=Object.assign({name:`SearchTable`},{setup(b){let x=f.missing,S=t(f.extensions),C=t(f.extensions),w=t(``),T=()=>{if(w.value===``){C.value=S.value;return}C.value=S.value.filter(e=>e.name.toLowerCase().includes(w.value.toLowerCase()))};return(t,f)=>(s(),r(`div`,null,[n(x)?(s(),r(`div`,p,[...f[1]||=[i(`p`,{class:`custom-block-title`},`WARNING`,-1),i(`p`,null,[c(`Extension list is not generated yet. Run `),i(`code`,null,`bin/spc dev:gen-ext-docs`),c(` to generate it.`)],-1)]])):(s(),r(e,{key:1},[i(`header`,m,[i(`form`,h,[u(i(`input`,{class:`DocSearch-Input`,"onUpdate:modelValue":f[0]||=e=>w.value=e,placeholder:`Filter name...`,onInput:T},null,544),[[a,w.value]])])]),i(`table`,null,[f[3]||=i(`thead`,null,[i(`tr`,null,[i(`th`,null,`Extension Name`),i(`th`,null,`Linux`),i(`th`,null,`macOS`),i(`th`,null,`Windows`),i(`th`,null,`Website`)])],-1),i(`tbody`,null,[(s(!0),r(e,null,l(C.value,e=>(s(),r(`tr`,{key:e.name},[i(`td`,null,[e.hasNotes?(s(),r(`a`,{key:1,href:`./extension-notes.html#`+e.name},d(e.name),9,_)):(s(),r(`span`,g,d(e.name),1))]),i(`td`,null,d(e.linux?`✅`:``),1),i(`td`,null,d(e.macos?`✅`:``),1),i(`td`,null,d(e.windows?`✅`:``),1),i(`td`,null,[e.url?(s(),r(`a`,{key:0,href:e.url,target:`_blank`,rel:`noopener noreferrer`,class:`ext-source-link`},[...f[2]||=[i(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,width:`12`,height:`12`,fill:`currentColor`},[i(`path`,{d:`M10 6v2H5v11h11v-5h2v6a1 1 0 01-1 1H4a1 1 0 01-1-1V7a1 1 0 011-1h6zm11-3v8h-2V6.413l-7.793 7.794-1.414-1.414L17.585 5H13V3h8z`})],-1)]],8,v)):o(``,!0)])]))),128))])]),C.value.length===0?(s(),r(`div`,y,` No result, please try another keyword. `)):o(``,!0)],64))]))}});export{b as t};
|
||||
1
assets/chunks/VPAlgoliaSearchBox.CwqSeBh0.js
Normal file
1
assets/chunks/VPAlgoliaSearchBox.CwqSeBh0.js
Normal file
@@ -0,0 +1 @@
|
||||
import{a as e,i as t,o as n,r}from"./theme.C_odZu9O.js";import{B as i,G as a,H as o,X as s,at as c,b as l,d as u,et as d,mt as f,o as p,rt as m}from"./framework.DrNIf5Lg.js";var h=s({__name:`VPAlgoliaSearchBox`,props:{algoliaOptions:{},openRequest:{}},setup(s){let h=s,g=u(),{site:_}=n(),v=()=>{},y,b,x=null,S=0,C,w,T=null,E=!1,D=!1;f(()=>h.algoliaOptions,O,{immediate:!0}),m(v),f(()=>h.openRequest?.nonce,()=>{let e=h.openRequest;e&&(e.target===`search`?y?.isReady?j(`docsearch`,()=>y?.open()):x=`search`:e.target===`toggleAskAi`?b?.isOpen?b.close():j(`sidepanel`,()=>b?.open()):b?.isReady?j(`sidepanel`,()=>b?.open()):b?x=`askAi`:y?.isReady?j(`docsearch`,()=>y?.openAskAi()):x=`askAi`)},{immediate:!0});async function O(t){if(!l)return;await d();let n=t.askAi,{valid:r,...i}=e({appId:t.appId??n?.appId,apiKey:t.apiKey??n?.apiKey,indexName:t.indexName??n?.indexName});if(!r){console.warn(`[vitepress] Algolia search cannot be initialized: missing appId/apiKey/indexName.`);return}await k({...t,...i})}async function k(e){let n=++S;v();let{useSidePanel:i}=t(e),a=e.askAi,{default:o}=await N();if(n===S){if(i&&a?.sidePanel){let{default:t}=await P();if(n!==S)return;b=t({...r(a,e),onOpen:A,onClose:M.bind(null,`sidepanel`),onReady:()=>{x===`askAi`&&(x=null,j(`sidepanel`,()=>b?.open()))},keyboardShortcuts:{"Ctrl/Cmd+I":!1}})}y=o({...e,container:`#vp-docsearch`,navigator:{navigate(e){g.go(e.itemUrl)}},transformItems:e=>e.map(e=>({...e,url:F(e.url)})),...i&&b&&{interceptAskAiEvent:e=>(j(`sidepanel`,()=>b?.open(e)),!0)},onOpen:A,onClose:M.bind(null,`docsearch`),onReady:()=>{x===`search`?(x=null,j(`docsearch`,()=>y?.open())):x===`askAi`&&!b&&(x=null,j(`docsearch`,()=>y?.openAskAi()))},keyboardShortcuts:{"/":!1,"Ctrl/Cmd+K":!1}}),v=()=>{y?.destroy(),b?.destroy(),y=void 0,b=void 0,x=null,T=null}}}function A(){requestAnimationFrame(()=>{(document.querySelector(`#docsearch-input`)||document.querySelector(`#docsearch-sidepanel textarea`))?.focus()})}function j(e,t){e===`docsearch`?b?.isOpen?(D=!0,b.close()):y?.isOpen||document.activeElement instanceof HTMLElement&&(T=document.activeElement):e===`sidepanel`&&(y?.isOpen?(E=!0,y.close()):b?.isOpen||document.activeElement instanceof HTMLElement&&(T=document.activeElement)),setTimeout(t,0)}function M(e){if(e===`docsearch`){if(E){E=!1;return}}else if(e===`sidepanel`&&D){D=!1;return}T&&=(T.focus(),null)}function N(){return C||=p(()=>import(`./esm.DLZGTa_Y.js`),[]),C}function P(){return w||=p(()=>import(`./esm.CJCpmpiJ.js`),[]),w}function F(e){let{pathname:t,hash:n}=new URL(e,location.origin);return t.replace(/\.html$/,_.value.cleanUrls?``:`.html`)+n}return(e,t)=>(c(),a(i,null,[t[0]||=o(`div`,{id:`vp-docsearch`},null,-1),t[1]||=o(`div`,{id:`vp-docsearch-sidepanel`},null,-1)],64))}});export{h as default};
|
||||
File diff suppressed because one or more lines are too long
1
assets/chunks/abnfDiagram-VRR7QNED.BeViiwaz.js
Normal file
1
assets/chunks/abnfDiagram-VRR7QNED.BeViiwaz.js
Normal file
@@ -0,0 +1 @@
|
||||
import{m as e}from"./src.OgxTg4hg.js";import{m as t,t as n}from"./mermaid-parser.core.N9eEiD5y.js";import{n as r}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";import"./chunk-WYO6CB5R.Bq018eTN.js";import"./chunk-VAUOI2AC.B8koBSma.js";import{n as i,r as a,t as o}from"./chunk-MOJQB5TN.S5IX9-r8.js";import{t as s}from"./chunk-JWPE2WC7.A3RzWITa.js";var c=t().RailroadAbnf.parser.LangiumParser,l=r(e=>{let t=e.alternatives.map(u);return t.length===1?t[0]:{type:`choice`,alternatives:t}},`transformAlternation`),u=r(e=>{let t=e.elements.map(f);return t.length===1?t[0]:{type:`sequence`,elements:t}},`transformConcatenation`),d=r(e=>{if(e.includes(`*`)){let[t,n]=e.split(`*`);return{min:t?parseInt(t,10):0,max:n?parseInt(n,10):1/0}}let t=parseInt(e,10);return{min:t,max:t}},`parseRepeat`),f=r(e=>{let t=p(e.primary);if(!e.repeat)return t;let{min:n,max:r}=d(e.repeat);return n===0&&r===1?{type:`optional`,element:t}:{type:`repetition`,element:t,min:n,max:r}},`transformElement`),p=r(e=>{switch(e.$type){case`AbnfStringLiteral`:return{type:`terminal`,value:e.value};case`AbnfNumVal`:return{type:`terminal`,value:e.value};case`AbnfRuleName`:return{type:`nonterminal`,name:e.name};case`AbnfGroup`:return l(e.element);case`AbnfOptionalGroup`:return{type:`optional`,element:l(e.element)};default:throw Error(`Unsupported ABNF primary node: ${e.$type}`)}},`transformPrimary`),m=r(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),h=r(e=>{s(e,o),e.title&&o.setTitle(e.title),e.rules.map(e=>o.addRule(m(e)))},`populateDb`),g={parser:{parse:r(t=>{o.clear(),e.debug(`[ABNF Parser] Starting Langium parse`);let r=c.parse(t);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new n(r);let i=r.value;e.debug(`[ABNF Parser] Parsed rules:`,i.rules.length),h(i),e.debug(`[ABNF Parser] Parse complete`)},`parse`),parser:{yy:o}},db:o,renderer:a,styles:i};export{g as diagram};
|
||||
1
assets/chunks/arc.WFIG2DsA.js
Normal file
1
assets/chunks/arc.WFIG2DsA.js
Normal file
@@ -0,0 +1 @@
|
||||
import{n as e,t}from"./path.BWPyau1x.js";import{a as n,c as r,d as i,f as a,i as o,l as s,m as c,n as l,o as u,p as d,r as f,u as p}from"./dist.Bk8Utk0H.js";function m(e){return e.innerRadius}function h(e){return e.outerRadius}function g(e){return e.startAngle}function _(e){return e.endAngle}function v(e){return e&&e.padAngle}function y(e,t,n,r,i,a,o,s){var c=n-e,l=r-t,u=o-i,d=s-a,f=d*c-u*l;if(!(f*f<1e-12))return f=(u*(t-a)-d*(e-i))/f,[e+f*c,t+f*l]}function b(e,t,n,r,i,a,o){var c=e-n,l=t-r,u=(o?a:-a)/d(c*c+l*l),f=u*l,p=-u*c,m=e+f,h=t+p,g=n+f,_=r+p,v=(m+g)/2,y=(h+_)/2,b=g-m,x=_-h,S=b*b+x*x,C=i-a,w=m*_-g*h,T=(x<0?-1:1)*d(s(0,C*C*S-w*w)),E=(w*x-b*T)/S,D=(-w*b-x*T)/S,O=(w*x+b*T)/S,k=(-w*b+x*T)/S,A=E-v,j=D-y,M=O-v,N=k-y;return A*A+j*j>M*M+N*N&&(E=O,D=k),{cx:E,cy:D,x01:-f,y01:-p,x11:E*(i/C-1),y11:D*(i/C-1)}}function x(){var s=m,x=h,S=e(0),C=null,w=g,T=_,E=v,D=null,O=t(k);function k(){var e,t,m=+s.apply(this,arguments),h=+x.apply(this,arguments),g=w.apply(this,arguments)-r,_=T.apply(this,arguments)-r,v=l(_-g),k=_>g;if(D||=e=O(),h<m&&(t=h,h=m,m=t),!(h>1e-12))D.moveTo(0,0);else if(v>c-1e-12)D.moveTo(h*u(g),h*a(g)),D.arc(0,0,h,g,_,!k),m>1e-12&&(D.moveTo(m*u(_),m*a(_)),D.arc(0,0,m,_,g,k));else{var A=g,j=_,M=g,N=_,P=v,F=v,I=E.apply(this,arguments)/2,L=I>1e-12&&(C?+C.apply(this,arguments):d(m*m+h*h)),R=p(l(h-m)/2,+S.apply(this,arguments)),z=R,B=R,V,H;if(L>1e-12){var U=o(L/m*a(I)),W=o(L/h*a(I));(P-=U*2)>1e-12?(U*=k?1:-1,M+=U,N-=U):(P=0,M=N=(g+_)/2),(F-=W*2)>1e-12?(W*=k?1:-1,A+=W,j-=W):(F=0,A=j=(g+_)/2)}var G=h*u(A),K=h*a(A),q=m*u(N),J=m*a(N);if(R>1e-12){var Y=h*u(j),X=h*a(j),Z=m*u(M),Q=m*a(M),$;if(v<i)if($=y(G,K,Z,Q,Y,X,q,J)){var ee=G-$[0],te=K-$[1],ne=Y-$[0],re=X-$[1],ie=1/a(f((ee*ne+te*re)/(d(ee*ee+te*te)*d(ne*ne+re*re)))/2),ae=d($[0]*$[0]+$[1]*$[1]);z=p(R,(m-ae)/(ie-1)),B=p(R,(h-ae)/(ie+1))}else z=B=0}F>1e-12?B>1e-12?(V=b(Z,Q,G,K,h,B,k),H=b(Y,X,q,J,h,B,k),D.moveTo(V.cx+V.x01,V.cy+V.y01),B<R?D.arc(V.cx,V.cy,B,n(V.y01,V.x01),n(H.y01,H.x01),!k):(D.arc(V.cx,V.cy,B,n(V.y01,V.x01),n(V.y11,V.x11),!k),D.arc(0,0,h,n(V.cy+V.y11,V.cx+V.x11),n(H.cy+H.y11,H.cx+H.x11),!k),D.arc(H.cx,H.cy,B,n(H.y11,H.x11),n(H.y01,H.x01),!k))):(D.moveTo(G,K),D.arc(0,0,h,A,j,!k)):D.moveTo(G,K),!(m>1e-12)||!(P>1e-12)?D.lineTo(q,J):z>1e-12?(V=b(q,J,Y,X,m,-z,k),H=b(G,K,Z,Q,m,-z,k),D.lineTo(V.cx+V.x01,V.cy+V.y01),z<R?D.arc(V.cx,V.cy,z,n(V.y01,V.x01),n(H.y01,H.x01),!k):(D.arc(V.cx,V.cy,z,n(V.y01,V.x01),n(V.y11,V.x11),!k),D.arc(0,0,m,n(V.cy+V.y11,V.cx+V.x11),n(H.cy+H.y11,H.cx+H.x11),k),D.arc(H.cx,H.cy,z,n(H.y11,H.x11),n(H.y01,H.x01),!k))):D.arc(0,0,m,N,M,k)}if(D.closePath(),e)return D=null,e+``||null}return k.centroid=function(){var e=(+s.apply(this,arguments)+ +x.apply(this,arguments))/2,t=(+w.apply(this,arguments)+ +T.apply(this,arguments))/2-i/2;return[u(t)*e,a(t)*e]},k.innerRadius=function(t){return arguments.length?(s=typeof t==`function`?t:e(+t),k):s},k.outerRadius=function(t){return arguments.length?(x=typeof t==`function`?t:e(+t),k):x},k.cornerRadius=function(t){return arguments.length?(S=typeof t==`function`?t:e(+t),k):S},k.padRadius=function(t){return arguments.length?(C=t==null?null:typeof t==`function`?t:e(+t),k):C},k.startAngle=function(t){return arguments.length?(w=typeof t==`function`?t:e(+t),k):w},k.endAngle=function(t){return arguments.length?(T=typeof t==`function`?t:e(+t),k):T},k.padAngle=function(t){return arguments.length?(E=typeof t==`function`?t:e(+t),k):E},k.context=function(e){return arguments.length?(D=e??null,k):D},k}export{x as t};
|
||||
1
assets/chunks/architecture-TIHT7OUA.CS5PpevF.js
Normal file
1
assets/chunks/architecture-TIHT7OUA.CS5PpevF.js
Normal file
@@ -0,0 +1 @@
|
||||
import"./chunk-KEIR6QF5.Dj-OpFgW.js";import{M as e}from"./mermaid-parser.core.N9eEiD5y.js";export{e as createArchitectureServices};
|
||||
36
assets/chunks/architectureDiagram-ZJ3FMSHR.DD0CSZ6h.js
Normal file
36
assets/chunks/architectureDiagram-ZJ3FMSHR.DD0CSZ6h.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/chunks/array.BifhSqXX.js
Normal file
1
assets/chunks/array.BifhSqXX.js
Normal file
@@ -0,0 +1 @@
|
||||
Array.prototype.slice;function e(e){return typeof e==`object`&&`length`in e?e:Array.from(e)}export{e as t};
|
||||
132
assets/chunks/blockDiagram-677ZJIJ3.eWSCKJAj.js
Normal file
132
assets/chunks/blockDiagram-677ZJIJ3.eWSCKJAj.js
Normal file
File diff suppressed because one or more lines are too long
10
assets/chunks/c4Diagram-LMCZKHZV.CKOOargj.js
Normal file
10
assets/chunks/c4Diagram-LMCZKHZV.CKOOargj.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/chunks/channel.CzEkJUUF.js
Normal file
1
assets/chunks/channel.CzEkJUUF.js
Normal file
@@ -0,0 +1 @@
|
||||
import{at as e,ot as t}from"./chunk-WYO6CB5R.Bq018eTN.js";var n=(n,r)=>t.lang.round(e.parse(n)[r]);export{n as t};
|
||||
1
assets/chunks/chunk-2Q5K7J3B.BsaEqoYJ.js
Normal file
1
assets/chunks/chunk-2Q5K7J3B.BsaEqoYJ.js
Normal file
@@ -0,0 +1 @@
|
||||
import{n as e}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";var t=class{constructor(e){this.init=e,this.records=this.init()}static{e(this,`ImperativeState`)}reset(){this.records=this.init()}};export{t};
|
||||
1
assets/chunks/chunk-32BRIVSS.BJCOds76.js
Normal file
1
assets/chunks/chunk-32BRIVSS.BJCOds76.js
Normal file
@@ -0,0 +1 @@
|
||||
import{p as e}from"./src.OgxTg4hg.js";import{n as t}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";import{j as n}from"./chunk-WYO6CB5R.Bq018eTN.js";import{t as r}from"./dist.Bk8Utk0H.js";var i=r(),a=t((e,t)=>{let n=e.append(`rect`);if(n.attr(`x`,t.x),n.attr(`y`,t.y),n.attr(`fill`,t.fill),n.attr(`stroke`,t.stroke),n.attr(`width`,t.width),n.attr(`height`,t.height),t.name&&n.attr(`name`,t.name),t.rx&&n.attr(`rx`,t.rx),t.ry&&n.attr(`ry`,t.ry),t.attrs!==void 0)for(let e in t.attrs)n.attr(e,t.attrs[e]);return t.class&&n.attr(`class`,t.class),n},`drawRect`),o=t((e,t)=>{a(e,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:`rect`}).lower()},`drawBackgroundRect`),s=t((e,t)=>{let r=t.text.replace(n,` `),i=e.append(`text`);i.attr(`x`,t.x),i.attr(`y`,t.y),i.attr(`class`,`legend`),i.style(`text-anchor`,t.anchor),t.class&&i.attr(`class`,t.class);let a=i.append(`tspan`);return a.attr(`x`,t.x+t.textMargin*2),a.text(r),i},`drawText`),c=t((e,t,n,r)=>{let a=e.append(`image`);a.attr(`x`,t),a.attr(`y`,n);let o=(0,i.sanitizeUrl)(r);a.attr(`xlink:href`,o)},`drawImage`),l=t((e,t,n,r)=>{let a=e.append(`use`);a.attr(`x`,t),a.attr(`y`,n);let o=(0,i.sanitizeUrl)(r);a.attr(`xlink:href`,`#${o}`)},`drawEmbeddedImage`),u=t(()=>({x:0,y:0,width:100,height:100,fill:`#EDF2AE`,stroke:`#666`,anchor:`start`,rx:0,ry:0}),`getNoteRect`),d=t(()=>({x:0,y:0,width:100,height:100,"text-anchor":`start`,style:`#666`,textMargin:0,rx:0,ry:0,tspan:!0}),`getTextObj`),f=t(()=>{let t=e(`.mermaidTooltip`);return t.empty()&&(t=e(`body`).append(`div`).attr(`class`,`mermaidTooltip`).style(`opacity`,0).style(`position`,`absolute`).style(`text-align`,`center`).style(`max-width`,`200px`).style(`padding`,`2px`).style(`font-size`,`12px`).style(`background`,`#ffffde`).style(`border`,`1px solid #333`).style(`border-radius`,`2px`).style(`pointer-events`,`none`).style(`z-index`,`100`)),t},`createTooltip`);export{a,d as c,c as i,o as n,s as o,l as r,u as s,f as t};
|
||||
10
assets/chunks/chunk-52WLFC77.BhMPMxf0.js
Normal file
10
assets/chunks/chunk-52WLFC77.BhMPMxf0.js
Normal file
File diff suppressed because one or more lines are too long
15
assets/chunks/chunk-5VM5RSS4.TOl2eSYi.js
Normal file
15
assets/chunks/chunk-5VM5RSS4.TOl2eSYi.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import{n as e}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";var t=e(()=>`
|
||||
/* Font Awesome icon styling - consolidated */
|
||||
.label-icon {
|
||||
display: inline-block;
|
||||
height: 1em;
|
||||
overflow: visible;
|
||||
vertical-align: -0.125em;
|
||||
}
|
||||
|
||||
.node .label-icon path {
|
||||
fill: currentColor;
|
||||
stroke: revert;
|
||||
stroke-width: revert;
|
||||
}
|
||||
`,`getIconStyles`);export{t};
|
||||
1
assets/chunks/chunk-7BUUIJ7U.CAhmNhj7.js
Normal file
1
assets/chunks/chunk-7BUUIJ7U.CAhmNhj7.js
Normal file
@@ -0,0 +1 @@
|
||||
import{n as e}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";var t=e((e,t)=>{if(t)return`translate(`+-e.width/2+`, `+-e.height/2+`)`;let n=e.x??0,r=e.y??0;return`translate(`+-(n+e.width/2)+`, `+-(r+e.height/2)+`)`},`computeLabelTransform`),n={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4,arrow_barb:0,arrow_barb_neo:5.5},r={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5};function i(e,t){if(e===void 0||t===void 0)return{angle:0,deltaX:0,deltaY:0};e=a(e),t=a(t);let[n,r]=[e.x,e.y],[i,o]=[t.x,t.y],s=i-n,c=o-r;return{angle:Math.atan(c/s),deltaX:s,deltaY:c}}e(i,`calculateDeltaAndAngle`);var a=e(e=>Array.isArray(e)?{x:e[0],y:e[1]}:e,`pointTransformer`),o=e(t=>({x:e(function(e,r,o){let s=0,c=a(o[0]).x<a(o[o.length-1]).x?`left`:`right`;if(r===0&&Object.hasOwn(n,t.arrowTypeStart)){let{angle:e,deltaX:r}=i(o[0],o[1]);s=n[t.arrowTypeStart]*Math.cos(e)*(r>=0?1:-1)}else if(r===o.length-1&&Object.hasOwn(n,t.arrowTypeEnd)){let{angle:e,deltaX:r}=i(o[o.length-1],o[o.length-2]);s=n[t.arrowTypeEnd]*Math.cos(e)*(r>=0?1:-1)}let l=Math.abs(a(e).x-a(o[o.length-1]).x),u=Math.abs(a(e).y-a(o[o.length-1]).y),d=Math.abs(a(e).x-a(o[0]).x),f=Math.abs(a(e).y-a(o[0]).y),p=n[t.arrowTypeStart],m=n[t.arrowTypeEnd];if(l<m&&l>0&&u<m){let e=m+1-l;e*=c===`right`?-1:1,s-=e}if(d<p&&d>0&&f<p){let e=p+1-d;e*=c===`right`?-1:1,s+=e}return a(e).x+s},`x`),y:e(function(e,r,o){let s=0,c=a(o[0]).y<a(o[o.length-1]).y?`down`:`up`;if(r===0&&Object.hasOwn(n,t.arrowTypeStart)){let{angle:e,deltaY:r}=i(o[0],o[1]);s=n[t.arrowTypeStart]*Math.abs(Math.sin(e))*(r>=0?1:-1)}else if(r===o.length-1&&Object.hasOwn(n,t.arrowTypeEnd)){let{angle:e,deltaY:r}=i(o[o.length-1],o[o.length-2]);s=n[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(r>=0?1:-1)}let l=Math.abs(a(e).y-a(o[o.length-1]).y),u=Math.abs(a(e).x-a(o[o.length-1]).x),d=Math.abs(a(e).y-a(o[0]).y),f=Math.abs(a(e).x-a(o[0]).x),p=n[t.arrowTypeStart],m=n[t.arrowTypeEnd];if(l<m&&l>0&&u<m){let e=m+1-l;e*=c===`up`?-1:1,s-=e}if(d<p&&d>0&&f<p){let e=p+1-d;e*=c===`up`?-1:1,s+=e}return a(e).y+s},`y`)}),`getLineFunctionsWithOffset`);export{r as i,o as n,n as r,t};
|
||||
1
assets/chunks/chunk-C7G6YPKG.E3ngv4Wc.js
Normal file
1
assets/chunks/chunk-C7G6YPKG.E3ngv4Wc.js
Normal file
@@ -0,0 +1 @@
|
||||
import{n as e}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";import{x as t}from"./chunk-WYO6CB5R.Bq018eTN.js";var n=e(e=>{let{handDrawnSeed:n}=t();return{fill:e,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:e,seed:n}},`solidStateFill`),r=e(e=>{let t=i([...e.cssCompiledStyles||[],...e.cssStyles||[],...e.labelStyle||[]]);return{stylesMap:t,stylesArray:[...t]}},`compileStyles`),i=e(e=>{let t=new Map;return e.forEach(e=>{let[n,r]=e.split(`:`);t.set(n.trim(),r?.trim())}),t},`styles2Map`),a=e(e=>e===`color`||e===`font-size`||e===`font-family`||e===`font-weight`||e===`font-style`||e===`text-decoration`||e===`text-align`||e===`text-transform`||e===`line-height`||e===`letter-spacing`||e===`word-spacing`||e===`text-shadow`||e===`text-overflow`||e===`white-space`||e===`word-wrap`||e===`word-break`||e===`overflow-wrap`||e===`hyphens`,`isLabelStyle`),o=e(e=>{let{stylesArray:t}=r(e),n=[],i=[],o=[],s=[];return t.forEach(e=>{let t=e[0];a(t)?n.push(e.join(`:`)+` !important`):(i.push(e.join(`:`)+` !important`),t.includes(`stroke`)&&o.push(e.join(`:`)+` !important`),t===`fill`&&s.push(e.join(`:`)+` !important`))}),{labelStyles:n.join(`;`),nodeStyles:i.join(`;`),stylesArray:t,borderStyles:o,backgroundStyles:s}},`styles2String`),s=e((e,n)=>{let{themeVariables:i,handDrawnSeed:a}=t(),{nodeBorder:o,mainBkg:s}=i,{stylesMap:l}=r(e);return Object.assign({roughness:.7,fill:l.get(`fill`)||s,fillStyle:`hachure`,fillWeight:4,hachureGap:5.2,stroke:l.get(`stroke`)||o,seed:a,strokeWidth:l.get(`stroke-width`)?.replace(`px`,``)||1.3,fillLineDash:[0,0],strokeLineDash:c(l.get(`stroke-dasharray`))},n)},`userNodeOverrides`),c=e(e=>{if(!e)return[0,0];let t=e.trim().split(/\s+/).map(Number);if(t.length===1){let e=isNaN(t[0])?0:t[0];return[e,e]}return[isNaN(t[0])?0:t[0],isNaN(t[1])?0:t[1]]},`getStrokeDashArray`);export{s as a,o as i,a as n,n as r,r as t};
|
||||
231
assets/chunks/chunk-EX3LRPZG.H6XmX-zn.js
Normal file
231
assets/chunks/chunk-EX3LRPZG.H6XmX-zn.js
Normal file
File diff suppressed because one or more lines are too long
2
assets/chunks/chunk-FWX5IMBZ.CQvCzj0M.js
Normal file
2
assets/chunks/chunk-FWX5IMBZ.CQvCzj0M.js
Normal file
@@ -0,0 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/dagre-VKFMJZFB.DPFHYI3o.js","assets/chunks/src.OgxTg4hg.js","assets/chunks/chunk-Y2CYZVJY.DsF7k-Jl.js","assets/chunks/chunk-WYO6CB5R.Bq018eTN.js","assets/chunks/framework.DrNIf5Lg.js","assets/chunks/chunk-ICXQ74PX.CHLqHIum.js","assets/chunks/dist.Bk8Utk0H.js","assets/chunks/chunk-HOUHSVGY.CdijRtwJ.js","assets/chunks/chunk-Q4XR5HBZ.4OOalI9b.js","assets/chunks/chunk-7BUUIJ7U.CAhmNhj7.js","assets/chunks/chunk-OGEWGWER.CAu18ldV.js","assets/chunks/graphlib.DS17s2tU.js","assets/chunks/dagre.C7mmcaIT.js","assets/chunks/map.DWGJ5h2_.js","assets/chunks/chunk-RYQCIY6F.ClwB5JGD.js","assets/chunks/chunk-C7G6YPKG.E3ngv4Wc.js","assets/chunks/chunk-ZGVPDNZ5.Lt-0Vx2a.js","assets/chunks/rough.esm.CSKSodPl.js","assets/chunks/chunk-52WLFC77.BhMPMxf0.js","assets/chunks/line.kOFLlnSD.js","assets/chunks/path.BWPyau1x.js","assets/chunks/array.BifhSqXX.js","assets/chunks/swimlanes-5IMT3BWC.CEGCrF-z.js","assets/chunks/cose-bilkent-JH36ORCC.K_1FGsqf.js","assets/chunks/cytoscape.esm.CQFVGiJu.js"])))=>i.map(i=>d[i]);
|
||||
import{m as e}from"./src.OgxTg4hg.js";import{o as t}from"./framework.DrNIf5Lg.js";import{n}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";import{b as r,s as i}from"./chunk-WYO6CB5R.Bq018eTN.js";import{d as a}from"./chunk-ICXQ74PX.CHLqHIum.js";import{a as o,i as s,s as c}from"./chunk-ZGVPDNZ5.Lt-0Vx2a.js";import{a as l,i as u,o as d,r as f}from"./chunk-52WLFC77.BhMPMxf0.js";var p={common:i,getConfig:r,insertCluster:s,insertEdge:f,insertEdgeLabel:u,insertMarkers:l,insertNode:o,interpolateToCurve:a,labelHelper:c,log:e,positionEdgeLabel:d},m={},h=n(e=>{for(let t of e)m[t.name]=t},`registerLayoutLoaders`);n(()=>{h([{name:`dagre`,loader:n(async()=>await t(()=>import(`./dagre-VKFMJZFB.DPFHYI3o.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21])),`loader`)},{name:`swimlane`,loader:n(async()=>await t(()=>import(`./swimlanes-5IMT3BWC.CEGCrF-z.js`),__vite__mapDeps([22,1,2,4,3,5,6,7,8,9,10,11,14,13,15,16,17,18,19,20,21])),`loader`)},{name:`cose-bilkent`,loader:n(async()=>await t(()=>import(`./cose-bilkent-JH36ORCC.K_1FGsqf.js`),__vite__mapDeps([23,1,2,24])),`loader`)}])},`registerDefaultLayoutLoaders`)();var g=n(async(e,t,n)=>{if(!(e.layoutAlgorithm in m))throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(let t of e.nodes){let n=t.domId||t.id;t.domId=`${e.diagramId}-${n}`}let r=m[e.layoutAlgorithm],i=await r.loader(),{theme:a,themeVariables:o}=e.config,{useGradient:s,gradientStart:c,gradientStop:l}=o,u=t.attr(`id`);if(t.append(`defs`).append(`filter`).attr(`id`,`${u}-drop-shadow`).attr(`height`,`130%`).attr(`width`,`130%`).append(`feDropShadow`).attr(`dx`,`4`).attr(`dy`,`4`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${a?.includes(`dark`)?`#FFFFFF`:`#000000`}`),t.append(`defs`).append(`filter`).attr(`id`,`${u}-drop-shadow-small`).attr(`height`,`150%`).attr(`width`,`150%`).append(`feDropShadow`).attr(`dx`,`2`).attr(`dy`,`2`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,`${a?.includes(`dark`)?`#FFFFFF`:`#000000`}`),s){let e=t.append(`linearGradient`).attr(`id`,t.attr(`id`)+`-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);e.append(`svg:stop`).attr(`offset`,`0%`).attr(`stop-color`,c).attr(`stop-opacity`,1),e.append(`svg:stop`).attr(`offset`,`100%`).attr(`stop-color`,l).attr(`stop-opacity`,1)}return i.render(e,t,p,{algorithm:r.algorithm},n)},`render`),_=n((t=``,{fallback:n=`dagre`}={})=>{if(t in m)return t;if(n in m)return e.warn(`Layout algorithm ${t} is not registered. Using ${n} as fallback.`),n;throw Error(`Both layout algorithms ${t} and ${n} are not registered.`)},`getRegisteredLayoutAlgorithm`);export{h as n,g as r,_ as t};
|
||||
1
assets/chunks/chunk-HOUHSVGY.CdijRtwJ.js
Normal file
1
assets/chunks/chunk-HOUHSVGY.CdijRtwJ.js
Normal file
File diff suppressed because one or more lines are too long
2
assets/chunks/chunk-ICXQ74PX.CHLqHIum.js
Normal file
2
assets/chunks/chunk-ICXQ74PX.CHLqHIum.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/chunks/chunk-JWPE2WC7.A3RzWITa.js
Normal file
1
assets/chunks/chunk-JWPE2WC7.A3RzWITa.js
Normal file
@@ -0,0 +1 @@
|
||||
import{n as e}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";function t(e,t){e.accDescr&&t.setAccDescription?.(e.accDescr),e.accTitle&&t.setAccTitle?.(e.accTitle),e.title&&t.setDiagramTitle?.(e.title)}e(t,`populateCommonDb`);export{t};
|
||||
161
assets/chunks/chunk-KEIR6QF5.Dj-OpFgW.js
Normal file
161
assets/chunks/chunk-KEIR6QF5.Dj-OpFgW.js
Normal file
File diff suppressed because one or more lines are too long
88
assets/chunks/chunk-MOJQB5TN.S5IX9-r8.js
Normal file
88
assets/chunks/chunk-MOJQB5TN.S5IX9-r8.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/chunks/chunk-OGEWGWER.CAu18ldV.js
Normal file
1
assets/chunks/chunk-OGEWGWER.CAu18ldV.js
Normal file
@@ -0,0 +1 @@
|
||||
import{n as e}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";import{f as t,x as n}from"./chunk-WYO6CB5R.Bq018eTN.js";import{p as r}from"./chunk-ICXQ74PX.CHLqHIum.js";var i=e(({flowchart:e})=>{let t=e?.subGraphTitleMargin?.top??0,n=e?.subGraphTitleMargin?.bottom??0;return{subGraphTitleTopMargin:t,subGraphTitleBottomMargin:n,subGraphTitleTotalMargin:t+n}},`getSubGraphTitleMargins`);async function a(i,a){let o=i.getElementsByTagName(`img`);if(!o||o.length===0)return;let s=a.replace(/<img[^>]*>/g,``).trim()===``;await Promise.all([...o].map(i=>new Promise(a=>{function o(){if(i.style.display=`flex`,i.style.flexDirection=`column`,s){let[e=t.fontSize]=r(n().fontSize?n().fontSize:window.getComputedStyle(document.body).fontSize),a=e*5+`px`;i.style.minWidth=a,i.style.maxWidth=a}else i.style.width=`100%`;a(i)}e(o,`setupImage`),setTimeout(()=>{i.complete&&o()}),i.addEventListener(`error`,o),i.addEventListener(`load`,o)})))}e(a,`configureLabelImages`);export{i as n,a as t};
|
||||
156
assets/chunks/chunk-PUDLZKDR.TiF02Tlo.js
Normal file
156
assets/chunks/chunk-PUDLZKDR.TiF02Tlo.js
Normal file
File diff suppressed because one or more lines are too long
70
assets/chunks/chunk-Q4XR5HBZ.4OOalI9b.js
Normal file
70
assets/chunks/chunk-Q4XR5HBZ.4OOalI9b.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/chunks/chunk-RYQCIY6F.ClwB5JGD.js
Normal file
1
assets/chunks/chunk-RYQCIY6F.ClwB5JGD.js
Normal file
File diff suppressed because one or more lines are too long
206
assets/chunks/chunk-V7JOEXUC.BtMwPWzH.js
Normal file
206
assets/chunks/chunk-V7JOEXUC.BtMwPWzH.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/chunks/chunk-VAUOI2AC.B8koBSma.js
Normal file
1
assets/chunks/chunk-VAUOI2AC.B8koBSma.js
Normal file
@@ -0,0 +1 @@
|
||||
import{p as e}from"./src.OgxTg4hg.js";import{n as t}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";import{x as n}from"./chunk-WYO6CB5R.Bq018eTN.js";var r=t(t=>{let{securityLevel:r}=n(),i=e(`body`);return r===`sandbox`&&(i=e((e(`#i${t}`).node()?.contentDocument??document).body)),i.select(`#${t}`)},`selectSvgElement`);export{r as t};
|
||||
1
assets/chunks/chunk-VR4S4FIN.04wthxBu.js
Normal file
1
assets/chunks/chunk-VR4S4FIN.04wthxBu.js
Normal file
@@ -0,0 +1 @@
|
||||
import{m as e}from"./src.OgxTg4hg.js";import{n as t}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";import{c as n}from"./chunk-WYO6CB5R.Bq018eTN.js";var r=t((t,r,o,s)=>{t.attr(`class`,o);let{width:c,height:l,x:u,y:d}=i(t,r);n(t,l,c,s);let f=a(u,d,c,l,r);t.attr(`viewBox`,f),e.debug(`viewBox configured: ${f} with padding: ${r}`)},`setupViewPortForSVG`),i=t((e,t)=>{let n=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:n.width+t*2,height:n.height+t*2,x:n.x,y:n.y}},`calculateDimensionsWithPadding`),a=t((e,t,n,r,i)=>`${e-i} ${t-i} ${n} ${r}`,`createViewBox`);export{r as t};
|
||||
127
assets/chunks/chunk-WYO6CB5R.Bq018eTN.js
Normal file
127
assets/chunks/chunk-WYO6CB5R.Bq018eTN.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/chunks/chunk-XXDRQBXY.B0iYp7hA.js
Normal file
1
assets/chunks/chunk-XXDRQBXY.B0iYp7hA.js
Normal file
@@ -0,0 +1 @@
|
||||
import{p as e}from"./src.OgxTg4hg.js";import{n as t}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";var n=t((t,n)=>{let r;return n===`sandbox`&&(r=e(`#i`+t)),e(n===`sandbox`?r.nodes()[0].contentDocument.body:`body`).select(`[id="${t}"]`)},`getDiagramElement`);export{n as t};
|
||||
1
assets/chunks/chunk-Y2CYZVJY.DsF7k-Jl.js
Normal file
1
assets/chunks/chunk-Y2CYZVJY.DsF7k-Jl.js
Normal file
@@ -0,0 +1 @@
|
||||
var e=Object.defineProperty,t=(t,n)=>e(t,`name`,{value:n,configurable:!0}),n=(t,n)=>{for(var r in n)e(t,r,{get:n[r],enumerable:!0})};export{t as n,n as t};
|
||||
62
assets/chunks/chunk-ZGVPDNZ5.Lt-0Vx2a.js
Normal file
62
assets/chunks/chunk-ZGVPDNZ5.Lt-0Vx2a.js
Normal file
File diff suppressed because one or more lines are too long
32
assets/chunks/chunk-ZIRB5QZD.Dh20_f-h.js
Normal file
32
assets/chunks/chunk-ZIRB5QZD.Dh20_f-h.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/chunks/classDiagram-OUVF2IWQ.B1a0p1ZI.js
Normal file
1
assets/chunks/classDiagram-OUVF2IWQ.B1a0p1ZI.js
Normal file
@@ -0,0 +1 @@
|
||||
import"./src.OgxTg4hg.js";import{n as e}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";import"./chunk-WYO6CB5R.Bq018eTN.js";import"./chunk-ICXQ74PX.CHLqHIum.js";import"./chunk-HOUHSVGY.CdijRtwJ.js";import"./chunk-Q4XR5HBZ.4OOalI9b.js";import"./chunk-7BUUIJ7U.CAhmNhj7.js";import"./chunk-OGEWGWER.CAu18ldV.js";import"./chunk-32BRIVSS.BJCOds76.js";import"./chunk-XXDRQBXY.B0iYp7hA.js";import"./chunk-VR4S4FIN.04wthxBu.js";import"./chunk-C7G6YPKG.E3ngv4Wc.js";import"./chunk-ZGVPDNZ5.Lt-0Vx2a.js";import"./chunk-52WLFC77.BhMPMxf0.js";import"./chunk-FWX5IMBZ.CQvCzj0M.js";import{i as t,n,r,t as i}from"./chunk-V7JOEXUC.BtMwPWzH.js";var a={parser:n,get db(){return new i},renderer:r,styles:t,init:e(e=>{e.class||={},e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},`init`)};export{a as diagram};
|
||||
1
assets/chunks/classDiagram-v2-EOCWNBFH.B1a0p1ZI.js
Normal file
1
assets/chunks/classDiagram-v2-EOCWNBFH.B1a0p1ZI.js
Normal file
@@ -0,0 +1 @@
|
||||
import"./src.OgxTg4hg.js";import{n as e}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";import"./chunk-WYO6CB5R.Bq018eTN.js";import"./chunk-ICXQ74PX.CHLqHIum.js";import"./chunk-HOUHSVGY.CdijRtwJ.js";import"./chunk-Q4XR5HBZ.4OOalI9b.js";import"./chunk-7BUUIJ7U.CAhmNhj7.js";import"./chunk-OGEWGWER.CAu18ldV.js";import"./chunk-32BRIVSS.BJCOds76.js";import"./chunk-XXDRQBXY.B0iYp7hA.js";import"./chunk-VR4S4FIN.04wthxBu.js";import"./chunk-C7G6YPKG.E3ngv4Wc.js";import"./chunk-ZGVPDNZ5.Lt-0Vx2a.js";import"./chunk-52WLFC77.BhMPMxf0.js";import"./chunk-FWX5IMBZ.CQvCzj0M.js";import{i as t,n,r,t as i}from"./chunk-V7JOEXUC.BtMwPWzH.js";var a={parser:n,get db(){return new i},renderer:r,styles:t,init:e(e=>{e.class||={},e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},`init`)};export{a as diagram};
|
||||
1
assets/chunks/cose-bilkent-JH36ORCC.K_1FGsqf.js
Normal file
1
assets/chunks/cose-bilkent-JH36ORCC.K_1FGsqf.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/chunks/cynefin-VYW2F7L2.DfLDR-j-.js
Normal file
1
assets/chunks/cynefin-VYW2F7L2.DfLDR-j-.js
Normal file
@@ -0,0 +1 @@
|
||||
import"./chunk-KEIR6QF5.Dj-OpFgW.js";import{A as e}from"./mermaid-parser.core.N9eEiD5y.js";export{e as createCynefinServices};
|
||||
62
assets/chunks/cynefinDiagram-TSTJHNR4.Cb9GUoA4.js
Normal file
62
assets/chunks/cynefinDiagram-TSTJHNR4.Cb9GUoA4.js
Normal file
File diff suppressed because one or more lines are too long
321
assets/chunks/cytoscape.esm.CQFVGiJu.js
Normal file
321
assets/chunks/cytoscape.esm.CQFVGiJu.js
Normal file
File diff suppressed because one or more lines are too long
4
assets/chunks/dagre-VKFMJZFB.DPFHYI3o.js
Normal file
4
assets/chunks/dagre-VKFMJZFB.DPFHYI3o.js
Normal file
@@ -0,0 +1,4 @@
|
||||
import{m as e}from"./src.OgxTg4hg.js";import{n as t}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";import{x as n}from"./chunk-WYO6CB5R.Bq018eTN.js";import"./chunk-ICXQ74PX.CHLqHIum.js";import"./chunk-HOUHSVGY.CdijRtwJ.js";import"./chunk-Q4XR5HBZ.4OOalI9b.js";import"./chunk-7BUUIJ7U.CAhmNhj7.js";import{n as r}from"./chunk-OGEWGWER.CAu18ldV.js";import{t as i}from"./graphlib.DS17s2tU.js";import{t as a}from"./dagre.C7mmcaIT.js";import{a as o,i as s,n as c,o as l,r as u,t as d}from"./chunk-RYQCIY6F.ClwB5JGD.js";import"./chunk-C7G6YPKG.E3ngv4Wc.js";import{a as f,c as p,i as m,l as h,n as g,t as _,u as v}from"./chunk-ZGVPDNZ5.Lt-0Vx2a.js";import{a as y,i as b,o as x,r as S,t as C}from"./chunk-52WLFC77.BhMPMxf0.js";var w=t((e,t,n)=>Math.max(t,Math.min(n,e)),`clamp`),T=t((e=`TB`)=>{switch(e){case`BT`:return`bottom`;case`LR`:return`right`;case`RL`:return`left`;default:return`top`}},`getDefaultSelfLoopSide`),E=t(e=>e===`flowchart`||e===`flowchart-v2`||e===`stateDiagram`,`shouldMergeSelfLoopSegments`),D=t((e,t,n,r,i)=>{let a=[],o=new Set;if(n.forEach(({start:e,end:t})=>{e!==r&&o.add(e),t!==r&&o.add(t)}),o.forEach(t=>{let n=e.node(t);typeof n?.x==`number`&&typeof n?.y==`number`&&a.push(n)}),a.length===0&&n.forEach(({edge:e})=>{(e.points??[]).forEach(e=>{typeof e?.x==`number`&&typeof e?.y==`number`&&a.push(e)})}),a.length===0)return T(i);let s=a.reduce((e,t)=>({x:e.x+t.x/a.length,y:e.y+t.y/a.length}),{x:0,y:0}),c=s.x-t.x,l=s.y-t.y;return Math.abs(c)>Math.abs(l)?c>0?`right`:`left`:Math.abs(l)>0?l>0?`bottom`:`top`:T(i)},`getSelfLoopSide`),O=t((e,t=`top`,n=0,r=0)=>{let i=e.x,a=e.y-n,o=e.width/2,s=e.height/2,c=Math.max(36,Math.min(100,e.width*.8)),l=w(Math.max(r,e.width*.35),36,c),u=w(Math.min(e.width,e.height)*.45,24,48);switch(t){case`bottom`:{let e=a+s;return[{x:i-l/2,y:e},{x:i-l/2,y:e+u},{x:i+l/2,y:e+u},{x:i+l/2,y:e}]}case`right`:{let e=i+o;return[{x:e,y:a-l/2},{x:e+u,y:a-l/2},{x:e+u,y:a+l/2},{x:e,y:a+l/2}]}case`left`:{let e=i-o;return[{x:e,y:a-l/2},{x:e-u,y:a-l/2},{x:e-u,y:a+l/2},{x:e,y:a+l/2}]}default:{let e=a-s;return[{x:i-l/2,y:e},{x:i-l/2,y:e-u},{x:i+l/2,y:e-u},{x:i+l/2,y:e}]}}},`getSelfLoopPoints`),k=t((e,t,n=`top`,r=0,i={})=>{let a=e.x,o=e.y-r,s=i.width??0,c=i.height??0;switch(n){case`bottom`:return{x:a,y:Math.max(...t.map(e=>e.y))+c/2+4};case`right`:return{x:Math.max(...t.map(e=>e.x))+s/2+4,y:o};case`left`:return{x:Math.min(...t.map(e=>e.x))-s/2-4,y:o};default:return{x:a,y:Math.min(...t.map(e=>e.y))-c/2-4}}},`getSelfLoopLabelPosition`),A=t((e,t=0,{mergeSelfLoops:n=!0}={})=>{let r=new Map,i=[],a=e.graph()?.rankdir;return e.edges().forEach(t=>{let a=e.edge(t);if(n&&a.selfLoop){let e=a.selfLoop.id;r.has(e)||r.set(e,[]),r.get(e).push({edge:a,start:t.v,end:t.w})}else i.push({edge:a,start:t.v,end:t.w})}),r.forEach(n=>{if(n.length!==3){n.forEach(e=>i.push(e));return}n.sort((e,t)=>e.edge.selfLoop.order-t.edge.selfLoop.order);let[r,o,s]=n,c=r.edge.originalEdge??o.edge.originalEdge??s.edge.originalEdge??o.edge,l=e.node(c.start);if(!l){n.forEach(e=>i.push(e));return}let u={width:o.edge.width,height:o.edge.height},d=D(e,l,n,c.start,a),f=O(l,d,t,u.width??0),p=k(l,f,d,t,u),m={...o.edge,...c,id:c.id,points:f,start:c.start,end:c.end,x:p.x,y:p.y,width:u.width,height:u.height,labelStyle:o.edge.labelStyle,fromCluster:r.edge.fromCluster??o.edge.fromCluster??s.edge.fromCluster,toCluster:r.edge.toCluster??o.edge.toCluster??s.edge.toCluster};delete m.selfLoop,delete m.originalEdge,i.push({edge:m,start:m.start,end:m.end})}),i},`getEdgesToRender`),j=t(async(n,i,c,d,g,_)=>{e.warn(`Graph in recursive render:XAX`,l(i),g);let y=i.graph().rankdir;e.trace(`Dir in recursive render - dir:`,y);let C=n.insert(`g`).attr(`class`,`root`);i.nodes()?e.info(`Recursive render XXX`,i.nodes()):e.info(`No nodes found for`,i),i.edges().length>0&&e.info(`Recursive edges`,i.edge(i.edges()[0]));let w=C.insert(`g`).attr(`class`,`clusters`),T=C.insert(`g`).attr(`class`,`edgePaths`),D=C.insert(`g`).attr(`class`,`edgeLabels`),O=C.insert(`g`).attr(`class`,`nodes`),k=E(c);await Promise.all(i.nodes().map(async function(t){let n=i.node(t);if(g!==void 0){let n=JSON.parse(JSON.stringify(g.clusterData));e.trace(`Setting data for parent cluster XXX
|
||||
Node.id = `,t,`
|
||||
data=`,n.height,`
|
||||
Parent cluster`,g.height),i.setNode(g.id,n),i.parent(t)||(e.trace(`Setting parent`,t,g.id),i.setParent(t,g.id,n))}if(e.info(`(Insert) Node XXX`+t+`: `+JSON.stringify(i.node(t))),n?.clusterNode){e.info(`Cluster identified XBX`,t,n.width,i.node(t));let{ranksep:r,nodesep:a}=i.graph();n.graph.setGraph({...n.graph.graph(),ranksep:r+25,nodesep:a});let o=await j(O,n.graph,c,d,i.node(t),_),s=o.elem;v(n,s),n.diff=o.diff||0,e.info(`New compound node after recursive render XAX`,t,`width`,n.width,`height`,n.height),h(s,n)}else i.children(t).length>0?(e.trace(`Cluster - the non recursive path XBX`,t,n.id,n,n.width,`Graph:`,i),e.trace(s(n.id,i)),u.set(n.id,{id:s(n.id,i),node:n})):(e.trace(`Node - the non recursive path XAX`,t,O,i.node(t),y),await f(O,i.node(t),{config:_,dir:y}))})),await t(async()=>{let t=i.edges().map(async function(t){let n=i.edge(t.v,t.w,t.name);if(e.info(`Edge `+t.v+` -> `+t.w+`: `+JSON.stringify(t)),e.info(`Edge `+t.v+` -> `+t.w+`: `,t,` `,JSON.stringify(i.edge(t))),e.info(`Fix`,u,`ids:`,t.v,t.w,`Translating: `,u.get(t.v),u.get(t.w)),k&&n.selfLoop){if(n.selfLoop.order!==1)return;let e=n.id;n.id=n.selfLoop.id,await b(D,n),n.id=e;return}await b(D,n)});await Promise.all(t)},`processEdges`)(),e.info(`Graph before layout:`,JSON.stringify(l(i))),e.info(`############################################# XXX`),e.info(`### Layout ### XXX`),e.info(`############################################# XXX`),a(i),e.info(`Graph after layout:`,JSON.stringify(l(i)));let M=0,{subGraphTitleTotalMargin:N}=r(_);await Promise.all(o(i).map(async function(t){let n=i.node(t);if(e.info(`Position XBX => `+t+`: (`+n.x,`,`+n.y,`) width: `,n.width,` height: `,n.height),n?.clusterNode)n.y+=N,e.info(`A tainted cluster node XBX1`,t,n.id,n.width,n.height,n.x,n.y,i.parent(t)),u.get(n.id).node=n,p(n);else if(i.children(t).length>0){e.info(`A pure cluster node XBX1`,t,n.id,n.x,n.y,n.width,n.height,i.parent(t)),n.height+=N,i.node(n.parentId);let r=n?.padding/2||0,a=n?.labelBBox?.height||0,o=a-r||0;e.debug(`OffsetY`,o,`labelHeight`,a,`halfPadding`,r),await m(w,n),u.get(n.id).node=n}else{let t=i.node(n.parentId);n.y+=N/2,e.info(`A regular node XBX1 - using the padding`,n.id,`parent`,n.parentId,n.width,n.height,n.x,n.y,`offsetY`,n.offsetY,`parent`,t,t?.offsetY,n),p(n)}}));let P=N/2;return A(i,P,{mergeSelfLoops:k}).forEach(function({edge:t,start:n,end:r}){e.info(`Edge `+n+` -> `+r+`: `+JSON.stringify(t),t),t.points.forEach(e=>e.y+=P);let a=i.node(n),o=i.node(r);x(t,S(T,t,u,c,a,o,d))}),i.nodes().forEach(function(t){let n=i.node(t);e.info(t,n.type,n.diff),n.isGroup&&(M=n.diff)}),e.warn(`Returning from recursive render XAX`,C,M),{elem:C,diff:M}},`recursiveRender`),M=t(async(t,r)=>{let a=new i({multigraph:!0,compound:!0}).setGraph({rankdir:t.direction,nodesep:t.config?.nodeSpacing||t.config?.flowchart?.nodeSpacing||t.nodeSpacing,ranksep:t.config?.rankSpacing||t.config?.flowchart?.rankSpacing||t.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),o=r.select(`g`);y(o,t.markers,t.type,t.diagramId),g(),C(),_(),c(),t.nodes.forEach(e=>{a.setNode(e.id,{...e}),e.parentId&&a.setParent(e.id,e.parentId)}),e.debug(`Edges:`,t.edges),t.edges.forEach(e=>{if(e.start===e.end){let t=e.start,n=t+`---`+t+`---1`,r=t+`---`+t+`---2`,i=a.node(t);a.setNode(n,{domId:n,id:n,parentId:i.parentId,labelStyle:``,label:``,padding:0,shape:`labelRect`,style:``,width:10,height:10}),a.setParent(n,i.parentId),a.setNode(r,{domId:r,id:r,parentId:i.parentId,labelStyle:``,padding:0,shape:`labelRect`,label:``,style:``,width:10,height:10}),a.setParent(r,i.parentId);let o=structuredClone(e),s=structuredClone(e),c=structuredClone(e),l=structuredClone(e);s.originalEdge=o,s.selfLoop={id:o.id,order:0},c.originalEdge=o,c.selfLoop={id:o.id,order:1},l.originalEdge=o,l.selfLoop={id:o.id,order:2},s.label=``,s.arrowTypeEnd=`none`,s.endLabelLeft=``,s.endLabelRight=``,s.startLabelLeft=``,s.id=t+`-cyclic-special-1`,c.startLabelRight=``,c.startLabelLeft=``,c.endLabelLeft=``,c.endLabelRight=``,c.arrowTypeStart=`none`,c.arrowTypeEnd=`none`,c.id=t+`-cyclic-special-mid`,l.label=``,l.startLabelRight=``,l.startLabelLeft=``,l.arrowTypeStart=`none`,i.isGroup&&(s.fromCluster=t,l.toCluster=t),l.id=t+`-cyclic-special-2`,l.arrowTypeStart=`none`,a.setEdge(t,n,s,t+`-cyclic-special-0`),a.setEdge(n,r,c,t+`-cyclic-special-1`),a.setEdge(r,t,l,t+`-cyclic-special-2`)}else a.setEdge(e.start,e.end,{...e},e.id)}),e.warn(`Graph at first:`,JSON.stringify(l(a))),d(a),e.warn(`Graph after XAX:`,JSON.stringify(l(a)));let s=n();await j(o,a,t.type,t.diagramId,void 0,s)},`render`);export{A as getEdgesToRender,M as render};
|
||||
1
assets/chunks/dagre.C7mmcaIT.js
Normal file
1
assets/chunks/dagre.C7mmcaIT.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/chunks/defaultLocale.C8Fc0cco.js
Normal file
1
assets/chunks/defaultLocale.C8Fc0cco.js
Normal file
@@ -0,0 +1 @@
|
||||
function e(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString(`en`).replace(/,/g,``):e.toString(10)}function t(e,t){if(!isFinite(e)||e===0)return null;var n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf(`e`),r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function n(e){return e=t(Math.abs(e)),e?e[1]:NaN}function r(e,t){return function(n,r){for(var i=n.length,a=[],o=0,s=e[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),a.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function i(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}var a=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function o(e){if(!(t=a.exec(e)))throw Error(`invalid format: `+e);var t;return new s({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}o.prototype=s.prototype;function s(e){this.fill=e.fill===void 0?` `:e.fill+``,this.align=e.align===void 0?`>`:e.align+``,this.sign=e.sign===void 0?`-`:e.sign+``,this.symbol=e.symbol===void 0?``:e.symbol+``,this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?``:e.type+``}s.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?`0`:``)+(this.width===void 0?``:Math.max(1,this.width|0))+(this.comma?`,`:``)+(this.precision===void 0?``:`.`+Math.max(0,this.precision|0))+(this.trim?`~`:``)+this.type};function c(e){out:for(var t=e.length,n=1,r=-1,i;n<t;++n)switch(e[n]){case`.`:r=i=n;break;case`0`:r===0&&(r=n),i=n;break;default:if(!+e[n])break out;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var l;function u(e,n){var r=t(e,n);if(!r)return l=void 0,e.toPrecision(n);var i=r[0],a=r[1],o=a-(l=Math.max(-8,Math.min(8,Math.floor(a/3)))*3)+1,s=i.length;return o===s?i:o>s?i+Array(o-s+1).join(`0`):o>0?i.slice(0,o)+`.`+i.slice(o):`0.`+Array(1-o).join(`0`)+t(e,Math.max(0,n+o-1))[0]}function d(e,n){var r=t(e,n);if(!r)return e+``;var i=r[0],a=r[1];return a<0?`0.`+Array(-a).join(`0`)+i:i.length>a+1?i.slice(0,a+1)+`.`+i.slice(a+1):i+Array(a-i.length+2).join(`0`)}var f={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+``,d:e,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>d(e*100,t),r:d,s:u,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function p(e){return e}var m=Array.prototype.map,h=[`y`,`z`,`a`,`f`,`p`,`n`,`µ`,`m`,``,`k`,`M`,`G`,`T`,`P`,`E`,`Z`,`Y`];function g(e){var t=e.grouping===void 0||e.thousands===void 0?p:r(m.call(e.grouping,Number),e.thousands+``),a=e.currency===void 0?``:e.currency[0]+``,s=e.currency===void 0?``:e.currency[1]+``,u=e.decimal===void 0?`.`:e.decimal+``,d=e.numerals===void 0?p:i(m.call(e.numerals,String)),g=e.percent===void 0?`%`:e.percent+``,_=e.minus===void 0?`−`:e.minus+``,v=e.nan===void 0?`NaN`:e.nan+``;function y(e,n){e=o(e);var r=e.fill,i=e.align,p=e.sign,m=e.symbol,y=e.zero,b=e.width,x=e.comma,S=e.precision,C=e.trim,w=e.type;w===`n`?(x=!0,w=`g`):f[w]||(S===void 0&&(S=12),C=!0,w=`g`),(y||r===`0`&&i===`=`)&&(y=!0,r=`0`,i=`=`);var T=(n&&n.prefix!==void 0?n.prefix:``)+(m===`$`?a:m===`#`&&/[boxX]/.test(w)?`0`+w.toLowerCase():``),E=(m===`$`?s:/[%p]/.test(w)?g:``)+(n&&n.suffix!==void 0?n.suffix:``),D=f[w],O=/[defgprs%]/.test(w);S=S===void 0?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,S)):Math.max(0,Math.min(20,S));function k(e){var n=T,a=E,o,s,f;if(w===`c`)a=D(e)+a,e=``;else{e=+e;var m=e<0||1/e<0;if(e=isNaN(e)?v:D(Math.abs(e),S),C&&(e=c(e)),m&&+e==0&&p!==`+`&&(m=!1),n=(m?p===`(`?p:_:p===`-`||p===`(`?``:p)+n,a=(w===`s`&&!isNaN(e)&&l!==void 0?h[8+l/3]:``)+a+(m&&p===`(`?`)`:``),O){for(o=-1,s=e.length;++o<s;)if(f=e.charCodeAt(o),48>f||f>57){a=(f===46?u+e.slice(o+1):e.slice(o))+a,e=e.slice(0,o);break}}}x&&!y&&(e=t(e,1/0));var g=n.length+e.length+a.length,k=g<b?Array(b-g+1).join(r):``;switch(x&&y&&(e=t(k+e,k.length?b-a.length:1/0),k=``),i){case`<`:e=n+e+a+k;break;case`=`:e=n+k+e+a;break;case`^`:e=k.slice(0,g=k.length>>1)+n+e+a+k.slice(g);break;default:e=k+n+e+a;break}return d(e)}return k.toString=function(){return e+``},k}function b(e,t){var r=Math.max(-8,Math.min(8,Math.floor(n(t)/3)))*3,i=10**-r,a=y((e=o(e),e.type=`f`,e),{suffix:h[8+r/3]});return function(e){return a(i*e)}}return{format:y,formatPrefix:b}}var _,v,y;b({thousands:`,`,grouping:[3],currency:[`$`,``]});function b(e){return _=g(e),v=_.format,y=_.formatPrefix,_}export{n as i,y as n,o as r,v as t};
|
||||
3
assets/chunks/diagram-FQU43EPY.B-MLkFie.js
Normal file
3
assets/chunks/diagram-FQU43EPY.B-MLkFie.js
Normal file
File diff suppressed because one or more lines are too long
24
assets/chunks/diagram-G47NLZAW.CisKnqau.js
Normal file
24
assets/chunks/diagram-G47NLZAW.CisKnqau.js
Normal file
File diff suppressed because one or more lines are too long
24
assets/chunks/diagram-NH7WQ7WH.DedPssH3.js
Normal file
24
assets/chunks/diagram-NH7WQ7WH.DedPssH3.js
Normal file
@@ -0,0 +1,24 @@
|
||||
import{m as e}from"./src.OgxTg4hg.js";import{n as t}from"./mermaid-parser.core.N9eEiD5y.js";import{n}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";import{H as r,K as i,U as a,a as o,b as s,c,f as l,v as u,w as d,y as f}from"./chunk-WYO6CB5R.Bq018eTN.js";import{i as p}from"./chunk-ICXQ74PX.CHLqHIum.js";import{t as m}from"./chunk-VAUOI2AC.B8koBSma.js";import{t as h}from"./chunk-JWPE2WC7.A3RzWITa.js";var g=l.packet,_=class{constructor(){this.packet=[],this.setAccTitle=a,this.getAccTitle=f,this.setDiagramTitle=i,this.getDiagramTitle=d,this.getAccDescription=u,this.setAccDescription=r}static{n(this,`PacketDB`)}getConfig(){let e=p({...g,...s().packet});return e.showBits&&(e.paddingY+=10),e}getPacket(){return this.packet}pushWord(e){e.length>0&&this.packet.push(e)}clear(){o(),this.packet=[]}},v=1e4,y=n((t,n)=>{h(t,n);let r=-1,i=[],a=1,{bitsPerRow:o}=n.getConfig();for(let{start:s,end:c,bits:l,label:u}of t.blocks){if(s!==void 0&&c!==void 0&&c<s)throw Error(`Packet block ${s} - ${c} is invalid. End must be greater than start.`);if(s??=r+1,s!==r+1)throw Error(`Packet block ${s} - ${c??s} is not contiguous. It should start from ${r+1}.`);if(l===0)throw Error(`Packet block ${s} is invalid. Cannot have a zero bit field.`);for(c??=s+(l??1)-1,l??=c-s+1,r=c,e.debug(`Packet block ${s} - ${r} with label ${u}`);i.length<=o+1&&n.getPacket().length<v;){let[e,t]=b({start:s,end:c,bits:l,label:u},a,o);if(i.push(e),e.end+1===a*o&&(n.pushWord(i),i=[],a++),!t)break;({start:s,end:c,bits:l,label:u}=t)}}n.pushWord(i)},`populate`),b=n((e,t,n)=>{if(e.start===void 0)throw Error(`start should have been set during first phase`);if(e.end===void 0)throw Error(`end should have been set during first phase`);if(e.start>e.end)throw Error(`Block start ${e.start} is greater than block end ${e.end}.`);if(e.end+1<=t*n)return[e,void 0];let r=t*n-1,i=t*n;return[{start:e.start,end:r,label:e.label,bits:r-e.start},{start:i,end:e.end,label:e.label,bits:e.end-i}]},`getNextFittingBlock`),x={parser:{yy:void 0},parse:n(async n=>{let r=await t(`packet`,n),i=x.parser?.yy;if(!(i instanceof _))throw Error(`parser.parser?.yy was not a PacketDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.`);e.debug(r),y(r,i)},`parse`)},S=n((e,t,n,r)=>{let i=r.db,a=i.getConfig(),{rowHeight:o,paddingY:s,bitWidth:l,bitsPerRow:u}=a,d=i.getPacket(),f=i.getDiagramTitle(),p=o+s,h=p*(d.length+1)-(f?0:o),g=l*u+2,_=m(t);_.attr(`viewBox`,`0 0 ${g} ${h}`),c(_,h,g,a.useMaxWidth);for(let[e,t]of d.entries())C(_,t,e,a);_.append(`text`).text(f).attr(`x`,g/2).attr(`y`,h-p/2).attr(`dominant-baseline`,`middle`).attr(`text-anchor`,`middle`).attr(`class`,`packetTitle`)},`draw`),C=n((e,t,n,{rowHeight:r,paddingX:i,paddingY:a,bitWidth:o,bitsPerRow:s,showBits:c})=>{let l=e.append(`g`),u=n*(r+a)+a;for(let e of t){let t=e.start%s*o+1,n=(e.end-e.start+1)*o-i;if(l.append(`rect`).attr(`x`,t).attr(`y`,u).attr(`width`,n).attr(`height`,r).attr(`class`,`packetBlock`),l.append(`text`).attr(`x`,t+n/2).attr(`y`,u+r/2).attr(`class`,`packetLabel`).attr(`dominant-baseline`,`middle`).attr(`text-anchor`,`middle`).text(e.label),!c)continue;let a=e.end===e.start,d=u-2;l.append(`text`).attr(`x`,t+(a?n/2:0)).attr(`y`,d).attr(`class`,`packetByte start`).attr(`dominant-baseline`,`auto`).attr(`text-anchor`,a?`middle`:`start`).text(e.start),a||l.append(`text`).attr(`x`,t+n).attr(`y`,d).attr(`class`,`packetByte end`).attr(`dominant-baseline`,`auto`).attr(`text-anchor`,`end`).text(e.end)}},`drawWord`),w={draw:S},T={byteFontSize:`10px`,startByteColor:`black`,endByteColor:`black`,labelColor:`black`,labelFontSize:`12px`,titleColor:`black`,titleFontSize:`14px`,blockStrokeColor:`black`,blockStrokeWidth:`1`,blockFillColor:`#efefef`},E={parser:x,get db(){return new _},renderer:w,styles:n(({packet:e}={})=>{let t=p(T,e);return`
|
||||
.packetByte {
|
||||
font-size: ${t.byteFontSize};
|
||||
}
|
||||
.packetByte.start {
|
||||
fill: ${t.startByteColor};
|
||||
}
|
||||
.packetByte.end {
|
||||
fill: ${t.endByteColor};
|
||||
}
|
||||
.packetLabel {
|
||||
fill: ${t.labelColor};
|
||||
font-size: ${t.labelFontSize};
|
||||
}
|
||||
.packetTitle {
|
||||
fill: ${t.titleColor};
|
||||
font-size: ${t.titleFontSize};
|
||||
}
|
||||
.packetBlock {
|
||||
stroke: ${t.blockStrokeColor};
|
||||
stroke-width: ${t.blockStrokeWidth};
|
||||
fill: ${t.blockFillColor};
|
||||
}
|
||||
`},`styles`)};export{E as diagram};
|
||||
30
assets/chunks/diagram-OA4YK3LP.B0ZE8BIv.js
Normal file
30
assets/chunks/diagram-OA4YK3LP.B0ZE8BIv.js
Normal file
@@ -0,0 +1,30 @@
|
||||
import{m as e}from"./src.OgxTg4hg.js";import{n as t}from"./mermaid-parser.core.N9eEiD5y.js";import{n}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";import{H as r,K as i,U as a,a as o,b as s,c,f as l,v as u,w as d,y as f,z as p}from"./chunk-WYO6CB5R.Bq018eTN.js";import{i as m}from"./chunk-ICXQ74PX.CHLqHIum.js";import{t as h}from"./chunk-VAUOI2AC.B8koBSma.js";import{t as g}from"./chunk-JWPE2WC7.A3RzWITa.js";import{r as _,t as v}from"./chunk-HOUHSVGY.CdijRtwJ.js";import{t as y}from"./chunk-2Q5K7J3B.BsaEqoYJ.js";var b=/[─━│┃└┗├┣]/,x=/[└┗├┣]/,S=/[─━]/,C=/^[\s│┃]+$/,w=/^\s*(title[\t ]|accTitle[\t ]*:|accDescr[\t ]*[:{])/,T=/^\s*%%/,E=` `;function D(e){return e.some(e=>b.test(e))}n(D,`isBoxDrawingFormat`);function O(e){for(let t of e){let e=x.exec(t);if(e?.index&&e.index>0)return e.index}return 4}n(O,`inferSegmentWidth`);function k(e,t){return e.replace(/\bline\s+(\d+)\b/gi,(e,n)=>{let r=parseInt(n,10),i=t.get(r);return i?`line ${i}`:e})}n(k,`remapErrorLines`);function A(e){let t=e.split(`
|
||||
`),n=new Map,r=-1;for(let[e,n]of t.entries())if(n.trim()===`treeView-beta`){r=e;break}if(r===-1)return{text:e,lineMap:n};let i=[];for(let e=r+1;e<t.length;e++){let n=t[e];n.trim()===``||T.test(n)||w.test(n)||C.test(n)||i.push(n.replace(/\t/g,` `))}if(!D(i))return{text:e,lineMap:n};let a=O(i),o=[],s=0;for(let e=0;e<=r;e++)o.push(t[e]),s++,n.set(s,e+1);for(let e=r+1;e<t.length;e++){let r=t[e],i=r.trim(),c=e+1;if(i===``){o.push(r),s++,n.set(s,c);continue}if(T.test(r)){o.push(r),s++,n.set(s,c);continue}if(w.test(r)){o.push(r),s++,n.set(s,c);continue}if(C.test(r))continue;let l=r.replace(/\t/g,` `),u=x.exec(l);if(u?.index!==void 0){let e=u.index,t=Math.round(e/a)+1,r=e+1;for(;r<l.length&&S.test(l[r]);)r++;for(;r<l.length&&l[r]===` `;)r++;let i=l.slice(r).trimEnd();if(!i)throw Error(`Line ${c}: Empty node \u2014 expected a filename or directory name after the box-drawing prefix`);let d=E.repeat(t);o.push(d+i),s++,n.set(s,c)}else if(/^[\s─━│┃└┗├┣]+$/.test(l))continue;else if(b.test(l))o.push(r),s++,n.set(s,c);else if(/^\s+/.test(l))throw Error(`Line ${c}: Unexpected indentation without box-drawing characters. In box-drawing format, use \u251C\u2500\u2500 or \u2514\u2500\u2500 prefixes for indented nodes.`);else o.push(r),s++,n.set(s,c)}return{text:o.join(`
|
||||
`),lineMap:n}}n(A,`preprocessBoxDrawing`);var j=new y(()=>({cnt:1,stack:[{id:0,level:-1,name:`/`,nodeType:`directory`,children:[]}]})),M=n(()=>{j.reset(),o()},`clear`),N=n(()=>j.records.stack[0],`getRoot`),P=n(()=>j.records.cnt,`getCount`),F=l.treeView,I={clear:M,addNode:n((e,t,n,r,i,a)=>{for(;e<=j.records.stack[j.records.stack.length-1].level;)j.records.stack.pop();let o={id:j.records.cnt++,level:e,name:t,nodeType:n,icon:i,cssClass:r,description:a,children:[]};j.records.stack[j.records.stack.length-1].children.push(o),j.records.stack.push(o)},`addNode`),getRoot:N,getCount:P,getConfig:n(()=>m(F,s().treeView),`getConfig`),getAccTitle:f,getAccDescription:u,getDiagramTitle:d,setAccDescription:r,setAccTitle:a,setDiagramTitle:i},L=n(e=>{g(e,I);for(let t of e.nodes){let e=typeof t.indent==`number`?t.indent:0,n=t.name,r=n.endsWith(`/`);r&&(n=n.slice(0,-1));let i=r?`directory`:`file`,a=t.classAnnotation||void 0,o=t.iconAnnotation,c=o===void 0?void 0:o||`none`,l=t.descAnnotation||void 0,u=l?p(l,s()):void 0;I.addNode(e,n,i,a,c,u)}},`populate`),R={parse:n(async n=>{let{text:r,lineMap:i}=A(n);try{let n=await t(`treeView`,r);e.debug(n),L(n)}catch(e){throw i.size>0&&e instanceof Error&&(e.message=k(e.message,i)),e}},`parse`)},z={prefix:`mermaid-treeview`,height:24,width:24,icons:{folder:{body:`<path fill="currentColor" d="M10.59 4.59A2 2 0 0 0 9.17 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.17z"/>`},file:{body:`<path fill="currentColor" fill-rule="evenodd" d="M6 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8.83a2 2 0 0 0-.59-1.42l-4.82-4.82A2 2 0 0 0 13.17 2H6Zm7.5 1.9l4.6 4.6h-3.6a1 1 0 0 1-1-1V3.9Z" clip-rule="evenodd"/>`}}};function B(e,t){let n=t?.filenameIcons?.[e];if(n)return n;let r=e.lastIndexOf(`.`);if(r>0){let n=e.substring(r).toLowerCase(),i=t?.extensionIcons;return i?.[n]??i?.[n.slice(1)]}}n(B,`detectIcon`);function V(e,t){return e.includes(`:`)?e:e in z.icons||!t?`${z.prefix}:${e}`:`${t}:${e}`}n(V,`qualifyIcon`);function H(e,t){if(e.icon!==`none`){if(e.icon)return V(e.icon,t.defaultIconPack);if(t.showIcons){if(e.nodeType===`file`){let n=B(e.name,t);if(n===`none`)return;if(n)return V(n,t.defaultIconPack)}return`${z.prefix}:${e.nodeType===`directory`?`folder`:`file`}`}}}n(H,`getNodeIcon`),_([{name:z.prefix,icons:z}]);var U=14,W=4,G=16,K=n((e,t)=>`tv-icon-${e}-${t.replace(/[^\w-]/g,`-`)}`,`iconSymbolId`),q=n(async(e,t,r,i)=>{let a=new Set,o=n(e=>{let t=H(e,r);t&&a.add(t),e.children.forEach(o)},`collect`);if(o(t),a.size===0)return;let s=await Promise.all([...a].map(async e=>({icon:e,svg:await v(e,{height:U,width:U})}))),c=e.append(`defs`);for(let{icon:e,svg:t}of s)c.append(`g`).attr(`id`,K(i,e)).html(t)},`injectIconDefs`),J=n((e,t,n,r,i,a)=>{let o=r.append(`g`),s=`treeView-node-label`;n.nodeType===`directory`&&(s+=` treeView-node-dir`),n.cssClass&&(s+=` ${n.cssClass}`);let c=U+W,l=H(n,i),u=l!==void 0;l&&o.append(`use`).attr(`xlink:href`,`#${K(a,l)}`).attr(`x`,e+i.paddingX).attr(`y`,t+i.paddingY).attr(`class`,`treeView-node-icon`);let d=o.append(`text`).text(n.name).attr(`dominant-baseline`,`middle`).attr(`class`,s),{height:f,width:p}=d.node().getBBox(),m=f+i.paddingY*2,h=e+i.paddingX+(u?c:0);d.attr(`x`,h),d.attr(`y`,t+m/2);let g=h+p;return n.BBox={x:e,y:t,width:p+i.paddingX*2+(u?c:0),height:m},n.cssClass?.split(/\s+/).includes(`highlight`)&&o.insert(`rect`,`:first-child`).attr(`x`,e).attr(`y`,t+1).attr(`width`,0).attr(`height`,m-2).attr(`rx`,3).attr(`class`,`treeView-highlight-bg`),{node:n,nodeGroup:o,labelRightEdge:g,centerY:t+m/2}},`positionLabel`),Y=n((e,t,n,r,i,a)=>e.append(`line`).attr(`x1`,t).attr(`y1`,n).attr(`x2`,r).attr(`y2`,i).attr(`stroke-width`,a).attr(`class`,`treeView-node-line`),`positionLine`),X=n((e,t,r,i)=>{let a=0,o=0,s=[],c=n((e,t,n,r)=>{let c=r*(n.rowIndent+n.paddingX),l=J(c,a,t,e,n,i);s.push(l);let{height:u,width:d}=t.BBox;Y(e,c-n.rowIndent,a+u/2,c,a+u/2,n.lineThickness),o=Math.max(o,c+d),a+=u},`drawNode`),l=n((t,n=0)=>{c(e,t,r,n),t.children.forEach(e=>{l(e,n+1)});let{x:i,y:a,height:o}=t.BBox;if(t.children.length){let{y:n,height:s}=t.children[t.children.length-1].BBox;Y(e,i+r.paddingX,a+o,i+r.paddingX,n+s/2+r.lineThickness/2,r.lineThickness)}},`processNode`);l(t);let u=s.filter(e=>e.node.description);if(u.length>0){let e=Math.max(...s.map(e=>e.labelRightEdge))+G;for(let t of u){let n=t.nodeGroup.append(`text`).text(t.node.description).attr(`dominant-baseline`,`middle`).attr(`class`,`treeView-node-description`).attr(`x`,e).attr(`y`,t.centerY).node().getBBox();o=Math.max(o,e+n.width+r.paddingX)}}for(let e of s)if(e.node.cssClass?.split(/\s+/).includes(`highlight`)){let t=e.nodeGroup.select(`.treeView-highlight-bg`);if(!t.empty()){let n=o-e.node.BBox.x+8;t.attr(`width`,n),o=Math.max(o,e.node.BBox.x+n+2)}}return{totalHeight:a,totalWidth:o}},`drawTree`),Z={draw:n(async(t,n,r,i)=>{e.debug(`Rendering treeView diagram
|
||||
`+t);let a=i.db,o=a.getRoot(),s=a.getConfig(),l=h(n);await q(l,o,s,n);let u=l.append(`g`);u.attr(`class`,`tree-view`);let{totalHeight:d,totalWidth:f}=X(u,o,s,n);l.attr(`viewBox`,`-${s.lineThickness/2} 0 ${f} ${d}`),c(l,d,f,s.useMaxWidth)},`draw`)},Q={labelFontSize:`16px`,labelColor:`black`,lineColor:`black`,iconColor:`#546e7a`,descriptionColor:`#6a9955`,highlightBg:`rgba(255, 193, 7, 0.15)`,highlightStroke:`#ffc107`},$={db:I,renderer:Z,parser:R,styles:n(({treeView:e})=>{let{labelFontSize:t,labelColor:n,lineColor:r,iconColor:i,descriptionColor:a,highlightBg:o,highlightStroke:s}=m(Q,e);return`
|
||||
.treeView-node-label {
|
||||
font-size: ${t};
|
||||
fill: ${n};
|
||||
white-space: pre;
|
||||
}
|
||||
.treeView-node-dir {
|
||||
font-weight: bold;
|
||||
}
|
||||
.treeView-node-line {
|
||||
stroke: ${r};
|
||||
}
|
||||
.treeView-node-icon {
|
||||
color: ${i};
|
||||
}
|
||||
.treeView-node-description {
|
||||
font-size: ${t};
|
||||
fill: ${a};
|
||||
font-style: italic;
|
||||
white-space: pre;
|
||||
}
|
||||
.treeView-highlight-bg {
|
||||
fill: ${o};
|
||||
stroke: ${s};
|
||||
stroke-width: 1;
|
||||
}
|
||||
`},`styles`)};export{$ as diagram};
|
||||
41
assets/chunks/diagram-WEI45ONY.CvXCeafC.js
Normal file
41
assets/chunks/diagram-WEI45ONY.CvXCeafC.js
Normal file
@@ -0,0 +1,41 @@
|
||||
import{m as e}from"./src.OgxTg4hg.js";import{n as t}from"./mermaid-parser.core.N9eEiD5y.js";import{n}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";import{D as r,H as i,K as a,U as o,a as s,b as c,c as l,f as u,v as d,w as f,y as p}from"./chunk-WYO6CB5R.Bq018eTN.js";import{i as m}from"./chunk-ICXQ74PX.CHLqHIum.js";import{t as h}from"./chunk-VAUOI2AC.B8koBSma.js";import{t as g}from"./chunk-JWPE2WC7.A3RzWITa.js";var _={showLegend:!0,ticks:5,max:null,min:0,graticule:`circle`},v={axes:[],curves:[],options:_},y=structuredClone(v),b=u.radar,x=n(()=>m({...b,...c().radar}),`getConfig`),S=n(()=>y.axes,`getAxes`),C=n(()=>y.curves,`getCurves`),w=n(()=>y.options,`getOptions`),T=n(e=>{y.axes=e.map(e=>({name:e.name,label:e.label??e.name}))},`setAxes`),E=n(e=>{y.curves=e.map(e=>({name:e.name,label:e.label??e.name,entries:D(e.entries)}))},`setCurves`),D=n(e=>{if(e[0].axis==null)return e.map(e=>e.value);let t=S();if(t.length===0)throw Error(`Axes must be populated before curves for reference entries`);return t.map(t=>{let n=e.find(e=>e.axis?.$refText===t.name);if(n===void 0)throw Error(`Missing entry for axis `+t.label);return n.value})},`computeCurveEntries`),O={getAxes:S,getCurves:C,getOptions:w,setAxes:T,setCurves:E,setOptions:n(e=>{let t=e.reduce((e,t)=>(e[t.name]=t,e),{});y.options={showLegend:t.showLegend?.value??_.showLegend,ticks:t.ticks?.value??_.ticks,max:t.max?.value??_.max,min:t.min?.value??_.min,graticule:t.graticule?.value??_.graticule}},`setOptions`),getConfig:x,clear:n(()=>{s(),y=structuredClone(v)},`clear`),setAccTitle:o,getAccTitle:p,setDiagramTitle:a,getDiagramTitle:f,getAccDescription:d,setAccDescription:i},k=n(e=>{g(e,O);let{axes:t,curves:n,options:r}=e;O.setAxes(t),O.setCurves(n),O.setOptions(r)},`populate`),A={parse:n(async n=>{let r=await t(`radar`,n);e.debug(r),k(r)},`parse`)},j=n((e,t,n,r)=>{let i=r.db,a=i.getAxes(),o=i.getCurves(),s=i.getOptions(),c=i.getConfig(),l=i.getDiagramTitle(),u=M(h(t),c),d=s.max??Math.max(...o.map(e=>Math.max(...e.entries))),f=s.min,p=Math.min(c.width,c.height)/2;N(u,a,p,s.ticks,s.graticule),P(u,a,p,c),F(u,a,o,f,d,s.graticule,c),R(u,o,s.showLegend,c),u.append(`text`).attr(`class`,`radarTitle`).text(l).attr(`x`,0).attr(`y`,-c.height/2-c.marginTop)},`draw`),M=n((e,t)=>{let n=t.width+t.marginLeft+t.marginRight,r=t.height+t.marginTop+t.marginBottom,i={x:t.marginLeft+t.width/2,y:t.marginTop+t.height/2};return l(e,r,n,t.useMaxWidth??!0),e.attr(`viewBox`,`0 0 ${n} ${r}`).attr(`overflow`,`visible`),e.append(`g`).attr(`transform`,`translate(${i.x}, ${i.y})`)},`drawFrame`),N=n((e,t,n,r,i)=>{if(i===`circle`)for(let t=0;t<r;t++){let i=n*(t+1)/r;e.append(`circle`).attr(`r`,i).attr(`class`,`radarGraticule`)}else if(i===`polygon`){let i=t.length;for(let a=0;a<r;a++){let o=n*(a+1)/r,s=t.map((e,t)=>{let n=2*t*Math.PI/i-Math.PI/2;return`${o*Math.cos(n)},${o*Math.sin(n)}`}).join(` `);e.append(`polygon`).attr(`points`,s).attr(`class`,`radarGraticule`)}}},`drawGraticule`),P=n((e,t,n,r)=>{let i=t.length;for(let a=0;a<i;a++){let o=t[a].label,s=2*a*Math.PI/i-Math.PI/2,c=Math.cos(s),l=Math.sin(s);e.append(`line`).attr(`x1`,0).attr(`y1`,0).attr(`x2`,n*r.axisScaleFactor*c).attr(`y2`,n*r.axisScaleFactor*l).attr(`class`,`radarAxisLine`);let u=c>.01?`start`:c<-.01?`end`:`middle`,d=l>.01?`hanging`:l<-.01?`auto`:`central`;e.append(`text`).text(o).attr(`x`,n*r.axisLabelFactor*c+4*c).attr(`y`,n*r.axisLabelFactor*l+4*l).attr(`text-anchor`,u).attr(`dominant-baseline`,d).attr(`class`,`radarAxisLabel`)}},`drawAxes`);function F(e,t,n,r,i,a,o){let s=t.length,c=Math.min(o.width,o.height)/2;n.forEach((t,n)=>{if(t.entries.length!==s)return;let l=t.entries.map((e,t)=>{let n=2*Math.PI*t/s-Math.PI/2,a=I(e,r,i,c);return{x:a*Math.cos(n),y:a*Math.sin(n)}});a===`circle`?e.append(`path`).attr(`d`,L(l,o.curveTension)).attr(`class`,`radarCurve-${n}`):a===`polygon`&&e.append(`polygon`).attr(`points`,l.map(e=>`${e.x},${e.y}`).join(` `)).attr(`class`,`radarCurve-${n}`)})}n(F,`drawCurves`);function I(e,t,n,r){return r*(Math.min(Math.max(e,t),n)-t)/(n-t)}n(I,`relativeRadius`);function L(e,t){let n=e.length,r=`M${e[0].x},${e[0].y}`;for(let i=0;i<n;i++){let a=e[(i-1+n)%n],o=e[i],s=e[(i+1)%n],c=e[(i+2)%n],l={x:o.x+(s.x-a.x)*t,y:o.y+(s.y-a.y)*t},u={x:s.x-(c.x-o.x)*t,y:s.y-(c.y-o.y)*t};r+=` C${l.x},${l.y} ${u.x},${u.y} ${s.x},${s.y}`}return`${r} Z`}n(L,`closedRoundCurve`);function R(e,t,n,r){if(!n)return;let i=(r.width/2+r.marginRight)*3/4,a=-(r.height/2+r.marginTop)*3/4;t.forEach((t,n)=>{let r=e.append(`g`).attr(`transform`,`translate(${i}, ${a+n*20})`);r.append(`rect`).attr(`width`,12).attr(`height`,12).attr(`class`,`radarLegendBox-${n}`),r.append(`text`).attr(`x`,16).attr(`y`,0).attr(`class`,`radarLegendText`).text(t.label)})}n(R,`drawLegend`);var z={draw:j},B=n((e,t)=>{let n=``;for(let r=0;r<e.THEME_COLOR_LIMIT;r++){let i=e[`cScale${r}`];n+=`
|
||||
.radarCurve-${r} {
|
||||
color: ${i};
|
||||
fill: ${i};
|
||||
fill-opacity: ${t.curveOpacity};
|
||||
stroke: ${i};
|
||||
stroke-width: ${t.curveStrokeWidth};
|
||||
}
|
||||
.radarLegendBox-${r} {
|
||||
fill: ${i};
|
||||
fill-opacity: ${t.curveOpacity};
|
||||
stroke: ${i};
|
||||
}
|
||||
`}return n},`genIndexStyles`),V=n(e=>{let t=m(r(),c().themeVariables);return{themeVariables:t,radarOptions:m(t.radar,e)}},`buildRadarStyleOptions`),H={parser:A,db:O,renderer:z,styles:n(({radar:e}={})=>{let{themeVariables:t,radarOptions:n}=V(e);return`
|
||||
.radarTitle {
|
||||
font-size: ${t.fontSize};
|
||||
color: ${t.titleColor};
|
||||
dominant-baseline: hanging;
|
||||
text-anchor: middle;
|
||||
}
|
||||
.radarAxisLine {
|
||||
stroke: ${n.axisColor};
|
||||
stroke-width: ${n.axisStrokeWidth};
|
||||
}
|
||||
.radarAxisLabel {
|
||||
font-size: ${n.axisLabelFontSize}px;
|
||||
color: ${n.axisColor};
|
||||
}
|
||||
.radarGraticule {
|
||||
fill: ${n.graticuleColor};
|
||||
fill-opacity: ${n.graticuleOpacity};
|
||||
stroke: ${n.graticuleColor};
|
||||
stroke-width: ${n.graticuleStrokeWidth};
|
||||
}
|
||||
.radarLegendText {
|
||||
text-anchor: start;
|
||||
font-size: ${n.legendFontSize}px;
|
||||
dominant-baseline: hanging;
|
||||
}
|
||||
${B(t,n)}
|
||||
`},`styles`)};export{H as diagram};
|
||||
1
assets/chunks/dist.Bk8Utk0H.js
Normal file
1
assets/chunks/dist.Bk8Utk0H.js
Normal file
@@ -0,0 +1 @@
|
||||
import{_ as e}from"./src.OgxTg4hg.js";var t=Math.abs,n=Math.atan2,r=Math.cos,i=Math.max,a=Math.min,o=Math.sin,s=Math.sqrt,c=1e-12,l=Math.PI,u=l/2,d=2*l;function f(e){return e>1?0:e<-1?l:Math.acos(e)}function p(e){return e>=1?u:e<=-1?-u:Math.asin(e)}var m=e((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.BLANK_URL=e.relativeFirstCharacters=e.whitespaceEscapeCharsRegex=e.urlSchemeRegex=e.ctrlCharactersRegex=e.htmlCtrlEntityRegex=e.htmlEntitiesRegex=e.invalidProtocolRegex=void 0,e.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,e.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,e.htmlCtrlEntityRegex=/&(newline|tab);/gi,e.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,e.urlSchemeRegex=/^.+(:|:)/gim,e.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,e.relativeFirstCharacters=[`.`,`/`],e.BLANK_URL=`about:blank`})),h=e((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.sanitizeUrl=o;var t=m();function n(e){return t.relativeFirstCharacters.indexOf(e[0])>-1}function r(e){return e.replace(t.ctrlCharactersRegex,``).replace(t.htmlEntitiesRegex,function(e,t){return String.fromCharCode(t)})}function i(e){return URL.canParse(e)}function a(e){try{return decodeURIComponent(e)}catch{return e}}function o(e){if(!e)return t.BLANK_URL;var o,s=a(e.trim());do s=r(s).replace(t.htmlCtrlEntityRegex,``).replace(t.ctrlCharactersRegex,``).replace(t.whitespaceEscapeCharsRegex,``).trim(),s=a(s),o=s.match(t.ctrlCharactersRegex)||s.match(t.htmlEntitiesRegex)||s.match(t.htmlCtrlEntityRegex)||s.match(t.whitespaceEscapeCharsRegex);while(o&&o.length>0);var c=s;if(!c)return t.BLANK_URL;if(n(c))return c;var l=c.trimStart(),u=l.match(t.urlSchemeRegex);if(!u)return c;var d=u[0].toLowerCase().trim();if(t.invalidProtocolRegex.test(d))return t.BLANK_URL;var f=l.replace(/\\/g,`/`);if(d===`mailto:`||d.includes(`://`))return f;if(d===`http:`||d===`https:`){if(!i(f))return t.BLANK_URL;var p=new URL(f);return p.protocol=p.protocol.toLowerCase(),p.hostname=p.hostname.toLowerCase(),p.toString()}return f}}));export{n as a,u as c,l as d,o as f,p as i,i as l,d as m,t as n,r as o,s as p,f as r,c as s,h as t,a as u};
|
||||
1
assets/chunks/ebnfDiagram-CCIWWBDH.BHgqUbd7.js
Normal file
1
assets/chunks/ebnfDiagram-CCIWWBDH.BHgqUbd7.js
Normal file
@@ -0,0 +1 @@
|
||||
import{m as e}from"./src.OgxTg4hg.js";import{f as t,t as n}from"./mermaid-parser.core.N9eEiD5y.js";import{n as r}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";import"./chunk-WYO6CB5R.Bq018eTN.js";import"./chunk-VAUOI2AC.B8koBSma.js";import{n as i,r as a,t as o}from"./chunk-MOJQB5TN.S5IX9-r8.js";import{t as s}from"./chunk-JWPE2WC7.A3RzWITa.js";var c=t().RailroadEbnf.parser.LangiumParser,l=r(e=>{let t=e.alternatives.map(u);return t.length===1?t[0]:{type:`choice`,alternatives:t}},`transformChoice`),u=r(e=>{let t=e.elements.map(p);return t.length===1?t[0]:{type:`sequence`,elements:t}},`transformSequence`),d=r(e=>{switch(e.$type){case`EbnfTerminal`:return{type:`terminal`,value:e.value};case`EbnfNonTerminal`:return{type:`nonterminal`,name:e.name};case`EbnfSpecial`:return{type:`special`,text:e.text};case`EbnfGroup`:return l(e.element);case`EbnfOptional`:return{type:`optional`,element:l(e.element)};case`EbnfRepetition`:return{type:`repetition`,element:l(e.element),min:0,max:1/0};default:throw Error(`Unsupported EBNF primary node: ${e.$type}`)}},`transformPrimary`),f=r((e,t)=>{switch(t.$type){case`EbnfOptionalPostfix`:return{type:`optional`,element:e};case`EbnfZeroOrMorePostfix`:return{type:`repetition`,element:e,min:0,max:1/0};case`EbnfOneOrMorePostfix`:return{type:`repetition`,element:e,min:1,max:1/0};case`EbnfExceptionPostfix`:return{type:`sequence`,elements:[e,{type:`terminal`,value:`-`},d(t.except)]};default:throw Error(`Unsupported EBNF postfix node: ${t.$type}`)}},`transformPostfix`),p=r(e=>e.postfixes.reduce((e,t)=>f(e,t),d(e.base)),`transformTerm`),m=r(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),h=r(e=>{s(e,o),e.title&&o.setTitle(e.title),e.rules.map(e=>o.addRule(m(e)))},`populateDb`),g={parser:{parse:r(t=>{o.clear(),e.debug(`[EBNF Parser] Starting Langium parse`);let r=c.parse(t);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new n(r);let i=r.value;e.debug(`[EBNF Parser] Parsed rules:`,i.rules.length),h(i),e.debug(`[EBNF Parser] Parse complete`)},`parse`),parser:{yy:o}},db:o,renderer:a,styles:i};export{g as diagram};
|
||||
85
assets/chunks/erDiagram-Q63AITRT.0tlE3NhN.js
Normal file
85
assets/chunks/erDiagram-Q63AITRT.0tlE3NhN.js
Normal file
File diff suppressed because one or more lines are too long
103
assets/chunks/esm.CJCpmpiJ.js
Normal file
103
assets/chunks/esm.CJCpmpiJ.js
Normal file
File diff suppressed because one or more lines are too long
110
assets/chunks/esm.DLZGTa_Y.js
Normal file
110
assets/chunks/esm.DLZGTa_Y.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/chunks/eventmodeling-45OFAUF4.DFbjWZvr.js
Normal file
1
assets/chunks/eventmodeling-45OFAUF4.DFbjWZvr.js
Normal file
@@ -0,0 +1 @@
|
||||
import"./chunk-KEIR6QF5.Dj-OpFgW.js";import{O as e}from"./mermaid-parser.core.N9eEiD5y.js";export{e as createEventModelingServices};
|
||||
1
assets/chunks/extensions.data.jgJx1dMD.js
Normal file
1
assets/chunks/extensions.data.jgJx1dMD.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/chunks/flowDiagram-23GEKE2U.YoTaWhn_.js
Normal file
1
assets/chunks/flowDiagram-23GEKE2U.YoTaWhn_.js
Normal file
@@ -0,0 +1 @@
|
||||
import"./src.OgxTg4hg.js";import"./chunk-WYO6CB5R.Bq018eTN.js";import"./chunk-ICXQ74PX.CHLqHIum.js";import"./chunk-HOUHSVGY.CdijRtwJ.js";import"./chunk-Q4XR5HBZ.4OOalI9b.js";import"./chunk-7BUUIJ7U.CAhmNhj7.js";import"./chunk-OGEWGWER.CAu18ldV.js";import"./chunk-32BRIVSS.BJCOds76.js";import"./chunk-XXDRQBXY.B0iYp7hA.js";import"./chunk-VR4S4FIN.04wthxBu.js";import"./chunk-C7G6YPKG.E3ngv4Wc.js";import"./chunk-ZGVPDNZ5.Lt-0Vx2a.js";import"./chunk-52WLFC77.BhMPMxf0.js";import"./chunk-FWX5IMBZ.CQvCzj0M.js";import"./chunk-ZIRB5QZD.Dh20_f-h.js";import{n as e}from"./chunk-PUDLZKDR.TiF02Tlo.js";export{e as diagram};
|
||||
File diff suppressed because one or more lines are too long
3
assets/chunks/framework.DrNIf5Lg.js
Normal file
3
assets/chunks/framework.DrNIf5Lg.js
Normal file
File diff suppressed because one or more lines are too long
292
assets/chunks/ganttDiagram-NO4QXBWP.PvFAfbxU.js
Normal file
292
assets/chunks/ganttDiagram-NO4QXBWP.PvFAfbxU.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/chunks/gitGraph-TEB2WS4Q.Bjg2s8jD.js
Normal file
1
assets/chunks/gitGraph-TEB2WS4Q.Bjg2s8jD.js
Normal file
@@ -0,0 +1 @@
|
||||
import"./chunk-KEIR6QF5.Dj-OpFgW.js";import{E as e}from"./mermaid-parser.core.N9eEiD5y.js";export{e as createGitGraphServices};
|
||||
106
assets/chunks/gitGraphDiagram-IHSO6WYX.W3dl8410.js
Normal file
106
assets/chunks/gitGraphDiagram-IHSO6WYX.W3dl8410.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/chunks/graphlib.DS17s2tU.js
Normal file
1
assets/chunks/graphlib.DS17s2tU.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/chunks/info-DKCQHKI2.f_45Qx_9.js
Normal file
1
assets/chunks/info-DKCQHKI2.f_45Qx_9.js
Normal file
@@ -0,0 +1 @@
|
||||
import"./chunk-KEIR6QF5.Dj-OpFgW.js";import{w as e}from"./mermaid-parser.core.N9eEiD5y.js";export{e as createInfoServices};
|
||||
2
assets/chunks/infoDiagram-FWYZ7A6U.C9ToZD8i.js
Normal file
2
assets/chunks/infoDiagram-FWYZ7A6U.C9ToZD8i.js
Normal file
@@ -0,0 +1,2 @@
|
||||
import{m as e}from"./src.OgxTg4hg.js";import{n as t}from"./mermaid-parser.core.N9eEiD5y.js";import{n}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";import{c as r}from"./chunk-WYO6CB5R.Bq018eTN.js";import{t as i}from"./chunk-VAUOI2AC.B8koBSma.js";var a={parse:n(async n=>{let r=await t(`info`,n);e.debug(r)},`parse`)},o={version:`11.16.0`},s={parser:a,db:{getVersion:n(()=>o.version,`getVersion`)},renderer:{draw:n((t,n,a)=>{e.debug(`rendering info diagram
|
||||
`+t);let o=i(n);r(o,100,400,!0),o.append(`g`).append(`text`).attr(`x`,100).attr(`y`,40).attr(`class`,`version`).attr(`font-size`,32).style(`text-anchor`,`middle`).text(`v${a}`)},`draw`)}};export{s as diagram};
|
||||
1
assets/chunks/init.D6jRqBbL.js
Normal file
1
assets/chunks/init.D6jRqBbL.js
Normal file
@@ -0,0 +1 @@
|
||||
function e(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}export{e as t};
|
||||
70
assets/chunks/ishikawaDiagram-FXEZZL3T.Cvv91ivs.js
Normal file
70
assets/chunks/ishikawaDiagram-FXEZZL3T.Cvv91ivs.js
Normal file
File diff suppressed because one or more lines are too long
139
assets/chunks/journeyDiagram-5HDEW3XC.CfASL_SK.js
Normal file
139
assets/chunks/journeyDiagram-5HDEW3XC.CfASL_SK.js
Normal file
File diff suppressed because one or more lines are too long
89
assets/chunks/kanban-definition-HUTT4EX6.nQC7SImp.js
Normal file
89
assets/chunks/kanban-definition-HUTT4EX6.nQC7SImp.js
Normal file
File diff suppressed because one or more lines are too long
257
assets/chunks/katex.B7rAX3Vi.js
Normal file
257
assets/chunks/katex.B7rAX3Vi.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/chunks/line.kOFLlnSD.js
Normal file
1
assets/chunks/line.kOFLlnSD.js
Normal file
@@ -0,0 +1 @@
|
||||
import{n as e,t}from"./path.BWPyau1x.js";import{t as n}from"./array.BifhSqXX.js";import{rt as r}from"./chunk-ICXQ74PX.CHLqHIum.js";function i(e){return e[0]}function a(e){return e[1]}function o(o,s){var c=e(!0),l=null,u=r,d=null,f=t(p);o=typeof o==`function`?o:o===void 0?i:e(o),s=typeof s==`function`?s:s===void 0?a:e(s);function p(e){var t,r=(e=n(e)).length,i,a=!1,p;for(l??(d=u(p=f())),t=0;t<=r;++t)!(t<r&&c(i=e[t],t,e))===a&&((a=!a)?d.lineStart():d.lineEnd()),a&&d.point(+o(i,t,e),+s(i,t,e));if(p)return d=null,p+``||null}return p.x=function(t){return arguments.length?(o=typeof t==`function`?t:e(+t),p):o},p.y=function(t){return arguments.length?(s=typeof t==`function`?t:e(+t),p):s},p.defined=function(t){return arguments.length?(c=typeof t==`function`?t:e(!!t),p):c},p.curve=function(e){return arguments.length?(u=e,l!=null&&(d=u(l)),p):u},p.context=function(e){return arguments.length?(e==null?l=d=null:d=u(l=e),p):l},p}export{o as t};
|
||||
1
assets/chunks/linear.B4Tu_P4F.js
Normal file
1
assets/chunks/linear.B4Tu_P4F.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/chunks/map.DWGJ5h2_.js
Normal file
1
assets/chunks/map.DWGJ5h2_.js
Normal file
File diff suppressed because one or more lines are too long
7
assets/chunks/mermaid-parser.core.N9eEiD5y.js
Normal file
7
assets/chunks/mermaid-parser.core.N9eEiD5y.js
Normal file
File diff suppressed because one or more lines are too long
11
assets/chunks/mermaid.core.CsewqxlF.js
Normal file
11
assets/chunks/mermaid.core.CsewqxlF.js
Normal file
File diff suppressed because one or more lines are too long
96
assets/chunks/mindmap-definition-LN4V7U3C.D6T897yk.js
Normal file
96
assets/chunks/mindmap-definition-LN4V7U3C.D6T897yk.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/chunks/ordinal.CysACInB.js
Normal file
1
assets/chunks/ordinal.CysACInB.js
Normal file
@@ -0,0 +1 @@
|
||||
import{t as e}from"./init.D6jRqBbL.js";var t=class extends Map{constructor(e,t=a){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),e!=null)for(let[t,n]of e)this.set(t,n)}get(e){return super.get(n(this,e))}has(e){return super.has(n(this,e))}set(e,t){return super.set(r(this,e),t)}delete(e){return super.delete(i(this,e))}};function n({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):n}function r({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function i({_intern:e,_key:t},n){let r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function a(e){return typeof e==`object`&&e?e.valueOf():e}var o=Symbol(`implicit`);function s(){var n=new t,r=[],i=[],a=o;function c(e){let t=n.get(e);if(t===void 0){if(a!==o)return a;n.set(e,t=r.push(e)-1)}return i[t%i.length]}return c.domain=function(e){if(!arguments.length)return r.slice();r=[],n=new t;for(let t of e)n.has(t)||n.set(t,r.push(t)-1);return c},c.range=function(e){return arguments.length?(i=Array.from(e),c):i.slice()},c.unknown=function(e){return arguments.length?(a=e,c):a},c.copy=function(){return s(r,i).unknown(a)},e.apply(c,arguments),c}export{s as t};
|
||||
1
assets/chunks/packet-7NZHBO7P.gX3jDszN.js
Normal file
1
assets/chunks/packet-7NZHBO7P.gX3jDszN.js
Normal file
@@ -0,0 +1 @@
|
||||
import"./chunk-KEIR6QF5.Dj-OpFgW.js";import{S as e}from"./mermaid-parser.core.N9eEiD5y.js";export{e as createPacketServices};
|
||||
1
assets/chunks/path.BWPyau1x.js
Normal file
1
assets/chunks/path.BWPyau1x.js
Normal file
@@ -0,0 +1 @@
|
||||
var e=Math.PI,t=2*e,n=1e-6,r=t-n;function i(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}function a(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return i;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}var o=class{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._=``,this._append=e==null?i:a(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,a){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+a}`}arcTo(t,r,i,a,o){if(t=+t,r=+r,i=+i,a=+a,o=+o,o<0)throw Error(`negative radius: ${o}`);let s=this._x1,c=this._y1,l=i-t,u=a-r,d=s-t,f=c-r,p=d*d+f*f;if(this._x1===null)this._append`M${this._x1=t},${this._y1=r}`;else if(p>n)if(!(Math.abs(f*l-u*d)>n)||!o)this._append`L${this._x1=t},${this._y1=r}`;else{let m=i-s,h=a-c,g=l*l+u*u,_=m*m+h*h,v=Math.sqrt(g),y=Math.sqrt(p),b=o*Math.tan((e-Math.acos((g+p-_)/(2*v*y)))/2),x=b/y,S=b/v;Math.abs(x-1)>n&&this._append`L${t+x*d},${r+x*f}`,this._append`A${o},${o},0,0,${+(f*m>d*h)},${this._x1=t+S*l},${this._y1=r+S*u}`}}arc(i,a,o,s,c,l){if(i=+i,a=+a,o=+o,l=!!l,o<0)throw Error(`negative radius: ${o}`);let u=o*Math.cos(s),d=o*Math.sin(s),f=i+u,p=a+d,m=1^l,h=l?s-c:c-s;this._x1===null?this._append`M${f},${p}`:(Math.abs(this._x1-f)>n||Math.abs(this._y1-p)>n)&&this._append`L${f},${p}`,o&&(h<0&&(h=h%t+t),h>r?this._append`A${o},${o},0,1,${m},${i-u},${a-d}A${o},${o},0,1,${m},${this._x1=f},${this._y1=p}`:h>n&&this._append`A${o},${o},0,${+(h>=e)},${m},${this._x1=i+o*Math.cos(c)},${this._y1=a+o*Math.sin(c)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}};function s(){return new o}s.prototype=o.prototype;function c(e){return function(){return e}}function l(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(n==null)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new o(t)}export{c as n,l as t};
|
||||
1
assets/chunks/pegDiagram-2B236MQR.BRC9fSnR.js
Normal file
1
assets/chunks/pegDiagram-2B236MQR.BRC9fSnR.js
Normal file
@@ -0,0 +1 @@
|
||||
import{m as e}from"./src.OgxTg4hg.js";import{t,u as n}from"./mermaid-parser.core.N9eEiD5y.js";import{n as r}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";import"./chunk-WYO6CB5R.Bq018eTN.js";import"./chunk-VAUOI2AC.B8koBSma.js";import{n as i,r as a,t as o}from"./chunk-MOJQB5TN.S5IX9-r8.js";import{t as s}from"./chunk-JWPE2WC7.A3RzWITa.js";var c=n().RailroadPeg.parser.LangiumParser,l=r(e=>{let t=e.alternatives.map(u);return t.length===1?t[0]:{type:`choice`,alternatives:t}},`transformOrderedChoice`),u=r(e=>{let t=e.elements.map(d);return t.length===1?t[0]:{type:`sequence`,elements:t}},`transformSequence`),d=r(e=>{let t=p(e.suffix);return e.operator?{type:`special`,text:e.operator===`&`?`&${f(t)}`:`!${f(t)}`}:t},`transformPrefix`),f=r(e=>{switch(e.type){case`terminal`:return`"${e.value}"`;case`nonterminal`:return e.name;case`special`:return e.text;default:return`(...)`}},`nodeToLabel`),p=r(e=>{let t=m(e.primary);if(!e.operator)return t;switch(e.operator){case`?`:return{type:`optional`,element:t};case`*`:return{type:`repetition`,element:t,min:0,max:1/0};case`+`:return{type:`repetition`,element:t,min:1,max:1/0};default:throw Error(`Unsupported PEG suffix operator: ${e.operator}`)}},`transformSuffix`),m=r(e=>{switch(e.$type){case`PegLiteral`:return{type:`terminal`,value:e.value};case`PegIdentifier`:return{type:`nonterminal`,name:e.name};case`PegGroup`:return l(e.element);case`PegAny`:return{type:`special`,text:e.dot};default:throw Error(`Unsupported PEG primary node: ${e.$type}`)}},`transformPrimary`),h=r(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),g=r(e=>{s(e,o),e.title&&o.setTitle(e.title),e.rules.map(e=>o.addRule(h(e)))},`populateDb`),_={parser:{parse:r(n=>{o.clear(),e.debug(`[PEG Parser] Starting Langium parse`);let r=c.parse(n);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new t(r);let i=r.value;e.debug(`[PEG Parser] Parsed rules:`,i.rules.length),g(i),e.debug(`[PEG Parser] Parse complete`)},`parse`),parser:{yy:o}},db:o,renderer:a,styles:i};export{_ as diagram};
|
||||
1
assets/chunks/pie-RZYD4A2V.DIrOrBo9.js
Normal file
1
assets/chunks/pie-RZYD4A2V.DIrOrBo9.js
Normal file
@@ -0,0 +1 @@
|
||||
import"./chunk-KEIR6QF5.Dj-OpFgW.js";import{b as e}from"./mermaid-parser.core.N9eEiD5y.js";export{e as createPieServices};
|
||||
39
assets/chunks/pieDiagram-ENE6RG2P.C39q6PFH.js
Normal file
39
assets/chunks/pieDiagram-ENE6RG2P.C39q6PFH.js
Normal file
@@ -0,0 +1,39 @@
|
||||
import{m as e}from"./src.OgxTg4hg.js";import{n as t}from"./mermaid-parser.core.N9eEiD5y.js";import{n}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";import{H as r,K as i,U as a,a as o,c as s,f as c,v as l,w as u,x as d,y as f}from"./chunk-WYO6CB5R.Bq018eTN.js";import{t as p}from"./ordinal.CysACInB.js";import{n as m}from"./path.BWPyau1x.js";import{m as h}from"./dist.Bk8Utk0H.js";import{t as g}from"./arc.WFIG2DsA.js";import{t as _}from"./array.BifhSqXX.js";import{i as v,p as y}from"./chunk-ICXQ74PX.CHLqHIum.js";import{t as b}from"./chunk-VAUOI2AC.B8koBSma.js";import{t as x}from"./chunk-JWPE2WC7.A3RzWITa.js";function S(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function C(e){return e}function w(){var e=C,t=S,n=null,r=m(0),i=m(h),a=m(0);function o(o){var s,c=(o=_(o)).length,l,u,d=0,f=Array(c),p=Array(c),m=+r.apply(this,arguments),g=Math.min(h,Math.max(-h,i.apply(this,arguments)-m)),v,y=Math.min(Math.abs(g)/c,a.apply(this,arguments)),b=y*(g<0?-1:1),x;for(s=0;s<c;++s)(x=p[f[s]=s]=+e(o[s],s,o))>0&&(d+=x);for(t==null?n!=null&&f.sort(function(e,t){return n(o[e],o[t])}):f.sort(function(e,n){return t(p[e],p[n])}),s=0,u=d?(g-c*b)/d:0;s<c;++s,m=v)l=f[s],x=p[l],v=m+(x>0?x*u:0)+b,p[l]={data:o[l],index:s,value:x,startAngle:m,endAngle:v,padAngle:y};return p}return o.value=function(t){return arguments.length?(e=typeof t==`function`?t:m(+t),o):e},o.sortValues=function(e){return arguments.length?(t=e,n=null,o):t},o.sort=function(e){return arguments.length?(n=e,t=null,o):n},o.startAngle=function(e){return arguments.length?(r=typeof e==`function`?e:m(+e),o):r},o.endAngle=function(e){return arguments.length?(i=typeof e==`function`?e:m(+e),o):i},o.padAngle=function(e){return arguments.length?(a=typeof e==`function`?e:m(+e),o):a},o}var T=c.pie,E={sections:new Map,showData:!1,config:T},D=E.sections,O=E.showData,k=structuredClone(T),A={getConfig:n(()=>structuredClone(k),`getConfig`),clear:n(()=>{D=new Map,O=E.showData,o()},`clear`),setDiagramTitle:i,getDiagramTitle:u,setAccTitle:a,getAccTitle:f,setAccDescription:r,getAccDescription:l,addSection:n(({label:t,value:n})=>{if(n<0)throw Error(`"${t}" has invalid value: ${n}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);D.has(t)||(D.set(t,n),e.debug(`added new section: ${t}, with value: ${n}`))},`addSection`),getSections:n(()=>D,`getSections`),setShowData:n(e=>{O=e},`setShowData`),getShowData:n(()=>O,`getShowData`)},j=n((e,t)=>{x(e,t),t.setShowData(e.showData),e.sections.map(t.addSection)},`populateDb`),M={parse:n(async n=>{let r=await t(`pie`,n);e.debug(r),j(r,A)},`parse`)},N=n(e=>`
|
||||
.pieCircle{
|
||||
stroke: ${e.pieStrokeColor};
|
||||
stroke-width : ${e.pieStrokeWidth};
|
||||
opacity : ${e.pieOpacity};
|
||||
}
|
||||
.pieCircle.highlighted{
|
||||
scale: 1.05;
|
||||
opacity: 1;
|
||||
}
|
||||
.pieCircle.highlightedOnHover:hover{
|
||||
transition-duration: 250ms;
|
||||
scale: 1.05;
|
||||
opacity: 1;
|
||||
}
|
||||
.pieOuterCircle{
|
||||
stroke: ${e.pieOuterStrokeColor};
|
||||
stroke-width: ${e.pieOuterStrokeWidth};
|
||||
fill: none;
|
||||
}
|
||||
.pieTitleText {
|
||||
text-anchor: middle;
|
||||
font-size: ${e.pieTitleTextSize};
|
||||
fill: ${e.pieTitleTextColor};
|
||||
font-family: ${e.fontFamily};
|
||||
}
|
||||
.slice {
|
||||
font-family: ${e.fontFamily};
|
||||
fill: ${e.pieSectionTextColor};
|
||||
font-size:${e.pieSectionTextSize};
|
||||
// fill: white;
|
||||
}
|
||||
.legend text {
|
||||
fill: ${e.pieLegendTextColor};
|
||||
font-family: ${e.fontFamily};
|
||||
font-size: ${e.pieLegendTextSize};
|
||||
}
|
||||
`,`getStyles`),P=n(e=>{let t=[...e.values()].reduce((e,t)=>e+t,0),n=[...e.entries()].map(([e,t])=>({label:e,value:t})).filter(e=>e.value/t*100>=1);return w().value(e=>e.value).sort(null)(n)},`createPieArcs`),F={parser:M,db:A,renderer:{draw:n((t,n,r,i)=>{e.debug(`rendering pie chart
|
||||
`+t);let a=i.db,o=d(),c=v(a.getConfig(),o.pie),l=b(n),u=l.append(`g`);u.attr(`transform`,`translate(225,225)`);let{themeVariables:f}=o,[m]=y(f.pieOuterStrokeWidth);m??=2;let h=c.legendPosition,_=c.textPosition,x=c.donutHole>0&&c.donutHole<=.9?c.donutHole:0,S=g().innerRadius(x*185).outerRadius(185),C=g().innerRadius(185*_).outerRadius(185*_),w=u.append(`g`);w.append(`circle`).attr(`cx`,0).attr(`cy`,0).attr(`r`,185+m/2).attr(`class`,`pieOuterCircle`);let T=a.getSections(),E=P(T),D=[f.pie1,f.pie2,f.pie3,f.pie4,f.pie5,f.pie6,f.pie7,f.pie8,f.pie9,f.pie10,f.pie11,f.pie12],O=0;T.forEach(e=>{O+=e});let k=E.filter(e=>(e.data.value/O*100).toFixed(0)!==`0`),A=p(D).domain([...T.keys()]);w.selectAll(`mySlices`).data(k).enter().append(`path`).attr(`d`,S).attr(`fill`,e=>A(e.data.label)).attr(`class`,e=>{let t=`pieCircle`;return c.highlightSlice===`hover`?t+=` highlightedOnHover`:c.highlightSlice===e.data.label&&(t+=` highlighted`),t}),w.selectAll(`mySlices`).data(k).enter().append(`text`).text(e=>(e.data.value/O*100).toFixed(0)+`%`).attr(`transform`,e=>`translate(`+C.centroid(e)+`)`).style(`text-anchor`,`middle`).attr(`class`,`slice`);let j=u.append(`text`).text(a.getDiagramTitle()).attr(`x`,0).attr(`y`,-400/2).attr(`class`,`pieTitleText`),M=[...T.entries()].map(([e,t])=>({label:e,value:t})),N=u.selectAll(`.legend`).data(M).enter().append(`g`).attr(`class`,`legend`);N.append(`rect`).attr(`width`,18).attr(`height`,18).style(`fill`,e=>A(e.label)).style(`stroke`,e=>A(e.label)),N.append(`text`).attr(`x`,22).attr(`y`,14).text(e=>a.getShowData()?`${e.label} [${e.value}]`:e.label);let F=Math.max(...N.selectAll(`text`).nodes().map(e=>e?.getBoundingClientRect().width??0)),I=450,L=490,R=M.length*22;switch(h){case`center`:N.attr(`transform`,(e,t)=>{let n=22*M.length/2,r=-F/2-22,i=t*22-n;return`translate(`+r+`,`+i+`)`});break;case`top`:I+=R,N.attr(`transform`,(e,t)=>`translate(${-F/2-22}, ${t*22-185})`),w.attr(`transform`,()=>`translate(0, ${R+22})`);break;case`bottom`:I+=R,N.attr(`transform`,(e,t)=>{let n=-F/2-22,r=t*22- -207;return`translate(`+n+`,`+r+`)`});break;case`left`:L+=22+F,N.attr(`transform`,(e,t)=>{let n=22*M.length/2;return`translate(-207,`+(t*22-n)+`)`}),w.attr(`transform`,()=>`translate(${F+18+4}, 0)`);break;default:L+=22+F,N.attr(`transform`,(e,t)=>{let n=22*M.length/2;return`translate(216,`+(t*22-n)+`)`});break}let z=j.node()?.getBoundingClientRect().width??0,B=450/2-z/2,V=450/2+z/2,H=Math.min(0,B),U=Math.max(L,V)-H;l.attr(`viewBox`,`${H} 0 ${U} ${I}`),s(l,I,U,c.useMaxWidth)},`draw`)},styles:N};export{F as diagram};
|
||||
7
assets/chunks/quadrantDiagram-ABIIQ3AL.D8ryhgys.js
Normal file
7
assets/chunks/quadrantDiagram-ABIIQ3AL.D8ryhgys.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/chunks/radar-I7S5WNFK.7B8NRMI0.js
Normal file
1
assets/chunks/radar-I7S5WNFK.7B8NRMI0.js
Normal file
@@ -0,0 +1 @@
|
||||
import"./chunk-KEIR6QF5.Dj-OpFgW.js";import{v as e}from"./mermaid-parser.core.N9eEiD5y.js";export{e as createRadarServices};
|
||||
1
assets/chunks/railroad-3IZDKUUU.M8g9B0bX.js
Normal file
1
assets/chunks/railroad-3IZDKUUU.M8g9B0bX.js
Normal file
@@ -0,0 +1 @@
|
||||
import"./chunk-KEIR6QF5.Dj-OpFgW.js";import{g as e}from"./mermaid-parser.core.N9eEiD5y.js";export{e as createRailroadServices};
|
||||
1
assets/chunks/railroad-abnf-AHOZXSZD.BjbN7ArA.js
Normal file
1
assets/chunks/railroad-abnf-AHOZXSZD.BjbN7ArA.js
Normal file
@@ -0,0 +1 @@
|
||||
import"./chunk-KEIR6QF5.Dj-OpFgW.js";import{m as e}from"./mermaid-parser.core.N9eEiD5y.js";export{e as createRailroadAbnfServices};
|
||||
1
assets/chunks/railroad-ebnf-EBAXGLYW.BS8tAYgu.js
Normal file
1
assets/chunks/railroad-ebnf-EBAXGLYW.BS8tAYgu.js
Normal file
@@ -0,0 +1 @@
|
||||
import"./chunk-KEIR6QF5.Dj-OpFgW.js";import{f as e}from"./mermaid-parser.core.N9eEiD5y.js";export{e as createRailroadEbnfServices};
|
||||
1
assets/chunks/railroad-peg-LSFZ7HO6.fNO3b4Cm.js
Normal file
1
assets/chunks/railroad-peg-LSFZ7HO6.fNO3b4Cm.js
Normal file
@@ -0,0 +1 @@
|
||||
import"./chunk-KEIR6QF5.Dj-OpFgW.js";import{u as e}from"./mermaid-parser.core.N9eEiD5y.js";export{e as createRailroadPegServices};
|
||||
1
assets/chunks/railroadDiagram-RFXS5EU6.DDN2NR_g.js
Normal file
1
assets/chunks/railroadDiagram-RFXS5EU6.DDN2NR_g.js
Normal file
@@ -0,0 +1 @@
|
||||
import{m as e}from"./src.OgxTg4hg.js";import{g as t,t as n}from"./mermaid-parser.core.N9eEiD5y.js";import{n as r}from"./chunk-Y2CYZVJY.DsF7k-Jl.js";import"./chunk-WYO6CB5R.Bq018eTN.js";import"./chunk-VAUOI2AC.B8koBSma.js";import{n as i,r as a,t as o}from"./chunk-MOJQB5TN.S5IX9-r8.js";import{t as s}from"./chunk-JWPE2WC7.A3RzWITa.js";var c=t().Railroad.parser.LangiumParser,l=r(e=>{switch(e.$type){case`RailroadTerminalExpr`:return{type:`terminal`,value:e.value};case`RailroadNonTerminalExpr`:return{type:`nonterminal`,name:e.name};case`RailroadSpecialExpr`:return{type:`special`,text:e.text};case`RailroadSequenceExpr`:{let t=e.elements.map(l);return t.length===1?t[0]:{type:`sequence`,elements:t}}case`RailroadChoiceExpr`:{let t=e.alternatives.map(l);return t.length===1?t[0]:{type:`choice`,alternatives:t}}case`RailroadOptionalExpr`:return{type:`optional`,element:l(e.element)};case`RailroadOneOrMoreExpr`:return{type:`repetition`,element:l(e.element),min:1,max:1/0};case`RailroadZeroOrMoreExpr`:return{type:`repetition`,element:l(e.element),min:0,max:1/0};default:throw Error(`Unsupported railroad expression: ${e.$type}`)}},`transformExpression`),u=r(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),d=r(e=>{s(e,o),e.title&&o.setTitle(e.title),e.rules.map(e=>o.addRule(u(e)))},`populateDb`),f={parser:{parse:r(t=>{o.clear(),e.debug(`[Railroad Parser] Starting Langium parse`);let r=c.parse(t);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new n(r);let i=r.value;e.debug(`[Railroad Parser] Parsed rules:`,i.rules.length),d(i),e.debug(`[Railroad Parser] Parse complete`)},`parse`),parser:{yy:o}},db:o,renderer:a,styles:i};export{f as diagram};
|
||||
84
assets/chunks/requirementDiagram-TGXJPOKE.DYFrKDKG.js
Normal file
84
assets/chunks/requirementDiagram-TGXJPOKE.DYFrKDKG.js
Normal file
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
Reference in New Issue
Block a user