@axerity/cli 0.3.0 → 0.3.1

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 (164) hide show
  1. package/axerity.default.json +1 -1
  2. package/dist/client/_app/immutable/assets/2.DhWLHyyI.css +1 -0
  3. package/dist/client/_app/immutable/chunks/{hOQd14_i.js → 3zhJCuPD.js} +1 -1
  4. package/dist/client/_app/immutable/chunks/{Dn1BfjD4.js → 53uZe945.js} +1 -1
  5. package/dist/client/_app/immutable/chunks/{BjVjgMFk2.js → BAYmjVfE2.js} +1 -1
  6. package/dist/client/_app/immutable/chunks/{SbORYBuH.js → BDI8hnph.js} +1 -1
  7. package/dist/client/_app/immutable/chunks/BFAQUmTz.js +1 -0
  8. package/dist/client/_app/immutable/chunks/{CjixP7Y6.js → BFQipqJB.js} +1 -1
  9. package/dist/client/_app/immutable/chunks/BFRg3W-F.js +1 -0
  10. package/dist/client/_app/immutable/chunks/{BG7FFg0W2.js → BHDeYRpO2.js} +1 -1
  11. package/dist/client/_app/immutable/chunks/{DDXR3Aw12.js → BHR_F_t32.js} +1 -1
  12. package/dist/client/_app/immutable/chunks/{9IekHN0-.js → BM8_zthS.js} +1 -1
  13. package/dist/client/_app/immutable/chunks/{B8E5l9fg2.js → BMOoVw-k2.js} +1 -1
  14. package/dist/client/_app/immutable/chunks/{BydbDrPy.js → BPMaLfda.js} +3 -3
  15. package/dist/client/_app/immutable/chunks/BR449RvF.js +1 -0
  16. package/dist/client/_app/immutable/chunks/BUz0I7ul.js +1 -0
  17. package/dist/client/_app/immutable/chunks/BXNSIfnG.js +124 -0
  18. package/dist/client/_app/immutable/chunks/{DgYtIg5Q2.js → BdDGssl42.js} +1 -1
  19. package/dist/client/_app/immutable/chunks/{29nvmPLe2.js → BlXvQjZe2.js} +1 -1
  20. package/dist/client/_app/immutable/chunks/Bnac6ltA.js +1 -0
  21. package/dist/client/_app/immutable/chunks/{CXC42hVj2.js → BtZX_eMV2.js} +1 -1
  22. package/dist/client/_app/immutable/chunks/BuVSglE6.js +1 -0
  23. package/dist/client/_app/immutable/chunks/{CUWABXvb2.js → C-p5-iNK2.js} +1 -1
  24. package/dist/client/_app/immutable/chunks/{0CIKaoUA.js → C18gA2PH.js} +1 -1
  25. package/dist/client/_app/immutable/chunks/{Chn8RaCU2.js → C6ca-Knu2.js} +1 -1
  26. package/dist/client/_app/immutable/chunks/{BdkVA8sR.js → CGbXsxiy.js} +1 -1
  27. package/dist/client/_app/immutable/chunks/CJipSaHd.js +1 -0
  28. package/dist/client/_app/immutable/chunks/{DG5yTEkY.js → CPz-TBEA.js} +1 -1
  29. package/dist/client/_app/immutable/chunks/{CPm95Jbd.js → CQORkk8-.js} +1 -1
  30. package/dist/client/_app/immutable/chunks/{DkLLcw4S2.js → CXLR2EHz2.js} +1 -1
  31. package/dist/client/_app/immutable/chunks/{C52bpLvU.js → CZ0cYm2x.js} +1 -1
  32. package/dist/client/_app/immutable/chunks/{mmyK4psQ.js → CZiFlYgk.js} +1 -1
  33. package/dist/client/_app/immutable/chunks/Cfv_UPq2.js +3 -0
  34. package/dist/client/_app/immutable/chunks/{DGHybmkM2.js → CgmTaJ8d2.js} +1 -1
  35. package/dist/client/_app/immutable/chunks/{D5KVydqU.js → CiHIt2YG.js} +1 -1
  36. package/dist/client/_app/immutable/chunks/{DITdNjTm.js → CiW5yEDh.js} +1 -1
  37. package/dist/client/_app/immutable/chunks/CknXd1We.js +3 -0
  38. package/dist/client/_app/immutable/chunks/CltrrRSS.js +1 -0
  39. package/dist/client/_app/immutable/chunks/CmTDhATw.js +1 -0
  40. package/dist/client/_app/immutable/chunks/{DjHIY2T-.js → CoCevRkN.js} +1 -1
  41. package/dist/client/_app/immutable/chunks/{jw1rI_K6.js → CyXMInz4.js} +1 -1
  42. package/dist/client/_app/immutable/chunks/{B9DYqOIj.js → Czol_Abj.js} +1 -1
  43. package/dist/client/_app/immutable/chunks/{DC_PITHB2.js → D-TGA8WR2.js} +1 -1
  44. package/dist/client/_app/immutable/chunks/{aheLp5ES.js → D6c3WrhX.js} +1 -1
  45. package/dist/client/_app/immutable/chunks/{B_WlrXGf.js → D7r2UEIp.js} +1 -1
  46. package/dist/client/_app/immutable/chunks/{nmxqo83B.js → DAx_rZyE.js} +2 -2
  47. package/dist/client/_app/immutable/chunks/{0oJDGpiH.js → DCLuoHbo.js} +1 -1
  48. package/dist/client/_app/immutable/chunks/{ED9-GWAc2.js → DCPWdIoq2.js} +1 -1
  49. package/dist/client/_app/immutable/chunks/{DguRYYoc.js → DDShjGNr.js} +1 -1
  50. package/dist/client/_app/immutable/chunks/{qD2cSsUD2.js → DD_46lBB2.js} +1 -1
  51. package/dist/client/_app/immutable/chunks/{BcuUc08l.js → DDqudhAi.js} +1 -1
  52. package/dist/client/_app/immutable/chunks/{DPoU52N62.js → DE5tNz5Y2.js} +1 -1
  53. package/dist/client/_app/immutable/chunks/DJ3ZXVXb.js +1 -0
  54. package/dist/client/_app/immutable/chunks/DTcvOvVk.js +1 -0
  55. package/dist/client/_app/immutable/chunks/{Bv0OTsBk.js → DV6jTwmw.js} +1 -1
  56. package/dist/client/_app/immutable/chunks/{0tC8Ubqr.js → DhYL8InI.js} +1 -1
  57. package/dist/client/_app/immutable/chunks/{BvKCZK04.js → DkVSDR0x.js} +1 -1
  58. package/dist/client/_app/immutable/chunks/DoXJbn9v2.js +1 -0
  59. package/dist/client/_app/immutable/chunks/{BpwmCo88.js → DokuivJC.js} +1 -1
  60. package/dist/client/_app/immutable/chunks/{DUE6JLE3.js → DpLZdHaM.js} +1 -1
  61. package/dist/client/_app/immutable/chunks/{vx_Tnhqd2.js → DzJbTx-x2.js} +2 -2
  62. package/dist/client/_app/immutable/chunks/{Drl36yuV.js → KR7vRKhR.js} +1 -1
  63. package/dist/client/_app/immutable/chunks/{DN7UZn62.js → M9khzxgc.js} +1 -1
  64. package/dist/client/_app/immutable/chunks/NJ05___j2.js +1 -0
  65. package/dist/client/_app/immutable/chunks/Nzh6khd2.js +1 -0
  66. package/dist/client/_app/immutable/chunks/YkkvKMZL.js +1 -0
  67. package/dist/client/_app/immutable/chunks/ZGh80ZHg.js +1 -0
  68. package/dist/client/_app/immutable/chunks/h6BdjjI92.js +321 -0
  69. package/dist/client/_app/immutable/chunks/h9kP9O3o2.js +1 -0
  70. package/dist/client/_app/immutable/chunks/{B-xzKD0v.js → i12c_YC7.js} +1 -1
  71. package/dist/client/_app/immutable/chunks/{BvvUMqJ3.js → lIaU_Ndo.js} +1 -1
  72. package/dist/client/_app/immutable/chunks/{CLrCY0qQ2.js → nVR6wzGD2.js} +1 -1
  73. package/dist/client/_app/immutable/chunks/{CaWcga612.js → xQVgh2Nz2.js} +1 -1
  74. package/dist/client/_app/immutable/chunks/{DvqUYvHq.js → xUGxzp67.js} +1 -1
  75. package/dist/client/_app/immutable/chunks/{Cj0bfwP6.js → ysrxrMHE.js} +1 -1
  76. package/dist/client/_app/immutable/chunks/{CIIr70Sw2.js → zrLSAr0G2.js} +1 -1
  77. package/dist/client/_app/immutable/entry/{app.BDLi0wHM.js → app.BVzGOhjG.js} +2 -2
  78. package/dist/client/_app/immutable/entry/start.k3yD06Si.js +1 -0
  79. package/dist/client/_app/immutable/nodes/{0.S0IuwSNI.js → 0.Cr0DJ0Ky.js} +1 -1
  80. package/dist/client/_app/immutable/nodes/{1.CGMKWkDs.js → 1.BQpgqzAh.js} +1 -1
  81. package/dist/client/_app/immutable/nodes/{2.BUVO8Cyj.js → 2.n7dsgCDR.js} +10 -10
  82. package/dist/client/_app/version.json +1 -1
  83. package/dist/server/chunks/{0-C2vlc3Qn.js → 0-VSsoIXA0.js} +6 -6
  84. package/dist/server/chunks/{0-C2vlc3Qn.js.map → 0-VSsoIXA0.js.map} +1 -1
  85. package/dist/server/chunks/1-DVU-8-9i.js +9 -0
  86. package/dist/server/chunks/{1-Br80A-fl.js.map → 1-DVU-8-9i.js.map} +1 -1
  87. package/dist/server/chunks/{2-BAJPegs3.js → 2-QJ6-LaGI.js} +7 -7
  88. package/dist/server/chunks/2-QJ6-LaGI.js.map +1 -0
  89. package/dist/server/chunks/{Icon-Bn7MB_9j.js → Icon-Cf35QSF9.js} +11 -10
  90. package/dist/server/chunks/Icon-Cf35QSF9.js.map +1 -0
  91. package/dist/server/chunks/{_error.svelte-4uW97Ztq.js → _error.svelte-d-BjEYcs.js} +6 -6
  92. package/dist/server/chunks/_error.svelte-d-BjEYcs.js.map +1 -0
  93. package/dist/server/chunks/{_layout.svelte-CbFOEXeX.js → _layout.svelte-wcEy01M0.js} +2 -2
  94. package/dist/server/chunks/_layout.svelte-wcEy01M0.js.map +1 -0
  95. package/dist/server/chunks/{_page.svelte-D1gIlQSi.js → _page.svelte-BOd5mfMw.js} +34 -29
  96. package/dist/server/chunks/_page.svelte-BOd5mfMw.js.map +1 -0
  97. package/dist/server/chunks/{_server.ts-P67RJKF7.js → _server.ts-B4oNrDKh.js} +4 -4
  98. package/dist/server/chunks/{_server.ts-P67RJKF7.js.map → _server.ts-B4oNrDKh.js.map} +1 -1
  99. package/dist/server/chunks/{_server.ts-BYnp5UH6.js → _server.ts-BTDCpOL5.js} +4 -4
  100. package/dist/server/chunks/_server.ts-BTDCpOL5.js.map +1 -0
  101. package/dist/server/chunks/{_server.ts-B2YUaKpI.js → _server.ts-BoXbbbOz.js} +4 -4
  102. package/dist/server/chunks/{_server.ts-B2YUaKpI.js.map → _server.ts-BoXbbbOz.js.map} +1 -1
  103. package/dist/server/chunks/{_server.ts-R7CXAsG6.js → _server.ts-CEX8Fp7r.js} +3 -3
  104. package/dist/server/chunks/{_server.ts-R7CXAsG6.js.map → _server.ts-CEX8Fp7r.js.map} +1 -1
  105. package/dist/server/chunks/{_server.ts-7iaXTzco.js → _server.ts-CMdj1oJD.js} +4 -4
  106. package/dist/server/chunks/_server.ts-CMdj1oJD.js.map +1 -0
  107. package/dist/server/chunks/{_server.ts-DeXWgdv1.js → _server.ts-CQg__e5D.js} +6 -5
  108. package/dist/server/chunks/_server.ts-CQg__e5D.js.map +1 -0
  109. package/dist/server/chunks/{_server.ts-BnNM_bMg.js → _server.ts-DupX5-bj.js} +4 -4
  110. package/dist/server/chunks/_server.ts-DupX5-bj.js.map +1 -0
  111. package/dist/server/chunks/{_server.ts-Dx6GXRUP.js → _server.ts-e7-P1GQu.js} +3 -3
  112. package/dist/server/chunks/_server.ts-e7-P1GQu.js.map +1 -0
  113. package/dist/server/chunks/{content-store-CxsJF8Lt.js → content-store-C_HWEaMv.js} +5 -4
  114. package/dist/server/chunks/{content-store-CxsJF8Lt.js.map → content-store-C_HWEaMv.js.map} +1 -1
  115. package/dist/server/chunks/{exports-DLRXs2AQ.js → exports-mmLR9hsw.js} +10 -10
  116. package/dist/server/chunks/exports-mmLR9hsw.js.map +1 -0
  117. package/dist/server/chunks/{hooks.server-BnQc6rOu.js → hooks.server-i3yJ8tQB.js} +3 -3
  118. package/dist/server/chunks/{hooks.server-BnQc6rOu.js.map → hooks.server-i3yJ8tQB.js.map} +1 -1
  119. package/dist/server/chunks/{internal-CzXVc2ua.js → internal2-BGg7Milx.js} +1118 -1113
  120. package/dist/server/chunks/internal2-BGg7Milx.js.map +1 -0
  121. package/dist/server/chunks/{site-Cv4fFtLw.js → site-bCTBBNTw.js} +2 -2
  122. package/dist/server/chunks/site-bCTBBNTw.js.map +1 -0
  123. package/dist/server/index.js +194 -177
  124. package/dist/server/index.js.map +1 -1
  125. package/dist/server/manifest.js +12 -12
  126. package/dist/server/manifest.js.map +1 -1
  127. package/package.json +8 -8
  128. package/dist/client/_app/immutable/assets/2.nEL1N7DM.css +0 -1
  129. package/dist/client/_app/immutable/chunks/BHpO4_hI.js +0 -1
  130. package/dist/client/_app/immutable/chunks/BLhBgXDr.js +0 -1
  131. package/dist/client/_app/immutable/chunks/BN2RMMml.js +0 -1
  132. package/dist/client/_app/immutable/chunks/BRJCmJIf.js +0 -1
  133. package/dist/client/_app/immutable/chunks/Bnqy3DA5.js +0 -1
  134. package/dist/client/_app/immutable/chunks/Bs4qCkME.js +0 -1
  135. package/dist/client/_app/immutable/chunks/BsRQXaRE2.js +0 -1
  136. package/dist/client/_app/immutable/chunks/BvEOHWFX.js +0 -1
  137. package/dist/client/_app/immutable/chunks/C6Oj8XFW.js +0 -1
  138. package/dist/client/_app/immutable/chunks/CEW3xh3M.js +0 -124
  139. package/dist/client/_app/immutable/chunks/CRCJVyiH.js +0 -1
  140. package/dist/client/_app/immutable/chunks/CRrzsWKu.js +0 -1
  141. package/dist/client/_app/immutable/chunks/CVM4zuXp.js +0 -1
  142. package/dist/client/_app/immutable/chunks/ChrKn_4b.js +0 -1
  143. package/dist/client/_app/immutable/chunks/D3mr2Pcs2.js +0 -1
  144. package/dist/client/_app/immutable/chunks/Dl6Yq-Hy.js +0 -1
  145. package/dist/client/_app/immutable/chunks/DowYdJZt.js +0 -1
  146. package/dist/client/_app/immutable/chunks/FqbQrHcz2.js +0 -321
  147. package/dist/client/_app/immutable/chunks/TUtWo753.js +0 -3
  148. package/dist/client/_app/immutable/chunks/dcFrWhgf2.js +0 -1
  149. package/dist/client/_app/immutable/chunks/wCc4pE4l.js +0 -3
  150. package/dist/client/_app/immutable/entry/start.CajtWzWK.js +0 -1
  151. package/dist/server/chunks/1-Br80A-fl.js +0 -9
  152. package/dist/server/chunks/2-BAJPegs3.js.map +0 -1
  153. package/dist/server/chunks/Icon-Bn7MB_9j.js.map +0 -1
  154. package/dist/server/chunks/_error.svelte-4uW97Ztq.js.map +0 -1
  155. package/dist/server/chunks/_layout.svelte-CbFOEXeX.js.map +0 -1
  156. package/dist/server/chunks/_page.svelte-D1gIlQSi.js.map +0 -1
  157. package/dist/server/chunks/_server.ts-7iaXTzco.js.map +0 -1
  158. package/dist/server/chunks/_server.ts-BYnp5UH6.js.map +0 -1
  159. package/dist/server/chunks/_server.ts-BnNM_bMg.js.map +0 -1
  160. package/dist/server/chunks/_server.ts-DeXWgdv1.js.map +0 -1
  161. package/dist/server/chunks/_server.ts-Dx6GXRUP.js.map +0 -1
  162. package/dist/server/chunks/exports-DLRXs2AQ.js.map +0 -1
  163. package/dist/server/chunks/internal-CzXVc2ua.js.map +0 -1
  164. package/dist/server/chunks/site-Cv4fFtLw.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import{g as e,h as t}from"./DG5yTEkY.js";import{x as n}from"./CEW3xh3M.js";import"./0tC8Ubqr.js";import"./CXC42hVj2.js";import"./qD2cSsUD2.js";import{n as r}from"./DGHybmkM2.js";import{r as i,t as a}from"./B8gBHxth2.js";import{n as o,r as s,t as c}from"./hFfQmBrk2.js";import"./Chn8RaCU2.js";import{a as l,c as u,i as d,l as f,n as p,t as m,u as h}from"./DPoU52N62.js";import{a as g,i as _,n as v,r as y,t as b}from"./CUWABXvb2.js";var x=4;function S(e){return s(e,x)}function C(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:w(e),edges:T(e)};return i(e.graph())||(t.value=S(e.graph())),t}function w(e){return o(e.nodes(),function(t){var n=e.node(t),r=e.parent(t),a={v:t};return i(n)||(a.value=n),i(r)||(a.parent=r),a})}function T(e){return o(e.edges(),function(t){var n=e.edge(t),r={v:t.v,w:t.w};return i(t.name)||(r.name=t.name),i(n)||(r.value=n),r})}var E=new Map,D=new Map,O=new Map,k=t(()=>{D.clear(),O.clear(),E.clear()},`clear`),A=t((t,n)=>{let r=D.get(n)||[];return e.trace(`In isDescendant`,n,` `,t,` = `,r.includes(t)),r.includes(t)},`isDescendant`),j=t((t,n)=>{let r=D.get(n)||[];return e.info(`Descendants of `,n,` is `,r),e.info(`Edge is `,t),t.v===n||t.w===n?!1:r?r.includes(t.v)||A(t.v,n)||A(t.w,n)||r.includes(t.w):(e.debug(`Tilt, `,n,`,not in descendants`),!1)},`edgeInCluster`),M=t((t,n,r,i)=>{e.warn(`Copying children of `,t,`root`,i,`data`,n.node(t),i);let a=n.children(t)||[];t!==i&&a.push(t),e.warn(`Copying (nodes) clusterId`,t,`nodes`,a),a.forEach(a=>{if(n.children(a).length>0)M(a,n,r,i);else{let o=n.node(a);e.info(`cp `,a,` to `,i,` with parent `,t),r.setNode(a,o),i!==n.parent(a)&&(e.warn(`Setting parent`,a,n.parent(a)),r.setParent(a,n.parent(a))),t!==i&&a!==t?(e.debug(`Setting parent`,a,t),r.setParent(a,t)):(e.info(`In copy `,t,`root`,i,`data`,n.node(t),i),e.debug(`Not Setting parent for node=`,a,`cluster!==rootId`,t!==i,`node!==clusterId`,a!==t));let s=n.edges(a);e.debug(`Copying Edges`,s),s.forEach(a=>{e.info(`Edge`,a);let o=n.edge(a.v,a.w,a.name);e.info(`Edge data`,o,i);try{j(a,i)?(e.info(`Copying as `,a.v,a.w,o,a.name),r.setEdge(a.v,a.w,o,a.name),e.info(`newGraph edges `,r.edges(),r.edge(r.edges()[0]))):e.info(`Skipping copy of edge `,a.v,`-->`,a.w,` rootId: `,i,` clusterId:`,t)}catch(t){e.error(t)}})}e.debug(`Removing node`,a),n.removeNode(a)})},`copy`),N=t((e,t)=>{let n=t.children(e),r=[...n];for(let i of n)O.set(i,e),r=[...r,...N(i,t)];return r},`extractDescendants`),P=t((e,t,n)=>{let r=e.edges().filter(e=>e.v===t||e.w===t),i=e.edges().filter(e=>e.v===n||e.w===n),a=r.map(e=>({v:e.v===t?n:e.v,w:e.w===t?t:e.w})),o=i.map(e=>({v:e.v,w:e.w}));return a.filter(e=>o.some(t=>e.v===t.v&&e.w===t.w))},`findCommonEdges`),F=t((t,n,r)=>{let i=n.children(t);if(e.trace(`Searching children of id `,t,i),i.length<1)return t;let a;for(let e of i){let t=F(e,n,r),i=P(n,r,t);if(t)if(i.length>0)a=t;else return t}return a},`findNonClusterChild`),I=t(e=>!E.has(e)||!E.get(e).externalConnections?e:E.has(e)?E.get(e).id:e,`getAnchorId`),L=t((t,n)=>{if(!t||n>10){e.debug(`Opting out, no graph `);return}else e.debug(`Opting in, graph `);t.nodes().forEach(function(n){t.children(n).length>0&&(e.warn(`Cluster identified`,n,` Replacement id in edges: `,F(n,t,n)),D.set(n,N(n,t)),E.set(n,{id:F(n,t,n),clusterData:t.node(n)}))}),t.nodes().forEach(function(n){let r=t.children(n),i=t.edges();r.length>0?(e.debug(`Cluster identified`,n,D),i.forEach(t=>{A(t.v,n)^A(t.w,n)&&(e.warn(`Edge: `,t,` leaves cluster `,n),e.warn(`Descendants of XXX `,n,`: `,D.get(n)),E.get(n).externalConnections=!0)})):e.debug(`Not a cluster `,n,D)});for(let e of E.keys()){let n=E.get(e).id,r=t.parent(n);r!==e&&E.has(r)&&!E.get(r).externalConnections&&(E.get(e).id=r)}t.edges().forEach(function(n){let r=t.edge(n);e.warn(`Edge `+n.v+` -> `+n.w+`: `+JSON.stringify(n)),e.warn(`Edge `+n.v+` -> `+n.w+`: `+JSON.stringify(t.edge(n)));let i=n.v,a=n.w;if(e.warn(`Fix XXX`,E,`ids:`,n.v,n.w,`Translating: `,E.get(n.v),` --- `,E.get(n.w)),E.get(n.v)||E.get(n.w)){if(e.warn(`Fixing and trying - removing XXX`,n.v,n.w,n.name),i=I(n.v),a=I(n.w),t.removeEdge(n.v,n.w,n.name),i!==n.v){let e=t.parent(i);E.get(e).externalConnections=!0,r.fromCluster=n.v}if(a!==n.w){let e=t.parent(a);E.get(e).externalConnections=!0,r.toCluster=n.w}e.warn(`Fix Replacing with XXX`,i,a,n.name),t.setEdge(i,a,r,n.name)}}),e.warn(`Adjusted Graph`,C(t)),R(t,0),e.trace(E)},`adjustClustersAndEdges`),R=t((t,n)=>{if(e.warn(`extractor - `,n,C(t),t.children(`D`)),n>10){e.error(`Bailing out`);return}let r=t.nodes(),i=!1;for(let e of r){let n=t.children(e);i||=n.length>0}if(!i){e.debug(`Done, no node has children`,t.nodes());return}e.debug(`Nodes = `,r,n);for(let i of r)if(e.debug(`Extracting node`,i,E,E.has(i)&&!E.get(i).externalConnections,!t.parent(i),t.node(i),t.children(`D`),` Depth `,n),!E.has(i))e.debug(`Not a cluster`,i,n);else if(!E.get(i).externalConnections&&t.children(i)&&t.children(i).length>0){e.warn(`Cluster without external connections, without a parent and with children`,i,n);let r=t.graph().rankdir===`TB`?`LR`:`TB`;E.get(i)?.clusterData?.dir&&(r=E.get(i).clusterData.dir,e.warn(`Fixing dir`,E.get(i).clusterData.dir,r));let o=new a({multigraph:!0,compound:!0}).setGraph({rankdir:r,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});e.warn(`Old graph before copy`,C(t)),M(i,t,o,i),t.setNode(i,{clusterNode:!0,id:i,clusterData:E.get(i).clusterData,label:E.get(i).label,graph:o}),e.warn(`New graph after copy node: (`,i,`)`,C(o)),e.debug(`Old graph after copy`,C(t))}else e.warn(`Cluster ** `,i,` **not meeting the criteria !externalConnections:`,!E.get(i).externalConnections,` no parent: `,!t.parent(i),` children `,t.children(i)&&t.children(i).length>0,t.children(`D`),n),e.debug(E);r=t.nodes(),e.warn(`New list of nodes`,r);for(let i of r){let r=t.node(i);e.warn(` Now next level`,i,r),r?.clusterNode&&R(r.graph,n+1)}},`extractor`),z=t((e,t)=>{if(t.length===0)return[];let n=Object.assign([],t);return t.forEach(t=>{let r=z(e,e.children(t));n=[...n,...r]}),n},`sorter`),B=t(e=>z(e,e.children()),`sortNodesByHierarchy`),V=t(async(n,i,a,o,s,p)=>{e.warn(`Graph in recursive render:XAX`,C(i),s);let m=i.graph().rankdir;e.trace(`Dir in recursive render - dir:`,m);let _=n.insert(`g`).attr(`class`,`root`);i.nodes()?e.info(`Recursive render XXX`,i.nodes()):e.info(`No nodes found for`,i),i.edges().length>0&&e.info(`Recursive edges`,i.edge(i.edges()[0]));let b=_.insert(`g`).attr(`class`,`clusters`),x=_.insert(`g`).attr(`class`,`edgePaths`),S=_.insert(`g`).attr(`class`,`edgeLabels`),w=_.insert(`g`).attr(`class`,`nodes`);await Promise.all(i.nodes().map(async function(t){let n=i.node(t);if(s!==void 0){let n=JSON.parse(JSON.stringify(s.clusterData));e.trace(`Setting data for parent cluster XXX
1
+ import{g as e,h as t}from"./CPz-TBEA.js";import{x as n}from"./BXNSIfnG.js";import"./DhYL8InI.js";import"./BtZX_eMV2.js";import"./DD_46lBB2.js";import{n as r}from"./CgmTaJ8d2.js";import{r as i,t as a}from"./B8gBHxth2.js";import{n as o,r as s,t as c}from"./hFfQmBrk2.js";import"./C6ca-Knu2.js";import{a as l,c as u,i as d,l as f,n as p,t as m,u as h}from"./DE5tNz5Y2.js";import{a as g,i as _,n as v,r as y,t as b}from"./C-p5-iNK2.js";var x=4;function S(e){return s(e,x)}function C(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:w(e),edges:T(e)};return i(e.graph())||(t.value=S(e.graph())),t}function w(e){return o(e.nodes(),function(t){var n=e.node(t),r=e.parent(t),a={v:t};return i(n)||(a.value=n),i(r)||(a.parent=r),a})}function T(e){return o(e.edges(),function(t){var n=e.edge(t),r={v:t.v,w:t.w};return i(t.name)||(r.name=t.name),i(n)||(r.value=n),r})}var E=new Map,D=new Map,O=new Map,k=t(()=>{D.clear(),O.clear(),E.clear()},`clear`),A=t((t,n)=>{let r=D.get(n)||[];return e.trace(`In isDescendant`,n,` `,t,` = `,r.includes(t)),r.includes(t)},`isDescendant`),j=t((t,n)=>{let r=D.get(n)||[];return e.info(`Descendants of `,n,` is `,r),e.info(`Edge is `,t),t.v===n||t.w===n?!1:r?r.includes(t.v)||A(t.v,n)||A(t.w,n)||r.includes(t.w):(e.debug(`Tilt, `,n,`,not in descendants`),!1)},`edgeInCluster`),M=t((t,n,r,i)=>{e.warn(`Copying children of `,t,`root`,i,`data`,n.node(t),i);let a=n.children(t)||[];t!==i&&a.push(t),e.warn(`Copying (nodes) clusterId`,t,`nodes`,a),a.forEach(a=>{if(n.children(a).length>0)M(a,n,r,i);else{let o=n.node(a);e.info(`cp `,a,` to `,i,` with parent `,t),r.setNode(a,o),i!==n.parent(a)&&(e.warn(`Setting parent`,a,n.parent(a)),r.setParent(a,n.parent(a))),t!==i&&a!==t?(e.debug(`Setting parent`,a,t),r.setParent(a,t)):(e.info(`In copy `,t,`root`,i,`data`,n.node(t),i),e.debug(`Not Setting parent for node=`,a,`cluster!==rootId`,t!==i,`node!==clusterId`,a!==t));let s=n.edges(a);e.debug(`Copying Edges`,s),s.forEach(a=>{e.info(`Edge`,a);let o=n.edge(a.v,a.w,a.name);e.info(`Edge data`,o,i);try{j(a,i)?(e.info(`Copying as `,a.v,a.w,o,a.name),r.setEdge(a.v,a.w,o,a.name),e.info(`newGraph edges `,r.edges(),r.edge(r.edges()[0]))):e.info(`Skipping copy of edge `,a.v,`-->`,a.w,` rootId: `,i,` clusterId:`,t)}catch(t){e.error(t)}})}e.debug(`Removing node`,a),n.removeNode(a)})},`copy`),N=t((e,t)=>{let n=t.children(e),r=[...n];for(let i of n)O.set(i,e),r=[...r,...N(i,t)];return r},`extractDescendants`),P=t((e,t,n)=>{let r=e.edges().filter(e=>e.v===t||e.w===t),i=e.edges().filter(e=>e.v===n||e.w===n),a=r.map(e=>({v:e.v===t?n:e.v,w:e.w===t?t:e.w})),o=i.map(e=>({v:e.v,w:e.w}));return a.filter(e=>o.some(t=>e.v===t.v&&e.w===t.w))},`findCommonEdges`),F=t((t,n,r)=>{let i=n.children(t);if(e.trace(`Searching children of id `,t,i),i.length<1)return t;let a;for(let e of i){let t=F(e,n,r),i=P(n,r,t);if(t)if(i.length>0)a=t;else return t}return a},`findNonClusterChild`),I=t(e=>!E.has(e)||!E.get(e).externalConnections?e:E.has(e)?E.get(e).id:e,`getAnchorId`),L=t((t,n)=>{if(!t||n>10){e.debug(`Opting out, no graph `);return}else e.debug(`Opting in, graph `);t.nodes().forEach(function(n){t.children(n).length>0&&(e.warn(`Cluster identified`,n,` Replacement id in edges: `,F(n,t,n)),D.set(n,N(n,t)),E.set(n,{id:F(n,t,n),clusterData:t.node(n)}))}),t.nodes().forEach(function(n){let r=t.children(n),i=t.edges();r.length>0?(e.debug(`Cluster identified`,n,D),i.forEach(t=>{A(t.v,n)^A(t.w,n)&&(e.warn(`Edge: `,t,` leaves cluster `,n),e.warn(`Descendants of XXX `,n,`: `,D.get(n)),E.get(n).externalConnections=!0)})):e.debug(`Not a cluster `,n,D)});for(let e of E.keys()){let n=E.get(e).id,r=t.parent(n);r!==e&&E.has(r)&&!E.get(r).externalConnections&&(E.get(e).id=r)}t.edges().forEach(function(n){let r=t.edge(n);e.warn(`Edge `+n.v+` -> `+n.w+`: `+JSON.stringify(n)),e.warn(`Edge `+n.v+` -> `+n.w+`: `+JSON.stringify(t.edge(n)));let i=n.v,a=n.w;if(e.warn(`Fix XXX`,E,`ids:`,n.v,n.w,`Translating: `,E.get(n.v),` --- `,E.get(n.w)),E.get(n.v)||E.get(n.w)){if(e.warn(`Fixing and trying - removing XXX`,n.v,n.w,n.name),i=I(n.v),a=I(n.w),t.removeEdge(n.v,n.w,n.name),i!==n.v){let e=t.parent(i);E.get(e).externalConnections=!0,r.fromCluster=n.v}if(a!==n.w){let e=t.parent(a);E.get(e).externalConnections=!0,r.toCluster=n.w}e.warn(`Fix Replacing with XXX`,i,a,n.name),t.setEdge(i,a,r,n.name)}}),e.warn(`Adjusted Graph`,C(t)),R(t,0),e.trace(E)},`adjustClustersAndEdges`),R=t((t,n)=>{if(e.warn(`extractor - `,n,C(t),t.children(`D`)),n>10){e.error(`Bailing out`);return}let r=t.nodes(),i=!1;for(let e of r){let n=t.children(e);i||=n.length>0}if(!i){e.debug(`Done, no node has children`,t.nodes());return}e.debug(`Nodes = `,r,n);for(let i of r)if(e.debug(`Extracting node`,i,E,E.has(i)&&!E.get(i).externalConnections,!t.parent(i),t.node(i),t.children(`D`),` Depth `,n),!E.has(i))e.debug(`Not a cluster`,i,n);else if(!E.get(i).externalConnections&&t.children(i)&&t.children(i).length>0){e.warn(`Cluster without external connections, without a parent and with children`,i,n);let r=t.graph().rankdir===`TB`?`LR`:`TB`;E.get(i)?.clusterData?.dir&&(r=E.get(i).clusterData.dir,e.warn(`Fixing dir`,E.get(i).clusterData.dir,r));let o=new a({multigraph:!0,compound:!0}).setGraph({rankdir:r,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});e.warn(`Old graph before copy`,C(t)),M(i,t,o,i),t.setNode(i,{clusterNode:!0,id:i,clusterData:E.get(i).clusterData,label:E.get(i).label,graph:o}),e.warn(`New graph after copy node: (`,i,`)`,C(o)),e.debug(`Old graph after copy`,C(t))}else e.warn(`Cluster ** `,i,` **not meeting the criteria !externalConnections:`,!E.get(i).externalConnections,` no parent: `,!t.parent(i),` children `,t.children(i)&&t.children(i).length>0,t.children(`D`),n),e.debug(E);r=t.nodes(),e.warn(`New list of nodes`,r);for(let i of r){let r=t.node(i);e.warn(` Now next level`,i,r),r?.clusterNode&&R(r.graph,n+1)}},`extractor`),z=t((e,t)=>{if(t.length===0)return[];let n=Object.assign([],t);return t.forEach(t=>{let r=z(e,e.children(t));n=[...n,...r]}),n},`sorter`),B=t(e=>z(e,e.children()),`sortNodesByHierarchy`),V=t(async(n,i,a,o,s,p)=>{e.warn(`Graph in recursive render:XAX`,C(i),s);let m=i.graph().rankdir;e.trace(`Dir in recursive render - dir:`,m);let _=n.insert(`g`).attr(`class`,`root`);i.nodes()?e.info(`Recursive render XXX`,i.nodes()):e.info(`No nodes found for`,i),i.edges().length>0&&e.info(`Recursive edges`,i.edge(i.edges()[0]));let b=_.insert(`g`).attr(`class`,`clusters`),x=_.insert(`g`).attr(`class`,`edgePaths`),S=_.insert(`g`).attr(`class`,`edgeLabels`),w=_.insert(`g`).attr(`class`,`nodes`);await Promise.all(i.nodes().map(async function(t){let n=i.node(t);if(s!==void 0){let n=JSON.parse(JSON.stringify(s.clusterData));e.trace(`Setting data for parent cluster XXX
2
2
  Node.id = `,t,`
3
3
  data=`,n.height,`
4
4
  Parent cluster`,s.height),i.setNode(s.id,n),i.parent(t)||(e.trace(`Setting parent`,t,s.id),i.setParent(t,s.id,n))}if(e.info(`(Insert) Node XXX`+t+`: `+JSON.stringify(i.node(t))),n?.clusterNode){e.info(`Cluster identified XBX`,t,n.width,i.node(t));let{ranksep:r,nodesep:s}=i.graph();n.graph.setGraph({...n.graph.graph(),ranksep:r+25,nodesep:s});let c=await V(w,n.graph,a,o,i.node(t),p),l=c.elem;h(n,l),n.diff=c.diff||0,e.info(`New compound node after recursive render XAX`,t,`width`,n.width,`height`,n.height),f(l,n)}else i.children(t).length>0?(e.trace(`Cluster - the non recursive path XBX`,t,n.id,n,n.width,`Graph:`,i),e.trace(F(n.id,i)),E.set(n.id,{id:F(n.id,i),node:n})):(e.trace(`Node - the non recursive path XAX`,t,w,i.node(t),m),await l(w,i.node(t),{config:p,dir:m}))})),await t(async()=>{let t=i.edges().map(async function(t){let n=i.edge(t.v,t.w,t.name);e.info(`Edge `+t.v+` -> `+t.w+`: `+JSON.stringify(t)),e.info(`Edge `+t.v+` -> `+t.w+`: `,t,` `,JSON.stringify(i.edge(t))),e.info(`Fix`,E,`ids:`,t.v,t.w,`Translating: `,E.get(t.v),E.get(t.w)),await y(S,n)});await Promise.all(t)},`processEdges`)(),e.info(`Graph before layout:`,JSON.stringify(C(i))),e.info(`############################################# XXX`),e.info(`### Layout ### XXX`),e.info(`############################################# XXX`),c(i),e.info(`Graph after layout:`,JSON.stringify(C(i)));let T=0,{subGraphTitleTotalMargin:D}=r(p);return await Promise.all(B(i).map(async function(t){let n=i.node(t);if(e.info(`Position XBX => `+t+`: (`+n.x,`,`+n.y,`) width: `,n.width,` height: `,n.height),n?.clusterNode)n.y+=D,e.info(`A tainted cluster node XBX1`,t,n.id,n.width,n.height,n.x,n.y,i.parent(t)),E.get(n.id).node=n,u(n);else if(i.children(t).length>0){e.info(`A pure cluster node XBX1`,t,n.id,n.x,n.y,n.width,n.height,i.parent(t)),n.height+=D,i.node(n.parentId);let r=n?.padding/2||0,a=n?.labelBBox?.height||0,o=a-r||0;e.debug(`OffsetY`,o,`labelHeight`,a,`halfPadding`,r),await d(b,n),E.get(n.id).node=n}else{let t=i.node(n.parentId);n.y+=D/2,e.info(`A regular node XBX1 - using the padding`,n.id,`parent`,n.parentId,n.width,n.height,n.x,n.y,`offsetY`,n.offsetY,`parent`,t,t?.offsetY,n),u(n)}})),i.edges().forEach(function(t){let n=i.edge(t);e.info(`Edge `+t.v+` -> `+t.w+`: `+JSON.stringify(n),n),n.points.forEach(e=>e.y+=D/2),g(n,v(x,n,E,a,i.node(t.v),i.node(t.w),o))}),i.nodes().forEach(function(t){let n=i.node(t);e.info(t,n.type,n.diff),n.isGroup&&(T=n.diff)}),e.warn(`Returning from recursive render XAX`,_,T),{elem:_,diff:T}},`recursiveRender`),H=t(async(t,r)=>{let i=new a({multigraph:!0,compound:!0}).setGraph({rankdir:t.direction,nodesep:t.config?.nodeSpacing||t.config?.flowchart?.nodeSpacing||t.nodeSpacing,ranksep:t.config?.rankSpacing||t.config?.flowchart?.rankSpacing||t.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),o=r.select(`g`);_(o,t.markers,t.type,t.diagramId),p(),b(),m(),k(),t.nodes.forEach(e=>{i.setNode(e.id,{...e}),e.parentId&&i.setParent(e.id,e.parentId)}),e.debug(`Edges:`,t.edges),t.edges.forEach(e=>{if(e.start===e.end){let t=e.start,n=t+`---`+t+`---1`,r=t+`---`+t+`---2`,a=i.node(t);i.setNode(n,{domId:n,id:n,parentId:a.parentId,labelStyle:``,label:``,padding:0,shape:`labelRect`,style:``,width:10,height:10}),i.setParent(n,a.parentId),i.setNode(r,{domId:r,id:r,parentId:a.parentId,labelStyle:``,padding:0,shape:`labelRect`,label:``,style:``,width:10,height:10}),i.setParent(r,a.parentId);let o=structuredClone(e),s=structuredClone(e),c=structuredClone(e);o.label=``,o.arrowTypeEnd=`none`,o.endLabelLeft=``,o.endLabelRight=``,o.startLabelLeft=``,o.id=t+`-cyclic-special-1`,s.startLabelRight=``,s.startLabelLeft=``,s.endLabelLeft=``,s.endLabelRight=``,s.arrowTypeStart=`none`,s.arrowTypeEnd=`none`,s.id=t+`-cyclic-special-mid`,c.label=``,c.startLabelRight=``,c.startLabelLeft=``,c.arrowTypeStart=`none`,a.isGroup&&(o.fromCluster=t,c.toCluster=t),c.id=t+`-cyclic-special-2`,c.arrowTypeStart=`none`,i.setEdge(t,n,o,t+`-cyclic-special-0`),i.setEdge(n,r,s,t+`-cyclic-special-1`),i.setEdge(r,t,c,t+`-cyc<lic-special-2`)}else i.setEdge(e.start,e.end,{...e},e.id)}),e.warn(`Graph at first:`,JSON.stringify(C(i))),L(i),e.warn(`Graph after XAX:`,JSON.stringify(C(i)));let s=n();await V(o,i,t.type,t.diagramId,void 0,s)},`render`);export{H as render};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_app/immutable/nodes/0.S0IuwSNI.js","_app/immutable/chunks/wCc4pE4l.js","_app/immutable/chunks/TUtWo753.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/assets/0.CZH7ZxPr.css","_app/immutable/nodes/1.CGMKWkDs.js","_app/immutable/chunks/CVM4zuXp.js","_app/immutable/nodes/2.BUVO8Cyj.js","_app/immutable/assets/2.nEL1N7DM.css"])))=>i.map(i=>d[i]);
2
- import{A as e,D as t,E as n,H as r,I as i,J as a,M as o,O as s,Q as c,R as l,U as u,W as d,Y as f,a as p,at as m,et as h,ft as g,i as _,k as v,nt as y,o as b,ot as x,q as S,t as C,u as w,x as T}from"../chunks/wCc4pE4l.js";import"../chunks/xihTtKlq.js";var E={docpage:e=>!e.endsWith(`.md`),mdfile:e=>e.endsWith(`.md`)},D=e(`<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>`),O=e(`<!> <!>`,1);function k(e,p){x(p,!0);let C=b(p,`components`,23,()=>[]),E=b(p,`data_0`,3,null),k=b(p,`data_1`,3,null);d(()=>p.stores.page.set(p.page)),u(()=>{p.stores,p.page,p.constructors,C(),p.form,E(),k(),p.stores.page.notify()});let A=h(!1),j=h(!1),M=h(null);_(()=>{let e=p.stores.page.subscribe(()=>{i(A)&&(c(j,!0),l().then(()=>{c(M,document.title||`untitled page`,!0)}))});return c(A,!0),e});let N=y(()=>p.constructors[1]);var P=O(),F=a(P),I=e=>{let t=y(()=>p.constructors[0]);var n=v();T(a(n),()=>i(t),(e,t)=>{w(t(e,{get data(){return E()},get form(){return p.form},get params(){return p.page.params},children:(e,t)=>{var n=v();T(a(n),()=>i(N),(e,t)=>{w(t(e,{get data(){return k()},get form(){return p.form},get params(){return p.page.params}}),e=>C()[1]=e,()=>C()?.[1])}),s(e,n)},$$slots:{default:!0}}),e=>C()[0]=e,()=>C()?.[0])}),s(e,n)},L=e=>{let t=y(()=>p.constructors[0]);var n=v();T(a(n),()=>i(t),(e,t)=>{w(t(e,{get data(){return E()},get form(){return p.form},get params(){return p.page.params}}),e=>C()[0]=e,()=>C()?.[0])}),s(e,n)};n(F,e=>{p.constructors[1]?e(I):e(L,-1)});var R=f(F,2),z=e=>{var a=D(),c=S(a),l=e=>{var n=o();r(()=>t(n,i(M))),s(e,n)};n(c,e=>{i(j)&&e(l)}),g(a),s(e,a)};n(R,e=>{i(A)&&e(z)}),s(e,P),m()}var A=p(k),j=[()=>C(()=>import(`../nodes/0.S0IuwSNI.js`),__vite__mapDeps([0,1,2,3,4])),()=>C(()=>import(`../nodes/1.CGMKWkDs.js`),__vite__mapDeps([5,1,6,2,3])),()=>C(()=>import(`../nodes/2.BUVO8Cyj.js`),__vite__mapDeps([7,1,2,6,3,8]))],M=[0],N={"/[...slug=docpage]":[-3]},P={handleError:(({error:e})=>{console.error(e)}),reroute:(()=>{}),transport:{}},F=Object.fromEntries(Object.entries(P.transport).map(([e,t])=>[e,t.decode])),I=Object.fromEntries(Object.entries(P.transport).map(([e,t])=>[e,t.encode])),L=!1,R=(e,t)=>F[e](t);export{R as decode,F as decoders,N as dictionary,I as encoders,L as hash,P as hooks,E as matchers,j as nodes,A as root,M as server_loads};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_app/immutable/nodes/0.Cr0DJ0Ky.js","_app/immutable/chunks/CknXd1We.js","_app/immutable/chunks/Cfv_UPq2.js","_app/immutable/chunks/xihTtKlq.js","_app/immutable/assets/0.CZH7ZxPr.css","_app/immutable/nodes/1.BQpgqzAh.js","_app/immutable/chunks/BFAQUmTz.js","_app/immutable/nodes/2.n7dsgCDR.js","_app/immutable/assets/2.DhWLHyyI.css"])))=>i.map(i=>d[i]);
2
+ import{A as e,D as t,E as n,H as r,I as i,J as a,M as o,O as s,Q as c,R as l,U as u,W as d,Y as f,a as p,at as m,et as h,ft as g,i as _,k as v,nt as y,o as b,ot as x,q as S,t as C,u as w,x as T}from"../chunks/CknXd1We.js";import"../chunks/xihTtKlq.js";var E={docpage:e=>!e.endsWith(`.md`),mdfile:e=>e.endsWith(`.md`)},D=e(`<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>`),O=e(`<!> <!>`,1);function k(e,p){x(p,!0);let C=b(p,`components`,23,()=>[]),E=b(p,`data_0`,3,null),k=b(p,`data_1`,3,null);d(()=>p.stores.page.set(p.page)),u(()=>{p.stores,p.page,p.constructors,C(),p.form,E(),k(),p.stores.page.notify()});let A=h(!1),j=h(!1),M=h(null);_(()=>{let e=p.stores.page.subscribe(()=>{i(A)&&(c(j,!0),l().then(()=>{c(M,document.title||`untitled page`,!0)}))});return c(A,!0),e});let N=y(()=>p.constructors[1]);var P=O(),F=a(P),I=e=>{let t=y(()=>p.constructors[0]);var n=v();T(a(n),()=>i(t),(e,t)=>{w(t(e,{get data(){return E()},get form(){return p.form},get params(){return p.page.params},children:(e,t)=>{var n=v();T(a(n),()=>i(N),(e,t)=>{w(t(e,{get data(){return k()},get form(){return p.form},get params(){return p.page.params}}),e=>C()[1]=e,()=>C()?.[1])}),s(e,n)},$$slots:{default:!0}}),e=>C()[0]=e,()=>C()?.[0])}),s(e,n)},L=e=>{let t=y(()=>p.constructors[0]);var n=v();T(a(n),()=>i(t),(e,t)=>{w(t(e,{get data(){return E()},get form(){return p.form},get params(){return p.page.params}}),e=>C()[0]=e,()=>C()?.[0])}),s(e,n)};n(F,e=>{p.constructors[1]?e(I):e(L,-1)});var R=f(F,2),z=e=>{var a=D(),c=S(a),l=e=>{var n=o();r(()=>t(n,i(M))),s(e,n)};n(c,e=>{i(j)&&e(l)}),g(a),s(e,a)};n(R,e=>{i(A)&&e(z)}),s(e,P),m()}var A=p(k),j=[()=>C(()=>import(`../nodes/0.Cr0DJ0Ky.js`),__vite__mapDeps([0,1,2,3,4])),()=>C(()=>import(`../nodes/1.BQpgqzAh.js`),__vite__mapDeps([5,1,6,2,3])),()=>C(()=>import(`../nodes/2.n7dsgCDR.js`),__vite__mapDeps([7,1,6,2,3,8]))],M=[0],N={"/[...slug=docpage]":[-3]},P={handleError:(({error:e})=>{console.error(e)}),reroute:(()=>{}),transport:{}},F=Object.fromEntries(Object.entries(P.transport).map(([e,t])=>[e,t.decode])),I=Object.fromEntries(Object.entries(P.transport).map(([e,t])=>[e,t.encode])),L=!1,R=(e,t)=>F[e](t);export{R as decode,F as decoders,N as dictionary,I as encoders,L as hash,P as hooks,E as matchers,j as nodes,A as root,M as server_loads};
@@ -0,0 +1 @@
1
+ import{c as e,r as t}from"../chunks/Cfv_UPq2.js";export{e as load_css,t as start};
@@ -1 +1 @@
1
- import{A as e,E as t,H as n,I as r,J as i,O as a,S as o,U as s,Y as c,at as l,m as u,nt as d,ot as f,v as p}from"../chunks/wCc4pE4l.js";import{l as m}from"../chunks/TUtWo753.js";import"../chunks/xihTtKlq.js";function h(e,t){f(t,!0),s(()=>{if(!t.site.analytics)return;let e=[];if(t.site.analytics.plausible){let n=document.createElement(`script`);n.defer=!0,n.setAttribute(`data-domain`,t.site.analytics.plausible),n.src=`https://plausible.io/js/script.js`,document.head.appendChild(n),e.push(n)}if(t.site.analytics.googleAnalytics){let n=t.site.analytics.googleAnalytics,r=document.createElement(`script`);r.async=!0,r.src=`https://www.googletagmanager.com/gtag/js?id=${n}`,document.head.appendChild(r),e.push(r);let i=document.createElement(`script`);i.textContent=`window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config','${n}');`,document.head.appendChild(i),e.push(i)}return()=>{for(let t of e)t.remove()}}),l()}var g=e(`<link rel="alternate" type="application/rss+xml"/>`),_=e(`<link rel="icon"/> <!>`,1),v=e(`<!> <!>`,1);function y(e,s){f(s,!0);let y=d(()=>s.data.site),b=d(()=>r(y).favicon??`${m}/favicon.svg`),x=d(()=>r(b).endsWith(`.svg`)?`image/svg+xml`:r(b).endsWith(`.png`)?`image/png`:r(b).endsWith(`.ico`)?`image/x-icon`:void 0);var S=v();p(`12qhfyh`,e=>{var o=_(),s=i(o),l=c(s,2),d=e=>{var t=g();n(()=>{u(t,`title`,`${r(y).name??``} changelog`),u(t,`href`,`${r(y).url??``}${m??``}/rss.xml`)}),a(e,t)};t(l,e=>{r(y).url&&e(d)}),n(()=>{u(s,`href`,r(b)),u(s,`type`,r(x))}),a(e,o)});var C=i(S);h(C,{get site(){return r(y)}}),o(c(C,2),()=>s.children),a(e,S),l()}export{y as component};
1
+ import{A as e,E as t,H as n,I as r,J as i,O as a,S as o,U as s,Y as c,at as l,m as u,nt as d,ot as f,v as p}from"../chunks/CknXd1We.js";import{l as m}from"../chunks/Cfv_UPq2.js";import"../chunks/xihTtKlq.js";function h(e,t){f(t,!0),s(()=>{if(!t.site.analytics)return;let e=[];if(t.site.analytics.plausible){let n=document.createElement(`script`);n.defer=!0,n.setAttribute(`data-domain`,t.site.analytics.plausible),n.src=`https://plausible.io/js/script.js`,document.head.appendChild(n),e.push(n)}if(t.site.analytics.googleAnalytics){let n=t.site.analytics.googleAnalytics,r=document.createElement(`script`);r.async=!0,r.src=`https://www.googletagmanager.com/gtag/js?id=${n}`,document.head.appendChild(r),e.push(r);let i=document.createElement(`script`);i.textContent=`window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config','${n}');`,document.head.appendChild(i),e.push(i)}return()=>{for(let t of e)t.remove()}}),l()}var g=e(`<link rel="alternate" type="application/rss+xml"/>`),_=e(`<link rel="icon"/> <!>`,1),v=e(`<!> <!>`,1);function y(e,s){f(s,!0);let y=d(()=>s.data.site),b=d(()=>r(y).favicon??`${m}/favicon.svg`),x=d(()=>r(b).endsWith(`.svg`)?`image/svg+xml`:r(b).endsWith(`.png`)?`image/png`:r(b).endsWith(`.ico`)?`image/x-icon`:void 0);var S=v();p(`12qhfyh`,e=>{var o=_(),s=i(o),l=c(s,2),d=e=>{var t=g();n(()=>{u(t,`title`,`${r(y).name??``} changelog`),u(t,`href`,`${r(y).url??``}${m??``}/rss.xml`)}),a(e,t)};t(l,e=>{r(y).url&&e(d)}),n(()=>{u(s,`href`,r(b)),u(s,`type`,r(x))}),a(e,o)});var C=i(S);h(C,{get site(){return r(y)}}),o(c(C,2),()=>s.children),a(e,S),l()}export{y as component};
@@ -1 +1 @@
1
- import{A as e,D as t,G as n,H as r,I as i,O as a,V as o,Y as s,at as c,c as l,dt as u,ft as d,nt as f,ot as p,q as m,s as h,v as g}from"../chunks/wCc4pE4l.js";import"../chunks/xihTtKlq.js";import{n as _,t as v}from"../chunks/CVM4zuXp.js";var y=new Set([`$$slots`,`$$events`,`$$legacy`]);function b(e,t){let n=h(t,y),r=[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`}]];v(e,l({name:`house`},()=>n,{get iconNode(){return r}}))}var x=new Set([`$$slots`,`$$events`,`$$legacy`]);function S(e,t){let n=h(t,x),r=[[`path`,{d:`M12 7v14`}],[`path`,{d:`M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z`}]];v(e,l({name:`book-open`},()=>n,{get iconNode(){return r}}))}var C=e(`<div class="flex min-h-screen flex-col items-center justify-center gap-4 bg-bg px-6 text-center"><p class="font-mono text-[5rem] leading-none font-bold text-border-strong select-none sm:text-[7rem]"> </p> <h1 class="text-2xl font-bold tracking-tight text-fg sm:text-3xl"> </h1> <p class="max-w-md text-fg-muted"> </p> <div class="mt-3 flex flex-wrap items-center justify-center gap-3"><a href="/" class="inline-flex items-center gap-2 rounded-md bg-accent px-4 py-2 text-sm font-medium text-accent-contrast transition hover:opacity-90"><!> Back to docs</a> <a href="/" class="inline-flex items-center gap-2 rounded-md border border-border px-4 py-2 text-sm font-medium text-fg-muted transition hover:border-border-strong hover:text-fg"><!> Home</a></div></div>`);function w(e,l){p(l,!0);let h=f(()=>_.data.site?.name??`Axerity`),v=f(()=>_.status),y=f(()=>i(v)===404?`Page not found`:`Something went wrong`),x=f(()=>i(v)===404?`Sorry, we couldn't find the page you're looking for. It may have been moved or removed.`:_.error?.message??`An unexpected error occurred.`);var w=C();g(`1j96wlh`,e=>{o(()=>{n.title=`${i(v)??``} · ${i(h)??``}`})});var T=m(w),E=m(T,!0);d(T);var D=s(T,2),O=m(D,!0);d(D);var k=s(D,2),A=m(k,!0);d(k);var j=s(k,2),M=m(j);S(m(M),{size:16}),u(),d(M);var N=s(M,2);b(m(N),{size:16}),u(),d(N),d(j),d(w),r(()=>{t(E,i(v)),t(O,i(y)),t(A,i(x))}),a(e,w),c()}export{w as component};
1
+ import{A as e,D as t,G as n,H as r,I as i,O as a,V as o,Y as s,at as c,c as l,dt as u,ft as d,nt as f,ot as p,q as m,s as h,v as g}from"../chunks/CknXd1We.js";import"../chunks/xihTtKlq.js";import{n as _,t as v}from"../chunks/BFAQUmTz.js";var y=new Set([`$$slots`,`$$events`,`$$legacy`]);function b(e,t){let n=h(t,y),r=[[`path`,{d:`M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8`}],[`path`,{d:`M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z`}]];v(e,l({name:`house`},()=>n,{get iconNode(){return r}}))}var x=new Set([`$$slots`,`$$events`,`$$legacy`]);function S(e,t){let n=h(t,x),r=[[`path`,{d:`M12 7v14`}],[`path`,{d:`M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z`}]];v(e,l({name:`book-open`},()=>n,{get iconNode(){return r}}))}var C=e(`<div class="flex min-h-screen flex-col items-center justify-center gap-4 bg-bg px-6 text-center"><p class="font-mono text-[5rem] leading-none font-bold text-border-strong select-none sm:text-[7rem]"> </p> <h1 class="text-2xl font-bold tracking-tight text-fg sm:text-3xl"> </h1> <p class="max-w-md text-fg-muted"> </p> <div class="mt-3 flex flex-wrap items-center justify-center gap-3"><a href="/" class="inline-flex items-center gap-2 rounded-md bg-accent px-4 py-2 text-sm font-medium text-accent-contrast transition hover:opacity-90"><!> Back to docs</a> <a href="/" class="inline-flex items-center gap-2 rounded-md border border-border px-4 py-2 text-sm font-medium text-fg-muted transition hover:border-border-strong hover:text-fg"><!> Home</a></div></div>`);function w(e,l){p(l,!0);let h=f(()=>_.data.site?.name??`Axerity`),v=f(()=>_.status),y=f(()=>i(v)===404?`Page not found`:`Something went wrong`),x=f(()=>i(v)===404?`Sorry, we couldn't find the page you're looking for. It may have been moved or removed.`:_.error?.message??`An unexpected error occurred.`);var w=C();g(`1j96wlh`,e=>{o(()=>{n.title=`${i(v)??``} · ${i(h)??``}`})});var T=m(w),E=m(T,!0);d(T);var D=s(T,2),O=m(D,!0);d(D);var k=s(D,2),A=m(k,!0);d(k);var j=s(k,2),M=m(j);S(m(M),{size:16}),u(),d(M);var N=s(M,2);b(m(N),{size:16}),u(),d(N),d(j),d(w),r(()=>{t(E,i(v)),t(O,i(y)),t(A,i(x))}),a(e,w),c()}export{w as component};