@agent-workshop/adoc-webapp 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/LICENSE +5 -0
  2. package/THIRD_PARTY_NOTICES.md +49 -0
  3. package/dist/assets/app.css +406 -0
  4. package/dist/assets/app.js +201 -0
  5. package/dist/assets/chunks/abnfDiagram-YUKMZFIV-UTBMKFXS.js +1 -0
  6. package/dist/assets/chunks/architecture-WOLXFQ4H-S6WNHT5H.js +1 -0
  7. package/dist/assets/chunks/architectureDiagram-47P4ROYG-SQCOEPXG.js +36 -0
  8. package/dist/assets/chunks/blockDiagram-E7TT5TSB-F5DSMBHI.js +140 -0
  9. package/dist/assets/chunks/c4Diagram-CRA5TL53-G4W35RYC.js +38 -0
  10. package/dist/assets/chunks/chunk-2TCGAX73.js +1 -0
  11. package/dist/assets/chunks/chunk-35SWHG2Z.js +1 -0
  12. package/dist/assets/chunks/chunk-4UKVVSLZ.js +2 -0
  13. package/dist/assets/chunks/chunk-56PLA4MI.js +1 -0
  14. package/dist/assets/chunks/chunk-6QSLXF4I.js +1 -0
  15. package/dist/assets/chunks/chunk-7DQROAU7.js +1 -0
  16. package/dist/assets/chunks/chunk-7FXP6RHI.js +1 -0
  17. package/dist/assets/chunks/chunk-7ITQOSYJ.js +15 -0
  18. package/dist/assets/chunks/chunk-7W3KTJUJ.js +1 -0
  19. package/dist/assets/chunks/chunk-ABLFMIK7.js +1 -0
  20. package/dist/assets/chunks/chunk-AVITUR4K.js +1 -0
  21. package/dist/assets/chunks/chunk-AVJJGJEF.js +1 -0
  22. package/dist/assets/chunks/chunk-BYKZQKZN.js +1 -0
  23. package/dist/assets/chunks/chunk-CBAFHIQV.js +213 -0
  24. package/dist/assets/chunks/chunk-CMFTFM5L.js +1 -0
  25. package/dist/assets/chunks/chunk-E2AIA637.js +14 -0
  26. package/dist/assets/chunks/chunk-ENUKY65A.js +72 -0
  27. package/dist/assets/chunks/chunk-EPS7YYLR.js +2 -0
  28. package/dist/assets/chunks/chunk-FDHLSHAZ.js +1 -0
  29. package/dist/assets/chunks/chunk-GBOXGTKU.js +1 -0
  30. package/dist/assets/chunks/chunk-GDF64WIG.js +1 -0
  31. package/dist/assets/chunks/chunk-GTJDAHEV.js +2 -0
  32. package/dist/assets/chunks/chunk-H57PPMTP.js +1 -0
  33. package/dist/assets/chunks/chunk-HHYS5L3R.js +1 -0
  34. package/dist/assets/chunks/chunk-INV6BDXO.js +2 -0
  35. package/dist/assets/chunks/chunk-IR3NHMOO.js +1 -0
  36. package/dist/assets/chunks/chunk-KLF2A562.js +1 -0
  37. package/dist/assets/chunks/chunk-LZTAJOGZ.js +1 -0
  38. package/dist/assets/chunks/chunk-M3XBBO6R.js +135 -0
  39. package/dist/assets/chunks/chunk-NBZPV65B.js +62 -0
  40. package/dist/assets/chunks/chunk-NCTJNXDF.js +1 -0
  41. package/dist/assets/chunks/chunk-O4U2B2FP.js +339 -0
  42. package/dist/assets/chunks/chunk-OB665XPY.js +1 -0
  43. package/dist/assets/chunks/chunk-OFD4YTIR.js +10 -0
  44. package/dist/assets/chunks/chunk-PHKIAKHS.js +1 -0
  45. package/dist/assets/chunks/chunk-R4OZRASH.js +32 -0
  46. package/dist/assets/chunks/chunk-UAGOPMXU.js +1 -0
  47. package/dist/assets/chunks/chunk-UAQETDSH.js +3 -0
  48. package/dist/assets/chunks/chunk-UORYZEAD.js +1 -0
  49. package/dist/assets/chunks/chunk-W4ELJFHG.js +1 -0
  50. package/dist/assets/chunks/chunk-WBPRABWA.js +136 -0
  51. package/dist/assets/chunks/chunk-XISCFCXG.js +88 -0
  52. package/dist/assets/chunks/chunk-XLJVPE6C.js +1 -0
  53. package/dist/assets/chunks/chunk-XQHNSJKC.js +1 -0
  54. package/dist/assets/chunks/chunk-XYDA52BE.js +1 -0
  55. package/dist/assets/chunks/chunk-YAHQK6MQ.js +1 -0
  56. package/dist/assets/chunks/chunk-ZGUCZDEK.js +1 -0
  57. package/dist/assets/chunks/chunk-ZRBDUQXP.js +1 -0
  58. package/dist/assets/chunks/classDiagram-v2-K4WV4PDN-EMBTPOHC.js +217 -0
  59. package/dist/assets/chunks/cose-bilkent-JH36ORCC-CNYFETCT.js +1 -0
  60. package/dist/assets/chunks/cynefin-EF2NZ3EQ-2AP5N5QY.js +1 -0
  61. package/dist/assets/chunks/cynefinDiagram-3GCD6N5R-WVTLESK3.js +62 -0
  62. package/dist/assets/chunks/dagre-W4DXFKR2-FPRZGQVB.js +4 -0
  63. package/dist/assets/chunks/diagram-2UJZ2QOL-VPSSQLZN.js +200 -0
  64. package/dist/assets/chunks/diagram-OVF4WLC6-PZ2RN37Y.js +24 -0
  65. package/dist/assets/chunks/diagram-PFPMY2P6-5GPN6RRZ.js +30 -0
  66. package/dist/assets/chunks/diagram-UMYRVEAY-OHFOPEFR.js +24 -0
  67. package/dist/assets/chunks/diagram-YEKJPTXX-PFA7KRZC.js +41 -0
  68. package/dist/assets/chunks/diagram-ZIFT7M5P-XOPZR7XN.js +3 -0
  69. package/dist/assets/chunks/ebnfDiagram-VR2GEFS7-MAGCN3HN.js +1 -0
  70. package/dist/assets/chunks/elk-IJKZMXRS-FZ2NQWIX.js +27 -0
  71. package/dist/assets/chunks/erDiagram-O2IAPWRE-746JHX2P.js +99 -0
  72. package/dist/assets/chunks/eventmodeling-K75KTNOO-FKRVI4N2.js +1 -0
  73. package/dist/assets/chunks/flowDiagram-OXPTDLAJ-XYHRK7XD.js +1 -0
  74. package/dist/assets/chunks/ganttDiagram-R7TSEDQI-DN5XENJA.js +292 -0
  75. package/dist/assets/chunks/gitGraph-VSP46ZUC-YT36MSRW.js +1 -0
  76. package/dist/assets/chunks/gitGraphDiagram-XJZIOB7I-NXP267LJ.js +106 -0
  77. package/dist/assets/chunks/info-OHQRW6UA-BRTC44VB.js +1 -0
  78. package/dist/assets/chunks/infoDiagram-5W2HQ5XZ-RT6YEU7N.js +2 -0
  79. package/dist/assets/chunks/ishikawaDiagram-K3B6WC7H-EJP5H2KV.js +70 -0
  80. package/dist/assets/chunks/journeyDiagram-COXZFDF6-M6MBFVND.js +139 -0
  81. package/dist/assets/chunks/kanban-definition-P3RFRI5V-WBYRNWVT.js +89 -0
  82. package/dist/assets/chunks/katex-42FXWECD.js +257 -0
  83. package/dist/assets/chunks/mermaid.core-SMXJOLYJ.js +18 -0
  84. package/dist/assets/chunks/mindmap-definition-LZFPQGKD-KVJVOCR5.js +96 -0
  85. package/dist/assets/chunks/packet-JDAUHWVQ-SGFXPYMB.js +1 -0
  86. package/dist/assets/chunks/pegDiagram-BGZESJAR-ECEGDREM.js +1 -0
  87. package/dist/assets/chunks/pie-XZMESJXO-LSQBPXPC.js +1 -0
  88. package/dist/assets/chunks/pieDiagram-CAPJLFHJ-D75MPXOK.js +39 -0
  89. package/dist/assets/chunks/quadrantDiagram-GDMTTRAM-HMUXMSEH.js +7 -0
  90. package/dist/assets/chunks/radar-ABXABTNO-TPYHBLNO.js +1 -0
  91. package/dist/assets/chunks/railroad-I3PHUGI6-WWIXL3LY.js +1 -0
  92. package/dist/assets/chunks/railroad-abnf-LNEFI6M7-DHJUY4R6.js +1 -0
  93. package/dist/assets/chunks/railroad-ebnf-DWYD2UWJ-4OJ4ECXX.js +1 -0
  94. package/dist/assets/chunks/railroad-peg-JR7BVNR7-VUOBDVLQ.js +1 -0
  95. package/dist/assets/chunks/railroadDiagram-SM67HX2B-Z757I54E.js +1 -0
  96. package/dist/assets/chunks/requirementDiagram-X7JNWC4A-7BW46JLY.js +84 -0
  97. package/dist/assets/chunks/sankeyDiagram-UM26HJRW-273BIID3.js +40 -0
  98. package/dist/assets/chunks/sequenceDiagram-ZO4K6R2Y-KG23HXTI.js +169 -0
  99. package/dist/assets/chunks/sizeCapture-INFHLROL-5N3POCQZ.js +1 -0
  100. package/dist/assets/chunks/stateDiagram-v2-TBUQTH76-AIML3PSW.js +291 -0
  101. package/dist/assets/chunks/swimlanes-N4OXWK64-TBFQZWAR.js +1 -0
  102. package/dist/assets/chunks/swimlanesDiagram-K3J5GTZL-TREAP6RB.js +8 -0
  103. package/dist/assets/chunks/timeline-definition-YOQAKGHF-QHTD5EBR.js +120 -0
  104. package/dist/assets/chunks/treeView-D4JQ5SDB-JJEYBPMW.js +1 -0
  105. package/dist/assets/chunks/treemap-SAJKECNS-I3YRCM2B.js +1 -0
  106. package/dist/assets/chunks/usecaseDiagram-VIAY4XPW-GNNFV4RS.js +370 -0
  107. package/dist/assets/chunks/vennDiagram-BLWOH2XV-YE23JXYX.js +34 -0
  108. package/dist/assets/chunks/wardley-7MLQ67FV-AKOGXXNF.js +1 -0
  109. package/dist/assets/chunks/wardleyDiagram-YMQ3BMBF-D7XYLZCZ.js +78 -0
  110. package/dist/assets/chunks/xychartDiagram-TAQBALBS-AT4Y7JWY.js +7 -0
  111. package/dist/assets/fonts/D2Coding-Bold.woff2 +0 -0
  112. package/dist/assets/fonts/D2Coding-OFL.txt +97 -0
  113. package/dist/assets/fonts/D2Coding.woff2 +0 -0
  114. package/dist/assets/fonts/Pretendard-LICENSE.txt +94 -0
  115. package/dist/assets/fonts/PretendardVariable.woff2 +0 -0
  116. package/dist/assets/fonts/SymbolsNerdFont-LICENSE.txt +21 -0
  117. package/dist/assets/fonts/SymbolsNerdFontMono.woff2 +0 -0
  118. package/dist/assets/xterm.css +285 -0
  119. package/dist/index.html +14 -0
  120. package/dist/licenses/@braintree__sanitize-url@7.1.2/LICENSE +21 -0
  121. package/dist/licenses/@chevrotain__cst-dts-gen@13.2.0/LICENSE.txt +202 -0
  122. package/dist/licenses/@chevrotain__gast@13.2.0/LICENSE.txt +202 -0
  123. package/dist/licenses/@chevrotain__regexp-to-ast@13.2.0/LICENSE.txt +202 -0
  124. package/dist/licenses/@chevrotain__utils@13.2.0/LICENSE.txt +202 -0
  125. package/dist/licenses/@iconify__utils@3.1.7/license.txt +21 -0
  126. package/dist/licenses/@mermaid-js__parser@2.0.1/LICENSE +21 -0
  127. package/dist/licenses/@remix-run__route-pattern@0.22.1/LICENSE +21 -0
  128. package/dist/licenses/@upsetjs__venn.js@2.0.0/LICENSE +22 -0
  129. package/dist/licenses/@xterm__addon-fit@0.11.0/LICENSE +19 -0
  130. package/dist/licenses/@xterm__xterm@6.0.0/LICENSE +21 -0
  131. package/dist/licenses/chevrotain@13.2.0/LICENSE.txt +202 -0
  132. package/dist/licenses/cookie-es@3.1.1/LICENSE +28 -0
  133. package/dist/licenses/cose-base@1.0.3/LICENSE +21 -0
  134. package/dist/licenses/cose-base@2.2.0/LICENSE +21 -0
  135. package/dist/licenses/cytoscape-cose-bilkent@4.1.0/LICENSE +21 -0
  136. package/dist/licenses/cytoscape-fcose@2.2.0/LICENSE +19 -0
  137. package/dist/licenses/cytoscape@3.34.3/LICENSE +19 -0
  138. package/dist/licenses/cytoscape@3.34.3/license-update.mjs +32 -0
  139. package/dist/licenses/d3-array@2.12.1/LICENSE +27 -0
  140. package/dist/licenses/d3-array@3.2.4/LICENSE +13 -0
  141. package/dist/licenses/d3-axis@3.0.0/LICENSE +13 -0
  142. package/dist/licenses/d3-brush@3.0.0/LICENSE +13 -0
  143. package/dist/licenses/d3-chord@3.0.1/LICENSE +13 -0
  144. package/dist/licenses/d3-color@3.1.0/LICENSE +13 -0
  145. package/dist/licenses/d3-contour@4.0.2/LICENSE +13 -0
  146. package/dist/licenses/d3-delaunay@6.0.4/LICENSE +14 -0
  147. package/dist/licenses/d3-dispatch@3.0.1/LICENSE +13 -0
  148. package/dist/licenses/d3-drag@3.0.0/LICENSE +13 -0
  149. package/dist/licenses/d3-dsv@3.0.1/LICENSE +13 -0
  150. package/dist/licenses/d3-ease@3.0.1/LICENSE +28 -0
  151. package/dist/licenses/d3-fetch@3.0.1/LICENSE +13 -0
  152. package/dist/licenses/d3-force@3.0.0/LICENSE +13 -0
  153. package/dist/licenses/d3-format@3.1.2/LICENSE +13 -0
  154. package/dist/licenses/d3-geo@3.1.1/LICENSE +34 -0
  155. package/dist/licenses/d3-hierarchy@3.1.2/LICENSE +13 -0
  156. package/dist/licenses/d3-interpolate@3.0.1/LICENSE +13 -0
  157. package/dist/licenses/d3-path@1.0.9/LICENSE +27 -0
  158. package/dist/licenses/d3-path@3.1.0/LICENSE +13 -0
  159. package/dist/licenses/d3-polygon@3.0.1/LICENSE +13 -0
  160. package/dist/licenses/d3-quadtree@3.0.1/LICENSE +13 -0
  161. package/dist/licenses/d3-random@3.0.1/LICENSE +13 -0
  162. package/dist/licenses/d3-sankey@0.12.3/LICENSE +27 -0
  163. package/dist/licenses/d3-scale-chromatic@3.1.0/LICENSE +28 -0
  164. package/dist/licenses/d3-scale@4.0.2/LICENSE +13 -0
  165. package/dist/licenses/d3-selection@3.0.0/LICENSE +13 -0
  166. package/dist/licenses/d3-shape@1.3.7/LICENSE +27 -0
  167. package/dist/licenses/d3-shape@3.2.0/LICENSE +13 -0
  168. package/dist/licenses/d3-time-format@4.1.0/LICENSE +13 -0
  169. package/dist/licenses/d3-time@3.1.0/LICENSE +13 -0
  170. package/dist/licenses/d3-timer@3.0.1/LICENSE +13 -0
  171. package/dist/licenses/d3-transition@3.0.1/LICENSE +13 -0
  172. package/dist/licenses/d3-zoom@3.0.0/LICENSE +13 -0
  173. package/dist/licenses/d3@7.9.0/LICENSE +13 -0
  174. package/dist/licenses/dagre-d3-es@7.0.14/LICENSE.md +23 -0
  175. package/dist/licenses/dayjs@1.11.23/LICENSE +21 -0
  176. package/dist/licenses/delaunator@5.1.0/LICENSE +15 -0
  177. package/dist/licenses/dompurify@3.4.16/LICENSE +202 -0
  178. package/dist/licenses/dompurify@3.4.16/LICENSE-MPL +373 -0
  179. package/dist/licenses/elkjs@0.9.3/LICENSE.md +264 -0
  180. package/dist/licenses/es-toolkit@1.52.0/LICENSE +21 -0
  181. package/dist/licenses/es-toolkit@1.52.0/NOTICE +39 -0
  182. package/dist/licenses/internmap@1.0.1/LICENSE +13 -0
  183. package/dist/licenses/internmap@2.0.3/LICENSE +13 -0
  184. package/dist/licenses/katex@0.16.47/LICENSE +21 -0
  185. package/dist/licenses/khroma@2.1.0/license +21 -0
  186. package/dist/licenses/layout-base@1.0.2/LICENSE +21 -0
  187. package/dist/licenses/layout-base@2.0.1/LICENSE +21 -0
  188. package/dist/licenses/lodash-es@4.18.1/LICENSE +47 -0
  189. package/dist/licenses/lucide-react@1.50.0/LICENSE +43 -0
  190. package/dist/licenses/lucide-react@1.50.0/copyright.mjs +22 -0
  191. package/dist/licenses/marked@16.4.2/LICENSE.md +44 -0
  192. package/dist/licenses/mermaid@12.1.0/LICENSE +21 -0
  193. package/dist/licenses/packages.json +945 -0
  194. package/dist/licenses/pretendard@1.3.9/LICENSE.txt +94 -0
  195. package/dist/licenses/react-dom@19.3.0/LICENSE +21 -0
  196. package/dist/licenses/react-router@8.4.0/LICENSE.md +23 -0
  197. package/dist/licenses/react@19.3.0/LICENSE +21 -0
  198. package/dist/licenses/robust-predicates@3.0.3/LICENSE +24 -0
  199. package/dist/licenses/roughjs@4.6.6/LICENSE +21 -0
  200. package/dist/licenses/scheduler@0.28.0/LICENSE +21 -0
  201. package/dist/licenses/stylis@4.4.0/LICENSE +21 -0
  202. package/dist/licenses/ts-dedent@2.3.0/LICENSE +21 -0
  203. package/dist/licenses/uuid@14.0.2/LICENSE.md +9 -0
  204. package/package.json +44 -0
@@ -0,0 +1 @@
1
+ import{a as i}from"./chunk-UAGOPMXU.js";function t(c,e){c.accDescr&&e.setAccDescription?.(c.accDescr),c.accTitle&&e.setAccTitle?.(c.accTitle),c.title&&e.setDiagramTitle?.(c.title)}i(t,"populateCommonDb");export{t as a};
@@ -0,0 +1,10 @@
1
+ import{a as Lt}from"./chunk-ZRBDUQXP.js";import{f as I}from"./chunk-NBZPV65B.js";import{a as Mt}from"./chunk-NCTJNXDF.js";import{c as gt,d as xt}from"./chunk-ZGUCZDEK.js";import{c as st,e as bt}from"./chunk-ENUKY65A.js";import{q as T,u as wt}from"./chunk-GTJDAHEV.js";import{$ as Y,C as X,G as et}from"./chunk-M3XBBO6R.js";import{$ as yt,G,H as it,J as lt,K as ct,L as nt,P as dt,S as pt,W as ht,X as ft,Y as mt,Z as kt,_ as ut,b as w,h as W}from"./chunk-W4ELJFHG.js";import{a as p}from"./chunk-UAGOPMXU.js";var N=p((r,t)=>{if(t)return"translate("+-r.width/2+", "+-r.height/2+")";let a=r.x??0,e=r.y??0;return"translate("+-(a+r.width/2)+", "+-(e+r.height/2)+")"},"computeLabelTransform"),v={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},_t={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5};function Q(r,t){if(r===void 0||t===void 0)return{angle:0,deltaX:0,deltaY:0};r=x(r),t=x(t);let[a,e]=[r.x,r.y],[s,n]=[t.x,t.y],o=s-a,i=n-e;return{angle:Math.atan(i/o),deltaX:o,deltaY:i}}p(Q,"calculateDeltaAndAngle");var x=p(r=>Array.isArray(r)?{x:r[0],y:r[1]}:r,"pointTransformer"),Bt=p(r=>({x:p(function(t,a,e){let s=0,n=x(e[0]).x<x(e[e.length-1]).x?"left":"right";if(a===0&&Object.hasOwn(v,r.arrowTypeStart)){let{angle:c,deltaX:u}=Q(e[0],e[1]);s=v[r.arrowTypeStart]*Math.cos(c)*(u>=0?1:-1)}else if(a===e.length-1&&Object.hasOwn(v,r.arrowTypeEnd)){let{angle:c,deltaX:u}=Q(e[e.length-1],e[e.length-2]);s=v[r.arrowTypeEnd]*Math.cos(c)*(u>=0?1:-1)}let o=Math.abs(x(t).x-x(e[e.length-1]).x),i=Math.abs(x(t).y-x(e[e.length-1]).y),d=Math.abs(x(t).x-x(e[0]).x),k=Math.abs(x(t).y-x(e[0]).y),l=v[r.arrowTypeStart],m=v[r.arrowTypeEnd],f=1;if(o<m&&o>0&&i<m){let c=m+f-o;c*=n==="right"?-1:1,s-=c}if(d<l&&d>0&&k<l){let c=l+f-d;c*=n==="right"?-1:1,s+=c}return x(t).x+s},"x"),y:p(function(t,a,e){let s=0,n=x(e[0]).y<x(e[e.length-1]).y?"down":"up";if(a===0&&Object.hasOwn(v,r.arrowTypeStart)){let{angle:c,deltaY:u}=Q(e[0],e[1]);s=v[r.arrowTypeStart]*Math.abs(Math.sin(c))*(u>=0?1:-1)}else if(a===e.length-1&&Object.hasOwn(v,r.arrowTypeEnd)){let{angle:c,deltaY:u}=Q(e[e.length-1],e[e.length-2]);s=v[r.arrowTypeEnd]*Math.abs(Math.sin(c))*(u>=0?1:-1)}let o=Math.abs(x(t).y-x(e[e.length-1]).y),i=Math.abs(x(t).x-x(e[e.length-1]).x),d=Math.abs(x(t).y-x(e[0]).y),k=Math.abs(x(t).x-x(e[0]).x),l=v[r.arrowTypeStart],m=v[r.arrowTypeEnd],f=1;if(o<m&&o>0&&i<m){let c=m+f-o;c*=n==="up"?-1:1,s-=c}if(d<l&&d>0&&k<l){let c=l+f-d;c*=n==="up"?-1:1,s+=c}return x(t).y+s},"y")}),"getLineFunctionsWithOffset"),At=p((r,t,a,e,s,n=!1,o)=>{t.arrowTypeStart&&St(r,"start",t.arrowTypeStart,a,e,s,n,o),t.arrowTypeEnd&&St(r,"end",t.arrowTypeEnd,a,e,s,n,o)},"addEdgeMarkers"),zt={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_barb_neo:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},arrow_hierarchy:{type:"hierarchy",fill:!1},aggregation:{type:"aggregation",fill:!1},extension:{type:"extension",fill:!1},composition:{type:"composition",fill:!0},dependency:{type:"dependency",fill:!0},lollipop:{type:"lollipop",fill:!1},only_one:{type:"onlyOne",fill:!1},zero_or_one:{type:"zeroOrOne",fill:!1},one_or_more:{type:"oneOrMore",fill:!1},zero_or_more:{type:"zeroOrMore",fill:!1},requirement_arrow:{type:"requirement_arrow",fill:!1},requirement_contains:{type:"requirement_contains",fill:!1}},Ct=["cross","point","circle","lollipop","aggregation","extension","composition","dependency","barb"],St=p((r,t,a,e,s,n,o=!1,i)=>{if(!a||a==="none")return;let d=zt[a],k=d&&Ct.includes(d.type);if(!d){w.warn(`Unknown arrow type: ${a}`);return}let l=d.type,c=`${s}_${n}-${l}${t==="start"?"Start":"End"}${o&&k?"-margin":""}`;if(i&&i.trim()!==""){let u=i.replace(/[^\dA-Za-z]/g,"_"),g=`${c}_${u}`;if(!document.getElementById(g)){let h=document.getElementById(c);if(h){let M=h.cloneNode(!0);M.id=g,M.querySelectorAll("path, circle, line").forEach(A=>{A.setAttribute("stroke",i),d.fill&&A.setAttribute("fill",i)}),h.parentNode?.appendChild(M)}}r.attr(`marker-${t}`,`url(${e}#${g})`)}else r.attr(`marker-${t}`,`url(${e}#${c})`)},"addEdgeMarker"),Pt=p(r=>typeof r=="string"?r:Y()?.flowchart?.curve,"resolveEdgeCurveType"),K=new Map,_=new Map,Er=p(()=>{K.clear(),_.clear()},"clear"),Ur=p(r=>!!(r.label||r.startLabelLeft||r.startLabelRight||r.endLabelLeft||r.endLabelRight),"hasEdgeLabel"),D=p(r=>r?typeof r=="string"?r:r.reduce((t,a)=>t+";"+a,""):"","getLabelStyles"),$r=p(async(r,t)=>{let a=Y(),e=et(a),{labelStyles:s}=xt(t);t.labelStyle=s;let n=r.insert("g").attr("class","edgeLabel"),o=n.insert("g").attr("class","label").attr("data-id",t.id),i=t.labelType==="markdown",k=await bt(r,t.label,{style:D(t.labelStyle),useHtmlLabels:e,addSvgBackground:!0,isNode:!1,markdown:i,width:i?void 0:void 0},a);o.node().appendChild(k),w.info("abc82",t,t.labelType);let l,m;if(e){let c=k.children[0],u=W(k);l=await st.measure(()=>c.getBoundingClientRect()),m=l,u.attr("width",l.width),u.attr("height",l.height)}else{let c=W(k).select("text").node();await st.measure(()=>{l=k.getBBox(),c&&typeof c.getBBox=="function"?m=c.getBBox():m=l})}o.attr("transform",N(m,e)),K.set(t.id,n),t.width=l.width,t.height=l.height;let f;if(t.startLabelLeft){let c=r.insert("g").attr("class","edgeTerminals"),u=c.insert("g").attr("class","inner"),g=await I(u,t.startLabelLeft,D(t.labelStyle)||"",!1,!1);f=g;let h=g.getBBox();if(e){let M=g.children[0],y=W(g);h=M.getBoundingClientRect(),y.attr("width",h.width),y.attr("height",h.height)}u.attr("transform",N(h,e)),_.get(t.id)||_.set(t.id,{}),_.get(t.id).startLeft=c,j(f,t.startLabelLeft,h),Z(t,"startLeft",h)}if(t.startLabelRight){let c=r.insert("g").attr("class","edgeTerminals"),u=c.insert("g").attr("class","inner"),g=await I(u,t.startLabelRight,D(t.labelStyle)||"",!1,!1);f=g;let h=g.getBBox();if(e){let M=g.children[0],y=W(g);h=M.getBoundingClientRect(),y.attr("width",h.width),y.attr("height",h.height)}u.attr("transform",N(h,e)),_.get(t.id)||_.set(t.id,{}),_.get(t.id).startRight=c,j(f,t.startLabelRight,h),Z(t,"startRight",h)}if(t.endLabelLeft){let c=r.insert("g").attr("class","edgeTerminals"),u=c.insert("g").attr("class","inner"),g=await I(u,t.endLabelLeft,D(t.labelStyle)||"",!1,!1);f=g;let h=g.getBBox();if(e){let M=g.children[0],y=W(g);h=M.getBoundingClientRect(),y.attr("width",h.width),y.attr("height",h.height)}u.attr("transform",N(h,e)),_.get(t.id)||_.set(t.id,{}),_.get(t.id).endLeft=c,j(f,t.endLabelLeft,h),Z(t,"endLeft",h)}if(t.endLabelRight){let c=r.insert("g").attr("class","edgeTerminals"),u=c.insert("g").attr("class","inner"),g=await I(u,t.endLabelRight,D(t.labelStyle)||"",!1,!1);f=g;let h=g.getBBox();if(e){let M=g.children[0],y=W(g);h=M.getBoundingClientRect(),y.attr("width",h.width),y.attr("height",h.height)}u.attr("transform",N(h,e)),_.get(t.id)||_.set(t.id,{}),_.get(t.id).endRight=c,j(f,t.endLabelRight,h),Z(t,"endRight",h)}return k},"insertEdgeLabel");function Z(r,t,a){r.terminalLabelSizes??={},r.terminalLabelSizes[t]={width:a.width,height:a.height}}p(Z,"recordTerminalLabelSize");function j(r,t,a){et(Y())&&r&&(r.style.width=Math.max(t.length*9,a.width)+"px",r.style.height=a.height+"px")}p(j,"setTerminalWidth");var Rt=p((r,t)=>{let a=r.x,e=r.y;if(t?.updatedPath){let s=T.calcLabelPosition(t.updatedPath);if(t.originalPath){let n=T.calcLabelPosition(t.originalPath);a=r.x+(s.x-n.x),e=r.y+(s.y-n.y)}else a=s.x,e=s.y}return{x:a,y:e}},"resolveEdgeLabelPosition"),Xr=p((r,t)=>{w.debug("Moving label abc88 ",r.id,r.label,K.get(r.id),t);let a=Y(),{subGraphTitleTotalMargin:e}=Lt(a);if(r.label){let n=K.get(r.id),{x:o,y:i}=Rt(r,t);w.debug("Moving label "+r.label+" from (",r.x,",",r.y,") to (",o,",",i,") abc88"),n.attr("transform",`translate(${o}, ${i+e/2})`)}let s=t.updatedPath?t.updatedPath:t.originalPath;if(r.startLabelLeft){let n=_.get(r.id).startLeft,o=r.x,i=r.y;if(s){let d=T.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_left",s);o=d.x,i=d.y}n.attr("transform",`translate(${o}, ${i})`)}if(r.startLabelRight){let n=_.get(r.id).startRight,o=r.x,i=r.y;if(s){let d=T.calcTerminalLabelPosition(r.arrowTypeStart?10:0,"start_right",s);o=d.x,i=d.y}n.attr("transform",`translate(${o}, ${i})`)}if(r.endLabelLeft){let n=_.get(r.id).endLeft,o=r.x,i=r.y;if(s){let d=T.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_left",s);o=d.x,i=d.y}n.attr("transform",`translate(${o}, ${i})`)}if(r.endLabelRight){let n=_.get(r.id).endRight,o=r.x,i=r.y;if(s){let d=T.calcTerminalLabelPosition(r.arrowTypeEnd?10:0,"end_right",s);o=d.x,i=d.y}n.attr("transform",`translate(${o}, ${i})`)}},"positionEdgeLabel"),qt=p((r,t)=>{if(!r?.isLabelEdge||!r?.id?.endsWith("-to-label")||!Array.isArray(t)||t.length!==2)return t;let[a,e]=t,s=Math.abs(e.x-a.x),n=Math.abs(e.y-a.y);return s<.001||n<.001?t:n>=s?[a,{x:a.x,y:e.y},e]:[a,{x:e.x,y:a.y},e]},"orthogonalizeToLabelClippedPoints"),It=p((r,t)=>{let a=r.x,e=r.y,s=Math.abs(t.x-a),n=Math.abs(t.y-e),o=r.width/2,i=r.height/2;return s>=o||n>=i},"outsideNode"),Nt=p((r,t,a)=>{w.debug(`intersection calc abc89:
2
+ outsidePoint: ${JSON.stringify(t)}
3
+ insidePoint : ${JSON.stringify(a)}
4
+ node : x:${r.x} y:${r.y} w:${r.width} h:${r.height}`);let e=r.x,s=r.y,n=Math.abs(e-a.x),o=r.width/2,i=a.x<t.x?o-n:o+n,d=r.height/2,k=Math.abs(t.y-a.y),l=Math.abs(t.x-a.x);if(Math.abs(s-t.y)*o>Math.abs(e-t.x)*d){let m=a.y<t.y?t.y-d-s:s-d-t.y;i=l*m/k;let f={x:a.x<t.x?a.x+i:a.x-l+i,y:a.y<t.y?a.y+k-m:a.y-k+m};return i===0&&(f.x=t.x,f.y=t.y),l===0&&(f.x=t.x),k===0&&(f.y=t.y),w.debug(`abc89 top/bottom calc, Q ${k}, q ${m}, R ${l}, r ${i}`,f),f}else{a.x<t.x?i=t.x-o-e:i=e-o-t.x;let m=k*i/l,f=a.x<t.x?a.x+l-i:a.x-l+i,c=a.y<t.y?a.y+m:a.y-m;return w.debug(`sides calc abc89, Q ${k}, q ${m}, R ${l}, r ${i}`,{_x:f,_y:c}),i===0&&(f=t.x,c=t.y),l===0&&(f=t.x),k===0&&(c=t.y),{x:f,y:c}}},"intersection"),vt=p((r,t)=>{w.warn("abc88 cutPathAtIntersect",r,t);let a=[],e=r[0],s=!1;return r.forEach(n=>{if(w.info("abc88 checking point",n,t),!It(t,n)&&!s){let o=Nt(t,e,n);w.debug("abc88 inside",n,e,o),w.debug("abc88 intersection",o,t);let i=!1;a.forEach(d=>{i=i||d.x===o.x&&d.y===o.y}),a.some(d=>d.x===o.x&&d.y===o.y)?w.warn("abc88 no intersect",o,a):a.push(o),s=!0}else w.warn("abc88 outside",n,e),e=n,s||a.push(n)}),w.debug("returning points",a),a},"cutPathAtIntersect");function Et(r){let t=[],a=[];for(let e=1;e<r.length-1;e++){let s=r[e-1],n=r[e],o=r[e+1];(s.x===n.x&&n.y===o.y&&Math.abs(n.x-o.x)>5&&Math.abs(n.y-s.y)>5||s.y===n.y&&n.x===o.x&&Math.abs(n.x-s.x)>5&&Math.abs(n.y-o.y)>5)&&(t.push(n),a.push(e))}return{cornerPoints:t,cornerPointPositions:a}}p(Et,"extractCornerPoints");var Ot=p(function(r,t,a){let e=t.x-r.x,s=t.y-r.y,n=Math.sqrt(e*e+s*s),o=a/n;return{x:t.x-o*e,y:t.y-o*s}},"findAdjacentPoint"),Dt=p(function(r){let{cornerPointPositions:t}=Et(r),a=[];for(let e=0;e<r.length;e++)if(t.includes(e)){let s=r[e-1],n=r[e+1],o=r[e],i=Ot(s,o,5),d=Ot(n,o,5),k=d.x-i.x,l=d.y-i.y;a.push(i);let m=Math.sqrt(2)*2,f={x:o.x,y:o.y};if(Math.abs(n.x-s.x)>10&&Math.abs(n.y-s.y)>=10){w.debug("Corner point fixing",Math.abs(n.x-s.x),Math.abs(n.y-s.y));let c=5;o.x===i.x?f={x:k<0?i.x-c+m:i.x+c-m,y:l<0?i.y-m:i.y+m}:f={x:k<0?i.x-m:i.x+m,y:l<0?i.y-c+m:i.y+c-m}}else w.debug("Corner point skipping fixing",Math.abs(n.x-s.x),Math.abs(n.y-s.y));a.push(f,d)}else a.push(r[e]);return a},"fixCorners"),Qt=p((r,t,a)=>{let e=r-t-a,s=2,n=2,o=s+n,i=Math.floor(e/o),d=Number.isFinite(i)?Math.max(0,i):0,k=Array(d).fill(`${s} ${n}`).join(" ");return`0 ${t} ${k} ${a}`},"generateDashArray"),Yr=p(function(r,t,a,e,s,n,o,i=!1){if(!o)throw new Error(`insertEdge: missing diagramId for edge "${t.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);let{handDrawnSeed:d,layout:k}=Y(),l=t.points,m=!1,f=s;var c=n;let u=[];for(let b in t.cssCompiledStyles)gt(b)||u.push(t.cssCompiledStyles[b]);if(k==="swimlane"){if(c.intersect&&f.intersect&&Array.isArray(l)&&l.length>=2)if(l.length===2)l=[f.intersect(l[0]),c.intersect(l[1])];else{let b=l.slice(1,-1),$=b[0],O=b[b.length-1],E=.5,C=Math.abs(l[l.length-1].x-O.x)<E&&Math.abs(l[l.length-1].y-O.y)<E,H=f.intersect($),B=C?O:c.intersect(O),P=Math.abs(B.x-O.x)<E&&Math.abs(B.y-O.y)<E,Tt=Math.abs(H.x-$.x)<E&&Math.abs(H.y-$.y)<E?[]:[H],Ht=P?[]:[B];l=[...Tt,...b,...Ht]}l=qt(t,l)}else c.intersect&&f.intersect&&!i&&(l=l.slice(1,t.points.length-1),l.unshift(f.intersect(l[0])),l.push(c.intersect(l[l.length-1])));let g=btoa(JSON.stringify(l));t.toCluster&&(w.info("to cluster abc88",a.get(t.toCluster)),l=vt(t.points,a.get(t.toCluster).node),m=!0),t.fromCluster&&(w.debug("from cluster abc88",a.get(t.fromCluster),JSON.stringify(l,null,2)),l=vt(l.reverse(),a.get(t.fromCluster).node).reverse(),m=!0);let h=l.filter(b=>!Number.isNaN(b.y)),M=Pt(t.curve);M!=="rounded"&&(h=Dt(h));let y=G;switch(M){case"linear":y=G;break;case"basis":y=nt;break;case"cardinal":y=dt;break;case"bumpX":y=lt;break;case"bumpY":y=ct;break;case"catmullRom":y=pt;break;case"monotoneX":y=ht;break;case"monotoneY":y=ft;break;case"natural":y=mt;break;case"step":y=kt;break;case"stepAfter":y=yt;break;case"stepBefore":y=ut;break;case"rounded":y=G;break;default:y=nt}let{x:A,y:tt}=Bt(t),q=it().x(A).y(tt).curve(y),S;switch(t.thickness){case"normal":S="edge-thickness-normal";break;case"thick":S="edge-thickness-thick";break;case"invisible":S="edge-thickness-invisible";break;default:S="edge-thickness-normal"}switch(t.pattern){case"solid":S+=" edge-pattern-solid";break;case"dotted":S+=" edge-pattern-dotted";break;case"dashed":S+=" edge-pattern-dashed";break;default:S+=" edge-pattern-solid"}let L,V=M==="rounded"?Ut($t(h,t),5):q(h),U=Array.isArray(t.style)?t.style:[t.style],F=U.find(b=>b?.startsWith("stroke:")),z="";t.animate&&(z="edge-animation-fast"),t.animation&&(z="edge-animation-"+t.animation);let rt=!1;if(t.look==="handDrawn"){let b=Mt.svg(r);Object.assign([],h);let $=b.path(V,{roughness:.3,seed:d});S+=" transition",L=W($).select("path").attr("id",`${o}-${t.id}`).attr("class"," "+S+(t.classes?" "+t.classes:"")+(z?" "+z:"")).attr("style",U?U.reduce((E,C)=>E+";"+C,""):"");let O=L.attr("d");L.attr("d",O),r.node().appendChild(L.node())}else{let b=u.join(";"),$=U?U.reduce((P,R)=>P+R+";",""):"",O=(b?b+";"+$+";":$)+";"+(U?U.reduce((P,R)=>P+";"+R,""):"");L=r.append("path").attr("d",V).attr("id",`${o}-${t.id}`).attr("class"," "+S+(t.classes?" "+t.classes:"")+(z?" "+z:"")).attr("style",O),F=O.match(/stroke:([^;]+)/)?.[1],rt=t.animate===!0||!!t.animation||b.includes("animation");let E=L.node(),C=typeof E.getTotalLength=="function"?E.getTotalLength():0,H=_t[t.arrowTypeStart]||0,B=_t[t.arrowTypeEnd]||0;if(t.look==="neo"&&!rt){let R=`stroke-dasharray: ${t.pattern==="dotted"||t.pattern==="dashed"?Qt(C,H,B):`0 ${H} ${C-H-B} ${B}`}; stroke-dashoffset: 0;`;L.attr("style",R+L.attr("style"))}}L.attr("data-edge",!0),L.attr("data-et","edge"),L.attr("data-id",t.id),L.attr("data-points",g),L.attr("data-look",wt(t.look)),t.showPoints&&h.forEach(b=>{r.append("circle").style("stroke","red").style("fill","red").attr("r",1).attr("cx",b.x).attr("cy",b.y)});let J="";(Y().flowchart.arrowMarkerAbsolute||Y().state.arrowMarkerAbsolute)&&(J=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,J=J.replace(/\(/g,"\\(").replace(/\)/g,"\\)")),w.info("arrowTypeStart",t.arrowTypeStart),w.info("arrowTypeEnd",t.arrowTypeEnd);let Xt=!rt&&t?.look==="neo";At(L,t,J,o,e,Xt,F);let Yt=Math.floor(l.length/2),Wt=l[Yt];T.isLabelCoordinateInPath(Wt,L.attr("d"))||(m=!0);let at={};return m&&(at.updatedPath=l),at.originalPath=t.points,at},"insertEdge");function Ut(r,t){if(r.length<2)return"";let a="",e=r.length,s=1e-5;for(let n=0;n<e;n++){let o=r[n],i=r[n-1],d=r[n+1];if(n===0)a+=`M${o.x},${o.y}`;else if(n===e-1)a+=`L${o.x},${o.y}`;else{let k=o.x-i.x,l=o.y-i.y,m=d.x-o.x,f=d.y-o.y,c=Math.hypot(k,l),u=Math.hypot(m,f);if(c<s||u<s){a+=`L${o.x},${o.y}`;continue}let g=k/c,h=l/c,M=m/u,y=f/u,A=g*M+h*y,tt=Math.max(-1,Math.min(1,A)),q=Math.acos(tt);if(q<s||Math.abs(Math.PI-q)<s){a+=`L${o.x},${o.y}`;continue}let S=Math.min(t/Math.sin(q/2),c/2,u/2),L=o.x-g*S,V=o.y-h*S,U=o.x+M*S,F=o.y+y*S;a+=`L${L},${V}`,a+=`Q${o.x},${o.y} ${U},${F}`}}return a}p(Ut,"generateRoundedPath");function ot(r,t){if(!r||!t)return{angle:0,deltaX:0,deltaY:0};let a=t.x-r.x,e=t.y-r.y;return{angle:Math.atan2(e,a),deltaX:a,deltaY:e}}p(ot,"calculateDeltaAndAngle");function $t(r,t){let a=r.map(s=>({...s}));if(r.length>=2&&v[t.arrowTypeStart]){let s=v[t.arrowTypeStart],n=r[0],o=r[1],{angle:i}=ot(n,o),d=s*Math.cos(i),k=s*Math.sin(i);a[0].x=n.x+d,a[0].y=n.y+k}let e=r.length;if(e>=2&&v[t.arrowTypeEnd]){let s=v[t.arrowTypeEnd],n=r[e-1],o=r[e-2],{angle:i}=ot(o,n),d=s*Math.cos(i),k=s*Math.sin(i);a[e-1].x=n.x-d,a[e-1].y=n.y-k}return a}p($t,"applyMarkerOffsetsToPoints");var Zt=p((r,t,a,e)=>{t.forEach(s=>{yr[s](r,a,e)})},"insertMarkers"),jt=p((r,t,a)=>{w.trace("Making markers for ",a),r.append("defs").append("marker").attr("id",a+"_"+t+"-extensionStart").attr("class","marker extension "+t).attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 1,7 L18,13 V 1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-extensionEnd").attr("class","marker extension "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 1,1 V 13 L18,7 Z"),r.append("marker").attr("id",a+"_"+t+"-extensionStart-margin").attr("class","marker extension "+t).attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,7 18,13 18,1").style("stroke-width",2).style("stroke-dasharray","0"),r.append("defs").append("marker").attr("id",a+"_"+t+"-extensionEnd-margin").attr("class","marker extension "+t).attr("refX",9).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,1 10,13 18,7").style("stroke-width",2).style("stroke-dasharray","0")},"extension"),Vt=p((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-compositionStart").attr("class","marker composition "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-compositionEnd").attr("class","marker composition "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-compositionStart-margin").attr("class","marker composition "+t).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("viewBox","0 0 15 15").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-compositionEnd-margin").attr("class","marker composition "+t).attr("refX",3.5).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),Ft=p((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationStart").attr("class","marker aggregation "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationEnd").attr("class","marker aggregation "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationStart-margin").attr("class","marker aggregation "+t).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationEnd-margin").attr("class","marker aggregation "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),Jt=p((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyStart").attr("class","marker dependency "+t).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyEnd").attr("class","marker dependency "+t).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyStart-margin").attr("class","marker dependency "+t).attr("refX",4).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyEnd-margin").attr("class","marker dependency "+t).attr("refX",16).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),Gt=p((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopStart").attr("class","marker lollipop "+t).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),r.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopEnd").attr("class","marker lollipop "+t).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),r.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopStart-margin").attr("class","marker lollipop "+t).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2),r.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopEnd-margin").attr("class","marker lollipop "+t).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2)},"lollipop"),Kt=p((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-pointEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-pointStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-pointEnd-margin").attr("class","marker "+t).attr("viewBox","0 0 11.5 14").attr("refX",11.5).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10.5).attr("markerHeight",14).attr("orient","auto").append("path").attr("d","M 0 0 L 11.5 7 L 0 14 z").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-pointStart-margin").attr("class","marker "+t).attr("viewBox","0 0 11.5 14").attr("refX",1).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11.5).attr("markerHeight",14).attr("orient","auto").append("polygon").attr("points","0,7 11.5,14 11.5,0").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"point"),tr=p((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-circleEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-circleStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-circleEnd-margin").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refY",5).attr("refX",12.25).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-circleStart-margin").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",-2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"circle"),rr=p((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-crossEnd").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-crossStart").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),r.append("marker").attr("id",a+"_"+t+"-crossEnd-margin").attr("class","marker cross "+t).attr("viewBox","0 0 15 15").attr("refX",17.7).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5),r.append("marker").attr("id",a+"_"+t+"-crossStart-margin").attr("class","marker cross "+t).attr("viewBox","0 0 15 15").attr("refX",-3.5).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5).style("stroke-dasharray","1,0")},"cross"),ar=p((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),er=p((r,t,a)=>{let e=X(),{themeVariables:s}=e,{transitionColor:n}=s;r.append("defs").append("marker").attr("id",a+"_"+t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z"),r.append("defs").append("marker").attr("id",a+"_"+t+"-barbEnd-margin").attr("refX",17).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z").attr("fill",`${n}`)},"barbNeo"),nr=p((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-onlyOneStart").attr("class","marker onlyOne "+t).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M9,0 L9,18 M15,0 L15,18"),r.append("defs").append("marker").attr("id",a+"_"+t+"-onlyOneEnd").attr("class","marker onlyOne "+t).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M3,0 L3,18 M9,0 L9,18")},"only_one"),sr=p((r,t,a)=>{let e=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrOneStart").attr("class","marker zeroOrOne "+t).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");e.append("circle").attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),e.append("path").attr("d","M9,0 L9,18");let s=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+t).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");s.append("circle").attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),s.append("path").attr("d","M21,0 L21,18")},"zero_or_one"),or=p((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-oneOrMoreStart").attr("class","marker oneOrMore "+t).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),r.append("defs").append("marker").attr("id",a+"_"+t+"-oneOrMoreEnd").attr("class","marker oneOrMore "+t).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18")},"one_or_more"),ir=p((r,t,a)=>{let e=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+t).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");e.append("circle").attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),e.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18");let s=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+t).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");s.append("circle").attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),s.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"zero_or_more"),lr=p((r,t,a)=>{let e=X(),{themeVariables:s}=e,{strokeWidth:n}=s;r.append("defs").append("marker").attr("id",a+"_"+t+"-onlyOneStart").attr("class","marker onlyOne "+t).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M9,0 L9,18 M15,0 L15,18").attr("stroke-width",`${n}`),r.append("defs").append("marker").attr("id",a+"_"+t+"-onlyOneEnd").attr("class","marker onlyOne "+t).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M3,0 L3,18 M9,0 L9,18").attr("stroke-width",`${n}`)},"only_one_neo"),cr=p((r,t,a)=>{let e=X(),{themeVariables:s}=e,{strokeWidth:n,mainBkg:o}=s,i=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrOneStart").attr("class","marker zeroOrOne "+t).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse");i.append("circle").attr("fill",o??"white").attr("cx",21).attr("cy",9).attr("stroke-width",`${n}`).attr("r",6),i.append("path").attr("d","M9,0 L9,18").attr("stroke-width",`${n}`);let d=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+t).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("markerUnits","userSpaceOnUse").attr("orient","auto");d.append("circle").attr("fill",o??"white").attr("cx",9).attr("cy",9).attr("stroke-width",`${n}`).attr("r",6),d.append("path").attr("d","M21,0 L21,18").attr("stroke-width",`${n}`)},"zero_or_one_neo"),dr=p((r,t,a)=>{let e=X(),{themeVariables:s}=e,{strokeWidth:n}=s;r.append("defs").append("marker").attr("id",a+"_"+t+"-oneOrMoreStart").attr("class","marker oneOrMore "+t).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width",`${n}`),r.append("defs").append("marker").attr("id",a+"_"+t+"-oneOrMoreEnd").attr("class","marker oneOrMore "+t).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width",`${n}`)},"one_or_more_neo"),pr=p((r,t,a)=>{let e=X(),{themeVariables:s}=e,{strokeWidth:n,mainBkg:o}=s,i=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+t).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("markerUnits","userSpaceOnUse").attr("orient","auto");i.append("circle").attr("fill",o??"white").attr("cx",45.5).attr("cy",18).attr("r",6).attr("stroke-width",`${n}`),i.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width",`${n}`);let d=r.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+t).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto").attr("markerUnits","userSpaceOnUse");d.append("circle").attr("fill",o??"white").attr("cx",11).attr("cy",18).attr("r",6).attr("stroke-width",`${n}`),d.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width",`${n}`)},"zero_or_more_neo"),hr=p((r,t,a)=>{r.append("defs").append("marker").attr("id",a+"_"+t+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("path").attr("d",`M0,0
5
+ L20,10
6
+ M20,10
7
+ L0,20`)},"requirement_arrow"),fr=p((r,t,a)=>{let e=X(),{themeVariables:s}=e,{strokeWidth:n}=s;r.append("defs").append("marker").attr("id",a+"_"+t+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("stroke-width",`${n}`).attr("viewBox","0 0 25 20").append("path").attr("d",`M0,0
8
+ L20,10
9
+ M20,10
10
+ L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),mr=p((r,t,a)=>{let e=r.append("defs").append("marker").attr("id",a+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");e.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),e.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),e.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),kr=p((r,t,a)=>{let e=X(),{themeVariables:s}=e,{strokeWidth:n}=s,o=r.append("defs").append("marker").attr("id",a+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");o.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),o.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),o.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),o.selectAll("*").attr("stroke-width",`${n}`)},"requirement_contains_neo"),ur=p((r,t,a)=>{r.append("marker").attr("id",a+"_"+t+"-hierarchyEnd").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none"),r.append("marker").attr("id",a+"_"+t+"-hierarchyStart").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none")},"hierarchy"),yr={extension:jt,composition:Vt,aggregation:Ft,dependency:Jt,lollipop:Gt,point:Kt,circle:tr,cross:rr,barb:ar,barbNeo:er,hierarchy:ur,only_one:nr,zero_or_one:sr,one_or_more:or,zero_or_more:ir,only_one_neo:lr,zero_or_one_neo:cr,one_or_more_neo:dr,zero_or_more_neo:pr,requirement_arrow:hr,requirement_contains:mr,requirement_arrow_neo:fr,requirement_contains_neo:kr},Wr=Zt;export{v as a,_t as b,K as c,_ as d,Er as e,Ur as f,$r as g,Rt as h,Xr as i,Yr as j,Wr as k};
@@ -0,0 +1 @@
1
+ var g=Object.create;var f=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var j=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var m=(a=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(a,{get:(b,c)=>(typeof require<"u"?require:b)[c]}):a)(function(a){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')});var n=(a,b)=>()=>{try{return b||a((b={exports:{}}).exports,b),b.exports}catch(c){throw b=0,c}};var l=(a,b,c,e)=>{if(b&&typeof b=="object"||typeof b=="function")for(let d of i(b))!k.call(a,d)&&d!==c&&f(a,d,{get:()=>b[d],enumerable:!(e=h(b,d))||e.enumerable});return a};var o=(a,b,c)=>(c=a!=null?g(j(a)):{},l(b||!a||!a.__esModule?f(c,"default",{value:a,enumerable:!0}):c,a));export{m as a,n as b,o as c};
@@ -0,0 +1,32 @@
1
+ import{a as i}from"./chunk-UAGOPMXU.js";function $n(w){return w&&w.__esModule&&Object.prototype.hasOwnProperty.call(w,"default")?w.default:w}i($n,"getDefaultExportFromCjs");var D={},Ye={},oe={},_n;function ge(){if(_n)return oe;_n=1;function w(d){return typeof d>"u"||d===null}i(w,"isNothing");function E(d){return typeof d=="object"&&d!==null}i(E,"isObject");function _(d){return Array.isArray(d)?d:w(d)?[]:[d]}i(_,"toArray");function O(d,p){if(p){let C=Object.keys(p);for(let o=0,u=C.length;o<u;o+=1){let T=C[o];d[T]=p[T]}}return d}i(O,"extend");function h(d,p){let C="";for(let o=0;o<p;o+=1)C+=d;return C}i(h,"repeat");function y(d){return d===0&&Number.NEGATIVE_INFINITY===1/d}return i(y,"isNegativeZero"),oe.isNothing=w,oe.isObject=E,oe.toArray=_,oe.repeat=h,oe.isNegativeZero=y,oe.extend=O,oe}i(ge,"requireCommon");var De,In;function Ae(){if(In)return De;In=1;function w(_,O){let h="",y=_.reason||"(unknown reason)";return _.mark?(_.mark.name&&(h+='in "'+_.mark.name+'" '),h+="("+(_.mark.line+1)+":"+(_.mark.column+1)+")",!O&&_.mark.snippet&&(h+=`
2
+
3
+ `+_.mark.snippet),y+" "+h):y}i(w,"formatError");function E(_,O){Error.call(this),this.name="YAMLException",this.reason=_,this.mark=O,this.message=w(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}return i(E,"YAMLException2"),E.prototype=Object.create(Error.prototype),E.prototype.constructor=E,E.prototype.toString=i(function(O){return this.name+": "+w(this,O)},"toString"),De=E,De}i(Ae,"requireException");var Be,kn;function Zn(){if(kn)return Be;kn=1;let w=ge();function E(h,y,d,p,C){let o="",u="",T=Math.floor(C/2)-1;return p-y>T&&(o=" ... ",y=p-T+o.length),d-p>T&&(u=" ...",d=p+T-u.length),{str:o+h.slice(y,d).replace(/\t/g,"\u2192")+u,pos:p-y+o.length}}i(E,"getLine");function _(h,y){return w.repeat(" ",y-h.length)+h}i(_,"padStart");function O(h,y){if(y=Object.create(y||null),!h.buffer)return null;y.maxLength||(y.maxLength=79),typeof y.indent!="number"&&(y.indent=1),typeof y.linesBefore!="number"&&(y.linesBefore=3),typeof y.linesAfter!="number"&&(y.linesAfter=2);let d=/\r?\n|\r|\0/g,p=[0],C=[],o,u=-1;for(;o=d.exec(h.buffer);)C.push(o.index),p.push(o.index+o[0].length),h.position<=o.index&&u<0&&(u=p.length-2);u<0&&(u=p.length-1);let T="",v=Math.min(h.line+y.linesAfter,C.length).toString().length,M=y.maxLength-(y.indent+v+3);for(let F=1;F<=y.linesBefore&&!(u-F<0);F++){let K=E(h.buffer,p[u-F],C[u-F],h.position-(p[u]-p[u-F]),M);T=w.repeat(" ",y.indent)+_((h.line-F+1).toString(),v)+" | "+K.str+`
4
+ `+T}let Z=E(h.buffer,p[u],C[u],h.position,M);T+=w.repeat(" ",y.indent)+_((h.line+1).toString(),v)+" | "+Z.str+`
5
+ `,T+=w.repeat("-",y.indent+v+3+Z.pos)+`^
6
+ `;for(let F=1;F<=y.linesAfter&&!(u+F>=C.length);F++){let K=E(h.buffer,p[u+F],C[u+F],h.position-(p[u]-p[u+F]),M);T+=w.repeat(" ",y.indent)+_((h.line+F+1).toString(),v)+" | "+K.str+`
7
+ `}return T.replace(/\n$/,"")}return i(O,"makeSnippet"),Be=O,Be}i(Zn,"requireSnippet");var He,Ln;function B(){if(Ln)return He;Ln=1;let w=Ae(),E=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],_=["scalar","sequence","mapping"];function O(y){let d={};return y!==null&&Object.keys(y).forEach(function(p){y[p].forEach(function(C){d[String(C)]=p})}),d}i(O,"compileStyleAliases");function h(y,d){if(d=d||{},Object.keys(d).forEach(function(p){if(E.indexOf(p)===-1)throw new w('Unknown option "'+p+'" is met in definition of "'+y+'" YAML type.')}),this.options=d,this.tag=y,this.kind=d.kind||null,this.resolve=d.resolve||function(){return!0},this.construct=d.construct||function(p){return p},this.instanceOf=d.instanceOf||null,this.predicate=d.predicate||null,this.represent=d.represent||null,this.representName=d.representName||null,this.defaultStyle=d.defaultStyle||null,this.multi=d.multi||!1,this.styleAliases=O(d.styleAliases||null),_.indexOf(this.kind)===-1)throw new w('Unknown kind "'+this.kind+'" is specified for "'+y+'" YAML type.')}return i(h,"Type2"),He=h,He}i(B,"requireType");var je,On;function un(){if(On)return je;On=1;let w=Ae(),E=B();function _(y,d){let p=[];return y[d].forEach(function(C){let o=p.length;p.forEach(function(u,T){u.tag===C.tag&&u.kind===C.kind&&u.multi===C.multi&&(o=T)}),p[o]=C}),p}i(_,"compileList");function O(){let y={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function d(p){p.multi?(y.multi[p.kind].push(p),y.multi.fallback.push(p)):y[p.kind][p.tag]=y.fallback[p.tag]=p}i(d,"collectType");for(let p=0,C=arguments.length;p<C;p+=1)arguments[p].forEach(d);return y}i(O,"compileMap");function h(y){return this.extend(y)}return i(h,"Schema2"),h.prototype.extend=i(function(d){let p=[],C=[];if(d instanceof E)C.push(d);else if(Array.isArray(d))C=C.concat(d);else if(d&&(Array.isArray(d.implicit)||Array.isArray(d.explicit)))d.implicit&&(p=p.concat(d.implicit)),d.explicit&&(C=C.concat(d.explicit));else throw new w("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");p.forEach(function(u){if(!(u instanceof E))throw new w("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(u.loadKind&&u.loadKind!=="scalar")throw new w("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(u.multi)throw new w("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),C.forEach(function(u){if(!(u instanceof E))throw new w("Specified list of YAML types (or a single Type object) contains a non-Type object.")});let o=Object.create(h.prototype);return o.implicit=(this.implicit||[]).concat(p),o.explicit=(this.explicit||[]).concat(C),o.compiledImplicit=_(o,"implicit"),o.compiledExplicit=_(o,"explicit"),o.compiledTypeMap=O(o.compiledImplicit,o.compiledExplicit),o},"extend"),je=h,je}i(un,"requireSchema");var Ue,vn;function fn(){if(vn)return Ue;vn=1;let w=B();return Ue=new w("tag:yaml.org,2002:str",{kind:"scalar",construct:i(function(E){return E!==null?E:""},"construct")}),Ue}i(fn,"requireStr");var Ke,Nn;function an(){if(Nn)return Ke;Nn=1;let w=B();return Ke=new w("tag:yaml.org,2002:seq",{kind:"sequence",construct:i(function(E){return E!==null?E:[]},"construct")}),Ke}i(an,"requireSeq");var Ge,Mn;function pn(){if(Mn)return Ge;Mn=1;let w=B();return Ge=new w("tag:yaml.org,2002:map",{kind:"mapping",construct:i(function(E){return E!==null?E:{}},"construct")}),Ge}i(pn,"requireMap");var We,Rn;function sn(){if(Rn)return We;Rn=1;let w=un();return We=new w({explicit:[fn(),an(),pn()]}),We}i(sn,"requireFailsafe");var Qe,qn;function hn(){if(qn)return Qe;qn=1;let w=B();function E(h){if(h===null)return!0;let y=h.length;return y===1&&h==="~"||y===4&&(h==="null"||h==="Null"||h==="NULL")}i(E,"resolveYamlNull");function _(){return null}i(_,"constructYamlNull");function O(h){return h===null}return i(O,"isNull"),Qe=new w("tag:yaml.org,2002:null",{kind:"scalar",resolve:E,construct:_,predicate:O,represent:{canonical:i(function(){return"~"},"canonical"),lowercase:i(function(){return"null"},"lowercase"),uppercase:i(function(){return"NULL"},"uppercase"),camelcase:i(function(){return"Null"},"camelcase"),empty:i(function(){return""},"empty")},defaultStyle:"lowercase"}),Qe}i(hn,"require_null");var Ve,Fn;function dn(){if(Fn)return Ve;Fn=1;let w=B();function E(h){if(h===null)return!1;let y=h.length;return y===4&&(h==="true"||h==="True"||h==="TRUE")||y===5&&(h==="false"||h==="False"||h==="FALSE")}i(E,"resolveYamlBoolean");function _(h){return h==="true"||h==="True"||h==="TRUE"}i(_,"constructYamlBoolean");function O(h){return Object.prototype.toString.call(h)==="[object Boolean]"}return i(O,"isBoolean"),Ve=new w("tag:yaml.org,2002:bool",{kind:"scalar",resolve:E,construct:_,predicate:O,represent:{lowercase:i(function(h){return h?"true":"false"},"lowercase"),uppercase:i(function(h){return h?"TRUE":"FALSE"},"uppercase"),camelcase:i(function(h){return h?"True":"False"},"camelcase")},defaultStyle:"lowercase"}),Ve}i(dn,"requireBool");var Je,Yn;function mn(){if(Yn)return Je;Yn=1;let w=ge(),E=B();function _(o){return o>=48&&o<=57||o>=65&&o<=70||o>=97&&o<=102}i(_,"isHexCode");function O(o){return o>=48&&o<=55}i(O,"isOctCode");function h(o){return o>=48&&o<=57}i(h,"isDecCode");function y(o){if(o===null)return!1;let u=o.length,T=0,v=!1;if(!u)return!1;let M=o[T];if((M==="-"||M==="+")&&(M=o[++T]),M==="0"){if(T+1===u)return!0;if(M=o[++T],M==="b"){for(T++;T<u;T++){if(M=o[T],M!=="0"&&M!=="1")return!1;v=!0}return v&&isFinite(d(o))}if(M==="x"){for(T++;T<u;T++){if(!_(o.charCodeAt(T)))return!1;v=!0}return v&&isFinite(d(o))}if(M==="o"){for(T++;T<u;T++){if(!O(o.charCodeAt(T)))return!1;v=!0}return v&&isFinite(d(o))}}for(;T<u;T++){if(!h(o.charCodeAt(T)))return!1;v=!0}return v?isFinite(d(o)):!1}i(y,"resolveYamlInteger");function d(o){let u=o,T=1,v=u[0];if((v==="-"||v==="+")&&(v==="-"&&(T=-1),u=u.slice(1),v=u[0]),u==="0")return 0;if(v==="0"){if(u[1]==="b")return T*parseInt(u.slice(2),2);if(u[1]==="x")return T*parseInt(u.slice(2),16);if(u[1]==="o")return T*parseInt(u.slice(2),8)}return T*parseInt(u,10)}i(d,"parseYamlInteger");function p(o){return d(o)}i(p,"constructYamlInteger");function C(o){return Object.prototype.toString.call(o)==="[object Number]"&&o%1===0&&!w.isNegativeZero(o)}return i(C,"isInteger"),Je=new E("tag:yaml.org,2002:int",{kind:"scalar",resolve:y,construct:p,predicate:C,represent:{binary:i(function(o){return o>=0?"0b"+o.toString(2):"-0b"+o.toString(2).slice(1)},"binary"),octal:i(function(o){return o>=0?"0o"+o.toString(8):"-0o"+o.toString(8).slice(1)},"octal"),decimal:i(function(o){return o.toString(10)},"decimal"),hexadecimal:i(function(o){return o>=0?"0x"+o.toString(16).toUpperCase():"-0x"+o.toString(16).toUpperCase().slice(1)},"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Je}i(mn,"requireInt");var Xe,Pn;function gn(){if(Pn)return Xe;Pn=1;let w=ge(),E=B(),_=new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),O=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function h(o){return o===null||!_.test(o)?!1:isFinite(parseFloat(o,10))?!0:O.test(o)}i(h,"resolveYamlFloat");function y(o){let u=o.toLowerCase(),T=u[0]==="-"?-1:1;return"+-".indexOf(u[0])>=0&&(u=u.slice(1)),u===".inf"?T===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:u===".nan"?NaN:T*parseFloat(u,10)}i(y,"constructYamlFloat");let d=/^[-+]?[0-9]+e/;function p(o,u){if(isNaN(o))switch(u){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===o)switch(u){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===o)switch(u){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(w.isNegativeZero(o))return"-0.0";let T=o.toString(10);return d.test(T)?T.replace("e",".e"):T}i(p,"representYamlFloat");function C(o){return Object.prototype.toString.call(o)==="[object Number]"&&(o%1!==0||w.isNegativeZero(o))}return i(C,"isFloat"),Xe=new E("tag:yaml.org,2002:float",{kind:"scalar",resolve:h,construct:y,predicate:C,represent:p,defaultStyle:"lowercase"}),Xe}i(gn,"requireFloat");var $e,Dn;function An(){return Dn||(Dn=1,$e=sn().extend({implicit:[hn(),dn(),mn(),gn()]})),$e}i(An,"requireJson");var Ze,Bn;function yn(){return Bn||(Bn=1,Ze=An()),Ze}i(yn,"requireCore");var ze,Hn;function Sn(){if(Hn)return ze;Hn=1;let w=B(),E=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),_=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function O(d){return d===null?!1:E.exec(d)!==null||_.exec(d)!==null}i(O,"resolveYamlTimestamp");function h(d){let p=0,C=null,o=E.exec(d);if(o===null&&(o=_.exec(d)),o===null)throw new Error("Date resolve error");let u=+o[1],T=+o[2]-1,v=+o[3];if(!o[4])return new Date(Date.UTC(u,T,v));let M=+o[4],Z=+o[5],F=+o[6];if(o[7]){for(p=o[7].slice(0,3);p.length<3;)p+="0";p=+p}if(o[9]){let z=+o[10],H=+(o[11]||0);C=(z*60+H)*6e4,o[9]==="-"&&(C=-C)}let K=new Date(Date.UTC(u,T,v,M,Z,F,p));return C&&K.setTime(K.getTime()-C),K}i(h,"constructYamlTimestamp");function y(d){return d.toISOString()}return i(y,"representYamlTimestamp"),ze=new w("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:O,construct:h,instanceOf:Date,represent:y}),ze}i(Sn,"requireTimestamp");var en,jn;function Cn(){if(jn)return en;jn=1;let w=B();function E(_){return _==="<<"||_===null}return i(E,"resolveYamlMerge"),en=new w("tag:yaml.org,2002:merge",{kind:"scalar",resolve:E}),en}i(Cn,"requireMerge");var nn,Un;function Tn(){if(Un)return nn;Un=1;let w=B(),E=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
8
+ \r`;function _(d){if(d===null)return!1;let p=0,C=d.length,o=E;for(let u=0;u<C;u++){let T=o.indexOf(d.charAt(u));if(!(T>64)){if(T<0)return!1;p+=6}}return p%8===0}i(_,"resolveYamlBinary");function O(d){let p=d.replace(/[\r\n=]/g,""),C=p.length,o=E,u=0,T=[];for(let M=0;M<C;M++)M%4===0&&M&&(T.push(u>>16&255),T.push(u>>8&255),T.push(u&255)),u=u<<6|o.indexOf(p.charAt(M));let v=C%4*6;return v===0?(T.push(u>>16&255),T.push(u>>8&255),T.push(u&255)):v===18?(T.push(u>>10&255),T.push(u>>2&255)):v===12&&T.push(u>>4&255),new Uint8Array(T)}i(O,"constructYamlBinary");function h(d){let p="",C=0,o=d.length,u=E;for(let v=0;v<o;v++)v%3===0&&v&&(p+=u[C>>18&63],p+=u[C>>12&63],p+=u[C>>6&63],p+=u[C&63]),C=(C<<8)+d[v];let T=o%3;return T===0?(p+=u[C>>18&63],p+=u[C>>12&63],p+=u[C>>6&63],p+=u[C&63]):T===2?(p+=u[C>>10&63],p+=u[C>>4&63],p+=u[C<<2&63],p+=u[64]):T===1&&(p+=u[C>>2&63],p+=u[C<<4&63],p+=u[64],p+=u[64]),p}i(h,"representYamlBinary");function y(d){return Object.prototype.toString.call(d)==="[object Uint8Array]"}return i(y,"isBinary"),nn=new w("tag:yaml.org,2002:binary",{kind:"scalar",resolve:_,construct:O,predicate:y,represent:h}),nn}i(Tn,"requireBinary");var rn,Kn;function wn(){if(Kn)return rn;Kn=1;let w=B(),E=Object.prototype.hasOwnProperty,_=Object.prototype.toString;function O(y){if(y===null)return!0;let d=[],p=y;for(let C=0,o=p.length;C<o;C+=1){let u=p[C],T=!1;if(_.call(u)!=="[object Object]")return!1;let v;for(v in u)if(E.call(u,v))if(!T)T=!0;else return!1;if(!T)return!1;if(d.indexOf(v)===-1)d.push(v);else return!1}return!0}i(O,"resolveYamlOmap");function h(y){return y!==null?y:[]}return i(h,"constructYamlOmap"),rn=new w("tag:yaml.org,2002:omap",{kind:"sequence",resolve:O,construct:h}),rn}i(wn,"requireOmap");var ln,Gn;function xn(){if(Gn)return ln;Gn=1;let w=B(),E=Object.prototype.toString;function _(h){if(h===null)return!0;let y=h,d=new Array(y.length);for(let p=0,C=y.length;p<C;p+=1){let o=y[p];if(E.call(o)!=="[object Object]")return!1;let u=Object.keys(o);if(u.length!==1)return!1;d[p]=[u[0],o[u[0]]]}return!0}i(_,"resolveYamlPairs");function O(h){if(h===null)return[];let y=h,d=new Array(y.length);for(let p=0,C=y.length;p<C;p+=1){let o=y[p],u=Object.keys(o);d[p]=[u[0],o[u[0]]]}return d}return i(O,"constructYamlPairs"),ln=new w("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:_,construct:O}),ln}i(xn,"requirePairs");var on,Wn;function bn(){if(Wn)return on;Wn=1;let w=B(),E=Object.prototype.hasOwnProperty;function _(h){if(h===null)return!0;let y=h;for(let d in y)if(E.call(y,d)&&y[d]!==null)return!1;return!0}i(_,"resolveYamlSet");function O(h){return h!==null?h:{}}return i(O,"constructYamlSet"),on=new w("tag:yaml.org,2002:set",{kind:"mapping",resolve:_,construct:O}),on}i(bn,"requireSet");var tn,Qn;function Pe(){return Qn||(Qn=1,tn=yn().extend({implicit:[Sn(),Cn()],explicit:[Tn(),wn(),xn(),bn()]})),tn}i(Pe,"require_default");var Vn;function zn(){if(Vn)return Ye;Vn=1;let w=ge(),E=Ae(),_=Zn(),O=Pe(),h=Object.prototype.hasOwnProperty,y=1,d=2,p=3,C=4,o=1,u=2,T=3,v=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,M=/[\x85\u2028\u2029]/,Z=/[,\[\]{}]/,F=/^(?:!|!!|![0-9A-Za-z-]+!)$/,K=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function z(e){return Object.prototype.toString.call(e)}i(z,"_class");function H(e){return e===10||e===13}i(H,"isEol");function j(e){return e===9||e===32}i(j,"isWhiteSpace");function P(e){return e===9||e===32||e===10||e===13}i(P,"isWsOrEol");function $(e){return e===44||e===91||e===93||e===123||e===125}i($,"isFlowIndicator");function Ne(e){if(e>=48&&e<=57)return e-48;let r=e|32;return r>=97&&r<=102?r-97+10:-1}i(Ne,"fromHexCode");function Me(e){return e===120?2:e===117?4:e===85?8:0}i(Me,"escapedHexLen");function ye(e){return e>=48&&e<=57?e-48:-1}i(ye,"fromDecimalCode");function ce(e){switch(e){case 48:return"\0";case 97:return"\x07";case 98:return"\b";case 116:return" ";case 9:return" ";case 110:return`
9
+ `;case 118:return"\v";case 102:return"\f";case 114:return"\r";case 101:return"\x1B";case 32:return" ";case 34:return'"';case 47:return"/";case 92:return"\\";case 78:return"\x85";case 95:return"\xA0";case 76:return"\u2028";case 80:return"\u2029";default:return""}}i(ce,"simpleEscapeSequence");function Re(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}i(Re,"charFromCodepoint");function ue(e,r,c){r==="__proto__"?Object.defineProperty(e,r,{configurable:!0,enumerable:!0,writable:!0,value:c}):e[r]=c}i(ue,"setProperty");let qe=new Array(256),Se=new Array(256);for(let e=0;e<256;e++)qe[e]=ce(e)?1:0,Se[e]=ce(e);function Y(e,r){this.input=e,this.filename=r.filename||null,this.schema=r.schema||O,this.onWarning=r.onWarning||null,this.legacy=r.legacy||!1,this.json=r.json||!1,this.listener=r.listener||null,this.maxDepth=typeof r.maxDepth=="number"?r.maxDepth:100,this.maxTotalMergeKeys=typeof r.maxTotalMergeKeys=="number"?r.maxTotalMergeKeys:1e4,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.depth=0,this.totalMergeKeys=0,this.firstTabInLine=-1,this.documents=[],this.anchorMapTransactions=[]}i(Y,"State");function Ce(e,r){let c={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return c.snippet=_(c),new E(r,c)}i(Ce,"generateError");function I(e,r){throw Ce(e,r)}i(I,"throwError");function ee(e,r){e.onWarning&&e.onWarning.call(null,Ce(e,r))}i(ee,"throwWarning");function G(e,r,c){let s=e.anchorMapTransactions;if(s.length!==0){let t=s[s.length-1];h.call(t,r)||(t[r]={existed:h.call(e.anchorMap,r),value:e.anchorMap[r]})}e.anchorMap[r]=c}i(G,"storeAnchor");function Fe(e){e.anchorMapTransactions.push(Object.create(null))}i(Fe,"beginAnchorTransaction");function ne(e){let r=e.anchorMapTransactions.pop(),c=e.anchorMapTransactions;if(c.length===0)return;let s=c[c.length-1],t=Object.keys(r);for(let S=0,n=t.length;S<n;S+=1){let l=t[S];h.call(s,l)||(s[l]=r[l])}}i(ne,"commitAnchorTransaction");function Te(e){let r=e.anchorMapTransactions.pop(),c=Object.keys(r);for(let s=c.length-1;s>=0;s-=1){let t=r[c[s]];t.existed?e.anchorMap[c[s]]=t.value:delete e.anchorMap[c[s]]}}i(Te,"rollbackAnchorTransaction");function te(e){return{position:e.position,line:e.line,lineStart:e.lineStart,lineIndent:e.lineIndent,firstTabInLine:e.firstTabInLine,tag:e.tag,anchor:e.anchor,kind:e.kind,result:e.result}}i(te,"snapshotState");function ie(e,r){e.position=r.position,e.line=r.line,e.lineStart=r.lineStart,e.lineIndent=r.lineIndent,e.firstTabInLine=r.firstTabInLine,e.tag=r.tag,e.anchor=r.anchor,e.kind=r.kind,e.result=r.result}i(ie,"restoreState");let we={YAML:i(function(r,c,s){r.version!==null&&I(r,"duplication of %YAML directive"),s.length!==1&&I(r,"YAML directive accepts exactly one argument");let t=/^([0-9]+)\.([0-9]+)$/.exec(s[0]);t===null&&I(r,"ill-formed argument of the YAML directive");let S=parseInt(t[1],10),n=parseInt(t[2],10);S!==1&&I(r,"unacceptable YAML version of the document"),r.version=s[0],r.checkLineBreaks=n<2,n!==1&&n!==2&&ee(r,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:i(function(r,c,s){let t;s.length!==2&&I(r,"TAG directive accepts exactly two arguments");let S=s[0];t=s[1],F.test(S)||I(r,"ill-formed tag handle (first argument) of the TAG directive"),h.call(r.tagMap,S)&&I(r,'there is a previously declared suffix for "'+S+'" tag handle'),K.test(t)||I(r,"ill-formed tag prefix (second argument) of the TAG directive");try{t=decodeURIComponent(t)}catch{I(r,"tag prefix is malformed: "+t)}r.tagMap[S]=t},"handleTagDirective")};function U(e,r,c,s){if(r<c){let t=e.input.slice(r,c);if(s)for(let S=0,n=t.length;S<n;S+=1){let l=t.charCodeAt(S);l===9||l>=32&&l<=1114111||I(e,"expected valid JSON character")}else v.test(t)&&I(e,"the stream contains non-printable characters");e.result+=t}}i(U,"captureSegment");function J(e,r,c,s){w.isObject(c)||I(e,"cannot merge mappings; the provided source object is unacceptable");let t=Object.keys(c);for(let S=0,n=t.length;S<n;S+=1){let l=t[S];e.maxTotalMergeKeys!==-1&&++e.totalMergeKeys>e.maxTotalMergeKeys&&I(e,"merge keys exceeded maxTotalMergeKeys ("+e.maxTotalMergeKeys+")"),h.call(r,l)||(ue(r,l,c[l]),s[l]=!0)}}i(J,"mergeMappings");function W(e,r,c,s,t,S,n,l,g){if(Array.isArray(t)){t=Array.prototype.slice.call(t);for(let f=0,a=t.length;f<a;f+=1)Array.isArray(t[f])&&I(e,"nested arrays are not supported inside keys"),typeof t=="object"&&z(t[f])==="[object Object]"&&(t[f]="[object Object]")}if(typeof t=="object"&&z(t)==="[object Object]"&&(t="[object Object]"),t=String(t),r===null&&(r={}),s==="tag:yaml.org,2002:merge")if(Array.isArray(S))for(let f=0,a=S.length;f<a;f+=1)J(e,r,S[f],c);else J(e,r,S,c);else!e.json&&!h.call(c,t)&&h.call(r,t)&&(e.line=n||e.line,e.lineStart=l||e.lineStart,e.position=g||e.position,I(e,"duplicated mapping key")),ue(r,t,S),delete c[t];return r}i(W,"storeMappingPair");function re(e){let r=e.input.charCodeAt(e.position);r===10?e.position++:r===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):I(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}i(re,"readLineBreak");function q(e,r,c){let s=0,t=e.input.charCodeAt(e.position);for(;t!==0;){for(;j(t);)t===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),t=e.input.charCodeAt(++e.position);if(r&&t===35)do t=e.input.charCodeAt(++e.position);while(t!==10&&t!==13&&t!==0);if(H(t))for(re(e),t=e.input.charCodeAt(e.position),s++,e.lineIndent=0;t===32;)e.lineIndent++,t=e.input.charCodeAt(++e.position);else break}return c!==-1&&s!==0&&e.lineIndent<c&&ee(e,"deficient indentation"),s}i(q,"skipSeparationSpace");function le(e){let r=e.position,c=e.input.charCodeAt(r);return!!((c===45||c===46)&&c===e.input.charCodeAt(r+1)&&c===e.input.charCodeAt(r+2)&&(r+=3,c=e.input.charCodeAt(r),c===0||P(c)))}i(le,"testDocumentSeparator");function Q(e,r){r===1?e.result+=" ":r>1&&(e.result+=w.repeat(`
10
+ `,r-1))}i(Q,"writeFoldedLines");function fe(e,r,c){let s,t,S,n,l,g,f=e.kind,a=e.result,A=e.input.charCodeAt(e.position);if(P(A)||$(A)||A===35||A===38||A===42||A===33||A===124||A===62||A===39||A===34||A===37||A===64||A===96)return!1;if(A===63||A===45){let m=e.input.charCodeAt(e.position+1);if(P(m)||c&&$(m))return!1}for(e.kind="scalar",e.result="",s=t=e.position,S=!1;A!==0;){if(A===58){let m=e.input.charCodeAt(e.position+1);if(P(m)||c&&$(m))break}else if(A===35){let m=e.input.charCodeAt(e.position-1);if(P(m))break}else{if(e.position===e.lineStart&&le(e)||c&&$(A))break;if(H(A))if(n=e.line,l=e.lineStart,g=e.lineIndent,q(e,!1,-1),e.lineIndent>=r){S=!0,A=e.input.charCodeAt(e.position);continue}else{e.position=t,e.line=n,e.lineStart=l,e.lineIndent=g;break}}S&&(U(e,s,t,!1),Q(e,e.line-n),s=t=e.position,S=!1),j(A)||(t=e.position+1),A=e.input.charCodeAt(++e.position)}return U(e,s,t,!1),e.result?!0:(e.kind=f,e.result=a,!1)}i(fe,"readPlainScalar");function xe(e,r){let c,s,t=e.input.charCodeAt(e.position);if(t!==39)return!1;for(e.kind="scalar",e.result="",e.position++,c=s=e.position;(t=e.input.charCodeAt(e.position))!==0;)if(t===39)if(U(e,c,e.position,!0),t=e.input.charCodeAt(++e.position),t===39)c=e.position,e.position++,s=e.position;else return!0;else H(t)?(U(e,c,s,!0),Q(e,q(e,!1,r)),c=s=e.position):e.position===e.lineStart&&le(e)?I(e,"unexpected end of the document within a single quoted scalar"):(e.position++,j(t)||(s=e.position));I(e,"unexpected end of the stream within a single quoted scalar")}i(xe,"readSingleQuotedScalar");function ae(e,r){let c,s,t,S=e.input.charCodeAt(e.position);if(S!==34)return!1;for(e.kind="scalar",e.result="",e.position++,c=s=e.position;(S=e.input.charCodeAt(e.position))!==0;){if(S===34)return U(e,c,e.position,!0),e.position++,!0;if(S===92){if(U(e,c,e.position,!0),S=e.input.charCodeAt(++e.position),H(S))q(e,!1,r);else if(S<256&&qe[S])e.result+=Se[S],e.position++;else if((t=Me(S))>0){let n=t,l=0;for(;n>0;n--)S=e.input.charCodeAt(++e.position),(t=Ne(S))>=0?l=(l<<4)+t:I(e,"expected hexadecimal character");e.result+=Re(l),e.position++}else I(e,"unknown escape sequence");c=s=e.position}else H(S)?(U(e,c,s,!0),Q(e,q(e,!1,r)),c=s=e.position):e.position===e.lineStart&&le(e)?I(e,"unexpected end of the document within a double quoted scalar"):(e.position++,j(S)||(s=e.position))}I(e,"unexpected end of the stream within a double quoted scalar")}i(ae,"readDoubleQuotedScalar");function be(e,r){let c=!0,s,t,S,n=e.tag,l,g=e.anchor,f,a,A,m,b=Object.create(null),x,k,L,N=e.input.charCodeAt(e.position);if(N===91)f=93,m=!1,l=[];else if(N===123)f=125,m=!0,l={};else return!1;for(e.anchor!==null&&G(e,e.anchor,l),N=e.input.charCodeAt(++e.position);N!==0;){if(q(e,!0,r),N=e.input.charCodeAt(e.position),N===f)return e.position++,e.tag=n,e.anchor=g,e.kind=m?"mapping":"sequence",e.result=l,!0;if(c?N===44&&I(e,"expected the node content, but found ','"):I(e,"missed comma between flow collection entries"),k=x=L=null,a=A=!1,N===63){let R=e.input.charCodeAt(e.position+1);P(R)&&(a=A=!0,e.position++,q(e,!0,r))}s=e.line,t=e.lineStart,S=e.position,V(e,r,y,!1,!0),k=e.tag,x=e.result,q(e,!0,r),N=e.input.charCodeAt(e.position),(A||e.line===s)&&N===58&&(a=!0,N=e.input.charCodeAt(++e.position),q(e,!0,r),V(e,r,y,!1,!0),L=e.result),m?W(e,l,b,k,x,L,s,t,S):a?l.push(W(e,null,b,k,x,L,s,t,S)):l.push(x),q(e,!0,r),N=e.input.charCodeAt(e.position),N===44?(c=!0,N=e.input.charCodeAt(++e.position)):c=!1}I(e,"unexpected end of the stream within a flow collection")}i(be,"readFlowCollection");function Ee(e,r){let c,s=o,t=!1,S=!1,n=r,l=0,g=!1,f,a=e.input.charCodeAt(e.position);if(a===124)c=!1;else if(a===62)c=!0;else return!1;for(e.kind="scalar",e.result="";a!==0;)if(a=e.input.charCodeAt(++e.position),a===43||a===45)o===s?s=a===43?T:u:I(e,"repeat of a chomping mode identifier");else if((f=ye(a))>=0)f===0?I(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):S?I(e,"repeat of an indentation width identifier"):(n=r+f-1,S=!0);else break;if(j(a)){do a=e.input.charCodeAt(++e.position);while(j(a));if(a===35)do a=e.input.charCodeAt(++e.position);while(!H(a)&&a!==0)}for(;a!==0;){for(re(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!S||e.lineIndent<n)&&a===32;)e.lineIndent++,a=e.input.charCodeAt(++e.position);if(!S&&e.lineIndent>n&&(n=e.lineIndent),H(a)){l++;continue}if(!S&&n===0&&I(e,"missing indentation for block scalar"),e.lineIndent<n){s===T?e.result+=w.repeat(`
11
+ `,t?1+l:l):s===o&&t&&(e.result+=`
12
+ `);break}c?j(a)?(g=!0,e.result+=w.repeat(`
13
+ `,t?1+l:l)):g?(g=!1,e.result+=w.repeat(`
14
+ `,l+1)):l===0?t&&(e.result+=" "):e.result+=w.repeat(`
15
+ `,l):e.result+=w.repeat(`
16
+ `,t?1+l:l),t=!0,S=!0,l=0;let A=e.position;for(;!H(a)&&a!==0;)a=e.input.charCodeAt(++e.position);U(e,A,e.position,!1)}return!0}i(Ee,"readBlockScalar");function X(e,r){let c=e.tag,s=e.anchor,t=[],S=!1;if(e.firstTabInLine!==-1)return!1;e.anchor!==null&&G(e,e.anchor,t);let n=e.input.charCodeAt(e.position);for(;n!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,I(e,"tab characters must not be used in indentation")),n===45);){let l=e.input.charCodeAt(e.position+1);if(!P(l))break;if(S=!0,e.position++,q(e,!0,-1)&&e.lineIndent<=r){t.push(null),n=e.input.charCodeAt(e.position);continue}let g=e.line;if(V(e,r,p,!1,!0),t.push(e.result),q(e,!0,-1),n=e.input.charCodeAt(e.position),(e.line===g||e.lineIndent>r)&&n!==0)I(e,"bad indentation of a sequence entry");else if(e.lineIndent<r)break}return S?(e.tag=c,e.anchor=s,e.kind="sequence",e.result=t,!0):!1}i(X,"readBlockSequence");function pe(e,r,c){let s,t,S,n,l=e.tag,g=e.anchor,f={},a=Object.create(null),A=null,m=null,b=null,x=!1,k=!1;if(e.firstTabInLine!==-1)return!1;e.anchor!==null&&G(e,e.anchor,f);let L=e.input.charCodeAt(e.position);for(;L!==0;){!x&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,I(e,"tab characters must not be used in indentation"));let N=e.input.charCodeAt(e.position+1),R=e.line;if((L===63||L===58)&&P(N))L===63?(x&&(W(e,f,a,A,m,null,t,S,n),A=m=b=null),k=!0,x=!0,s=!0):x?(x=!1,s=!0):I(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,L=N;else{if(t=e.line,S=e.lineStart,n=e.position,!V(e,c,d,!1,!0))break;if(e.line===R){for(L=e.input.charCodeAt(e.position);j(L);)L=e.input.charCodeAt(++e.position);if(L===58)L=e.input.charCodeAt(++e.position),P(L)||I(e,"a whitespace character is expected after the key-value separator within a block mapping"),x&&(W(e,f,a,A,m,null,t,S,n),A=m=b=null),k=!0,x=!1,s=!1,A=e.tag,m=e.result;else if(k)I(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=l,e.anchor=g,!0}else if(k)I(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=l,e.anchor=g,!0}if((e.line===R||e.lineIndent>r)&&(x&&(t=e.line,S=e.lineStart,n=e.position),V(e,r,C,!0,s)&&(x?m=e.result:b=e.result),x||(W(e,f,a,A,m,b,t,S,n),A=m=b=null),q(e,!0,-1),L=e.input.charCodeAt(e.position)),(e.line===R||e.lineIndent>r)&&L!==0)I(e,"bad indentation of a mapping entry");else if(e.lineIndent<r)break}return x&&W(e,f,a,A,m,null,t,S,n),k&&(e.tag=l,e.anchor=g,e.kind="mapping",e.result=f),k}i(pe,"readBlockMapping");function _e(e){let r=!1,c=!1,s,t,S=e.input.charCodeAt(e.position);if(S!==33)return!1;e.tag!==null&&I(e,"duplication of a tag property"),S=e.input.charCodeAt(++e.position),S===60?(r=!0,S=e.input.charCodeAt(++e.position)):S===33?(c=!0,s="!!",S=e.input.charCodeAt(++e.position)):s="!";let n=e.position;if(r){do S=e.input.charCodeAt(++e.position);while(S!==0&&S!==62);e.position<e.length?(t=e.input.slice(n,e.position),S=e.input.charCodeAt(++e.position)):I(e,"unexpected end of the stream within a verbatim tag")}else{for(;S!==0&&!P(S);)S===33&&(c?I(e,"tag suffix cannot contain exclamation marks"):(s=e.input.slice(n-1,e.position+1),F.test(s)||I(e,"named tag handle cannot contain such characters"),c=!0,n=e.position+1)),S=e.input.charCodeAt(++e.position);t=e.input.slice(n,e.position),Z.test(t)&&I(e,"tag suffix cannot contain flow indicator characters")}t&&!K.test(t)&&I(e,"tag name cannot contain such characters: "+t);try{t=decodeURIComponent(t)}catch{I(e,"tag name is malformed: "+t)}return r?e.tag=t:h.call(e.tagMap,s)?e.tag=e.tagMap[s]+t:s==="!"?e.tag="!"+t:s==="!!"?e.tag="tag:yaml.org,2002:"+t:I(e,'undeclared tag handle "'+s+'"'),!0}i(_e,"readTagProperty");function se(e){let r=e.input.charCodeAt(e.position);if(r!==38)return!1;e.anchor!==null&&I(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position);let c=e.position;for(;r!==0&&!P(r)&&!$(r);)r=e.input.charCodeAt(++e.position);return e.position===c&&I(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(c,e.position),!0}i(se,"readAnchorProperty");function he(e){let r=e.input.charCodeAt(e.position);if(r!==42)return!1;r=e.input.charCodeAt(++e.position);let c=e.position;for(;r!==0&&!P(r)&&!$(r);)r=e.input.charCodeAt(++e.position);e.position===c&&I(e,"name of an alias node must contain at least one character");let s=e.input.slice(c,e.position);return h.call(e.anchorMap,s)||I(e,'unidentified alias "'+s+'"'),e.result=e.anchorMap[s],q(e,!0,-1),!0}i(he,"readAlias");function Ie(e,r,c,s){let t=te(e);return Fe(e),ie(e,r),e.tag=null,e.anchor=null,e.kind=null,e.result=null,pe(e,c,s)&&e.kind==="mapping"?(ne(e),!0):(Te(e),ie(e,t),!1)}i(Ie,"tryReadBlockMappingFromProperty");function V(e,r,c,s,t){let S,n,l=1,g=!1,f=!1,a=null,A,m,b;e.depth>=e.maxDepth&&I(e,"nesting exceeded maxDepth ("+e.maxDepth+")"),e.depth+=1,e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null;let x=S=n=C===c||p===c;if(s&&q(e,!0,-1)&&(g=!0,e.lineIndent>r?l=1:e.lineIndent===r?l=0:e.lineIndent<r&&(l=-1)),l===1)for(;;){let k=e.input.charCodeAt(e.position),L=te(e);if(g&&(k===33&&e.tag!==null||k===38&&e.anchor!==null)||!_e(e)&&!se(e))break;a===null&&(a=L),q(e,!0,-1)?(g=!0,n=x,e.lineIndent>r?l=1:e.lineIndent===r?l=0:e.lineIndent<r&&(l=-1)):n=!1}if(n&&(n=g||t),l===1||C===c)if(y===c||d===c?m=r:m=r+1,b=e.position-e.lineStart,l===1)if(n&&(X(e,b)||pe(e,b,m))||be(e,m))f=!0;else{let k=e.input.charCodeAt(e.position);a!==null&&x&&!n&&k!==124&&k!==62&&Ie(e,a,a.position-a.lineStart,m)||S&&Ee(e,m)||xe(e,m)||ae(e,m)?f=!0:he(e)?(f=!0,(e.tag!==null||e.anchor!==null)&&I(e,"alias node should not have any properties")):fe(e,m,y===c)&&(f=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&G(e,e.anchor,e.result)}else l===0&&(f=n&&X(e,b));if(e.tag===null)e.anchor!==null&&G(e,e.anchor,e.result);else if(e.tag==="?"){e.result!==null&&e.kind!=="scalar"&&I(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"');for(let k=0,L=e.implicitTypes.length;k<L;k+=1)if(A=e.implicitTypes[k],A.resolve(e.result)){e.result=A.construct(e.result),e.tag=A.tag,e.anchor!==null&&G(e,e.anchor,e.result);break}}else if(e.tag!=="!"){if(h.call(e.typeMap[e.kind||"fallback"],e.tag))A=e.typeMap[e.kind||"fallback"][e.tag];else{A=null;let k=e.typeMap.multi[e.kind||"fallback"];for(let L=0,N=k.length;L<N;L+=1)if(e.tag.slice(0,k[L].tag.length)===k[L].tag){A=k[L];break}}A||I(e,"unknown tag !<"+e.tag+">"),e.result!==null&&A.kind!==e.kind&&I(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+A.kind+'", not "'+e.kind+'"'),A.resolve(e.result,e.tag)?(e.result=A.construct(e.result,e.tag),e.anchor!==null&&G(e,e.anchor,e.result)):I(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.depth-=1,e.tag!==null||e.anchor!==null||f}i(V,"composeNode");function ke(e){let r=e.position,c=!1,s;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(s=e.input.charCodeAt(e.position))!==0&&(q(e,!0,-1),s=e.input.charCodeAt(e.position),!(e.lineIndent>0||s!==37));){c=!0,s=e.input.charCodeAt(++e.position);let t=e.position;for(;s!==0&&!P(s);)s=e.input.charCodeAt(++e.position);let S=e.input.slice(t,e.position),n=[];for(S.length<1&&I(e,"directive name must not be less than one character in length");s!==0;){for(;j(s);)s=e.input.charCodeAt(++e.position);if(s===35){do s=e.input.charCodeAt(++e.position);while(s!==0&&!H(s));break}if(H(s))break;for(t=e.position;s!==0&&!P(s);)s=e.input.charCodeAt(++e.position);n.push(e.input.slice(t,e.position))}s!==0&&re(e),h.call(we,S)?we[S](e,S,n):ee(e,'unknown document directive "'+S+'"')}if(q(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,q(e,!0,-1)):c&&I(e,"directives end mark is expected"),V(e,e.lineIndent-1,C,!1,!0),q(e,!0,-1),e.checkLineBreaks&&M.test(e.input.slice(r,e.position))&&ee(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&le(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,q(e,!0,-1));return}e.position<e.length-1&&I(e,"end of the stream or a document separator is expected")}i(ke,"readDocument");function de(e,r){e=String(e),r=r||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=`
17
+ `),e.charCodeAt(0)===65279&&(e=e.slice(1)));let c=new Y(e,r),s=e.indexOf("\0");for(s!==-1&&(c.position=s,I(c,"null byte is not allowed in input")),c.input+="\0";c.input.charCodeAt(c.position)===32;)c.lineIndent+=1,c.position+=1;for(;c.position<c.length-1;)ke(c);return c.documents}i(de,"loadDocuments");function me(e,r,c){r!==null&&typeof r=="object"&&typeof c>"u"&&(c=r,r=null);let s=de(e,c);if(typeof r!="function")return s;for(let t=0,S=s.length;t<S;t+=1)r(s[t])}i(me,"loadAll2");function Le(e,r){let c=de(e,r);if(c.length!==0){if(c.length===1)return c[0];throw new E("expected a single document in the stream, but found more")}}return i(Le,"load2"),Ye.loadAll=me,Ye.load=Le,Ye}i(zn,"requireLoader");var cn={},Jn;function ei(){if(Jn)return cn;Jn=1;let w=ge(),E=Ae(),_=Pe(),O=Object.prototype.toString,h=Object.prototype.hasOwnProperty,y=65279,d=9,p=10,C=13,o=32,u=33,T=34,v=35,M=37,Z=38,F=39,K=42,z=44,H=45,j=58,P=61,$=62,Ne=63,Me=64,ye=91,ce=93,Re=96,ue=123,qe=124,Se=125,Y={};Y[0]="\\0",Y[7]="\\a",Y[8]="\\b",Y[9]="\\t",Y[10]="\\n",Y[11]="\\v",Y[12]="\\f",Y[13]="\\r",Y[27]="\\e",Y[34]='\\"',Y[92]="\\\\",Y[133]="\\N",Y[160]="\\_",Y[8232]="\\L",Y[8233]="\\P";let Ce=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],I=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function ee(n,l){if(l===null)return{};let g={},f=Object.keys(l);for(let a=0,A=f.length;a<A;a+=1){let m=f[a],b=String(l[m]);m.slice(0,2)==="!!"&&(m="tag:yaml.org,2002:"+m.slice(2));let x=n.compiledTypeMap.fallback[m];x&&h.call(x.styleAliases,b)&&(b=x.styleAliases[b]),g[m]=b}return g}i(ee,"compileStyleMap");function G(n){let l,g,f=n.toString(16).toUpperCase();if(n<=255)l="x",g=2;else if(n<=65535)l="u",g=4;else if(n<=4294967295)l="U",g=8;else throw new E("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+l+w.repeat("0",g-f.length)+f}i(G,"encodeHex");let Fe=1,ne=2;function Te(n){this.schema=n.schema||_,this.indent=Math.max(1,n.indent||2),this.noArrayIndent=n.noArrayIndent||!1,this.skipInvalid=n.skipInvalid||!1,this.flowLevel=w.isNothing(n.flowLevel)?-1:n.flowLevel,this.styleMap=ee(this.schema,n.styles||null),this.sortKeys=n.sortKeys||!1,this.lineWidth=n.lineWidth||80,this.noRefs=n.noRefs||!1,this.noCompatMode=n.noCompatMode||!1,this.condenseFlow=n.condenseFlow||!1,this.quotingType=n.quotingType==='"'?ne:Fe,this.forceQuotes=n.forceQuotes||!1,this.replacer=typeof n.replacer=="function"?n.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}i(Te,"State");function te(n,l){let g=w.repeat(" ",l),f=0,a="",A=n.length;for(;f<A;){let m,b=n.indexOf(`
18
+ `,f);b===-1?(m=n.slice(f),f=A):(m=n.slice(f,b+1),f=b+1),m.length&&m!==`
19
+ `&&(a+=g),a+=m}return a}i(te,"indentString");function ie(n,l){return`
20
+ `+w.repeat(" ",n.indent*l)}i(ie,"generateNextLine");function we(n,l){for(let g=0,f=n.implicitTypes.length;g<f;g+=1)if(n.implicitTypes[g].resolve(l))return!0;return!1}i(we,"testImplicitResolving");function U(n){return n===o||n===d}i(U,"isWhitespace");function J(n){return n>=32&&n<=126||n>=161&&n<=55295&&n!==8232&&n!==8233||n>=57344&&n<=65533&&n!==y||n>=65536&&n<=1114111}i(J,"isPrintable");function W(n){return J(n)&&n!==y&&n!==C&&n!==p}i(W,"isNsCharOrWhitespace");function re(n,l,g){let f=W(n),a=f&&!U(n);return(g?f:f&&n!==z&&n!==ye&&n!==ce&&n!==ue&&n!==Se)&&n!==v&&!(l===j&&!a)||W(l)&&!U(l)&&n===v||l===j&&a}i(re,"isPlainSafe");function q(n){return J(n)&&n!==y&&!U(n)&&n!==H&&n!==Ne&&n!==j&&n!==z&&n!==ye&&n!==ce&&n!==ue&&n!==Se&&n!==v&&n!==Z&&n!==K&&n!==u&&n!==qe&&n!==P&&n!==$&&n!==F&&n!==T&&n!==M&&n!==Me&&n!==Re}i(q,"isPlainSafeFirst");function le(n){return!U(n)&&n!==j}i(le,"isPlainSafeLast");function Q(n,l){let g=n.charCodeAt(l),f;return g>=55296&&g<=56319&&l+1<n.length&&(f=n.charCodeAt(l+1),f>=56320&&f<=57343)?(g-55296)*1024+f-56320+65536:g}i(Q,"codePointAt");function fe(n){return/^\n* /.test(n)}i(fe,"needIndentIndicator");let xe=1,ae=2,be=3,Ee=4,X=5;function pe(n,l,g,f,a,A,m,b){let x,k=0,L=null,N=!1,R=!1,En=f!==-1,Oe=-1,ve=q(Q(n,0))&&le(Q(n,n.length-1));if(l||m)for(x=0;x<n.length;k>=65536?x+=2:x++){if(k=Q(n,x),!J(k))return X;ve=ve&&re(k,L,b),L=k}else{for(x=0;x<n.length;k>=65536?x+=2:x++){if(k=Q(n,x),k===p)N=!0,En&&(R=R||x-Oe-1>f&&n[Oe+1]!==" ",Oe=x);else if(!J(k))return X;ve=ve&&re(k,L,b),L=k}R=R||En&&x-Oe-1>f&&n[Oe+1]!==" "}return!N&&!R?ve&&!m&&!a(n)?xe:A===ne?X:ae:g>9&&fe(n)?X:m?A===ne?X:ae:R?Ee:be}i(pe,"chooseScalarStyle");function _e(n,l,g,f,a){n.dump=(function(){if(l.length===0)return n.quotingType===ne?'""':"''";if(!n.noCompatMode&&(Ce.indexOf(l)!==-1||I.test(l)))return n.quotingType===ne?'"'+l+'"':"'"+l+"'";let A=n.indent*Math.max(1,g),m=n.lineWidth===-1?-1:Math.max(Math.min(n.lineWidth,40),n.lineWidth-A),b=f||n.flowLevel>-1&&g>=n.flowLevel;function x(k){return we(n,k)}switch(i(x,"testAmbiguity"),pe(l,b,n.indent,m,x,n.quotingType,n.forceQuotes&&!f,a)){case xe:return l;case ae:return"'"+l.replace(/'/g,"''")+"'";case be:return"|"+se(l,n.indent)+he(te(l,A));case Ee:return">"+se(l,n.indent)+he(te(Ie(l,m),A));case X:return'"'+ke(l)+'"';default:throw new E("impossible error: invalid scalar style")}})()}i(_e,"writeScalar");function se(n,l){let g=fe(n)?String(l):"",f=n[n.length-1]===`
21
+ `,A=f&&(n[n.length-2]===`
22
+ `||n===`
23
+ `)?"+":f?"":"-";return g+A+`
24
+ `}i(se,"blockHeader");function he(n){return n[n.length-1]===`
25
+ `?n.slice(0,-1):n}i(he,"dropEndingNewline");function Ie(n,l){let g=/(\n+)([^\n]*)/g,f=(function(){let b=n.indexOf(`
26
+ `);return b=b!==-1?b:n.length,g.lastIndex=b,V(n.slice(0,b),l)})(),a=n[0]===`
27
+ `||n[0]===" ",A,m;for(;m=g.exec(n);){let b=m[1],x=m[2];A=x[0]===" ",f+=b+(!a&&!A&&x!==""?`
28
+ `:"")+V(x,l),a=A}return f}i(Ie,"foldString");function V(n,l){if(n===""||n[0]===" ")return n;let g=/ [^ ]/g,f,a=0,A,m=0,b=0,x="";for(;f=g.exec(n);)b=f.index,b-a>l&&(A=m>a?m:b,x+=`
29
+ `+n.slice(a,A),a=A+1),m=b;return x+=`
30
+ `,n.length-a>l&&m>a?x+=n.slice(a,m)+`
31
+ `+n.slice(m+1):x+=n.slice(a),x.slice(1)}i(V,"foldLine");function ke(n){let l="",g=0;for(let f=0;f<n.length;g>=65536?f+=2:f++){g=Q(n,f);let a=Y[g];!a&&J(g)?(l+=n[f],g>=65536&&(l+=n[f+1])):l+=a||G(g)}return l}i(ke,"escapeString");function de(n,l,g){let f="",a=n.tag;for(let A=0,m=g.length;A<m;A+=1){let b=g[A];n.replacer&&(b=n.replacer.call(g,String(A),b)),(c(n,l,b,!1,!1)||typeof b>"u"&&c(n,l,null,!1,!1))&&(f!==""&&(f+=","+(n.condenseFlow?"":" ")),f+=n.dump)}n.tag=a,n.dump="["+f+"]"}i(de,"writeFlowSequence");function me(n,l,g,f){let a="",A=n.tag;for(let m=0,b=g.length;m<b;m+=1){let x=g[m];n.replacer&&(x=n.replacer.call(g,String(m),x)),(c(n,l+1,x,!0,!0,!1,!0)||typeof x>"u"&&c(n,l+1,null,!0,!0,!1,!0))&&((!f||a!=="")&&(a+=ie(n,l)),n.dump&&p===n.dump.charCodeAt(0)?a+="-":a+="- ",a+=n.dump)}n.tag=A,n.dump=a||"[]"}i(me,"writeBlockSequence");function Le(n,l,g){let f="",a=n.tag,A=Object.keys(g);for(let m=0,b=A.length;m<b;m+=1){let x="";f!==""&&(x+=", "),n.condenseFlow&&(x+='"');let k=A[m],L=g[k];n.replacer&&(L=n.replacer.call(g,k,L)),c(n,l,k,!1,!1)&&(n.dump.length>1024&&(x+="? "),x+=n.dump+(n.condenseFlow?'"':"")+":"+(n.condenseFlow?"":" "),c(n,l,L,!1,!1)&&(x+=n.dump,f+=x))}n.tag=a,n.dump="{"+f+"}"}i(Le,"writeFlowMapping");function e(n,l,g,f){let a="",A=n.tag,m=Object.keys(g);if(n.sortKeys===!0)m.sort();else if(typeof n.sortKeys=="function")m.sort(n.sortKeys);else if(n.sortKeys)throw new E("sortKeys must be a boolean or a function");for(let b=0,x=m.length;b<x;b+=1){let k="";(!f||a!=="")&&(k+=ie(n,l));let L=m[b],N=g[L];if(n.replacer&&(N=n.replacer.call(g,L,N)),!c(n,l+1,L,!0,!0,!0))continue;let R=n.tag!==null&&n.tag!=="?"||n.dump&&n.dump.length>1024;R&&(n.dump&&p===n.dump.charCodeAt(0)?k+="?":k+="? "),k+=n.dump,R&&(k+=ie(n,l)),c(n,l+1,N,!0,R)&&(n.dump&&p===n.dump.charCodeAt(0)?k+=":":k+=": ",k+=n.dump,a+=k)}n.tag=A,n.dump=a||"{}"}i(e,"writeBlockMapping");function r(n,l,g){let f=g?n.explicitTypes:n.implicitTypes;for(let a=0,A=f.length;a<A;a+=1){let m=f[a];if((m.instanceOf||m.predicate)&&(!m.instanceOf||typeof l=="object"&&l instanceof m.instanceOf)&&(!m.predicate||m.predicate(l))){if(g?m.multi&&m.representName?n.tag=m.representName(l):n.tag=m.tag:n.tag="?",m.represent){let b=n.styleMap[m.tag]||m.defaultStyle,x;if(O.call(m.represent)==="[object Function]")x=m.represent(l,b);else if(h.call(m.represent,b))x=m.represent[b](l,b);else throw new E("!<"+m.tag+'> tag resolver accepts not "'+b+'" style');n.dump=x}return!0}}return!1}i(r,"detectType");function c(n,l,g,f,a,A,m){n.tag=null,n.dump=g,r(n,g,!1)||r(n,g,!0);let b=O.call(n.dump),x=f;f&&(f=n.flowLevel<0||n.flowLevel>l);let k=b==="[object Object]"||b==="[object Array]",L,N;if(k&&(L=n.duplicates.indexOf(g),N=L!==-1),(n.tag!==null&&n.tag!=="?"||N||n.indent!==2&&l>0)&&(a=!1),N&&n.usedDuplicates[L])n.dump="*ref_"+L;else{if(k&&N&&!n.usedDuplicates[L]&&(n.usedDuplicates[L]=!0),b==="[object Object]")f&&Object.keys(n.dump).length!==0?(e(n,l,n.dump,a),N&&(n.dump="&ref_"+L+n.dump)):(Le(n,l,n.dump),N&&(n.dump="&ref_"+L+" "+n.dump));else if(b==="[object Array]")f&&n.dump.length!==0?(n.noArrayIndent&&!m&&l>0?me(n,l-1,n.dump,a):me(n,l,n.dump,a),N&&(n.dump="&ref_"+L+n.dump)):(de(n,l,n.dump),N&&(n.dump="&ref_"+L+" "+n.dump));else if(b==="[object String]")n.tag!=="?"&&_e(n,n.dump,l,A,x);else{if(b==="[object Undefined]")return!1;if(n.skipInvalid)return!1;throw new E("unacceptable kind of an object to dump "+b)}if(n.tag!==null&&n.tag!=="?"){let R=encodeURI(n.tag[0]==="!"?n.tag.slice(1):n.tag).replace(/!/g,"%21");n.tag[0]==="!"?R="!"+R:R.slice(0,18)==="tag:yaml.org,2002:"?R="!!"+R.slice(18):R="!<"+R+">",n.dump=R+" "+n.dump}}return!0}i(c,"writeNode");function s(n,l){let g=[],f=[];t(n,g,f);let a=f.length;for(let A=0;A<a;A+=1)l.duplicates.push(g[f[A]]);l.usedDuplicates=new Array(a)}i(s,"getDuplicateReferences");function t(n,l,g){if(n!==null&&typeof n=="object"){let f=l.indexOf(n);if(f!==-1)g.indexOf(f)===-1&&g.push(f);else if(l.push(n),Array.isArray(n))for(let a=0,A=n.length;a<A;a+=1)t(n[a],l,g);else{let a=Object.keys(n);for(let A=0,m=a.length;A<m;A+=1)t(n[a[A]],l,g)}}}i(t,"inspectNode");function S(n,l){l=l||{};let g=new Te(l);g.noRefs||s(n,g);let f=n;return g.replacer&&(f=g.replacer.call({"":f},"",f)),c(g,0,f,!0,!0)?g.dump+`
32
+ `:""}return i(S,"dump2"),cn.dump=S,cn}i(ei,"requireDumper");var Xn;function ni(){if(Xn)return D;Xn=1;let w=zn(),E=ei();function _(O,h){return function(){throw new Error("Function yaml."+O+" is removed in js-yaml 4. Use yaml."+h+" instead, which is now safe by default.")}}return i(_,"renamed"),D.Type=B(),D.Schema=un(),D.FAILSAFE_SCHEMA=sn(),D.JSON_SCHEMA=An(),D.CORE_SCHEMA=yn(),D.DEFAULT_SCHEMA=Pe(),D.load=w.load,D.loadAll=w.loadAll,D.dump=E.dump,D.YAMLException=Ae(),D.types={binary:Tn(),float:gn(),map:pn(),null:hn(),pairs:xn(),set:bn(),timestamp:Sn(),bool:dn(),int:mn(),merge:Cn(),omap:wn(),seq:an(),str:fn()},D.safeLoad=_("safeLoad","load"),D.safeLoadAll=_("safeLoadAll","loadAll"),D.safeDump=_("safeDump","dump"),D}i(ni,"requireJsYaml");var ii=ni(),ri=$n(ii),{Type:oi,Schema:ti,FAILSAFE_SCHEMA:ci,JSON_SCHEMA:ui,CORE_SCHEMA:fi,DEFAULT_SCHEMA:ai,load:pi,loadAll:si,dump:hi,YAMLException:di,types:mi,safeLoad:gi,safeLoadAll:Ai,safeDump:yi}=ri;export{ui as a,pi as b};
@@ -0,0 +1 @@
1
+ var a=Object.defineProperty,o=(r,e)=>a(r,"name",{value:e,configurable:!0}),_=(r,e)=>{for(var t in e)a(r,t,{get:e[t],enumerable:!0})};export{o as a,_ as b};
@@ -0,0 +1,3 @@
1
+ import{a}from"./chunk-WBPRABWA.js";var i={},d={info:a(async()=>{let{createInfoServices:e}=await import("./info-OHQRW6UA-BRTC44VB.js"),r=e().Info.parser.LangiumParser;i.info=r},"info"),packet:a(async()=>{let{createPacketServices:e}=await import("./packet-JDAUHWVQ-SGFXPYMB.js"),r=e().Packet.parser.LangiumParser;i.packet=r},"packet"),pie:a(async()=>{let{createPieServices:e}=await import("./pie-XZMESJXO-LSQBPXPC.js"),r=e().Pie.parser.LangiumParser;i.pie=r},"pie"),treeView:a(async()=>{let{createTreeViewServices:e}=await import("./treeView-D4JQ5SDB-JJEYBPMW.js"),r=e().TreeView.parser.LangiumParser;i.treeView=r},"treeView"),architecture:a(async()=>{let{createArchitectureServices:e}=await import("./architecture-WOLXFQ4H-S6WNHT5H.js"),r=e().Architecture.parser.LangiumParser;i.architecture=r},"architecture"),gitGraph:a(async()=>{let{createGitGraphServices:e}=await import("./gitGraph-VSP46ZUC-YT36MSRW.js"),r=e().GitGraph.parser.LangiumParser;i.gitGraph=r},"gitGraph"),eventmodeling:a(async()=>{let{createEventModelingServices:e}=await import("./eventmodeling-K75KTNOO-FKRVI4N2.js"),r=e().EventModel.parser.LangiumParser;i.eventmodeling=r},"eventmodeling"),radar:a(async()=>{let{createRadarServices:e}=await import("./radar-ABXABTNO-TPYHBLNO.js"),r=e().Radar.parser.LangiumParser;i.radar=r},"radar"),railroad:a(async()=>{let{createRailroadServices:e}=await import("./railroad-I3PHUGI6-WWIXL3LY.js"),r=e().Railroad.parser.LangiumParser;i.railroad=r},"railroad"),railroadEbnf:a(async()=>{let{createRailroadEbnfServices:e}=await import("./railroad-ebnf-DWYD2UWJ-4OJ4ECXX.js"),r=e().RailroadEbnf.parser.LangiumParser;i.railroadEbnf=r},"railroadEbnf"),railroadAbnf:a(async()=>{let{createRailroadAbnfServices:e}=await import("./railroad-abnf-LNEFI6M7-DHJUY4R6.js"),r=e().RailroadAbnf.parser.LangiumParser;i.railroadAbnf=r},"railroadAbnf"),railroadPeg:a(async()=>{let{createRailroadPegServices:e}=await import("./railroad-peg-JR7BVNR7-VUOBDVLQ.js"),r=e().RailroadPeg.parser.LangiumParser;i.railroadPeg=r},"railroadPeg"),treemap:a(async()=>{let{createTreemapServices:e}=await import("./treemap-SAJKECNS-I3YRCM2B.js"),r=e().Treemap.parser.LangiumParser;i.treemap=r},"treemap"),wardley:a(async()=>{let{createWardleyServices:e}=await import("./wardley-7MLQ67FV-AKOGXXNF.js"),r=e().Wardley.parser.LangiumParser;i.wardley=r},"wardley"),cynefin:a(async()=>{let{createCynefinServices:e}=await import("./cynefin-EF2NZ3EQ-2AP5N5QY.js"),r=e().Cynefin.parser.LangiumParser;i.cynefin=r},"cynefin")};async function l(e,r){let n=d[e];if(!n)throw new Error(`Unknown diagram type: ${e}`);i[e]||await n();let t=i[e].parse(r);if(t.lexerErrors.length>0||t.parserErrors.length>0)throw new m(t);return t.value}a(l,"parse");var s=a(e=>e!==void 0&&e>=0?e:"?","formatLocation"),m=class extends Error{constructor(e){let r=e.lexerErrors.map(o=>{let t=s(o.line),c=s(o.column);return`Lexer error on line ${t}, column ${c}: ${o.message}`}).join(`
2
+ `),n=e.parserErrors.map(o=>{let t=s(o.token.startLine),c=s(o.token.startColumn);return`Parse error on line ${t}, column ${c}: ${o.message}`}).join(`
3
+ `);super(`Parsing failed: ${r} ${n}`),this.result=e}static{a(this,"MermaidParseError")}};export{l as a,m as b};
@@ -0,0 +1 @@
1
+ import{a as e,b as i,c as o,d as t,e as n,g as u,k as d,x as G,y as l}from"./chunk-WBPRABWA.js";var c=class extends l{static{e(this,"GitGraphTokenBuilder")}constructor(){super(["gitGraph"])}},p={parser:{TokenBuilder:e(()=>new c,"TokenBuilder"),ValueConverter:e(()=>new G,"ValueConverter")}};function h(s=n){let r=t(o(s),u),a=t(i({shared:r}),d,p);return r.ServiceRegistry.register(a),{shared:r,GitGraph:a}}e(h,"createGitGraphServices");export{p as a,h as b};